Version bump; adds support for ofx and nls USE flags. Ebuild by: Guillaume Castagnin...
authorSeemant Kulleen <seemant@gentoo.org>
Fri, 8 Oct 2004 15:32:30 +0000 (15:32 +0000)
committerSeemant Kulleen <seemant@gentoo.org>
Fri, 8 Oct 2004 15:32:30 +0000 (15:32 +0000)
app-office/grisbi/ChangeLog
app-office/grisbi/Manifest
app-office/grisbi/files/digest-grisbi-0.5.2_pre1 [new file with mode: 0644]
app-office/grisbi/grisbi-0.5.0-r1.ebuild
app-office/grisbi/grisbi-0.5.2_pre1.ebuild [new file with mode: 0644]

index 7d1259a04d87933d563ce0fda67cb6edc167331a..beb3c6448a84db336f6d9eb280da03a38ca17350 100644 (file)
@@ -1,6 +1,13 @@
 # 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
index 84d8ed1bd9baf9066e8d5875dc81dc3ccf5a5844..715d9bec5beafbd068f4cc0b547ad026d7783bbc 100644 (file)
@@ -1,14 +1,6 @@
------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
diff --git a/app-office/grisbi/files/digest-grisbi-0.5.2_pre1 b/app-office/grisbi/files/digest-grisbi-0.5.2_pre1
new file mode 100644 (file)
index 0000000..34e3058
--- /dev/null
@@ -0,0 +1 @@
+MD5 75ba923d43a89f082250a02fc6b22656 grisbi-0.5.2pre1.tar.gz 940875
index fd816c5ef639ab2d882981562f0280c59918e671..dc36ef94e0fb318dd163f959845e47d505dd4660 100644 (file)
@@ -1,10 +1,10 @@
 # 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"
@@ -40,7 +40,7 @@ src_unpack() {
        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 \
@@ -52,7 +52,7 @@ src_unpack() {
 }
 
 src_compile() {
-       econf || die "configure failed"
+       econf `use_enable nls` || die "configure failed"
        emake || die
 }
 
diff --git a/app-office/grisbi/grisbi-0.5.2_pre1.ebuild b/app-office/grisbi/grisbi-0.5.2_pre1.ebuild
new file mode 100644 (file)
index 0000000..c25fca8
--- /dev/null
@@ -0,0 +1,77 @@
+# 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"
+}