Update of /cvsroot/fink/dists/10.4/stable/main/finkinfo/devel In directory sfp-cvsdas-3.v30.ch3.sourceforge.com:/tmp/cvs-serv21397
Modified Files: ppl.info Log Message: sync with unstable, containing various fixes, and enabled on 10.4 Index: ppl.info =================================================================== RCS file: /cvsroot/fink/dists/10.4/stable/main/finkinfo/devel/ppl.info,v retrieving revision 1.4 retrieving revision 1.5 diff -u -d -r1.4 -r1.5 --- ppl.info 2 Nov 2010 02:47:05 -0000 1.4 +++ ppl.info 12 Nov 2010 18:44:15 -0000 1.5 @@ -1,29 +1,116 @@ Package: ppl +Epoch: 1 Version: 0.10.2 -Revision: 2 -Distribution: 10.5, 10.6 +Revision: 3 +# Distribution: 10.5, 10.6 BuildDependsOnly: True -Depends: %N-shlibs (= %v-%r) -BuildDepends: gcc4.2, gmp (>= 4.2.4-1000), fink (>= 0.28), system-java-dev +Depends: %N-shlibs (= %e:%v-%r) +BuildDepends: << + fink (>= 0.28), + gmp (>= 4.2.4-1000), + m4, + system-java-dev +<< +Conflicts: ppl9 +Replaces: ppl9 +# BuildDepends: gcc4.2 GCC: 4.0 -SetCC: gcc-4.2 -SetCXX: g++-4.2 +# SetCC: gcc-4.2 +# SetCXX: g++-4.2 Source: ftp://ftp.cs.unipr.it/pub/%n/releases/%v/%n-%v.tar.bz2 Source-MD5: 5667111f53150618b0fa522ffc53fc3e -ConfigureParams: --mandir=%p/share/man +ConfigureParams: << + --mandir=%p/share/man \ + --infodir=%p/share/info \ + --disable-static \ + --enable-pch \ + --with-java="$JAVA_HOME" \ + CFLAGS="-g -O2 -pipe -fpch-preprocess -fPIC" \ + CXXFLAGS="-g -O2 -pipe -fpch-preprocess -fPIC" \ + CPPFLAGS="-I$JAVA_INCLUDE" \ + --enable-check=thorough \ + -C +# if you do not have the patience for the 'thorough' tests, --enable-check=quick +<< +PatchScript: << + #!/bin/sh -ev + # g++-4.0.1 rejects template instantiating w/ anonymous enums -- fangism + # this was fixed in ppl-0.11 + file=src/meta_programming.hh + sed -i.orig -e '/struct Bool/,/^};/s|enum {|enum value_type {|' $file + # symbols in anonymous namespace given extern linkage + file=src/initializer.hh + sed -i.orig -e '/::Init.*initializer/s|^|static |' $file + # To take advantage of precompiled headers, defined macros must match. + # patch could apply to src/Makefile.am too + file=src/Makefile.in + sed -i.orig -e '/CXXCOMPILE.*-xc++-header/s|-o|-DPIC &|' $file + # files compiled here are VERY taxing on memory, so we serialize + file=tests/MIP_Problem/Makefile.in + echo ".NOTPARALLEL: check-am" >> $file + # use consistent architecture for testing, override default as needed + file=interfaces/Java/tests/Makefile.in + case "%m" in + powerpc ) ;; + i386 ) sed -i.orig '/\$(JAVA)/s|-classpath|-d32 &|' $file ;; + x64_64 ) ;; + esac +<< CompileScript: << - #!/bin/bash -ev - if [ -e /usr/libexec/java_home ]; then - ./configure %c --with-java=`/usr/libexec/java_home` - else - ./configure %c - fi + #!/bin/sh -ev + mkdir build + cd build + # old-location + # JAVA_HOME=`/usr/libexec/java_home` + JAVA_FW=/System/Library/Frameworks/JavaVM.framework + JAVA_HOME=$JAVA_FW/Home + test -d $JAVA_HOME && test -x $JAVA_HOME || \ + { echo "$JAVA_HOME not found." ; exit 1 ;} + JAVA_INCLUDE=$JAVA_HOME/include + test -r $JAVA_INCLUDE/jni.h || JAVA_INCLUDE=$JAVA_FW/Headers + test -r $JAVA_INCLUDE/jni.h || \ + { echo "Missing Java development package containing jni.h." ; \ + echo "Please download/install from Apple and try again." ; \ + echo "Thank you and have a nice day." ; exit 1 ;} + ../configure %c + # for ccache-default + export CCACHE_SLOPPINESS=time_macros make << -InstallScript: make install DESTDIR=%d +InfoTest: << + TestScript: << + #!/bin/sh -ev + cd build + # for ccache-default + export CCACHE_SLOPPINESS=time_macros + make -k check || exit 2 + # make check || exit 2 + << + TestDepends: glpk-dev + TestSuiteSize: large +<< +InstallScript: << + #!/bin/sh -ev + cd build + make install DESTDIR=%d +<< +DocFiles: << + BUGS + COPYING + CREDITS + ChangeLog* + INSTALL + NEWS + README* + STANDARDS + TODO +<< SplitOff: << Package: %N-shlibs - Depends: gmp-shlibs (>= 4.2.4-1000), libgmpxx-shlibs (>= 4.2.4-1000) + Depends: << + gmp-shlibs (>= 4.2.4-1000), + libgmpxx-shlibs (>= 4.2.4-1000) + << Files: << %p/lib/libppl.7*.dylib %p/lib/libppl_c.2*.dylib @@ -36,6 +123,17 @@ %p/lib/libpwl.4.dylib 5.0.0 %n (>= 0.10-1) !%p/lib/ppl/libppl_java.jnilib << + DocFiles: << + BUGS + COPYING + CREDITS + ChangeLog* + INSTALL + NEWS + README* + STANDARDS + TODO + << << License: GPL Description: Parma Polyhedra Library @@ -56,7 +154,26 @@ brings over private .la as well as private shared lib. Added CompileScript to deal with Apple's new java. + +Initial packaging by Jack Howarth <howa...@bromo.med.uc.edu>. + +fangism turned on use of precompiled headers and exported a +few environment variables for ccache-default support. +Patch to add -DPIC allows defined macros to match to use .gch. + +Noticed checks and references to OCaml, which may need to be +added to BuildDepends or TestDepends. + +Epoch was added to ppl-0.10.2 after an accident (fangism). +<< +DescPort: << +Issues was raised about g++-4.0.1 compile failing: +http://www.cs.unipr.it/pipermail/ppl-devel/2008-August/012001.html +fangism patched up the offending lines of C++ in PatchScript for 10.4. +Said patch no longer needed for 0.11. +The monstrously 'thorough' test suite for 0.11 was successfully run and +passed on powerpc-darwin8 -- fangism. << Homepage: http://www.cs.unipr.it/ppl -Maintainer: None <fink-de...@lists.sourceforge.net> +Maintainer: David Fang <fang...@users.sourceforge.net> ------------------------------------------------------------------------------ Centralized Desktop Delivery: Dell and VMware Reference Architecture Simplifying enterprise desktop deployment and management using Dell EqualLogic storage and VMware View: A highly scalable, end-to-end client virtualization framework. Read more! http://p.sf.net/sfu/dell-eql-dev2dev _______________________________________________ Fink-commits mailing list Fink-commits@lists.sourceforge.net http://news.gmane.org/gmane.os.apple.fink.cvs