Gentoo Archives: gentoo-commits

From: "Keri Harris (keri)" <keri@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in dev-lang/swi-prolog: ChangeLog swi-prolog-5.6.40.ebuild
Date: Thu, 27 Sep 2007 18:53:20
Message-Id: E1IayLs-0005kS-Fa@stork.gentoo.org
1 keri 07/09/27 18:44:44
2
3 Modified: ChangeLog
4 Added: swi-prolog-5.6.40.ebuild
5 Log:
6 Version bump.
7 (Portage version: 2.1.3.9)
8
9 Revision Changes Path
10 1.113 dev-lang/swi-prolog/ChangeLog
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-lang/swi-prolog/ChangeLog?rev=1.113&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-lang/swi-prolog/ChangeLog?rev=1.113&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-lang/swi-prolog/ChangeLog?r1=1.112&r2=1.113
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/dev-lang/swi-prolog/ChangeLog,v
19 retrieving revision 1.112
20 retrieving revision 1.113
21 diff -u -r1.112 -r1.113
22 --- ChangeLog 22 Sep 2007 23:08:31 -0000 1.112
23 +++ ChangeLog 27 Sep 2007 18:44:43 -0000 1.113
24 @@ -1,6 +1,11 @@
25 # ChangeLog for dev-lang/swi-prolog
26 # Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
27 -# $Header: /var/cvsroot/gentoo-x86/dev-lang/swi-prolog/ChangeLog,v 1.112 2007/09/22 23:08:31 philantrop Exp $
28 +# $Header: /var/cvsroot/gentoo-x86/dev-lang/swi-prolog/ChangeLog,v 1.113 2007/09/27 18:44:43 keri Exp $
29 +
30 +*swi-prolog-5.6.40 (27 Sep 2007)
31 +
32 + 27 Sep 2007; keri <keri@g.o> +swi-prolog-5.6.40.ebuild:
33 + Version bump.
34
35 22 Sep 2007; Wulf C. Krueger <philantrop@g.o>
36 swi-prolog-5.6.37.ebuild:
37
38
39
40 1.1 dev-lang/swi-prolog/swi-prolog-5.6.40.ebuild
41
42 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-lang/swi-prolog/swi-prolog-5.6.40.ebuild?rev=1.1&view=markup
43 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-lang/swi-prolog/swi-prolog-5.6.40.ebuild?rev=1.1&content-type=text/plain
44
45 Index: swi-prolog-5.6.40.ebuild
46 ===================================================================
47 # Copyright 1999-2007 Gentoo Foundation
48 # Distributed under the terms of the GNU General Public License v2
49 # $Header: /var/cvsroot/gentoo-x86/dev-lang/swi-prolog/swi-prolog-5.6.40.ebuild,v 1.1 2007/09/27 18:44:44 keri Exp $
50
51 inherit eutils flag-o-matic java-pkg-opt-2
52
53 PATCHSET_VER="0"
54
55 DESCRIPTION="free, small, and standard compliant Prolog compiler"
56 HOMEPAGE="http://www.swi-prolog.org/"
57 SRC_URI="http://gollem.science.uva.nl/cgi-bin/nph-download/SWI-Prolog/pl-${PV}.tar.gz
58 mirror://gentoo/${P}-gentoo-patchset-${PATCHSET_VER}.tar.gz"
59
60 LICENSE="LGPL-2.1"
61 SLOT="0"
62 KEYWORDS="~alpha ~amd64 ~ppc ~sparc ~x86"
63 IUSE="berkdb debug doc gmp java minimal odbc readline ssl static tetex threads zlib X"
64
65 DEPEND="!dev-lang/swi-prolog-lite
66 sys-libs/ncurses
67 zlib? ( sys-libs/zlib )
68 odbc? ( dev-db/unixODBC )
69 berkdb? ( sys-libs/db )
70 readline? ( sys-libs/readline )
71 gmp? ( dev-libs/gmp )
72 ssl? ( dev-libs/openssl )
73 java? ( >=virtual/jdk-1.4
74 dev-java/junit )
75 X? (
76 media-libs/jpeg
77 x11-libs/libX11
78 x11-libs/libXft
79 x11-libs/libXpm
80 x11-libs/libXt
81 x11-libs/libICE
82 x11-libs/libSM
83 x11-proto/xproto )"
84
85 S="${WORKDIR}/pl-${PV}"
86
87 src_unpack() {
88 unpack ${A}
89 cd "${S}"
90
91 epatch "${WORKDIR}"/${PV}/1000-cflags.patch
92 epatch "${WORKDIR}"/${PV}/1001-multilib.patch
93 epatch "${WORKDIR}"/${PV}/2100-thread-sandbox.patch
94 epatch "${WORKDIR}"/${PV}/2105-pl-profile-va-debug.patch
95 epatch "${WORKDIR}"/${PV}/2800-mandir.patch
96 epatch "${WORKDIR}"/${PV}/2900-thread-library.patch
97 epatch "${WORKDIR}"/${PV}/3029-clib-test.patch
98 epatch "${WORKDIR}"/${PV}/3059-ssl-test.patch
99 epatch "${WORKDIR}"/${PV}/3069-semweb-test.patch
100 epatch "${WORKDIR}"/${PV}/3150-jpl-env.patch
101 epatch "${WORKDIR}"/${PV}/3151-jpl-ppc-arch.patch
102 epatch "${WORKDIR}"/${PV}/3152-jpl-junit.patch
103 epatch "${WORKDIR}"/${PV}/3159-jpl-test.patch
104 epatch "${WORKDIR}"/${PV}/3160-xpce-parallel-build.patch
105 epatch "${WORKDIR}"/${PV}/3139-sgml-test.patch
106 epatch "${WORKDIR}"/${PV}/3149-sgml-RDF-test.patch
107 epatch "${WORKDIR}"/${PV}/3169-xpce-test.patch
108 epatch "${WORKDIR}"/${PV}/3199-ltx2htm.patch
109 epatch "${WORKDIR}"/${PV}/3229-zlib-test.patch
110 }
111
112 src_compile() {
113 einfo "Building SWI-Prolog compiler"
114
115 use debug && append-flags -DO_DEBUG
116
117 local threadconf
118 if use java && ! use minimal || use threads ; then
119 threadconf="--enable-mt"
120 else
121 threadconf="--disable-mt"
122 fi
123
124 cd "${S}"/src
125 econf \
126 --libdir=/usr/$(get_libdir) \
127 ${threadconf} \
128 $(use_enable gmp) \
129 $(use_enable readline) \
130 $(use_enable !static shared) \
131 --disable-custom-flags \
132 || die "econf failed"
133 emake || die "emake failed"
134
135 if ! use minimal ; then
136 einfo "Building SWI-Prolog additional packages"
137
138 cd "${S}/packages"
139 econf \
140 --libdir=/usr/$(get_libdir) \
141 ${threadconf} \
142 $(use_enable !static shared) \
143 --without-C-sicstus \
144 --with-chr \
145 --with-clib \
146 --with-clpqr \
147 --with-cpp \
148 --with-cppproxy \
149 $(use_with berkdb db) \
150 --with-http \
151 --without-jasmine \
152 $(use_with java jpl) \
153 $(use_with tetex ltx2htm) \
154 --with-nlp \
155 $(use_with odbc) \
156 --with-pldoc \
157 --with-plunit \
158 --with-semweb \
159 --with-sgml \
160 --with-sgml/RDF \
161 $(use_with ssl) \
162 --with-table \
163 $(use_with X xpce) \
164 $(use_with zlib) \
165 || die "packages econf failed"
166
167 emake || die "packages emake failed"
168 fi
169 }
170
171 src_install() {
172 make -C src DESTDIR="${D}" install || die "install src failed"
173
174 if ! use minimal ; then
175 make -C packages DESTDIR="${D}" install || die "install packages failed"
176 if use doc ; then
177 make -C packages DESTDIR="${D}" html-install || die "html-install failed"
178 make -C packages/cppproxy DESTDIR="${D}" install-examples || die "install-examples failed"
179 fi
180 fi
181
182 dodoc ANNOUNCE ChangeLog INSTALL INSTALL.notes PORTING README README.GUI VERSION
183 }
184
185 src_test() {
186 cd "${S}/src"
187 make check || die "make check failed. See above for details."
188
189 if ! use minimal ; then
190 cd "${S}/packages"
191 make check || die "make check failed. See above for details."
192 fi
193 }
194
195
196
197 --
198 gentoo-commits@g.o mailing list