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.ebuild
Date: Tue, 18 Dec 2007 12:23:48
Message-Id: E1J4bU2-0005fE-NE@stork.gentoo.org
1 tove 07/12/18 12:23:38
2
3 Modified: ChangeLog
4 Added: gnucash-2.2.2.ebuild
5 Log:
6 Version bump. Added fix for #199730.
7 (Portage version: 2.1.4_rc10)
8
9 Revision Changes Path
10 1.144 app-office/gnucash/ChangeLog
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-office/gnucash/ChangeLog?rev=1.144&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-office/gnucash/ChangeLog?rev=1.144&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-office/gnucash/ChangeLog?r1=1.143&r2=1.144
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/app-office/gnucash/ChangeLog,v
19 retrieving revision 1.143
20 retrieving revision 1.144
21 diff -u -r1.143 -r1.144
22 --- ChangeLog 25 Oct 2007 06:50:25 -0000 1.143
23 +++ ChangeLog 18 Dec 2007 12:23:38 -0000 1.144
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.143 2007/10/25 06:50:25 tove Exp $
28 +# $Header: /var/cvsroot/gentoo-x86/app-office/gnucash/ChangeLog,v 1.144 2007/12/18 12:23:38 tove Exp $
29 +
30 +*gnucash-2.2.2 (18 Dec 2007)
31 +
32 + 18 Dec 2007; Torsten Veller <tove@g.o>
33 + +files/gnucash-2.2.2-icons.patch, +gnucash-2.2.2.ebuild:
34 + Version bump. Thanks to Alex Rostovtsev for the icons patch (#199730).
35 + Change goffice dependency because gnucash works with >=goffice-0.5.1 (#191555).
36
37 25 Oct 2007; Torsten Veller <tove@g.o> gnucash-2.2.1-r1.ebuild:
38 Change slib dependency
39
40
41
42 1.1 app-office/gnucash/gnucash-2.2.2.ebuild
43
44 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-office/gnucash/gnucash-2.2.2.ebuild?rev=1.1&view=markup
45 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-office/gnucash/gnucash-2.2.2.ebuild?rev=1.1&content-type=text/plain
46
47 Index: gnucash-2.2.2.ebuild
48 ===================================================================
49 # Copyright 1999-2007 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.2.2.ebuild,v 1.1 2007/12/18 12:23:38 tove Exp $
52
53 inherit autotools eutils gnome2
54
55 DOC_VER="2.2.0"
56
57 DESCRIPTION="A personal finance manager."
58 HOMEPAGE="http://www.gnucash.org/"
59 SRC_URI="mirror://sourceforge/${PN}/${P}.tar.bz2
60 mirror://gentoo/${PN}-icon.svg.bz2"
61
62 SLOT="0"
63 LICENSE="GPL-2"
64 KEYWORDS="~alpha ~amd64 ~ppc ~sparc ~x86"
65
66 IUSE="ofx hbci chipcard debug quotes"
67
68 RDEPEND=">=dev-libs/glib-2.6.3
69 || ( ( >=dev-scheme/guile-1.8.3 >=dev-scheme/slib-3.1.4 )
70 ( <dev-scheme/guile-1.8.3 =dev-scheme/slib-3.1.1* ) )
71 >=sys-libs/zlib-1.1.4
72 >=dev-libs/popt-1.5
73 >=x11-libs/gtk+-2.6
74 >=gnome-base/libgnomeui-2.4
75 >=gnome-base/libgnomeprint-2.10
76 >=gnome-base/libgnomeprintui-2.10
77 >=gnome-base/libglade-2.4
78 || (
79 =gnome-extra/gtkhtml-3.12*
80 =gnome-extra/gtkhtml-3.10*
81 )
82 >=dev-libs/libxml2-2.5.10
83 >=gnome-base/gconf-2
84 >=app-text/scrollkeeper-0.3
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 dev-util/intltool
93 media-libs/libart_lgpl
94 x11-libs/pango"
95
96 DEPEND="${RDEPEND}
97 dev-util/pkgconfig
98 sys-devel/libtool"
99
100 PDEPEND=">=app-doc/gnucash-docs-${DOC_VER}"
101 ELTCONF="--patch-only"
102 DOC="AUTHORS ChangeLog* DOCUMENTERS HACKING NEWS TODO README* doc/README*"
103
104 pkg_setup() {
105 local will_die=false
106 local flags="deprecated regex"
107 if ! built_with_use --missing true dev-scheme/guile ${flags} ; then
108 eerror "dev-scheme/guile must be built with \"${flags}\" use flags"
109 will_die=true
110 fi
111 if ! built_with_use gnome-extra/libgsf gnome ; then
112 eerror "gnome-extra/libgsf must be built with gnome use flag"
113 will_die=true
114 fi
115 if ! built_with_use x11-libs/goffice gnome ; then
116 eerror "x11-libs/goffice must be built with gnome use flag"
117 will_die=true
118 fi
119
120 if ${will_die} ; then
121 die "Please rebuild the packages with the use flags above."
122 fi
123 }
124
125 src_unpack() {
126 unpack ${A}
127 cp "${WORKDIR}"/gnucash-icon.svg "${S}"/src/pixmaps || die
128 cd "${S}"
129 epatch "${FILESDIR}"/${P}-icons.patch
130 AT_M4DIR=macros eautoreconf
131 }
132
133 src_compile() {
134 econf \
135 $(use_enable debug) \
136 $(use_enable ofx) \
137 $(use_enable hbci) \
138 --disable-doxygen \
139 --enable-locale-specific-tax \
140 --disable-error-on-warning \
141 || die "econf failed"
142 emake -j1 || die "emake failed"
143 }
144
145 src_test() {
146 GUILE_WARN_DEPRECATED=no \
147 emake -j1 check \
148 || die "Make check failed. See above for details."
149 }
150
151 pkg_postinst() {
152 gnome2_pkg_postinst
153 ewarn ""
154 ewarn "If you are using Scheduled Transactions, the data file saved by"
155 ewarn "GnuCash 2.2 is NOT backward-compatible with GnuCash 2.0."
156 ewarn "Please make a safe backup of your 2.0 data before upgrading to 2.2"
157 ewarn ""
158 }
159
160
161
162 --
163 gentoo-commits@g.o mailing list