From d8b7b75b83b0fd4784cbb02af5aeb75be61d39c7 Mon Sep 17 00:00:00 2001 From: jschauma Date: Thu, 27 Feb 2003 04:08:24 +0000 Subject: Update gnucash to latest stable version 1.8.1. This update is based on patches provided by Ron Roskens (roskens at elfin dot net) in PR pkg/20271 and his posts to tech-pkg@. Furthermore, this update fixes PR pkg/20109 by Bill Sommerfeld. Changes since our last version include: * src/register/ledger-core/split-register-control.c If we're expanded, ignore TRANS cursor classes. This prevents a bug where the exchange-rate dialog is realized when there really is nothing to do (because we're in an expanded transaction). * src/register/ledger-core/split-register-model.c Don't PERR() if we have no account -- this prevents annoying messages when handling multi-currency txns in the GL. Note: all GL txns are displayed in the locale currency (if possible). * src/register/ledger-core/split-register.c AUTO_LEDGER and JOURNAL register types _ARE_ expanded -- return TRUE, not FALSE. * src/report/standard-report/advanced-portfolio.scm: add extra arguments to prevent scheme crash. * src/gnome/glade/sched-xact.glade: Need to start the Editor dialog as non-visible so the ledger get's sized properly * src/gnome/dialog-scheduledxaction.c: resize the cal after the dialog is shown, so it get's sized properly. * src/register/register-gnome/gnucash-style.c: temporary fix to prevent 105346, until a real fix can be created. There is still a visual artifact leftover, but at least it doesn't crash. * src/scm/tip-list.scm: remove the tip that says that this is a development version. (Thanks, pogma) * src/scm/command-line.scm: remove the "development version" string when running "gnucash --version" * src/import-export/import-backend.c: Add heuristic for duplicate matching by check number. * doc/README.OFX: Update * src/engine/gnc-lot-p.h: some strange platforms assume "char" is 0..255 instead of -128..127. Force a "signed char" to make sure we get the latter interpretation. * src/app-utils/gnc-ui-utils.c: Don't round unless force_fit is true. Fixes Debian Bug #179802. * src/bin/overrides/gnucash-build-env.in: add business-utils * src/business/business-utils/Makefile.am: make scm-links so you can run gnucash from within the build tree * po/it.po: Updated Italian translation by Lorenzo Cappelletti . * src/import-export/qif-import/qif-file.scm: mark "splits" as negative to make sure the numbers are reflected appropriately. * src/import-export/qif-import/qif-objects.scm: add a neg? value to a qif-split; use this when converting the split-amount. Fixes bug #105179 * src/calculation/Makefile.am: need to add GUILE_INCS * src/engine/Makefile.am: add ${INTLLIBS} for gettext() et al on platforms that don't have it in libc * src/backend/file/io-gncbin-r.c: don't need to define functions that are never used, so move the #ifdef around. Fixes # 105124 * src/import-export/qif-import/qif-file.scm: fix a wrong-number-of-arguments fatal crash when trying to reparse dates. * src/scm/main.scm: turn off devel version message --- finance/gnucash/Makefile | 37 +++++++++++++++++++++++++++++++------ 1 file changed, 31 insertions(+), 6 deletions(-) (limited to 'finance/gnucash/Makefile') diff --git a/finance/gnucash/Makefile b/finance/gnucash/Makefile index fbcc9c23eef..31539af5326 100644 --- a/finance/gnucash/Makefile +++ b/finance/gnucash/Makefile @@ -1,7 +1,6 @@ -# $NetBSD: Makefile,v 1.37 2003/02/23 13:03:06 jmmv Exp $ +# $NetBSD: Makefile,v 1.38 2003/02/27 04:08:24 jschauma Exp $ -DISTNAME= gnucash-1.6.8 -PKGREVISION= 3 +DISTNAME= gnucash-1.8.1 CATEGORIES= finance MASTER_SITES= ftp://ftp.gnucash.org/pub/gnucash/sources/stable/ \ ${MASTER_SITE_SOURCEFORGE:=gnucash/} @@ -10,8 +9,9 @@ MAINTAINER= packages@netbsd.org HOMEPAGE= http://www.gnucash.org/ COMMENT= Personal double-entry accounting program -BUILDLINK_DEPENDS.g-wrap= g-wrap>=1.2.1:../../devel/g-wrap -BUILDLINK_DEPENDS.g-wrap+= g-wrap<1.3.0:../../devel/g-wrap +DEPENDS+= p5-finance-quote>=1.06:../../finance/p5-finance-quote + +BUILDLINK_DEPENDS.g-wrap= g-wrap>=1.3.4:../../devel/g-wrap BUILDLINK_DEPENDS.guile14= guile14>=1.4:../../lang/guile14 BUILDLINK_DEPENDS.guile14+= guile14<1.5.0:../../lang/guile14 BUILD_DEPENDS+= bison>=1.28:../../devel/bison @@ -44,15 +44,40 @@ post-buildlink: fi .endif +GNUCASH_GUILE_MAKEFILE_IN_FILES= \ + src/app-file/Makefile.in src/app-utils/Makefile.in \ + src/business/business-core/Makefile.in \ + src/business/business-gnome/Makefile.in \ + src/business/dialog-tax-table/Makefile.in \ + src/core-utils/Makefile.in \ + src/engine/Makefile.in \ + src/gnc-module/Makefile.in \ + src/gnc-module/test/mod-bar/Makefile.in \ + src/gnc-module/test/mod-baz/Makefile.in \ + src/gnc-module/test/mod-foo/Makefile.in \ + src/gnome-search/Makefile.in \ + src/gnome-utils/Makefile.in \ + src/gnome/Makefile.in \ + src/import-export/binary-import/Makefile.in \ + src/register/register-core/Makefile.in \ + src/report/report-gnome/Makefile.in + +post-patch: + cd ${WRKSRC}; \ + for f in ${GNUCASH_GUILE_MAKEFILE_IN_FILES}; do \ + ${MV} $$f $$f.orig; \ + ${SED} -e 's|gnome guile|gnome $${GUILE}|g' $$f.orig > $$f; \ + done + .include "../../converters/libiconv/buildlink2.mk" .include "../../devel/gal/buildlink2.mk" .include "../../devel/gettext-lib/buildlink2.mk" .include "../../devel/glib/buildlink2.mk" .include "../../devel/g-wrap/buildlink2.mk" .include "../../devel/libglade/buildlink2.mk" +.include "../../devel/pkgconfig/buildlink2.mk" .include "../../devel/popt/buildlink2.mk" .include "../../devel/swig/buildlink2.mk" -.include "../../devel/pkgconfig/buildlink2.mk" .include "../../graphics/gdk-pixbuf/buildlink2.mk" .include "../../lang/guile14/buildlink2.mk" .include "../../math/guppi/buildlink2.mk" -- cgit v1.2.3