Gentoo Archives: gentoo-commits

From: "Torsten Veller (tove)" <tove@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in app-office/gnucash: ChangeLog gnucash-2.2.2-r1.ebuild
Date: Mon, 07 Jan 2008 08:39:23
Message-Id: E1JBnVw-0006O5-FU@stork.gentoo.org
1 tove 08/01/07 08:39:20
2
3 Modified: ChangeLog
4 Added: gnucash-2.2.2-r1.ebuild
5 Log:
6 Fix for goffice-0.6 (#203979) and SX crashes (#204473).
7 (Portage version: 2.1.4_rc14)
8
9 Revision Changes Path
10 1.146 app-office/gnucash/ChangeLog
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-office/gnucash/ChangeLog?rev=1.146&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-office/gnucash/ChangeLog?rev=1.146&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-office/gnucash/ChangeLog?r1=1.145&r2=1.146
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/app-office/gnucash/ChangeLog,v
19 retrieving revision 1.145
20 retrieving revision 1.146
21 diff -u -r1.145 -r1.146
22 --- ChangeLog 20 Dec 2007 15:20:13 -0000 1.145
23 +++ ChangeLog 7 Jan 2008 08:39:19 -0000 1.146
24 @@ -1,6 +1,13 @@
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.145 2007/12/20 15:20:13 tove Exp $
28 +# Copyright 2002-2008 Gentoo Foundation; Distributed under the GPL v2
29 +# $Header: /var/cvsroot/gentoo-x86/app-office/gnucash/ChangeLog,v 1.146 2008/01/07 08:39:19 tove Exp $
30 +
31 +*gnucash-2.2.2-r1 (07 Jan 2008)
32 +
33 + 07 Jan 2008; Torsten Veller <tove@g.o>
34 + +files/gnucash-2.2.2-goffice.patch,
35 + +files/gnucash-2.2.2-sx-fix-r16766.patch, +gnucash-2.2.2-r1.ebuild:
36 + Fix for goffice-0.6 (#203979) and SX crashes (#204473).
37
38 20 Dec 2007; Torsten Veller <tove@g.o> gnucash-2.2.2.ebuild:
39 Add goffice dependency again (#202862)
40 @@ -25,7 +32,7 @@
41 Hopefully fixes bug #196417. Also #158013 and #174967.
42 Documentation is now a separate package (app-doc/gnucash-docs).
43
44 - 19 Oct 2007; <jeff@g.o> gnucash-2.2.0.ebuild, gnucash-2.2.1.ebuild:
45 + 19 Oct 2007; <je_fro@g.o> gnucash-2.2.0.ebuild, gnucash-2.2.1.ebuild:
46 Changed goffice dependency as per bug #191555. Big Thanks(tm) to rbridge.
47
48 *gnucash-2.2.1 (09 Sep 2007)
49
50
51
52 1.1 app-office/gnucash/gnucash-2.2.2-r1.ebuild
53
54 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-office/gnucash/gnucash-2.2.2-r1.ebuild?rev=1.1&view=markup
55 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-office/gnucash/gnucash-2.2.2-r1.ebuild?rev=1.1&content-type=text/plain
56
57 Index: gnucash-2.2.2-r1.ebuild
58 ===================================================================
59 # Copyright 1999-2008 Gentoo Foundation
60 # Distributed under the terms of the GNU General Public License v2
61 # $Header: /var/cvsroot/gentoo-x86/app-office/gnucash/gnucash-2.2.2-r1.ebuild,v 1.1 2008/01/07 08:39:19 tove Exp $
62
63 inherit autotools eutils gnome2
64
65 DOC_VER="2.2.0"
66
67 DESCRIPTION="A personal finance manager."
68 HOMEPAGE="http://www.gnucash.org/"
69 SRC_URI="mirror://sourceforge/${PN}/${P}.tar.bz2
70 mirror://gentoo/${PN}-icon.svg.bz2"
71
72 SLOT="0"
73 LICENSE="GPL-2"
74 KEYWORDS="~alpha ~amd64 ~ppc ~sparc ~x86"
75
76 IUSE="ofx hbci chipcard debug quotes"
77
78 RDEPEND=">=dev-libs/glib-2.6.3
79 || ( ( >=dev-scheme/guile-1.8.3 >=dev-scheme/slib-3.1.4 )
80 ( <dev-scheme/guile-1.8.3 =dev-scheme/slib-3.1.1* ) )
81 >=sys-libs/zlib-1.1.4
82 >=dev-libs/popt-1.5
83 >=x11-libs/gtk+-2.6
84 >=gnome-base/libgnomeui-2.4
85 >=gnome-base/libgnomeprint-2.10
86 >=gnome-base/libgnomeprintui-2.10
87 >=gnome-base/libglade-2.4
88 || (
89 =gnome-extra/gtkhtml-3.12*
90 =gnome-extra/gtkhtml-3.10*
91 )
92 >=dev-libs/libxml2-2.5.10
93 >=gnome-base/gconf-2
94 >=app-text/scrollkeeper-0.3
95 x11-libs/goffice
96 ofx? ( >=dev-libs/libofx-0.7.0 )
97 hbci? ( net-libs/aqbanking
98 chipcard? ( sys-libs/libchipcard )
99 )
100 quotes? ( dev-perl/DateManip
101 >=dev-perl/Finance-Quote-1.11
102 dev-perl/HTML-TableExtract )
103 dev-util/intltool
104 media-libs/libart_lgpl
105 x11-libs/pango"
106
107 DEPEND="${RDEPEND}
108 dev-util/pkgconfig
109 sys-devel/libtool"
110
111 PDEPEND=">=app-doc/gnucash-docs-${DOC_VER}"
112 ELTCONF="--patch-only"
113 DOC="AUTHORS ChangeLog* DOCUMENTERS HACKING NEWS TODO README* doc/README*"
114
115 pkg_setup() {
116 local will_die=false
117 local flags="deprecated regex"
118 if ! built_with_use --missing true dev-scheme/guile ${flags} ; then
119 eerror "dev-scheme/guile must be built with \"${flags}\" use flags"
120 will_die=true
121 fi
122 if ! built_with_use gnome-extra/libgsf gnome ; then
123 eerror "gnome-extra/libgsf must be built with gnome use flag"
124 will_die=true
125 fi
126 if ! built_with_use x11-libs/goffice gnome ; then
127 eerror "x11-libs/goffice must be built with gnome use flag"
128 will_die=true
129 fi
130
131 if ${will_die} ; then
132 die "Please rebuild the packages with the use flags above."
133 fi
134 }
135
136 src_unpack() {
137 unpack ${A}
138 cp "${WORKDIR}"/gnucash-icon.svg "${S}"/src/pixmaps || die
139 cd "${S}"
140 epatch "${FILESDIR}"/${P}-icons.patch
141 epatch "${FILESDIR}"/${P}-sx-fix-r16766.patch
142 epatch "${FILESDIR}"/${P}-goffice.patch
143 AT_M4DIR=macros eautoreconf
144 }
145
146 src_compile() {
147 econf \
148 $(use_enable debug) \
149 $(use_enable ofx) \
150 $(use_enable hbci) \
151 --disable-doxygen \
152 --enable-locale-specific-tax \
153 --disable-error-on-warning \
154 || die "econf failed"
155 emake -j1 || die "emake failed"
156 }
157
158 src_test() {
159 GUILE_WARN_DEPRECATED=no \
160 emake -j1 check \
161 || die "Make check failed. See above for details."
162 }
163
164 pkg_postinst() {
165 gnome2_pkg_postinst
166 ewarn ""
167 ewarn "If you are using Scheduled Transactions, the data file saved by"
168 ewarn "GnuCash 2.2 is NOT backward-compatible with GnuCash 2.0."
169 ewarn "Please make a safe backup of your 2.0 data before upgrading to 2.2"
170 ewarn ""
171 }
172
173
174
175 --
176 gentoo-commits@l.g.o mailing list