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