Update of /cvsroot/fink/experimental/jfmertens/main/finkinfo/languages In directory fdv4jf1.ch3.sourceforge.com:/tmp/cvs-serv20950
Modified Files: swi-prolog.info Log Message: merging updates from various trees with a comment from amag...@the-magills.com on fink-users Index: swi-prolog.info =================================================================== RCS file: /cvsroot/fink/experimental/jfmertens/main/finkinfo/languages/swi-prolog.info,v retrieving revision 1.1 retrieving revision 1.2 diff -u -d -r1.1 -r1.2 --- swi-prolog.info 27 Apr 2009 16:44:33 -0000 1.1 +++ swi-prolog.info 26 Sep 2009 22:27:37 -0000 1.2 @@ -1,13 +1,14 @@ Package: swi-prolog Version: 5.6.64 -Revision: 1 +Revision: 2 Source: http://gollem.science.uva.nl/cgi-bin/nph-download/SWI-Prolog/pl-%v.tar.gz Source-MD5: 2f06f64007fdac076a277ee4a8c53274 SourceRename: %N-%v.tar.gz SourceDirectory: pl-%v -BuildDepends: freetype219, gmp, junit, libjpeg, libncursesw5, system-openssl-dev, readline5, libncursesw5, unixodbc2 +BuildDepends: freetype219, gmp, junit, libjpeg, libncursesw5, system-openssl-dev, readline5, libncursesw5, unixodbc2, x11-dev # junit: also dep ? or only testdepends ? Only know that w/o that export I run into many java errors in make check. -Depends: %N-shlibs, freetype219-shlibs, gmp-shlibs, libjpeg-shlibs, libncursesw5-shlibs, readline5-shlibs, unixodbc2-shlibs +# should remove junit dep in 64bit mode (hence also comment out "export JUNIT=..." below..), since I can't build junit there.. +Depends: %N-shlibs (= %v-%r) PatchScript: << sed -i.bak -e 's/ARCH=.*/ARCH=%m-darwin/' -e 's,-no-cpp-precomp,-Wall,' \ -e 's;-flat_namespace -undefined suppress;-bundle_loader %b/src/swipl -undefined dynamic_lookup -Wl,-x -dead-strip;' \ @@ -16,10 +17,10 @@ << SetCPPFLAGS: -I%p/lib/system-openssl/include SetLDFLAGS: -L%p/lib/system-openssl/lib -ConfigureParams: --mandir=%p/share/man --enable-shared --with-world +ConfigureParams: --mandir=%p/share/man --enable-shared --with-world --x-includes=/usr/X11R6/include --x-libraries=/usr/X11R6/lib CompileScript: << #!/bin/sh -ev - export JUNIT=%p/share/java/junit/junit.jar # IIRC I had at some time java related errors w/o this (in make check ?) + export JUNIT=%p/share/java/junit/junit.jar export CPATH=%p/include; export LIBRARY_PATH=%p/lib export PKG_CONFIG_PATH=%p/lib/system-openssl/lib/pkgconfig:${PKG_CONFIG_PATH} %{default_script} @@ -42,17 +43,19 @@ Depends: %N-shlibs (= %v-%r) Files: lib/pkgconfig InstallScript: << + #!/bin/sh -ev mkdir -p %i/lib %i/include %i/share/doc ln -s swipl-%v/lib/%m-darwin %i/lib/%N ln -s %N %i/lib/swipl ln -s %N/libpl.dylib %i/lib - ln -s %p/lib/swipl-%v/include/*.h %i/include - ln -s %N %i/share/doc/%n + for f in %I/lib/swipl-%v/include/*.h + do ln -s %p/lib/swipl-%v/include/`basename $f` %i/include; done + ln -s %N-shlibs %i/share/doc/%n << << Splitoff2: << Package: %N-shlibs - Depends: freetype219-shlibs, gmp-shlibs, libjpeg-shlibs, libncursesw5-shlibs, readline5-shlibs, unixodbc2-shlibs + Depends: freetype219-shlibs, gmp-shlibs, libjpeg-shlibs, libncursesw5-shlibs, readline5-shlibs, unixodbc2-shlibs, x11-shlibs Files: lib Shlibs: %p/lib/swipl-%v/lib/%m-darwin/libpl.dylib 0.0.0 %n (>= 5.6.64-1) DocFiles: COPYING @@ -66,6 +69,25 @@ needs for real-world applications. These days SWI-Prolog is widely used in research and education as well as for commercial applications. << -Maintainer: Rob Braun <bbr...@synack.net> -Homepage: http://www.swi-prolog.org/ +DescPackaging: << +Packaging is an ersatz for FsHS compliance, and for Shlibs policy +compliance, but hopefully functionally equivalent. +Upstream should be pressed to facilatate FHS compliance, +and if possible before we have to number %n... +(There are already pkgs linking to the dylib, even with the old version _ eg, ppl) +And, once things are correct, probably a %N-lite variant (resurrecting +the former fink pkg with that name IIRC). +<< +DescPort: << +Without the patch to the link commands, 'essentially' no linking was done: +no undefined symbol had a "from"; with it, all have. +This still has to be communicated upstream. + +There do remain errors when running make check; please contribute +fixes _ to the info-file and upstream. + +Formerly maintained by Rob Braun. +<< +Maintainer: None <fink-de...@lists.sourceforge.net> +Homepage: http://www.swi-prolog.org/ ------------------------------------------------------------------------------ Come build with us! The BlackBerry® Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9-12, 2009. Register now! http://p.sf.net/sfu/devconf _______________________________________________ Fink-commits mailing list Fink-commits@lists.sourceforge.net http://news.gmane.org/gmane.os.apple.fink.cvs