diff options
author | mellon <mellon@pkgsrc.org> | 1999-01-23 03:56:11 +0000 |
---|---|---|
committer | mellon <mellon@pkgsrc.org> | 1999-01-23 03:56:11 +0000 |
commit | 725c75951a6e15d7ea9dd98b01c6d641a9daf32e (patch) | |
tree | eb55161b98661af12be0713cbddef53d1a840997 /misc | |
parent | 81fe7fd3e09ae6e0d5bc7e39005dab1dcf9b4e33 (diff) | |
download | pkgsrc-725c75951a6e15d7ea9dd98b01c6d641a9daf32e.tar.gz |
GNUcash: a personal accounting package, along the lines of Quicken.
Diffstat (limited to 'misc')
-rw-r--r-- | misc/gnucash/Makefile | 24 | ||||
-rw-r--r-- | misc/gnucash/files/md5 | 3 | ||||
-rw-r--r-- | misc/gnucash/patches/patch-aa | 253 | ||||
-rw-r--r-- | misc/gnucash/pkg/COMMENT | 1 | ||||
-rw-r--r-- | misc/gnucash/pkg/DESCR | 5 | ||||
-rw-r--r-- | misc/gnucash/pkg/PLIST | 91 |
6 files changed, 377 insertions, 0 deletions
diff --git a/misc/gnucash/Makefile b/misc/gnucash/Makefile new file mode 100644 index 00000000000..682a389ba99 --- /dev/null +++ b/misc/gnucash/Makefile @@ -0,0 +1,24 @@ +# $NetBSD: Makefile,v 1.1.1.1 1999/01/23 03:56:11 mellon Exp $ +# + +DISTNAME= gnucash-1.1.25 +CATEGORIES= misc +MASTER_SITES= ftp://ftp.gnucash.org/pub/gnucash/ + +MAINTAINER= mellon@isc.org +HOMEPAGE= http://www.gnucash.org/ + +DEPENDS += xpm-3.4k:../../graphics/xpm +DEPENDS += jpeg-6b:../../graphics/jpeg +DEPENDS += lesstif-0.87.1:../../x11/lesstif +DEPENDS += swig-1.1p5:../../devel/swig +DEPENDS += eperl-2.2.14:../../textproc/eperl +DEPENDS += XmHTML-1.1.5:../../x11/XmHTML +DEPENDS += guile-1.3:../../lang/guile +DEPENDS += libperl-5.00404:../../lang/libperl + +GNU_CONFIGURE= yes +CONFIGURE_ARGS+= --with-guile=${PREFIX} --with-perl-includes=${PREFIX}/lib/perl5/${MACHINE_ARCH}-netbsd/5.00404/CORE +USE_GMAKE= yes + +.include "../../mk/bsd.pkg.mk" diff --git a/misc/gnucash/files/md5 b/misc/gnucash/files/md5 new file mode 100644 index 00000000000..743aebcb284 --- /dev/null +++ b/misc/gnucash/files/md5 @@ -0,0 +1,3 @@ +$NetBSD: md5,v 1.1.1.1 1999/01/23 03:56:11 mellon Exp $ + +MD5 (gnucash-1.1.25.tar.gz) = ea9f138fc7fc6bbd3c5ef75e4bf6441e diff --git a/misc/gnucash/patches/patch-aa b/misc/gnucash/patches/patch-aa new file mode 100644 index 00000000000..192ea07c341 --- /dev/null +++ b/misc/gnucash/patches/patch-aa @@ -0,0 +1,253 @@ +$NetBSD: patch-aa,v 1.1.1.1 1999/01/23 03:56:11 mellon Exp $ + +diff -rc2 --exclude=Makefile Makefile.in Makefile.in +*** Makefile.in Tue Jan 5 23:58:02 1999 +--- Makefile.in Fri Jan 22 22:01:40 1999 +*************** +*** 34,46 **** + # install -- installs everything + +! default: +! @echo " " +! @echo "Please choose one of the following targets:" +! @echo "motif dynamically linked motif version" +! @echo "motif-static statically linked motif version" +! @echo "gnome gnome/gtk version" +! @echo "gnome-static gnome/gtk statically linked version" +! @echo "qt kde/qt version" +! @echo " " + + # This inclusion must come after the first target, and after the +--- 34,38 ---- + # install -- installs everything + +! all: motif + + # This inclusion must come after the first target, and after the +*************** +*** 84,88 **** + DIST_TRASH += config.cache config.log config.status config.h + +! tagsfiles := $(shell find -name "*.[ch]") + + TAGS: ${tagsfiles} +--- 84,88 ---- + DIST_TRASH += config.cache config.log config.status config.h + +! tagsfiles := $(shell find . -name "*.[ch]") + + TAGS: ${tagsfiles} +*************** +*** 114,123 **** + -e ${GNC_BINDIR}/gnucash.qt \ + ] + $(INSTALL_DATA) src/quotes/gnc-prices ${GNC_LIBDIR} + +! @mkdir -p ${GNC_LIBDIR} +! $(INSTALL_DATA) src/swig/perl5/gnucash.pm ${GNC_LIBDIR} +! $(INSTALL_DATA) src/swig/perl5/gnucash.so ${GNC_LIBDIR} +! $(INSTALL_DATA) src/swig/perl5/Quote.pm ${GNC_LIBDIR} + + @mkdir -p ${GNC_DOCDIR} +--- 114,123 ---- + -e ${GNC_BINDIR}/gnucash.qt \ + ] ++ @mkdir -p ${GNC_LIBDIR} + $(INSTALL_DATA) src/quotes/gnc-prices ${GNC_LIBDIR} + +! # $(INSTALL_DATA) src/swig/perl5/gnucash.pm ${GNC_LIBDIR} +! # $(INSTALL_DATA) src/swig/perl5/gnucash.so ${GNC_LIBDIR} +! # $(INSTALL_DATA) src/swig/perl5/Quote.pm ${GNC_LIBDIR} + + @mkdir -p ${GNC_DOCDIR} +diff -rc2 --exclude=Makefile src/engine/Scrub.c src/engine/Scrub.c +*** src/engine/Scrub.c Sat Dec 26 22:07:41 1998 +--- src/engine/Scrub.c Fri Jan 22 12:10:11 1999 +*************** +*** 29,33 **** +--- 29,35 ---- + \********************************************************************/ + ++ #if 0 + #include <nana.h> ++ #endif + #include <stdio.h> + #include <stdlib.h> +diff -rc2 --exclude=Makefile src/engine/Session.c src/engine/Session.c +*** src/engine/Session.c Mon Jan 4 02:31:09 1999 +--- src/engine/Session.c Fri Jan 22 12:13:16 1999 +*************** +*** 30,34 **** +--- 30,36 ---- + #include <fcntl.h> + #include <limits.h> ++ #if 0 + #include <nana.h> ++ #endif + #include <stdlib.h> + #include <string.h> +*************** +*** 98,102 **** + int retval; + +! if (!sess) return EBADSLT; + retval = sess->errtype; + sess->errtype = 0; +--- 100,104 ---- + int retval; + +! if (!sess) return ENOENT; + retval = sess->errtype; + sess->errtype = 0; +diff -rc2 --exclude=Makefile src/engine/util.h src/engine/util.h +*** src/engine/util.h Mon Dec 14 03:31:25 1998 +--- src/engine/util.h Fri Jan 22 13:05:55 1999 +*************** +*** 35,38 **** +--- 35,39 ---- + /* The debuging macros enable the setting of trace messages */ + #include <stdio.h> ++ #if 0 + #include <nana.h> + +*************** +*** 43,56 **** + #define assert I + +- #define MOD_ENGINE 1 +- #define MOD_IO 2 +- #define MOD_REGISTER 3 +- #define MOD_LEDGER 4 +- #define MOD_GUI 5 +- #define MOD_SCRUB 6 +- #define MODULE_MAX 7 +- +- extern int loglevel[MODULE_MAX]; +- + #define LERR (1 <= loglevel[module]) + #define LWARN (2 <= loglevel[module]) +--- 44,47 ---- +*************** +*** 70,73 **** +--- 61,85 ---- + + #define DEBUGCMD(x) { if (LINFO) { x; }} ++ #else ++ #define assert(x) ++ #define PERR(x...) ++ #define PWARN(x...) ++ #define PINFO(x...) ++ #define DEBUG(x...) ++ #define ENTER(x...) ++ #define LEAVE(x...) ++ #define DETAIL(x...) ++ #define DEBUGCMD(x) ++ #endif ++ ++ #define MOD_ENGINE 1 ++ #define MOD_IO 2 ++ #define MOD_REGISTER 3 ++ #define MOD_LEDGER 4 ++ #define MOD_GUI 5 ++ #define MOD_SCRUB 6 ++ #define MODULE_MAX 7 ++ ++ extern int loglevel[MODULE_MAX]; + + #include <errno.h> +diff -rc2 --exclude=Makefile src/gnome/Makefile.in src/gnome/Makefile.in +*** src/gnome/Makefile.in Tue Dec 22 00:43:31 1998 +--- src/gnome/Makefile.in Fri Jan 22 12:28:31 1999 +*************** +*** 43,47 **** + $(shell @GNOME_CONFIG_BIN@ --libs gtk) @X_EXTRA_LIBS@ -lgnomeui \ + $(shell @GNOME_CONFIG_BIN@ --libs gnome gnomeui ) \ +! $(GUILELIBS) -lnana @LIBS@ # -lintl + + GNOMELIBS = @GNOMELIBS@ +--- 43,47 ---- + $(shell @GNOME_CONFIG_BIN@ --libs gtk) @X_EXTRA_LIBS@ -lgnomeui \ + $(shell @GNOME_CONFIG_BIN@ --libs gnome gnomeui ) \ +! $(GUILELIBS) @LIBS@ # -lintl + + GNOMELIBS = @GNOMELIBS@ +diff -rc2 --exclude=Makefile src/motif/FileBox.c src/motif/FileBox.c +*** src/motif/FileBox.c Tue Dec 29 03:37:39 1998 +--- src/motif/FileBox.c Fri Jan 22 13:14:16 1999 +*************** +*** 155,159 **** + previous_path = strdup (fileName); + slash = strrchr (previous_path, '/'); +! *(slash+1) = 0x0; + } + +--- 155,162 ---- + previous_path = strdup (fileName); + slash = strrchr (previous_path, '/'); +! if (slash) +! *(slash+1) = 0x0; +! else +! *previous_path = 0x0; + } + +diff -rc2 --exclude=Makefile src/motif/Makefile.in src/motif/Makefile.in +*** src/motif/Makefile.in Sun Jan 3 01:51:20 1999 +--- src/motif/Makefile.in Fri Jan 22 12:28:38 1999 +*************** +*** 41,45 **** + LIBS = -L$(prefix)/lib \ + @X_PRE_LIBS@ @MOTIF_LIBS@ @X_EXTRA_LIBS@ @X_LIBS@ \ +! $(GUILELIBS) @LIBS@ -lnana + + # Have to use wildcard here otherwise filters below won't get the expanded +--- 41,45 ---- + LIBS = -L$(prefix)/lib \ + @X_PRE_LIBS@ @MOTIF_LIBS@ @X_EXTRA_LIBS@ @X_LIBS@ \ +! $(GUILELIBS) @LIBS@ + + # Have to use wildcard here otherwise filters below won't get the expanded +diff -rc2 --exclude=Makefile src/swig/Makefile.in src/swig/Makefile.in +*** src/swig/Makefile.in Sun Jan 3 03:22:06 1999 +--- src/swig/Makefile.in Fri Jan 22 22:02:13 1999 +*************** +*** 23,27 **** + # See Makefile.common for information about these variables. + INDEP_SRCS := helperfuncs.c +! CLEAN_SUBDIRS := guile perl5 + ###################################################################### + +--- 23,27 ---- + # See Makefile.common for information about these variables. + INDEP_SRCS := helperfuncs.c +! CLEAN_SUBDIRS := guile # perl5 + ###################################################################### + +*************** +*** 32,36 **** + include @top_srcdir@/Makefile.common + +! default: guile perl5 + + ifeq (${HAVE_PLOTUTILS},1) +--- 32,36 ---- + include @top_srcdir@/Makefile.common + +! default: guile # perl5 + + ifeq (${HAVE_PLOTUTILS},1) +diff -rc2 --exclude=Makefile src/swig/perl5/Makefile.in src/swig/perl5/Makefile.in +*** src/swig/perl5/Makefile.in Sun Jan 3 15:57:48 1999 +--- src/swig/perl5/Makefile.in Fri Jan 22 12:49:10 1999 +*************** +*** 51,55 **** + + gnucash.so: ${OBJS} ../../engine/libengine.a +! gcc -shared ${OBJS} ../../engine/libengine.a -lnana -o gnucash.so + + SWIG_FILTER := %P.h %/util.h +--- 51,55 ---- + + gnucash.so: ${OBJS} ../../engine/libengine.a +! gcc -shared ${OBJS} ../../engine/libengine.a -o gnucash.so + + SWIG_FILTER := %P.h %/util.h diff --git a/misc/gnucash/pkg/COMMENT b/misc/gnucash/pkg/COMMENT new file mode 100644 index 00000000000..d9361500fee --- /dev/null +++ b/misc/gnucash/pkg/COMMENT @@ -0,0 +1 @@ +GNUcash: a personal double-entry accounting program diff --git a/misc/gnucash/pkg/DESCR b/misc/gnucash/pkg/DESCR new file mode 100644 index 00000000000..bdc470dc0f6 --- /dev/null +++ b/misc/gnucash/pkg/DESCR @@ -0,0 +1,5 @@ +GNUcash: a personal double-entry accounting program + +GNUcash is intended to be a fully-featured accounting program that could +easily replace something like Quicken or Microsoft Money. It is extensible +in guile (an embedded scheme interpreter), and also in Perl. diff --git a/misc/gnucash/pkg/PLIST b/misc/gnucash/pkg/PLIST new file mode 100644 index 00000000000..612d1e9d567 --- /dev/null +++ b/misc/gnucash/pkg/PLIST @@ -0,0 +1,91 @@ +@comment $NetBSD: PLIST,v 1.1.1.1 1999/01/23 03:56:11 mellon Exp $ +bin/gnucash +bin/gnucash.motif +lib/gnucash/gnc-prices +@dirrm lib/gnucash +share/gnucash/config +share/gnucash/scm/startup/command-line.scm +share/gnucash/scm/startup/config-var.scm +share/gnucash/scm/startup/main.scm +share/gnucash/scm/startup/path.scm +share/gnucash/scm/startup/prefs.scm +share/gnucash/scm/startup/utilities.scm +share/gnucash/scm/startup/init.scm +share/gnucash/scm/doc.scm +share/gnucash/scm/graph.scm +share/gnucash/scm/hooks.scm +share/gnucash/data/splitdemo.xac +share/gnucash/data/test.xac +share/gnucash/data/test2.xac +share/gnucash/data/test3.xac +share/gnucash/data/test4.xac +share/gnucash/data/trading.xac +share/gnucash/data/trading2.xac +share/gnucash/data/xfer.xac +share/gnucash/Docs/bofa-mym.html +share/gnucash/Docs/projects.html +share/gnucash/Docs/xacc-about.html +share/gnucash/Docs/xacc-acctypes.html +share/gnucash/Docs/xacc-accwin.html +share/gnucash/Docs/xacc-adjbwin.html +share/gnucash/Docs/xacc-apar.html +share/gnucash/Docs/xacc-currency.html +share/gnucash/Docs/xacc-date.html +share/gnucash/Docs/xacc-double.html +share/gnucash/Docs/xacc-expense.html +share/gnucash/Docs/xacc-gpl.html +share/gnucash/Docs/xacc-groups.html +share/gnucash/Docs/xacc-main.html +share/gnucash/Docs/xacc-mainwin.html +share/gnucash/Docs/xacc-print.html +share/gnucash/Docs/xacc-quicken.html +share/gnucash/Docs/xacc-recnwin.html +share/gnucash/Docs/pix.xpm +share/gnucash/Docs/xacc-regwin.html +share/gnucash/Docs/xacc-reports.html +share/gnucash/Docs/xacc-y2k.html +share/gnucash/Docs/contract.gif +share/gnucash/Docs/expand.gif +share/gnucash/Docs/foliowin-single.gif +share/gnucash/Docs/foliowin.gif +share/gnucash/Docs/newaccwin-code.gif +share/gnucash/Docs/newaccwin-trade.gif +share/gnucash/Docs/newaccwin.gif +share/gnucash/Docs/recnwin.gif +share/gnucash/Docs/regwin-double.gif +share/gnucash/Docs/regwin-multi.gif +share/gnucash/Docs/regwin-single.gif +share/gnucash/Docs/regwin.gif +share/gnucash/Docs/logos/NetBSD-banner.gif +share/gnucash/Docs/logos/bullogogross.gif +share/gnucash/Docs/logos/debian.jpg +share/gnucash/Docs/logos/ibm.gif +share/gnucash/Docs/logos/linux.gif +share/gnucash/Docs/logos/sgi.gif +share/gnucash/Docs/logos/skunkware.gif +share/gnucash/Reports/report-main.html +share/gnucash/Reports/report-menu.html +share/gnucash/Reports/report-null.html +share/gnucash/Reports/report-baln.phtml +share/gnucash/Reports/report-folio.phtml +share/gnucash/Reports/report-pnl.phtml +@dirrm share/gnucash/scm/startup +@dirrm share/gnucash/scm +@dirrm share/gnucash/data +@dirrm share/gnucash/Docs/logos +@dirrm share/gnucash/Docs/images +@dirrm share/gnucash/Docs +@dirrm share/gnucash/Reports/images +@dirrm share/gnucash/Reports +@dirrm share/gnucash +doc/gnucash/README +doc/gnucash/README.aix +doc/gnucash/README.binaries +doc/gnucash/README.german +doc/gnucash/README.install +doc/gnucash/README.irix +doc/gnucash/README.sco +doc/gnucash/README.solaris +doc/gnucash/TODO +doc/gnucash/CHANGES +@dirrm doc/gnucash |