From 3ea422633eee5c3a9014ca93d5993f3fa055e4b2 Mon Sep 17 00:00:00 2001 From: Keri Harris Date: Sat, 17 Mar 2007 21:34:54 +0000 Subject: [PATCH] Version bump Package-Manager: portage-2.1.2.2 --- dev-lang/swi-prolog/ChangeLog | 7 +- dev-lang/swi-prolog/Manifest | 17 ++- .../swi-prolog/files/digest-swi-prolog-5.6.31 | 6 + dev-lang/swi-prolog/swi-prolog-5.6.31.ebuild | 144 ++++++++++++++++++ 4 files changed, 169 insertions(+), 5 deletions(-) create mode 100644 dev-lang/swi-prolog/files/digest-swi-prolog-5.6.31 create mode 100644 dev-lang/swi-prolog/swi-prolog-5.6.31.ebuild diff --git a/dev-lang/swi-prolog/ChangeLog b/dev-lang/swi-prolog/ChangeLog index ea0cb3e6623e..9ed0644e5a4e 100644 --- a/dev-lang/swi-prolog/ChangeLog +++ b/dev-lang/swi-prolog/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for dev-lang/swi-prolog # Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-lang/swi-prolog/ChangeLog,v 1.79 2007/03/17 19:59:00 keri Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-lang/swi-prolog/ChangeLog,v 1.80 2007/03/17 21:34:54 keri Exp $ + +*swi-prolog-5.6.31 (17 Mar 2007) + + 17 Mar 2007; keri +swi-prolog-5.6.31.ebuild: + Version bump. 17 Mar 2007; keri swi-prolog-5.6.30.ebuild: Roll up -5.6.30 patches into tarball. diff --git a/dev-lang/swi-prolog/Manifest b/dev-lang/swi-prolog/Manifest index 373075b87099..ae2a1b0bcf9e 100644 --- a/dev-lang/swi-prolog/Manifest +++ b/dev-lang/swi-prolog/Manifest @@ -215,7 +215,9 @@ DIST pl-5.6.27.tar.gz 11661684 RMD160 e180ad228946b36b2aaba561be25ba294da473af S DIST pl-5.6.28.tar.gz 11687262 RMD160 8a5113b5c97ab58baa8b6e0a3f92ea078f28f6bb SHA1 a02eb1613d5772f94fdad98b5b400013fc3d575a SHA256 ae6600e48cfa246a0c81c047e158fe9e68a72bfabea6abba0bcdec40ad67690a DIST pl-5.6.29.tar.gz 11697773 RMD160 ac7298a8884a69fc5bb9d4b0656a1845b9d7e1b6 SHA1 fbee19a7b8ab581070aefc64ac0d0f764107af4d SHA256 0390d63fa3090d11569c27322ada7ddfca4dfd7b1e8d32b7f2b44ed192be35ff DIST pl-5.6.30.tar.gz 11826456 RMD160 fdfb138a472af9109a4ab3ca91c0f3284a808a15 SHA1 e71aa52221207045bb73d3ade50ac0992f0c5fa5 SHA256 7ae6d35b9f3962463c7ec6057661e8c6b3c80f6791e52283c2097b39fee02d91 +DIST pl-5.6.31.tar.gz 11830975 RMD160 164392b524d9f6950eb13a85852bdd7c9be19b53 SHA1 ce59900a6a0bf7845876121c150977ad4b9888bd SHA256 625817c49737673f7423b44c0e41d6f0011515d1c4f6a33d6ca05a0afd538cb5 DIST swi-prolog-5.6.30-gentoo-patchset.tar.gz 8688 RMD160 009b92030d05157c1f960e34fbca96ab384c9304 SHA1 f814033083c93792fd2cfc903ded713f09970786 SHA256 d9cb3529b7a3dddbef9538502d8bef789f8eea0dc4c1667f6b9a02114fe44c5a +DIST swi-prolog-5.6.31-gentoo-patchset.tar.gz 8399 RMD160 ed5e7c7fa0d757a25e80530b40103902cdf37bc1 SHA1 cd3603ab856b9d75b769cf2587de6b4f415812eb SHA256 9cde91a86af6b4c90268363b55d352f4f7abbd5bc50f68b2159bf2383789b33e EBUILD swi-prolog-5.6.17-r1.ebuild 3799 RMD160 5dfb755c08250fdb9ac21187441bc55b4a8eb6d2 SHA1 74a16a2b3f64a1d9f315af4c52683412b0cf9363 SHA256 cbb68fa3284ce4f3dc55f184e7ef4fce073e5a18261100ae5214b7913fa4d237 MD5 c883caff349f028e966b808641fec7f0 swi-prolog-5.6.17-r1.ebuild 3799 RMD160 5dfb755c08250fdb9ac21187441bc55b4a8eb6d2 swi-prolog-5.6.17-r1.ebuild 3799 @@ -272,10 +274,14 @@ EBUILD swi-prolog-5.6.30.ebuild 3895 RMD160 9366701bb354b4324c18d112af8982b8d4e1 MD5 e9eff842c346aa78e5a82ba65fa0066f swi-prolog-5.6.30.ebuild 3895 RMD160 9366701bb354b4324c18d112af8982b8d4e174c2 swi-prolog-5.6.30.ebuild 3895 SHA256 73015e1686c034044f29564f6b509da0583035816c307f24fe098259361fdb7c swi-prolog-5.6.30.ebuild 3895 -MISC ChangeLog 15208 RMD160 e1d013a66c8f4edbba30ab55b0096300b074e952 SHA1 00b328ca6a27e780d59b8a92b960d250a0a3b934 SHA256 c885c56b37cb51ee0c785fe4bd0834f020882c9de96b2bbdef940dca4df0ce16 -MD5 b848cd27fcdfae32b0c4d22265dca5c5 ChangeLog 15208 -RMD160 e1d013a66c8f4edbba30ab55b0096300b074e952 ChangeLog 15208 -SHA256 c885c56b37cb51ee0c785fe4bd0834f020882c9de96b2bbdef940dca4df0ce16 ChangeLog 15208 +EBUILD swi-prolog-5.6.31.ebuild 3895 RMD160 be627ef64fc3fd84017ad7c3013d12699b3a84fb SHA1 e77cf82d05f3c60c6d731158e02e0525ae415b43 SHA256 97fd09dcac24ca75673b6212af1c7be3a604f4cc14a1842295eba3e6f5d82036 +MD5 5c616528c85ac3d3596c3e6590f14a1e swi-prolog-5.6.31.ebuild 3895 +RMD160 be627ef64fc3fd84017ad7c3013d12699b3a84fb swi-prolog-5.6.31.ebuild 3895 +SHA256 97fd09dcac24ca75673b6212af1c7be3a604f4cc14a1842295eba3e6f5d82036 swi-prolog-5.6.31.ebuild 3895 +MISC ChangeLog 15324 RMD160 c6470badbaaf24b5088e685d94c8b22932515046 SHA1 6eaa9b93387782662321fef962e4c81d522a3941 SHA256 0aa01658b9ede4b0bd49850e208e47e037a228057eeb6e85337b88a7f3059307 +MD5 037662ca71156fe5f8973b5b160cdadb ChangeLog 15324 +RMD160 c6470badbaaf24b5088e685d94c8b22932515046 ChangeLog 15324 +SHA256 0aa01658b9ede4b0bd49850e208e47e037a228057eeb6e85337b88a7f3059307 ChangeLog 15324 MISC metadata.xml 159 RMD160 38d27fd1c5faabedefa5507dfd83cb4c952fbc8c SHA1 52b92682cf41e53e71bf432537a16215bd9546b1 SHA256 851bf218a4283a1d8ea6ef98af0119a40eaa78bfaaec49c2f3440437f52889ba MD5 9187f53634e60ab7eb2ac7e98b0b19f7 metadata.xml 159 RMD160 38d27fd1c5faabedefa5507dfd83cb4c952fbc8c metadata.xml 159 @@ -322,3 +328,6 @@ SHA256 834c5d1b84792be48a5276686117aa9a862d820a5335c2f473fc8fc232f995a8 files/di MD5 0c414c8a5f814d58981c6d12b7fee984 files/digest-swi-prolog-5.6.30 530 RMD160 b75d040a4d81fd18058d4515bab4312aac845433 files/digest-swi-prolog-5.6.30 530 SHA256 58c2629b06ed2c9e71dab3caedb251df29925cd458ef2ca39f4e81004c79acba files/digest-swi-prolog-5.6.30 530 +MD5 feab9f95a770a9fb70e848b5daccf6ed files/digest-swi-prolog-5.6.31 530 +RMD160 bc6c26996f3b983dabf7292919be5b6c15275f8f files/digest-swi-prolog-5.6.31 530 +SHA256 9464d4a1c076ec3dc3c4e94b4ce6d00c29a2886fd13020bc2e709a48b9c61a3f files/digest-swi-prolog-5.6.31 530 diff --git a/dev-lang/swi-prolog/files/digest-swi-prolog-5.6.31 b/dev-lang/swi-prolog/files/digest-swi-prolog-5.6.31 new file mode 100644 index 000000000000..984acbc3ec66 --- /dev/null +++ b/dev-lang/swi-prolog/files/digest-swi-prolog-5.6.31 @@ -0,0 +1,6 @@ +MD5 c44112d180e9a34647228c4e892a2091 pl-5.6.31.tar.gz 11830975 +RMD160 164392b524d9f6950eb13a85852bdd7c9be19b53 pl-5.6.31.tar.gz 11830975 +SHA256 625817c49737673f7423b44c0e41d6f0011515d1c4f6a33d6ca05a0afd538cb5 pl-5.6.31.tar.gz 11830975 +MD5 83da8b8e4771df76867cb56ed1a1929e swi-prolog-5.6.31-gentoo-patchset.tar.gz 8399 +RMD160 ed5e7c7fa0d757a25e80530b40103902cdf37bc1 swi-prolog-5.6.31-gentoo-patchset.tar.gz 8399 +SHA256 9cde91a86af6b4c90268363b55d352f4f7abbd5bc50f68b2159bf2383789b33e swi-prolog-5.6.31-gentoo-patchset.tar.gz 8399 diff --git a/dev-lang/swi-prolog/swi-prolog-5.6.31.ebuild b/dev-lang/swi-prolog/swi-prolog-5.6.31.ebuild new file mode 100644 index 000000000000..6ad5e642dfff --- /dev/null +++ b/dev-lang/swi-prolog/swi-prolog-5.6.31.ebuild @@ -0,0 +1,144 @@ +# Copyright 1999-2007 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-lang/swi-prolog/swi-prolog-5.6.31.ebuild,v 1.1 2007/03/17 21:34:54 keri Exp $ + +inherit eutils flag-o-matic java-pkg-opt-2 + +DESCRIPTION="free, small, and standard compliant Prolog compiler" +HOMEPAGE="http://www.swi-prolog.org/" +SRC_URI="http://gollem.science.uva.nl/cgi-bin/nph-download/SWI-Prolog/pl-${PV}.tar.gz + mirror://gentoo/${P}-gentoo-patchset.tar.gz" + +LICENSE="LGPL-2.1" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~ppc ~sparc ~x86" +IUSE="berkdb debug doc gmp java minimal odbc readline ssl static tetex threads zlib X" + +DEPEND="!dev-lang/swi-prolog-lite + sys-libs/ncurses + zlib? ( sys-libs/zlib ) + odbc? ( dev-db/unixODBC ) + berkdb? ( sys-libs/db ) + readline? ( sys-libs/readline ) + gmp? ( dev-libs/gmp ) + ssl? ( dev-libs/openssl ) + java? ( >=virtual/jdk-1.4 + dev-java/junit ) + X? ( + media-libs/jpeg + x11-libs/libX11 + x11-libs/libXft + x11-libs/libXpm + x11-libs/libXt + x11-libs/libICE + x11-libs/libSM + x11-proto/xproto )" + +S="${WORKDIR}/pl-${PV}" + +src_unpack() { + unpack ${A} + cd "${S}" + + epatch "${WORKDIR}"/${PV}/1000-cflags.patch + epatch "${WORKDIR}"/${PV}/1001-multilib.patch + epatch "${WORKDIR}"/${PV}/2100-thread-sandbox.patch + epatch "${WORKDIR}"/${PV}/2800-mandir.patch + epatch "${WORKDIR}"/${PV}/3000-packages-subshell.patch + epatch "${WORKDIR}"/${PV}/3029-clib-test.patch + epatch "${WORKDIR}"/${PV}/3059-ssl-test.patch + epatch "${WORKDIR}"/${PV}/3069-semweb-test.patch + epatch "${WORKDIR}"/${PV}/3150-jpl-env.patch + epatch "${WORKDIR}"/${PV}/3151-jpl-ppc-arch.patch + epatch "${WORKDIR}"/${PV}/3152-jpl-junit.patch + epatch "${WORKDIR}"/${PV}/3159-jpl-test.patch + epatch "${WORKDIR}"/${PV}/3160-xpce-parallel-build.patch + epatch "${WORKDIR}"/${PV}/3139-sgml-test.patch + epatch "${WORKDIR}"/${PV}/3149-sgml-RDF-test.patch + epatch "${WORKDIR}"/${PV}/3169-xpce-test.patch + epatch "${WORKDIR}"/${PV}/3199-ltx2htm.patch + epatch "${WORKDIR}"/${PV}/3229-zlib-test.patch +} + +src_compile() { + einfo "Building SWI-Prolog compiler" + + use debug && append-flags -DO_DEBUG + + local threadconf + if use java && ! use minimal || use threads ; then + threadconf="--enable-mt" + else + threadconf="--disable-mt" + fi + + cd "${S}"/src + econf \ + --libdir=/usr/$(get_libdir) \ + ${threadconf} \ + $(use_enable gmp) \ + $(use_enable readline) \ + $(use_enable !static shared) \ + --disable-custom-flags \ + || die "econf failed" + emake || die "emake failed" + + if ! use minimal ; then + einfo "Building SWI-Prolog additional packages" + + cd "${S}/packages" + econf \ + --libdir=/usr/$(get_libdir) \ + ${threadconf} \ + $(use_enable !static shared) \ + --without-C-sicstus \ + --with-chr \ + --with-clib \ + --with-clpqr \ + --with-cpp \ + --with-cppproxy \ + $(use_with berkdb db) \ + --with-http \ + --without-jasmine \ + $(use_with java jpl) \ + $(use_with tetex ltx2htm) \ + --with-nlp \ + $(use_with odbc) \ + --with-pldoc \ + --with-plunit \ + --with-semweb \ + --with-sgml \ + --with-sgml/RDF \ + $(use_with ssl) \ + --with-table \ + $(use_with X xpce) \ + $(use_with zlib) \ + || die "packages econf failed" + + emake || die "packages emake failed" + fi +} + +src_install() { + make -C src DESTDIR="${D}" install || die "install src failed" + + if ! use minimal ; then + make -C packages DESTDIR="${D}" install || die "install packages failed" + if use doc ; then + make -C packages DESTDIR="${D}" html-install || die "html-install failed" + make -C packages/cppproxy DESTDIR="${D}" install-examples || die "install-examples failed" + fi + fi + + dodoc ANNOUNCE ChangeLog INSTALL INSTALL.notes PORTING README README.GUI VERSION +} + +src_test() { + cd "${S}/src" + make check || die "make check failed. See above for details." + + if ! use minimal ; then + cd "${S}/packages" + make check || die "make check failed. See above for details." + fi +} -- 2.26.2