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-6.1.1.ebuild swi-prolog-6.1.2.ebuild
Date: Fri, 02 Mar 2012 07:58:52
Message-Id: 20120302075843.830552004B@flycatcher.gentoo.org
1 keri 12/03/02 07:58:43
2
3 Modified: ChangeLog
4 Added: swi-prolog-6.1.1.ebuild swi-prolog-6.1.2.ebuild
5 Log:
6 Bump -6.1 development version
7
8 (Portage version: 2.1.10.41/cvs/Linux x86_64)
9
10 Revision Changes Path
11 1.320 dev-lang/swi-prolog/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-lang/swi-prolog/ChangeLog?rev=1.320&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-lang/swi-prolog/ChangeLog?rev=1.320&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-lang/swi-prolog/ChangeLog?r1=1.319&r2=1.320
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/dev-lang/swi-prolog/ChangeLog,v
20 retrieving revision 1.319
21 retrieving revision 1.320
22 diff -u -r1.319 -r1.320
23 --- ChangeLog 1 Mar 2012 13:12:26 -0000 1.319
24 +++ ChangeLog 2 Mar 2012 07:58:43 -0000 1.320
25 @@ -1,6 +1,13 @@
26 # ChangeLog for dev-lang/swi-prolog
27 # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/dev-lang/swi-prolog/ChangeLog,v 1.319 2012/03/01 13:12:26 keri Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/dev-lang/swi-prolog/ChangeLog,v 1.320 2012/03/02 07:58:43 keri Exp $
30 +
31 +*swi-prolog-6.1.2 (01 Mar 2012)
32 +*swi-prolog-6.1.1 (01 Mar 2012)
33 +
34 + 01 Mar 2012; <keri@g.o> +swi-prolog-6.1.1.ebuild,
35 + +swi-prolog-6.1.2.ebuild:
36 + Bump -6.1 development version
37
38 *swi-prolog-6.1.0 (01 Mar 2012)
39
40
41
42
43 1.1 dev-lang/swi-prolog/swi-prolog-6.1.1.ebuild
44
45 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-lang/swi-prolog/swi-prolog-6.1.1.ebuild?rev=1.1&view=markup
46 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-lang/swi-prolog/swi-prolog-6.1.1.ebuild?rev=1.1&content-type=text/plain
47
48 Index: swi-prolog-6.1.1.ebuild
49 ===================================================================
50 # Copyright 1999-2012 Gentoo Foundation
51 # Distributed under the terms of the GNU General Public License v2
52 # $Header: /var/cvsroot/gentoo-x86/dev-lang/swi-prolog/swi-prolog-6.1.1.ebuild,v 1.1 2012/03/02 07:58:43 keri Exp $
53
54 EAPI=2
55
56 inherit eutils flag-o-matic java-pkg-opt-2
57
58 PATCHSET_VER="0"
59
60 DESCRIPTION="free, small, and standard compliant Prolog compiler"
61 HOMEPAGE="http://www.swi-prolog.org/"
62 SRC_URI="http://www.swi-prolog.org/download/devel/src/pl-${PV}.tar.gz
63 mirror://gentoo/${P}-gentoo-patchset-${PATCHSET_VER}.tar.gz"
64
65 LICENSE="LGPL-2.1"
66 SLOT="0"
67 KEYWORDS="~amd64 ~ppc ~x86"
68 IUSE="debug doc gmp hardened java minimal odbc readline ssl static test zlib X"
69
70 RDEPEND="sys-libs/ncurses
71 zlib? ( sys-libs/zlib )
72 odbc? ( dev-db/unixODBC )
73 readline? ( sys-libs/readline )
74 gmp? ( dev-libs/gmp )
75 ssl? ( dev-libs/openssl )
76 java? ( >=virtual/jdk-1.4 )
77 X? (
78 virtual/jpeg
79 x11-libs/libX11
80 x11-libs/libXft
81 x11-libs/libXpm
82 x11-libs/libXt
83 x11-libs/libICE
84 x11-libs/libSM )"
85
86 DEPEND="${RDEPEND}
87 X? ( x11-proto/xproto )
88 java? ( test? ( =dev-java/junit-3.8* ) )"
89
90 S="${WORKDIR}/pl-${PV}"
91
92 src_prepare() {
93 EPATCH_FORCE=yes
94 EPATCH_SUFFIX=patch
95 epatch "${WORKDIR}"/${PV}
96 }
97
98 src_configure() {
99 append-flags -fno-strict-aliasing
100 use ppc && append-flags -mno-altivec
101 use hardened && append-flags -fno-unit-at-a-time
102 use debug && append-flags -DO_DEBUG
103
104 cd "${S}"/src
105 econf \
106 --libdir=/usr/$(get_libdir) \
107 $(use_enable gmp) \
108 $(use_enable readline) \
109 $(use_enable !static shared) \
110 --enable-custom-flags COFLAGS="${CFLAGS}"
111 }
112
113 src_compile() {
114 cd "${S}"/src
115 emake || die "emake failed"
116
117 if ! use minimal ; then
118 local jpltestconf
119 if use java && use test ; then
120 jpltestconf="--with-junit=$(java-config --classpath junit)"
121 fi
122
123 cd "${S}/packages"
124 econf \
125 --libdir=/usr/$(get_libdir) \
126 --with-chr \
127 --with-clib \
128 --with-clpqr \
129 --with-cpp \
130 --with-http \
131 $(use_with java jpl) \
132 ${jpltestconf} \
133 --with-nlp \
134 $(use_with odbc) \
135 --with-pldoc \
136 --with-plunit \
137 --with-protobufs \
138 --with-R \
139 --with-RDF \
140 --with-semweb \
141 --with-sgml \
142 $(use_with ssl) \
143 --with-table \
144 --with-tipc \
145 $(use_with X xpce) \
146 $(use_with zlib) \
147 COFLAGS='"${CFLAGS}"'
148
149 emake || die "packages emake failed"
150 fi
151 }
152
153 src_test() {
154 cd "${S}/src"
155 emake check || die "make check failed. See above for details."
156
157 if ! use minimal ; then
158 cd "${S}/packages"
159 emake check || die "make check failed. See above for details."
160 fi
161 }
162
163 src_install() {
164 emake -C src DESTDIR="${D}" install || die "install src failed"
165
166 if ! use minimal ; then
167 emake -C packages DESTDIR="${D}" install || die "install packages failed"
168 if use doc ; then
169 emake -C packages DESTDIR="${D}" html-install || die "html-install failed"
170 fi
171 fi
172
173 dodoc ReleaseNotes/relnotes-5.10 INSTALL README VERSION || die
174 }
175
176
177
178 1.1 dev-lang/swi-prolog/swi-prolog-6.1.2.ebuild
179
180 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-lang/swi-prolog/swi-prolog-6.1.2.ebuild?rev=1.1&view=markup
181 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-lang/swi-prolog/swi-prolog-6.1.2.ebuild?rev=1.1&content-type=text/plain
182
183 Index: swi-prolog-6.1.2.ebuild
184 ===================================================================
185 # Copyright 1999-2012 Gentoo Foundation
186 # Distributed under the terms of the GNU General Public License v2
187 # $Header: /var/cvsroot/gentoo-x86/dev-lang/swi-prolog/swi-prolog-6.1.2.ebuild,v 1.1 2012/03/02 07:58:43 keri Exp $
188
189 EAPI=2
190
191 inherit eutils flag-o-matic java-pkg-opt-2
192
193 PATCHSET_VER="0"
194
195 DESCRIPTION="free, small, and standard compliant Prolog compiler"
196 HOMEPAGE="http://www.swi-prolog.org/"
197 SRC_URI="http://www.swi-prolog.org/download/devel/src/pl-${PV}.tar.gz
198 mirror://gentoo/${P}-gentoo-patchset-${PATCHSET_VER}.tar.gz"
199
200 LICENSE="LGPL-2.1"
201 SLOT="0"
202 KEYWORDS="~amd64 ~ppc ~x86"
203 IUSE="debug doc gmp hardened java minimal odbc readline ssl static test zlib X"
204
205 RDEPEND="sys-libs/ncurses
206 zlib? ( sys-libs/zlib )
207 odbc? ( dev-db/unixODBC )
208 readline? ( sys-libs/readline )
209 gmp? ( dev-libs/gmp )
210 ssl? ( dev-libs/openssl )
211 java? ( >=virtual/jdk-1.4 )
212 X? (
213 virtual/jpeg
214 x11-libs/libX11
215 x11-libs/libXft
216 x11-libs/libXpm
217 x11-libs/libXt
218 x11-libs/libICE
219 x11-libs/libSM )"
220
221 DEPEND="${RDEPEND}
222 X? ( x11-proto/xproto )
223 java? ( test? ( =dev-java/junit-3.8* ) )"
224
225 S="${WORKDIR}/pl-${PV}"
226
227 src_prepare() {
228 EPATCH_FORCE=yes
229 EPATCH_SUFFIX=patch
230 epatch "${WORKDIR}"/${PV}
231 }
232
233 src_configure() {
234 append-flags -fno-strict-aliasing
235 use ppc && append-flags -mno-altivec
236 use hardened && append-flags -fno-unit-at-a-time
237 use debug && append-flags -DO_DEBUG
238
239 cd "${S}"/src
240 econf \
241 --libdir=/usr/$(get_libdir) \
242 $(use_enable gmp) \
243 $(use_enable readline) \
244 $(use_enable !static shared) \
245 --enable-custom-flags COFLAGS="${CFLAGS}"
246 }
247
248 src_compile() {
249 cd "${S}"/src
250 emake || die "emake failed"
251
252 if ! use minimal ; then
253 local jpltestconf
254 if use java && use test ; then
255 jpltestconf="--with-junit=$(java-config --classpath junit)"
256 fi
257
258 cd "${S}/packages"
259 econf \
260 --libdir=/usr/$(get_libdir) \
261 --with-chr \
262 --with-clib \
263 --with-clpqr \
264 --with-cpp \
265 --with-http \
266 $(use_with java jpl) \
267 ${jpltestconf} \
268 --with-nlp \
269 $(use_with odbc) \
270 --with-pldoc \
271 --with-plunit \
272 --with-protobufs \
273 --with-R \
274 --with-RDF \
275 --with-semweb \
276 --with-sgml \
277 $(use_with ssl) \
278 --with-table \
279 --with-tipc \
280 $(use_with X xpce) \
281 $(use_with zlib) \
282 COFLAGS='"${CFLAGS}"'
283
284 emake || die "packages emake failed"
285 fi
286 }
287
288 src_test() {
289 cd "${S}/src"
290 emake check || die "make check failed. See above for details."
291
292 if ! use minimal ; then
293 cd "${S}/packages"
294 emake check || die "make check failed. See above for details."
295 fi
296 }
297
298 src_install() {
299 emake -C src DESTDIR="${D}" install || die "install src failed"
300
301 if ! use minimal ; then
302 emake -C packages DESTDIR="${D}" install || die "install packages failed"
303 if use doc ; then
304 emake -C packages DESTDIR="${D}" html-install || die "html-install failed"
305 fi
306 fi
307
308 dodoc ReleaseNotes/relnotes-5.10 INSTALL README VERSION || die
309 }