# ChangeLog for app-office/grisbi
# Copyright 1999-2004 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-office/grisbi/ChangeLog,v 1.6 2004/09/05 23:57:02 ciaranm Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-office/grisbi/ChangeLog,v 1.7 2004/10/08 15:32:30 seemant Exp $
+
+*grisbi-0.5.2_pre1 (08 Oct 2004)
+
+ 08 Oct 2004; Seemant Kulleen <seemant@gentoo.org> grisbi-0.5.0-r1.ebuild,
+ +grisbi-0.5.2_pre1.ebuild:
+ Version bump; adds support for ofx and nls USE flags. Ebuild by: Guillaume
+ Castagnino <guilc@laposte.net> via email
06 Sep 2004; Ciaran McCreesh <ciaranm@gentoo.org> grisbi-0.5.0-r1.ebuild:
Switch to use epause and ebeep, bug #62950
------BEGIN PGP SIGNED MESSAGE-----
-Hash: SHA1
-
-MD5 19a48a3bb19960297f79c97526256b1a ChangeLog 1075
+MD5 e336a25afa57a9321bbc1c526132ccab grisbi-0.5.0-r1.ebuild 1615
+MD5 811962f16c85671dcec8f921b8293f0a grisbi-0.5.2_pre1.ebuild 1711
+MD5 7154cf53e32e40ef388f8658b13b8514 ChangeLog 1335
MD5 5387e76e6294c5f60159aab38850fee9 metadata.xml 443
-MD5 c99ae9131136db90f2e6957cd7d7c8c3 grisbi-0.5.0-r1.ebuild 1592
MD5 ccc62cf2f2a9ecc58aebb729a2cca5c4 files/digest-grisbi-0.5.0-r1 64
------BEGIN PGP SIGNATURE-----
-Version: GnuPG v1.2.4 (GNU/Linux)
-
-iD8DBQFBO6ckLLFUmVNQ7rkRAoCQAJ4+zOqAJWoE5VgaytreywadPmIDCQCfbZwo
-dIV8G0g3WTQHyKTurm899kg=
-=fNSM
------END PGP SIGNATURE-----
+MD5 f92b45bf4e2cd05295bf5e71266597cf files/digest-grisbi-0.5.2_pre1 68
--- /dev/null
+MD5 75ba923d43a89f082250a02fc6b22656 grisbi-0.5.2pre1.tar.gz 940875
# Copyright 1999-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-office/grisbi/grisbi-0.5.0-r1.ebuild,v 1.7 2004/09/05 23:57:02 ciaranm Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-office/grisbi/grisbi-0.5.0-r1.ebuild,v 1.8 2004/10/08 15:32:30 seemant Exp $
inherit eutils
-IUSE="print"
+IUSE="print nls"
DESCRIPTION="Grisbi is a personal accounting application for Linux"
HOMEPAGE="http://www.grisbi.org"
unpack ${A}
# Apply location patchs
- ebegin "Applying Gentoo documention location patch"
+ ebegin "Applying Gentoo documentation location patch"
cd ${S}
for i in src/Makefile.am src/Makefile.in \
help/C/Makefile.am help/C/Makefile.in help/C/grisbi-manuel.html \
}
src_compile() {
- econf || die "configure failed"
+ econf `use_enable nls` || die "configure failed"
emake || die
}
--- /dev/null
+# Copyright 1999-2004 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-office/grisbi/grisbi-0.5.2_pre1.ebuild,v 1.1 2004/10/08 15:32:30 seemant Exp $
+
+inherit eutils
+
+IUSE="print nls ofx"
+
+MY_P=${P/_pre/pre}
+S=${WORKDIR}/${MY_P}
+
+DESCRIPTION="Grisbi is a personal accounting application for Linux"
+HOMEPAGE="http://www.grisbi.org"
+SRC_URI="mirror://sourceforge/grisbi/${MY_P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~x86 ~ppc ~amd64"
+
+DEPEND="dev-libs/libxml2
+ >=x11-libs/gtk+-2
+ ofx? ( dev-libs/libofx )"
+
+RDEPEND="${DEPEND}
+ print? ( virtual/tetex
+ dev-tex/latex-unicode )"
+
+pkg_setup() {
+ if ! use print; then
+ echo
+ einfo
+ einfo "NOTE: The USE variable 'print' is not in your USE flags."
+ einfo "For printing support in grisbi, you will need to restart"
+ einfo "the build with USE=\"print\""
+ einfo
+ echo
+ ebeep 5
+ fi
+}
+
+src_unpack() {
+
+ unpack ${A}
+
+ # Apply location patchs
+ ebegin "Applying Gentoo documentation location patch"
+ cd ${S}
+ for i in src/Makefile.am src/Makefile.in \
+ help/C/Makefile.am help/C/Makefile.in help/C/grisbi-manuel.html \
+ help/fr/Makefile.am help/fr/Makefile.in help/fr/grisbi-manuel.html
+ do
+ sed -i "s;doc/grisbi/help;doc/${PF}/help;g" ${i}
+ done
+ eend 0
+}
+
+src_compile() {
+
+ local myconf
+ myconf="`use_enable nls`"
+
+ econf ${myconf} || die "configure failed"
+ emake || die
+}
+
+src_install() {
+ einstall || die
+ dodoc AUTHORS COPYING ChangeLog NEWS README
+}
+
+pkg_postinst() {
+ pkg_setup
+
+ einfo "The first thing you should do is set up the browser command in"
+ einfo "preferences after you start up grisbi. Otherwise you will not"
+ einfo "be able to see the help and manuals"
+}