I'm trying to start to address
https://bugzilla.redhat.com/show_bug.cgi?id=484519
here are the issues:
- Examples are installed into /usr/share/plplot<version>/examples. This
is not writable.
- Examples are shipped with the appropriate sub-packages, so not all may
be present (in particular the "c" examples)
Thoughts:
- I'd like for EXAMPLES_DIR to get set to
/usr/share/plplot<version>/examples on install.
- I'd like to test for the existence of the sub-directories in the
examples dir to determine which tests to run.
Something like:
# Find out what front-ends have been configured and installed
if [ -z "$FRONT_END" ] ; then
for front_end_stats in c:@ENABLE_c@ cxx:@ENABLE_cxx@ f77:@ENABLE_f77@ \
f95:@ENABLE_f95@ java:@ENABLE_java@ \
octave:@ENABLE_octave@ python:@ENABLE_python@ \
tcl:@ENABLE_tcl@ perl:@ENABLE_perl@ \
ada:@ENABLE_ada@ ocaml:@ENABLE_ocaml@
do
$front_end=${front_end_status/:ON/}
[ $front_end != $front_end_status ] && [ -d
$EXAMPLES_DIR/$front_end ] && FRONT_END="$FRONT_END $front_end"
done
fi
- Get rid of the chmod +x. This shouldn't be needed.
Comments?
--
Orion Poplawski
Technical Manager 303-415-9701 x222
NWRA/CoRA Division FAX: 303-415-9702
3380 Mitchell Lane [email protected]
Boulder, CO 80301 http://www.cora.nwra.com
------------------------------------------------------------------------------
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
_______________________________________________
Plplot-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/plplot-devel