From: Alan W. I. <ir...@be...> - 2004-01-18 18:02:43
|
On 2004-01-18 12:46+0100 Rafael Laboissiere wrote: > I took a closer look at your patch. First of all, it may fail when the > packager decides to install the whole examples directory elsewhere than in > /usr/share/plplot<version>. In particular, this is the case of my Debian > packages. Debian Policy mandates that all examples must be installed in > /usr/share/doc/<package>/examples. > > Furthermore, I think that you do not need to include the *HARDDIR in the > octavedir variable, since plplot-test.sh already requires that the current > working directory be "*/examples" and must contain the "c/" directory. By > extension, the directory "octave/" must also be present in the cwd. The > patch that makes everything work in a more robust way is much simpler and > reads: > > --- test/plplot-test.sh.in 17 Jan 2004 16:41:40 -0000 1.10 > +++ test/plplot-test.sh.in 18 Jan 2004 11:18:42 -0000 > @@ -71,7 +71,7 @@ > export pythondir > tcldir=tcl > export tcldir > -octavedir=@PLPLOT_OCTAVE_DIR@//:@OCTAVE_M_DIR@//:@OCTAVE_OCT_DIR@//:@prefix@/@DATA_DIR@/examples/octave//: > +octavedir=@PLPLOT_OCTAVE_DIR@//:@OCTAVE_M_DIR@//:@OCTAVE_OCT_DIR@//:./octave//: > export octavedir > installbindir=@prefix@/bin > export installbindir > > I already applied this patch to the v5_3_0 branch (but not to HEAD). Sorry I didn't see this e-mail before replying to your other one. This seems a good solution to me, and thanks for dealing with it. Please stick this fix in HEAD as well. 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 __________________________ |