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.41.ebuild
Date: Tue, 02 Oct 2007 06:15:48
Message-Id: E1Icau2-0005pC-St@stork.gentoo.org
1 keri 07/10/02 06:06:42
2
3 Modified: ChangeLog
4 Added: swi-prolog-5.6.41.ebuild
5 Log:
6 Version bump.
7 (Portage version: 2.1.3.11)
8
9 Revision Changes Path
10 1.115 dev-lang/swi-prolog/ChangeLog
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-lang/swi-prolog/ChangeLog?rev=1.115&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-lang/swi-prolog/ChangeLog?rev=1.115&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-lang/swi-prolog/ChangeLog?r1=1.114&r2=1.115
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/dev-lang/swi-prolog/ChangeLog,v
19 retrieving revision 1.114
20 retrieving revision 1.115
21 diff -u -r1.114 -r1.115
22 --- ChangeLog 29 Sep 2007 20:40:09 -0000 1.114
23 +++ ChangeLog 2 Oct 2007 06:06:42 -0000 1.115
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.114 2007/09/29 20:40:09 keri Exp $
28 +# $Header: /var/cvsroot/gentoo-x86/dev-lang/swi-prolog/ChangeLog,v 1.115 2007/10/02 06:06:42 keri Exp $
29 +
30 +*swi-prolog-5.6.41 (02 Oct 2007)
31 +
32 + 02 Oct 2007; keri <keri@g.o> +swi-prolog-5.6.41.ebuild:
33 + Version bump.
34
35 29 Sep 2007; keri <keri@g.o> swi-prolog-5.6.39.ebuild,
36 swi-prolog-5.6.40.ebuild:
37
38
39
40 1.1 dev-lang/swi-prolog/swi-prolog-5.6.41.ebuild
41
42 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-lang/swi-prolog/swi-prolog-5.6.41.ebuild?rev=1.1&view=markup
43 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-lang/swi-prolog/swi-prolog-5.6.41.ebuild?rev=1.1&content-type=text/plain
44
45 Index: swi-prolog-5.6.41.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.41.ebuild,v 1.1 2007/10/02 06:06:42 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}/2101-clear-seg-stack.patch
95 epatch "${WORKDIR}"/${PV}/2105-pl-profile-va-debug.patch
96 epatch "${WORKDIR}"/${PV}/2800-mandir.patch
97 epatch "${WORKDIR}"/${PV}/2900-thread-library.patch
98 epatch "${WORKDIR}"/${PV}/3029-clib-test.patch
99 epatch "${WORKDIR}"/${PV}/3059-ssl-test.patch
100 epatch "${WORKDIR}"/${PV}/3069-semweb-test.patch
101 epatch "${WORKDIR}"/${PV}/3150-jpl-env.patch
102 epatch "${WORKDIR}"/${PV}/3151-jpl-ppc-arch.patch
103 epatch "${WORKDIR}"/${PV}/3152-jpl-junit.patch
104 epatch "${WORKDIR}"/${PV}/3159-jpl-test.patch
105 epatch "${WORKDIR}"/${PV}/3160-xpce-parallel-build.patch
106 epatch "${WORKDIR}"/${PV}/3139-sgml-test.patch
107 epatch "${WORKDIR}"/${PV}/3149-sgml-RDF-test.patch
108 epatch "${WORKDIR}"/${PV}/3169-xpce-test.patch
109 epatch "${WORKDIR}"/${PV}/3199-ltx2htm.patch
110 epatch "${WORKDIR}"/${PV}/3229-zlib-test.patch
111 }
112
113 src_compile() {
114 einfo "Building SWI-Prolog compiler"
115
116 use debug && append-flags -DO_DEBUG
117
118 local threadconf
119 if use java && ! use minimal || use threads ; then
120 threadconf="--enable-mt"
121 else
122 threadconf="--disable-mt"
123 fi
124
125 cd "${S}"/src
126 econf \
127 --libdir=/usr/$(get_libdir) \
128 ${threadconf} \
129 $(use_enable gmp) \
130 $(use_enable readline) \
131 $(use_enable !static shared) \
132 --disable-custom-flags \
133 || die "econf failed"
134 emake || die "emake failed"
135
136 if ! use minimal ; then
137 einfo "Building SWI-Prolog additional packages"
138
139 cd "${S}/packages"
140 econf \
141 --libdir=/usr/$(get_libdir) \
142 ${threadconf} \
143 $(use_enable !static shared) \
144 --without-C-sicstus \
145 --with-chr \
146 --with-clib \
147 --with-clpqr \
148 --with-cpp \
149 --with-cppproxy \
150 $(use_with berkdb db) \
151 --with-http \
152 --without-jasmine \
153 $(use_with java jpl) \
154 $(use_with tetex ltx2htm) \
155 --with-nlp \
156 $(use_with odbc) \
157 --with-pldoc \
158 --with-plunit \
159 --with-semweb \
160 --with-sgml \
161 --with-sgml/RDF \
162 $(use_with ssl) \
163 --with-table \
164 $(use_with X xpce) \
165 $(use_with zlib) \
166 || die "packages econf failed"
167
168 emake || die "packages emake failed"
169 fi
170 }
171
172 src_install() {
173 make -C src DESTDIR="${D}" install || die "install src failed"
174
175 if ! use minimal ; then
176 make -C packages DESTDIR="${D}" install || die "install packages failed"
177 if use doc ; then
178 make -C packages DESTDIR="${D}" html-install || die "html-install failed"
179 make -C packages/cppproxy DESTDIR="${D}" install-examples || die "install-examples failed"
180 fi
181 fi
182
183 dodoc ANNOUNCE ChangeLog INSTALL INSTALL.notes PORTING README README.GUI VERSION
184 }
185
186 src_test() {
187 cd "${S}/src"
188 make check || die "make check failed. See above for details."
189
190 if ! use minimal ; then
191 cd "${S}/packages"
192 make check || die "make check failed. See above for details."
193 fi
194 }
195
196
197
198 --
199 gentoo-commits@g.o mailing list