--- qof-0.8.1.orig/debian/libqof-doc.links
+++ qof-0.8.1/debian/libqof-doc.links
@@ -0,0 +1 @@
+/usr/share/doc/libqof-doc/html/ usr/share/gtk-doc/html/qof
--- qof-0.8.1.orig/debian/libqof-doc.doc-base.doxygen
+++ qof-0.8.1/debian/libqof-doc.doc-base.doxygen
@@ -0,0 +1,20 @@
+Document: qof
+Title: Query Object Framework Developer Reference
+Author: Neil Williams
+Abstract: Query Object Framework Developer Reference
+  QOF, the Query Object Framework, provides a set of C
+  Language utilities for performing generic structured complex
+  queries on a set of data held by a set of C/C++ objects. This
+  framework is unique in that it does NOT require SQL or any
+  database at all to perform the query. Thus, it allows programmers
+  to add query support to their applications without having to hook
+  into an SQL Database.
+ .
+  This manual describes the full QOF API to develop applications
+  using libqof2.
+Section: Programming/C
+
+Format: HTML
+Index: /usr/share/doc/libqof-doc/html/index.html
+Files: /usr/share/doc/libqof-doc/html/*
+
--- qof-0.8.1.orig/debian/control
+++ qof-0.8.1/debian/control
@@ -0,0 +1,104 @@
+Source: qof
+Section: libs
+Priority: optional
+Maintainer: Neil Williams <codehelp@debian.org>
+Uploaders: Goedson Teixeira Paixao <goedson@debian.org>
+Build-Depends: cdbs, debhelper (>= 5), xsltproc,
+ libglib2.0-dev (>= 2.9.0), libxml2-dev (>= 2.5.10), libsqlite0-dev
+Build-Depends-Indep: doxygen
+Standards-Version: 3.8.2
+Homepage: http://alioth.debian.org/projects/qof/
+Vcs-Browser: http://svn.debian.org/viewsvn/qof/trunk/qof/
+Vcs-Svn: svn://svn.debian.org/svn/qof/trunk/debian/
+
+Package: libqof2
+Architecture: any
+Depends: ${shlibs:Depends}, ${misc:Depends}, qof-data
+Recommends: libqof2-backend-qsf | libqof2-backend-sqlite
+Conflicts: pilot-qof (<< 0.1.1-2)
+Description: Query Object Framework
+ QOF is a framework to allow the execution of SQL-type queries
+ using collections of in-memory objects as 'tables'.
+ .
+ This package provides the shared libraries needed
+ to run programs developed using QOF.
+
+Package: libqof-dev
+Section: libdevel
+Architecture: any
+Depends: libglib2.0-dev, libqof2 (= ${binary:Version}), 
+ ${misc:Depends}, pkg-config
+Suggests: libqof-doc
+Description: Query Object Framework - Development Headers
+ QOF is a framework to allow the execution of SQL-type queries
+ using collections of in-memory objects as 'tables'.
+ .
+ This package provides the files needed to develop
+ applications using QOF.
+
+Package: libqof2-backend-qsf
+Architecture: any
+Depends: ${shlibs:Depends}, libqof2 (= ${binary:Version}), ${misc:Depends}
+Recommends: xsltproc, xml-core
+Replaces: libqof-backend-qsf0
+Provides: qof-backend-qsf
+Description: Query Object Framework - XML backend module
+ QOF is a framework to allow the execution of SQL-type
+ queries using collections of in-memory objects as 'tables'.
+ .
+ This module provides the default XML backend for libqof2
+ using a generic XML format called QSF. Any QOF object can
+ be written out or loaded from QSF XML. Data can be
+ converted to other text-based formats using XSL.
+
+Package: libqof2-backend-sqlite
+Architecture: any
+Depends: ${shlibs:Depends}, libqof2 (= ${binary:Version}), ${misc:Depends}
+Provides: qof-backend-sqlite
+Description: Query Object Framework - SQLite backend module
+ QOF is a framework to allow the execution of SQL-type
+ queries using collections of in-memory objects as 'tables'.
+ .
+ This module provides a SQLite backend intended for
+ embedded systems. The package can also be installed
+ alongside other QOF backends, applications using QOF
+ can use whichever backend is available.
+
+Package: libqof2-dbg
+Section: debug
+Priority: extra
+Architecture: any
+Depends: libqof2 (= ${binary:Version}), ${misc:Depends}
+Suggests: libqof-doc
+Description: Query Object Framework - Debug Symbols
+ QOF is a framework to allow the execution of SQL-type queries
+ using collections of in-memory objects as 'tables'.
+ .
+ This package provides the debugging symbols that may be
+ useful when developing applications using QOF.
+
+Package: libqof-doc
+Section: doc
+Architecture: all
+Depends: ${misc:Depends}
+Recommends: www-browser, dwww
+Description: Query Object Framework - API Documentation
+ QOF is a framework to allow the execution of SQL-type queries
+ using collections of in-memory objects as tables.
+ .
+ This package provides the documentation of the QOF
+ API produced using Doxygen in
+ /usr/share/doc/libqof-doc/html/
+
+Package: qof-data
+Architecture: all
+Depends: ${misc:Depends}
+Replaces: libqof1, libqof-backend-qsf0
+Description: Query Object Framework - common files
+ QOF is a framework to allow the exection of SQL-type
+ queries using collections of in-memory objects as 'tables'.
+ .
+ This package contains the translations of QOF messages,
+ XML schemas to validate files from the QSF XML backend
+ module and other architecture-independent support files
+ for QOF.
--- qof-0.8.1.orig/debian/libqof-dev.install
+++ qof-0.8.1/debian/libqof-dev.install
@@ -0,0 +1,5 @@
+debian/tmp/usr/lib/*.so
+debian/tmp/usr/lib/*.a
+debian/tmp/usr/lib/libqof*.la
+debian/tmp/usr/include/qof/*
+debian/tmp/usr/lib/pkgconfig/*
--- qof-0.8.1.orig/debian/libqof2-dbg.install
+++ qof-0.8.1/debian/libqof2-dbg.install
@@ -0,0 +1 @@
+debian/tmp/usr/lib/libqof*.so.* ./usr/lib/debug/usr/lib/
--- qof-0.8.1.orig/debian/changelog
+++ qof-0.8.1/debian/changelog
@@ -0,0 +1,234 @@
+qof (0.8.1-1) unstable; urgency=low
+
+  * New upstream release.
+  * Fix watch file for alioth.
+  * [INTL:pt] Update Portuguese translation (Closes: #529529)
+  * Fixes build errors with gcc-4.4 (Closes: #530525)
+  * Update standards version. (no changes)
+  * Repeat the same prefix in each description. (Closes: #532863)
+  * update debian/xcontrol with emxcontrol.
+  * Drop libgda3 from dependencies - gda-backend is still broken and
+    libgda4 is pending which does not include the libsql code or symbols
+    anymore. Use internal qofsql support.
+  * package libqofsql.la in -dev for internal qofsql support.
+
+ -- Neil Williams <codehelp@debian.org>  Mon, 06 Jul 2009 21:29:10 +0100
+
+qof (0.8.0-1) unstable; urgency=low
+
+  * New upstream version of libqof2.
+  * Change SONAME (NEW package)
+  * Change backend modules into private plugins
+    (NEW package names)
+  * migrate doc-base sections
+  * Drop .la files from plugin packages
+  * Make -dev package depend on libgda3-dev and pkg-config. Drop
+    outdated Replaces: flags
+  * Omit the new GDA backend package which is not ready for
+    widespread usage yet.
+  * drop Debian QOF packaging team, migrate homepage and VCS
+    fields to new Alioth home for upstream and Debian
+  * Add debian/xcontrol support
+  * Remove website from -doc package now that it is a wiki.
+  * qofutil.c: ensure newly allocated string is always returned
+    when converting empty KvpFrame to string and checking a NULL
+    string. (Closes: #479374)
+  * Split translations and XML schema into qof-data to migrate shared
+    files out of the library package. (Policy 8.2). Brings QOF up to
+    date with Standards Version 3.8.0.
+  * qof-data still needs Replaces: libqof1 anyway.
+  * Add symlink to make devhelp support accessible.
+  * implement nocheck DEB_BUILD_OPTION
+  * omit backend plugins from dh_makeshlibs - not public anymore.
+  * Provide: virtual packages for each backend for easier transitions.
+  * remove the copied symbols file in the clean target (easier cross-building)
+  * Use debug section for dbg package.
+  * Downgrade Recommends: libqof-doc to a Suggests for those who still
+    use Recommends-Important. Remove some unnecessary build-dependencies.
+  * [L10n] Add French program translation   (Closes: #528756)
+  * [l10n] Add Czech translation of qof (Closes: #528979)
+  * [INTL:ru] Add Russian translation of qof (Closes: #529037)
+
+ -- Neil Williams <codehelp@debian.org>  Tue, 19 May 2009 14:06:21 +0100
+
+qof (0.7.5-1) unstable; urgency=low
+
+  * New upstream release.
+  * erronous check for *linux* to detect symbols versioning support
+    (Closes: #463392)
+
+ -- Neil Williams <codehelp@debian.org>  Thu, 31 Jan 2008 19:12:59 +0000
+
+qof (0.7.4-1) unstable; urgency=low
+
+  * New upstream release.
+  * Implement versioned symbols and a symbols file for each library
+  * Avoid preparing docs in Emdebian
+  * does not contain separated debugging symbols (Closes: #462007)
+  * Fix the CVS location to allow debcheckout to work
+
+ -- Neil Williams <codehelp@debian.org>  Fri, 25 Jan 2008 21:35:43 +0000
+
+qof (0.7.3-1) unstable; urgency=low
+
+  * New upstream release
+  * debian/control: migrate doxygen to Build-Depends-Indep
+  * debian/control: use new dpkg fields
+  * configure.in : tidy up use of qofsql for embedded use
+  * make the sqlite backend build by default
+  * Remove GFDL from debian/copyright and migrate to standards 3.7.3
+  * Migrate to libgda3-3
+  * qof -- Please consider transitioning to libgda3 (Closes: #455835)
+  * Add full cross build support, including regexp in .install file to
+    cover libqof1 and libqofsql (if built)
+
+ -- Neil Williams <codehelp@debian.org>  Sat, 15 Dec 2007 20:13:31 +0000
+
+qof (0.7.2-1) unstable; urgency=low
+
+  * New upstream release.
+  - upgrade binNMU support to avoid deprecated Source-Version
+  * Change my email address to new Debian one.
+
+ -- Neil Williams <codehelp@debian.org>  Mon, 27 Nov 2006 09:43:43 +0000
+
+qof (0.7.1-3) unstable; urgency=low
+
+  * debian/control: Fix circular dependency (Closes: #387196)
+
+ -- Goedson Teixeira Paixao <goedson@debian.org>  Fri, 15 Sep 2006 10:32:20 -0300
+
+qof (0.7.1-2) unstable; urgency=low
+
+  * Fix priority setting of the two new backend packages. 
+
+ -- Neil Williams <linux@codehelp.co.uk>  Tue, 12 Sep 2006 00:12:46 +0100
+
+qof (0.7.1-1) unstable; urgency=low
+
+  * New upstream release. 
+  - Two new packages: XML and SQLite backend modules.
+
+ -- Neil Williams <linux@codehelp.co.uk>  Tue, 29 Aug 2006 09:25:27 +0100
+
+qof (0.7.0-2) unstable; urgency=low
+
+  * FTBFS on hppa, sparc and m68k: date test failures (Closes: #383746)
+
+ -- Neil Williams <linux@codehelp.co.uk>  Mon, 21 Aug 2006 20:22:34 +0100
+
+qof (0.7.0-1) unstable; urgency=low
+
+  * New upstream release.
+  - Rewritten date and time handling for full range support
+    using QofTime (seconds) and QofDate (calendar).
+  - New QOF parameter type added : QOF_TYPE_TIME
+  - QOF_TYPE_DATE and Timespec both deprecated.
+  - New QOF extension code for strftime and strptime, as used 
+    in coreutils.
+  - Added Undo and redo handling.
+  - libqof-doc : New package for QOF Doxygen Developer Reference
+    and website content.
+  - Upgrade to debhelper compat 5, standards version 3.7.2
+  - Add linda override for lib-not-in-shlibs (see #345871)
+  - Run make check during preparation of package.
+  - Incorporate QSF patch to free the XML document correctly.
+
+ -- Neil Williams <linux@codehelp.co.uk>  Mon, 10 Jul 2006 22:02:26 +0100
+
+qof (0.6.4-2) unstable; urgency=low
+
+  * Fixed compilation in 64bit architectures (Closes: #364048).
+
+ -- Goedson Teixeira Paixao <goedson@debian.org>  Tue, 25 Apr 2006 16:28:30 -0300 
+
+qof (0.6.4-1) unstable; urgency=low
+
+  * New upstream release.
+
+ -- Neil Williams <linux@codehelp.co.uk>  Tue,  4 Apr 2006 21:08:00 +0100
+
+qof (0.6.3-1) unstable; urgency=low
+
+  * New upstream release.
+    - Support iteration over incoming QSF objects inside map operations.
+    - Correct map handling to allow reverse operations and iteration
+      over hierarchical objects.
+    - Replace qof_book_merge with qofbookmerge.
+    - Remove deprecated glib function g_strncasecmp in favour of 
+      g_ascii_strncasecmp
+    - GnuCash bug fixes.
+
+ -- Neil Williams <linux@codehelp.co.uk>  Mon, 13 Mar 2006 20:13:13 +0000
+
+qof (0.6.2-1) unstable; urgency=low
+
+  * New upstream release.
+    - Fix recursive copying and entity references
+    - GnuCash updates
+    - Replace gnc-event with extensible qofevent.
+
+ -- Neil Williams <linux@codehelp.co.uk>  Mon, 20 Feb 2006 19:43:21 +0000
+
+qof (0.6.1-1) unstable; urgency=low
+
+  * New upstream release.
+
+ -- Neil Williams <linux@codehelp.co.uk>  Tue, 20 Dec 2005 21:51:26 +0000
+
+qof (0.6.0-2) unstable; urgency=low
+
+  * Fixed build on amd64, thanks Andreas Jochens for the patch (Closes: #337374).
+
+ -- Goedson Teixeira Paixao <goedson@debian.org>  Thu, 17 Nov 2005 18:44:29 -0200
+
+qof (0.6.0-1) unstable; urgency=low
+
+  * New upstream release.
+  * debian/control:
+    - Changed priority of -dbg package to extra.
+  * debian/libqof1.install:
+    - Added /usr/share/* to the libqof1 package files.
+
+ -- Goedson Teixeira Paixao <goedson@debian.org>  Thu, 27 Oct 2005 13:56:46 -0200
+
+qof (0.5.99+0.6.0pre1-2) experimental; urgency=low
+
+  * debian/control:
+    - Added missing Section field.
+
+ -- Goedson Teixeira Paixao <goedson@debian.org>  Sat, 24 Sep 2005 10:35:14 -0300
+
+qof (0.5.99+0.6.0pre1-1) experimental; urgency=low
+
+  * New upstream release
+  * debian/copyright:
+    - Updated FSF address.
+    - Added Neil Williams to Upstream Authors
+  * debian/control:
+    - Removed libgtk2-dev Build Dependency
+    - Added version to libxml2-dev Build Dependency
+    - Added Build Depency on libxml-parser-perl needed by intltool
+    - Changed Maintainer field to "Debian QOF packaging team"
+    - Added Uploaders field with the members of the "Debian QOF packaging team"
+    - Bumped Standards-Version to 3.6.2 (no changes needed)
+  
+ -- Goedson Teixeira Paixao <goedson@debian.org>  Sat, 17 Sep 2005 12:35:27 +0000
+
+qof (0.5.0-2) unstable; urgency=low
+
+  * Added -dbg package.
+
+ -- Goedson Teixeira Paixao <goedson@debian.org>  Mon,  9 Aug 2004 08:30:14 -0300
+
+qof (0.5.0-1) unstable; urgency=low
+
+  * New upstream release.
+
+ -- Goedson Teixeira Paixao <goedson@debian.org>  Thu, 27 May 2004 17:27:35 -0300
+
+qof (0.4.1-1) unstable; urgency=low
+
+  * Initial Release (Closes: #245707).
+
+ -- Goedson Teixeira Paixao <goedson@debian.org>  Sat, 24 Apr 2004 17:14:33 -0300
--- qof-0.8.1.orig/debian/libqof2-backend-gda.install
+++ qof-0.8.1/debian/libqof2-backend-gda.install
@@ -0,0 +1 @@
+debian/tmp/usr/lib/qof2/libqof-backend-gda.so
--- qof-0.8.1.orig/debian/xcontrol
+++ qof-0.8.1/debian/xcontrol
@@ -0,0 +1,106 @@
+Source: qof
+Maintainer: Neil Williams <codehelp@debian.org>
+Uploaders: Goedson Teixeira Paixao <goedson@debian.org>
+Section: libs
+Priority: optional
+Build-Depends-Indep: doxygen
+Build-Depends-Tools: cdbs, debhelper (>= 5), xsltproc
+Build-Depends: libglib2.0-dev (>= 2.9.0), libxml2-dev (>= 2.5.10), libsqlite0-dev
+Homepage: http://alioth.debian.org/projects/qof/
+Cross-Compiling: yes
+Standards-Version: 3.8.2
+Vcs-Browser: http://svn.debian.org/viewsvn/qof/trunk/qof/
+Vcs-Svn: svn://svn.debian.org/svn/qof/trunk/debian/
+
+Package: libqof2
+Architecture: any
+Depends: ${shlibs:Depends}, ${misc:Depends}, qof-data
+Conflicts: pilot-qof (<< 0.1.1-2)
+Recommends: libqof2-backend-qsf | libqof2-backend-sqlite
+Description: Query Object Framework
+ QOF is a framework to allow the execution of SQL-type queries
+ using collections of in-memory objects as 'tables'.
+ .
+ This package provides the shared libraries needed
+ to run programs developed using QOF.
+
+Package: libqof-dev
+Architecture: any
+Section: libdevel
+Depends: libglib2.0-dev, libqof2 (= ${binary:Version}),
+ ${misc:Depends}, pkg-config
+Suggests: libqof-doc
+Description: Query Object Framework - Development Headers
+ QOF is a framework to allow the execution of SQL-type queries
+ using collections of in-memory objects as 'tables'.
+ .
+ This package provides the files needed to develop
+ applications using QOF.
+
+Package: libqof2-backend-qsf
+Architecture: any
+Depends: ${shlibs:Depends}, libqof2 (= ${binary:Version}), ${misc:Depends}
+Optional: yes
+Provides: qof-backend-qsf
+Recommends: xsltproc, xml-core
+Replaces: libqof-backend-qsf0
+Description: Query Object Framework - XML backend module
+ QOF is a framework to allow the execution of SQL-type
+ queries using collections of in-memory objects as 'tables'.
+ .
+ This module provides the default XML backend for libqof2
+ using a generic XML format called QSF. Any QOF object can
+ be written out or loaded from QSF XML. Data can be
+ converted to other text-based formats using XSL.
+
+Package: libqof2-backend-sqlite
+Architecture: any
+Depends: ${shlibs:Depends}, libqof2 (= ${binary:Version}), ${misc:Depends}
+Provides: qof-backend-sqlite
+Description: Query Object Framework - SQLite backend module
+ QOF is a framework to allow the execution of SQL-type
+ queries using collections of in-memory objects as 'tables'.
+ .
+ This module provides a SQLite backend intended for
+ embedded systems. The package can also be installed
+ alongside other QOF backends, applications using QOF
+ can use whichever backend is available.
+
+Package: libqof2-dbg
+Architecture: any
+Section: debug
+Priority: extra
+Depends: libqof2 (= ${binary:Version}), ${misc:Depends}
+Suggests: libqof-doc
+Description: Query Object Framework - Debug Symbols
+ QOF is a framework to allow the execution of SQL-type queries
+ using collections of in-memory objects as 'tables'.
+ .
+ This package provides the debugging symbols that may be
+ useful when developing applications using QOF.
+
+Package: libqof-doc
+Architecture: all
+Section: doc
+Depends: ${misc:Depends}
+Recommends: www-browser, dwww
+Description: Query Object Framework - API Documentation
+ QOF is a framework to allow the execution of SQL-type queries
+ using collections of in-memory objects as tables.
+ .
+ This package provides the documentation of the QOF
+ API produced using Doxygen in
+ /usr/share/doc/libqof-doc/html/
+
+Package: qof-data
+Architecture: all
+Depends: ${misc:Depends}
+Replaces: libqof1, libqof-backend-qsf0
+Description: Query Object Framework - common files
+ QOF is a framework to allow the exection of SQL-type
+ queries using collections of in-memory objects as 'tables'.
+ .
+ This package contains the translations of QOF messages,
+ XML schemas to validate files from the QSF XML backend
+ module and other architecture-independent support files
+ for QOF.
--- qof-0.8.1.orig/debian/libqof2.install
+++ qof-0.8.1/debian/libqof2.install
@@ -0,0 +1 @@
+debian/tmp/usr/lib/libqof[s.]*so.*
--- qof-0.8.1.orig/debian/watch
+++ qof-0.8.1/debian/watch
@@ -0,0 +1,5 @@
+#format
+version=3
+# watch control file for uscan
+http://alioth.debian.org/frs/?group_id=100136 \
+ https://alioth.debian.org/frs/download.php/.*/qof-(.*).tar.gz
--- qof-0.8.1.orig/debian/libqof2-backend-sqlite.install
+++ qof-0.8.1/debian/libqof2-backend-sqlite.install
@@ -0,0 +1 @@
+debian/tmp/usr/lib/qof2/libqof-backend-sqlite.so
--- qof-0.8.1.orig/debian/copyright
+++ qof-0.8.1/debian/copyright
@@ -0,0 +1,66 @@
+This package was downloaded from http://sourceforge.net/projects/qof/
+
+Files: debian/*
+Licence: GPL-2+
+Copyright: 2006-2007 Neil Williams <codehelp@debian.org>
+           2004-2005 Goedson Teixeira Paixao <goedson@debian.org>
+
+Files: doc/html/*
+Licence: GFDL-1.2+
+Copyright: 1997-2004   Linas Vepstas  <linas@linas.org>
+           1997        Robin D. Clark <rclark@cs.hmc.edu>
+           2000        Bill Gribble   <grib@billgribble.com>
+           2000        Dave Peticolas <dave@krondo.com>
+           2001        Rob Browning   <rlb@cs.utexas.edu>
+           2002        Derek Atkins   <warlord@mit.edu>
+           2005-2007   Neil Williams  <linux@codehelp.co.uk>
+
+    Permission is granted to copy, distribute and/or modify this document
+    under the terms of the GNU Free Documentation License, Version 1.2
+    or any later version published by the Free Software Foundation;
+    with no Invariant Sections, no Front-Cover Texts, and no Back-Cover Texts.
+    A copy of the license is included in the section entitled "GNU
+    Free Documentation License".
+
+Files: website/*
+Licence: GFDL-1.2+
+Copyright: 1997-2004   Linas Vepstas <linas@linas.org>
+           2005-2007   Neil Williams <linux@codehelp.co.uk>
+
+    Permission is granted to copy, distribute and/or modify this document
+    under the terms of the GNU Free Documentation License, Version 1.2
+    or any later version published by the Free Software Foundation;
+    with no Invariant Sections, no Front-Cover Texts, and no Back-Cover Texts.
+    A copy of the license is included in the section entitled "GNU
+    Free Documentation License".
+
+Files: doc/html/Makefile*, *
+Licence: GPL-2+
+Copyright: 1997-2004   Linas Vepstas  <linas@linas.org>
+           1997        Robin D. Clark <rclark@cs.hmc.edu>
+           2000        Bill Gribble   <grib@billgribble.com>
+           2000        Dave Peticolas <dave@krondo.com>
+           2001        Rob Browning   <rlb@cs.utexas.edu>
+           2002        Derek Atkins   <warlord@mit.edu>
+           2005-2007   Neil Williams  <linux@codehelp.co.uk>
+           1991-2006   Free Software Foundation, Inc.
+
+   This package 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; version 2 dated June, 1991, or
+   (at your option) any later version.
+
+   This package 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 package; if not, write to the Free Software
+   Foundation, Inc., 51 Franklin St, Fifth Floor, Boston,
+   MA 02110-1301, USA.
+
+On Debian systems, the complete text of the GNU General
+Public License can be found in '/usr/share/common-licenses/GPL-2'
+and the complete text of the GNU Free Documentation License can be
+found in '/usr/share/common-licenses/GFDL-1.2'.
--- qof-0.8.1.orig/debian/libqof2-backend-qsf.install
+++ qof-0.8.1/debian/libqof2-backend-qsf.install
@@ -0,0 +1 @@
+debian/tmp/usr/lib/qof2/libqof-backend-qsf.so
--- qof-0.8.1.orig/debian/libqof-doc.install
+++ qof-0.8.1/debian/libqof-doc.install
@@ -0,0 +1 @@
+debian/tmp/usr/share/doc/qof/html/* usr/share/doc/libqof-doc/html/
--- qof-0.8.1.orig/debian/rules
+++ qof-0.8.1/debian/rules
@@ -0,0 +1,62 @@
+#!/usr/bin/make -f
+# Copyright 2003 Goedson Teixeira Paixao <goedson@debian.org>
+# Copyright 2006-2008 Neil Williams <linux@codehelp.co.uk>
+#
+# 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, 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 Street, Fifth Floor, Boston, MA
+# 02110-1301, USA.
+
+include /usr/share/cdbs/1/rules/debhelper.mk
+include /usr/share/cdbs/1/class/autotools.mk
+include /usr/share/cdbs/1/rules/simple-patchsys.mk
+
+# backends do not need ldconfig (anymore)
+DEB_DH_MAKESHLIBS_ARGS=-Xlibqof2-backend
+DEB_DH_MAKESHLIBS_ARGS_libqof2-backend-qsf=-n
+DEB_DH_MAKESHLIBS_ARGS_libqof2-backend-sqlite=-n
+DEB_DH_MAKESHLIBS_ARGS_libqof2-backend-gda=-n
+
+ifneq ($(DEB_BUILD_GNU_TYPE),$(DEB_HOST_GNU_TYPE))
+# internal libraries need to be redirected to cross version
+DEB_MAKE_INVOKE+="QOF_LIBS=-L/usr/$(DEB_HOST_GNU_TYPE)/lib -lqof"
+# prevent CDBS overwriting CC
+DEB_CONFIGURE_SCRIPT_ENV =
+# Emdebian-specific customisation
+DEB_CONFIGURE_EXTRA_FLAGS += --disable-gdasql --disable-gdabackend
+# enable dpkg-shlibdeps to find the internal libraries.
+DEB_SHLIBDEPS_INCLUDE_libqof2 = ./debian/tmp/usr/lib/
+build/libqof2::
+	cp qof.symbols debian/libqof2.symbols
+	cat qofsql.symbols >> debian/libqof2.symbols
+
+clean/libqof2::
+	$(RM) debian/libqof2.symbols
+
+else
+
+# GDA backend isn't ready.
+#DEB_CONFIGURE_EXTRA_FLAGS += --enable-gdabackend
+DEB_CONFIGURE_EXTRA_FLAGS += --disable-gdasql
+ifeq (,$(findstring nocheck,$(DEB_BUILD_OPTIONS)))
+DEB_MAKE_CHECK_TARGET = check
+endif
+build/libqof2::
+	cp qof.symbols debian/libqof2.symbols
+	cat qofsql.symbols >> debian/libqof2.symbols
+
+clean/libqof2::
+	$(RM) debian/libqof2.symbols
+
+endif
+
--- qof-0.8.1.orig/debian/qof-data.install
+++ qof-0.8.1/debian/qof-data.install
@@ -0,0 +1,2 @@
+debian/tmp/usr/share/locale/*
+debian/tmp/usr/share/xml/*
--- qof-0.8.1.orig/debian/compat
+++ qof-0.8.1/debian/compat
@@ -0,0 +1,2 @@
+5
+
