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.6.1.ebuild ChangeLog gnucash-2.4.12.ebuild
Date: Sun, 09 Feb 2014 11:18:46
Message-Id: 20140209111841.1703A2004C@flycatcher.gentoo.org
1 pacho 14/02/09 11:18:41
2
3 Modified: ChangeLog
4 Added: gnucash-2.6.1.ebuild
5 Removed: gnucash-2.4.12.ebuild
6 Log:
7 Version bump, prevent linking against installed libs (#371264), drop old.
8
9 (Portage version: 2.2.8-r1/cvs/Linux x86_64, signed Manifest commit with key A188FBD4)
10
11 Revision Changes Path
12 1.271 app-office/gnucash/ChangeLog
13
14 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-office/gnucash/ChangeLog?rev=1.271&view=markup
15 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-office/gnucash/ChangeLog?rev=1.271&content-type=text/plain
16 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-office/gnucash/ChangeLog?r1=1.270&r2=1.271
17
18 Index: ChangeLog
19 ===================================================================
20 RCS file: /var/cvsroot/gentoo-x86/app-office/gnucash/ChangeLog,v
21 retrieving revision 1.270
22 retrieving revision 1.271
23 diff -u -r1.270 -r1.271
24 --- ChangeLog 8 Dec 2013 17:45:42 -0000 1.270
25 +++ ChangeLog 9 Feb 2014 11:18:40 -0000 1.271
26 @@ -1,6 +1,12 @@
27 # ChangeLog for app-office/gnucash
28 -# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
29 -# $Header: /var/cvsroot/gentoo-x86/app-office/gnucash/ChangeLog,v 1.270 2013/12/08 17:45:42 pacho Exp $
30 +# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
31 +# $Header: /var/cvsroot/gentoo-x86/app-office/gnucash/ChangeLog,v 1.271 2014/02/09 11:18:40 pacho Exp $
32 +
33 +*gnucash-2.6.1 (09 Feb 2014)
34 +
35 + 09 Feb 2014; Pacho Ramos <pacho@g.o> +gnucash-2.6.1.ebuild,
36 + -gnucash-2.4.12.ebuild:
37 + Version bump, prevent linking against installed libs (#371264), drop old.
38
39 08 Dec 2013; Pacho Ramos <pacho@g.o> gnucash-2.4.13.ebuild:
40 x86 stable, bug #478252
41
42
43
44 1.1 app-office/gnucash/gnucash-2.6.1.ebuild
45
46 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-office/gnucash/gnucash-2.6.1.ebuild?rev=1.1&view=markup
47 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-office/gnucash/gnucash-2.6.1.ebuild?rev=1.1&content-type=text/plain
48
49 Index: gnucash-2.6.1.ebuild
50 ===================================================================
51 # Copyright 1999-2014 Gentoo Foundation
52 # Distributed under the terms of the GNU General Public License v2
53 # $Header: /var/cvsroot/gentoo-x86/app-office/gnucash/gnucash-2.6.1.ebuild,v 1.1 2014/02/09 11:18:40 pacho Exp $
54
55 EAPI="5"
56 GCONF_DEBUG="no"
57 PYTHON_COMPAT=( python{2_6,2_7} )
58
59 inherit autotools gnome2 python-single-r1 eutils
60
61 DESCRIPTION="A personal finance manager"
62 HOMEPAGE="http://www.gnucash.org/"
63 SRC_URI="mirror://sourceforge/${PN}/${P}.tar.bz2"
64
65 SLOT="0"
66 LICENSE="GPL-2"
67 KEYWORDS="~amd64 ~ppc ~ppc64 ~x86"
68 IUSE="chipcard debug +doc hbci mysql ofx postgres python quotes sqlite"
69
70 # FIXME: rdepend on dev-libs/qof when upstream fix their mess (see configure.ac)
71 # libdbi version requirement for sqlite taken from bug #455134
72 RDEPEND="
73 >=dev-libs/glib-2.32.0:2
74 >=dev-libs/popt-1.5
75 >=dev-libs/libxml2-2.5.10:2
76 dev-libs/libxslt
77 >=dev-scheme/guile-1.8.3:12[deprecated,regex]
78 dev-scheme/guile-www
79 >=dev-scheme/slib-3.1.4
80 gnome-base/libgnome-keyring
81 >=net-libs/webkit-gtk-1.2:2
82 >=sys-libs/zlib-1.1.4
83 >=x11-libs/gtk+-2.24:2
84 >=x11-libs/goffice-0.7.0:0.8[gnome]
85 x11-libs/pango
86 ofx? ( >=dev-libs/libofx-0.9.1 )
87 hbci? ( >=net-libs/aqbanking-5[gtk,ofx?]
88 sys-libs/gwenhywfar[gtk]
89 chipcard? ( sys-libs/libchipcard )
90 )
91 python? ( ${PYTHON_DEPS} )
92 quotes? ( dev-perl/DateManip
93 >=dev-perl/Finance-Quote-1.11
94 dev-perl/HTML-TableExtract )
95 sqlite? ( >=dev-db/libdbi-0.9.0
96 >=dev-db/libdbi-drivers-0.9.0[sqlite] )
97 postgres? ( dev-db/libdbi dev-db/libdbi-drivers[postgres] )
98 mysql? ( dev-db/libdbi dev-db/libdbi-drivers[mysql] )
99 "
100 DEPEND="${RDEPEND}
101 >=app-text/scrollkeeper-0.3
102 virtual/pkgconfig
103 dev-util/intltool
104 gnome-base/gnome-common
105 sys-devel/libtool
106 "
107
108 PDEPEND="doc? ( >=app-doc/gnucash-docs-2.2.0 )"
109
110 pkg_setup() {
111 use python && python-single-r1_pkg_setup
112 }
113
114 src_prepare() {
115 # Prevent linking against installed libs, bug #371264
116 eautoreconf
117 gnome2_src_prepare
118 }
119
120 src_configure() {
121 local myconf
122
123 DOCS="doc/README.OFX doc/README.HBCI"
124
125 if use sqlite || use mysql || use postgres ; then
126 myconf+=" --enable-dbi"
127 else
128 myconf+=" --disable-dbi"
129 fi
130
131 myconf+="
132 $(use_enable debug)
133 $(use_enable ofx)
134 $(use_enable hbci aqbanking)
135 $(use_enable python)
136 --disable-doxygen
137 --enable-locale-specific-tax
138 --disable-error-on-warning"
139
140 # gtkmm is experimental and shouldn't be enabled, upstream bug #684166
141 myconf+=" --disable-gtkmm"
142
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 gnome2_src_configure GUILE_LIBS="${GUILE_LIBS}" ${myconf}
154 }
155
156 src_test() {
157 unset DBUS_SESSION_BUS_ADDRESS
158 GUILE_WARN_DEPRECATED=no \
159 GNC_DOT_DIR="${T}"/.gnucash \
160 emake check
161 }
162
163 src_install() {
164 # Parallel installation fails from time to time, bug #359123
165 MAKEOPTS="${MAKEOPTS} -j1" gnome2_src_install GNC_DOC_INSTALL_DIR=/usr/share/doc/${PF}
166
167 rm -rf "${ED}"/usr/share/doc/${PF}/{examples/,COPYING,INSTALL,*win32-bin.txt,projects.html}
168 mv "${ED}"/usr/share/doc/${PF} "${T}"/cantuseprepalldocs || die
169 dodoc "${T}"/cantuseprepalldocs/*
170 }