1 |
commit: 0924e0af0e078bcca0a38df4b628acd7eb0a0b7e |
2 |
Author: Aaron W. Swenson <titanofold <AT> gentoo <DOT> org> |
3 |
AuthorDate: Fri Feb 23 11:25:56 2018 +0000 |
4 |
Commit: Aaron Swenson <titanofold <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri Feb 23 11:25:56 2018 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0924e0af |
7 |
|
8 |
app-office/gnucash: Small cleanup |
9 |
|
10 |
Closes: https://bugs.gentoo.org/643566 |
11 |
Closes: https://bugs.gentoo.org/627010 |
12 |
Closes: https://bugs.gentoo.org/639786 |
13 |
Package-Manager: Portage-2.3.19, Repoman-2.3.6 |
14 |
|
15 |
app-office/gnucash/Manifest | 2 - |
16 |
.../gnucash/files/gnucash-2.7.3-no-gtest-src.patch | 15 -- |
17 |
app-office/gnucash/gnucash-2.6.15-r1.ebuild | 111 --------------- |
18 |
app-office/gnucash/gnucash-2.6.15.ebuild | 112 --------------- |
19 |
app-office/gnucash/gnucash-2.7.3.ebuild | 153 -------------------- |
20 |
app-office/gnucash/gnucash-2.7.4.ebuild | 155 --------------------- |
21 |
6 files changed, 548 deletions(-) |
22 |
|
23 |
diff --git a/app-office/gnucash/Manifest b/app-office/gnucash/Manifest |
24 |
index 5492a6517aa..346d1dee9a1 100644 |
25 |
--- a/app-office/gnucash/Manifest |
26 |
+++ b/app-office/gnucash/Manifest |
27 |
@@ -1,5 +1,3 @@ |
28 |
-DIST gnucash-2.6.15.tar.bz2 13406483 BLAKE2B 927838c5c9c11a19eb9f8e11726825458d5b414f4ef24baf1a7ae15c33825eeed2fd87892e728b37c43385360fd06a60df0bade4244b5c93dac5522f09849c92 SHA512 6ec0652565025ac8281152ed64f2f820ecdb17ead5f17738728e094d116e638a08af57a46c0d5b59679f30f142ce372a5f61bd164f68f6b608d09de37cec38c6 |
29 |
DIST gnucash-2.6.19.tar.bz2 13612124 BLAKE2B cc66e4d7994274bb2ad97437333dbe62b0e9228e20e05e01fc7861bc45a8f07bc56d2a69850eda301d5e7f679d96a9d28c24c56a4860cff6727b66867482deae SHA512 0a979caf48ba96d6f37a929036e7172855cfb03af8832f479966bce72fad3400903925134d33aaa31eb6b36a2041f5e0d3f74b88e95b83c7d76e96b1503bec13 |
30 |
-DIST gnucash-2.7.3.tar.bz2 13736166 BLAKE2B 352c7bd9fe11b3b1b039acedb43be6f48960fac7ef6e4eaca5ca1ce944808d2d36c3a22b15b7150b8026bad10bfa0766fd19ac8d1b4f5f2cb2bcb8c112ee87bc SHA512 78c482eb3146406d561320866c480101cf35c51d8ab789e8d2688c7f7e16d1870b33feb7bcdb3cd8feaca300ce9bcf9fa05ba8e1804b221526d181763dcea611 |
31 |
DIST gnucash-2.7.4.tar.bz2 13364512 BLAKE2B 0a552efe5a4f024517c054516eb25b51abb2f934e6fc904afd4b0fb48283f9ebb89583b83b0efefba66d014df16c8997c413d05278d4290c44e4fa2278564b61 SHA512 d096ec2a3907dcd09c936f0a49ef6fb5028a17d2e0ade9e68eae7303530480ce19e08c1864efd862d363fda9ef6343260396b794b3c4ac74544baa2628a310eb |
32 |
DIST gtest-1.8.0.tar.gz 1281617 BLAKE2B ac052b4d0eb0d8ded03a8c7dff05177818627b8a51f2dbc2c162b2ee2a5d1323539e7d0d02236d9ebb799995e018f0171c2fdaeb4de3bb339548265e50de79e6 SHA512 1dbece324473e53a83a60601b02c92c089f5d314761351974e097b2cf4d24af4296f9eb8653b6b03b1e363d9c5f793897acae1f0c7ac40149216035c4d395d9d |
33 |
|
34 |
diff --git a/app-office/gnucash/files/gnucash-2.7.3-no-gtest-src.patch b/app-office/gnucash/files/gnucash-2.7.3-no-gtest-src.patch |
35 |
deleted file mode 100644 |
36 |
index 66c1f9fec85..00000000000 |
37 |
--- a/app-office/gnucash/files/gnucash-2.7.3-no-gtest-src.patch |
38 |
+++ /dev/null |
39 |
@@ -1,15 +0,0 @@ |
40 |
-Bug: https://bugs.gentoo.org/643566 |
41 |
- |
42 |
---- a/common/test-core/Makefile.am |
43 |
-+++ b/common/test-core/Makefile.am |
44 |
-@@ -80,9 +80,9 @@ |
45 |
- libgmock.a |
46 |
- nodist_libgtest_a_SOURCES = ${GTEST_SRC}/src/gtest-all.cc |
47 |
- libgtest_a_CPPFLAGS = ${AM_CPPFLAGS} -I${GTEST_HEADERS} -I${GTEST_SRC} |
48 |
--endif |
49 |
- nodist_libgmock_a_SOURCES = ${GMOCK_SRC_PATH}/gmock-all.cc |
50 |
- libgmock_a_CPPFLAGS = ${libgtest_a_CPPFLAGS} -I${GMOCK_HEADERS} -I${GMOCK_SRC} |
51 |
-+endif |
52 |
- |
53 |
- gncscmmoddir = ${GNC_SCM_INSTALL_DIR}/gnucash |
54 |
- gncscmmod_DATA = unittest-support.scm |
55 |
|
56 |
diff --git a/app-office/gnucash/gnucash-2.6.15-r1.ebuild b/app-office/gnucash/gnucash-2.6.15-r1.ebuild |
57 |
deleted file mode 100644 |
58 |
index 9cf0d0ea6d3..00000000000 |
59 |
--- a/app-office/gnucash/gnucash-2.6.15-r1.ebuild |
60 |
+++ /dev/null |
61 |
@@ -1,111 +0,0 @@ |
62 |
-# Copyright 1999-2017 Gentoo Foundation |
63 |
-# Distributed under the terms of the GNU General Public License v2 |
64 |
- |
65 |
-EAPI="6" |
66 |
-GNOME2_LA_PUNT="yes" |
67 |
-PYTHON_COMPAT=( python2_7 ) |
68 |
- |
69 |
-inherit autotools gnome2 python-single-r1 |
70 |
- |
71 |
-DESCRIPTION="A personal finance manager" |
72 |
-HOMEPAGE="http://www.gnucash.org/" |
73 |
-SRC_URI="mirror://sourceforge/${PN}/${P}.tar.bz2" |
74 |
- |
75 |
-SLOT="0" |
76 |
-LICENSE="GPL-2" |
77 |
-KEYWORDS="~amd64 ~ppc ~ppc64 ~x86" |
78 |
-IUSE="chipcard debug +doc gnome-keyring hbci mysql ofx postgres python quotes sqlite" |
79 |
-REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )" |
80 |
- |
81 |
-# FIXME: rdepend on dev-libs/qof when upstream fix their mess (see configure.ac) |
82 |
-# libdbi version requirement for sqlite taken from bug #455134 |
83 |
-RDEPEND=" |
84 |
- >=dev-libs/glib-2.32.0:2 |
85 |
- >=dev-libs/popt-1.5 |
86 |
- >=dev-libs/libxml2-2.5.10:2 |
87 |
- dev-libs/libxslt |
88 |
- >=dev-scheme/guile-2.0.0:12=[deprecated,regex] |
89 |
- dev-scheme/guile-www |
90 |
- gnome-base/libgnomecanvas |
91 |
- >=net-libs/webkit-gtk-1.2:2 |
92 |
- >=sys-libs/zlib-1.1.4 |
93 |
- >=x11-libs/gtk+-2.24:2 |
94 |
- >=x11-libs/goffice-0.7.0:0.8[gnome] |
95 |
- x11-libs/pango |
96 |
- gnome-keyring? ( >=app-crypt/libsecret-0.18 ) |
97 |
- ofx? ( >=dev-libs/libofx-0.9.1 ) |
98 |
- hbci? ( >=net-libs/aqbanking-5[gtk,ofx?] |
99 |
- sys-libs/gwenhywfar[gtk] |
100 |
- chipcard? ( sys-libs/libchipcard ) |
101 |
- ) |
102 |
- python? ( ${PYTHON_DEPS} ) |
103 |
- quotes? ( dev-perl/Date-Manip |
104 |
- >=dev-perl/Finance-Quote-1.11 |
105 |
- dev-perl/HTML-TableExtract ) |
106 |
- sqlite? ( >=dev-db/libdbi-0.9.0 |
107 |
- >=dev-db/libdbi-drivers-0.9.0[sqlite] ) |
108 |
- postgres? ( dev-db/libdbi dev-db/libdbi-drivers[postgres] ) |
109 |
- mysql? ( dev-db/libdbi dev-db/libdbi-drivers[mysql] ) |
110 |
-" |
111 |
-DEPEND="${RDEPEND} |
112 |
- dev-util/intltool |
113 |
- gnome-base/gnome-common |
114 |
- sys-devel/libtool |
115 |
- virtual/pkgconfig |
116 |
-" |
117 |
-PDEPEND="doc? ( >=app-doc/gnucash-docs-2.2.0 )" |
118 |
- |
119 |
-pkg_setup() { |
120 |
- use python && python-single-r1_pkg_setup |
121 |
-} |
122 |
- |
123 |
-src_prepare() { |
124 |
- # Skip test that needs some locales to be present |
125 |
- sed -i -e '/test_suite_gnc_date/d' src/libqof/qof/test/test-qof.c || die |
126 |
- |
127 |
- # We need to run eautoreconf to prevent linking against system libs, |
128 |
- # this can be noticed, for example, when updating an old version |
129 |
- # compiled against guile-1.8 to a newer one relying on 2.0 |
130 |
- # https://bugs.gentoo.org/show_bug.cgi?id=590536#c39 |
131 |
- # https://bugzilla.gnome.org/show_bug.cgi?id=775634 |
132 |
- eautoreconf |
133 |
- |
134 |
- gnome2_src_prepare |
135 |
-} |
136 |
- |
137 |
-src_configure() { |
138 |
- local myconf |
139 |
- |
140 |
- DOCS="doc/README.OFX doc/README.HBCI" |
141 |
- |
142 |
- if use sqlite || use mysql || use postgres ; then |
143 |
- myconf+=" --enable-dbi" |
144 |
- else |
145 |
- myconf+=" --disable-dbi" |
146 |
- fi |
147 |
- |
148 |
- # gtkmm is experimental and shouldn't be enabled, upstream bug #684166 |
149 |
- gnome2_src_configure \ |
150 |
- $(use_enable debug) \ |
151 |
- $(use_enable gnome-keyring password-storage) \ |
152 |
- $(use_enable ofx) \ |
153 |
- $(use_enable hbci aqbanking) \ |
154 |
- $(use_enable python) \ |
155 |
- --disable-doxygen \ |
156 |
- --disable-gtkmm \ |
157 |
- --enable-locale-specific-tax \ |
158 |
- --disable-error-on-warning \ |
159 |
- --with-guile=2.0 \ |
160 |
- ${myconf} |
161 |
-} |
162 |
- |
163 |
-src_install() { |
164 |
- # Parallel installation fails from time to time, bug #359123 |
165 |
- # Usually reproducible after removing any gnucash installed copy |
166 |
- MAKEOPTS="${MAKEOPTS} -j1" GNC_DOC_INSTALL_DIR=/usr/share/doc/${PF} \ |
167 |
- gnome2_src_install |
168 |
- |
169 |
- rm -rf "${ED}"/usr/share/doc/${PF}/{examples/,COPYING,INSTALL,*win32-bin.txt,projects.html} |
170 |
- mv "${ED}"/usr/share/doc/${PF} "${T}"/cantuseprepalldocs || die |
171 |
- dodoc "${T}"/cantuseprepalldocs/* |
172 |
-} |
173 |
|
174 |
diff --git a/app-office/gnucash/gnucash-2.6.15.ebuild b/app-office/gnucash/gnucash-2.6.15.ebuild |
175 |
deleted file mode 100644 |
176 |
index 9860cdd822d..00000000000 |
177 |
--- a/app-office/gnucash/gnucash-2.6.15.ebuild |
178 |
+++ /dev/null |
179 |
@@ -1,112 +0,0 @@ |
180 |
-# Copyright 1999-2017 Gentoo Foundation |
181 |
-# Distributed under the terms of the GNU General Public License v2 |
182 |
- |
183 |
-EAPI="6" |
184 |
-GNOME2_LA_PUNT="yes" |
185 |
-PYTHON_COMPAT=( python2_7 ) |
186 |
- |
187 |
-inherit autotools gnome2 python-single-r1 |
188 |
- |
189 |
-DESCRIPTION="A personal finance manager" |
190 |
-HOMEPAGE="http://www.gnucash.org/" |
191 |
-SRC_URI="mirror://sourceforge/${PN}/${P}.tar.bz2" |
192 |
- |
193 |
-SLOT="0" |
194 |
-LICENSE="GPL-2" |
195 |
-KEYWORDS="amd64 ~ppc ~ppc64 x86" |
196 |
-IUSE="chipcard debug +doc gnome-keyring hbci mysql ofx postgres python quotes sqlite" |
197 |
-REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )" |
198 |
- |
199 |
-# FIXME: rdepend on dev-libs/qof when upstream fix their mess (see configure.ac) |
200 |
-# libdbi version requirement for sqlite taken from bug #455134 |
201 |
-RDEPEND=" |
202 |
- >=dev-libs/glib-2.32.0:2 |
203 |
- >=dev-libs/popt-1.5 |
204 |
- >=dev-libs/libxml2-2.5.10:2 |
205 |
- dev-libs/libxslt |
206 |
- >=dev-scheme/guile-1.8.3:12=[deprecated,regex] |
207 |
- <dev-scheme/guile-2:12 |
208 |
- dev-scheme/guile-www |
209 |
- gnome-base/libgnomecanvas |
210 |
- >=net-libs/webkit-gtk-1.2:2 |
211 |
- >=sys-libs/zlib-1.1.4 |
212 |
- >=x11-libs/gtk+-2.24:2 |
213 |
- >=x11-libs/goffice-0.7.0:0.8[gnome] |
214 |
- x11-libs/pango |
215 |
- gnome-keyring? ( >=app-crypt/libsecret-0.18 ) |
216 |
- ofx? ( >=dev-libs/libofx-0.9.1 ) |
217 |
- hbci? ( >=net-libs/aqbanking-5[gtk,ofx?] |
218 |
- sys-libs/gwenhywfar[gtk] |
219 |
- chipcard? ( sys-libs/libchipcard ) |
220 |
- ) |
221 |
- python? ( ${PYTHON_DEPS} ) |
222 |
- quotes? ( dev-perl/Date-Manip |
223 |
- >=dev-perl/Finance-Quote-1.11 |
224 |
- dev-perl/HTML-TableExtract ) |
225 |
- sqlite? ( >=dev-db/libdbi-0.9.0 |
226 |
- >=dev-db/libdbi-drivers-0.9.0[sqlite] ) |
227 |
- postgres? ( dev-db/libdbi dev-db/libdbi-drivers[postgres] ) |
228 |
- mysql? ( dev-db/libdbi dev-db/libdbi-drivers[mysql] ) |
229 |
-" |
230 |
-DEPEND="${RDEPEND} |
231 |
- dev-util/intltool |
232 |
- gnome-base/gnome-common |
233 |
- sys-devel/libtool |
234 |
- virtual/pkgconfig |
235 |
-" |
236 |
-PDEPEND="doc? ( >=app-doc/gnucash-docs-2.2.0 )" |
237 |
- |
238 |
-pkg_setup() { |
239 |
- use python && python-single-r1_pkg_setup |
240 |
-} |
241 |
- |
242 |
-src_prepare() { |
243 |
- # Skip test that needs some locales to be present |
244 |
- sed -i -e '/test_suite_gnc_date/d' src/libqof/qof/test/test-qof.c || die |
245 |
- |
246 |
- # We need to run eautoreconf to prevent linking against system libs, |
247 |
- # this can be noticed, for example, when updating an old version |
248 |
- # compiled against guile-1.8 to a newer one relying on 2.0 |
249 |
- # https://bugs.gentoo.org/show_bug.cgi?id=590536#c39 |
250 |
- # https://bugzilla.gnome.org/show_bug.cgi?id=775634 |
251 |
- eautoreconf |
252 |
- |
253 |
- gnome2_src_prepare |
254 |
-} |
255 |
- |
256 |
-src_configure() { |
257 |
- local myconf |
258 |
- |
259 |
- DOCS="doc/README.OFX doc/README.HBCI" |
260 |
- |
261 |
- if use sqlite || use mysql || use postgres ; then |
262 |
- myconf+=" --enable-dbi" |
263 |
- else |
264 |
- myconf+=" --disable-dbi" |
265 |
- fi |
266 |
- |
267 |
- # gtkmm is experimental and shouldn't be enabled, upstream bug #684166 |
268 |
- gnome2_src_configure \ |
269 |
- $(use_enable debug) \ |
270 |
- $(use_enable gnome-keyring password-storage) \ |
271 |
- $(use_enable ofx) \ |
272 |
- $(use_enable hbci aqbanking) \ |
273 |
- $(use_enable python) \ |
274 |
- --disable-doxygen \ |
275 |
- --disable-gtkmm \ |
276 |
- --enable-locale-specific-tax \ |
277 |
- --disable-error-on-warning \ |
278 |
- --with-guile=1.8 \ |
279 |
- ${myconf} |
280 |
-} |
281 |
- |
282 |
-src_install() { |
283 |
- # Parallel installation fails from time to time, bug #359123 |
284 |
- # Usually reproducible after removing any gnucash installed copy |
285 |
- MAKEOPTS="${MAKEOPTS} -j1" GNC_DOC_INSTALL_DIR=/usr/share/doc/${PF} \ |
286 |
- gnome2_src_install |
287 |
- |
288 |
- rm -rf "${ED}"/usr/share/doc/${PF}/{examples/,COPYING,INSTALL,*win32-bin.txt,projects.html} |
289 |
- mv "${ED}"/usr/share/doc/${PF} "${T}"/cantuseprepalldocs || die |
290 |
- dodoc "${T}"/cantuseprepalldocs/* |
291 |
-} |
292 |
|
293 |
diff --git a/app-office/gnucash/gnucash-2.7.3.ebuild b/app-office/gnucash/gnucash-2.7.3.ebuild |
294 |
deleted file mode 100644 |
295 |
index 1dacaa9f659..00000000000 |
296 |
--- a/app-office/gnucash/gnucash-2.7.3.ebuild |
297 |
+++ /dev/null |
298 |
@@ -1,153 +0,0 @@ |
299 |
-# Copyright 1999-2018 Gentoo Foundation |
300 |
-# Distributed under the terms of the GNU General Public License v2 |
301 |
- |
302 |
-EAPI=6 |
303 |
- |
304 |
-# We need to run eautoreconf to prevent linking against system libs, |
305 |
-# this can be noticed, for example, when updating an old version |
306 |
-# compiled against guile-1.8 to a newer one relying on 2.0 |
307 |
-# https://bugs.gentoo.org/show_bug.cgi?id=590536#c39 |
308 |
-# https://bugzilla.gnome.org/show_bug.cgi?id=775634 |
309 |
-GNOME2_EAUTORECONF="yes" |
310 |
-GNOME2_LA_PUNT="yes" |
311 |
-PYTHON_COMPAT=( python2_7 ) |
312 |
- |
313 |
-inherit gnome2 python-single-r1 |
314 |
- |
315 |
-DESCRIPTION="A personal finance manager" |
316 |
-HOMEPAGE="http://www.gnucash.org/" |
317 |
-SRC_URI="mirror://sourceforge/${PN}/${P}.tar.bz2" |
318 |
- |
319 |
-SLOT="0" |
320 |
-LICENSE="GPL-2" |
321 |
-KEYWORDS="~amd64 ~ppc ~ppc64 ~x86" |
322 |
- |
323 |
-# Add doc back in for 3.0 and bump app-doc/gnucash-docs |
324 |
-IUSE="aqbanking chipcard debug gnome-keyring mysql nls ofx postgres python |
325 |
- quotes -register2 sqlite" |
326 |
-REQUIRED_USE=" |
327 |
- chipcard? ( aqbanking ) |
328 |
- python? ( ${PYTHON_REQUIRED_USE} )" |
329 |
- |
330 |
-# libdbi version requirement for sqlite taken from bug #455134 |
331 |
-# |
332 |
-# dev-libs/boost must always be built with nls enabled. |
333 |
-RDEPEND=" |
334 |
- >=dev-libs/glib-2.40.0:2 |
335 |
- >=dev-libs/libxml2-2.7.0:2 |
336 |
- >=dev-scheme/guile-2.0.0:12=[regex] |
337 |
- >=sys-libs/zlib-1.1.4 |
338 |
- >=x11-libs/gtk+-3.14.0:3 |
339 |
- dev-libs/boost:=[icu,nls] |
340 |
- dev-libs/icu:= |
341 |
- dev-libs/libxslt |
342 |
- gnome-base/dconf |
343 |
- net-libs/webkit-gtk:4= |
344 |
- aqbanking? ( |
345 |
- >=net-libs/aqbanking-5[gtk,ofx?] |
346 |
- sys-libs/gwenhywfar[gtk] |
347 |
- chipcard? ( sys-libs/libchipcard ) |
348 |
- ) |
349 |
- gnome-keyring? ( >=app-crypt/libsecret-0.18 ) |
350 |
- mysql? ( |
351 |
- dev-db/libdbi |
352 |
- dev-db/libdbi-drivers[mysql] |
353 |
- ) |
354 |
- ofx? ( >=dev-libs/libofx-0.9.1 ) |
355 |
- postgres? ( |
356 |
- dev-db/libdbi |
357 |
- dev-db/libdbi-drivers[postgres] |
358 |
- ) |
359 |
- python? ( ${PYTHON_DEPS} ) |
360 |
- quotes? ( |
361 |
- >=dev-perl/Finance-Quote-1.11 |
362 |
- dev-perl/Date-Manip |
363 |
- dev-perl/HTML-TableExtract |
364 |
- ) |
365 |
- sqlite? ( |
366 |
- >=dev-db/libdbi-0.9.0 |
367 |
- >=dev-db/libdbi-drivers-0.9.0[sqlite] |
368 |
- ) |
369 |
-" |
370 |
- |
371 |
-DEPEND="${RDEPEND} |
372 |
- || ( |
373 |
- >=dev-cpp/gtest-1.8.0 |
374 |
- ( |
375 |
- dev-cpp/gmock |
376 |
- dev-cpp/gtest |
377 |
- ) |
378 |
- ) |
379 |
- dev-lang/perl |
380 |
- dev-perl/XML-Parser |
381 |
- dev-util/intltool |
382 |
- gnome-base/gnome-common |
383 |
- sys-devel/libtool |
384 |
- virtual/pkgconfig |
385 |
-" |
386 |
- |
387 |
-# Uncomment for 3.0 |
388 |
-# PDEPEND="doc? ( |
389 |
-# ~app-doc/gnucash-docs-${PV} |
390 |
-# gnome-extra/yelp |
391 |
-# )" |
392 |
- |
393 |
-# Bug 643566: Conditional didn't enclose everything related to gtest source |
394 |
-# files and they're not needed. |
395 |
-PATCHES=( "${FILESDIR}"/gnucash-2.7.3-no-gtest-src.patch ) |
396 |
- |
397 |
-pkg_setup() { |
398 |
- use python && python-single-r1_pkg_setup |
399 |
-} |
400 |
- |
401 |
-src_configure() { |
402 |
- local myconf |
403 |
- |
404 |
- if use sqlite || use mysql || use postgres ; then |
405 |
- myconf+=" --enable-dbi" |
406 |
- else |
407 |
- myconf+=" --disable-dbi" |
408 |
- fi |
409 |
- |
410 |
- # As of 2.7.3, the presence of --disable-register2 would enable register2 as |
411 |
- # well. |
412 |
- use register2 && myconf+=" --enable-register2" |
413 |
- |
414 |
- gnome2_src_configure \ |
415 |
- --disable-doxygen \ |
416 |
- --disable-error-on-warning \ |
417 |
- --disable-binreloc \ |
418 |
- $(use_enable nls) \ |
419 |
- $(use_enable debug) \ |
420 |
- $(use_enable gnome-keyring password-storage) \ |
421 |
- $(use_enable aqbanking) \ |
422 |
- $(use_enable ofx) \ |
423 |
- $(use_enable python) \ |
424 |
- ${myconf} |
425 |
-} |
426 |
- |
427 |
-src_test() { |
428 |
- emake check |
429 |
-} |
430 |
- |
431 |
-src_install() { |
432 |
- # Parallel installation fails from time to time, bug #359123 |
433 |
- # Usually reproducible after removing any gnucash installed copy |
434 |
- MAKEOPTS="${MAKEOPTS} -j1" gnome2_src_install |
435 |
- |
436 |
- rm "${ED}"/usr/share/doc/${PF}/{COPYING,INSTALL,projects.html} || die |
437 |
- rm "${ED}"/usr/share/doc/${PF}/*win32-bin.txt || die |
438 |
- |
439 |
- use aqbanking && dodoc doc/README.HBCI |
440 |
- use ofx && dodoc doc/README.OFX |
441 |
-} |
442 |
- |
443 |
-pkg_postinst() { |
444 |
- gnome2_pkg_postinst |
445 |
- |
446 |
- ewarn "Backup all financial files or databases before using GnuCash >=2.7.0!" |
447 |
- ewarn |
448 |
- ewarn "GnuCash 2.7.0 introduced large changes in its file format and database" |
449 |
- ewarn "schema that WILL prevent you from reverting back to GnuCash 2.6." |
450 |
- |
451 |
-} |
452 |
|
453 |
diff --git a/app-office/gnucash/gnucash-2.7.4.ebuild b/app-office/gnucash/gnucash-2.7.4.ebuild |
454 |
deleted file mode 100644 |
455 |
index a3320783baa..00000000000 |
456 |
--- a/app-office/gnucash/gnucash-2.7.4.ebuild |
457 |
+++ /dev/null |
458 |
@@ -1,155 +0,0 @@ |
459 |
-# Copyright 1999-2018 Gentoo Foundation |
460 |
-# Distributed under the terms of the GNU General Public License v2 |
461 |
- |
462 |
-EAPI=6 |
463 |
- |
464 |
-# google{test,mock} version |
465 |
-GV="1.8.0" |
466 |
-PYTHON_COMPAT=( python2_7 ) |
467 |
- |
468 |
-inherit cmake-utils gnome2-utils python-single-r1 xdg-utils |
469 |
- |
470 |
-DESCRIPTION="A personal finance manager" |
471 |
-HOMEPAGE="http://www.gnucash.org/" |
472 |
-SRC_URI="mirror://sourceforge/${PN}/${P}.tar.bz2 |
473 |
- https://github.com/google/googletest/archive/release-${GV}.tar.gz -> gtest-${GV}.tar.gz" |
474 |
- |
475 |
-SLOT="0" |
476 |
-LICENSE="GPL-2" |
477 |
-KEYWORDS="~amd64 ~ppc ~ppc64 ~x86" |
478 |
- |
479 |
-# Add doc back in for 3.0 and bump app-doc/gnucash-docs |
480 |
-IUSE="aqbanking chipcard debug examples gnome-keyring mysql nls ofx postgres |
481 |
- python quotes -register2 sqlite" |
482 |
-REQUIRED_USE=" |
483 |
- chipcard? ( aqbanking ) |
484 |
- python? ( ${PYTHON_REQUIRED_USE} )" |
485 |
- |
486 |
-# libdbi version requirement for sqlite taken from bug #455134 |
487 |
-# |
488 |
-# dev-libs/boost must always be built with nls enabled. |
489 |
-RDEPEND=" |
490 |
- >=dev-libs/glib-2.40.0:2 |
491 |
- >=dev-libs/libxml2-2.7.0:2 |
492 |
- >=dev-scheme/guile-2.0.0:12=[regex] |
493 |
- >=sys-libs/zlib-1.1.4 |
494 |
- >=x11-libs/gtk+-3.14.0:3 |
495 |
- dev-libs/boost:=[icu,nls] |
496 |
- dev-libs/icu:= |
497 |
- dev-libs/libxslt |
498 |
- gnome-base/dconf |
499 |
- net-libs/webkit-gtk:4= |
500 |
- aqbanking? ( |
501 |
- >=net-libs/aqbanking-5[gtk,ofx?] |
502 |
- sys-libs/gwenhywfar[gtk] |
503 |
- chipcard? ( sys-libs/libchipcard ) |
504 |
- ) |
505 |
- gnome-keyring? ( >=app-crypt/libsecret-0.18 ) |
506 |
- mysql? ( |
507 |
- dev-db/libdbi |
508 |
- dev-db/libdbi-drivers[mysql] |
509 |
- ) |
510 |
- ofx? ( >=dev-libs/libofx-0.9.1 ) |
511 |
- postgres? ( |
512 |
- dev-db/libdbi |
513 |
- dev-db/libdbi-drivers[postgres] |
514 |
- ) |
515 |
- python? ( ${PYTHON_DEPS} ) |
516 |
- quotes? ( |
517 |
- >=dev-perl/Finance-Quote-1.11 |
518 |
- dev-perl/Date-Manip |
519 |
- dev-perl/HTML-TableExtract |
520 |
- ) |
521 |
- sqlite? ( |
522 |
- >=dev-db/libdbi-0.9.0 |
523 |
- >=dev-db/libdbi-drivers-0.9.0[sqlite] |
524 |
- ) |
525 |
-" |
526 |
- |
527 |
-DEPEND="${RDEPEND} |
528 |
- ~dev-cpp/gtest-${GV} |
529 |
- dev-lang/perl |
530 |
- dev-perl/XML-Parser |
531 |
- dev-util/intltool |
532 |
- gnome-base/gnome-common |
533 |
- sys-devel/libtool |
534 |
- virtual/pkgconfig |
535 |
-" |
536 |
- |
537 |
-# Uncomment for 3.0 |
538 |
-# PDEPEND="doc? ( |
539 |
-# ~app-doc/gnucash-docs-${PV} |
540 |
-# gnome-extra/yelp |
541 |
-# )" |
542 |
- |
543 |
-pkg_setup() { |
544 |
- use python && python-single-r1_pkg_setup |
545 |
- xdg_environment_reset |
546 |
-} |
547 |
- |
548 |
-src_configure() { |
549 |
- local sql_on_off="OFF" |
550 |
- if use mysql || use postgres || use sqlite ; then |
551 |
- sql_on_off="ON" |
552 |
- fi |
553 |
- |
554 |
- local mycmakeargs=( |
555 |
- -DGMOCK_ROOT="${WORKDIR}"/googletest-release-${GV}/googlemock |
556 |
- -DGTEST_ROOT="${WORKDIR}"/googletest-release-${GV}/googletest |
557 |
- |
558 |
- -DDISABLE_NLS=$(usex !nls) |
559 |
- -DENABLE_REGISTER2=$(usex register2) |
560 |
- -DWITH_AQBANKING=$(usex aqbanking) |
561 |
- -DWITH_OFX=$(usex ofx) |
562 |
- -DWITH_PYTHON=$(usex python) |
563 |
- -DWITH_SQL=${sql_on_off} |
564 |
- ) |
565 |
- |
566 |
- cmake-utils_src_configure |
567 |
-} |
568 |
- |
569 |
-src_test() { |
570 |
- cd "${BUILD_DIR}" || die |
571 |
- emake check |
572 |
-} |
573 |
- |
574 |
-src_install() { |
575 |
- cmake-utils_src_install |
576 |
- |
577 |
- rm "${ED%/}"/usr/share/doc/${PF}/README.dependencies || die |
578 |
- rm "${ED%/}"/usr/share/glib-2.0/schemas/gschemas.compiled || die |
579 |
- |
580 |
- if use examples ; then |
581 |
- mv "${ED%/}"/usr/share/doc/gnucash \ |
582 |
- "${ED%/}"/usr/share/doc/${PF}/examples || die |
583 |
- pushd "${ED%/}"/usr/share/doc/${PF}/examples/ > /dev/null || die |
584 |
- rm AUTHORS DOCUMENTERS LICENSE NEWS projects.html ChangeLog* \ |
585 |
- *win32-bin.txt || die |
586 |
- popd > /dev/null || die |
587 |
- docompress -x /usr/share/doc/${PF}/examples/ |
588 |
- else |
589 |
- rm -r "${ED%/}"/usr/share/doc/gnucash || die |
590 |
- fi |
591 |
- |
592 |
- use aqbanking && dodoc doc/README.HBCI |
593 |
- use ofx && dodoc doc/README.OFX |
594 |
-} |
595 |
- |
596 |
-pkg_postinst() { |
597 |
- gnome2_icon_cache_update |
598 |
- gnome2_schemas_update |
599 |
- xdg_desktop_database_update |
600 |
- xdg_mimeinfo_database_update |
601 |
- |
602 |
- ewarn "Backup all financial files or databases before using GnuCash >=2.7.0!" |
603 |
- ewarn |
604 |
- ewarn "GnuCash 2.7.0 introduced large changes in its file format and database" |
605 |
- ewarn "schema that WILL prevent you from reverting back to GnuCash 2.6." |
606 |
-} |
607 |
- |
608 |
-pkg_postrm() { |
609 |
- gnome2_icon_cache_update |
610 |
- gnome2_schemas_update |
611 |
- xdg_desktop_database_update |
612 |
- xdg_mimeinfo_database_update |
613 |
-} |