Gentoo Archives: gentoo-commits

From: "Torsten Veller
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in app-office/gnucash: ChangeLog gnucash-2.2.1.ebuild
Date: Sun, 09 Sep 2007 10:58:40
Message-Id: E1IUKOG-0007dr-T7@stork.gentoo.org
1 tove 07/09/09 10:51:44
2
3 Modified: ChangeLog
4 Added: gnucash-2.2.1.ebuild
5 Log:
6 Version bump (#190368)
7 (Portage version: 2.1.3.9)
8
9 Revision Changes Path
10 1.139 app-office/gnucash/ChangeLog
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-office/gnucash/ChangeLog?rev=1.139&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-office/gnucash/ChangeLog?rev=1.139&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-office/gnucash/ChangeLog?r1=1.138&r2=1.139
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/app-office/gnucash/ChangeLog,v
19 retrieving revision 1.138
20 retrieving revision 1.139
21 diff -u -r1.138 -r1.139
22 --- ChangeLog 31 Jul 2007 13:34:54 -0000 1.138
23 +++ ChangeLog 9 Sep 2007 10:51:44 -0000 1.139
24 @@ -1,6 +1,11 @@
25 # ChangeLog for app-office/gnucash
26 # Copyright 2002-2007 Gentoo Foundation; Distributed under the GPL v2
27 -# $Header: /var/cvsroot/gentoo-x86/app-office/gnucash/ChangeLog,v 1.138 2007/07/31 13:34:54 tove Exp $
28 +# $Header: /var/cvsroot/gentoo-x86/app-office/gnucash/ChangeLog,v 1.139 2007/09/09 10:51:44 tove Exp $
29 +
30 +*gnucash-2.2.1 (09 Sep 2007)
31 +
32 + 09 Sep 2007; Torsten Veller <tove@g.o> +gnucash-2.2.1.ebuild:
33 + Version bump (#190368)
34
35 *gnucash-2.2.0 (31 Jul 2007)
36
37
38
39
40 1.1 app-office/gnucash/gnucash-2.2.1.ebuild
41
42 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-office/gnucash/gnucash-2.2.1.ebuild?rev=1.1&view=markup
43 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-office/gnucash/gnucash-2.2.1.ebuild?rev=1.1&content-type=text/plain
44
45 Index: gnucash-2.2.1.ebuild
46 ===================================================================
47 # Copyright 1999-2007 Gentoo Foundation
48 # Distributed under the terms of the GNU General Public License v2
49 # $Header: /var/cvsroot/gentoo-x86/app-office/gnucash/gnucash-2.2.1.ebuild,v 1.1 2007/09/09 10:51:44 tove Exp $
50
51 inherit eutils gnome2
52
53 DOC_VER="2.2.0"
54
55 DESCRIPTION="A personal finance manager."
56 HOMEPAGE="http://www.gnucash.org/"
57 SRC_URI="mirror://sourceforge/${PN}/${P}.tar.bz2
58 mirror://sourceforge/${PN}/${PN}-docs-${DOC_VER}.tar.gz"
59
60 SLOT="0"
61 LICENSE="GPL-2"
62 KEYWORDS="~alpha ~amd64 ~ppc ~sparc ~x86"
63
64 IUSE="ofx hbci chipcard debug quotes nls"
65
66 RDEPEND=">=dev-libs/glib-2.6.3
67 >=dev-scheme/guile-1.6
68 =dev-scheme/slib-3.1.1*
69 >=sys-libs/zlib-1.1.4
70 >=dev-libs/popt-1.5
71 >=x11-libs/gtk+-2.6
72 >=gnome-base/libgnomeui-2.4
73 >=gnome-base/libgnomeprint-2.10
74 >=gnome-base/libgnomeprintui-2.10
75 >=gnome-base/libglade-2.4
76 || (
77 =gnome-extra/gtkhtml-3.12*
78 =gnome-extra/gtkhtml-3.10*
79 )
80 >=dev-libs/libxml2-2.5.10
81 >=gnome-base/gconf-2
82 >=app-text/scrollkeeper-0.3
83 >=x11-libs/goffice-0.1.0
84 gnome-extra/yelp
85 ofx? ( >=dev-libs/libofx-0.7.0 )
86 hbci? ( net-libs/aqbanking
87 chipcard? ( sys-libs/libchipcard )
88 )
89 quotes? ( dev-perl/DateManip
90 >=dev-perl/Finance-Quote-1.11
91 dev-perl/HTML-TableExtract )
92 app-text/docbook-xsl-stylesheets
93 =app-text/docbook-xml-dtd-4.1.2*
94 nls? ( dev-util/intltool )
95 media-libs/libart_lgpl
96 x11-libs/pango"
97
98 DEPEND="${RDEPEND}
99 dev-util/pkgconfig
100 sys-devel/libtool"
101
102 ELTCONF="--patch-only"
103
104 pkg_setup() {
105 local will_die=false
106 if ! built_with_use gnome-extra/libgsf gnome ; then
107 einfo "gnome-extra/libgsf must be built with gnome use flag"
108 will_die=true
109 fi
110 if ! built_with_use x11-libs/goffice gnome ; then
111 einfo "x11-libs/goffice must be built with gnome use flag"
112 will_die=true
113 fi
114
115 if has_version =dev-scheme/guile-1.8* ; then
116 local flags="deprecated regex"
117 if ! built_with_use dev-scheme/guile ${flags}; then
118 einfo "dev-scheme/guile must be built with \"${flags}\" use flags"
119 will_die=true
120 fi
121 fi
122 if ${will_die}; then
123 die "Please rebuild the packages with the use flags above."
124 fi
125 }
126
127 src_compile() {
128 econf \
129 $(use_enable debug) \
130 $(use_enable ofx) \
131 $(use_enable hbci) \
132 --disable-doxygen \
133 --enable-locale-specific-tax \
134 || die "econf failed"
135 emake -j1 || die "emake failed"
136
137 cd "${WORKDIR}/gnucash-docs-${DOC_VER}"
138 econf || die "doc econf failed"
139 emake -j1 || die "doc emake failed"
140 }
141
142 src_test() {
143 GUILE_WARN_DEPRECATED=no \
144 emake -j1 check \
145 || die "Make check failed. See above for details."
146 }
147
148 src_install() {
149 gnome2_src_install || die "gnome2_src_install failed"
150 dodoc AUTHORS ChangeLog* DOCUMENTERS HACKING NEWS TODO README* doc/README*
151
152 cd "${WORKDIR}/${PN}-docs-${DOC_VER}"
153 make DESTDIR="${D}" \
154 scrollkeeper_localstate_dir="${D}/var/lib/scrollkeeper" \
155 install || die "doc install failed"
156 rm -rf "${D}/var/lib/scrollkeeper"
157 }
158
159 pkg_postinst() {
160 gnome2_pkg_postinst
161 ewarn ""
162 ewarn "If you are using Scheduled Transactions, the data file saved by"
163 ewarn "GnuCash 2.2 is NOT backward-compatible with GnuCash 2.0."
164 ewarn "Please make a safe backup of your 2.0 data before upgrading to 2.2"
165 ewarn ""
166 }
167
168
169
170 --
171 gentoo-commits@g.o mailing list