[fedora-india] Packaging Requests

Ankur Sinha sanjay.ankur at gmail.com
Sat May 8 17:29:01 UTC 2010


Hey,

On Sat, 2010-05-08 at 22:30 +0530, Rahul Sundaram wrote:
> 
> 
> On Sat, May 8, 2010 at 12:25 AM, Ankur Sinha <sanjay.ankur at gmail.com>
> wrote:
>         On Fri, 2010-05-07 at 14:08 +0200, Dhaval Giani wrote:
>         > Hi Folks,
>         > http://cars9.uchicago.edu/ifeffit/About
>         
>         
>         
>         It needs pgplot to be installed in a non standard location.
>         I'll have to
>         patch the source to make it look in standard locations. This
>         is going to
>         take time 
> 
> 
> Have you contacted upstream about making changes to make it easier to
> package it?  Many upstreams are quite cooperative if you tell me your
> requirements. 
> 

I have contacted upstream and have received a response. Upstream had
some queries which I answered (regarding our package guidelines etc.)
We're in the middle of figuring out what to do. Lest see how it goes,
I'll keep the list posted. 

My last email to upstream:

> hey,
> 
> On Fri, 2010-05-07 at 14:20 -0500, Matt Newville wrote:
> > Hi Ankur,
> > 
> > I use Fedora quite a bit (and have used Redhat linux for longer than
> I
> > care to admit), but have never looked into packaging Ifeffit as an
> > rpm.  I know that it has been packaged as a .deb, but not by me.
> I
> > have no problem requiring people to read a README and execute a
> couple
> > build commands....
> > 
> > > The build process cannot permit custom installation of a required
> package for a particular package.
> > 
> > Really?? That would seem to be a pretty severe limitation in the
> build
> > process, no?
> > 
> 
> Please have a look at 
> 
> http://fedoraproject.org/wiki/PackagingGuidelines#Packages_which_are_not_useful_without_external_bits
> 
> As per the guidelines, software that requires non free external bits
> at
> build time cannot be included into Fedora. 
> 
> > But: isn't there an rpm for PGPLOT?  Why not use that, configure
> > Ifeffit to use it and make Ifeffit dependent on PGPLOT? Can you be
> > more specific about what the problem is with the PGPLOT_install
> > script?
> > 
> 
> This is what I've been thinking of doing. The issues:
> 
> 1 - PGPLOT is featured in the RPMFusion-nonfree repositories.
> Therefore
> it cannot be a build dependency. i.e, Ifeffit must detect this at
> runtime and not build time. (see link above)
> 
> 2 - if you install pgplot and pgplot-devel using yum
> 
> <enable RPMFusion repositories at http://rpmfusion.org>
> yum install pgplot pgplot-devel
> 
> running 
> 
> rpm -ql pgplot pgplot-devel will give you:
> 
> [Ankur1 at Ankur ~]$ rpm -ql pgplot pgplot-devel
> /usr/lib64/libcpgplot.so.5
> /usr/lib64/libcpgplot.so.5.2.2
> /usr/lib64/libpgplot.so.5
> /usr/lib64/libpgplot.so.5.2.2
> /usr/libexec/pgplot
> /usr/libexec/pgplot/pgxwin_server
> /usr/share/doc/pgplot-5.2.2
> /usr/share/doc/pgplot-5.2.2/ChangeLog
> /usr/share/doc/pgplot-5.2.2/copyright.notice
> /usr/share/pgplot
> /usr/share/pgplot/grfont.dat
> /usr/share/pgplot/rgb.txt
> /usr/include/cpgplot.h
> /usr/lib64/libcpgplot.so
> /usr/lib64/libpgplot.so
> /usr/lib64/pkgconfig/cpgplot.pc
> /usr/lib64/pkgconfig/pgplot.pc
> /usr/share/doc/pgplot-devel-5.2.2
> /usr/share/doc/pgplot-devel-5.2.2/aaaread.me
> /usr/share/doc/pgplot-devel-5.2.2/copyright.notice
> /usr/share/doc/pgplot-devel-5.2.2/pgplot-routines.tex
> /usr/share/doc/pgplot-devel-5.2.2/pgplot.html
> 
> You can see where pgplot has been installed, in the standard %{libdir}
> etc. The PGPLOT_Install script wants to install PGPLOT and then
> Ifeffit
> at /usr/local/share/ifeffit/pgplot ( from README.PGPLOT " This will
> install Ifeffit to /usr/local/share/ifeffit/pgplot" )
> 
> LINE 96 in PGPLOT_Install :
> pgp_dir=$prefix/share/ifeffit/pgplot/
> 
> In order to be able to use the already available RPM for pgplot,
> Ifeffit
> needs to be configured to look at the standard location, at try to
> detect pgplot at runtime. I don't think it uses pgplot at for
> building,
> does it?
> 
> 
> > Anyway, Ifeffit can be built without PGPLOT, but I don't think
> anyone
> > would want to use it.  These days, to really package Ifeffit, it
> would
> > be important to include the Perl wrappers and GUIs for it.  Those
> need
> > PGPLOT for graphical display.
> > 
> > Cheers,
> > 
> > --Matt Newville <newville at cars.uchicago.edu> 630-252-0431
> 
> I could build Ifeffit without pgplot, but as you said, it's a great
> loss
> of functionality. I'd like to package Ifeffit so that all its features
> can be used. I hope this mail clarifies the scene to you. 
> 
> Thanks!
> 

:)

-- 
regards,
Ankur 
- FAS : ankursinha ; franciscod @ Freenode
- gpg --keyserver pgp.mit.edu --recv-keys 5E9BF638

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 490 bytes
Desc: This is a digitally signed message part
Url : http://lists.fedoraproject.org/pipermail/india/attachments/20100508/fc815a10/attachment.bin 


More information about the india mailing list