From 465d6cc328997e7a6d2ee8194190205e1ef7fbb0 Mon Sep 17 00:00:00 2001 From: Seemant Kulleen Date: Tue, 10 Oct 2006 14:37:10 +0000 Subject: [PATCH] remove postgresql support, in response to: https://bugs.gentoo.org/show_bug.cgi?id=146769#c9 Package-Manager: portage-2.1.2_pre2-r7 --- app-office/gnucash/ChangeLog | 9 +- app-office/gnucash/Manifest | 15 ++- .../gnucash/files/digest-gnucash-2.0.1-r1 | 6 + app-office/gnucash/gnucash-2.0.1-r1.ebuild | 109 ++++++++++++++++++ 4 files changed, 134 insertions(+), 5 deletions(-) create mode 100644 app-office/gnucash/files/digest-gnucash-2.0.1-r1 create mode 100644 app-office/gnucash/gnucash-2.0.1-r1.ebuild diff --git a/app-office/gnucash/ChangeLog b/app-office/gnucash/ChangeLog index 1d9ccabb1dd5..3d716795fa8d 100644 --- a/app-office/gnucash/ChangeLog +++ b/app-office/gnucash/ChangeLog @@ -1,6 +1,13 @@ # ChangeLog for app-office/gnucash # Copyright 2002-2006 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-office/gnucash/ChangeLog,v 1.94 2006/09/24 09:25:23 hansmi Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-office/gnucash/ChangeLog,v 1.95 2006/10/10 14:37:10 seemant Exp $ + +*gnucash-2.0.1-r1 (10 Oct 2006) + + 10 Oct 2006; Seemant Kulleen + +gnucash-2.0.1-r1.ebuild: + remove postgresql support, in response to: + https://bugs.gentoo.org/show_bug.cgi?id=146769#c9 24 Sep 2006; Michael Hanselmann gnucash-2.0.1.ebuild: Stable on ppc. diff --git a/app-office/gnucash/Manifest b/app-office/gnucash/Manifest index 06b600ff3f94..c4342b71a776 100644 --- a/app-office/gnucash/Manifest +++ b/app-office/gnucash/Manifest @@ -6,14 +6,18 @@ EBUILD gnucash-1.8.11.ebuild 3526 RMD160 d1c393b7e37949cb0478086015477e704104871 MD5 09c642e77b7eea7a5189bf6bba04b49e gnucash-1.8.11.ebuild 3526 RMD160 d1c393b7e37949cb0478086015477e704104871c gnucash-1.8.11.ebuild 3526 SHA256 6589c6ad9643af60ab0261b11ca034f774f50f420480fd5e1417197f43e581f9 gnucash-1.8.11.ebuild 3526 +EBUILD gnucash-2.0.1-r1.ebuild 3085 RMD160 d59cf680d78f9ec53727d8e292aa4e45f3f1c897 SHA1 9823c98a6618171f9bc6e201fb47e63c9bff03d4 SHA256 ee5a5bdb74f02f555e3cd002d9fcddbc323068eaa3be0441f344c67a441cb151 +MD5 30c53ccd1fee5477383e1ecf3ff71c6d gnucash-2.0.1-r1.ebuild 3085 +RMD160 d59cf680d78f9ec53727d8e292aa4e45f3f1c897 gnucash-2.0.1-r1.ebuild 3085 +SHA256 ee5a5bdb74f02f555e3cd002d9fcddbc323068eaa3be0441f344c67a441cb151 gnucash-2.0.1-r1.ebuild 3085 EBUILD gnucash-2.0.1.ebuild 2971 RMD160 a2fa8eecd60fbb18d0d00a04534e6fbf6240a9a6 SHA1 8b84171fab4f1ebeafddfec8b03ec987ebd45740 SHA256 4804eb96259e38db44dbeb5851177a5dacef0a230ed141bb3c69ac9a02d46d38 MD5 665d1c5eb36a81b7661475670c78e72d gnucash-2.0.1.ebuild 2971 RMD160 a2fa8eecd60fbb18d0d00a04534e6fbf6240a9a6 gnucash-2.0.1.ebuild 2971 SHA256 4804eb96259e38db44dbeb5851177a5dacef0a230ed141bb3c69ac9a02d46d38 gnucash-2.0.1.ebuild 2971 -MISC ChangeLog 14743 RMD160 f859e1e3524df4148694089f43f441de3ee15c54 SHA1 ee579118c40a07cbaf8136bf3467ac2745678f28 SHA256 8a03a1eaae2a0d9a250eb693561a3d1d82fe87ac299a7a5792146790b41e1d6b -MD5 ed74622eeac93f4330db9b28a77a1bc6 ChangeLog 14743 -RMD160 f859e1e3524df4148694089f43f441de3ee15c54 ChangeLog 14743 -SHA256 8a03a1eaae2a0d9a250eb693561a3d1d82fe87ac299a7a5792146790b41e1d6b ChangeLog 14743 +MISC ChangeLog 14955 RMD160 641c3ebe567f2b772a90e1daa746e3ca4a261315 SHA1 82c7c6e00f353408d419977c12c98a96702d6b0e SHA256 c906e68c9ba6b589dc29f28685402723161c9cac2d97d111df4a17fe1c50c71a +MD5 e156d4a57e89d025da53d6a9eadefe41 ChangeLog 14955 +RMD160 641c3ebe567f2b772a90e1daa746e3ca4a261315 ChangeLog 14955 +SHA256 c906e68c9ba6b589dc29f28685402723161c9cac2d97d111df4a17fe1c50c71a ChangeLog 14955 MISC metadata.xml 259 RMD160 ed12c8563569c0e9f00a7122116ce5770fe97094 SHA1 37d33c924314aee7466dd8c70f06d871a9ca48a2 SHA256 8809ada312cc9e36cd5394df53106996495d83b82759c10360f4b86936cb148c MD5 7a7f2ee070fc06a3289520b81a77a43a metadata.xml 259 RMD160 ed12c8563569c0e9f00a7122116ce5770fe97094 metadata.xml 259 @@ -24,3 +28,6 @@ SHA256 7049d25eae690467863158048b532e8049b54a8a5562e0265fcc21b3599c616b files/di MD5 c096848fcec9e5d099a0f0df1fec03d1 files/digest-gnucash-2.0.1 506 RMD160 70023eae80234a6f405c67c2d6da5613e6788b8b files/digest-gnucash-2.0.1 506 SHA256 1560ed9a23c1742fbb0b64798c3b406db8eca4d00132a8ba4f65fbf54efb5b87 files/digest-gnucash-2.0.1 506 +MD5 c096848fcec9e5d099a0f0df1fec03d1 files/digest-gnucash-2.0.1-r1 506 +RMD160 70023eae80234a6f405c67c2d6da5613e6788b8b files/digest-gnucash-2.0.1-r1 506 +SHA256 1560ed9a23c1742fbb0b64798c3b406db8eca4d00132a8ba4f65fbf54efb5b87 files/digest-gnucash-2.0.1-r1 506 diff --git a/app-office/gnucash/files/digest-gnucash-2.0.1-r1 b/app-office/gnucash/files/digest-gnucash-2.0.1-r1 new file mode 100644 index 000000000000..42989b3345e5 --- /dev/null +++ b/app-office/gnucash/files/digest-gnucash-2.0.1-r1 @@ -0,0 +1,6 @@ +MD5 627bdf6fab9152a1857e5bb8d4887f2a gnucash-2.0.1.tar.gz 10157876 +RMD160 580482709ef338c84f6d7b47f919c5b63ef61440 gnucash-2.0.1.tar.gz 10157876 +SHA256 4c52d0949fa010c1e51576f493903418db9675bbb884fe5d038617079108965e gnucash-2.0.1.tar.gz 10157876 +MD5 9a84f681330aa61ea1aa7448b87e86a4 gnucash-docs-2.0.0.tar.gz 9390564 +RMD160 e9e4ef7175cf2f02b587b0b0c49d34ca4d20fa2c gnucash-docs-2.0.0.tar.gz 9390564 +SHA256 926c94d19865b7da3c49d025ad15d7125c9a5b2a1d05d816234e73678f393cb7 gnucash-docs-2.0.0.tar.gz 9390564 diff --git a/app-office/gnucash/gnucash-2.0.1-r1.ebuild b/app-office/gnucash/gnucash-2.0.1-r1.ebuild new file mode 100644 index 000000000000..e8139be6508f --- /dev/null +++ b/app-office/gnucash/gnucash-2.0.1-r1.ebuild @@ -0,0 +1,109 @@ +# Copyright 1999-2006 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/app-office/gnucash/gnucash-2.0.1-r1.ebuild,v 1.1 2006/10/10 14:37:10 seemant Exp $ + +inherit eutils gnome2 + +DOC_VER="2.0.0" + +DESCRIPTION="A personal finance manager." +HOMEPAGE="http://www.gnucash.org/" +SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz + mirror://sourceforge/${PN}/${PN}-docs-${DOC_VER}.tar.gz" + +SLOT="0" +LICENSE="GPL-2" +KEYWORDS="~alpha ~amd64 ~ia64 ~ppc ~sparc ~x86" + +IUSE="ofx hbci chipcard doc debug quotes nls tetex" + +RDEPEND=">=dev-libs/glib-2.4.0 + >=dev-util/guile-1.6.4-r2 + >=dev-libs/slib-2.3.8 + >=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.3.4 + >=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 ) + tetex? ( app-text/tetex )" + +DEPEND="${RDEPEND} + doc? ( app-doc/doxygen ) + 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="$(use_enable graphviz dot)" + myconf="${myconf} $(use_enable tetex latex-docs)" + fi + + econf \ + $(use_enable debug) \ + $(use_enable ofx) \ + $(use_enable doc doxygen) \ + $(use_enable doc html-docs) \ + $(use_enable hbci) \ + --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