--- gnucash-2.2.6.orig/src/backend/file/gnc-backend-file.c
+++ gnucash-2.2.6/src/backend/file/gnc-backend-file.c
@@ -394,6 +394,7 @@
 static gboolean
 gnc_int_link_or_make_backup(FileBackend *be, const char *orig, const char *bkup)
 {
+    gboolean copy_success = FALSE;
     int err_ret = 
 #ifdef HAVE_LINK
       link (orig, bkup)
@@ -408,13 +409,16 @@
 # ifdef EOPNOTSUPP
 	   || errno == EOPNOTSUPP
 # endif
+# ifdef ENOSYS  // catches http://bugzilla.gnome.org/show_bug.cgi?id=549595
+	   || errno == ENOSYS
+# endif
 	   )
 #endif
         {
-            err_ret = copy_file(orig, bkup);
+            copy_success = copy_file(orig, bkup);
         }
 
-        if(!err_ret)
+        if(!copy_success)
         {
             qof_backend_set_error((QofBackend*)be, ERR_FILEIO_BACKUP_ERROR);
             PWARN ("unable to make file backup from %s to %s: %s", 
--- gnucash-2.2.6.orig/src/import-export/aqbanking/gnc-ab-utils.c
+++ gnucash-2.2.6/src/import-export/aqbanking/gnc-ab-utils.c
@@ -242,7 +242,7 @@
 
     g_return_val_if_fail(ab_trans, NULL);
 
-    ab_remote_name = AB_Transaction_GetPurpose(ab_trans);
+    ab_remote_name = AB_Transaction_GetRemoteName(ab_trans);
     if (ab_remote_name)
         GWEN_StringList_ForEach(ab_remote_name, join_ab_strings_cb,
                                 &gnc_other_name);
--- gnucash-2.2.6.orig/debian/badlocales
+++ gnucash-2.2.6/debian/badlocales
@@ -0,0 +1,92 @@
+Check all the locale D_FMT's to see that they fit in eleven bytes.
+
+ar_AE
+ar_BH
+ar_DZ
+ar_EG
+ar_IQ
+ar_JO
+ar_KW
+ar_LB
+ar_LY
+ar_MA
+ar_OM
+ar_QA
+ar_SD
+ar_SY
+ar_TN
+ar_YE
+  "%d %b, %Y"
+
+ar_SA
+  "%A %.1d %B %Y"
+
+ar_IN
+bn_BN
+bn_IN
+en_IN
+gu_IN
+hi_IN
+kn_IN
+mr_IN
+ms_MY
+ne_NP
+pa_IN
+ta_IN
+te_IN
+  "%A %d %b %Y"
+
+en_HK
+  "%A, %B %d, %Y"
+
+en_PH
+  "%A, %d %B, %Y"
+
+en_SG
+  "%a %d,%B,%Y"
+
+ml_IN
+  "%A %d %B %Y"
+
+eu_ES
+  "%a, %Y.eko %bren %da"
+
+fa_IR:
+  "%0y/%0m/%0d"
+
+is_IS
+  "%a %e.%b %Y"
+
+ja_JP
+  "%Y*%m*%d*"	[where "*" is actually the appropriate kanji]
+
+kl_GL
+  "%d %b %Y"
+
+ko_KR
+  "%Y* %m* %d*" [where "*" is actually the appropriate hangul]
+
+lv_LV
+  "%Y.%m.%d."
+
+mt_MT
+  "%A, %d ta %b, %Y"
+
+nn_NO
+  "%d. %b %Y"
+
+sl_SI
+  "%d. %m. %Y"
+
+sr_CS
+  "%d.%m.%Y."
+
+zh_CN
+zh_SG
+  "%Y*%m*%d*" [where "*" is actually the appropriate character]
+
+zh_HK
+  "%Y*%m*%d* %A" [where "*" is actually the appropriate character]
+
+zh_TW
+  "**%Y*%m*%d*" [where "*" is actually the appropriate character]
--- gnucash-2.2.6.orig/debian/changelog
+++ gnucash-2.2.6/debian/changelog
@@ -0,0 +1,1394 @@
+gnucash (2.2.6-2~bpo40+1) etch-backports; urgency=low
+
+  * Rebuild for etch-backports.
+  * change builddep libgoffice-0-dev to libgoffice-1-dev
+  * change builddep libaqbanking20-dev to libaqbanking16-dev
+  * add libssl-dev to builddep 
+
+ -- Jan Wagner <waja@cyconet.org>  Sun, 21 Sep 2008 01:00:18 +0200
+
+gnucash (2.2.6-2) unstable; urgency=medium
+
+  * src/backend/file/gnc-backend-file.c (gnc_int_link_or_make_backup):
+    Fail gracefully in case link returns ENOSYS (which it has no business
+    doing, but sshfs does that instead of the proper error code.)  Thanks
+    to Bas Wijnen for the bug report and Micha Lenk for the fix.  (Closes:
+    #496807).
+
+ -- Thomas Bushnell, BSG <tb@debian.org>  Thu, 28 Aug 2008 12:28:32 -0700
+
+gnucash (2.2.6-1) unstable; urgency=low
+
+  * New upstream release.  (Closes: #492706, #492711, #492705, #492707,
+    #492708, #491843, #473657, #481290).
+  * debian/rules (configure): Add --enable-python-bindings and
+    --enable-locale-specific-tax.
+  * debian/control (Build-Depends): Remove build dependencies no longer
+    needed (libltd3-dev, liborbit-dev, libungif4-dev), or which are
+    indirect (libjpeg62-dev, libbonobo2-dev, libgnomevfs2-dev,
+    libgnomevfs2-extra, imagemagick, libart-2.0-dev).
+  
+  * src/import-export/aqbanking/gnc-ab-utils.c (gnc_ab_get_remote_name):
+    Actually get remote name, not purpose.  Patch thanks to Micha Lenk.
+    (Closes: #492799).
+
+ -- Thomas Bushnell, BSG <tb@debian.org>  Sat, 02 Aug 2008 11:04:24 -0700
+
+gnucash (2.2.4-2) unstable; urgency=low
+
+  * Apply Micha Lenk patch to turn on aqbanking.  (Closes: 303234)
+  * debian/rules (configure): Specify --enable-aqbanking and --enable-hbci.
+  * debian/control (gnucash): Mention HBCI support.
+    (Build-Depends): Require libaqbanking20-dev.
+  * debian/README.debian: Drop apology for HBCI non-support.
+
+  * debian/rules (configure): Don't print out config.log on failure anymore.
+  
+ -- Thomas Bushnell, BSG <tb@debian.org>  Sat, 19 Jul 2008 12:07:31 -0700
+
+gnucash (2.2.4-1) unstable; urgency=low
+
+  * New upstream release. (Closes: #286243, #360025)
+
+ -- Thomas Bushnell, BSG <tb@debian.org>  Sat, 08 Mar 2008 22:16:52 -0500
+
+gnucash (2.2.3-2) unstable; urgency=low
+
+  * debian/control (Build-Depends): Add libofx-dev and ofx back, now that the 
+  license concerns are settled.
+  (Build-Conflicts): Don't conflict with libofx-dev.
+  (gnucash/Description, gnucash-common/Description): Add back that
+  we support OFX.
+  * debian/rules (configure): Add --enable-ofx to configure invocation.
+  (Closes: #462559)
+  
+  * debian/README.debian: Drop OFX explanation.
+
+ -- Thomas Bushnell, BSG <tb@debian.org>  Mon, 04 Feb 2008 19:53:04 -0500
+
+gnucash (2.2.3-1) unstable; urgency=low
+
+  * New upstream release.
+  
+  * debian/control (Build-Depends): Remove libofx-dev and ofx, in anticipation
+    of the likely removal of libofx from Debian, at least for the short term.
+    See http://bugs.debian.org/460407 for details.
+    (Build-Conflicts): Add libofx-dev to avoid accidents.
+    (gnucash/Description, gnucash-common/Description): Remove mention
+    of importation of OFX files.
+  * debian/rules (configure): Remove --enable-ofx from configure invocation.
+  
+  * debian/README.debian: Update HBCI information; add OFX information.
+
+ -- Thomas Bushnell, BSG <tb@debian.org>  Sat, 12 Jan 2008 13:34:58 -0500
+
+gnucash (2.2.2-2) unstable; urgency=medium
+
+  * src/app-utils/gnc-sx-instance-module.c
+    (gnc_sx_get_template_transaction_account): Size SX_GUID_STR as
+    GUID_ENCODING_LENGTH + 1.
+    (__get_template_split_account): Likewise for GUID_STR.
+    (Upstream changeset 16766).
+
+ -- Thomas Bushnell, BSG <tb@debian.org>  Fri, 04 Jan 2008 13:15:21 -0700
+
+gnucash (2.2.2-1) unstable; urgency=low
+
+  * New upstream release.  (Closes: #387031, #413764, #182921, #180659,
+    #369513, #379338).
+  
+  * debian/control (Build-Depends): Switch from libgoffice-1-dev to
+    libgoffice-0-dev.  (Closes: #450464).
+  
+  * debian/control (gnucash): Recommend gnucash-docs instead of merely
+    Suggesting. (Closes: #451894).
+  
+  * debian/gnucash.menu (icon): Filename is now gnucash-icon-16x16.png.
+  * debian/gnucash.desktop (Icon): Likewise.  (Closes: #444950).
+
+ -- Thomas Bushnell, BSG <tb@debian.org>  Thu, 27 Dec 2007 14:36:40 -0800
+
+gnucash (2.2.1-1) unstable; urgency=medium
+
+  * New upstream release.  (Closes: #441363, #441289, #441309, #441129, 
+    #441248, #435578, #435892)
+  * debian/control (Build-Depends): Remove g-wrap and libgwrap-runtime-dev.  
+    Switch back to guile-1.6-dev.  Add swig.
+    (Build-Conflicts): Add guile-1.8-dev and guile-1.8.
+    (gnucash Depends): Remove guile-g-wrap.
+  * debian/README.debian: Add warning about new scheduled transaction format.
+  * debian/rules (install-stamp): Don't futz with pixmap thingie.
+
+ -- Thomas Bushnell, BSG <tb@debian.org>  Sat, 15 Sep 2007 13:23:52 -0400
+
+gnucash (2.0.5-2) unstable; urgency=low
+
+  * Acknowledge NMU. (Closes: #289668)
+  * debian/control (Depends): Remove 'g-wrap'.
+    (Build-Depends): Switch from guile-1.6-dev to guile-1.8.dev.  Continue
+    to use guile-1.6-slib for now. Switch from libgwrap-runtime0-dev to
+    libgwrap-runtime-dev.  (Closes: #441289)
+
+ -- Thomas Bushnell, BSG <tb@becket.net>  Sat, 08 Sep 2007 14:25:31 -0400
+
+gnucash (2.0.5-1.1) unstable; urgency=low
+
+  * Non-maintainer upload.
+  * Please remove the Build-Depends on libdb3-dev (Closes: #289668)
+  * Remove duplicate libgsf-gnome-1-dev from Build-Depends
+  * Replace deprecated ${Source-Version} with ${source:Version} 
+
+ -- Neil Williams <codehelp@debian.org>  Tue, 17 Jul 2007 14:02:44 +0100
+	
+gnucash (2.0.5-1) unstable; urgency=low
+
+  * New upstream release. (Closes: #194545, #242441, #386923, #368139,
+    #411942, #411985)
+
+ -- Thomas Bushnell, BSG <tb@debian.org>  Wed, 21 Feb 2007 13:24:24 -0800
+
+gnucash (2.0.2-3) unstable; urgency=medium
+
+  * Acknowledge NMU (change was to debian/control).  (Closes: #403351)
+  * debian/control (Build-Depends): Actually drop python dependency
+    entirely.
+  
+  * Correct bogus assumptions that GType fits in an int.  (Closes: #406378)
+    Many thanks to Steve Langasek <vorlon@debian.org> for the patch.
+  * src/gnome/gnc-split-reg.h (gnc_split_reg_get_type): Return type is GType.
+  * src/gnome-search/gnc-general-search.h (gnc_general_search_get_type):
+    Likewise.
+  * src/gnome-search/search-account.h (gnc_search_account_get_type): Likewise.
+  * src/gnome-search/search-boolean.h (gnc_search_boolean_get_type): Likewise.
+  * src/gnome-search/search-date.h (gnc_search_date_get_type): Likewise. 
+  * src/gnome-search/search-double.h (gnc_search_double_get_type): Likewise.
+  * src/gnome-search/search-int64.h (gnc_search_int64_get_type): Likewise.
+  * src/gnome-search/search-numeric.h (gnc_search_numeric_get_type): Likewise
+  * src/gnome-search/search-reconciled.h (gnc_search_reconciled_get_type):
+    Likewise.
+  * src/gnome-search/search-string.h (gnc_search_string_get_type): Likewise.
+  * src/business/business-gnome/search-owner.h (gnc_search_owner_get_type): 
+    Return type is GType.
+  * src/gnome-search/gnc-general-search.c (gnc_general_search_get_type):
+    Return type and GENERAL_SEARCH_TYPE are GType.
+  * src/gnome-search/search-account.c (gnc_search_account_get_type):
+    Return type and TYPE are GType.
+  * src/gnome-search/search-boolean.c (gnc_search_boolean_get_type): Likewise.
+  * src/gnome-search/search-date.c (gnc_search_date_get_type): Likewise.
+  * src/gnome-search/search-double.c (gnc_search_double_get_type): Likewise.
+  * src/gnome-search/search-int64.c (gnc_search_int64_get_type): Likewise.
+  * src/gnome-search/search-numeric.c (gnc_search_numeric_get_type): Likewise.
+  * src/gnome-search/search-reconciled.c (gnc_search_reconciled_get_type):
+    Likewise.
+  * src/gnome-search/search-string.c (gnc_search_string_get_type): Likewise.
+  * src/business/business-gnome/search-owner.c
+    (gnc_search_owner_get_type): Likewise.
+  * src/gnome-gnc-split-reg.c (gnc_split_reg_get_type): Return type and
+    GNC_SPLIT_REG_TYPE are GType.
+
+ -- Thomas Bushnell, BSG <tb@debian.org>  Tue, 16 Jan 2007 16:04:51 -0800
+
+gnucash (2.0.2-2.1) unstable; urgency=medium
+
+  * NMU.
+  * Use unversioned build dependency on python instead of python2.3.
+
+ -- Matthias Klose <doko@debian.org>  Sat, 16 Dec 2006 14:29:06 +0000
+
+gnucash (2.0.2-2) unstable; urgency=medium
+
+  * Medium urgency because this fixes a release-critical bug.
+  * src/register/ledger-core/split-register-control.c
+    (gnc_split_register_auto_completion): Apply upstream change r15004.
+  * src/register/ledger-core/split-register.c (gnc_split_register_save):
+    Apply upstream change r15002.
+    (Closes: #392201)
+
+ -- Thomas Bushnell, BSG <tb@debian.org>  Thu, 12 Oct 2006 13:57:26 -0700
+
+gnucash (2.0.2-1) unstable; urgency=high
+
+  * Urgency high because this includes translation updates that need to
+    get into etch.
+  * New upstream release.
+    
+ -- Thomas Bushnell, BSG <tb@debian.org>  Sun,  8 Oct 2006 17:31:50 -0700
+
+gnucash (2.0.1-4) unstable; urgency=low
+
+  * debian/control (Standards-Version): Update to 3.7.2.
+  
+  * debian/changelog (1.6.1-5): Repair John Goerzen's email address; it was
+    mangled.
+  
+  * debian/copyright: Update FSF address to Franklin St.
+  
+  * debian/control (gnucash/Depends): Add ${misc:Depends} to pick up
+    gconf2 dependency from dh_gconf.
+  
+  * debian/postinst: Don't bother with ldconfig.
+  
+  * debian/control (Build-Depends): Add imagemagick.
+  * debian/rules (install): Convert PNG icon to XPM icon, and remove PNG
+    icon file.
+  * debian/gnucash.menu: Reference new XPM filename in place of old PNG one.
+  
+ -- Thomas Bushnell, BSG <tb@debian.org>  Mon,  2 Oct 2006 22:44:23 -0700
+
+gnucash (2.0.1-3) unstable; urgency=low
+
+  * debian/control (gnucash/Depends): Match not ${Source-Version} of
+    gnucash-common, but ${source:Version}, so that binary NMUs work
+    correctly.  (Build-Depends): Require at least version 1.13.19 of
+    dpkg-dev, so that the above syntax is recognized.  (Closes: #387232)
+
+ -- Thomas Bushnell, BSG <tb@debian.org>  Tue, 12 Sep 2006 17:38:12 -0700
+
+gnucash (2.0.1-2) unstable; urgency=low
+
+  * debian/control (Build-Depends): Require at least version 1.9.6-3.1 of
+    g-wrap.  (Closes: #382127).
+    
+  * debian/control (gnucash): Depend on libcrypt-ssleay-perl.  (Closes:
+    #387061).
+  
+  * debian/README.debian: Provide more accurate information about why HBCI
+    cannot be supported at present.  (Closes: #384627)
+  
+  * debian/control (Build-Depends): Add libgoffice-1-dev and
+    libgsf-gnome-1-dev.  (Closes: #382691)
+
+ -- Thomas Bushnell, BSG <tb@debian.org>  Tue, 29 Aug 2006 12:41:10 -0700
+
+gnucash (2.0.1-1) unstable; urgency=low
+
+  * New upstream release.
+
+ -- Thomas Bushnell, BSG <tb@debian.org>  Tue,  8 Aug 2006 17:26:11 -0700
+
+gnucash (2.0.0-1) unstable; urgency=low
+
+  * New upstream release.  (Closes: #367672)
+
+ -- Thomas Bushnell, BSG <tb@debian.org>  Sun,  9 Jul 2006 20:53:31 -0700
+
+gnucash (1.9.8-2) unstable; urgency=low
+
+  * debian/control (gnucash): Add Replaces: gnucash-common (<< 1.9.8-1) because
+    the gnucash package tookover gnucash.desktop from gnucash-common.
+    (Closes: #374567)
+
+ -- Thomas Bushnell, BSG <tb@debian.org>  Tue, 20 Jun 2006 20:03:34 -0700
+
+gnucash (1.9.8-1) unstable; urgency=high
+
+  * High urgency because this fixes a critical bug.  
+  
+  * New upstream release.  (Closes: #370502).
+    
+  * debian/gnucash.install: Add /usr/share/applications/gnucash.desktop.
+  * debian/rules (binary-indep): After dh_install run, remove
+    gnucash.desktop from gnucash-common so that it is only in gnucash.
+    (Closes: #373797)
+
+ -- Thomas Bushnell, BSG <tb@debian.org>  Sun, 18 Jun 2006 20:42:41 -0700
+
+gnucash (1.9.7-1) unstable; urgency=low
+
+  * New upstream release.  (Closes: #202614, #283092, #286119, #368140, 
+    #196169, #236697, #362552, #295566, #367800)
+
+ -- Thomas Bushnell, BSG <tb@debian.org>  Mon,  5 Jun 2006 22:06:16 -0700
+
+gnucash (1.9.6-3) unstable; urgency=low
+
+  * debian/control (gnucash-common): Conflict with any version of gnucash
+    preceding this one, to prevent partial upgrades.  (Closes: #367462)
+
+ -- Thomas Bushnell, BSG <tb@debian.org>  Mon, 15 May 2006 23:33:41 -0700
+
+gnucash (1.9.6-2) unstable; urgency=low
+
+  * debian/control (Build-Depends): Actually add g-wrap.  Somehow this was
+    logged in 1.9.5-4 but didn't get into the package.  (Closes: #367336)
+
+ -- Thomas Bushnell, BSG <tb@debian.org>  Mon, 15 May 2006 08:34:27 -0700
+
+gnucash (1.9.6-1) unstable; urgency=low
+
+  * New upstream release.  This is the first official beta release of what
+    will become the 2.0 gnucash.
+  * debian/README.debian: Remove experiemental distribution notice.
+
+ -- Thomas Bushnell, BSG <tb@debian.org>  Sun, 14 May 2006 21:05:47 -0700
+
+gnucash (1.9.5-4) experimental; urgency=low
+
+  * debian/control (Build-Depends): Add g-wrap.  (Closes: #367060)
+
+  * debian/control (Build-Depends): Add ofx, to get ofxdump.
+  
+ -- Thomas Bushnell, BSG <tb@debian.org>  Sat, 13 May 2006 09:19:01 -0700
+
+gnucash (1.9.5-3) experimental; urgency=low
+
+  * debian/control (gnucash-common): Don't depend on gnucash; Recommend it
+    instead.
+
+ -- Thomas Bushnell, BSG <tb@debian.org>  Tue,  9 May 2006 16:00:08 -0700
+
+gnucash (1.9.5-2) experimental; urgency=low
+
+  * debian/control (Build-Depends): Drop guile-gnome0-dev; it's not needed
+    and has bugs at the moment that prevent it from building on 64-bit
+    archs.
+
+ -- Thomas Bushnell, BSG <tb@debian.org>  Thu,  4 May 2006 13:17:46 -0700
+
+gnucash (1.9.5-1) experimental; urgency=low
+
+  * New upstream release.
+  
+  * debian/control (gnucash): Don't depend on libgconf11.  (Closes: #360361)
+  
+  * debian/control (gnucash): Depend on g-wrap and guile-g-wrap.  (Closes:
+    #362529)
+    
+ -- Thomas Bushnell, BSG <tb@debian.org>  Tue, 18 Apr 2006 11:40:28 -0700
+
+gnucash (1.9.3-1) experimental; urgency=low
+
+  * New upstream release.
+  
+  * debian/control (Build-Depends): Require x11-common in place of
+    xfree86-common. (Closes: #349184)
+
+ -- Thomas Bushnell, BSG <tb@debian.org>  Tue, 21 Mar 2006 08:26:44 -0800
+
+gnucash (1.9.1-1) experimental; urgency=low
+
+  * New upstream release. (Closes: #352776)
+    EXPERIMENTAL: Please read README.Debian before using.
+  * debian/control (Build-Depends): Remove libguppi-dev, libghttp-dev,
+    libgnome-dev, libglib1.2-dev, libgnomeprint-dev, libgal-dev,
+    libgtkhtml-dev, libgconf-dev, libgtkxmhtml-dev, libxml-dev,
+    libgwrapguile-dev.
+  * debian/control (Build-Depends): Add guile-gnome0-dev (>= 2.4.7),
+    libglib2.0-dev (>= 2.4.0), libxml2-dev (>= 2.4.16), libbonobo2-dev (>=
+    2.0.0), libgnomevfs2-dev (>= 2.2.0), libgnomevfs2-extra (>= 2.2.0),
+    libgtk2.0-dev (>= 2.4.13), libglade2-dev (>= 2.3.6),
+    libgnomeprint2.2-dev (>= 2.8.0), libart-2.0-dev (>= 2.3.11),
+    libgconf2-dev, libgnomeui-dev (>= 2.0.0), libgsf-gnome-1-dev (>=
+    1.12.2), libpango1.0-dev (>= 1.6.0), libgtkhtml3.8-dev, gconf2.
+  * debian/control (Build-Depends): Require at least version 2.4.7 of
+    libglib2.0-dev.  Require at least version 4.2.16 of debhelper.
+  * debian/rules: Define GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL.
+    (build): No longer need to build gmo files here.
+    (install): No need to special case gnucash.desktop, which is now put
+    in the right place.  No need to remove update-finance-quote.
+    (binary-arch): Run dh_gconf.
+    (clean): Remove goffice and gsf symlinks too; remove .links files.
+  * debian/gnucash-common.install: Replace /usr/share/* with /usr/share.
+  * debian/gnucash.desktop: Find icon in /usr/share/gnucash/pixmaps.
+  * debian/gnucash.menu: Likewise.
+  * debian/README.Debian: Bring up-to-date, and include upstream's
+    warning.
+  
+ -- Thomas Bushnell, BSG <tb@debian.org>  Wed, 15 Feb 2006 20:50:27 -0800
+
+gnucash (1.8.12-8) unstable; urgency=low
+
+  * debian/rules (build): Build gmo files after main make invocation.
+  (Closes: #352865, #352866)
+
+ -- Thomas Bushnell, BSG <tb@debian.org>  Wed, 15 Feb 2006 19:01:42 -0800
+
+gnucash (1.8.12-7) unstable; urgency=low
+
+  * debian/rules (CFLAGS): On hppa, specify -ffunction-sections to avoid
+    linker error.
+
+ -- Thomas Bushnell, BSG <tb@debian.org>  Sat,  4 Feb 2006 11:19:30 -0800
+
+gnucash (1.8.12-6) unstable; urgency=low
+
+  * src/business/business-gnome/business-gnome.scm
+    (business-report-function): Correct spelling error that somehow crept
+    into version 1.8.12-4.  (Error replaced "gnc:menuname-reports" with
+    "gnc:menuname-ncreports".)
+
+ -- Thomas Bushnell, BSG <tb@debian.org>  Tue, 17 Jan 2006 19:01:56 -0800
+
+gnucash (1.8.12-5) unstable; urgency=low
+
+  * debian/control (Build-Depends, gnucash): Actually make previous change
+    correctly.  ("3a2-5" was typoed, and 1.8.12-4 actually said "3a1-5" by
+    mistake.)  (Closes: #348505, #348502)
+
+ -- Thomas Bushnell, BSG <tb@debian.org>  Tue, 17 Jan 2006 11:07:36 -0800
+
+gnucash (1.8.12-4) unstable; urgency=low
+
+  * debian/control (Build-Depends, gnucash): Require at least version
+    3a2-5 of slib.  (Closes: #348018)
+
+ -- Thomas Bushnell, BSG <tb@debian.org>  Mon, 16 Jan 2006 11:23:00 -0800
+
+gnucash (1.8.12-3) unstable; urgency=low
+
+  * Grr.  Rerun libtoolize (--force --copy, version 1.4), automake, autoconf.
+  * aclocal.m4: Hand-edit the libtool macro to conform to Debian
+    requirements. Hand-Edit in GNOME_CHECK_GUILE and plenty other gnome and
+    guile macros too that aclocal doesn't catch.
+  * debian/rules: Define SED which doesn't seem to be getting set in libtool.
+
+ -- Thomas Bushnell, BSG <tb@debian.org>  Sat, 26 Nov 2005 15:58:22 -0800
+
+gnucash (1.8.12-2) unstable; urgency=low
+
+  * debian/configure: Change libtool check by brute force to do the proper
+    Debian thing.
+  * config.guess, config.sub: Copied from Debian autotools-dev-20050803.1.
+
+ -- Thomas Bushnell, BSG <tb@debian.org>  Sat, 26 Nov 2005 14:49:17 -0800
+
+gnucash (1.8.12-1) unstable; urgency=low
+
+  * New upstream release.  (Closes: #299235) All local changes we made to
+    1.8.10 are in the upstream source now.
+  
+  * debian/control (Build-Depends): Require at least version 1:0.8.0-8 of
+    libofx-dev to get the new C++ API.
+  
+ -- Thomas Bushnell, BSG <tb@debian.org>  Thu,  3 Nov 2005 09:32:10 -0800
+
+gnucash (1.8.10-19) unstable; urgency=low
+
+  * debian/control: Require at least version 1.4.2-22 of libgnome-dev.  
+    Require at least version 0.40.3-15 of libguppi-dev.  Require at least
+    version 0.24-3 of libgal-dev.
+
+ -- Thomas Bushnell, BSG <tb@debian.org>  Wed,  5 Oct 2005 02:39:53 -0700
+
+gnucash (1.8.10-18) unstable; urgency=low
+
+  * debian/rules (install): Delete upstream gnucash.desktop.  Install
+    Debian gnucash.desktop, and put it in the right place.
+  * debian/gnucash.desktop: New file.  Thanks to Magnus Therning.
+    (Closes: #291987)
+  
+ -- Thomas Bushnell, BSG <tb@debian.org>  Wed, 31 Aug 2005 21:10:07 -0700
+
+gnucash (1.8.10-17) unstable; urgency=low
+
+  * Grr.  Actually *make* the change to debian/control indicated in the
+    -16 changelog entry.
+
+ -- Thomas Bushnell, BSG <tb@debian.org>  Tue, 30 Aug 2005 18:29:37 -0700
+
+gnucash (1.8.10-16) unstable; urgency=low
+
+  * Require version 1:0.8.0-3 of libofx-dev; version 1:0.8.0-2 was missing
+    the proper shlibs file.
+
+ -- Thomas Bushnell, BSG <tb@debian.org>  Tue, 30 Aug 2005 18:04:04 -0700
+
+gnucash (1.8.10-15) unstable; urgency=low
+
+  * src/engine/date.c (printDate): Use mktime and localtime_r to fill in
+    the complete tm_str structure, since there are locales that expect to
+    be able to print the day of the week in a date string.  (Closes:
+    #312109, 296693)  If the date didn't fit in the provided string, then 
+    print it as an ISO date.
+
+ -- Thomas Bushnell, BSG <tb@debian.org>  Sun, 28 Aug 2005 13:27:27 -0700
+
+gnucash (1.8.10-14) unstable; urgency=low
+
+  * Recompile with new version of libofx-dev (at least 1:0.8.0-2).
+
+ -- Thomas Bushnell, BSG <tb@debian.org>  Sat, 27 Aug 2005 22:33:44 -0700
+
+gnucash (1.8.10-13) unstable; urgency=low
+
+  * Recompile to catch new C++ libraries.  (Closes: #321542).
+
+ -- Thomas Bushnell, BSG <tb@becket.net>  Sat,  6 Aug 2005 09:12:15 -0700
+
+gnucash (1.8.10-12) unstable; urgency=high
+
+  * High urgency because it fixes an RC bug.
+  
+  * debian/control (Build-Depends): Require version 1.0.9-7 or later of
+    libgconf-dev to be sure we have an important bugfix in place.
+    (gnucash Depends): Require version 1.0.9-7 or later of libgconf11 for
+    the same reason.  (Closes: #303867)
+  * debian/README.debian: Remove notice about gconf locking snafu.
+
+ -- Thomas Bushnell, BSG <tb@debian.org>  Fri,  8 Apr 2005 19:05:27 -0700
+
+gnucash (1.8.10-11) unstable; urgency=medium
+
+  * debian/control: Require version 1.1.10 of libgtkhtml-dev or greater.
+    (Closes: #120933, #190118).
+    
+  * debian/rules (build): Don't do make check; it slows down all the
+    buildds.
+  
+  * debian/README.debian: Update to match current reality; especially add
+    a notice about gconf locking snafu.
+  
+ -- Thomas Bushnell, BSG <tb@debian.org>  Tue,  5 Apr 2005 14:38:46 -0700
+
+gnucash (1.8.10-10) unstable; urgency=medium
+    
+  * medium urgency because the bad Depends is causing grief for many users. 
+  
+  * control: Set Priority to optional.
+  
+  * control (gnucash Depends): Partially revert last change; don't depend
+    on dfontmgr or lmodern; the former is a GUI and the latter is
+    essentially all of TeX.  gnucash runs fine without both.
+
+ -- Thomas Bushnell, BSG <tb@debian.org>  Mon, 21 Mar 2005 19:27:29 -0800
+
+gnucash (1.8.10-9) unstable; urgency=medium
+
+  * control (gnucash Depends): Depend on dfontmgr, psfontmgr, x-ttcidfont-conf,
+    and lmodern.  Thanks to Antony W. Serio (thunorsman@adelphia.net) for
+    the fix.  (Closes: #293798).
+
+ -- Thomas Bushnell, BSG <tb@debian.org>  Tue, 15 Mar 2005 14:15:29 -0800
+
+gnucash (1.8.10-8) unstable; urgency=high
+
+  * high urgency upload because the fix for critical bug 291632 didn't get
+    into testing because of recompilation bugs, those later fixes were
+    uploaded with urgency low, and the package is still badly stuck.
+    People need the bug fix for 291632 and this will move it along.  No
+    changes to the source.
+
+ -- Thomas Bushnell, BSG <tb@debian.org>  Fri, 11 Mar 2005 13:34:20 -0800
+
+gnucash (1.8.10-7) unstable; urgency=low
+
+  * debian/control: Add Build-Depends on xfree86-common so that
+    /usr/include/X11 is present.
+
+ -- Thomas Bushnell, BSG <tb@debian.org>  Wed, 16 Feb 2005 12:09:41 -0800
+
+gnucash (1.8.10-6) unstable; urgency=low
+
+  * Rerun libtoolize (--force --copy, version 1.4), automake, autoconf.
+  * aclocal.m4: Hand-edit in the new libtool macro for aclocal.m4.
+    
+  * debian/control: No longer Build-Depends on libtool.
+  
+ -- Thomas Bushnell, BSG <tb@debian.org>  Wed, 16 Feb 2005 00:41:44 -0800
+
+gnucash (1.8.10-5) unstable; urgency=low
+
+  * src/business/business-core/gncInvoice.c (gncInvoicePostToAccount):
+    Incorporate patch from upstream CVS; ChangeLog entry of Derek Atkins
+    2005-01-23, gnucash bugzilla 165053; from cvs diff -r 1.56.2.12 -r
+    1.56.2.13 (Closes: #293269).
+
+ -- Thomas Bushnell, BSG <tb@debian.org>  Tue,  1 Feb 2005 20:44:46 -0800
+
+gnucash (1.8.10-4) unstable; urgency=low
+
+  * src/business/business-ledger/Makefile.am
+    (libgnc_business_ledger_la_LIBADD): Add
+    libgncmod-business-utils. (Closes: #292130).
+
+ -- Thomas Bushnell, BSG <tb@debian.org>  Mon, 31 Jan 2005 15:35:19 -0800
+
+gnucash (1.8.10-3) unstable; urgency=high
+
+  * src/backend/file/gnc-backend-file.c (gnc_file_be_remove_old_files):
+    Before pruning an old backup file, make sure that the filename is
+    really BASE.DATE.xac instead of just BASE.DATE.ANYTHING.  (Closes:
+    #291632).
+
+ -- Thomas Bushnell, BSG <tb@debian.org>  Fri, 21 Jan 2005 18:12:23 -0800
+
+gnucash (1.8.10-2) unstable; urgency=low
+
+  * Revert libofx1-dev change; that is, the correct name is still
+    libofx-dev.  But require at least version 0.7.0.
+
+ -- Thomas Bushnell, BSG <tb@becket.net>  Tue, 11 Jan 2005 19:18:18 -0800
+
+gnucash (1.8.10-1) unstable; urgency=low
+
+  * New upstream release.  (Closes: #285572, #224455.)
+    
+  * debian/rules: Don't use --enable-hbci; omit hbci-specific bits.
+  * debian/control: Drop gnucash-hbci.
+    (This does not signify the abandonment of HBCI intentions for gnucash,
+     but actually the opposite: once suitable aqbanking packages appear in
+     Debian, then I'll enable HBCI as a standard option.)
+  * debian/control: Require libofx1-dev, not libofx-dev (which is
+    deprecated).  Don't require libopenhbci-dev, libchipcard20-dev,
+    libopenhbci-plugin-ddvcard.
+    
+  * debian/rules (dh_shlibdeps): Program does not take multiple -l
+    options; use a colon separated list.
+  
+ -- Thomas Bushnell, BSG <tb@debian.org>  Mon, 10 Jan 2005 12:51:22 -0800
+
+gnucash (1.8.9-4) unstable; urgency=low
+
+  * New maintainer.  Closes: #239296.
+
+ -- Thomas Bushnell, BSG <tb@debian.org>  Tue, 17 Aug 2004 21:23:40 -0700
+
+gnucash (1.8.9-3) unstable; urgency=low
+
+  * QA Upload.
+  * Set maintainer to Debian QA Group <packages@qa.debian.org>.
+
+ -- Thomas Bushnell, BSG <tb@debian.org>  Sat,  7 Aug 2004 16:38:38 -0700
+
+gnucash (1.8.9-2) unstable; urgency=low
+
+  * Apply patch from Thomas Viehmann to fix module interdependency problems.
+  * Further tweaks from Steve Langasek to fix unresolved symbols in various
+    libraries/modules, and to make a clearer distinction between libraries and
+    modules in the program's usage (closes: #244016).
+
+ -- James A. Treacy <treacy@debian.org>  Mon, 10 May 2004 00:00:04 -0400
+
+gnucash (1.8.9-1) unstable; urgency=low
+
+  * New upstream release. Closes: Bug#243467
+  * Applied patch so it works with newer libtool. Closes: #241093, #240936
+
+ -- James A. Treacy <treacy@debian.org>  Tue, 13 Apr 2004 11:25:46 -0400
+
+gnucash (1.8.8-7) unstable; urgency=low
+
+  * Add back use of 'require' since slib has readded the function.
+
+ -- James A. Treacy <treacy@debian.org>  Mon, 22 Mar 2004 20:48:07 -0500
+
+gnucash (1.8.8-6) unstable; urgency=low
+
+  * Remove instance of 'require' that causes crash.
+    Closes: #238106, #238053, #238439, #238932
+
+ -- James A. Treacy <treacy@debian.org>  Sat, 20 Mar 2004 23:29:28 -0500
+
+gnucash (1.8.8-5) unstable; urgency=low
+
+  * gnucash-common created to hold contents of /usr/share. Closes: #233366
+
+ -- James A. Treacy <treacy@debian.org>  Thu, 19 Feb 2004 11:10:50 -0500
+
+gnucash (1.8.8-4) unstable; urgency=low
+
+  * Actually add libxml-parser-perl to the control file. Aaaargh.
+
+ -- James A. Treacy <treacy@debian.org>  Fri, 23 Jan 2004 16:54:50 -0500
+
+gnucash (1.8.8-3) unstable; urgency=low
+
+  * Added Build-Depends on libxml-parser-perl. Closes: Bug#229069
+
+ -- James A. Treacy <treacy@debian.org>  Thu, 22 Jan 2004 22:29:05 -0500
+
+gnucash (1.8.8-2) unstable; urgency=low
+
+  * Recompiled using openhbci 0.9.14
+
+ -- James A. Treacy <treacy@debian.org>  Thu, 22 Jan 2004 10:57:35 -0500
+
+gnucash (1.8.8-1) unstable; urgency=low
+
+  * New upstream source
+  * Remove check of type double from test-kvp-frames
+
+ -- James A. Treacy <treacy@debian.org>  Thu, 20 Nov 2003 00:00:44 -0500
+
+gnucash (1.8.7-8) unstable; urgency=low
+
+  * test for alpha properly in debian/rules (related to #220811)
+  * Update the guile slib catalog in the postinst. Closes: #221373, #220366
+
+ -- James A. Treacy <treacy@debian.org>  Sun, 16 Nov 2003 21:34:29 -0500
+
+gnucash (1.8.7-7) unstable; urgency=low
+
+  * Applied patch which fixes a bug in test-xml-transaction.
+
+ -- James A. Treacy <treacy@debian.org>  Sun, 16 Nov 2003 16:29:34 -0500
+
+gnucash (1.8.7-6) unstable; urgency=low
+
+  * fix typo in debian/rules (related to #220811)
+
+ -- James A. Treacy <treacy@debian.org>  Sat, 15 Nov 2003 12:25:41 -0500
+
+gnucash (1.8.7-5) unstable; urgency=low
+
+  * compile using -mieee on alpha. Closes: #220811
+
+ -- James A. Treacy <treacy@debian.org>  Fri,  7 Nov 2003 16:09:43 -0500
+
+gnucash (1.8.7-4) unstable; urgency=low
+
+  * do not install /usr/share/info/dir*. Closes: #213681
+
+ -- James A. Treacy <treacy@debian.org>  Sat,  4 Oct 2003 21:32:32 -0400
+
+gnucash (1.8.7-3) unstable; urgency=low
+
+  * Have test-scm-query-string do many iterations but the random transactions
+    have only 3 terms. It is hoped this will fix some arches.
+
+ -- James A. Treacy <treacy@debian.org>  Sat,  4 Oct 2003 01:24:17 -0400
+
+gnucash (1.8.7-2) unstable; urgency=low
+
+  * Applied patch to Transaction.c which fixes some of the build problems.
+    Patch has been applied upstream.
+  * To avoid problem with translated menus, gnucash depends on libglade0.
+    See bug #179342.
+
+ -- James A. Treacy <treacy@debian.org>  Tue, 30 Sep 2003 21:10:06 -0400
+
+gnucash (1.8.7-1) unstable; urgency=low
+
+  * New upstream release.
+  * Undo modification affecting hbci menus as the (gnome related) problem has
+    been fixed. Closes: #179342
+
+ -- James A. Treacy <treacy@debian.org>  Mon, 15 Sep 2003 10:13:38 -0400
+
+gnucash (1.8.6-1) unstable; urgency=low
+
+  * New upstream release.
+  * Touch /etc/gnucash/config if it doesn't exist
+
+ -- James A. Treacy <treacy@debian.org>  Sat, 13 Sep 2003 22:13:04 -0400
+
+gnucash (1.8.5-1) unstable; urgency=low
+
+  * New upstream release.
+  * Remove build dependency on automake. Closes: #205985
+
+ -- James A. Treacy <treacy@debian.org>  Sun, 24 Aug 2003 11:30:28 -0400
+
+gnucash (1.8.4-2) unstable; urgency=low
+
+  * Recompiled using libopenhbci12.
+
+ -- James A. Treacy <treacy@debian.org>  Mon, 30 Jun 2003 23:19:13 -0400
+
+gnucash (1.8.4-1) unstable; urgency=low
+
+  * New upstream version.
+  * bugs in reports fixed. Closes: #194726, #194453
+  * Fix typo in German translation. Closes: #195228
+
+ -- James A. Treacy <treacy@debian.org>  Mon, 26 May 2003 00:56:21 -0400
+
+gnucash (1.8.3-3) unstable; urgency=low
+
+  * gnucash-hbci depends on the same version of gnucash.
+  * cat output of config.log on failure of configure
+  * include function declarations in src/import-export/ofx/test/test-link.c
+
+ -- James A. Treacy <treacy@debian.org>  Tue, 20 May 2003 12:54:58 -0400
+
+gnucash (1.8.3-2) unstable; urgency=low
+
+  * Patch to fix QIF import.
+  * Apply temporary fix to hbci menus (related to bug #179342).
+
+ -- James A. Treacy <treacy@debian.org>  Thu, 15 May 2003 15:11:47 -0400
+
+gnucash (1.8.3-1) unstable; urgency=low
+
+  * New upstream release.
+
+ -- James A. Treacy <treacy@debian.org>  Thu, 15 May 2003 01:49:34 -0400
+
+gnucash (1.8.2-6) unstable; urgency=low
+
+  * Finally resolved the libtool problems with upstream. Hopefully fixed
+    the problem for the last time. Closes: #190938
+
+ -- James A. Treacy <treacy@debian.org>  Sun, 27 Apr 2003 15:09:09 -0400
+
+gnucash (1.8.2-5) unstable; urgency=low
+
+  * Add missing build-depends on libltdl3-dev. Closes: #187900
+  * Include hack to get hbci menus working when the locale is changed.
+
+ -- James A. Treacy <treacy@debian.org>  Sun,  6 Apr 2003 17:39:13 -0400
+
+gnucash (1.8.2-4) unstable; urgency=low
+
+  * Add gnucash icon to menu. Closes: #174808
+  * Fix crash during import of ofx file. Closes: #187061
+    Patch has been applied to upstream CVS.
+  * Quote empty string in main.scm to prevent crash when opening tutorial.
+    Patch has been sent upstram. Closes: #186188
+  * Fix confusion of symbol and string in transaction.scm. Patch has been sent
+    upstream. Closes: #186004
+  * Fix problem in the definition of Week and 2Week which causes some
+    reports to fail. Patch sent upstream. Closes: #185860
+  * Set up /usr/bin/guile-1.6 to be the default. Closes: #187483
+  * Transaction export fixed. Patch sent upstream. Closes: #186048
+
+ -- James A. Treacy <treacy@debian.org>  Wed,  2 Apr 2003 19:14:09 -0500
+
+gnucash (1.8.2-3) unstable; urgency=low
+
+  * recompiled with newer libgal. Closes: #184843
+
+ -- James A. Treacy <treacy@debian.org>  Thu, 27 Mar 2003 17:18:34 -0500
+
+gnucash (1.8.2-2) unstable; urgency=low
+
+  * Now uses guile 1.6. Should compile on all 64 bit arches.
+    Closes: #183079, #164166
+
+ -- James A. Treacy <treacy@debian.org>  Wed, 12 Mar 2003 13:15:35 -0500
+
+gnucash (1.8.2-1) unstable; urgency=low
+
+  * New upstream release.
+
+ -- James A. Treacy <treacy@debian.org>  Mon, 10 Mar 2003 23:06:01 -0500
+
+gnucash (1.8.1-1) unstable; urgency=low
+
+  * New upstream source.
+  * Fixed qif import bug. Closes: #179997
+  * Transactions entered from the general ledger use the locale currency and
+    create multicurrency transactions if needed. Closes: #179261
+  * test-print-parse-amount now works. Closes: #179802
+
+ -- James A. Treacy <treacy@debian.org>  Tue, 11 Feb 2003 11:45:59 -0500
+
+gnucash (1.8.0-2) unstable; urgency=low
+
+  * Recompiled to use new libopenhbci package.
+  * Possible fix for Bug#179802. Upstream needs to look into it further.
+
+ -- James A. Treacy <treacy@debian.org>  Wed,  5 Feb 2003 09:24:01 -0500
+
+gnucash (1.8.0-1) unstable; urgency=low
+
+  * New upstream source.
+
+ -- James A. Treacy <treacy@debian.org>  Mon,  3 Feb 2003 15:28:36 -0500
+
+gnucash (1.7.8-1) unstable; urgency=low
+
+  * New upstream source.
+  * gnucash-sql package dropped as sql support is broken. Should be back
+    in a few releases.
+  * gnucash-hbci depends on libopenhbci0. Closes: #177865, #177571
+  * Can't cut a transaction when reconcile dialog is open. Closes: #143077
+
+ -- James A. Treacy <treacy@debian.org>  Tue, 21 Jan 2003 14:19:59 -0500
+
+gnucash (1.7.7-2) unstable; urgency=low
+
+  * ofx support folded back into main package at request of ftpadmins
+
+ -- James A. Treacy <treacy@debian.org>  Wed, 15 Jan 2003 18:15:31 -0500
+
+gnucash (1.7.7-1) unstable; urgency=low
+
+  * Updated CVS (version 1.7.7  plus cvs updates)
+
+ -- James A. Treacy <treacy@debian.org>  Mon,  6 Jan 2003 16:09:01 -0500
+
+gnucash (1.7.6+cvs.2002.12.31-1) unstable; urgency=low
+
+  * Updated CVS
+  * DATETIME -> TIMESTAMP in postgres code. Closes: #174711 
+  * Compile in src/import-export/ofx/test, which broke on some arches, may work
+    now.
+
+ -- James A. Treacy <treacy@debian.org>  Tue, 31 Dec 2002 09:56:20 -0500
+
+gnucash (1.7.6+cvs.2002.12.26-2) unstable; urgency=low
+
+  * Remove some extra files left in the source which may be the cause of build
+    failure on other arches.
+
+ -- James A. Treacy <treacy@debian.org>  Sat, 28 Dec 2002 14:37:37 -0500
+
+gnucash (1.7.6+cvs.2002.12.26-1) unstable; urgency=low
+
+  * modified acinclude.m4 and ran autogen.sh on CVS so newer libtool is used.
+    Should allow compilation on mips & mipsel. Closes: Bug#174214
+
+ -- James A. Treacy <treacy@debian.org>  Tue, 24 Dec 2002 12:43:27 -0500
+
+gnucash (1.7.6-1) unstable; urgency=low
+
+  * New upstream version.
+
+ -- James A. Treacy <treacy@debian.org>  Mon, 23 Dec 2002 15:01:39 -0500
+
+gnucash (1.7.5-3) unstable; urgency=low
+
+  * fix gnucash-sql package (library name had changed). Closes: #173689
+  * add postgres README. Closes: #169641
+
+ -- James A. Treacy <treacy@debian.org>  Thu, 19 Dec 2002 12:28:02 -0500
+
+gnucash (1.7.5-2) unstable; urgency=low
+
+  * add build-depends on libofx-dev
+  * add version >= 1.3.2 to libgwrapguile1 dependency. Closes: #173613
+  * add build-depends on automake. Closes: #173632
+
+ -- James A. Treacy <treacy@debian.org>  Wed, 18 Dec 2002 19:35:27 -0500
+
+gnucash (1.7.5-1) unstable; urgency=low
+
+  * New upstream source
+  * symlinks handled correctly. Closes: #169432
+  * recompiling fixes dependencies. Closes: #172665, #170863
+  * no longer include update-finance-quote. Closes: #163541
+
+ -- James A. Treacy <treacy@debian.org>  Wed, 20 Nov 2002 00:48:23 -0500
+
+gnucash (1.6.8-3) unstable; urgency=low
+
+  * Added dependency on libungif4g. Closes: #161196
+
+ -- James A. Treacy <treacy@debian.org>  Mon, 30 Sep 2002 01:40:31 -0400
+
+gnucash (1.6.8-2) unstable; urgency=low
+
+  * rebuilt using libpng2-dev to fix problem with gnome libs. Closes: #159346
+
+ -- James A. Treacy <treacy@debian.org>  Tue,  3 Sep 2002 13:53:49 -0400
+
+gnucash (1.6.8-1) unstable; urgency=low
+
+  * New upstream version. Closes: #156886
+  * French translation fixed upstream. Closes: #147316
+  * Portuguese translation updated upstream. Closes: #131604
+
+ -- James A. Treacy <treacy@debian.org>  Thu, 22 Aug 2002 16:22:52 -0400
+
+gnucash (1.6.6-3) unstable; urgency=low
+
+  * commented out src/optional/swig directory from the build. The dir causes the
+    build to fail for some. Closes: #155996
+
+ -- James A. Treacy <treacy@debian.org>  Fri,  9 Aug 2002 12:03:20 -0400
+
+gnucash (1.6.6-2) unstable; urgency=low
+
+  * Added sql support with gnucash-sql package. Closes: #122846
+  * Compiled with new libc6. Closes: #155868
+  * Used updated portuguese translation - patch sent upstream (fixes bug #131604)
+  * Minor corrections to French translation - patch sent upstream (fixes bug #147316)
+
+ -- James A. Treacy <treacy@debian.org>  Thu, 18 Jul 2002 10:19:09 -0400
+
+gnucash (1.6.6-1) unstable; urgency=low
+
+  * New upstream version
+  * Help window now responsive when a dialog is open. Closes: #104258
+  * Applied patch to man page (also added to upstream CVS). Closes: #113436
+  * Clicking on an expense in the Expense Barchart works properly. Closes: #127563
+  * Build-Depends liborbit-dev. Closes: #133057
+
+ -- James A. Treacy <treacy@debian.org>  Sat, 16 Mar 2002 14:14:59 -0500
+
+gnucash (1.6.5-5) unstable; urgency=low
+
+  * Remove extraneous README files from /usr/share/doc/gnucash. Closes: #134060
+  * Don't let gnucash build on ia64 or alpha so can get the package into
+    testing. Will be reversed when guile is fixed. Closes: #132978, #127965
+
+ -- James A. Treacy <treacy@debian.org>  Tue, 19 Feb 2002 09:31:15 -0500
+
+gnucash (1.6.5-4) unstable; urgency=low
+
+  * remove sql support until postgresql gets into main. Closes: #133760
+
+ -- James A. Treacy <treacy@debian.org>  Mon, 18 Feb 2002 00:46:38 -0500
+
+gnucash (1.6.5-3) unstable; urgency=low
+
+  * Added sql support into gnucash-sql package. Closes: #122846
+  * Actually change the Maintainer address
+  * Minor spelling change corrected. Also fixed upstream. Closes: #132036
+  * Build-Depends on automake << 1.5. Closes: #133058
+    gnucash cvs has fixes for automake 1.5 so with the next version this
+    dependency will go away.
+
+ -- James A. Treacy <treacy@debian.org>  Tue, 12 Feb 2002 01:14:50 -0500
+
+gnucash (1.6.5-2) unstable; urgency=low
+
+  * compiled using libguppi16. Closes: #131279, #131305
+
+ -- James A. Treacy <treacy@debian.org>  Fri, 25 Jan 2002 23:47:35 -0500
+
+gnucash (1.6.5-1) unstable; urgency=low
+
+  * New Maintainer
+  * New Upstream release. Closes: bug#127932
+  * compiled using libgal19. Closes: bug#130812
+  * Should build on arm. Closes: bug#117958
+  * Makefile.am fixed. Closes: #118491
+  * Euro-DEM conversion rate fixed in docs. Closes: #127892
+
+ -- James A. Treacy <treacy@debian.org>  Thu, 24 Jan 2002 11:43:07 -0500
+
+gnucash (1.6.4-4) unstable; urgency=low
+
+  * Rebuilt.  Libguppi changed soname again.
+    Closes: #123287.
+
+ -- John Goerzen <jgoerzen@complete.org>  Wed, 12 Dec 2001 16:16:52 -0500
+
+gnucash (1.6.4-3) unstable; urgency=low
+
+  * Rebuilt.  Closes: #119582, #119166.
+  * Added Build-Depends on python1.5.  Hopefully it can be removed soon.
+    Closes: #117988, #118444.
+
+ -- John Goerzen <jgoerzen@complete.org>  Wed, 21 Nov 2001 10:26:30 -0500
+
+gnucash (1.6.4-2) unstable; urgency=low
+
+  * Changed the build-deb on libgwrapguile-dev to require 1.1.11-3, which
+    has the working version of the g-wrapped stuff in it.
+  * Added in James Treacy's README.debian information for locales.
+    If you are not in the US and are having currency display problems,
+    read this file!  Closes: #115464.
+    Treacy reports:
+    "#115464: gnucash: Disable display of the default currency moniker
+     need to generate the locale for your currency. For example, I needed to
+     add 'en_CA ISO-8859-1' to /etc/locale.gen
+     A new README.Debian explains this in detail."
+  * Use --sysconfdir=/etc in debian/rules (Treacy)
+  * Calls ldconfig in postinst/postrm 
+
+ -- John Goerzen <jgoerzen@complete.org>  Wed, 31 Oct 2001 11:22:04 -0500
+
+gnucash (1.6.4-1) unstable; urgency=low
+
+  * New upstream release.  Closes: #112768.
+  * Removed duplicate libdb3-dev build dep.  Closes: #116752.
+
+ -- John Goerzen <jgoerzen@complete.org>  Tue, 23 Oct 2001 13:11:32 -0500
+
+gnucash (1.6.1-5) unstable; urgency=low
+
+  * Rebuilt.  Closes: #111493, #109465.
+
+ -- John Goerzen <jgoerzen@complete.org>  Sat,  6 Oct 2001 17:43:29 -0500
+
+gnucash (1.6.1-4) unstable; urgency=low
+
+  * Added build-depends on guile1.4-slib.  Closes: #108916.
+  * Rebuilt.  Closes: #109075.
+  * Removed the libxml1 versioned dep that was added in 1.6.1-2 because
+    libxml1 is now fixed.  Closes: #107505.
+
+ -- John Goerzen <jgoerzen@complete.org>  Thu, 30 Aug 2001 09:18:56 -0500
+
+gnucash (1.6.1-3) unstable; urgency=low
+
+  * Added build-depends on libgconf-dev.  Closes: #106901.
+  * Rebuilt.  Closes: #107372, #107388.
+
+ -- John Goerzen <jgoerzen@complete.org>  Wed,  1 Aug 2001 10:54:13 -0500
+
+gnucash (1.6.1-2) unstable; urgency=low
+
+  * TEMPORARILY add a dependency on libxml1 (>= 1.8.3) to fix a saving
+    bug until libxml1's shlibs file is fixed.
+  * Add infodir=/usr/share/info to debian/rules.  Closes: #103028.
+  * Added rm doc/sgml/*/gnucash/help-search-index.db to clean target.
+
+ -- John Goerzen <jgoerzen@complete.org>  Wed, 11 Jul 2001 11:14:25 -0500
+
+gnucash (1.6.1-1) unstable; urgency=low
+
+  * New upstream release
+  * Removed README.debian.  Closes: #101525.
+
+ -- John Goerzen <jgoerzen@complete.org>  Mon,  9 Jul 2001 09:40:36 -0500
+
+gnucash (1.6.0-3) unstable; urgency=low
+
+  * Removed Depends on libgwrapguile0.  Closes: #101029, #101047, #101408.
+  * Removed Depends/Suggests on gnuplot and scm.  Closes: #101013.
+  * People are still reporting bugs saying that 1.6.0 is out.
+    Closes: #100838.
+  * Added libfinance-quote-perl and libdate-manip-perl to Depends.
+    Closes: #101062.
+
+ -- John Goerzen <jgoerzen@complete.org>  Tue, 19 Jun 2001 13:04:25 -0500
+
+gnucash (1.6.0-2) unstable; urgency=low
+
+  * Compile with -O2 -Wall.  Have to back out the src/register
+    changes because with -O2, it works the way it was shipped (!)
+
+ -- John Goerzen <jgoerzen@complete.org>  Thu, 14 Jun 2001 10:01:19 -0500
+
+gnucash (1.6.0-1) unstable; urgency=low
+
+  * New upstream release.  Closes: #100545, #95917, #100555.
+  * Added many build dependencies for 1.6.0.
+  * Added build-dep on debhelper.  Closes: #98830.
+  * Updated description.  Closes #98964.
+  * src/test/Makefile.am: remove test-load and xml2-is-file tests
+    because upstream is missing components of them.
+  * Modify src/register/register-common.h and table-allgui.h to move
+    functions out of .h files and into .c files so program links.
+  * Dropped obsolete eperl dependency.
+
+ -- John Goerzen <jgoerzen@complete.org>  Tue, 12 Jun 2001 08:39:05 -0500
+
+gnucash (1.4.12-1) unstable; urgency=low
+
+  * New upstream release.  Closes: #93079.
+  * Changed libdb2-dev build-dep to libdb3-dev.  Closes: #96361.
+
+ -- John Goerzen <jgoerzen@complete.org>  Tue, 22 May 2001 14:00:43 -0500
+
+gnucash (1.4.10-3) unstable; urgency=low
+
+  * Another stab at fixing Build-Depends.  Sigh!  Closes: #87340.
+
+ -- John Goerzen <jgoerzen@complete.org>  Mon, 26 Feb 2001 15:45:03 -0500
+
+gnucash (1.4.10-2) unstable; urgency=low
+
+  * Added a Build-Depends on swig.
+
+ -- John Goerzen <jgoerzen@complete.org>  Fri, 23 Feb 2001 13:58:44 -0500
+
+gnucash (1.4.10-1) unstable; urgency=low
+
+  * New upstream release.  Closes: #84769.
+  * Added libgtkxmhtml-dev and libxml2-dev to Build-Depends.
+    Closes: #86624, #81722, #86633.
+  * Uses dh_perl for Perl stuff.  Closes: #82383.
+  * Recompile with libguile9.  Closes: #85652, #85966, #86029, #81835.
+  * Dropped Tyson's -fsigned-char.  Closes: #69866.
+
+ -- John Goerzen <jgoerzen@complete.org>  Thu, 22 Feb 2001 12:10:48 -0500
+
+gnucash (1.4.9-1) unstable; urgency=low
+
+  * New upstream release.  Closes: #79124, #77334.
+  * Recompiled.  Closes: #80647.
+
+ -- John Goerzen <jgoerzen@complete.org>  Sat,  6 Jan 2001 19:19:27 -0500
+
+gnucash (1.4.8-1) unstable; urgency=low
+
+  * New upstream release.  Closes #75006.
+
+ -- John Goerzen <jgoerzen@complete.org>  Thu,  2 Nov 2000 19:59:49 -0500
+
+gnucash (1.4.6-1) unstable; urgency=low
+
+  * New upstream release
+
+ -- John Goerzen <jgoerzen@complete.org>  Mon, 18 Sep 2000 11:02:54 -0500
+
+gnucash (1.4.5-2) unstable; urgency=low
+
+  * Really fixed file placement this time.
+
+ -- John Goerzen <jgoerzen@complete.org>  Mon,  4 Sep 2000 14:01:21 -0500
+
+gnucash (1.4.5-1) unstable; urgency=low
+
+  * New upstream release.  Closes: #70510.
+  * This is a recompile.  Closes: #67347.
+  * Fixed file placement.  Closes: #68811.
+
+ -- John Goerzen <jgoerzen@complete.org>  Mon,  4 Sep 2000 12:11:22 -0500
+
+gnucash (1.4.2-1) unstable; urgency=low
+
+  * New upstream release
+  * Bug #66719 was already fixed (Please get the newer version).
+    Closes: #66719.
+  * Better QIF import.  Closes: #61320.
+  * Closeing already-fixed bugs.  Closes: #65221, #66389, #66420.
+
+ -- John Goerzen <jgoerzen@complete.org>  Mon, 10 Jul 2000 23:22:49 -0500
+
+gnucash (1.4.0-1) unstable; urgency=low
+
+  * New upstream release.  Closes: #65906.
+    (Y'all are really chomping at the bit, aren't you? <grin>)
+
+ -- John Goerzen <jgoerzen@complete.org>  Tue, 20 Jun 2000 23:57:15 -0500
+
+gnucash (1.3.8-1) unstable; urgency=low
+
+  * New Debian maintainer: John Goerzen <jgoerzen@complete.org>
+  * Closing already-fixed bugs.  Closes: #62410, #62424, #62550.
+  * Updated package.  Closes: #60387, #65000.
+  * Upstream bugfixes.  Closes: #56979, #52990, #60901.
+  * Fixed 64-bit cleanliness issues.  Now loads files without segfaulting
+    on Alpha.
+  * Print feature now here.  It's in Reports -> Transaction Report
+    from the main menu.  Closes: #57311.
+  * esd deps fixed.  Closes: #60655.
+  * Strings longer.  Closes: #44720.
+  * Suggests gnuplot.  Closes: #62553.
+
+ -- John Goerzen <jgoerzen@complete.org>  Wed, 31 May 2000 12:50:19 -0500
+
+gnucash (1.3.4-3) frozen unstable; urgency=high
+
+  * Make wrapper script executable when installed.
+    Fixes #62424, #62410
+
+ -- Tyson Dowd <trd@cs.mu.oz.au>  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 <trd@cs.mu.oz.au>  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 <rgmerk@mira.net> for his help in preparing
+    this release.
+
+ -- Tyson Dowd <trd@cs.mu.oz.au>  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 <trd@cs.mu.oz.au>  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 <trd@cs.mu.oz.au>  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 <trd@cs.mu.oz.au>  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
+    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 <trd@cs.mu.oz.au>  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 <trd@cs.mu.oz.au>  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 <trd@cs.mu.oz.au>  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 <trd@cs.mu.oz.au>  Thu, 25 Nov 1999 02:30:17 +1100
+
+gnucash (1.2.3-3) unstable; urgency=low
+
+  * Add patch for powerpc supplied by 
+    Konstantinos Margaritis <markos@debian.org> (Fixes #39050).
+  * Add improved documention in description as suggested by
+    reiter@netspace.net.au (Fixes #45229).
+
+ -- Tyson Dowd <trd@cs.mu.oz.au>  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 <trd@cs.mu.oz.au>  Tue, 19 Oct 1999 08:13:38 +0200
+
+gnucash (1.2.3-1) unstable; urgency=low
+
+  * New upstream version.
+  * Compiled against potato.
+
+ -- Tyson Dowd <trd@cs.mu.oz.au>  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 <tpo@spin.ch> to add a
+    menu entry for gnucash. 
+
+ -- Tyson Dowd <trd@cs.mu.oz.au>  Sat, 17 Jul 1999 17:29:48 -0700
+
+gnucash (1.2.0-1) unstable; urgency=low
+
+  * New upstream version.
+
+ -- Tyson Dowd <trd@cs.mu.oz.au>  Fri,  2 Jul 1999 22:13:58 -0700
+
+gnucash (1.1.27-1) unstable; urgency=low
+
+  * New upstream version.
+
+ -- Tyson Dowd <trd@cs.mu.oz.au>  Tue, 25 May 1999 16:02:44 +1000
+
+gnucash (1.1.26-2) unstable; urgency=low
+
+  * Add a few missing dependencies.
+
+ -- Tyson Dowd <trd@cs.mu.oz.au>  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 <edd@debian.org>  Wed, 10 Mar 1999 22:37:37 -0500
+
+gnucash (1.1.26-1) unstable; urgency=low
+
+  * Initial Release.
+
+ -- Tyson Dowd <trd@cs.mu.oz.au>  Wed, 10 Mar 1999 13:00:52 +1100
+
--- gnucash-2.2.6.orig/debian/control
+++ gnucash-2.2.6/debian/control
@@ -0,0 +1,34 @@
+Source: gnucash
+Section: gnome
+Priority: optional
+Maintainer: Thomas Bushnell, BSG <tb@debian.org>
+Uploaders: Jan Wagner <waja@cyconet.org>
+Standards-Version: 3.7.2
+Build-Depends: libfinance-quote-perl, guile-1.6-slib, guile-1.6-dev, m4, gettext, slib (>= 3a2-5), debhelper (>= 4.2.16), zlib1g-dev, libxml-parser-perl, x11-common, libglib2.0-dev (>= 2.4.7), libxml2-dev (>= 2.4.16), libgtk2.0-dev (>= 2.4.13), libglade2-dev (>= 2.3.6), libgnomeprint2.2-dev (>= 2.8.0), libgconf2-dev, libgnomeui-dev (>= 2.0.0), libgsf-gnome-1-dev (>= 1.12.2), libpango1.0-dev (>= 1.6.0), libgtkhtml3.8-dev, gconf2, libgoffice-1-dev, dpkg-dev (>= 1.13.19), swig, libofx-dev, ofx, libaqbanking16-dev, libssl-dev
+Build-Conflicts: guile-1.8-dev, guile-1.8
+
+Package: gnucash
+Architecture: any
+Depends: gnucash-common (>= ${source:Version}), ${shlibs:Depends}, ${misc:Depends}, slib (>= 3a2-5), guile-1.6-slib, libfinance-quote-perl, libdate-manip-perl, psfontmgr, x-ttcidfont-conf, libcrypt-ssleay-perl
+Suggests: gnucash-sql
+Recommends: gnucash-docs
+Replaces: gnucash-common (<< 1.9.8-1)
+Description: A personal finance tracking program
+ 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 and OFX files.
+
+Package: gnucash-common
+Architecture: all
+Conflicts: gnucash (<< ${source:Version})
+Recommends: gnucash (>= ${source:Version})
+Replaces: gnucash (<< 1.8.8-5)
+Description: A personal finance tracking program
+ 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 and OFX files, and interact with HBCI
+ banks.
+ .
+ This package contains the architecture independent portions of gnucash.
--- gnucash-2.2.6.orig/debian/compat
+++ gnucash-2.2.6/debian/compat
@@ -0,0 +1 @@
+4
--- gnucash-2.2.6.orig/debian/conffiles.old
+++ gnucash-2.2.6/debian/conffiles.old
@@ -0,0 +1 @@
+/etc/gnucash/config
--- gnucash-2.2.6.orig/debian/control.ofx
+++ gnucash-2.2.6/debian/control.ofx
@@ -0,0 +1,52 @@
+Source: gnucash
+Section: utils
+Priority: extra
+Maintainer: James A. Treacy <treacy@debian.org>
+Standards-Version: 3.5.6
+Build-Depends: automake1.5, libofx-dev (>= 0.6.2-7), libfinance-quote-perl, libguppi-dev (>= 0.40.2-3), guile1.4-slib, guile1.4, libghttp-dev, m4, gettext, libtool, libgnome-dev, libgwrapguile-dev (>= 1.3.4-1), libdb3-dev, slib, swig, libglib1.2-dev, libgnomeprint-dev, libguile-dev (>= 1.4), libxml-dev, debhelper, libgal-dev (>= 0.19), libgtkhtml-dev, zlib1g-dev, libjpeg62-dev, libgconf-dev, python2.2, liborbit-dev, postgresql-dev, libungif4-dev
+
+Package: gnucash
+Architecture: any
+Depends: ${shlibs:Depends}, slib, guile1.4-slib, libfinance-quote-perl, libdate-manip-perl
+Suggests: gnucash-sql, gnucash-docs
+Description: A personal finance tracking program
+ 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.
+
+Package: gnucash-sql
+Architecture: any
+Depends: ${shlibs:Depends}
+Suggests: postgresql
+Description: A personal finance tracking program
+ 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.
+ .
+ This package adds SQL support (using postgresql) to the gnucash package.
+
+Package: gnucash-ofx
+Architecture: any
+Depends: ${shlibs:Depends}
+Description: A personal finance tracking program
+ 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.
+ .
+ This package adds support for ofx, a home banking standard used in
+ North America.
+
+Package: gnucash-hbci
+Architecture: any
+Depends: ${shlibs:Depends}
+Description: A personal finance tracking program
+ 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.
+ .
+ This package adds support for hbci, a home banking standard used in
+ Germany.
--- gnucash-2.2.6.orig/debian/control.sql
+++ gnucash-2.2.6/debian/control.sql
@@ -0,0 +1,40 @@
+Source: gnucash
+Section: utils
+Priority: extra
+Maintainer: James A. Treacy <treacy@debian.org>
+Standards-Version: 3.5.6
+Build-Depends: automake1.5, libofx-dev (>= 0.6.2-7), libfinance-quote-perl, libguppi-dev (>= 0.40.2-3), guile1.4-slib, guile1.4, libghttp-dev, m4, gettext, libtool, libgnome-dev, libgwrapguile-dev (>= 1.3.4-1), libdb3-dev, slib, swig, libglib1.2-dev, libgnomeprint-dev, libguile-dev (>= 1.4), libxml-dev, debhelper, libgal-dev (>= 0.19), libgtkhtml-dev, zlib1g-dev, libjpeg62-dev, libgconf-dev, python2.2, liborbit-dev, postgresql-dev, libungif4-dev
+
+Package: gnucash
+Architecture: any
+Depends: ${shlibs:Depends}, slib, guile1.4-slib, libfinance-quote-perl, libdate-manip-perl
+Suggests: gnucash-sql, gnucash-docs
+Description: A personal finance tracking program
+ 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.
+
+Package: gnucash-sql
+Architecture: any
+Depends: ${shlibs:Depends}
+Suggests: postgresql
+Description: A personal finance tracking program
+ 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.
+ .
+ This package adds SQL support (using postgresql) to the gnucash package.
+
+Package: gnucash-hbci
+Architecture: any
+Depends: ${shlibs:Depends}
+Description: A personal finance tracking program
+ 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.
+ .
+ This package adds support for hbci, a home banking standard used in
+ Germany.
--- gnucash-2.2.6.orig/debian/copyright
+++ gnucash-2.2.6/debian/copyright
@@ -0,0 +1,32 @@
+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 downloaded from http://www.gnucash.org/pub/gnucash/sources/stable/
+The gnucash website is http://www.gnucash.org/
+
+Copyright:
+
+	Gnucash is under the GNU GPL.
+
+	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., 51 Franklin St, Fifth Floor, Boston, MA
+        02110-1301, USA.
+
+
+On Debian GNU/Linux systems, the complete text of the GNU General
+Public License can be found in `/usr/share/common-licenses/GPL'.
--- gnucash-2.2.6.orig/debian/gnucash-common.install
+++ gnucash-2.2.6/debian/gnucash-common.install
@@ -0,0 +1,2 @@
+/usr/share
+/usr/include/
--- gnucash-2.2.6.orig/debian/gnucash-common.manpages
+++ gnucash-2.2.6/debian/gnucash-common.manpages
@@ -0,0 +1,2 @@
+gnucash.1
+gnc-prices.1
--- gnucash-2.2.6.orig/debian/gnucash.desktop
+++ gnucash-2.2.6/debian/gnucash.desktop
@@ -0,0 +1,9 @@
+[Desktop Entry]
+Encoding=UTF-8
+Name=GnuCash
+Comment=GnuCash Personal Finance
+Exec=gnucash
+Icon=/usr/share/gnucash/pixmaps/gnucash-icon-16x16.png
+Terminal=false
+Type=Application
+Categories=GNOME;Application;Office
--- gnucash-2.2.6.orig/debian/gnucash.docs
+++ gnucash-2.2.6/debian/gnucash.docs
@@ -0,0 +1,4 @@
+AUTHORS
+NEWS
+README
+TODO
--- gnucash-2.2.6.orig/debian/gnucash-hbci.install
+++ gnucash-2.2.6/debian/gnucash-hbci.install
@@ -0,0 +1,2 @@
+/usr/lib/gnucash/gnucash/libgncmod-hbci*
+/usr/share/gnucash/scm/hbci/hbci.scm
--- gnucash-2.2.6.orig/debian/gnucash.install
+++ gnucash-2.2.6/debian/gnucash.install
@@ -0,0 +1,4 @@
+/usr/lib/
+/usr/bin/
+/etc
+/usr/share/applications/gnucash.desktop
--- gnucash-2.2.6.orig/debian/gnucash.menu
+++ gnucash-2.2.6/debian/gnucash.menu
@@ -0,0 +1,5 @@
+?package(gnucash):needs="x11" section="Apps/Tools"               \
+        title="GnuCash"                                          \
+        longtitle="GnuCash personal finance tracking program"    \
+        command="gnucash"                                        \
+        icon="/usr/share/gnucash/pixmaps/gnucash-icon-16x16.png"
--- gnucash-2.2.6.orig/debian/gnucash.postinst.not
+++ gnucash-2.2.6/debian/gnucash.postinst.not
@@ -0,0 +1,7 @@
+#!/bin/sh -e
+
+if [ "$1" = "configure" ]; then
+        ldconfig
+fi
+
+#DEBHELPER#
--- gnucash-2.2.6.orig/debian/gnucash.postrm.not
+++ gnucash-2.2.6/debian/gnucash.postrm.not
@@ -0,0 +1,7 @@
+#!/bin/sh -e
+
+if [ "$1" = "remove" ]; then
+        ldconfig
+fi
+
+#DEBHELPER#
--- gnucash-2.2.6.orig/debian/gnucash-sql.install
+++ gnucash-2.2.6/debian/gnucash-sql.install
@@ -0,0 +1,2 @@
+/usr/lib/gnucash/gnucash/libgncmod-backend-postgres*
+
--- gnucash-2.2.6.orig/debian/gnucash-sql.postinst.not
+++ gnucash-2.2.6/debian/gnucash-sql.postinst.not
@@ -0,0 +1,7 @@
+#!/bin/sh -e
+
+if [ "$1" = "configure" ]; then
+        ldconfig
+fi
+
+#DEBHELPER#
--- gnucash-2.2.6.orig/debian/gnucash-sql.postrm.not
+++ gnucash-2.2.6/debian/gnucash-sql.postrm.not
@@ -0,0 +1,7 @@
+#!/bin/sh -e
+
+if [ "$1" = "remove" ]; then
+        ldconfig
+fi
+
+#DEBHELPER#
--- gnucash-2.2.6.orig/debian/postinst
+++ gnucash-2.2.6/debian/postinst
@@ -0,0 +1,13 @@
+#!/bin/sh
+
+# ldconfig
+
+if [ ! -f /etc/gnucash/config ]; then
+	touch /etc/gnucash/config
+fi
+
+if [ "$1" = "configure" ]; then
+	guile-1.6 -c "(use-modules (ice-9 slib)) (require 'new-catalog)"
+fi
+
+#DEBHELPER#
--- gnucash-2.2.6.orig/debian/postinst.debhelper
+++ gnucash-2.2.6/debian/postinst.debhelper
@@ -0,0 +1,3 @@
+# Automatically added by dh_installmenu
+if [ "$1" = "configure" ] && [ -x /usr/bin/update-menus ]; then update-menus ; fi
+# End automatically added section
--- gnucash-2.2.6.orig/debian/postrm.debhelper
+++ gnucash-2.2.6/debian/postrm.debhelper
@@ -0,0 +1,3 @@
+# Automatically added by dh_installmenu
+if [ -x "`which update-menus 2>/dev/null`" ]; then update-menus ; fi
+# End automatically added section
--- gnucash-2.2.6.orig/debian/README.debian
+++ gnucash-2.2.6/debian/README.debian
@@ -0,0 +1,13 @@
+change to gnucash files
+-----------------------
+
+As of version 2.2 of Gnucash, a backwards-incompatible change has been
+made to gnucash files if you use scheduled transactions.  Newer gnucash
+can read older files without a problem, but once you write the file using
+the newer gnucash, old versions of gnucash will be unable to read it.  If
+you use more than one version of gnucash on the same files, then, and some of 
+the versions are old and some are new, you will have problems if your
+gnucash file has scheduled transactions.  Also, if you use scheduled
+transactions, once you use newer gnucash, you will not be able to go back.
+
+
--- gnucash-2.2.6.orig/debian/rules
+++ gnucash-2.2.6/debian/rules
@@ -0,0 +1,126 @@
+#!/usr/bin/make -f
+
+# Uncomment this to turn on verbose mode.
+#export DH_VERBOSE=1
+
+package=gnucash
+
+# need IEEE-compatibility flag on Alpha
+DEB_HOST_ARCH := $(shell dpkg-architecture -qDEB_HOST_ARCH)
+ifeq ($(DEB_HOST_ARCH),alpha)
+  CFLAGS += -mieee
+endif
+ifeq ($(DEB_HOST_ARCH),hppa)
+  CFLAGS += -ffunction-sections
+endif
+
+export SED=sed
+export GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1
+
+configure: configure-stamp
+configure-stamp:
+	dh_testdir
+	$(checkdir)
+	env LDFLAGS="-L/usr/X11R6/lib" GUILE=/usr/bin/guile-1.6 CFLAGS="$(CFLAGS)" ./configure --disable-static --enable-ofx --enable-aqbanking --enable-hbci --enable-python-bindings --enable-locale-specific-tax --sysconfdir=/etc --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --libexecdir=/usr/lib --libdir=/usr/lib/gnucash --disable-error-on-warning 
+	touch configure-stamp
+
+build: build-stamp
+build-stamp: configure-stamp
+	dh_testdir
+	# dh_testroot
+	dh_clean -k
+	dh_installdirs
+	make
+	# GUILE_WARN_DEPRECATED=no make check
+	# touch build
+	touch build-stamp
+
+clean:
+	dh_testdir
+	dh_testroot
+	-$(MAKE) clean
+	-rm -f configure-stamp build-stamp install-stamp config.log config.cache config.status
+	-rm -f po/*.gmo src/gnome/gnucash src/gnome/g-wrapped
+	-rm -f po/.intltool-merge-cache
+	-rm -f `find . -name "*.o"`
+	-rm -f `find . -name "*.lo"`
+	-rm -f `find . -name "*.a"`
+	-rm -f `find . -name ".scm-links"`
+	-rm -f `find . -name ".links"`
+	-rm -rf `find . -type d -name ".libs"`
+	-rm -rf `find . -type d -name ".deps"`
+	-rm -f  `find . -type l -name "gnucash"`
+	-rm -f  `find . -type l -name "g-wrapped"`
+	-rm -f  `find . -type l -name "goffice"`
+	-rm -f  `find . -type l -name "gsf"`
+	-rm -f src/report/report-gnome/report src/register/register-core/register src/import-export/binary-import/import-export
+	# -rm doc/sgml/*/gnucash/help-search-index.db doc-tools/dbadd
+	# -rm src/gnome/gnucash src/gnome/g-wrapped doc/sgml/C/help-search-index.db
+	-rm doc/sgml/C/help-search-index.db
+	dh_clean
+
+install: install-stamp
+install-stamp: build-stamp
+	dh_testdir
+	dh_testroot
+	dh_clean -k
+	# make install prefix=`pwd`/debian/tmp/usr GNC_CONFIGDIR=`pwd`/debian/tmp/etc/gnucash infodir=`pwd`/debian/tmp/usr/share/info libdir=`pwd`/debian/tmp/usr/lib/gnucash
+	# make install DESTDIR=`pwd`/debian/tmp
+	LIBRARY_PATH=`pwd`/debian/tmp/usr/lib/gnucash:`pwd`/debian/tmp/usr/lib/gnucash/gnucash make install DESTDIR=`pwd`/debian/tmp
+	# strip `find debian/tmp -name "*.so"`
+	-rm -rf debian/tmp/home
+	-rm -f debian/tmp/usr/share/info/dir*
+#	convert debian/tmp/usr/share/gnucash/pixmaps/gnucash-icon.png debian/tmp/usr/share/gnucash/pixmaps/gnucash-icon.xpm
+#	rm debian/tmp/usr/share/gnucash/pixmaps/gnucash-icon.png
+
+	touch install-stamp
+
+binary-indep: build install
+	dh_testdir
+	dh_testroot
+	dh_install -i --sourcedir=debian/tmp
+	rm debian/gnucash-common/usr/share/applications/gnucash.desktop
+	dh_installdocs -i
+	dh_installmanpages -i
+	dh_installchangelogs -i ChangeLog
+	dh_compress -i
+	dh_fixperms -i
+	dh_installdeb -i
+	dh_gencontrol -i
+	dh_md5sums -i
+	dh_builddeb -i
+
+binary-arch: build install
+	dh_testdir
+	dh_testroot
+	dh_install -a --sourcedir=debian/tmp
+	dh_installexamples -a doc/examples/*.xac
+	#
+	# cp src/backend/postgres/README debian/gnucash-sql/usr/share/doc/gnucash-sql/README.sql
+	#
+	dh_installdocs -a
+	dh_installmenu
+# dh_perl not needed since the two perl dependencies already depend on perl
+#	dh_perl
+	dh_installchangelogs -a ChangeLog
+	dh_gconf -a
+	dh_strip -a
+	dh_compress -a
+	dh_fixperms -a
+	dh_installdeb -a
+	dh_makeshlibs -a
+	dh_shlibdeps -a -ldebian/gnucash/usr/lib/gnucash:debian/gnucash/usr/lib/gnucash/gnucash
+	# sed -e "s/ gnucash,//" debian/substvars > debian/substvars.tmp
+	# sed -e "s/libgwrapguile1/libgwrapguile1 (>= 1.3.4-1)/" debian/substvars.tmp > debian/substvars
+	# mv debian/substvars.tmp debian/substvars
+	dh_gencontrol -a
+	dh_md5sums -a
+	dh_builddeb -a
+
+source diff:                                                                  
+	@echo >&2 'source and diff are obsolete - use dpkg-source -b'; false
+
+binary: binary-indep binary-arch
+.PHONY: build clean binary-indep binary-arch binary install
+
+ 
--- gnucash-2.2.6.orig/debian/shlibs.local
+++ gnucash-2.2.6/debian/shlibs.local
@@ -0,0 +1,47 @@
+libgncgnome 0
+libgw-core-utils 0
+libcore-utils 0
+libgw-gnc 0
+libgncmodule 0
+libgnc-app-file-gnome 0
+libgnc-business-ledger 0
+libgncmod-app-file 0
+libgncmod-app-utils 0
+libgncmod-backend-file 0
+libgncmod-binary-import 0
+libgncmod-business-backend-file 0
+libgncmod-business-core 0
+libgncmod-business-gnome 0
+libgncmod-business-utils 0
+libgncmod-calculation 0
+libgncmod-dialog-tax-table 0
+libgncmod-engine 0
+libgncmod-generic-import 0
+libgncmod-gnome-search 0
+libgncmod-gnome-utils 0
+libgncmod-ledger-core 0
+libgncmod-locale-reports-us 0
+libgncmod-network-utils 0
+libgncmod-ofx 0
+libgncmod-qif-import 0
+libgncmod-register-core 0
+libgncmod-register-gnome 0
+libgncmod-report-gnome 0
+libgncmod-report-system 0
+libgncmod-standard-reports 0
+libgncmod-stylesheets 0
+libgncmod-tax-us 0
+libgncmod-utility-reports 0
+libgw-app-file 0
+libgw-app-utils 0
+libgw-binary-import 0
+libgw-business-core 0
+libgw-business-gnome 0
+libgw-dialog-tax-table 0
+libgw-engine 0
+libgw-gnc-module 0
+libgw-gnome-search 0
+libgw-gnome-utils 0
+libgw-kvp 0
+libgw-register-core 0
+libgw-report-gnome 0
--- gnucash-2.2.6.orig/debian/substvars
+++ gnucash-2.2.6/debian/substvars
@@ -0,0 +1 @@
+shlibs:Depends=bonobo (>= 1.0.22), gdk-imlib1, guile-1.6-libs, libart2 (>= 1.2.13-5), libaudiofile0 (>= 0.2.3-4), libbonobo2 (>= 1.0.22), libc6 (>= 2.3.2.ds1-4), libdb3 (>= 3.2.9-19), libesd0 (>= 0.2.29-1) | libesd-alsa0 (>= 0.2.29-1), libfreetype6 (>= 2.1.5-1), libgal23 (>= 0.24), libgdk-pixbuf-gnome2 (>= 0.22.0-3), libgdk-pixbuf2 (>= 0.22.0-3), libghttp1, libglade-gnome0, libglade0, libglib1.2 (>= 1.2.0), libgnome32 (>= 1.2.13-5), libgnomeprint15 (>= 0.29-1), libgnomesupport0 (>= 1.2.13-5), libgnomeui32 (>= 1.4.2-3), libgtk1.2 (>= 1.2.10-4), libgtkhtml20 (>= 1.0.4), libguile-ltdl-1, libguppi16, libgwrapguile1 (>= 1.3.4-5), libltdl3 (>= 1.5-3), liboaf0 (>= 0.6.10), libofx0c102, liborbit0 (>= 0.5.17), libpopt0 (>= 1.7), libqthreads-12, libstdc++5 (>= 1:3.3.2-1), libxml1 (>= 1:1.8.14-3), libzvt2 (>= 1.4.1.3-3), oaf (>= 0.6.10), xlibs (>> 4.1.0), zlib1g (>= 1:1.2.1)
