From a8238dd7eddf95b1e503e4f530b0ee8b927711f2 Mon Sep 17 00:00:00 2001 From: Seemant Kulleen Date: Fri, 2 Feb 2007 06:29:12 +0000 Subject: [PATCH] we now depend on guile, generically, with the condition that the regex USE flag must be enabled for guile-1.8. The revision bump is to recompile against guile-1.8. This should close out bug #163914 Package-Manager: portage-2.1.2-r5 --- app-office/gnucash/ChangeLog | 10 +- app-office/gnucash/Manifest | 15 ++- .../gnucash/files/digest-gnucash-2.0.4-r1 | 6 + app-office/gnucash/gnucash-2.0.4-r1.ebuild | 112 ++++++++++++++++++ 4 files changed, 138 insertions(+), 5 deletions(-) create mode 100644 app-office/gnucash/files/digest-gnucash-2.0.4-r1 create mode 100644 app-office/gnucash/gnucash-2.0.4-r1.ebuild diff --git a/app-office/gnucash/ChangeLog b/app-office/gnucash/ChangeLog index 30a7a611c185..272d5f367d30 100644 --- a/app-office/gnucash/ChangeLog +++ b/app-office/gnucash/ChangeLog @@ -1,6 +1,14 @@ # ChangeLog for app-office/gnucash # Copyright 2002-2007 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-office/gnucash/ChangeLog,v 1.119 2007/01/28 22:59:35 weeve Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-office/gnucash/ChangeLog,v 1.120 2007/02/02 06:29:12 seemant Exp $ + +*gnucash-2.0.4-r1 (02 Feb 2007) + + 02 Feb 2007; Seemant Kulleen + +gnucash-2.0.4-r1.ebuild: + we now depend on guile, generically, with the condition that the regex USE + flag must be enabled for guile-1.8. The revision bump is to recompile + against guile-1.8. This should close out bug #163914 28 Jan 2007; Jason Wever gnucash-2.0.4.ebuild: Added ~sparc keyword wrt bug #163735. diff --git a/app-office/gnucash/Manifest b/app-office/gnucash/Manifest index d9a7806695d1..b356c4905cac 100644 --- a/app-office/gnucash/Manifest +++ b/app-office/gnucash/Manifest @@ -11,14 +11,18 @@ EBUILD gnucash-2.0.2.ebuild 3067 RMD160 b5de18ec9d290d25a7cf9c675df4a4e3dc9922c9 MD5 88e2849898d965e0800ad221d6ee519d gnucash-2.0.2.ebuild 3067 RMD160 b5de18ec9d290d25a7cf9c675df4a4e3dc9922c9 gnucash-2.0.2.ebuild 3067 SHA256 58430ee7ee2b816eb35bdb2c0ac37e5464ba91012f0b0b9995ce6428c8c60c56 gnucash-2.0.2.ebuild 3067 +EBUILD gnucash-2.0.4-r1.ebuild 3073 RMD160 6e08331864f4e7667fc7c7d09500717f0bbb2046 SHA1 3e6a6d4a2ce66c47f1b7e2ce0a285a6a86ec2a25 SHA256 5411aec477098c3893d08cb3341cbe43c3089b5cc956b075522736ca16ef4ef3 +MD5 e764d8d69fe70a50268fd9977851cffe gnucash-2.0.4-r1.ebuild 3073 +RMD160 6e08331864f4e7667fc7c7d09500717f0bbb2046 gnucash-2.0.4-r1.ebuild 3073 +SHA256 5411aec477098c3893d08cb3341cbe43c3089b5cc956b075522736ca16ef4ef3 gnucash-2.0.4-r1.ebuild 3073 EBUILD gnucash-2.0.4.ebuild 3074 RMD160 b36e9bc3b499ff6c801426b73453f132dafa1e4a SHA1 3b5f5cc2e3e04d3acd92c78ff8440c1386cf5a9f SHA256 68c5e52780aa3d7f1fd6787136007c50cccafc8facb899e324e053e4c681255a MD5 eb65f0677fb3bd25f97e454d72bc807c gnucash-2.0.4.ebuild 3074 RMD160 b36e9bc3b499ff6c801426b73453f132dafa1e4a gnucash-2.0.4.ebuild 3074 SHA256 68c5e52780aa3d7f1fd6787136007c50cccafc8facb899e324e053e4c681255a gnucash-2.0.4.ebuild 3074 -MISC ChangeLog 18319 RMD160 a1c26239b936aafb308751bebbd2f3d19a7d9b49 SHA1 73a1b8c6c92bdc380752d752422310d42571c1c1 SHA256 e7a24a90b99e34d9543dcd70ce233d01ade7ab604e11e1a329ac8136a91734a4 -MD5 8fe0e6f02cfdca0b20bf042f1bc5f3c2 ChangeLog 18319 -RMD160 a1c26239b936aafb308751bebbd2f3d19a7d9b49 ChangeLog 18319 -SHA256 e7a24a90b99e34d9543dcd70ce233d01ade7ab604e11e1a329ac8136a91734a4 ChangeLog 18319 +MISC ChangeLog 18639 RMD160 d3ba590c8106a138cb22ba78efe89d9e1f7cd22c SHA1 cf43e3e51032bf0039bfe92b7117a94f31ba82ab SHA256 c441e140ad332ec43d3d989119a8d906695900703c92387cffa54057e7626335 +MD5 77bc10fa40ad2773c8cd69afd96e7191 ChangeLog 18639 +RMD160 d3ba590c8106a138cb22ba78efe89d9e1f7cd22c ChangeLog 18639 +SHA256 c441e140ad332ec43d3d989119a8d906695900703c92387cffa54057e7626335 ChangeLog 18639 MISC metadata.xml 259 RMD160 ed12c8563569c0e9f00a7122116ce5770fe97094 SHA1 37d33c924314aee7466dd8c70f06d871a9ca48a2 SHA256 8809ada312cc9e36cd5394df53106996495d83b82759c10360f4b86936cb148c MD5 7a7f2ee070fc06a3289520b81a77a43a metadata.xml 259 RMD160 ed12c8563569c0e9f00a7122116ce5770fe97094 metadata.xml 259 @@ -32,3 +36,6 @@ SHA256 b75eb31c6cc8a8a0c45e82255d02d3f42cfc0839b70b4b0cd2513c45c543271a files/di MD5 c9b1d46485c3e67ebced0894ac7f2a6b files/digest-gnucash-2.0.4 509 RMD160 31ea9d4cafeb2239106097490e351e9517bd35c7 files/digest-gnucash-2.0.4 509 SHA256 7173b438f208eb862e6404d9d77d5ba8af4b90a1eeda9957917b39138debc59f files/digest-gnucash-2.0.4 509 +MD5 c9b1d46485c3e67ebced0894ac7f2a6b files/digest-gnucash-2.0.4-r1 509 +RMD160 31ea9d4cafeb2239106097490e351e9517bd35c7 files/digest-gnucash-2.0.4-r1 509 +SHA256 7173b438f208eb862e6404d9d77d5ba8af4b90a1eeda9957917b39138debc59f files/digest-gnucash-2.0.4-r1 509 diff --git a/app-office/gnucash/files/digest-gnucash-2.0.4-r1 b/app-office/gnucash/files/digest-gnucash-2.0.4-r1 new file mode 100644 index 000000000000..7169d56b95bb --- /dev/null +++ b/app-office/gnucash/files/digest-gnucash-2.0.4-r1 @@ -0,0 +1,6 @@ +MD5 5755b05a3eaebab392fe9ad49073beb2 gnucash-2.0.4.tar.bz2 7355992 +RMD160 8a0ef12f5e670585f1a674eebc65c3a3c4668a78 gnucash-2.0.4.tar.bz2 7355992 +SHA256 6c3515743f1e08e32cd0aae101feba39aea072a5c2e5a0cc8338f7df78b5ace2 gnucash-2.0.4.tar.bz2 7355992 +MD5 ffc058efd0283a4b43ca31980c40db49 gnucash-docs-2.0.1.tar.bz2 9262237 +RMD160 f2b00a5ce745921ea4e8a2360baff13aaf3fc083 gnucash-docs-2.0.1.tar.bz2 9262237 +SHA256 f39e6248fef20c761c74b534024869952e26b98879930b3a675178fd3d5260ff gnucash-docs-2.0.1.tar.bz2 9262237 diff --git a/app-office/gnucash/gnucash-2.0.4-r1.ebuild b/app-office/gnucash/gnucash-2.0.4-r1.ebuild new file mode 100644 index 000000000000..2fc6246e4b30 --- /dev/null +++ b/app-office/gnucash/gnucash-2.0.4-r1.ebuild @@ -0,0 +1,112 @@ +# Copyright 1999-2007 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/app-office/gnucash/gnucash-2.0.4-r1.ebuild,v 1.1 2007/02/02 06:29:12 seemant Exp $ + +inherit eutils gnome2 + +DOC_VER="2.0.1" + +DESCRIPTION="A personal finance manager." +HOMEPAGE="http://www.gnucash.org/" +SRC_URI="mirror://sourceforge/${PN}/${P}.tar.bz2 + mirror://sourceforge/${PN}/${PN}-docs-${DOC_VER}.tar.bz2" + +SLOT="0" +LICENSE="GPL-2" +KEYWORDS="~amd64 ~sparc ~x86" + +IUSE="ofx hbci chipcard doc debug quotes nls" + +RDEPEND=">=dev-libs/glib-2.4.0 + dev-scheme/guile + =dev-scheme/slib-3.1.1* + >=sys-libs/zlib-1.1.4 + >=dev-libs/popt-1.5 + >=x11-libs/gtk+-2.4 + >=gnome-base/libgnomeui-2.4 + >=gnome-base/libgnomeprint-2.10 + >=gnome-base/libgnomeprintui-2.10 + >=gnome-base/libglade-2.4 + >=gnome-extra/gtkhtml-3.10.1 + >=dev-libs/libxml2-2.5.10 + =dev-libs/g-wrap-1.9.6* + >=gnome-base/gconf-2 + >=app-text/scrollkeeper-0.3 + >=x11-libs/goffice-0.0.4 + gnome-extra/yelp + ofx? ( >=dev-libs/libofx-0.7.0 ) + hbci? ( net-libs/aqbanking + chipcard? ( sys-libs/libchipcard ) + ) + quotes? ( dev-perl/DateManip + >=dev-perl/Finance-Quote-1.11 + dev-perl/HTML-TableExtract ) + app-text/docbook-xsl-stylesheets + =app-text/docbook-xml-dtd-4.1.2* + nls? ( dev-util/intltool )" + +DEPEND="${RDEPEND} + doc? ( app-doc/doxygen + media-gfx/graphviz + virtual/tetex ) + dev-util/pkgconfig" + +pkg_setup() { + built_with_use gnome-extra/libgsf gnome || die "gnome-extra/libgsf must be built with gnome" + built_with_use x11-libs/goffice gnome || die "x11-libs/goffice must be built with gnome" +} + +src_compile() { + + local myconf + + if use doc ; then + myconf="${myconf} --enable-latex-docs" + fi + + + econf \ + $(use_enable debug) \ + $(use_enable ofx) \ + $(use_enable doc doxygen) \ + $(use_enable doc html-docs) \ + $(use_enable doc dot) \ + $(use_enable hbci) \ + $(use_enable hbci mt940) \ + --enable-locale-specific-tax \ + ${myconf} || die "econf failed" + + MAKEOPTS="-j1" + emake || die "emake failed" + + cd "${WORKDIR}/gnucash-docs-${DOC_VER}" + econf || die "doc econf failed" + emake || die "doc emake failed" +} + +src_test() { + einfo "Skipping tests because one of the upstream tests is broken" + einfo "Please reference: https://bugs.gentoo.org/show_bug.cgi?id=146769#c1" + einfo "We have a filed a bug upstream. When that is resolved," + einfo "We will re-enable the tests." +} + +# See http://bugs.gentoo.org/show_bug.cgi?id=132862 regarding gconf schema install + +src_install() { + gnome2_src_install || die "gnome2_src_install failed" + dodoc AUTHORS ChangeLog* DOCUMENTERS HACKING INSTALL NEWS TODO README* doc/README* + make_desktop_entry ${P} "GnuCash ${PV}" gnucash-icon.png "GNOME;Office;Finance" + + 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" +} + +pkg_postinst() { + elog "Please note that postgresql support has been removed." + elog "Please see: https://bugs.gentoo.org/show_bug.cgi?id=146769#c9" + elog "for an explanation." +} -- 2.26.2