# ChangeLog for dev-lang/swi-prolog
# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-lang/swi-prolog/ChangeLog,v 1.47 2006/10/24 19:13:37 grobian Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-lang/swi-prolog/ChangeLog,v 1.48 2006/11/10 21:06:14 keri Exp $
+
+*swi-prolog-5.6.23 (10 Nov 2006)
+
+ 10 Nov 2006; keri <keri@gentoo.org> +files/swi-prolog-jpl-PLARCH.patch,
+ +swi-prolog-5.6.23.ebuild:
+ Version bump.
24 Oct 2006; Fabian Groffen <grobian@gentoo.org>
swi-prolog-5.6.17-r1.ebuild, swi-prolog-5.6.18.ebuild,
MD5 919da80fcc4982596c0523b8887ee13b files/swi-prolog-jpl-LDPATH.patch 1184
RMD160 b80d7d4267e5bcdf9d8522dd8dab3862942429fe files/swi-prolog-jpl-LDPATH.patch 1184
SHA256 368abd48148cbb62e00ceb519d8a04e3ebc429aa26596392302bb5a0ff154dca files/swi-prolog-jpl-LDPATH.patch 1184
+AUX swi-prolog-jpl-PLARCH.patch 311 RMD160 91a4b95a41b7986da49e8b3443617bf51e287523 SHA1 0b2fa0c31ba20bc292791265388c4f6ef1023744 SHA256 c3be68aad2be2e0bf08769cb743cece20b47fe198f3d3e87601554188bf0ec89
+MD5 8d505cb837b5d78743b1be627063db3d files/swi-prolog-jpl-PLARCH.patch 311
+RMD160 91a4b95a41b7986da49e8b3443617bf51e287523 files/swi-prolog-jpl-PLARCH.patch 311
+SHA256 c3be68aad2be2e0bf08769cb743cece20b47fe198f3d3e87601554188bf0ec89 files/swi-prolog-jpl-PLARCH.patch 311
AUX swi-prolog-jpl-install.patch 557 RMD160 db14237ac6951b5bb26276759114ef575776415b SHA1 cf661d9f9d502e30febb85de8d1e920e498dad67 SHA256 497b5c80dd316f55a21c5c954208449543bd6988d40e71719a067278daeeab78
MD5 689af0808e7024052c262d6be879076c files/swi-prolog-jpl-install.patch 557
RMD160 db14237ac6951b5bb26276759114ef575776415b files/swi-prolog-jpl-install.patch 557
DIST pl-5.6.20.tar.gz 11528418 RMD160 3f8b25d8370485c7fc8f15d0c55d5a873869a93a SHA1 3decae180a5870684eba38492e45e479c7881e2f SHA256 10e09ce3fdd35c12fceb3e463a617a40f119b67dc23436068dd47a9388355981
DIST pl-5.6.21.tar.gz 11543471 RMD160 f3d164199a727abf4603cb809f5b67aeb511709a SHA1 7a93a82ac9ba78fff3497e64486bfd8fae538f14 SHA256 e83326fee55b3026fd389a89c10a09110f318c430fd88056ca5dff2e7ab11ac1
DIST pl-5.6.22.tar.gz 11553934 RMD160 bd45af82adc55b66eacaf41c3a256a0db5baa609 SHA1 be5e2a21cb56577ad958b912d064613b1ba450bb SHA256 0efb8fb7aa349d3626fa244557d121b9db18ff0a8d139a56b018c51e98b25523
+DIST pl-5.6.23.tar.gz 11549939 RMD160 6bf26d0c090449afa5365257e052b1138f3ee2f7 SHA1 ede74120a72028259fc42f71e39ff99e5862c580 SHA256 8df6bf8b6f3488aaff1f7b0c422728ae3730ddf735bfa9359be0659d27f79c5f
EBUILD swi-prolog-5.6.17-r1.ebuild 3745 RMD160 98ae5fd30d12f8510ff40c29fde39694ba5bd3e3 SHA1 5c2dc9e6324022e1b1bd47af87b60dc9bd6f0427 SHA256 28073011d86b9c0a8c99b684f4d520a9115143e2bbc1cff162b39cf9c3d4190d
MD5 51910f7af614f2e6b10b9d2f54dcbd1b swi-prolog-5.6.17-r1.ebuild 3745
RMD160 98ae5fd30d12f8510ff40c29fde39694ba5bd3e3 swi-prolog-5.6.17-r1.ebuild 3745
MD5 c36b7f5cd6f40e8cfd041a17d4c8a23c swi-prolog-5.6.22.ebuild 3318
RMD160 f9252e1e6c8167d6eb849c627a27bcb387cb39b3 swi-prolog-5.6.22.ebuild 3318
SHA256 6d0946f800616b1050bb794a709522b3909bf40d32ff83711a6e323b80cb1805 swi-prolog-5.6.22.ebuild 3318
-MISC ChangeLog 9444 RMD160 d47e1ee068ea8a6eb70bd7719062510c4bb987dc SHA1 47de3f6656bc1cd0fbb5ef3ef4f74f9d14d72a8a SHA256 28ab999870bc8a50f5f7103bd9e4af8b1230904322b6e5f407962cb6b97fc728
-MD5 bc1e4b85a66bfdd93459fa8a2d1f86ac ChangeLog 9444
-RMD160 d47e1ee068ea8a6eb70bd7719062510c4bb987dc ChangeLog 9444
-SHA256 28ab999870bc8a50f5f7103bd9e4af8b1230904322b6e5f407962cb6b97fc728 ChangeLog 9444
+EBUILD swi-prolog-5.6.23.ebuild 3360 RMD160 f43eccc97bcb82c1733ac82b3f00edc0cbfbc69d SHA1 0e6949414ebbcaded66b220455d4a4bc65d6abfd SHA256 2650f7044558eeea71962fb52e2b12220d6605b95b0abb788b5770daa7d31eea
+MD5 ae74fa01053eb293dd714337fc78ac5c swi-prolog-5.6.23.ebuild 3360
+RMD160 f43eccc97bcb82c1733ac82b3f00edc0cbfbc69d swi-prolog-5.6.23.ebuild 3360
+SHA256 2650f7044558eeea71962fb52e2b12220d6605b95b0abb788b5770daa7d31eea swi-prolog-5.6.23.ebuild 3360
+MISC ChangeLog 9595 RMD160 4198abc5ebb3983c3719ab8f8a6ec8f1acc7f84c SHA1 a7d062b04f1b7ca84a7d0f9d67f60a186852214e SHA256 da572c258e99b168a4c431113006522d0a642c3c4679aa931696537cb7cdf86d
+MD5 3221dbb7d6486596bec5068635d55c95 ChangeLog 9595
+RMD160 4198abc5ebb3983c3719ab8f8a6ec8f1acc7f84c ChangeLog 9595
+SHA256 da572c258e99b168a4c431113006522d0a642c3c4679aa931696537cb7cdf86d ChangeLog 9595
MISC metadata.xml 159 RMD160 38d27fd1c5faabedefa5507dfd83cb4c952fbc8c SHA1 52b92682cf41e53e71bf432537a16215bd9546b1 SHA256 851bf218a4283a1d8ea6ef98af0119a40eaa78bfaaec49c2f3440437f52889ba
MD5 9187f53634e60ab7eb2ac7e98b0b19f7 metadata.xml 159
RMD160 38d27fd1c5faabedefa5507dfd83cb4c952fbc8c metadata.xml 159
MD5 ef05af9c50253e2b1809e69f9408245d files/digest-swi-prolog-5.6.22 235
RMD160 b9adfbd625fda310c65eb046ee3c1e6b3d130b41 files/digest-swi-prolog-5.6.22 235
SHA256 8a3021a9a941de70bf1f19197347e45617a9a8bf18ba7684e4b29b790345dbfb files/digest-swi-prolog-5.6.22 235
+MD5 43390848b4698a7d68b6a2ade02f7b76 files/digest-swi-prolog-5.6.23 235
+RMD160 0ec69ce8cb306abc2c0104d5a525ca218876c66f files/digest-swi-prolog-5.6.23 235
+SHA256 1dbb646034643ec6179e4dabaca523b381e073930c7aac1a9b80542240d5b81e files/digest-swi-prolog-5.6.23 235
--- /dev/null
+MD5 25ff0f1be4efc2887457f8294d3871f8 pl-5.6.23.tar.gz 11549939
+RMD160 6bf26d0c090449afa5365257e052b1138f3ee2f7 pl-5.6.23.tar.gz 11549939
+SHA256 8df6bf8b6f3488aaff1f7b0c422728ae3730ddf735bfa9359be0659d27f79c5f pl-5.6.23.tar.gz 11549939
--- /dev/null
+--- pl-5.6.23.orig/packages/jpl/configure 2006-11-11 00:05:45.000000000 +1300
++++ pl-5.6.23/packages/jpl/configure 2006-11-11 09:23:18.000000000 +1300
+@@ -3093,7 +3093,7 @@
+ *darwin*)
+ JAVALIBS="-Wl,-framework,JavaVM"
+ ;;
+- *powerpc-linux*)
++ ppc)
+ JAVALIBS="-ljava -ljvm"
+ ;;
+ *)
--- /dev/null
+# Copyright 1999-2006 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.23.ebuild,v 1.1 2006/11/10 21:06:14 keri Exp $
+
+inherit eutils
+
+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"
+
+LICENSE="LGPL-2.1"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~ppc ~sparc ~x86"
+IUSE="berkdb doc gmp java minimal odbc readline ssl static tetex threads X"
+
+DEPEND="!dev-lang/swi-prolog-lite
+ sys-libs/ncurses
+ 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 )
+ 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}"
+
+ sed -i -e "s/man boot library/boot library/" src/Makefile.in
+ epatch "${FILESDIR}"/${PN}-portage-r1.patch
+ epatch "${FILESDIR}"/${PN}-CFLAGS-r3.patch
+ epatch "${FILESDIR}"/${PN}-PLBASE-r2.patch
+ epatch "${FILESDIR}"/${PN}-cppproxy-r1.patch
+ epatch "${FILESDIR}"/${PN}-jpl-PLARCH.patch
+ epatch "${FILESDIR}"/${PN}-jpl-LDPATH.patch
+ epatch "${FILESDIR}"/${PN}-ltx2htm.patch
+ epatch "${FILESDIR}"/${PN}-SGML_CATALOG_FILES.patch
+ epatch "${FILESDIR}"/${PN}-thread-tests.patch
+ epatch "${FILESDIR}"/${PN}-xpce-parallel-build.patch
+ epatch "${FILESDIR}"/${PN}-xpce-test.patch
+}
+
+src_compile() {
+ einfo "Building SWI-Prolog compiler"
+
+ 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-semweb \
+ --with-sgml \
+ --with-sgml/RDF \
+ $(use_with ssl) \
+ --with-table \
+ $(use_with X xpce) \
+ || 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
+}