From: Brian D. W. <bdw...@ph...> - 2003-12-16 07:58:25
|
Dear Plotters, The spec file I'm using for Mandrake 9.2 (since the last one was for Mandrake8.1!) is attached as well as the patches (bzipped) I'm using. Most important thing is that there are multiple binary packages so that the various dependencies are more isolated (e.g. you don't have to have octave or tcltk). Here's some issues and caveats (sorry for the length of this). 1) I built the entire Plplot shebang so you might be missing some devel packages to build it. I have the missing libcd and svgalib packages as well as a repaired itcl package (Mandrake's is broken; don't know about Redhat/Fedora). I'll post a web site for downloading those soon. You might want to put the libcd RPM on your sourceforge site. 2) RPM build issues: Mandrake includes a libtoolize line in its default %configure which AFAIK should not happen on a dist tar ball: [ -f configure.in -o -f configure.ac ] && %{__libtoolize} --copy --force So I modified the macro definition for my build to exclude this line. I think this is a bug in the RPM macros. Alternatively I could make the configure line explicit (though macros are nice). The default %make macro on an SMP machine is make -j2. The PLplot build craps out in nondeterministic ways when this is set, so I just use "make". The current PLplot install directory locations don't seem to relativise appropriately. That is, the RPM_BUILD_ROOT prefix doesn't appear in front of all install directories, e.g. some doc directories, octave locations, etc. Mandrake %configure and %makeinstall macros set datadir, libdir, bindir, etc, to include the RPM_BUILD_ROOT prefix rather than using DESTDIR. Patches 3 and 4 in the spec file try to fix this by patching some Makefile.in's and configure itself. Of course the proper way to do this is to patch the configure.ac and Makefile.in's, but my attitude is to work mainly with the release rather than cvs (where autoconf should be run as part of making a release) as a packager. I understand the auto* setup is still evolving so hopefully the next release will not require patches. This is an issue I need feedback on. 3) Patches 0 and 1 in the SPEC file are code patches to ntk and csa I needed for the compile to proceed using gcc 3.3.1. 4) Patches 5, 6 and 7 are a crude way to backport the improved pkg-config stuff from PLplot CVS. 5) Patches 2 and 4 relate to being able to find python2.3 correctly. The python search code presumably should be replaced with a standard autoconf macro. 6) Finally there is a silly conflict with libunixODBC2-devel on Mandrake that also contains a libnn (there the nn stands for for NNTP I think). So take a look at these and let me know. Also I might need to make package splits differently. Cheers, Brian On Mon, 15 Dec 2003, Alan W. Irwin wrote: > On 2003-12-15 10:34-0800 Brian D. Wright wrote: > > > Let me know if anyone is interested, esp. if someone would like to peruse > > the spec file and patches. > > I would definitely be interested in your spec file and patches since I want > to update the RedHat rpms along the lines of what you have done for the > Mandrake rpms. Please go ahead and post to plplot_devel with your specfile > and patches as attachments. > > Alan > > __________________________ > Alan W. Irwin > email: ir...@be... > phone: 250-727-2902 > > Astronomical research affiliation with Department of Physics and Astronomy, > University of Victoria (astrowww.phys.uvic.ca). > > Programming affiliations with the PLplot scientific plotting software > package (plplot.org), the Yorick front-end to PLplot (yplot.sf.net), the > Loads of Linux Links project (loll.sf.net), and the Linux Brochure Project > (lbproject.sf.net). > __________________________ > > Linux-powered Science > __________________________ > > > ------------------------------------------------------- > This SF.net email is sponsored by: SF.net Giveback Program. > Does SourceForge.net help you be more productive? Does it > help you create better code? SHARE THE LOVE, and help us help > YOU! Click Here: http://sourceforge.net/donate/ > _______________________________________________ > Plplot-devel mailing list > Plp...@li... > https://lists.sourceforge.net/lists/listinfo/plplot-devel > -- ====================================================================== Brian D. Wright Tel: (415)476-1007 Dept. of Physiology, Box 0444 Fax: (415)476-4929 Keck Center for Integrative Neuroscience bdw...@ph... University of California, San Francisco 513 Parnassus Avenue San Francisco, CA 94143-0444 ====================================================================== |