Gentoo Archives: gentoo-commits

From: Aaron Swenson <titanofold@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: app-office/gnucash/
Date: Sun, 25 Mar 2018 14:30:13
Message-Id: 1521988077.7882f1b8009fcad76af98f6f5e16d555de5b6349.titanofold@gentoo
1 commit: 7882f1b8009fcad76af98f6f5e16d555de5b6349
2 Author: Aaron W. Swenson <titanofold <AT> gentoo <DOT> org>
3 AuthorDate: Sun Mar 25 14:27:26 2018 +0000
4 Commit: Aaron Swenson <titanofold <AT> gentoo <DOT> org>
5 CommitDate: Sun Mar 25 14:27:57 2018 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7882f1b8
7
8 app-office/gnucash: Remove Security Susceptible
9
10 Drop last release the relies on obsolete and vulnerable net-libs/webkit-gtk:2.
11
12 Bug: https://bugs.gentoo.org/629114
13 Package-Manager: Portage-2.3.24, Repoman-2.3.6
14
15 app-office/gnucash/Manifest | 1 -
16 app-office/gnucash/gnucash-2.6.19.ebuild | 131 -------------------------------
17 app-office/gnucash/metadata.xml | 11 +--
18 3 files changed, 6 insertions(+), 137 deletions(-)
19
20 diff --git a/app-office/gnucash/Manifest b/app-office/gnucash/Manifest
21 index 4ded7d909af..82edc37e306 100644
22 --- a/app-office/gnucash/Manifest
23 +++ b/app-office/gnucash/Manifest
24 @@ -1,4 +1,3 @@
25 -DIST gnucash-2.6.19.tar.bz2 13612124 BLAKE2B cc66e4d7994274bb2ad97437333dbe62b0e9228e20e05e01fc7861bc45a8f07bc56d2a69850eda301d5e7f679d96a9d28c24c56a4860cff6727b66867482deae SHA512 0a979caf48ba96d6f37a929036e7172855cfb03af8832f479966bce72fad3400903925134d33aaa31eb6b36a2041f5e0d3f74b88e95b83c7d76e96b1503bec13
26 DIST gnucash-2.7.4.tar.bz2 13364512 BLAKE2B 0a552efe5a4f024517c054516eb25b51abb2f934e6fc904afd4b0fb48283f9ebb89583b83b0efefba66d014df16c8997c413d05278d4290c44e4fa2278564b61 SHA512 d096ec2a3907dcd09c936f0a49ef6fb5028a17d2e0ade9e68eae7303530480ce19e08c1864efd862d363fda9ef6343260396b794b3c4ac74544baa2628a310eb
27 DIST gnucash-2.7.5.tar.bz2 13330271 BLAKE2B e06328050a2dd8e80e224cf13f51c1c7151e73f9a1c9f14581f33bfcf8bf07b273962620b7281637101eab8c5eff67a3e5e8e34d81f0c8d263ac33bf6d1eb40c SHA512 68cd6e6f61a43b8837e9efe693d22f62ebe10a8bb7d593814fb6a12d035d74ec1e444f53010ad53c6b1adf28c75aa482403c06052314a91636c2a8baa30e09af
28 DIST gnucash-2.7.7.tar.bz2 13368946 BLAKE2B 06e6815af713235ea31859532911303db4fa5e8dcd50b9111aa513795963eaca29a612eeced27399441f43563753d977468dfd901a49dfa689b5d36e7b985ebf SHA512 b7d91e87c4bc4e604560f4502a86deaafa4f636e9fe2af26db53b11da9f48986c970ba0ed08cb7172ca08a5fb2da451d26976963241206c388a33555c80f28fe
29
30 diff --git a/app-office/gnucash/gnucash-2.6.19.ebuild b/app-office/gnucash/gnucash-2.6.19.ebuild
31 deleted file mode 100644
32 index b9f08f0f1f4..00000000000
33 --- a/app-office/gnucash/gnucash-2.6.19.ebuild
34 +++ /dev/null
35 @@ -1,131 +0,0 @@
36 -# Copyright 1999-2018 Gentoo Foundation
37 -# Distributed under the terms of the GNU General Public License v2
38 -
39 -EAPI="6"
40 -
41 -GNOME2_LA_PUNT="yes"
42 -PYTHON_COMPAT=( python2_7 )
43 -
44 -inherit autotools gnome2 python-single-r1
45 -
46 -DESCRIPTION="A personal finance manager"
47 -HOMEPAGE="http://www.gnucash.org/"
48 -SRC_URI="mirror://sourceforge/${PN}/${P}.tar.bz2"
49 -
50 -SLOT="0"
51 -LICENSE="GPL-2"
52 -KEYWORDS="~amd64 ~ppc ~ppc64 ~x86"
53 -IUSE="chipcard debug +doc gnome-keyring hbci mysql ofx postgres python quotes sqlite"
54 -REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
55 -
56 -# README.dependencies mentions qof, but ${PN} has their own fork in the
57 -# source code that appears to have deviated from that project.
58 -#
59 -# libdbi version requirement for sqlite taken from bug #455134
60 -RDEPEND="
61 - >=dev-libs/glib-2.32.0:2
62 - >=dev-libs/libxml2-2.5.10:2
63 - >=dev-libs/popt-1.5
64 - >=dev-scheme/guile-1.8.5:12=[deprecated,regex]
65 - <dev-scheme/guile-2.2
66 - >=net-libs/webkit-gtk-1.2:2
67 - >=sys-libs/zlib-1.1.4
68 - >=x11-libs/goffice-0.7.0:0.8[gnome]
69 - >=x11-libs/gtk+-2.24:2
70 - dev-libs/libxslt
71 - dev-scheme/guile-www
72 - gnome-base/dconf
73 - gnome-base/libgnomecanvas
74 - x11-libs/pango
75 - gnome-keyring? ( >=app-crypt/libsecret-0.18 )
76 - hbci? (
77 - >=net-libs/aqbanking-5[gtk,ofx?]
78 - sys-libs/gwenhywfar[gtk]
79 - chipcard? ( sys-libs/libchipcard )
80 - )
81 - mysql? (
82 - dev-db/libdbi
83 - dev-db/libdbi-drivers[mysql]
84 - )
85 - ofx? ( >=dev-libs/libofx-0.9.1 )
86 - postgres? (
87 - dev-db/libdbi
88 - dev-db/libdbi-drivers[postgres]
89 - )
90 - python? ( ${PYTHON_DEPS} )
91 - quotes? (
92 - >=dev-perl/Finance-Quote-1.11
93 - dev-perl/Date-Manip
94 - dev-perl/HTML-TableExtract
95 - )
96 - sqlite? (
97 - >=dev-db/libdbi-0.9.0
98 - >=dev-db/libdbi-drivers-0.9.0[sqlite]
99 - )
100 -"
101 -
102 -DEPEND="${RDEPEND}
103 - dev-util/intltool
104 - gnome-base/gnome-common
105 - sys-devel/libtool
106 - virtual/pkgconfig
107 -"
108 -
109 -PDEPEND="doc? (
110 - ~app-doc/gnucash-docs-${PV}
111 - gnome-extra/yelp
112 -)"
113 -
114 -pkg_setup() {
115 - use python && python-single-r1_pkg_setup
116 -}
117 -
118 -src_prepare() {
119 - # Skip test that needs some locales to be present
120 - sed -i -e '/test_suite_gnc_date/d' src/libqof/qof/test/test-qof.c || die
121 -
122 - # We need to run eautoreconf to prevent linking against system libs,
123 - # this can be noticed, for example, when updating an old version
124 - # compiled against guile-1.8 to a newer one relying on 2.0
125 - # https://bugs.gentoo.org/show_bug.cgi?id=590536#c39
126 - # https://bugzilla.gnome.org/show_bug.cgi?id=775634
127 - eautoreconf
128 -
129 - gnome2_src_prepare
130 -}
131 -
132 -src_configure() {
133 - local myconf
134 -
135 - DOCS="doc/README.OFX doc/README.HBCI"
136 -
137 - if use sqlite || use mysql || use postgres ; then
138 - myconf+=" --enable-dbi"
139 - else
140 - myconf+=" --disable-dbi"
141 - fi
142 -
143 - # gtkmm is experimental and shouldn't be enabled, upstream bug #684166
144 - gnome2_src_configure \
145 - --disable-doxygen \
146 - --disable-error-on-warning \
147 - --disable-gtkmm \
148 - --enable-locale-specific-tax \
149 - $(use_enable debug) \
150 - $(use_enable gnome-keyring password-storage) \
151 - $(use_enable hbci aqbanking) \
152 - $(use_enable ofx) \
153 - $(use_enable python) \
154 - ${myconf}
155 -}
156 -
157 -src_install() {
158 - # Parallel installation fails from time to time, bug #359123
159 - # Usually reproducible after removing any gnucash installed copy
160 - MAKEOPTS="${MAKEOPTS} -j1" GNC_DOC_INSTALL_DIR=/usr/share/doc/${PF} \
161 - gnome2_src_install
162 -
163 - rm -rf "${ED}"/usr/share/doc/${PF}/{examples/,COPYING,INSTALL,*win32-bin.txt,projects.html}
164 - mv "${ED}"/usr/share/doc/${PF} "${T}"/cantuseprepalldocs || die
165 - dodoc "${T}"/cantuseprepalldocs/*
166 -}
167
168 diff --git a/app-office/gnucash/metadata.xml b/app-office/gnucash/metadata.xml
169 index 4c84c7d43e6..f0b8ab6233e 100644
170 --- a/app-office/gnucash/metadata.xml
171 +++ b/app-office/gnucash/metadata.xml
172 @@ -10,11 +10,12 @@
173 <name>Gentoo GNOME Desktop</name>
174 </maintainer>
175 <use>
176 - <flag name="aqbanking">Connect to some internet banks via AqBanking</flag>
177 - <flag name="chipcard">Enable support for chipcard reading and
178 - processing.</flag>
179 - <flag name="hbci">Enable HBCI support, for connecting to some internet
180 - banks</flag>
181 + <flag name="aqbanking">
182 + Connect to some internet banks via AqBanking
183 + </flag>
184 + <flag name="chipcard">
185 + Enable support for chipcard reading and processing.
186 + </flag>
187 <flag name="quotes">Enable Online Stock Quote retrieval</flag>
188 <flag name="register2">Use the new register (Experimental)</flag>
189 </use>