Bump -5.11 development version
authorKeri Harris <keri@gentoo.org>
Mon, 9 Jan 2012 05:09:50 +0000 (05:09 +0000)
committerKeri Harris <keri@gentoo.org>
Mon, 9 Jan 2012 05:09:50 +0000 (05:09 +0000)
Package-Manager: portage-2.1.10.41/cvs/Linux x86_64

dev-lang/swi-prolog/ChangeLog
dev-lang/swi-prolog/Manifest
dev-lang/swi-prolog/swi-prolog-5.11.36.ebuild [new file with mode: 0644]

index 298a29d3bcdd9387d0e2e51d800d465a1e39ded3..ae9905322bb46c565ab6383526554522b37ec64e 100644 (file)
@@ -1,6 +1,11 @@
 # ChangeLog for dev-lang/swi-prolog
-# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-lang/swi-prolog/ChangeLog,v 1.310 2011/12/27 19:23:32 keri Exp $
+# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-lang/swi-prolog/ChangeLog,v 1.311 2012/01/09 05:09:50 keri Exp $
+
+*swi-prolog-5.11.36 (09 Jan 2012)
+
+  09 Jan 2012; <keri@gentoo.org> +swi-prolog-5.11.36.ebuild:
+  Bump -5.11 development version
 
   27 Dec 2011; <keri@gentoo.org> -swi-prolog-5.11.31.ebuild,
   -swi-prolog-5.11.32.ebuild, -swi-prolog-5.11.33.ebuild:
index 27a06863b9727748a2f0ac3878bdc9b59f30b4fd..1893d96667f75ceec2f1d3249f9d7ba3a4e571c0 100644 (file)
@@ -5,22 +5,25 @@ DIST pl-5.10.4.tar.gz 13242637 RMD160 5891908606a3676a2c6c6008f8cb2f6724cd211f S
 DIST pl-5.10.5.tar.gz 13329752 RMD160 1ed3594b46efead1fd66b232ff8bdd765d749200 SHA1 bc27e997e20120aed9be68af2fdccfb093ff16eb SHA256 38d938d6a64e894685aa44bf9ea34b5505764cd084e07e6b4c21a9dd89b579d5
 DIST pl-5.11.34.tar.gz 13460186 RMD160 1f7ee32e7a0b85163c0501754d0d00b661950189 SHA1 9c933db1d3587ea35bfcd342595ede94ce8db7a9 SHA256 0cc7a7e58eb98914175992b06b8e4f73c976b952edb3c7061f1056e7882e67ec
 DIST pl-5.11.35.tar.gz 13461875 RMD160 4f8e6738eabda36f325c507a8dafb73cc6a24382 SHA1 4e06f6ba717b7c8e40e3363dbaba149ac641b865 SHA256 ebc212f629e536b4076a83107d4e1601531c50df155e6f379c5801a21a8e8bfa
+DIST pl-5.11.36.tar.gz 13459439 RMD160 ddcf1487b44f6f5f85c7c74da93ff90a38cfbd8e SHA1 6d5c4ac0658fdea6065035a19e25afe2eec2a1f8 SHA256 cfec85653a2acf24d6f19ebd841a5885ab0034ddb409e64702a53384776f8f7f
 DIST swi-prolog-5.10.4-gentoo-patchset-3.tar.gz 9770 RMD160 6bf3af5c57da54407f260db9ee5203ee6fa8c032 SHA1 3fc7483226a7ea5363ee083105bcf1d81d645b1e SHA256 8745a67d34f83afdbb1ed852606d40fadfe7de7bca00c8a88690efb65aace21b
 DIST swi-prolog-5.10.5-gentoo-patchset-0.tar.gz 5860 RMD160 ec0c8237fecf838101602875a9e4eb64a1c84271 SHA1 57b97c3284158e0fad2c0371479284bf79e85654 SHA256 a20cb42ed5385076a2ba759898f44b82fe0d40b5f2f16063535f1635763c6aa6
 DIST swi-prolog-5.10.5-gentoo-patchset-4.tar.gz 9587 RMD160 1867f6320810bfb7f356716e6006c40e77507006 SHA1 79a27dc241e6fe1c6e86c5769eba16a5b984f6cd SHA256 0f00bb91ed0039fc861c7f60251a752a836b8ef18d2fdd920bb5fcb88f64f653
 DIST swi-prolog-5.11.34-gentoo-patchset-0.tar.gz 4126 RMD160 5dd7a6d95a90fe87886b9c52f59a0b1a9acd6ed9 SHA1 4003e2101d148ed70a516dee079ab25c956231cb SHA256 a902e81d819055e365916a6c5e01b13b9bbc2477f00de192f6b751b0efc2cc99
 DIST swi-prolog-5.11.35-gentoo-patchset-0.tar.gz 5009 RMD160 11bf91da332023963625d9951b742c0412603aee SHA1 1479822638cdeed72387b768aa34c9daec651aae SHA256 13feae1275699fdd8b644f5eddf6f5ba058febb23400825e2e60eee4b91ba417
+DIST swi-prolog-5.11.36-gentoo-patchset-0.tar.gz 4098 RMD160 7851a7a1d53a5e548280da1ea2d6a1782d2748bd SHA1 c1ace0ffe8c0840d898185fca257a89f6243cb8b SHA256 867f437055dfc91a3b27ebbb349842874b9d40bf9f05f112b646ced90dac21f7
 EBUILD swi-prolog-5.10.4.ebuild 2859 RMD160 c14ad4d4fc9563870ca9ac9dbf6fb13d7c0f3f9c SHA1 2c12474596c885523f012ee4e1fee9cf1f270916 SHA256 d556eeafdbf96f17c83dbd469d239058e0a52144299c1188df617fe82513841f
 EBUILD swi-prolog-5.10.5-r1.ebuild 2863 RMD160 b70b6f9319f8e206717da6aa8db9aa8ae1c10104 SHA1 c403a913d8fbbaf9c6b0b8e79ff79f59bb958746 SHA256 54f41c2495e870ce7ea0986b2019e2b86b2399619c61cb85f15ea39b320b5f0a
 EBUILD swi-prolog-5.10.5.ebuild 2860 RMD160 53ab30c4f2047fd4c79ce60da8dde40bf41e5f17 SHA1 02348fd57d330fdf43e2bada8bf8027fcc5e7e82 SHA256 a4a376db10cf07af0cbdee1a701ab2ae8832c11c6ba5b1a24a12176bc934db15
 EBUILD swi-prolog-5.11.34.ebuild 2860 RMD160 2854d9b8a2424c6728b35866803af97daea118b3 SHA1 6fc1c38b76a773c30b14c6f86b5cb696c7bbb1ec SHA256 f143cda53a611c0aaecf3085a9d6c461b094a772f1952b5eefbc2550fce44531
 EBUILD swi-prolog-5.11.35.ebuild 2860 RMD160 5c91a6528f2e2c36db393da4a60d127bf2964037 SHA1 0fd840b4cd066df4bc21731a5b37e1b593070114 SHA256 248a7ea6cb202c7b471fc6321a5d32856588e0dc20eaaae3309862c9b93852a0
-MISC ChangeLog 47987 RMD160 9e2a987be57d10799660556aad18248b58a72a0e SHA1 3a17322361e4501d4c2c7b463d2146416621619c SHA256 97ef124526fb7c49dc3df8df9118104b83f4abefd0874aa073b11691a95360cf
+EBUILD swi-prolog-5.11.36.ebuild 2860 RMD160 45f1377e805897ea541d68a4d98cb131ed45c66b SHA1 a46f682772fac4cae61c93ed18792389e09fd4e8 SHA256 93d2af7f169885dd2560a3132eeb7e8dc9ccb3a9280cbe1e970b25b2390f7f82
+MISC ChangeLog 48117 RMD160 85cb3a6abaedcf78daca1f1886edb338d3bfd0a9 SHA1 fa98bf3ae2527fd2f621130403145795db1b645c SHA256 b0eeb906fe0bc779e013dc29d3a4c2aea79707a292b5e9f0cbd6d7ba33e8e3ed
 MISC metadata.xml 159 RMD160 38d27fd1c5faabedefa5507dfd83cb4c952fbc8c SHA1 52b92682cf41e53e71bf432537a16215bd9546b1 SHA256 851bf218a4283a1d8ea6ef98af0119a40eaa78bfaaec49c2f3440437f52889ba
 -----BEGIN PGP SIGNATURE-----
 Version: GnuPG v2.0.17 (GNU/Linux)
 
-iEYEARECAAYFAk76GzoACgkQrwS/tqE49e1HIACePBNSHsaAZ1o1N21xOJiA5Wnh
-VksAnR5lz/61ZYv2M1qRi18SFvSsiUKV
-=1mhI
+iEYEARECAAYFAk8KdqkACgkQrwS/tqE49e3KTACgl7yyfXguT6bw9qfqEvt72nRB
+I84An0N4x/zgnrceH2wD/Xuc2ecskW8p
+=3vyJ
 -----END PGP SIGNATURE-----
diff --git a/dev-lang/swi-prolog/swi-prolog-5.11.36.ebuild b/dev-lang/swi-prolog/swi-prolog-5.11.36.ebuild
new file mode 100644 (file)
index 0000000..d823681
--- /dev/null
@@ -0,0 +1,125 @@
+# Copyright 1999-2012 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.11.36.ebuild,v 1.1 2012/01/09 05:09:50 keri Exp $
+
+EAPI=2
+
+inherit eutils flag-o-matic java-pkg-opt-2
+
+PATCHSET_VER="0"
+
+DESCRIPTION="free, small, and standard compliant Prolog compiler"
+HOMEPAGE="http://www.swi-prolog.org/"
+SRC_URI="http://www.swi-prolog.org/download/devel/src/pl-${PV}.tar.gz
+       mirror://gentoo/${P}-gentoo-patchset-${PATCHSET_VER}.tar.gz"
+
+LICENSE="LGPL-2.1"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~x86"
+IUSE="debug doc gmp hardened java minimal odbc readline ssl static test zlib X"
+
+RDEPEND="sys-libs/ncurses
+       zlib? ( sys-libs/zlib )
+       odbc? ( dev-db/unixODBC )
+       readline? ( sys-libs/readline )
+       gmp? ( dev-libs/gmp )
+       ssl? ( dev-libs/openssl )
+       java? ( >=virtual/jdk-1.4 )
+       X? (
+               virtual/jpeg
+               x11-libs/libX11
+               x11-libs/libXft
+               x11-libs/libXpm
+               x11-libs/libXt
+               x11-libs/libICE
+               x11-libs/libSM )"
+
+DEPEND="${RDEPEND}
+       X? ( x11-proto/xproto )
+       java? ( test? ( =dev-java/junit-3.8* ) )"
+
+S="${WORKDIR}/pl-${PV}"
+
+src_prepare() {
+       EPATCH_FORCE=yes
+       EPATCH_SUFFIX=patch
+       epatch "${WORKDIR}"/${PV}
+}
+
+src_configure() {
+       append-flags -fno-strict-aliasing
+       use ppc && append-flags -mno-altivec
+       use hardened && append-flags -fno-unit-at-a-time
+       use debug && append-flags -DO_DEBUG
+
+       cd "${S}"/src
+       econf \
+               --libdir=/usr/$(get_libdir) \
+               $(use_enable gmp) \
+               $(use_enable readline) \
+               $(use_enable !static shared) \
+               --enable-custom-flags COFLAGS="${CFLAGS}"
+}
+
+src_compile() {
+       cd "${S}"/src
+       emake || die "emake failed"
+
+       if ! use minimal ; then
+               local jpltestconf
+               if use java && use test ; then
+                       jpltestconf="--with-junit=$(java-config --classpath junit)"
+               fi
+
+               cd "${S}/packages"
+               econf \
+                       --libdir=/usr/$(get_libdir) \
+                       --with-chr \
+                       --with-clib \
+                       --with-clpqr \
+                       --with-cpp \
+                       --with-http \
+                       $(use_with java jpl) \
+                       ${jpltestconf} \
+                       --with-nlp \
+                       $(use_with odbc) \
+                       --with-pldoc \
+                       --with-plunit \
+                       --with-protobufs \
+                       --with-R \
+                       --with-RDF \
+                       --with-semweb \
+                       --with-sgml \
+                       $(use_with ssl) \
+                       --with-table \
+                       --with-tipc \
+                       $(use_with X xpce) \
+                       $(use_with zlib) \
+                       COFLAGS='"${CFLAGS}"'
+
+               emake || die "packages emake failed"
+       fi
+}
+
+src_test() {
+       cd "${S}/src"
+       emake check || die "make check failed. See above for details."
+
+       if ! use minimal ; then
+               cd "${S}/packages"
+               emake check || die "make check failed. See above for details."
+       fi
+}
+
+src_install() {
+       emake -C src DESTDIR="${D}" install || die "install src failed"
+
+       if ! use minimal ; then
+               emake -C packages DESTDIR="${D}" install || die "install packages failed"
+               if use doc ; then
+                       emake -C packages DESTDIR="${D}" html-install || die "html-install failed"
+               fi
+       fi
+
+       dodoc ReleaseNotes/relnotes-5.10 INSTALL README VERSION || die
+}