Update of /cvsroot/fink/dists/10.4/unstable/main/finkinfo/devel In directory sfp-cvsdas-3.v30.ch3.sourceforge.com:/tmp/cvs-serv940
Modified Files: ppl.info Log Message: fangism now maintains, %v bump, mega-test-suite enabled, 10.4 dist enabled!, fixed bdep, added InfoTest, remove GCC restriction, patched, un-patched, find Java headers fixed w.r.t. recent Apple update (early fail diagnostic), added DocFiles, ccache-default-safe, ... testsuite validated on powerpc-darwin8, i686-darwin10 Index: ppl.info =================================================================== RCS file: /cvsroot/fink/dists/10.4/unstable/main/finkinfo/devel/ppl.info,v retrieving revision 1.9 retrieving revision 1.10 diff -u -d -r1.9 -r1.10 --- ppl.info 24 Oct 2010 19:38:07 -0000 1.9 +++ ppl.info 8 Nov 2010 18:18:55 -0000 1.10 @@ -1,39 +1,120 @@ Package: ppl -Version: 0.10.2 -Revision: 2 -Distribution: 10.5, 10.6 +Version: 0.11 +Revision: 1 +# 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 +BuildDepends: << + fink (>= 0.28), + gmp (>= 4.2.4-1000), + m4, + system-java-dev +<< +# 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 +Source-MD5: c414abd2ecaf1f1f48949c78d383ee1a +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; the following patch doesn't do anything + # file=src/meta_programming.hh + # sed -i.orig -e '/struct Bool/,/^};/s|enum {|enum value_type {|' $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 - %p/lib/libpwl.4*.dylib + %p/lib/libppl.9*.dylib + %p/lib/libppl_c.4*.dylib + %p/lib/libpwl.5*.dylib %p/lib/ppl << Shlibs: << - %p/lib/libppl.7.dylib 9.0.0 %n (>= 0.10-1) - %p/lib/libppl_c.2.dylib 4.0.0 %n (>= 0.10-1) - %p/lib/libpwl.4.dylib 5.0.0 %n (>= 0.10-1) + %p/lib/libppl.9.dylib 10.0.0 %n (>= 0.11-1) + %p/lib/libppl_c.4.dylib 5.0.0 %n (>= 0.11-1) + %p/lib/libpwl.5.dylib 6.0.0 %n (>= 0.11-1) !%p/lib/ppl/libppl_java.jnilib << << @@ -56,7 +137,24 @@ 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. +<< +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> ------------------------------------------------------------------------------ The Next 800 Companies to Lead America's Growth: New Video Whitepaper David G. Thomson, author of the best-selling book "Blueprint to a Billion" shares his insights and actions to help propel your business during the next growth cycle. Listen Now! http://p.sf.net/sfu/SAP-dev2dev _______________________________________________ Fink-commits mailing list Fink-commits@lists.sourceforge.net http://news.gmane.org/gmane.os.apple.fink.cvs