summaryrefslogtreecommitdiff
path: root/debian
diff options
context:
space:
mode:
Diffstat (limited to 'debian')
-rw-r--r--debian/changelog168
-rw-r--r--debian/compat1
-rw-r--r--debian/control62
-rw-r--r--debian/copyright28
-rw-r--r--debian/dirs3
-rw-r--r--debian/docs2
-rw-r--r--debian/libxbase64-1.install1
-rw-r--r--debian/libxbase64-bin.install12
-rw-r--r--debian/libxbase64-dev.examples1
-rw-r--r--debian/libxbase64-dev.install8
-rw-r--r--debian/patches/autoconf-updates.diff451
-rw-r--r--debian/patches/c++-includes.diff36
-rw-r--r--debian/patches/fixconfig.diff13
-rw-r--r--debian/patches/gcc-fixes.diff22
-rw-r--r--debian/patches/lesserg.diff294
-rw-r--r--debian/patches/series5
-rwxr-xr-xdebian/rules78
-rw-r--r--debian/source/format1
-rw-r--r--debian/watch2
19 files changed, 1188 insertions, 0 deletions
diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..478d1c9
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,168 @@
+xbase64 (3.1.2-2) unstable; urgency=medium
+
+ * QA upload.
+ * Mention GPL license for various binaries and scripts. Closes: #746178.
+ * libxbase64-bin: Conflict with dvb-apps, both providing a `zap' binary.
+ Assuming that Linux TV and Xbase utilities don't need to be installed
+ together. Closes: #746215.
+
+ -- Matthias Klose <doko@debian.org> Mon, 28 Apr 2014 11:42:01 +0200
+
+xbase64 (3.1.2-1) unstable; urgency=medium
+
+ * QA upload. Initial upload, replacing libxbase. Closes: #743443.
+ Package xbase64, only seven years old instead of eleven like 2.x.
+ Make sure that calligra still builds with the updated version.
+ * Bump standards version to 3.9.5.
+ * Update the packaging, fix the orignal maintainer's "Jugendsünden".
+
+ -- Matthias Klose <doko@debian.org> Wed, 02 Apr 2014 20:33:01 +0200
+
+libxbase (2.0.0-8.5) unstable; urgency=low
+
+ * Non-maintainer upload.
+ * Fix build failure with GCC 4.7. Closes: #667260.
+
+ -- Matthias Klose <doko@debian.org> Mon, 16 Apr 2012 23:00:27 +0200
+
+libxbase (2.0.0-8.4) unstable; urgency=low
+
+ * Non-maintainer upload.
+ * Build with current automake (Closes: #549134)
+
+ -- Moritz Muehlenhoff <jmm@debian.org> Mon, 30 May 2011 05:12:34 +0200
+
+libxbase (2.0.0-8.3) unstable; urgency=low
+
+ * Non-maintainer upload.
+ * Fix FTBFS on GNU/kFreeBSD by handling kfreebsd* the same way as
+ linux-gnu* in ltconfig, thanks to Petr Salinger (Closes: #493509).
+ * Also add ${shlibs:Depends} to libxbase2.0-bin's Depends, a libc
+ dependency was missing for some binaries in there.
+ * Finally call dh_installdeb after dh_shlibdeps, per lintian.
+
+ -- Cyril Brulebois <kibi@debian.org> Thu, 20 Aug 2009 01:58:55 +0200
+
+libxbase (2.0.0-8.2) unstable; urgency=low
+
+ * Non-maintainer upload.
+ * Put include files in /usr/include. (Closes: #470260).
+ + The bad copy/paste release.
+
+ -- Barry deFreese <bddebian@comcast.net> Mon, 10 Mar 2008 15:15:06 -0400
+
+libxbase (2.0.0-8.1) unstable; urgency=low
+
+ * Non-maintainer upload.
+ * Add watch file.
+ * Add Homepage to control.
+ * Add Section to source package and -dev package to libdevel.
+ * Fix up debian/copyright syntax.
+ * Call dh_makeshlibs before dh_shlibdeps. (Closes: #453792).
+ * Make clean not ignore errors.
+ * Version debhelper build-dep.
+ * Move DH_COMPAT to debian/compat and set to 5.
+ * Remove unneeded dirs file.
+ * Replace 'pwd' with $(CURDIR).
+ * Move .files files to .install and adjust debian/rules accordingly.
+ * Build with gcc-4.3. (Closes: #461714).
+ + Include <iostream> not iostream.h. (Closes: #299114).
+ * Make binNMU safe. Replace Source-Version with binary:Version.
+ * Handle nostrip option. (Closes: #437457).
+ * Add info to description that docs are in -dev package. (Closes: #394259).
+ * Bump Standards Version to 3.7.3.
+
+ -- Barry deFreese <bddebian@comcast.net> Thu, 21 Feb 2008 11:04:08 -0500
+
+libxbase (2.0.0-8) unstable; urgency=low
+
+ * removed "#pragma interface" to make it build with g++ 4.1
+ (thanks to Ben Hutchings and Brian M. Carlson) Closes: #356245
+
+ -- Michael Vogt <mvo@debian.org> Fri, 12 May 2006 11:16:43 +0200
+
+libxbase (2.0.0-7.1) unstable; urgency=low
+
+ * NMU for C++ transition
+ * Rename libxbase2.0-0c102 to libxbase2.0-0
+
+ -- Jeroen van Wolffelaar <jeroen@wolffelaar.nl> Sat, 6 Aug 2005 02:54:09 +0200
+
+libxbase (2.0.0-7) unstable; urgency=low
+
+ * applied a patch from Wesley J Landake to remove a unneed scoper
+ in the source
+ (closes: #253655)
+ * applied a documentation patch from Wesley J Landake
+ (closes: #209746)
+ * thanks Wesley!
+
+ -- Michael Vogt <mvo@debian.org> Tue, 14 Sep 2004 10:31:34 +0200
+
+libxbase (2.0.0-6) unstable; urgency=low
+
+ * rebuild for g++-3.2
+
+ -- Michael Vogt <mvo@debian.org> Sun, 12 Jan 2003 15:06:50 +0100
+
+libxbase (2.0.0-5) unstable; urgency=low
+
+ * split up libxbase into libxbase2.0-dev and libxbase2.0-bin
+ (closes: #148308)
+ * fixed a bug that prevented the examples from being installed
+
+ -- Michael Vogt <mvo@debian.org> Wed, 29 May 2002 11:11:23 +0200
+
+libxbase (2.0.0-4) unstable; urgency=low
+
+ * renamed to match soname (closes: #141757)
+ * added doxygen to build-depends (closes: #141947)
+
+ -- Michael Vogt <mvo@debian.org> Tue, 9 Apr 2002 09:04:15 +0200
+
+libxbase (2.0.0-3) unstable; urgency=low
+
+ * updated config.sub, config.guess (automated via autotools-dev)
+
+ -- Michael Vogt <mvo@debian.org> Mon, 8 Apr 2002 09:31:05 +0200
+
+libxbase (2.0.0-2) unstable; urgency=low
+
+ * renamed to libxbase to prevent name clash with the old
+ X11 package "xbase" (closes: #141686)
+
+ -- Michael Vogt <mvo@debian.org> Mon, 8 Apr 2002 09:02:35 +0200
+
+xbase (2.0.0-1) unstable; urgency=low
+
+ * new upstream release
+
+ -- Michael Vogt <mvo@debian.org> Sun, 17 Mar 2002 01:00:42 +0100
+
+xdb (1.2.0-4) unstable; urgency=low
+
+ * new version of config.gues (closes: #96607)
+
+ -- Michael Vogt <mvo@debian.org> Mon, 7 May 2001 10:38:44 +0200
+
+xdb (1.2.0-3) unstable; urgency=low
+
+ * new version for config.sub to make it compile on arm
+ closes: #90222
+
+ -- Michael Vogt <mvo@debian.org> Mon, 16 Apr 2001 21:54:31 +0200
+
+xdb (1.2.0-2) unstable; urgency=low
+
+ * new debian maintainer, closes: #88240
+ * added build-depends
+
+ -- Michael Vogt <mvo@debian.org> Thu, 12 Apr 2001 12:09:39 +0200
+
+xdb (1.2.0-1) unstable; urgency=low
+
+ * Initial Release.
+
+ -- Ionutz Borcoman <borco@borco-ei.eng.hokudai.ac.jp> Thu, 10 Aug 2000 12:08:53 +0900
+
+
diff --git a/debian/compat b/debian/compat
new file mode 100644
index 0000000..7ed6ff8
--- /dev/null
+++ b/debian/compat
@@ -0,0 +1 @@
+5
diff --git a/debian/control b/debian/control
new file mode 100644
index 0000000..79cd758
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,62 @@
+Source: xbase64
+Priority: optional
+Section: libs
+Maintainer: Debian QA Group <packages@qa.debian.org>
+Standards-Version: 3.9.5
+Build-Depends: debhelper (>= 8), doxygen, dh-autoreconf
+Homepage: http://sourceforge.net/projects/xdb/
+
+Package: libxbase64-1
+Section: libs
+Architecture: any
+Depends: ${shlibs:Depends}, ${misc:Depends}
+Description: xbase compatible C++ class library (shared libraries)
+ Xbase (formerly known as xdb, also formerly known as xBase) is a collection
+ of specifiations, programs, utilities and a C++ class library for
+ manipulating Xbase type datafiles and indices.
+ .
+ Xbase is useful for accessing data in legacy dBase 3 and 4 database files as
+ well as a general light-weight database engine. It includes support for
+ DBF (dBase version 3 and 4) data files, NDX and NTX indexes, and DBT
+ (dBase version 3 and 4). It supports file and record locking under *nix
+ OS's.
+ .
+ This package contains the shared libraries necessary to run programs linked
+ against Xbase. For documentation, please install the libxbase2.0-dev package.
+
+Package: libxbase64-dev
+Section: libdevel
+Architecture: any
+Depends: libxbase64-1 (= ${binary:Version}), libc6-dev | libc-dev, ${misc:Depends}
+Suggests: libxbase64-bin
+Description: xbase compatible C++ class library (development files)
+ Xbase (formerly known as xdb, also formerly known as xBase) is a collection
+ of specifiations, programs, utilities and a C++ class library for
+ manipulating Xbase type datafiles and indices.
+ .
+ Xbase is useful for accessing data in legacy dBase 3 and 4 database files as
+ well as a general light-weight database engine. It includes support for
+ DBF (dBase version 3 and 4) data files, NDX and NTX indexes, and DBT
+ (dBase version 3 and 4). It supports file and record locking under *nix
+ OS's.
+ .
+ This package contains development files for Xbase and documentation
+ distributed with Xbase.
+
+Package: libxbase64-bin
+Section: libs
+Architecture: any
+Depends: libxbase64-1 (= ${binary:Version}), libxbase64-dev, ${shlibs:Depends}, ${misc:Depends}
+Conflicts: libxdb-dev, libxbase2.0-bin, dvb-apps
+Description: xbase compatible C++ class library (utilities)
+ Xbase (formerly known as xdb, also formerly known as xBase) is a collection
+ of specifiations, programs, utilities and a C++ class library for
+ manipulating Xbase type datafiles and indices.
+ .
+ Xbase is useful for accessing data in legacy dBase 3 and 4 database files as
+ well as a general light-weight database engine. It includes support for
+ DBF (dBase version 3 and 4) data files, NDX and NTX indexes, and DBT
+ (dBase version 3 and 4). It supports file and record locking under *nix
+ OS's.
+ .
+ This package contains the utility files for Xbase distributed with Xbase.
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..a3e2f18
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,28 @@
+This package was debianized by:
+ Ionutz Borcoman <borco@borco-ei.eng.hokudai.ac.jp> on
+ Thu, 10 Aug 2000 12:08:53 +0900.
+
+It was downloaded from:
+ http://xdb.sourceforge.net/
+
+Upstream Authors:
+Bob Cotton <bcotton@synix.com> - Clipper NTX index support
+Denis Braussen <postoffice@mail.dotcom.fr> - general support
+Denis Pershin <dyp@inetlab.com> - provided library enhancements
+Eirk Bachman <ebp@geocities.com> - keeper of definitive Xbase spec
+Gabriel Emerson <egabriel@io.com> - provided logo
+Gary Kunkel <gkunkel@startech.keller.tx.us> - original author
+Kehl Hubertus <kehlh@hotmail.com> - Xbase to Xbase C++ Perl Converter
+Michael Bedward <mbedward@ozemail.com.au> - Expression logic support
+Paul Foster <paulf@quillandmouse.com> - general support
+Vitaly Fedrushkov <willy@snowyowl.csu.ac.ru> - TV support and more
+
+Copyright: Copyright (C) 1997 StarTech, Gary A. Kunkel
+
+License:
+ LGPL (see /usr/share/common-licenses/LGPL)
+
+ bin/*.cpp, libtest/*.cpp, examples/*.cpp: GPLv2+
+
+On Debian systems the full text of the licenses can be found in
+/usr/share/common-licenses/{GPL,LGPL}.
diff --git a/debian/dirs b/debian/dirs
new file mode 100644
index 0000000..4a0bd8a
--- /dev/null
+++ b/debian/dirs
@@ -0,0 +1,3 @@
+usr/bin
+usr/lib
+usr/include/xdb
diff --git a/debian/docs b/debian/docs
new file mode 100644
index 0000000..50bd824
--- /dev/null
+++ b/debian/docs
@@ -0,0 +1,2 @@
+NEWS
+README
diff --git a/debian/libxbase64-1.install b/debian/libxbase64-1.install
new file mode 100644
index 0000000..6341bad
--- /dev/null
+++ b/debian/libxbase64-1.install
@@ -0,0 +1 @@
+debian/tmp/usr/lib/*.so.* usr/lib/
diff --git a/debian/libxbase64-bin.install b/debian/libxbase64-bin.install
new file mode 100644
index 0000000..98d2d42
--- /dev/null
+++ b/debian/libxbase64-bin.install
@@ -0,0 +1,12 @@
+debian/tmp/usr/bin/checkndx usr/bin/
+debian/tmp/usr/bin/copydbf usr/bin/
+debian/tmp/usr/bin/dbfutil1 usr/bin/
+debian/tmp/usr/bin/dbfxtrct usr/bin/
+debian/tmp/usr/bin/deletall usr/bin/
+debian/tmp/usr/bin/dumphdr usr/bin/
+debian/tmp/usr/bin/dumprecs usr/bin/
+debian/tmp/usr/bin/packdbf usr/bin/
+debian/tmp/usr/bin/reindex usr/bin/
+debian/tmp/usr/bin/undelall usr/bin/
+debian/tmp/usr/bin/zap usr/bin/
+
diff --git a/debian/libxbase64-dev.examples b/debian/libxbase64-dev.examples
new file mode 100644
index 0000000..7c8b6ef
--- /dev/null
+++ b/debian/libxbase64-dev.examples
@@ -0,0 +1 @@
+examples/*.cpp
diff --git a/debian/libxbase64-dev.install b/debian/libxbase64-dev.install
new file mode 100644
index 0000000..0b4254a
--- /dev/null
+++ b/debian/libxbase64-dev.install
@@ -0,0 +1,8 @@
+debian/tmp/usr/lib/lib*.so usr/lib/
+debian/tmp/usr/lib/lib*.a usr/lib/
+debian/tmp/usr/include/* usr/include/
+debian/tmp/usr/bin/xbase64-config usr/bin/
+docs/html/*.html usr/share/doc/libxbase-dev/html/
+docs/html/*.png usr/share/doc/libxbase-dev/html/
+html/*.htm usr/share/doc/libxbase-dev/html/
+html/*.jpg usr/share/doc/libxbase-dev/html/
diff --git a/debian/patches/autoconf-updates.diff b/debian/patches/autoconf-updates.diff
new file mode 100644
index 0000000..af5acf0
--- /dev/null
+++ b/debian/patches/autoconf-updates.diff
@@ -0,0 +1,451 @@
+Index: b/AUTHORS
+===================================================================
+--- /dev/null
++++ b/AUTHORS
+@@ -0,0 +1,47 @@
++
++This is a list of the people who are or have worked on the xbase64 Library.
++
++Gary Kunkel <gkunkel@zhsac.com> - original author,
++ current maintainer of xbase64
++Larry McCourry <lmccourry@charter.net - memory leak testing
++Sergiy Yakovin <s.yakovin@if.ukrsotsbank.com> - cdx index support
++
++Previous to this library being branced to xbase64, the following AUTHORS have
++supported xbase to the 2.x release level.
++
++
++
++------------------------------------------------------------------------------
++The following list is the AUTHORS file for the xbase library release 2.
++------------------------------------------------------------------------------
++This is a partial list of the people that have helped with the xbase
++project and something specific they worked on. Most have worked on more
++than what is listed.
++
++Derry Bryson <derry@techass.com> - release 2.x maintainer
++Mario Motta - testing and bugfixes
++Serge Smirnov <sw1181@mail.ru> - MSVC stuff and OCAML support
++Frolov Sergey - bugfixes (memory leaks)
++
++------------------------------------------------------------------------------
++The following is the original AUTHORS file for the xbase library
++------------------------------------------------------------------------------
++This is a partial list of the people that have helped with the xbase
++project and something specific they worked on. Most have worked on more
++than what is listed.
++
++
++Bob Cotton <bcotton@synix.com> - Clipper NTX index support
++Denis Braussen <postoffice@mail.dotcom.fr> - general support
++Denis Pershin <dyp@inetlab.com> - provided library enhancements
++Eirk Bachman <ebp@geocities.com> - keeper of definitive Xbase spec
++Gabriel Emerson <egabriel@io.com> - provided logo
++Kehl Hubertus <kehlh@hotmail.com> - Xbase to Xbase C++ Perl Converter
++Michael Bedward <mbedward@ozemail.com.au> - Expression logic support
++Paul Foster <paulf@quillandmouse.com> - general support
++Vitaly Fedrushkov <willy@snowyowl.csu.ac.ru> - TV support and more
++
++------------------------------------------------------------------------------
++
++If you are missing and you should be included in this file, please let me
++know at xbase64-dev@lists.sourceforge.net. Thanks, Gary Kunkel.
+Index: b/NEWS
+===================================================================
+--- /dev/null
++++ b/NEWS
+@@ -0,0 +1,49 @@
++
++Xbase64 (Sept 15, 2003)
++------------------------
++
++Xbase64 was branched off the xbase C++ class lib project and given a new name.
++
++There are significant changes in this release.
++
++1) The original author (Gary Kunkel) has resumed working on the project.
++
++2) The project was branched and renamed to xbase64 with 64 bit file
++ processing capabilities. The xbase name is being used by other projects,
++ so I thought it was time for a new name.
++
++3) Modified the license from LGPL to GPL as recommended by the GNU web site.
++ Files that I have not been able to get permission from the original
++ author for GPL terms have beed deleted from the library.
++
++4) Trimmed the tree: Dropped support for the xbHtml class, the turbo vision
++ interface, and the ybase directory. These are either unused, not working,
++ undocumented, not maintained, or I didn't have authority to change the
++ license from LGPL to GPL.
++
++5) Didn't move make files forward that were not documented or working.
++ These need to be reviewed and brought forward.
++
++6) Worked on the locking logic.
++
++7) Added support for Borland C++ 5.x compiler.
++
++8) Created a new data type of XB_BOOL. Current bool data type was causing
++ issues in certain environments.
++
++9) Dropped support for XB_CASTELLANO dates. Changed the logic to use
++ system locale settings, this supports descriptive dates in different
++ languages.
++
++10) Cleaned up memory leaks.
++
++11) Updates to the documentation.
++
++12) Enhancements to the expression logic
++
++13) Fixed the broken index logic - the ndx and ntx indices are working
++ again.
++
++-----------------------------------------------------------------------
++For a the historical NEWS file history (pre 9/15/03), review the older
++xbase library.
+Index: b/README
+===================================================================
+--- /dev/null
++++ b/README
+@@ -0,0 +1,108 @@
++ Xbase64 Version 3.1.0
++
++
++
++WHAT IS IT?
++-----------
++
++Xbase64 is an xbase (i.e. dBase, FoxPro, etc.) compatible C++ class library
++originally by Gary Kunkel and others (see the AUTHORS file).
++
++Xbase64 is useful for accessing data in legacy dBase 3 and 4 database files as
++well as a general light-weight database engine. It includes support for
++DBF (dBase version 3 and 4) data files, NDX and NTX indexes, and DBT
++(dBase version 3 and 4). It supports file and record locking under *nix
++and Windows.
++
++
++DIRECTORY LAYOUT
++----------------
++
++ /bin contains various utility programs
++ /examples contains various test programs
++ /html contains the original xBase documentation in html format
++ /xbase64 Xbase64 source and header files
++
++
++BUILDING THE LIBRARY ON UNIX/LINUX
++----------------------------------
++
++XBase64 uses autoconf and libtool to manage the build process.
++
++To configure the library for your specific system, run the "configure"
++shell script as follows:
++
++ ./configure
++
++The configure script accepts the following options in addition to the
++normal default options:
++
++ --enable-debug creates debugging code [default=no]
++ --enable-shared build shared libraries [default=yes]
++ --enable-static build static libraries [default=no]
++ --with-gnu-ld assume the C compiler uses GNU ld [default=no]
++ --without-index-ndx turn off .ndx index support
++ --without-index-ntx turn off .ntx index support
++ --without-memo-fields turn off memo fields support
++ --without-expressions turn off expressions support
++ --without-xbase-locking turn off XBase file locking
++ --without-realdelete turn off XBase record deletion
++ --without-xbase-debug turn off XBase specific debug
++ --without-largefile-support turn off XBase largefile support
++
++Once configured, execute make as follows to build the library:
++
++ make
++
++Once compiled (and assuming no errors occurred), use make to install the
++library, header files, and utilities as follows:
++
++ make install
++
++The default install directory is /usr/local.
++
++
++BUILDING THE LIBRARY ON WINDOWS
++-------------------------------
++
++The MINGW32 and CYGWIN compiler support didn't make the first cut to
++Xbase64. They will be migrated forward in a future release of xbase64.
++Any volunteers?
++
++If using the MINGW32 GCC compiler package, use the makefile.g95 make files.
++Edit bin/makefile.g95 xbase/makefile.g95 to change installation directories.
++
++If using the CYGWIN environment, use the makefile.cyg make files (or fix
++the autoconf/automake stuff to work correclty). However, for some reason
++(as yet undetermined) it seems to run very slowly when compiled with the
++cygwin compiler (perhaps the file handing in the cygwin dll is just dog slow?).
++
++
++BUILDING THE LIRARY WITH BORLAND 5.5
++------------------------------------
++
++There are batch files MAKEBCC.BAT which build the xbase libs for
++Borland C++ 5.5.
++
++
++
++DOCUMENTATION
++-------------
++
++The documentation at this point consists of the original xBase documentation
++(in the html directory). It is still very useful as little has changed
++from the original library except bugfixes and a few enhancements.
++
++We are working on incorporating comments into the source to allow
++generation of reference documentation using the Doxygen document generator.
++A small amount has been done already, but we hope to complete this effort
++before the next release.
++
++
++CONTACT
++-------
++
++Please email comments, bug reports, and patches to Gary Kunkel
++xdb-dev@lists.sourceforge.net
++
++
+Index: b/authors
+===================================================================
+--- a/authors
++++ /dev/null
+@@ -1,47 +0,0 @@
+-
+-This is a list of the people who are or have worked on the xbase64 Library.
+-
+-Gary Kunkel <gkunkel@zhsac.com> - original author,
+- current maintainer of xbase64
+-Larry McCourry <lmccourry@charter.net - memory leak testing
+-Sergiy Yakovin <s.yakovin@if.ukrsotsbank.com> - cdx index support
+-
+-Previous to this library being branced to xbase64, the following AUTHORS have
+-supported xbase to the 2.x release level.
+-
+-
+-
+-------------------------------------------------------------------------------
+-The following list is the AUTHORS file for the xbase library release 2.
+-------------------------------------------------------------------------------
+-This is a partial list of the people that have helped with the xbase
+-project and something specific they worked on. Most have worked on more
+-than what is listed.
+-
+-Derry Bryson <derry@techass.com> - release 2.x maintainer
+-Mario Motta - testing and bugfixes
+-Serge Smirnov <sw1181@mail.ru> - MSVC stuff and OCAML support
+-Frolov Sergey - bugfixes (memory leaks)
+-
+-------------------------------------------------------------------------------
+-The following is the original AUTHORS file for the xbase library
+-------------------------------------------------------------------------------
+-This is a partial list of the people that have helped with the xbase
+-project and something specific they worked on. Most have worked on more
+-than what is listed.
+-
+-
+-Bob Cotton <bcotton@synix.com> - Clipper NTX index support
+-Denis Braussen <postoffice@mail.dotcom.fr> - general support
+-Denis Pershin <dyp@inetlab.com> - provided library enhancements
+-Eirk Bachman <ebp@geocities.com> - keeper of definitive Xbase spec
+-Gabriel Emerson <egabriel@io.com> - provided logo
+-Kehl Hubertus <kehlh@hotmail.com> - Xbase to Xbase C++ Perl Converter
+-Michael Bedward <mbedward@ozemail.com.au> - Expression logic support
+-Paul Foster <paulf@quillandmouse.com> - general support
+-Vitaly Fedrushkov <willy@snowyowl.csu.ac.ru> - TV support and more
+-
+-------------------------------------------------------------------------------
+-
+-If you are missing and you should be included in this file, please let me
+-know at xbase64-dev@lists.sourceforge.net. Thanks, Gary Kunkel.
+Index: b/news
+===================================================================
+--- a/news
++++ /dev/null
+@@ -1,49 +0,0 @@
+-
+-Xbase64 (Sept 15, 2003)
+-------------------------
+-
+-Xbase64 was branched off the xbase C++ class lib project and given a new name.
+-
+-There are significant changes in this release.
+-
+-1) The original author (Gary Kunkel) has resumed working on the project.
+-
+-2) The project was branched and renamed to xbase64 with 64 bit file
+- processing capabilities. The xbase name is being used by other projects,
+- so I thought it was time for a new name.
+-
+-3) Modified the license from LGPL to GPL as recommended by the GNU web site.
+- Files that I have not been able to get permission from the original
+- author for GPL terms have beed deleted from the library.
+-
+-4) Trimmed the tree: Dropped support for the xbHtml class, the turbo vision
+- interface, and the ybase directory. These are either unused, not working,
+- undocumented, not maintained, or I didn't have authority to change the
+- license from LGPL to GPL.
+-
+-5) Didn't move make files forward that were not documented or working.
+- These need to be reviewed and brought forward.
+-
+-6) Worked on the locking logic.
+-
+-7) Added support for Borland C++ 5.x compiler.
+-
+-8) Created a new data type of XB_BOOL. Current bool data type was causing
+- issues in certain environments.
+-
+-9) Dropped support for XB_CASTELLANO dates. Changed the logic to use
+- system locale settings, this supports descriptive dates in different
+- languages.
+-
+-10) Cleaned up memory leaks.
+-
+-11) Updates to the documentation.
+-
+-12) Enhancements to the expression logic
+-
+-13) Fixed the broken index logic - the ndx and ntx indices are working
+- again.
+-
+------------------------------------------------------------------------
+-For a the historical NEWS file history (pre 9/15/03), review the older
+-xbase library.
+Index: b/readme
+===================================================================
+--- a/readme
++++ /dev/null
+@@ -1,108 +0,0 @@
+- Xbase64 Version 3.1.0
+-
+-
+-
+-WHAT IS IT?
+------------
+-
+-Xbase64 is an xbase (i.e. dBase, FoxPro, etc.) compatible C++ class library
+-originally by Gary Kunkel and others (see the AUTHORS file).
+-
+-Xbase64 is useful for accessing data in legacy dBase 3 and 4 database files as
+-well as a general light-weight database engine. It includes support for
+-DBF (dBase version 3 and 4) data files, NDX and NTX indexes, and DBT
+-(dBase version 3 and 4). It supports file and record locking under *nix
+-and Windows.
+-
+-
+-DIRECTORY LAYOUT
+-----------------
+-
+- /bin contains various utility programs
+- /examples contains various test programs
+- /html contains the original xBase documentation in html format
+- /xbase64 Xbase64 source and header files
+-
+-
+-BUILDING THE LIBRARY ON UNIX/LINUX
+-----------------------------------
+-
+-XBase64 uses autoconf and libtool to manage the build process.
+-
+-To configure the library for your specific system, run the "configure"
+-shell script as follows:
+-
+- ./configure
+-
+-The configure script accepts the following options in addition to the
+-normal default options:
+-
+- --enable-debug creates debugging code [default=no]
+- --enable-shared build shared libraries [default=yes]
+- --enable-static build static libraries [default=no]
+- --with-gnu-ld assume the C compiler uses GNU ld [default=no]
+- --without-index-ndx turn off .ndx index support
+- --without-index-ntx turn off .ntx index support
+- --without-memo-fields turn off memo fields support
+- --without-expressions turn off expressions support
+- --without-xbase-locking turn off XBase file locking
+- --without-realdelete turn off XBase record deletion
+- --without-xbase-debug turn off XBase specific debug
+- --without-largefile-support turn off XBase largefile support
+-
+-Once configured, execute make as follows to build the library:
+-
+- make
+-
+-Once compiled (and assuming no errors occurred), use make to install the
+-library, header files, and utilities as follows:
+-
+- make install
+-
+-The default install directory is /usr/local.
+-
+-
+-BUILDING THE LIBRARY ON WINDOWS
+--------------------------------
+-
+-The MINGW32 and CYGWIN compiler support didn't make the first cut to
+-Xbase64. They will be migrated forward in a future release of xbase64.
+-Any volunteers?
+-
+-If using the MINGW32 GCC compiler package, use the makefile.g95 make files.
+-Edit bin/makefile.g95 xbase/makefile.g95 to change installation directories.
+-
+-If using the CYGWIN environment, use the makefile.cyg make files (or fix
+-the autoconf/automake stuff to work correclty). However, for some reason
+-(as yet undetermined) it seems to run very slowly when compiled with the
+-cygwin compiler (perhaps the file handing in the cygwin dll is just dog slow?).
+-
+-
+-BUILDING THE LIRARY WITH BORLAND 5.5
+-------------------------------------
+-
+-There are batch files MAKEBCC.BAT which build the xbase libs for
+-Borland C++ 5.5.
+-
+-
+-
+-DOCUMENTATION
+--------------
+-
+-The documentation at this point consists of the original xBase documentation
+-(in the html directory). It is still very useful as little has changed
+-from the original library except bugfixes and a few enhancements.
+-
+-We are working on incorporating comments into the source to allow
+-generation of reference documentation using the Doxygen document generator.
+-A small amount has been done already, but we hope to complete this effort
+-before the next release.
+-
+-
+-CONTACT
+--------
+-
+-Please email comments, bug reports, and patches to Gary Kunkel
+-xdb-dev@lists.sourceforge.net
+-
+-
+Index: b/configure.in
+===================================================================
+--- a/configure.in
++++ b/configure.in
+@@ -74,7 +74,7 @@
+
+ # get G++ version
+ if test "$GXX" = "yes"; then
+- GXXVER=`${CXX} -v 2>&1 | grep version | cut -d " " -f 3 -`
++ GXXVER=`${CXX} -v 2>&1 | grep '^gcc version' | cut -d " " -f 3 -`
+ GXXVER="gcc${GXXVER}"
+ else
+ GXXVER=""
diff --git a/debian/patches/c++-includes.diff b/debian/patches/c++-includes.diff
new file mode 100644
index 0000000..9eada08
--- /dev/null
+++ b/debian/patches/c++-includes.diff
@@ -0,0 +1,36 @@
+Index: b/xbase64/xbase64.cpp
+===================================================================
+--- a/xbase64/xbase64.cpp
++++ b/xbase64/xbase64.cpp
+@@ -66,6 +66,8 @@
+ #include <dos.h>
+ #endif
+
++#include <cerrno>
++
+
+ /*! \file xbase64.cpp
+ */
+Index: b/xbase64/xblock.cpp
+===================================================================
+--- a/xbase64/xblock.cpp
++++ b/xbase64/xblock.cpp
+@@ -65,6 +65,8 @@
+ //#include <stdio.h>
+ //#include <stdlib.h>
+
++#include <cerrno>
++
+ /*! \file xblock.cpp
+ */
+ #ifdef XB_LOCKING_ON
+Index: b/xbase64/xbnode.cpp
+===================================================================
+--- a/xbase64/xbnode.cpp
++++ b/xbase64/xbnode.cpp
+@@ -1,4 +1,4 @@
+-#include "xbNode.h"
++#include "xbnode.h"
+
+ void xbNodeLink::AddNode(xbNodeLink* node)
+ {
diff --git a/debian/patches/fixconfig.diff b/debian/patches/fixconfig.diff
new file mode 100644
index 0000000..c7bbf75
--- /dev/null
+++ b/debian/patches/fixconfig.diff
@@ -0,0 +1,13 @@
+Index: b/xbase64-config.in
+===================================================================
+--- a/xbase64-config.in
++++ b/xbase64-config.in
+@@ -5,7 +5,7 @@
+ exec_prefix_set=no
+ CC="@CC@"
+ CXX="@CXX@"
+-LD="@SHARED_LD@"
++LD="@LD@"
+
+ usage="\
+ Usage: xbase-config [--prefix[=DIR]] [--exec-prefix[=DIR]] [--version] [--libs] [--cflags] [--cc] [--cxx] [--ld]"
diff --git a/debian/patches/gcc-fixes.diff b/debian/patches/gcc-fixes.diff
new file mode 100644
index 0000000..e8a4b38
--- /dev/null
+++ b/debian/patches/gcc-fixes.diff
@@ -0,0 +1,22 @@
+Index: b/bin/dumprecs.cpp
+===================================================================
+--- a/bin/dumprecs.cpp
++++ b/bin/dumprecs.cpp
+@@ -70,7 +70,7 @@
+ return 1;
+ }
+
+- for(int i=1; i<ac; ++i){
++ for(int i=1; i<ac; ++i){{
+ char* filename = av[i];
+
+ xbDbf MyFile( &x );
+@@ -91,7 +91,7 @@
+ x.DisplayError( rc );
+ }
+ MyFile.CloseDatabase(); /* close database */
+- }
++ }}
+ return 0;
+ }
+
diff --git a/debian/patches/lesserg.diff b/debian/patches/lesserg.diff
new file mode 100644
index 0000000..b6eb71e
--- /dev/null
+++ b/debian/patches/lesserg.diff
@@ -0,0 +1,294 @@
+diff -up xbase64-3.1.2/xbase64/xbase64.cpp.lesserg xbase64-3.1.2/xbase64/xbase64.cpp
+--- xbase64-3.1.2/xbase64/xbase64.cpp.lesserg 2012-01-05 15:31:01.695312436 -0500
++++ xbase64-3.1.2/xbase64/xbase64.cpp 2012-01-05 15:31:01.717312232 -0500
+@@ -38,7 +38,7 @@
+
+ */
+
+-#ifdef __GNU LesserG__
++#ifdef __GNU_LesserG__
+ #pragma implementation "xbase64.h"
+ #endif
+
+diff -up xbase64-3.1.2/xbase64/xbase64.h.lesserg xbase64-3.1.2/xbase64/xbase64.h
+--- xbase64-3.1.2/xbase64/xbase64.h.lesserg 2006-07-17 12:54:50.000000000 -0400
++++ xbase64-3.1.2/xbase64/xbase64.h 2012-01-05 15:31:01.718312223 -0500
+@@ -42,7 +42,7 @@
+ #ifndef __XB_XBASE_H__
+ #define __XB_XBASE_H__
+
+-#ifdef __GNU LesserG__
++#ifdef __GNU_LesserG__
+ #pragma interface
+ #endif
+
+@@ -60,7 +60,7 @@
+ // ripped from wxWindows
+
+ // _declspec works in BC++ 5 and later, as well as VC++
+-#if defined(__VISUALC__) || defined(__BORLANDC__) || defined(__GNU LesserC__)
++#if defined(__VISUALC__) || defined(__BORLANDC__) || defined(__GNU_LesserC__)
+ # ifdef XBMAKINGDLL
+ # define XBDLLEXPORT __declspec( dllexport )
+ # define XBDLLEXPORT_DATA(type) __declspec( dllexport ) type
+diff -up xbase64-3.1.2/xbase64/xbcdx.h.lesserg xbase64-3.1.2/xbase64/xbcdx.h
+--- xbase64-3.1.2/xbase64/xbcdx.h.lesserg 2012-01-05 15:32:17.398608985 -0500
++++ xbase64-3.1.2/xbase64/xbcdx.h 2012-01-05 15:32:43.051370614 -0500
+@@ -50,7 +50,7 @@ struct CdxInnerNode: public CdxNode
+ {
+ char keys[500];
+ }
+-#ifdef __GNU LesserC__
++#ifdef __GNU_LesserC__
+ __attribute__((packed))
+ #endif
+ ;
+@@ -67,7 +67,7 @@ struct CdxLeafNode: public CdxNode
+ char byteCount;
+ char keys[488];
+ }
+-#ifdef __GNU LesserC__
++#ifdef __GNU_LesserC__
+ __attribute__((packed))
+ #endif
+ ;
+diff -up xbase64-3.1.2/xbase64/xbdate.cpp.lesserg xbase64-3.1.2/xbase64/xbdate.cpp
+--- xbase64-3.1.2/xbase64/xbdate.cpp.lesserg 2006-07-17 12:54:42.000000000 -0400
++++ xbase64-3.1.2/xbase64/xbdate.cpp 2012-01-05 15:31:01.719312213 -0500
+@@ -40,7 +40,7 @@
+
+ */
+
+-#ifdef __GNU LesserG__
++#ifdef __GNU_LesserG__
+ #pragma implementation "xbdate.h"
+ #endif
+
+diff -up xbase64-3.1.2/xbase64/xbdate.h.lesserg xbase64-3.1.2/xbase64/xbdate.h
+--- xbase64-3.1.2/xbase64/xbdate.h.lesserg 2006-07-17 12:54:50.000000000 -0400
++++ xbase64-3.1.2/xbase64/xbdate.h 2012-01-05 15:31:01.721312195 -0500
+@@ -45,7 +45,7 @@
+ #ifndef __XB_XBDATE_H__
+ #define __XB_XBDATE_H__
+
+-#ifdef __GNU LesserG__
++#ifdef __GNU_LesserG__
+ #pragma interface
+ #endif
+
+diff -up xbase64-3.1.2/xbase64/xbdbf.cpp.lesserg xbase64-3.1.2/xbase64/xbdbf.cpp
+--- xbase64-3.1.2/xbase64/xbdbf.cpp.lesserg 2006-07-17 12:54:42.000000000 -0400
++++ xbase64-3.1.2/xbase64/xbdbf.cpp 2012-01-05 15:31:01.722312185 -0500
+@@ -39,7 +39,7 @@
+
+ */
+
+-#ifdef __GNU LesserG__
++#ifdef __GNU_LesserG__
+ #pragma implementation "xbdbf.h"
+ #endif
+
+diff -up xbase64-3.1.2/xbase64/xbdbf.h.lesserg xbase64-3.1.2/xbase64/xbdbf.h
+--- xbase64-3.1.2/xbase64/xbdbf.h.lesserg 2006-07-17 12:54:50.000000000 -0400
++++ xbase64-3.1.2/xbase64/xbdbf.h 2012-01-05 15:31:01.723312175 -0500
+@@ -41,7 +41,7 @@
+ #ifndef __XB_DBF_H__
+ #define __XB_DBF_H__
+
+-#ifdef __GNU LesserG__
++#ifdef __GNU_LesserG__
+ #pragma interface
+ #endif
+
+diff -up xbase64-3.1.2/xbase64/xbexp.cpp.lesserg xbase64-3.1.2/xbase64/xbexp.cpp
+--- xbase64-3.1.2/xbase64/xbexp.cpp.lesserg 2006-07-17 12:54:42.000000000 -0400
++++ xbase64-3.1.2/xbase64/xbexp.cpp 2012-01-05 15:31:01.725312157 -0500
+@@ -38,7 +38,7 @@
+
+ */
+
+-#ifdef __GNU LesserG__
++#ifdef __GNU_LesserG__
+ #pragma implementation "xbexp.h"
+ #endif
+
+diff -up xbase64-3.1.2/xbase64/xbexp.h.lesserg xbase64-3.1.2/xbase64/xbexp.h
+--- xbase64-3.1.2/xbase64/xbexp.h.lesserg 2006-07-17 12:54:50.000000000 -0400
++++ xbase64-3.1.2/xbase64/xbexp.h 2012-01-05 15:31:01.726312148 -0500
+@@ -42,7 +42,7 @@
+ #ifndef __XB_EXP_H__
+ #define __XB_EXP_H__
+
+-#ifdef __GNU LesserG__
++#ifdef __GNU_LesserG__
+ #pragma interface
+ #endif
+
+diff -up xbase64-3.1.2/xbase64/xbfile.cpp.lesserg xbase64-3.1.2/xbase64/xbfile.cpp
+--- xbase64-3.1.2/xbase64/xbfile.cpp.lesserg 2006-07-17 12:54:42.000000000 -0400
++++ xbase64-3.1.2/xbase64/xbfile.cpp 2012-01-05 15:31:01.727312139 -0500
+@@ -39,7 +39,7 @@
+
+ */
+
+-#ifdef __GNU LesserG__
++#ifdef __GNU_LesserG__
+ #pragma implementation "xbfile.h"
+ #endif
+
+diff -up xbase64-3.1.2/xbase64/xbfile.h.lesserg xbase64-3.1.2/xbase64/xbfile.h
+--- xbase64-3.1.2/xbase64/xbfile.h.lesserg 2006-07-17 12:54:50.000000000 -0400
++++ xbase64-3.1.2/xbase64/xbfile.h 2012-01-05 15:31:01.728312130 -0500
+@@ -45,7 +45,7 @@
+ #ifndef __XB_FILE_H__
+ #define __XB_FILE_H__
+
+-#ifdef __GNU LesserG__
++#ifdef __GNU_LesserG__
+ #pragma interface
+ #endif
+
+diff -up xbase64-3.1.2/xbase64/xbfilter.cpp.lesserg xbase64-3.1.2/xbase64/xbfilter.cpp
+--- xbase64-3.1.2/xbase64/xbfilter.cpp.lesserg 2006-07-17 12:54:42.000000000 -0400
++++ xbase64-3.1.2/xbase64/xbfilter.cpp 2012-01-05 15:31:01.729312120 -0500
+@@ -38,7 +38,7 @@
+
+ */
+
+-#ifdef __GNU LesserG__
++#ifdef __GNU_LesserG__
+ #pragma implementation "xbfilter.h"
+ #endif
+
+diff -up xbase64-3.1.2/xbase64/xbfilter.h.lesserg xbase64-3.1.2/xbase64/xbfilter.h
+--- xbase64-3.1.2/xbase64/xbfilter.h.lesserg 2006-07-17 12:54:50.000000000 -0400
++++ xbase64-3.1.2/xbase64/xbfilter.h 2012-01-05 15:31:01.731312101 -0500
+@@ -44,7 +44,7 @@
+ #ifndef __XB_FILTER_H__
+ #define __XB_FILTER_H__
+
+-#ifdef __GNU LesserG__
++#ifdef __GNU_LesserG__
+ #pragma interface
+ #endif
+
+diff -up xbase64-3.1.2/xbase64/xbindex.cpp.lesserg xbase64-3.1.2/xbase64/xbindex.cpp
+--- xbase64-3.1.2/xbase64/xbindex.cpp.lesserg 2006-07-17 12:54:42.000000000 -0400
++++ xbase64-3.1.2/xbase64/xbindex.cpp 2012-01-05 15:31:01.732312092 -0500
+@@ -37,7 +37,7 @@
+ USA
+ */
+
+-#ifdef __GNU LesserG__
++#ifdef __GNU_LesserG__
+ #pragma implementation "xbindex.h"
+ #endif
+
+diff -up xbase64-3.1.2/xbase64/xbindex.h.lesserg xbase64-3.1.2/xbase64/xbindex.h
+--- xbase64-3.1.2/xbase64/xbindex.h.lesserg 2006-07-17 12:54:50.000000000 -0400
++++ xbase64-3.1.2/xbase64/xbindex.h 2012-01-05 15:31:01.733312083 -0500
+@@ -43,7 +43,7 @@
+ #ifndef __XB_INDEX_H__
+ #define __XB_INDEX_H__
+
+-#ifdef __GNU LesserG__
++#ifdef __GNU_LesserG__
+ #pragma interface
+ #endif
+
+diff -up xbase64-3.1.2/xbase64/xblock.cpp.lesserg xbase64-3.1.2/xbase64/xblock.cpp
+--- xbase64-3.1.2/xbase64/xblock.cpp.lesserg 2012-01-05 15:31:01.696312427 -0500
++++ xbase64-3.1.2/xbase64/xblock.cpp 2012-01-05 15:31:01.734312074 -0500
+@@ -42,7 +42,7 @@
+ USA
+ */
+
+-#ifdef __GNU LesserG__
++#ifdef __GNU_LesserG__
+ #pragma implementation "xblock.h"
+ #endif
+
+diff -up xbase64-3.1.2/xbase64/xblock.h.lesserg xbase64-3.1.2/xbase64/xblock.h
+--- xbase64-3.1.2/xbase64/xblock.h.lesserg 2006-07-17 12:54:50.000000000 -0400
++++ xbase64-3.1.2/xbase64/xblock.h 2012-01-05 15:31:01.735312065 -0500
+@@ -44,7 +44,7 @@
+ #ifndef __XB_XBLOCK_H__
+ #define __XB_XBLOCK_H__
+
+-#ifdef __GNU LesserG__
++#ifdef __GNU_LesserG__
+ #pragma interface
+ #endif
+
+diff -up xbase64-3.1.2/xbase64/xbndx.cpp.lesserg xbase64-3.1.2/xbase64/xbndx.cpp
+--- xbase64-3.1.2/xbase64/xbndx.cpp.lesserg 2006-07-17 12:54:42.000000000 -0400
++++ xbase64-3.1.2/xbase64/xbndx.cpp 2012-01-05 15:31:01.737312045 -0500
+@@ -36,7 +36,7 @@
+
+ */
+
+-#ifdef __GNU LesserG__
++#ifdef __GNU_LesserG__
+ #pragma implementation "xbndx.h"
+ #endif
+
+diff -up xbase64-3.1.2/xbase64/xbndx.h.lesserg xbase64-3.1.2/xbase64/xbndx.h
+--- xbase64-3.1.2/xbase64/xbndx.h.lesserg 2006-07-17 12:54:50.000000000 -0400
++++ xbase64-3.1.2/xbase64/xbndx.h 2012-01-05 15:31:01.738312036 -0500
+@@ -41,7 +41,7 @@
+ #ifndef __XB_NDX_H__
+ #define __XB_NDX_H__
+
+-#ifdef __GNU LesserG__
++#ifdef __GNU_LesserG__
+ #pragma interface
+ #endif
+
+diff -up xbase64-3.1.2/xbase64/xbntx.cpp.lesserg xbase64-3.1.2/xbase64/xbntx.cpp
+--- xbase64-3.1.2/xbase64/xbntx.cpp.lesserg 2006-07-17 12:54:42.000000000 -0400
++++ xbase64-3.1.2/xbase64/xbntx.cpp 2012-01-05 15:31:01.740312018 -0500
+@@ -40,7 +40,7 @@
+ USA
+ */
+
+-#ifdef __GNU LesserG__
++#ifdef __GNU_LesserG__
+ #pragma implementation "xbntx.h"
+ #endif
+
+diff -up xbase64-3.1.2/xbase64/xbntx.h.lesserg xbase64-3.1.2/xbase64/xbntx.h
+--- xbase64-3.1.2/xbase64/xbntx.h.lesserg 2006-07-17 12:54:50.000000000 -0400
++++ xbase64-3.1.2/xbase64/xbntx.h 2012-01-05 15:31:01.741312009 -0500
+@@ -42,7 +42,7 @@
+ #ifndef __XB_NTX_H__
+ #define __XB_NTX_H__
+
+-#ifdef __GNU LesserG__
++#ifdef __GNU_LesserG__
+ #pragma interface
+ #endif
+
+diff -up xbase64-3.1.2/xbase64/xbstring.cpp.lesserg xbase64-3.1.2/xbase64/xbstring.cpp
+--- xbase64-3.1.2/xbase64/xbstring.cpp.lesserg 2006-07-17 12:54:42.000000000 -0400
++++ xbase64-3.1.2/xbase64/xbstring.cpp 2012-01-05 15:31:01.742312000 -0500
+@@ -38,7 +38,7 @@
+
+ */
+
+-#ifdef __GNU LesserG__
++#ifdef __GNU_LesserG__
+ #pragma implementation "xbstring.h"
+ #endif
+
+diff -up xbase64-3.1.2/xbase64/xbstring.h.lesserg xbase64-3.1.2/xbase64/xbstring.h
+--- xbase64-3.1.2/xbase64/xbstring.h.lesserg 2006-07-17 12:54:50.000000000 -0400
++++ xbase64-3.1.2/xbase64/xbstring.h 2012-01-05 15:31:01.743311990 -0500
+@@ -41,7 +41,7 @@
+ #ifndef __XBSTRING_H__
+ #define __XBSTRING_H__
+
+-#ifdef __GNU LesserG__
++#ifdef __GNU_LesserG__
+ #pragma interface
+ #endif
+
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..c1a72e7
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1,5 @@
+fixconfig.diff
+autoconf-updates.diff
+lesserg.diff
+c++-includes.diff
+gcc-fixes.diff
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..7b37c2f
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,78 @@
+#!/usr/bin/make -f
+# Sample debian/rules that uses debhelper.
+# GNU copyright 1997 to 1999 by Joey Hess.
+
+# Uncomment this to turn on verbose mode.
+#export DH_VERBOSE=1
+
+ifeq (,$(findstring nostrip,$(DEB_BUILD_OPTIONS)))
+ INSTALL_PROGRAM += -s
+endif
+
+configure-stamp:
+ dh_testdir
+ dh_autoreconf
+ ./configure --prefix=/usr \
+ --mandir=\$${prefix}/share/man \
+ --enable-static \
+ $(shell dpkg-buildflags --export=cmdline)
+ touch $@
+
+build-arch: build
+build-indep: build
+build: build-stamp
+build-stamp: configure-stamp
+ dh_testdir
+ $(MAKE)
+ touch $@
+
+clean:
+ dh_testdir
+ dh_testroot
+ rm -f *-stamp
+
+ # Add here commands to clean up after the build process.
+ [ ! -f Makefile ] || [ ! -f config.status ] || $(MAKE) distclean
+ find . -name '*.o' -o -name '_libs' -o -name '*.lo' -o -name '*.a' -o -name '.deps' | xargs rm -rf
+ # remove unused configure stuff
+ rm -f config.log config.cache config.status
+ dh_autoreconf_clean
+ dh_clean
+
+install: install-stamp
+install-stamp: build
+ dh_testdir
+ dh_testroot
+ dh_clean
+
+ $(MAKE) prefix=$(CURDIR)/debian/tmp/usr \
+ mandir=$(CURDIR)/debian/tmp/usr/share/man install
+ touch install-stamp
+
+
+# Build architecture-independent files here.
+binary-indep:
+# We have nothing to do by default.
+
+# Build architecture-dependent files here.
+binary-arch: build install
+ dh_testdir -a
+ dh_testroot -a
+ dh_install -a
+ dh_installdocs -a
+ dh_installchangelogs -a ChangeLog
+ dh_installexamples -a
+ chmod -x debian/libxbase64-dev/usr/share/doc/libxbase64-dev/examples/*.cpp
+ dh_strip -a
+ dh_compress -a -X.cpp
+ dh_fixperms -a
+ dh_makeshlibs -a
+ dh_shlibdeps -a
+ dh_installdeb -a
+ dh_gencontrol -a
+ dh_md5sums -a
+ dh_builddeb -a
+
+
+binary: binary-indep binary-arch
+.PHONY: build clean binary-indep binary-arch binary install
diff --git a/debian/source/format b/debian/source/format
new file mode 100644
index 0000000..163aaf8
--- /dev/null
+++ b/debian/source/format
@@ -0,0 +1 @@
+3.0 (quilt)
diff --git a/debian/watch b/debian/watch
new file mode 100644
index 0000000..3c7a383
--- /dev/null
+++ b/debian/watch
@@ -0,0 +1,2 @@
+version=3
+http://sf.net/xdb/xbase64-([\d.]+)\.tar\.gz