From 727a2e1ab5d81230baf50c4e6488f55352bb647e Mon Sep 17 00:00:00 2001 From: Dave Peticolas Date: Sun, 7 May 2000 01:00:26 +0000 Subject: [PATCH] Tomas Pospisek's debian patches. git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@2268 57a11ea4-9604-0410-9ed3-97b8803252fd --- debian/README.debian | 9 +-- debian/changelog | 136 ++++++++++++++++++++++++++++++++++++- debian/control | 17 +++-- debian/copyright | 73 ++++---------------- debian/dirs | 1 - debian/gnucash.menu | 4 ++ debian/rules | 96 +++++++++++++++----------- doc/README | 26 ++++--- doc/html/C/xacc-about.html | 6 +- src/FileDialog.c | 1 + 10 files changed, 248 insertions(+), 121 deletions(-) create mode 100644 debian/gnucash.menu diff --git a/debian/README.debian b/debian/README.debian index a4970d52f5..4d1d89e1ef 100644 --- a/debian/README.debian +++ b/debian/README.debian @@ -1,7 +1,8 @@ -xacc for DEBIAN +gnucash for DEBIAN ---------------------- -The documentation is installed in /usr/doc/xacc. -The sample data files are in /usr/doc/xacc/samples. +This is BETA software. It works to a degree but there are still many +bugs and unimplemented features. If you want a stable version, it +is recommended you use "xacc" which is also packaged for Debian. -Tyson Dowd , Wed, 7 Jan 1998 11:16:55 +1100 +Tyson Dowd , Wed, 10 Mar 1999 13:00:12 +1100 diff --git a/debian/changelog b/debian/changelog index bf340db066..b4cab58f26 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,8 +1,140 @@ -xacc (1.0.15-1) unstable; urgency=low +gnucash (1.3.4-3) frozen unstable; urgency=high + + * Make wrapper script executable when installed. + Fixes #62424, #62410 + + -- Tyson Dowd Mon, 17 Apr 2000 13:45:29 +1000 + +gnucash (1.3.4-2) frozen unstable; urgency=high + + * Use wrapper script to avoid locale problems. + Should fix #60417 (another try at this one). + + -- Tyson Dowd Fri, 14 Apr 2000 13:34:31 +1000 + +gnucash (1.3.4-1) frozen unstable; urgency=high + + * New upstream release. Should fix #60417, #60615, and #60655. + Thanks to Robert Merkel for his help in preparing + this release. + + -- Tyson Dowd Thu, 13 Apr 2000 13:14:49 +1100 + +gnucash (1.2.5.cvs.20000204-1) unstable; urgency=low + + * New upsteam version (taken from CVS) including many bug fixes. + + -- Tyson Dowd Fri, 4 Feb 2000 12:32:41 +1100 + +gnucash (1.2.5.cvs.20000106-1) unstable; urgency=low + + * New upstream version (taken from CVS). + + -- Tyson Dowd Thu, 6 Jan 2000 16:02:44 +1100 + +gnucash (1.2.3.cvs.19991026-5) unstable; urgency=low + + * Depend on eperl. Fixes #51424. Thanks to Craig Sanders for + reporting this as I hadn't noticed it. + + -- Tyson Dowd Thu, 6 Jan 2000 16:02:40 +1100 + +gnucash (1.2.3.cvs.19991026-4) unstable; urgency=low + + * Depend on libguile6-slib. + This should fix a few problems with the slib catalog not being + correctly setup, which causes gnucash to die when starting up. + (Fixes #51555, #51773) + * Use -fPIC instead of -fpic (Fixes #51545). Thanks to Ben Collins + for reporting and giving the fix. + + -- Tyson Dowd Thu, 2 Dec 1999 17:00:48 +1100 + +gnucash (1.2.3.cvs.19991026-3) unstable; urgency=low + + * Add string.h to includes for FileDialog. + This should fix #49485. + + -- Tyson Dowd Sat, 27 Nov 1999 17:43:42 +1100 + +gnucash (1.2.3.cvs.19991026-2) unstable; urgency=low + + * Rebuild to use new libguile6 instead of libguile4. + + -- Tyson Dowd Thu, 25 Nov 1999 02:30:33 +1100 + +gnucash (1.2.3.cvs.19991026-1) unstable; urgency=low + + * New upstream version (Update from CVS version). + * Recompile for gnome. + + -- Tyson Dowd Thu, 25 Nov 1999 02:30:17 +1100 + +gnucash (1.2.3-3) unstable; urgency=low + + * Add patch for powerpc supplied by + Konstantinos Margaritis (Fixes #39050). + * Add improved documention in description as suggested by + reiter@netspace.net.au (Fixes #45229). + + -- Tyson Dowd Tue, 19 Oct 1999 16:37:23 +1000 + +gnucash (1.2.3-2) unstable; urgency=low + + * Compiled against new lesstif package (Fixes #47692). + * Depend on perl-5.005 explicitly (Fixes #43823 and #43822). + + -- Tyson Dowd Tue, 19 Oct 1999 08:13:38 +0200 + +gnucash (1.2.3-1) unstable; urgency=low + + * New upstream version. + * Compiled against potato. + + -- Tyson Dowd Tue, 10 Aug 1999 01:34:02 +0200 + +gnucash (1.2.1-1) unstable; urgency=low + + * New upstream version. + * Add patch provided by Tomas Pospisek to add a + menu entry for gnucash. + + -- Tyson Dowd Sat, 17 Jul 1999 17:29:48 -0700 + +gnucash (1.2.0-1) unstable; urgency=low + + * New upstream version. + + -- Tyson Dowd Fri, 2 Jul 1999 22:13:58 -0700 + +gnucash (1.1.27-1) unstable; urgency=low + + * New upstream version. + + -- Tyson Dowd Tue, 25 May 1999 16:02:44 +1000 + +gnucash (1.1.26-2) unstable; urgency=low + + * Add a few missing dependencies. + + -- Tyson Dowd Mon, 15 Mar 1999 14:11:36 +1100 + +gnucash (1.1.26-1.1) unstable; urgency=low + + * debian/rules: converted to debhelper + * debian/copyright: correct FSF address, fix spelling + * debian/control: add Conflicts: and Replaces: for xacc + * debian/control: add Depends: on libwww-perl + * debian/rules: let gnc-prices, gnucash{,.motif} have undocumented(7) + * debian/rules: strip usr/lib/gnucash/gnucash.so + + -- Dirk Eddelbuettel Wed, 10 Mar 1999 22:37:37 -0500 + +gnucash (1.1.26-1) unstable; urgency=low * Initial Release. - -- Tyson Dowd Wed, 7 Jan 1998 11:16:55 +1100 + -- Tyson Dowd Wed, 10 Mar 1999 13:00:52 +1100 Local variables: mode: debian-changelog diff --git a/debian/control b/debian/control index 23cb4f7235..ac4a16737a 100644 --- a/debian/control +++ b/debian/control @@ -1,14 +1,21 @@ -Source: xacc +Source: gnucash Section: utils Priority: extra Maintainer: Tyson Dowd -Standards-Version: 2.3.0.1 +Standards-Version: 3.1.0.0 -Package: xacc +Package: gnucash Architecture: any -Depends: ${shlibs:Depends} +Depends: ${shlibs:Depends}, libwww-perl, slib, scm, guile1.3, libguile6-slib, perl-5.005, eperl Description: A personal finance tracking program. - X-Accountant can track finances in multiple accounts, keeping running + Gnucash can track finances in multiple accounts, keeping running and reconciled balances. It has an X based graphical user interface, double entry, a hierarchy of accounts, expense accounts (categories), and can import Quicken QIF files. + . + Gnucash is derived from xacc. It adds perl and guile extensibility, + and can produce HTML output. + . + This is BETA software. It works to a degree but there are still many + bugs and unimplemented features. If you want a stable version, try the + xacc package instead. diff --git a/debian/copyright b/debian/copyright index 9bdcdcb71a..4c0710b28a 100644 --- a/debian/copyright +++ b/debian/copyright @@ -1,11 +1,16 @@ -This package was debianized by Tyson Dowd -Wed, 7 Jan 1998 11:17:45 +1100. -It was downloaded from -http://www.cs.hmc.edu/~rclark/xacc/download/xacc-1.0b11-linux-i386-bin.tar.gz +This is the Debian GNU/Linux prepackaged version of gnucash, an application +to track finances in multiple accounts, keeping running and reconciled +balances. Gnucash was written by Robin D. Clark and Linas Vepstas. + +This package was debianized by Tyson Dowd +Wed, 10 Mar 1999 13:02:16 +1100. It was downloaded from +ftp://ftp.gnucash.org/pub/gnucash/gnucash/sources/unstable/1.3.x/1.3.3/gnucash-1.3.3.tar.gz Copyright: + Gnucash is under the GNU GPL. + Copyright (C) 1997 Robin D. Clark Copyright (C) 1997 Linas Vepstas @@ -19,11 +24,9 @@ Copyright: MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. - You should have received a copy of the GNU General Public - License along with this program; if not, write to the Free - Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. - -See /usr/doc/copyright for a copy of the GNU GPL license. + You should have received a copy of the GNU General Public License + along with this program; if not, write to the Free Software Foundation, + Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. The source package includes the Motif widget ComboBox-1.33, which is GPL: @@ -31,7 +34,7 @@ The source package includes the Motif widget ComboBox-1.33, which is GPL: This software is Free Software. Please refer to the file COPYING, which you should have received together this file and the source code of the combo box widget. However if you find this - widget to be usefull, you are encouraged to donate a reasonable + widget to be useful, you are encouraged to donate a reasonable amount to a charitable institution -- there are enough people out there who need help! Sometimes I got the strong impression that programmers tend to get lost in their own "virtual reality" @@ -64,51 +67,5 @@ XbaeMatrix, which is available under a BSD-like license: INCLUDING ANY LOST PROFITS OR OTHER INCIDENTAL OR CONSEQUENTIAL DAMAGES RELATING TO THE INFORMATION. -The source package includes a modified version of the Motif widget -XmHTML, which is available under the GNU GPL: - - This is a public BETA release of XmHTML, a Motif Widget capable of - rendering HTML3.2 conforming documents. - - (C) Copyright 1993-1997 Ripley Software Development - - This library is free software; you can redistribute it and/or - modify it under the terms of the GNU Library General Public - License as published by the Free Software Foundation; either - version 2 of the License, or (at your option) any later version. - - This library is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - Library General Public License for more details. - - You should have received a copy of the GNU Library General Public - License along with this library; if not, write to the Free - Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. - -The source package includes a modified version of the Motif widget -ComboBox, which is available under the GNU GPL: - - (c) 1993, 1994, 1995 Harald Albrecht - Institut fuer Geometrie und Praktische Mathematik - RWTH Aachen, Germany - albrecht@igpm.rwth-aachen.de - - (c) 1997 Linas Vepstas - linas@linas.org - - This program is free software; you can redistribute it and/or - modify it under the terms of the GNU General Public License as - published by the Free Software Foundation; either version 2 of the - License, or (at your option) any later version. - - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - - You should have received a copy of the GNU General Public License - along with this program (see the file COPYING for more details); - if not, write to the Free Software Foundation, Inc., 675 Mass Ave, - Cambridge, MA 02139, USA. - +On Debian GNU/Linux systems, the complete text of the GNU General +Public License can be found in `/usr/doc/copyright/GPL'. diff --git a/debian/dirs b/debian/dirs index 4535d4480b..e772481755 100644 --- a/debian/dirs +++ b/debian/dirs @@ -1,2 +1 @@ usr/bin -usr/share/xacc/Docs diff --git a/debian/gnucash.menu b/debian/gnucash.menu new file mode 100644 index 0000000000..9d47e90ffd --- /dev/null +++ b/debian/gnucash.menu @@ -0,0 +1,4 @@ +?package(gnucash):needs=x11 section=Apps/Tools \ + title="GnuCash" \ + longtitle="GnuCash personal finance tracking program" \ + command="gnucash" diff --git a/debian/rules b/debian/rules index 5444461c47..1a0d5eb6cd 100644 --- a/debian/rules +++ b/debian/rules @@ -1,55 +1,69 @@ #!/usr/bin/make -f -# Made with the aid of debmake, by Christoph Lameter, -# based on the sample debian/rules file for GNU hello by Ian Jackson. +# Sample debian/rules that uses debhelper. GNU copyright 1997 by Joey Hess. +# Adapted for gnucash by Dirk Eddelbuettel. March 1999. GPL'ed -package=xacc +# Uncomment this to turn on verbose mode. +#export DH_VERBOSE=1 -build: +package=gnucash + +build: build-stamp +build-stamp: + dh_testdir $(checkdir) - ./configure --prefix=/usr + CFLAGS="-fsigned-char -g" ./configure --prefix=/usr make depend - make + make gnome touch build + touch build-stamp clean: - $(checkdir) - -rm -f build - -make distclean - -rm -f `find . -name "*~"` - -rm -rf debian/tmp debian/files* core debian/substvars + dh_testdir + dh_testroot + rm -f build-stamp install-stamp + #-$(MAKE) distclean + dh_clean -binary-indep: checkroot build - $(checkdir) -# There are no architecture-independent files to be uploaded -# generated by this package. If there were any they would be -# made here. +install: install-stamp +install-stamp: build-stamp + dh_testdir + dh_testroot + dh_clean -k + dh_installdirs + make install prefix=`pwd`/debian/tmp/usr GNC_DOCDIR=`pwd`/debian/tmp/usr/share/doc + strip `pwd`/debian/tmp/usr/lib/gnucash/gnucash.so + touch install-stamp -binary-arch: checkroot build - $(checkdir) - -rm -rf debian/tmp - install -d debian/tmp - cd debian/tmp && install -d `cat ../dirs` - make install PREFIX=`pwd`/debian/tmp/usr DOCDIR=share/xacc/Docs - install -d debian/tmp/usr/doc/xacc/samples - install data/*.xac debian/tmp/usr/doc/xacc/samples -# Must have debmake installed for this to work. Otherwise please copy -# /usr/bin/debstd into the debian directory and change debstd to debian/debstd - debstd CHANGES README README.irix TODO - dpkg-gencontrol - chown -R root.root debian/tmp - chmod -R go=rX debian/tmp - dpkg --build debian/tmp .. +binary-indep: build install -define checkdir - test -f debian/rules -endef +binary-arch: build install +# dh_testversion + dh_testdir + dh_testroot + dh_installdocs + dh_installexamples data/*.xac + dh_installmenu +# dh_installemacsen +# dh_installinit + dh_installcron + dh_installmanpages + dh_undocumented gnc-prices.1 gnucash.1x gnucash.motif.1x + dh_installchangelogs CHANGES + dh_strip + dh_compress + dh_fixperms + dh_suidregister + dh_installdeb + dh_shlibdeps + dh_gencontrol +# dh_makeshlibs + dh_md5sums + dh_builddeb -# Below here is fairly generic really +source diff: + @echo >&2 'source and diff are obsolete - use dpkg-source -b'; false -binary: binary-indep binary-arch +binary: binary-indep binary-arch +.PHONY: build clean binary-indep binary-arch binary install -checkroot: - $(checkdir) - test root = "`whoami`" - -.PHONY: binary binary-arch binary-indep clean checkroot + diff --git a/doc/README b/doc/README index 3cfd05b061..689a2ff2f4 100644 --- a/doc/README +++ b/doc/README @@ -407,18 +407,17 @@ Getting Source with CVS A read-only version of the cvs tree is available on the net. To access it, first, login, as so: -cvs -d :pserver:cvs@cvs.gnucash.org:/home/cvs/cvsroot login + cvs -d :pserver:cvs@cvs.gnucash.org:/home/cvs/cvsroot login + The password is "guest" -To get a copy of the source in the experimental development tree -do a +To get a copy of the source in the experimental development tree do a -cvs -z3 -Pd :pserver:cvs@cvs.gnucash.org:/home/cvs/cvsroot checkout -rHEAD gnucash + cvs -z3 -Pd :pserver:cvs@cvs.gnucash.org:/home/cvs/cvsroot checkout -rHEAD gnucash -To get a copy of the source in the gnucash-1.2 stable production -tree do a +To get a copy of the source in the gnucash-1.2 stable production tree do a -cvs -z3 -Pd :pserver:cvs@cvs.gnucash.org:/home/cvs/cvsroot checkout -rxacc-12-patch gnucash + cvs -z3 -Pd :pserver:cvs@cvs.gnucash.org:/home/cvs/cvsroot checkout -rxacc-12-patch gnucash Developing GnuCash @@ -533,7 +532,14 @@ Rob Browning abused everyone for not using perl, infrastructure, is handling the whole guile/perl extension language thing, and is dealing with configuration & configurability. -Dirk Schoenberger is working on the Qt/KDE port +Dave Peticolas hacks obsessively on + GnuCash. But he can stop anytime he wants to. Really. + +Bill Gribble works magic. If your checks print + wrong, blame him. If you don't like the amount printed on your + checks, blame him. If you don't like your your bank balances, + your bank, or your life, blame him too. + Fixes & Patches: ---------------- @@ -550,7 +556,7 @@ Jeremey Collins for GnoMoney & GTK port Matthew Condell FreeBSD patch Patrick Condron for webserver and T1 connection. Ciaran Deignan for AIX binary version -Tyson Dowd for config/make patches & debian maint +Tyson Dowd for config/make patches & debian maint Koen D'Hondt for Solaris patches to XmHTML Bob Drzyzgula for budgeting design notes Paul Fenwick ASX support @@ -587,7 +593,9 @@ Laurent P{'e}lecq i18n patches with gettext Alain Peyrat for configure.in patches Peter Pointner QIF import fixes, Qt patches Gavin Porter for euro style dates +Tomas Pospisek debian patches Ron Record for SCO Unixware & OpenServer binaries +Dirk Schoenberger Qt/KDE work Jan Schrage documentation patches Christopher Seawood for XbaeMatrix core dump Mike Simons misc configure.in patches diff --git a/doc/html/C/xacc-about.html b/doc/html/C/xacc-about.html index 7a4cbba5d1..587f818d3b 100644 --- a/doc/html/C/xacc-about.html +++ b/doc/html/C/xacc-about.html @@ -206,7 +206,7 @@
hacks obsessively on GnuCash. But he can stop anytime he wants to. Really.
-
Bill Gribble +
Bill Gribble
works magic. If your checks print wrong, blame him. @@ -439,6 +439,10 @@
for euro style dates
+
Tomas Pospisek
+ +
debian patches
+
Ron Record
for SCO Unixware and OpenServer binaries
diff --git a/src/FileDialog.c b/src/FileDialog.c index 4c0ba5d8ed..3e147db5cd 100644 --- a/src/FileDialog.c +++ b/src/FileDialog.c @@ -20,6 +20,7 @@ \********************************************************************/ #include +#include #include "top-level.h"