diff options
author | Alastair Tse <liquidx@gentoo.org> | 2003-05-18 09:32:06 +0000 |
---|---|---|
committer | Alastair Tse <liquidx@gentoo.org> | 2003-05-18 09:32:06 +0000 |
commit | ca7b47eee812efd39f05d063f13a1eea703ad127 (patch) | |
tree | 65d8123cc6b5d800a71c7965f3d429a7af95ef8e /app-office/gnucash | |
parent | fix for qif import (diff) | |
download | gentoo-2-ca7b47eee812efd39f05d063f13a1eea703ad127.tar.gz gentoo-2-ca7b47eee812efd39f05d063f13a1eea703ad127.tar.bz2 gentoo-2-ca7b47eee812efd39f05d063f13a1eea703ad127.zip |
fix for qif import
Diffstat (limited to 'app-office/gnucash')
-rw-r--r-- | app-office/gnucash/ChangeLog | 8 | ||||
-rw-r--r-- | app-office/gnucash/Manifest | 4 | ||||
-rw-r--r-- | app-office/gnucash/files/digest-gnucash-1.8.3-r1 | 2 | ||||
-rw-r--r-- | app-office/gnucash/files/gnucash-1.8.3-qif-file.patch | 11 | ||||
-rw-r--r-- | app-office/gnucash/gnucash-1.8.3-r1.ebuild | 110 |
5 files changed, 132 insertions, 3 deletions
diff --git a/app-office/gnucash/ChangeLog b/app-office/gnucash/ChangeLog index f55cddcecc8f..54fa1d771a57 100644 --- a/app-office/gnucash/ChangeLog +++ b/app-office/gnucash/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for app-office/gnucash # Copyright 2002-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-office/gnucash/ChangeLog,v 1.23 2003/05/16 17:36:12 foser Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-office/gnucash/ChangeLog,v 1.24 2003/05/18 09:31:57 liquidx Exp $ + +*gnucash-1.8.3-r1 (18 May 2003) + + 18 May 2003; Alastair Tse <liquidx@gentoo.org> gnucash-1.8.3-r1.ebuild, + files/gnucash-1.8.3-qif-file.patch: + adds fix for qif import thanks to Chris Lyttle (#17277) *gnucash-1.8.3 (14 May 2003) diff --git a/app-office/gnucash/Manifest b/app-office/gnucash/Manifest index df696bd621e6..150b6f50784b 100644 --- a/app-office/gnucash/Manifest +++ b/app-office/gnucash/Manifest @@ -1,9 +1,9 @@ -MD5 fcf0fb21c38630fbc7ba5c44496a043d ChangeLog 4070 +MD5 cc2efa16c589ec2c569a5a466dcd33cd ChangeLog 4072 MD5 b8e0eec1a6bcd963f2ce26db9abf9b9f gnucash-1.8.1.ebuild 1455 MD5 54902cd500c04f0659cd9a7d3438f1cd gnucash-1.8.2.ebuild 1546 MD5 7d1c851062c5082d57cda39101ca1e8a gnucash-1.6.8.ebuild 1902 MD5 283f9e5907c2337f6516e9fa81cbc48c gnucash-1.8.2-r1.ebuild 2718 -MD5 7b4137c88d6b2ce199b531b07fdecd37 gnucash-1.8.3-r1.ebuild 2717 +MD5 b790010032b6a0c476e8242236f53829 gnucash-1.8.3-r1.ebuild 2720 MD5 7e5e1bb02bd5c517c2141e43d5189947 gnucash-1.8.3.ebuild 2646 MD5 e298b9154a60df27ab519e6b88dd4c47 files/digest-gnucash-1.8.1 66 MD5 cdaa1f2adfbd3112916a8c2076fa04bd files/digest-gnucash-1.8.2 66 diff --git a/app-office/gnucash/files/digest-gnucash-1.8.3-r1 b/app-office/gnucash/files/digest-gnucash-1.8.3-r1 new file mode 100644 index 000000000000..cd2101d5a6b3 --- /dev/null +++ b/app-office/gnucash/files/digest-gnucash-1.8.3-r1 @@ -0,0 +1,2 @@ +MD5 aa299733e3827800077e6352d025bbae gnucash-1.8.3.tar.gz 6805055 +MD5 c547c36737ae189ab7ad516d132b807e gnucash-docs-1.8.1.tar.gz 1256883 diff --git a/app-office/gnucash/files/gnucash-1.8.3-qif-file.patch b/app-office/gnucash/files/gnucash-1.8.3-qif-file.patch new file mode 100644 index 000000000000..98552f1a050b --- /dev/null +++ b/app-office/gnucash/files/gnucash-1.8.3-qif-file.patch @@ -0,0 +1,11 @@ +--- gnucash-1.8.3/src/import-export/qif-import/qif-file.scm 2003-05-17 20:01:50.000000000 +0100 ++++ gnucash-1.8.3/src/import-export/qif-import/qif-file.scm 2003-05-17 20:02:04.000000000 +0100 +@@ -18,7 +18,7 @@ + (else (use-modules (ice-9 rdelim)))) + + (define qif-bad-numeric-rexp +- (make-regexp "^\.\.\.")) ++ (make-regexp "^\\.\\.\\.")) + + (define (not-bad-numeric-string? input) + (if (regexp-exec qif-bad-numeric-rexp input) #f #t)) diff --git a/app-office/gnucash/gnucash-1.8.3-r1.ebuild b/app-office/gnucash/gnucash-1.8.3-r1.ebuild new file mode 100644 index 000000000000..203a89d8110a --- /dev/null +++ b/app-office/gnucash/gnucash-1.8.3-r1.ebuild @@ -0,0 +1,110 @@ +# Copyright 1999-2002 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/app-office/gnucash/gnucash-1.8.3-r1.ebuild,v 1.1 2003/05/18 09:31:57 liquidx Exp $ + +inherit flag-o-matic libtool + +# won't configure with this +filter-flags -fomit-frame-pointer + +DOC_VER="1.8.1" +IUSE="nls postgres ofx hbci doc" + +DESCRIPTION="A personal finance manager" +SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz + doc? ( mirror://sourceforge/${PN}/${PN}-docs-${DOC_VER}.tar.gz )" +HOMEPAGE="http://www.gnucash.org/" + +KEYWORDS="~x86" +SLOT="0" +LICENSE="GPL-2" + +RDEPEND=">=gnome-base/gnome-libs-1.4.1.2-r1 + >=dev-util/guile-1.6 + >=dev-libs/slib-2.3.8 + >=media-libs/libpng-1.0.9 + >=media-libs/jpeg-6b + >=sys-libs/zlib-1.1.4 + >=media-libs/xpm-3.4 + >=gnome-base/gnome-print-0.21 + media-libs/gdk-pixbuf + >=gnome-extra/gtkhtml-0.14.0 + =gnome-extra/gal-0* + >=dev-libs/libxml-1.8.3 + >=dev-libs/g-wrap-1.3.3 + >=gnome-extra/guppi-0.35.5-r2 + >=dev-libs/popt-1.5 + + =sys-libs/db-1* + hbci? ( >=net-libs/openhbci-0.9.6 ) + ofx? ( >=dev-libs/libofx-0.6.4 ) + postgres? ( dev-db/postgresql )" + +DEPEND="${RDEPEND} + >=dev-lang/perl-5 + >=dev-libs/slib-2.3.8 + >=dev-lang/swig-1.3_alpha4 + <gnome-base/libglade-2 + gnome-base/libghttp + nls? ( sys-devel/gettext ) + doc? ( >=app-text/scrollkeeper-0.3.1 + app-text/docbook-xsl-stylesheets )" + +MAKEOPTS="${MAKEOPTS} -j1" + +src_unpack() { + unpack ${A} + epatch ${FILESDIR}/${P}-qif-file.patch +} + +src_compile() { + elibtoolize + local myconf="" + + # allow warnings to go unheeded + myconf="--enable-compile-warnings=no --disable-error-on-warning" + + use postgres && myconf="${myconf} --enable-sql" + + econf \ + `use_enable nls` \ + `use_enable ofx` \ + `use_enable hbci` \ + ${myconf} || die "configure failed" + + emake || die "make failed" + + if [ -n "`use doc`" ]; then + cd ${WORKDIR}/${PN}-docs-${DOC_VER} + econf --localstatedir=/var/lib || die "doc configure failed" + emake || die "doc make failed" + fi +} + +src_install() { + einstall pkgdatadir=${D}/usr/share/gnucash || die "install failed" + dodoc ABOUT-NLS AUTHORS COPYING ChangeLog HACKING NEWS README* TODO + dodoc docs/README* + + if [ -n "`use doc`" ]; then + cd ${WORKDIR}/${PN}-docs-${DOC_VER} + make DESTDIR=${D} \ + scrollkeeper_localstate_dir=${D}/var/lib/scrollkeeper \ + install || die "doc install failed" + rm -rf ${D}/var/lib/scrollkeeper + fi +} + +pkg_postinst() { + if [ -x ${ROOT}/usr/bin/scrollkeeper-update ]; then + echo ">>> Updating Scrollkeeper" + scrollkeeper-update -q -p ${ROOT}/var/lib/scrollkeeper + fi +} + +pkg_postrm() { + if [ -x ${ROOT}/usr/bin/scrollkeeper-update ]; then + echo ">>> Updating Scrollkeeper" + scrollkeeper-update -q -p ${ROOT}/var/lib/scrollkeeper + fi +} |