Gentoo Archives: gentoo-commits

From: "Pacho Ramos (pacho)" <pacho@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in app-office/gnucash: gnucash-2.4.8.ebuild ChangeLog
Date: Wed, 30 Nov 2011 15:13:29
Message-Id: 20111130151319.555232004C@flycatcher.gentoo.org
1 pacho 11/11/30 15:13:19
2
3 Modified: ChangeLog
4 Added: gnucash-2.4.8.ebuild
5 Log:
6 Version bump, bug #392317 by José Romildo Malaquias.
7
8 (Portage version: 2.1.10.38/cvs/Linux x86_64)
9
10 Revision Changes Path
11 1.249 app-office/gnucash/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-office/gnucash/ChangeLog?rev=1.249&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-office/gnucash/ChangeLog?rev=1.249&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-office/gnucash/ChangeLog?r1=1.248&r2=1.249
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/app-office/gnucash/ChangeLog,v
20 retrieving revision 1.248
21 retrieving revision 1.249
22 diff -u -r1.248 -r1.249
23 --- ChangeLog 22 Nov 2011 00:48:00 -0000 1.248
24 +++ ChangeLog 30 Nov 2011 15:13:19 -0000 1.249
25 @@ -1,6 +1,12 @@
26 # ChangeLog for app-office/gnucash
27 # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/app-office/gnucash/ChangeLog,v 1.248 2011/11/22 00:48:00 pacho Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/app-office/gnucash/ChangeLog,v 1.249 2011/11/30 15:13:19 pacho Exp $
30 +
31 +*gnucash-2.4.8 (30 Nov 2011)
32 +
33 + 30 Nov 2011; Pacho Ramos <pacho@g.o>
34 + +files/gnucash-2.4.8-python-detection.patch, +gnucash-2.4.8.ebuild:
35 + Version bump, bug #392317 by José Romildo Malaquias.
36
37 22 Nov 2011; Pacho Ramos <pacho@g.o>
38 -files/gnucash-2.4.5-link-system-libs.patch, -gnucash-2.4.5.ebuild,
39
40
41
42 1.1 app-office/gnucash/gnucash-2.4.8.ebuild
43
44 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-office/gnucash/gnucash-2.4.8.ebuild?rev=1.1&view=markup
45 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-office/gnucash/gnucash-2.4.8.ebuild?rev=1.1&content-type=text/plain
46
47 Index: gnucash-2.4.8.ebuild
48 ===================================================================
49 # Copyright 1999-2011 Gentoo Foundation
50 # Distributed under the terms of the GNU General Public License v2
51 # $Header: /var/cvsroot/gentoo-x86/app-office/gnucash/gnucash-2.4.8.ebuild,v 1.1 2011/11/30 15:13:19 pacho Exp $
52
53 EAPI="4"
54 GNOME2_LA_PUNT="yes"
55 GCONF_DEBUG="no"
56 PYTHON_DEPEND="python? 2:2.4"
57
58 inherit gnome2 python eutils autotools
59
60 DOC_VER="2.2.0"
61
62 DESCRIPTION="A personal finance manager"
63 HOMEPAGE="http://www.gnucash.org/"
64 SRC_URI="mirror://sourceforge/${PN}/${P}.tar.bz2"
65
66 SLOT="0"
67 LICENSE="GPL-2"
68 KEYWORDS="~amd64 ~ppc ~ppc64 ~x86"
69 IUSE="chipcard cxx debug +doc hbci mysql ofx postgres python quotes sqlite webkit"
70
71 # FIXME: rdepend on dev-libs/qof when upstream fix their mess (see configure.ac)
72 RDEPEND=">=dev-libs/glib-2.13:2
73 >=dev-libs/popt-1.5
74 >=dev-libs/libxml2-2.5.10:2
75 >=dev-scheme/guile-1.8.3:12[deprecated,regex]
76 dev-scheme/guile-www
77 >=dev-scheme/slib-3.1.4
78 >=gnome-base/gconf-2:2
79 >=gnome-base/libgnomeui-2.4
80 >=gnome-base/libglade-2.4:2.0
81 gnome-base/libgnome-keyring
82 media-libs/libart_lgpl
83 >=sys-libs/zlib-1.1.4
84 >=x11-libs/gtk+-2.14:2
85 x11-libs/goffice:0.8[gnome]
86 x11-libs/pango
87 cxx? ( dev-cpp/gtkmm:2.4 )
88 ofx? ( >=dev-libs/libofx-0.9.1 )
89 hbci? ( >=net-libs/aqbanking-5[gtk]
90 sys-libs/gwenhywfar[gtk]
91 chipcard? ( sys-libs/libchipcard )
92 )
93 quotes? ( dev-perl/DateManip
94 >=dev-perl/Finance-Quote-1.11
95 dev-perl/HTML-TableExtract )
96 webkit? ( net-libs/webkit-gtk:2 )
97 !webkit? ( >=gnome-extra/gtkhtml-3.16:3.14 )
98 sqlite? ( dev-db/libdbi dev-db/libdbi-drivers[sqlite3] )
99 postgres? ( dev-db/libdbi dev-db/libdbi-drivers[postgres] )
100 mysql? ( dev-db/libdbi dev-db/libdbi-drivers[mysql] )
101 "
102 DEPEND="${RDEPEND}
103 >=app-text/scrollkeeper-0.3
104 dev-util/pkgconfig
105 dev-util/intltool
106 gnome-base/gnome-common
107 sys-devel/libtool
108 "
109
110 PDEPEND="doc? ( >=app-doc/gnucash-docs-${DOC_VER} )"
111
112 pkg_setup() {
113 DOCS="doc/README.OFX doc/README.HBCI"
114
115 if use webkit ; then
116 G2CONF+=" --with-html-engine=webkit"
117 else
118 G2CONF+=" --with-html-engine=gtkhtml"
119 fi
120
121 if use sqlite || use mysql || use postgres ; then
122 G2CONF+=" --enable-dbi"
123 else
124 G2CONF+=" --disable-dbi"
125 fi
126
127 G2CONF+="
128 $(use_enable cxx gtkmm)
129 $(use_enable debug)
130 $(use_enable ofx)
131 $(use_enable hbci aqbanking)
132 $(use_enable python python-bindings)
133 --disable-doxygen
134 --enable-locale-specific-tax
135 --disable-error-on-warning"
136
137 if use python ; then
138 python_set_active_version 2
139 fi
140 }
141
142 src_configure() {
143 # guile wrongly exports LDFLAGS as LIBS which breaks modules
144 # Filter until a better ebuild is available, bug #202205
145 local GUILE_LIBS=""
146 local lib
147 for lib in $(guile-config link); do
148 if [ "${lib#-Wl}" = "$lib" ]; then
149 GUILE_LIBS="$GUILE_LIBS $lib"
150 fi
151 done
152
153 econf GUILE_LIBS="${GUILE_LIBS}" ${G2CONF}
154 }
155
156 src_prepare() {
157 : > "${S}"/py-compile
158
159 use python && python_convert_shebangs -r 2 .
160
161 # Disable python binding tests because of missing file
162 sed 's/^\(SUBDIRS =.*\)tests\(.*\)$/\1\2/' \
163 -i src/optional/python-bindings/Makefile.{am,in} \
164 || die "python tests sed failed"
165
166 # Find python in a faster way, bug #344231, upstream bug #665203
167 epatch "${FILESDIR}/${PN}-2.4.8-python-detection.patch"
168
169 intltoolize --force --copy --automake || die "intltoolize failed"
170 eautoreconf
171 gnome2_src_prepare
172 }
173
174 src_test() {
175 unset DBUS_SESSION_BUS_ADDRESS
176 GUILE_WARN_DEPRECATED=no \
177 GNC_DOT_DIR="${T}"/.gnucash \
178 emake check
179 }
180
181 src_install() {
182 # Parallel installation fails from time to time, bug #359123
183 MAKEOPTS="${MAKEOPTS} -j1" gnome2_src_install GNC_DOC_INSTALL_DIR=/usr/share/doc/${PF}
184
185 rm -rf "${ED}"/usr/share/doc/${PF}/{examples/,COPYING,INSTALL,*win32-bin.txt,projects.html}
186 mv "${ED}"/usr/share/doc/${PF} "${T}"/cantuseprepalldocs || die
187 dodoc "${T}"/cantuseprepalldocs/*
188 }
189
190 pkg_postinst() {
191 gnome2_pkg_postinst
192 use python && python_mod_optimize gnucash
193 }
194
195 pkg_postrm() {
196 gnome2_pkg_postrm
197 use python && python_mod_cleanup gnucash
198 }