From bd3679b372edf141d4bc256cab05f55836b851bf Mon Sep 17 00:00:00 2001 From: Linas Vepstas Date: Sun, 1 Mar 1998 17:02:13 +0000 Subject: [PATCH] merge in stuff from the 1.0 branch git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@566 57a11ea4-9604-0410-9ed3-97b8803252fd --- Docs/xacc-about.html | 55 ++++++++++++++++++--- debian/README.debian | 7 +++ debian/changelog | 10 ++++ debian/control | 14 ++++++ debian/copyright | 114 +++++++++++++++++++++++++++++++++++++++++++ debian/dirs | 2 + debian/rules | 55 +++++++++++++++++++++ rpm/README | 19 ++++++++ rpm/xacc.spec | 70 ++++++++++++++++++++++++++ rpm/xacc.wmconfig | 3 ++ 10 files changed, 341 insertions(+), 8 deletions(-) create mode 100644 debian/README.debian create mode 100644 debian/changelog create mode 100644 debian/control create mode 100644 debian/copyright create mode 100644 debian/dirs create mode 100644 debian/rules create mode 100644 rpm/README create mode 100644 rpm/xacc.spec create mode 100644 rpm/xacc.wmconfig diff --git a/Docs/xacc-about.html b/Docs/xacc-about.html index a97592f20d..655c25e58c 100644 --- a/Docs/xacc-about.html +++ b/Docs/xacc-about.html @@ -3,8 +3,8 @@ About X-Accountant - - + +

About X-Accountant


@@ -77,13 +77,52 @@

Version

- This version is xacc-1.0b4 + This version is xacc-1.0.17, the current stable release of xacc. +

+ Versions 1.0.x are considered to be stable revisions with all + currently known bugs fixed. Versions 1.1.x are considered to be + development versions, which may have many bugs. The next stable + series will be 1.2.x + +

Credits

+
Robin Clark <rclark@hmc.edu> for original xacc +
Linas Vepstas <linas@lins.org> for extensive enhancements +
Tom Kludy <tkludy@csd.sgi.com> for SGI Irix port & bug fixes +
Ciaran Deignan <Ciaran.Deignan@bull.net> for AIX binary version +
George Chen <georgec@sco.com> for MS-Money QIF & fixes +
Ron Record <rr@sco.com> for SCO Unixware & OpenServer binaries +
Otto Hammersmith <otto@bug.redhat.com> for RedHat RPM version +
+ +

Supported Operating Systems

+ xacc is known to work in the following configs: +
Linux 2.0.x -- Intel w/ RedHat Motif +
Linux 2.0.x -- Intel w/ Lesstif v0.81 +
Linux Debian -- Intel w/ Lesstif v0.81 +
SGI IRIX -- MIPS +
IBM AIX 4.1.5 -- RS/6000 +
SCO Unixware 7 -- Intel +
SCO OpenServer 5.0.4 -- Intel +

- This is a beta development version with known - minor user interface bugs and no known major bugs. - It has been tested only lightly but seems to work. - It is not believed to corrupt data. - + + + + + + + + + + + + + + + + + + diff --git a/debian/README.debian b/debian/README.debian new file mode 100644 index 0000000000..a4970d52f5 --- /dev/null +++ b/debian/README.debian @@ -0,0 +1,7 @@ +xacc for DEBIAN +---------------------- + +The documentation is installed in /usr/doc/xacc. +The sample data files are in /usr/doc/xacc/samples. + +Tyson Dowd , Wed, 7 Jan 1998 11:16:55 +1100 diff --git a/debian/changelog b/debian/changelog new file mode 100644 index 0000000000..bf340db066 --- /dev/null +++ b/debian/changelog @@ -0,0 +1,10 @@ +xacc (1.0.15-1) unstable; urgency=low + + * Initial Release. + + -- Tyson Dowd Wed, 7 Jan 1998 11:16:55 +1100 + +Local variables: +mode: debian-changelog +add-log-mailing-address: "trd@cs.mu.oz.au" +End: diff --git a/debian/control b/debian/control new file mode 100644 index 0000000000..23cb4f7235 --- /dev/null +++ b/debian/control @@ -0,0 +1,14 @@ +Source: xacc +Section: utils +Priority: extra +Maintainer: Tyson Dowd +Standards-Version: 2.3.0.1 + +Package: xacc +Architecture: any +Depends: ${shlibs:Depends} +Description: A personal finance tracking program. + X-Accountant 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. diff --git a/debian/copyright b/debian/copyright new file mode 100644 index 0000000000..9bdcdcb71a --- /dev/null +++ b/debian/copyright @@ -0,0 +1,114 @@ +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 + +Copyright: + + Copyright (C) 1997 Robin D. Clark + Copyright (C) 1997 Linas Vepstas + + 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; 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. + +The source package includes the Motif widget ComboBox-1.33, which is GPL: + + (c) 1993, 1994 Harald Albrecht + 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 + 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" + - sitting in front of their screen, hacking new algorithms and + forget about everything around them. So please don't forget + about people who need help. + +The source package includes a modified version of the Motif widget +XbaeMatrix, which is available under a BSD-like license: + + Copyright (c) 1991, 1992 Bell Communications Research, Inc. (Bellcore) + Copyright (c) 1995-97 Andrew Lister + All Rights Reserved. + + Permission to use, copy, modify and distribute this material for any + purpose and without fee is hereby granted, provided that the above + copyright notices and this permission notice appear in all copies, and + that the name of any author not be used in advertising or publicity + pertaining to this material without the specific, prior written + permission of an authorized representative of Bellcore and current + maintainer. + + BELLCORE AND OTHER CONTRIBUTORS MAKE NO REPRESENTATIONS AND EXTEND NO + WARRANTIES, EXPRESS OR IMPLIED, WITH RESPECT TO THE INFORMATION, + INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF + MERCHANTABILITY AND FITNESS FOR ANY PARTICULAR PURPOSE, AND THE + WARRANTY AGAINST INFRINGEMENT OF PATENTS OR OTHER INTELLECTUAL + PROPERTY RIGHTS. THE SOFTWARE IS PROVIDED "AS IS", AND IN NO EVENT + SHALL ANY AUTHOR OR ANY OF THEIR AFFILIATES BE LIABLE FOR ANY DAMAGES, + 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. + diff --git a/debian/dirs b/debian/dirs new file mode 100644 index 0000000000..4535d4480b --- /dev/null +++ b/debian/dirs @@ -0,0 +1,2 @@ +usr/bin +usr/share/xacc/Docs diff --git a/debian/rules b/debian/rules new file mode 100644 index 0000000000..5444461c47 --- /dev/null +++ b/debian/rules @@ -0,0 +1,55 @@ +#!/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. + +package=xacc + +build: + $(checkdir) + ./configure --prefix=/usr + make depend + make + touch build + +clean: + $(checkdir) + -rm -f build + -make distclean + -rm -f `find . -name "*~"` + -rm -rf debian/tmp debian/files* core debian/substvars + +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. + +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 .. + +define checkdir + test -f debian/rules +endef + +# Below here is fairly generic really + +binary: binary-indep binary-arch + +checkroot: + $(checkdir) + test root = "`whoami`" + +.PHONY: binary binary-arch binary-indep clean checkroot diff --git a/rpm/README b/rpm/README new file mode 100644 index 0000000000..f9d83f834c --- /dev/null +++ b/rpm/README @@ -0,0 +1,19 @@ +This directory contains spec files for building an RPM + +Short instructions: + +> I've never built an rpm; given a spec file, how do I do this? +> I understand the theory, just not clear on what to type up. + +You'll need to be root. (It is possible to avoid this requirement, +but I haven't done the work to the RPM.) + +rpm -ivh .src.rpm +cd /usr/src/redhat/SPECS +rpm -ba .spec + +wait a bit, and a new binary rpm will be in +/usr/src/redhat/RPMS/ and a new src.rpm will be in +/usr/src/redhat/SRPMS. + + diff --git a/rpm/xacc.spec b/rpm/xacc.spec new file mode 100644 index 0000000000..a6f9d9c59a --- /dev/null +++ b/rpm/xacc.spec @@ -0,0 +1,70 @@ +Summary: A program to keep track of finances. +Name: xacc +Version: 1.0.17 +Release: 1 +Source: http://www.cs.hmc.edu/~rclark/xacc/download/xacc-1.0.17.tar.gz +Source1: xacc.wmconfig +URL: http://www.cs.hmc.edu/~rclark/xacc/ +Group: Applications/Finance +Copyright: GPL + +%description +X-Accountant is a program to keep track of your finances. Some of the +features are: + +- Multiple accounts, which can be open at the same time. Create one + xacc account for each of your bank accounts. + +- Each account keeps a running balance and a reconciled balance, so + you can keep track of the checks that have cleared your account. + +- A simple interface. If you can use the register in the back of your + checkbook, you can use xacc. Automatic account reconciling. At the + end of the month, open up the reconcile window, enter your bank + statement's ending balance, and check off the transactions that appear + in the bank statement. This makes it easy to track down any discrepancies. + +- QuickFill... if you begin typing in the description field, and the + text matches a previous transaction, hitting TAB will copy that + previous transaction. Handy if you have similar transactions on a + regular basis. + +- Stock/Mutual Fund Portfolios. Track stocks individually (one per + account) or in portfolio of accounts (a group of accounts that can + be displayed together). + +- Quicken File Import. Import Quicken QIF files. + +%changelog + +* Tue Feb 17 1998 Otto Hammersmith + +- updated to 1.0.17, author hopes it will fix some problems with core dumps + +* Mon Jan 26 1998 Otto Hammersmith + +- built the package + +%prep +%setup + +%build +./configure --prefix=/usr +make depend +make + +%install +install -d /usr/share/xacc +install -m 755 xacc /usr/bin/xacc +install -m 755 xacc.bin /usr/bin/xacc.bin +cp -pr Docs /usr/share/xacc + +install -d /etc/X11/wmconfig +install -m 644 -o root -g root $RPM_SOURCE_DIR/xacc.wmconfig /etc/X11/wmconfig/xacc + +%files +%doc README TODO +/usr/bin/xacc +/usr/bin/xacc.bin +/usr/share/xacc +/etc/X11/wmconfig/xacc diff --git a/rpm/xacc.wmconfig b/rpm/xacc.wmconfig new file mode 100644 index 0000000000..bb7496cedf --- /dev/null +++ b/rpm/xacc.wmconfig @@ -0,0 +1,3 @@ +xacc name "X-Accountant" +xacc exec "xacc &" +xacc group Applications/Finance