Import gpsbabel_1.6.0+ds-7.debian.tar.xz
authorJochen Sprickerhof <jspricke@debian.org>
Tue, 3 Sep 2019 21:46:06 +0000 (22:46 +0100)
committerJochen Sprickerhof <jspricke@debian.org>
Tue, 3 Sep 2019 21:46:06 +0000 (22:46 +0100)
[dgit import tarball gpsbabel 1.6.0+ds-7 gpsbabel_1.6.0+ds-7.debian.tar.xz]

28 files changed:
.gitlab-ci.yml [new file with mode: 0644]
README.Debian [new file with mode: 0644]
changelog [new file with mode: 0644]
clean [new file with mode: 0644]
control [new file with mode: 0644]
copyright [new file with mode: 0644]
gpsbabel-doc.doc-base [new file with mode: 0644]
gpsbabel-doc.docs [new file with mode: 0644]
gpsbabel-doc.links [new file with mode: 0644]
gpsbabel-gui.install [new file with mode: 0644]
gpsbabel.docs [new file with mode: 0644]
gpsbabel.install [new file with mode: 0644]
gpsbabel.manpages [new file with mode: 0644]
patches/0006-Use-system-zlib.patch [new file with mode: 0644]
patches/0007-Use-system-shapelib.patch [new file with mode: 0644]
patches/0008-Use-usb.h-from-system-include-dir.patch [new file with mode: 0644]
patches/0009-Don-t-pass-MAKEFLAGS-to-MAKE.patch [new file with mode: 0644]
patches/0010-Fix-manpage-xml.patch [new file with mode: 0644]
patches/0011-Fix-exec-in-gpsbabel.desktop.patch [new file with mode: 0644]
patches/cross.patch [new file with mode: 0644]
patches/gpsbabelfe_disable_version_check [new file with mode: 0644]
patches/gpsbabelfe_do-not-check-for-newer-version [new file with mode: 0644]
patches/gpsbabelfe_opt-in-for-usage-data-reporting [new file with mode: 0644]
patches/htmldoc-location [new file with mode: 0644]
patches/series [new file with mode: 0644]
rules [new file with mode: 0755]
source/format [new file with mode: 0644]
watch [new file with mode: 0644]

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
new file mode 100644 (file)
index 0000000..5c575a1
--- /dev/null
@@ -0,0 +1,6 @@
+include:
+ - https://salsa.debian.org/salsa-ci-team/pipeline/raw/master/salsa-ci.yml
+ - https://salsa.debian.org/salsa-ci-team/pipeline/raw/master/pipeline-jobs.yml
+
+variables:
+ RELEASE: 'unstable'
diff --git a/README.Debian b/README.Debian
new file mode 100644 (file)
index 0000000..b5d597c
--- /dev/null
@@ -0,0 +1,20 @@
+If you are having trouble with your Garmin USB device, the garmin_usb
+kernel module may have grabbed it.
+
+According to http://www.gpsbabel.org/os/Linux_Hotplug.html, you can
+prevent that by following these instructions:
+
+According to the documentation at gpsbabel:
+http://www.gpsbabel.org/os/Linux_Hotplug.html
+
+To keep the OS from loading the (frequently dysfunctional) kernel
+garmin_gps module, edit /etc/modprobe.d/blacklist and add the lines 
+
+# stop garmin_gps serial from loading for USB garmin devices
+blacklist garmin_gps
+
+To allow the USB devices to be read and written by a non-privileged
+user, create a named /etc/udev/rules.d/51-garmin.rules with the following
+contents:
+
+SYSFS{idVendor}=="091e", SYSFS{idProduct}=="0003", MODE="666" 
diff --git a/changelog b/changelog
new file mode 100644 (file)
index 0000000..5782483
--- /dev/null
+++ b/changelog
@@ -0,0 +1,417 @@
+gpsbabel (1.6.0+ds-7) unstable; urgency=medium
+
+  * Drop old build dependency
+  * Fix build depends
+
+ -- Jochen Sprickerhof <jspricke@debian.org>  Tue, 03 Sep 2019 23:46:06 +0200
+
+gpsbabel (1.6.0+ds-6) unstable; urgency=medium
+
+  * Use upstream manpage
+    (Closes: #522332, #618856, #803509, #803512, #698326, #862299)
+  * Drop note about quilt
+  * Add patch for cross compilation.
+    Thanks to Helmut Grohne (Closes: #934849)
+
+ -- Jochen Sprickerhof <jspricke@debian.org>  Tue, 03 Sep 2019 21:28:10 +0200
+
+gpsbabel (1.6.0+ds-5) unstable; urgency=medium
+
+  * Only override build-arch in d/rules, fixes building on all
+
+ -- Jochen Sprickerhof <jspricke@debian.org>  Fri, 26 Jul 2019 15:54:26 +0200
+
+gpsbabel (1.6.0+ds-4) unstable; urgency=medium
+
+  * Fix gpsbabel-gui package (Closes: #932875)
+
+ -- Jochen Sprickerhof <jspricke@debian.org>  Fri, 26 Jul 2019 11:12:00 +0200
+
+gpsbabel (1.6.0+ds-3) unstable; urgency=medium
+
+  * Build pdf on mips again as #580333 was fixed
+  * Ignore test results on some architectures
+
+ -- Jochen Sprickerhof <jspricke@debian.org>  Fri, 19 Jul 2019 14:08:44 +0200
+
+gpsbabel (1.6.0+ds-2) unstable; urgency=medium
+
+  * Build doc in build-indep
+
+ -- Jochen Sprickerhof <jspricke@debian.org>  Fri, 19 Jul 2019 00:55:34 +0200
+
+gpsbabel (1.6.0+ds-1) unstable; urgency=medium
+
+  [ Jochen Sprickerhof ]
+  * Cleanup upstream sources
+  * New upstream version (Closes: #805355)
+  * Fix debian/source/format
+  * Add watch file
+  * Rebase patches
+  * Add patches to use system libraries
+  * Port to dh 12 (Closes: #912089)
+  * Update copyright
+
+  [ Bernd Zeimetz ]
+  * Use gitlab-ci instead of travis
+  * Update Vcs-Git Urls.
+
+  [ Jochen Sprickerhof ]
+  * Maintainer set to team and add myself as uploader
+  * Bump policy version (no changes)
+
+ -- Jochen Sprickerhof <jspricke@debian.org>  Thu, 18 Jul 2019 23:32:20 +0200
+
+gpsbabel (1.5.4-2) unstable; urgency=medium
+
+  * [cc58f71] Move git repository to github.
+  * [fb44d98] Add a debian .travis.yml
+  * [28c7ad3] Don't build the gui on [!amd64 arm64 armhf i386 mipsel]
+    The recent qtwebengine is not available on all architectures.
+    Thanks to Adrian Bunk (Closes: #877808)
+
+ -- Bernd Zeimetz <bzed@debian.org>  Sat, 21 Oct 2017 13:37:08 +0200
+
+gpsbabel (1.5.4-1) unstable; urgency=medium
+
+  * [ee23f26] Merge branch 'upstream'
+    - New upstream version.
+    - Builds fine with gcc7.
+    Thanks to Adrian Bunk (Closes: #872744)
+  * [f340fb9] Refreshing patches.
+  * [8100370] export QT_SELECT=qt5
+  * [522c580] Build for/with QT5.
+    Using as build-deps:
+    qtbase5-dev
+    qtwebengine5-dev
+    qttools5-dev-tools
+    Thanks to Dmitry Shachnev (Closes: #816808)
+  * [7d38162] Depend on dh 10 for comapt level 10.
+  * [ada8fa9] Fix building with recent QT5 versions.
+  * [d627435] Use qmake instead of qmake-qt4.
+  * [c08a568] Updating changelog.
+
+ -- Bernd Zeimetz <bzed@debian.org>  Mon, 28 Aug 2017 23:53:53 +0200
+
+gpsbabel (1.5.3-2) unstable; urgency=medium
+
+  * [b2954b1] Fix skytraq default values.
+    Taken from upstream
+    Thanks to Jeroen N. Witmond (Closes: #846945)
+
+ -- Bernd Zeimetz <bzed@debian.org>  Sun, 01 Jan 2017 22:06:31 +0100
+
+gpsbabel (1.5.3-1) unstable; urgency=medium
+
+  * [41ba336] Merge branch 'upstream'
+  * [9511cf2] removing extra gpsbabel directory from d/rules.
+  * [65959cd] Refreshing patches.
+  * [cd70dc1] ensur emissing minizip .o files are built
+  * [48328e9] Fix help2man call for gpsbabel
+  * [bf2c668] Bump dh compat level to 10.
+  * [ec910a4] Remove gpsbabel/ from some more places.
+
+ -- Bernd Zeimetz <bzed@debian.org>  Sun, 27 Nov 2016 16:18:18 +0100
+
+gpsbabel (1.5.2-1) unstable; urgency=medium
+
+  * [fda6f38] Merge branch 'upstream'
+  * [901aac0] Refreshing patches.
+
+ -- Bernd Zeimetz <bzed@debian.org>  Sun, 25 Oct 2015 20:36:55 +0100
+
+gpsbabel (1.5.0-3) unstable; urgency=medium
+
+  * [5b27c1cd] Install gpsbabel.html only.
+    Remove php-ized htmldoc folder.
+    The whole documentation is available as pdf anyway.
+    Thanks to Axel Beckert (Closes: #755457)
+
+ -- Bernd Zeimetz <bzed@debian.org>  Mon, 04 Aug 2014 16:23:33 +0200
+
+gpsbabel (1.5.0-2) unstable; urgency=medium
+
+  * [d7bbdd34] Add menu and desktop files for gpsbabel-gui.
+    Thanks to Julien Valroff (Closes: #592799)
+  * [c8c9fc34] Ignore make check results for now.
+    Checks fail on various architectures due to endianess/byte ordering
+    issues or due to floating point numbers not being completely equal.
+  * [bd0b02a9] Build-depend on locales-all.
+    make check needs the en_US.UTF8 locale.
+
+ -- Bernd Zeimetz <bzed@debian.org>  Wed, 14 May 2014 22:19:45 +0200
+
+gpsbabel (1.5.0-1) unstable; urgency=medium
+
+  * [72ac73df] Support nocheck in DEB_BUILD_OPTIONS.
+  * [3eb772af] Importing upstream version 1.4.4
+  * [91e94593] Refreshing patches.
+  * [d9a07846] Updating changelog.
+  * [e089d5ab] Merging upstream 1.5.0
+  * [77258acf] Refreshing patches
+  * [cba6d75d] Create/clean autogen directory.
+
+ -- Bernd Zeimetz <bzed@debian.org>  Tue, 13 May 2014 01:19:24 +0200
+
+gpsbabel (1.4.3-1) unstable; urgency=low
+
+  * New upstream release (Closes: #660476)
+  * [0754cb61] Merge branch 'upstream'
+  * [0dc59f07] Merge branch 'upstream'
+  * [337703bb] Refreshing patches.
+  * [6e23bc91] Migrate debian/rules and .install files to gpsbabel subdirectory.
+
+ -- Bernd Zeimetz <bzed@debian.org>  Wed, 16 May 2012 23:28:46 +0200
+
+gpsbabel (1.4.2-3) unstable; urgency=low
+
+  * [64bae20c] Use libqtwebkit-dev as build-dependency. (Closes: #629742)
+
+ -- Bernd Zeimetz <bzed@debian.org>  Mon, 04 Jul 2011 16:17:13 +0200
+
+gpsbabel (1.4.2-2) unstable; urgency=low
+
+  * [8251cb18] Work around the issues of the sbuild internal resolver.
+
+ -- Bernd Zeimetz <bzed@debian.org>  Tue, 15 Feb 2011 11:12:09 +0100
+
+gpsbabel (1.4.2-1) unstable; urgency=low
+
+  * [15f28bac] gpsbabel-gui needs to depend on gpsbabel.
+    Add the missing dependency.
+  * [e5c3f560] Build-depend on libqtwebkit-dev for recent QT versions.
+  * [709bd4d9] Merge branch 'upstream'
+  * [f0e46422] Refreshing patches for new upstream version.
+
+ -- Bernd Zeimetz <bzed@debian.org>  Mon, 14 Feb 2011 14:14:26 +0100
+
+gpsbabel (1.4.0-1) unstable; urgency=low
+
+  * New upstream version.
+  * [37a299e3] Merge branch 'upstream'
+  * [01923dca] Removing limited_pointer_type_comparison_fixes patch,
+    applied upstream.
+  * [4d4ea8f8] Refreshing patches.
+  * [f4ef9d52] Add various patches to integrate gpsbabelfe better into
+    Debian.
+    - Submitting statistics data should be opt-in instead of
+      activated by default
+    - Disable check for newer versions. apt-get/aptitude takes care of that.
+    - Disable check for version differences between gpsbabelfe and gpsbabel.
+      The check did not work as expected and dpkg ensures there is
+      no difference.
+
+ -- Bernd Zeimetz <bzed@debian.org>  Wed, 23 Jun 2010 01:44:11 +0200
+
+gpsbabel (1.3.7~cvs2-3) unstable; urgency=low
+
+  * [b76106eb] Rename gpsbabel.doc-base parts to stop confusing
+    dh_installdocs.
+  * [0c9397ce] Split documentation into gpsbabel-doc.
+  * [08e7b6ec] Fix build target dependency for build-doc.
+
+ -- Bernd Zeimetz <bzed@debian.org>  Thu, 06 May 2010 12:12:41 +0200
+
+gpsbabel (1.3.7~cvs2-2) unstable; urgency=low
+
+  * [014dfaaa] Use $(QUILT_STAMPFN) instead of patch as dependency. This
+    avoids running configure twice.
+  * [75bd04e0] Require make check to succeed for a successful build.
+  * [fe9c247b] Better dependencies for the install target.
+  * [9a028647] Remove build-dependencies on texlive. The tex based
+    documentation is not being built anymore.
+  * [182c909d] Fix various comparison errors due to limited pointer
+    types.
+  * [f6d8e680] Use -ffloat-store on i386.
+  * [760285e1] Do not build gpsbabel.pdf on mips as fop is broken there.
+
+ -- Bernd Zeimetz <bzed@debian.org>  Thu, 06 May 2010 00:31:46 +0200
+
+gpsbabel (1.3.7~cvs2-1) unstable; urgency=low
+
+  * Updating to CVS HEAD of today.
+  * [09ce2bac] Build pdf file again, for works fine now.
+  * [3542f981] Require dh 7 for compat level 7.
+  * [5f340180] Do some housekeeping in debian/rules.
+  * [fd477016] Merge branch 'upstream'
+  * [5f1d5231] Clean gui/setup.iss after build.
+  * [56dd1e9b] Rename htmldoc directory and change the references to it.
+  * [05194507] Install docs only into the gpsbabel package.
+  * [e932db97] Build a manpage for gpsbabel using help2man.
+  * [dd121ff7] Merge remote branch 'origin/upstream-cvs'
+  * [475d34c2] gpsbabel is reuired to build the manpage. Add a proper
+    dependency to the target.
+  * [74b24bde] Don't call clean in doc, not built anymore.
+  * [90bb4cc5] Add AUTHORS file to docs.
+  * [a807b146] Install gpsbabel.pdf to /usr/share/doc/gpsbabel.
+  * [d65fa27d] Move doc production into its own target.
+  * [8e6e25a7] Delete all automatically generated and left over files.
+  * [851f5a32] Use source format 1.0 for easy backporting.
+  * [788292c2] Bump Standards-Version to 3.8.4 - no changes needed.
+  * [db9f500a] Add doc-base information for gpsbabel.
+
+ -- Bernd Zeimetz <bzed@debian.org>  Wed, 05 May 2010 00:25:48 +0200
+
+gpsbabel (1.3.7~cvs1-1) unstable; urgency=low
+
+  * Updating to CVS HEAD of today.
+  * [4d21a068] Drop Debian's gpsbabel manapge.
+  * [a350b9f6] Update patches for current gpsbabel beta.
+  * [0516a23a] Bump debhelper compat level to 7.
+  * [f964f0e2] Do no require make check to pass for a successful build.
+  * [f2f46177] Add install file for gpsbabel gui.
+  * [1ce3dba8] Don't call makeextras.mak, the file is gone.
+  * [f590f252] Add patch to rename the gpsbabelfe binary.
+  * [e686c93a] Add fop as build-dependency to build the documentation.
+  * [1bcda881] Update debian/copyright file.
+
+ -- Bernd Zeimetz <bzed@debian.org>  Mon, 26 Apr 2010 14:24:21 +0200
+
+gpsbabel (1.3.6+cvs1-1) experimental; urgency=low
+
+  * Updating to latest CVS head
+    (c0af31ca669e2ea66ad33a27f23f0efffef2c948).
+
+ -- Bernd Zeimetz <bzed@debian.org>  Tue, 07 Apr 2009 18:06:49 +0200
+
+gpsbabel (1.3.6-3) unstable; urgency=low
+
+  * debian/patches:
+    - Adding 'osm-char-int-cast-bug-fix' patch to remove an unneeded
+      cast from int to char and back to int which resulted in a broken
+      osm module on some architectures. 
+
+ -- Bernd Zeimetz <bzed@debian.org>  Wed, 07 Jan 2009 16:12:17 +0100
+
+gpsbabel (1.3.6-2) unstable; urgency=low
+
+  * debian/rules:
+    - Enable 'make doc' again, it was accidentally left disabled. 
+
+ -- Bernd Zeimetz <bzed@debian.org>  Wed, 07 Jan 2009 00:05:46 +0100
+
+gpsbabel (1.3.6-1) unstable; urgency=low
+
+  * Imported Upstream version 1.3.6
+  * Dropping Debian specific patches which were applied to the source
+    directly. They should not be needed anymore.
+  * debian/rules:
+     - Cleaning up unused lines.
+     - Don't ignore make check failures.
+  * debian/control:
+     - Setting myself as maintainer in agreement with John Goerzen.
+       Thanks to John for maintaining the package until now!
+     - Updating Vcs fields to reflect the new location of the git
+       repository. 
+     - Bumping Standards-Version to 3.8.0 - no changes needed.
+     - Adding libpaper-dev as Build-Dependency as an appropriate
+       dependency is missing in docbook-xsl.
+     - Adding quilt Build-Dep to handle patches.
+  * debian/dirs: dropping file, not needed anymore.
+  * debian/patches:
+    - Adding patch to stop building gpsbabel.pdf as fop is not in main.
+  * debian/README.source:
+    - Adding file to describe the use of quilt.
+  * debian/watch:
+    - Dropping file, author doesn't provide useful download pages anymore.
+
+ -- Bernd Zeimetz <bzed@debian.org>  Tue, 06 Jan 2009 16:12:28 +0100
+
+gpsbabel (1.3.5-1.1) unstable; urgency=low
+
+  * Non-maintainer upload.
+  * Fixing FTBFS (Closes: #491364)
+  * debian/control:
+    - adding autoconf and autotools-dev as build dependencies as
+      Package falied to build from source (Closes: #491364)
+  * debian/rules:
+    - Copying config.sub/guess from autotools-dev
+    - Don't ignore errors on clean, fixing a lintian warning.
+
+ -- Bernd Zeimetz <bzed@debian.org>  Sun, 20 Jul 2008 21:36:20 +0200
+
+gpsbabel (1.3.5-1) unstable; urgency=low
+
+  * New upstream release.  Closes: #480449.
+
+ -- John Goerzen <jgoerzen@complete.org>  Wed, 16 Jul 2008 13:04:50 -0500
+
+gpsbabel (1.3.4-2) unstable; urgency=low
+
+  * Add Homepage and Vcs-* lines to Debian/control.
+
+ -- John Goerzen <jgoerzen@complete.org>  Sun, 02 Mar 2008 08:52:21 -0600
+
+gpsbabel (1.3.4-1) unstable; urgency=low
+
+  * New upstream release.  Closes: #459234.  Upstream has dropped
+    Coldsync.  Closes: #421769.
+  * Update debian/copyright.
+  * Add garmin_usb info to README.Debian.  Closes: #344702.
+
+ -- John Goerzen <jgoerzen@complete.org>  Thu, 14 Feb 2008 05:50:31 -0600
+
+gpsbabel (1.3.3-2) unstable; urgency=low
+
+  * Added build-dep on texlive-base.  Closes: #427620.
+  * Fixed path of binary.  Closes: #427365.
+
+ -- John Goerzen <jgoerzen@complete.org>  Tue, 05 Jun 2007 01:48:37 -0500
+
+gpsbabel (1.3.3-1) unstable; urgency=low
+
+  * New upstream release.  Closes: #330416, #419884.
+  * Added manpage for Joaquim Ortega-Cerda.  Closes: #342324.
+  * Fixed typo in debian/copyright.  Closes: #421769.
+
+ -- John Goerzen <jgoerzen@complete.org>  Fri, 01 Jun 2007 02:28:54 -0500
+
+gpsbabel (1.3.2-2) unstable; urgency=high
+
+  * Fix doc generation.  Closes: #403092.
+
+ -- John Goerzen <jgoerzen@complete.org>  Mon, 18 Dec 2006 05:53:16 -0600
+
+gpsbabel (1.3.2-1) unstable; urgency=low
+
+  * New upstream version.  Closes: #383899, #380533, #304178.
+  * Style docs now included.  Closes: #348986.  (Note: README.style
+    no longer exists)
+
+ -- John Goerzen <jgoerzen@complete.org>  Fri, 17 Nov 2006 03:57:30 -0600
+
+gpsbabel (1.2.7-1) unstable; urgency=low
+
+  * New upstream version.  Closes: #317559.
+
+ -- John Goerzen <jgoerzen@complete.org>  Tue, 11 Oct 2005 05:31:39 -0500
+
+gpsbabel (1.2.5+1.2.6-beta20050608-1) unstable; urgency=low
+
+  * New usptream version.  Closes: #315227.
+  * New version includes support for USB.  Closes: #315134.
+  * New upstream version already has patch for my_rd_deinit.
+    Closes: #315164.
+
+ -- John Goerzen <jgoerzen@complete.org>  Tue, 21 Jun 2005 05:59:58 -0500
+
+gpsbabel (1.2.4-2) unstable; urgency=low
+
+  * make check failure no longer causes build failure.  There are apparently
+    a lot of minor differences in rounding on different archs that were
+    causing this.  Closes: #294717.
+
+ -- John Goerzen <jgoerzen@complete.org>  Mon, 14 Mar 2005 10:39:57 -0600
+
+gpsbabel (1.2.4-1) unstable; urgency=low
+
+  * New upstream release.  Closes: #291544.
+
+ -- John Goerzen <jgoerzen@complete.org>  Thu, 27 Jan 2005 11:08:20 -0600
+
+gpsbabel (1.2.3-1) unstable; urgency=low
+
+  * Initial Release.  Closes: #270812.
+
+ -- John Goerzen <jgoerzen@complete.org>  Thu,  9 Sep 2004 08:14:00 -0500
+
diff --git a/clean b/clean
new file mode 100644 (file)
index 0000000..cdd0b99
--- /dev/null
+++ b/clean
@@ -0,0 +1,4 @@
+debian/doctmp/
+debian/doctmpcapabilities.inc
+debian/gpsbabel.1
+debian/gpsbabel.xpm
diff --git a/control b/control
new file mode 100644 (file)
index 0000000..bc21d7d
--- /dev/null
+++ b/control
@@ -0,0 +1,85 @@
+Source: gpsbabel
+Section: utils
+Priority: optional
+Maintainer: Debian GPS team <gpsbabel@packages.debian.org>
+Uploaders: Bernd Zeimetz <bzed@debian.org>, Jochen Sprickerhof <jspricke@debian.org>
+Build-Depends: debhelper-compat (= 12),
+ pkg-config,
+ libexpat1-dev, expat,
+ libxml2-utils,
+ libusb-dev, zlib1g-dev,
+ libshp-dev,
+ qt5-default,
+ qtwebengine5-dev [amd64 arm64 armhf i386 mipsel],
+ qttools5-dev-tools,
+ imagemagick,
+ locales-all,
+ xsltproc,
+ docbook-xsl
+Build-Depends-Indep: fop, docbook-xml, libpaper-dev
+Standards-Version: 4.4.0
+Rules-Requires-Root: no
+Homepage: http://www.gpsbabel.org/
+Vcs-Git: https://salsa.debian.org/debian-gps-team/pkg-gpsbabel.git
+Vcs-Browser: https://salsa.debian.org/debian-gps-team/pkg-gpsbabel
+
+Package: gpsbabel
+Architecture: any
+Recommends: gpsbabel-doc
+Depends: ${shlibs:Depends}, ${misc:Depends}
+Description: GPS file conversion plus transfer to/from GPS units
+ GPSBabel converts waypoints, tracks, and routes from one format to
+ another, whether that format is a common mapping format like Delorme,
+ Streets and Trips, or even a serial upload or download to a GPS unit
+ such as those from Garmin and Magellan.
+ .
+ GPSBabel supports dozens of data formats and will be useful for tasks
+ such as geocaching, mapping, and converting from one GPS unit to another.
+ Among the interesting formats it supports are several GPS devices via
+ a serial link, various PDA-based mapping programs, and various
+ Geocaching data formats.
+ .
+ Among others GPSBabel supports the following formats:
+ .
+ Cetus, CoPilot Flight Planner, CSV, Custom CSV, Delorme Street Atlas,
+ Delorme Street Atlas 2004 Plus, Delorms GPS Log, Delorme routes,
+ DNA, EasyGPS Binary, Fugawi, Garmin serial, Geocaching.com loc,
+ GeocachingDB, Geoniche, GPilotS, GPSDrive, GPSman, GPSPilot,
+ gpsutil, GPX, Holux, IGC, Magellan serial, Magellan SD,
+ Magellan Navigator Companion, Mapopolis.Com Mapconverter, Mapsend,
+ Mapsource, Maptech, Microsoft Streets and Trips, Navicache,
+ Netstumbler, NIMA/GNIS Geographic Names, NMEA sentences, OziExplorer,
+ PalmDoc, PCX5, PocketStreets 2002 Pushpin, PSITrex, Quovadis,
+ Tab-separated data, Tiger, TopoMapPro, Topo by National Geographic,
+ xcsv, xmap, xmapwpt.
+
+Package: gpsbabel-doc
+Architecture: all
+Multi-Arch: foreign
+Section: doc
+Depends: ${misc:Depends}
+Suggests: gpsbabel, pdf-viewer | www-browser
+Description: GPS file conversion plus transfer to/from GPS units - documentation
+ GPSBabel converts waypoints, tracks, and routes from one format to
+ another, whether that format is a common mapping format like Delorme,
+ Streets and Trips, or even a serial upload or download to a GPS unit
+ such as those from Garmin and Magellan.
+ .
+ GPSBabel supports dozens of data formats and will be useful for tasks
+ such as geocaching, mapping, and converting from one GPS unit to another.
+ Among the interesting formats it supports are several GPS devices via
+ a serial link, various PDA-based mapping programs, and various
+ Geocaching data formats.
+ .
+ This package contains the detailed documentation of gpsbabel.
+
+Package: gpsbabel-gui
+Architecture: amd64 arm64 armhf i386 mipsel
+Depends: ${shlibs:Depends}, ${misc:Depends}, gpsbabel (= ${binary:Version})
+Description: GPS file conversion plus transfer to/from GPS units - GUI
+ GPSBabel converts waypoints, tracks, and routes from one format to
+ another, whether that format is a common mapping format like Delorme,
+ Streets and Trips, or even a serial upload or download to a GPS unit
+ such as those from Garmin and Magellan.
+ .
+ This package contains gpsbabelfe, a QT based frontend for gpsbabel.
diff --git a/copyright b/copyright
new file mode 100644 (file)
index 0000000..f53fafa
--- /dev/null
+++ b/copyright
@@ -0,0 +1,252 @@
+Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Files-Excluded: gui/serial_mac.cc
+                mac
+                mingw
+                shapelib
+                tools/qtci
+                tools/uploadtool
+                zlib
+Comment: serial_mac, mac, mingw, qtci, uploadtool: unused
+         shapelib, zlib: packaged in Debian
+
+Files: *
+Copyright: 2001-2019, Robert Lipe <robertlipe@gpsbabel.org>
+           2005-2008, Olaf Klein <o.b.klein@gpsbabel.org>
+           2002, Alex Mottram <geo_alexm@cox-internet.com>
+           2008, Alexander Stapff <a.stapff@gmx.de>
+           2008, Andreas Grimme <andreas.grimme@gmx.net>
+           2006, Andy Armstrong
+           2008, Björn Augustsson <oggust@gmail.com>
+           2004, Chris Jones
+           2009, Chris Tracy <gpsbabel@adiemus.org>
+           2006, Curtis E. Mills <archer@eskimo.com>
+           2008, Dr. Jrgen Neumann <Juergen.Neumann@online.de>
+           2008, Dustin Johnson <Dustin@Dustinj.us>
+           2009, Erez Zuler
+           2010, Eriks Zelenka <isindir@users.sourceforge.net>
+           2005-2006, Etienne Tasse <etasse@yahoo.com>
+           2011, Fernando Arbeiza <fernando.arbeiza@gmail.com>
+           2005, Fredie Kern <f.kern@xdesy.de>
+           1998, Gerald Combs
+           2014, Gleb Smirnoff, glebius @t FreeBSD d.t org
+           2012, Guilhem Bonnefille <guilhem.bonnefille@gmail.com>
+           2007, Gunar Megger <0xff@quantentunnel.de>
+           2005, Gustavo Niemeyer <gustavo@niemeyer.net>
+           2014, Jean-Claude Repetto <gpsbabel@repetto.org>
+           2007, Jeremy Ehrhardt <jeremye@caltech.edu>
+           2012, Jeremy Mortis <mortis@tansay.ca>
+           2014, Jim Keeler <James.L.Keeler@gmail.com>
+           2002, Jochen Becker <jb@bepo.com>
+           2003, Mark Bradley <mrcb.gpsb@osps.net>
+           2008-2019, Mathias Adam <m.adam@adamis.de>
+           2010, Michael von Glasow, michael @t vonglasow d.t com
+           2007, Mirko Parthey <mirko.parthey@informatik.tu-chemnitz.de>
+           2012, Nicolas Boullis <nboullis@debian.org>
+           2011, Paul Brook <paul@nowt.org>
+           2009, Paul Cornett <pc-gpsb@bullseye.com>
+           1998, Paul J. Lucas
+           2002, Paul Tomblin <ptomblin@xcski.com>
+           2007, Per Borgentun <e4borgen@yahoo.com>
+           2014-2016, Ralf Horstmann <ralf@ackstorm.de>
+           2003, Rick Richardson <rickr@mn.rr.com>
+           2008, Rodney Lorrimar <rodney@rodney.id.au>
+           2003-2014, Ronald L. Parker <ron@parkrrrr.com>
+           2004, Scott Brynen <scott@brynen.com>
+           2005, Steve Chamberlin <slc@alum.mit.edu>
+           2009, Tal Benavidor
+           2009, Tobias Kretschmar <tobias.kretschmar@gmx.de>
+           2005, Tobias Minich
+           2007, Tom Hughes <tom@compton.nu>
+           2012-2016, Zingo Andersen <zingo@zingo.org>
+           2009, jekaeff
+           2013, xiao jian cheng <azuresky.xjc@gmail.com>
+           2007, Mark McClure
+           2009, S. Khai Mong <khai@mangrai.com>
+License: GPL-2+
+
+Files: jeeps/gpsapp.cc
+       jeeps/gpscom.cc
+       jeeps/gpsfmt.cc
+       jeeps/gpsmath.cc
+       jeeps/gpsmem.cc
+       jeeps/gpsproj.cc
+       jeeps/gpsprot.cc
+       jeeps/gpsread.cc
+       jeeps/gpsrqst.cc
+       jeeps/gpssend.cc
+       jeeps/gpsserial.cc
+       jeeps/jgpsutil.cc
+       strptime.c
+Copyright: 2007, Achim Schumacher
+           1999-2000, Alan Bleasby
+           2010, Martin Buck
+           2004-2006, Robert Lipe
+License: LGPL-2+
+
+Files: m4/*
+Copyright: 2008, Benjamin Kosnik <bkoz@redhat.com>
+           2014-2015, Google Inc.; contributed by Alexey Sokolov <sokolov@google.com>
+           2016, Krzesimir Nowak <qdlacz@gmail.com>
+           2015, Moritz Klammler <moritz@klammler.eu>
+           2015, Paul Norman <penorman@mac.com>
+           2013, Roy Stogner <roystgnr@ices.utexas.edu>
+           2008, Tim Toolan <toolan@ele.uri.edu>
+           2012, Zack Weinberg <zackw@panix.com>
+License: FSFAP
+
+Files: build-aux/*
+Copyright: 1992-2014, Free Software Foundation, Inc
+License: GPL-3+ with AutoConf exception
+
+Files: deprecated/queue.h
+Copyright: 2002-2005, Robert Lipe <robertlipe@usa.net>
+           2001, Simon Tatham
+License: Expat or GPL-2+
+
+Files: build-aux/install-sh
+Copyright: 1994, X Consortium
+License: Expat
+
+Files: configure
+Copyright: 1992-2012, Free Software Foundation, Inc
+License: FSFUL
+
+Files: aclocal.m4
+Copyright: 1996-2017, Free Software Foundation, Inc
+License: FSFULLR
+
+Files: debian/*
+License: GPL-2+
+Copyright: 2004-2008, John Goerzen <jgoerzen@complete.org>
+           208-2017, Bernd Zeimetz <bernd@bzed.de>
+           2019, Jochen Sprickerhof <jspricke@debian.org>
+
+License: Expat
+ Permission is hereby granted, free of charge, to any person obtaining
+ a copy of this software and associated documentation files (the
+ "Software"), to deal in the Software without restriction, including
+ without limitation the rights to use, copy, modify, merge, publish,
+ distribute, sublicense, and/or sell copies of the Software, and to
+ permit persons to whom the Software is furnished to do so, subject to
+ the following conditions:
+ .
+ The above copyright notice and this permission notice shall be
+ included in all copies or substantial portions of the Software.
+ .
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
+ EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
+ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
+ IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
+ CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
+ TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
+ SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
+
+License: FSFAP
+  Copying and distribution of this file, with or without modification, are
+  permitted in any medium without royalty provided the copyright notice
+  and this notice are preserved.  This file is offered as-is, without any
+  warranty.
+
+License: FSFUL
+  This file is free software; the Free Software Foundation gives
+  gives unlimited permission to copy, distribute and modify it.
+
+License: FSFULLR
+  This file is free software; the Free Software Foundation
+  gives unlimited permission to copy and/or distribute it,
+  with or without modifications, as long as this notice is preserved.
+
+License: GPL-2+
+  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 version 2 can be found in
+  `/usr/share/common-licenses/GPL-2'.
+
+License: GPL-3+ with AutoConf exception
+ 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 3 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.
+ .
+ On Debian systems, the complete text of the GNU General Public
+ License version 3 can be found in /usr/share/common-licenses/GPL-3.
+ .
+ Under Section 7 of GPL version 3, you are granted additional
+ permissions described in the Autoconf Configure Script Exception,
+ version 3.0, as published by the Free Software Foundation.
+ .
+ The Autoconf Configure Script Exception version 3 is below:
+ .
+            AUTOCONF CONFIGURE SCRIPT EXCEPTION
+            Version 3.0, 18 August 2009
+ .
+ This Exception is an additional permission under section 7 of the GNU
+ General Public License, version 3 ("GPLv3").  It applies to a given
+ file that bears a notice placed by the copyright holder of the file
+ stating that the file is governed by GPLv3 along with this Exception.
+ .
+ The purpose of this Exception is to allow distribution of Autoconf's
+ typical output under terms of the recipient's choice (including
+ proprietary).
+ .
+ 0. Definitions
+ .
+ "Covered Code" is the source or object code of a version of Autoconf
+ that is a covered work under this License.
+ .
+ "Normally Copied Code" for a version of Autoconf means all parts of
+ its Covered Code which that version can copy from its code (i.e., not
+ from its input file) into its minimally verbose, non-debugging and
+ non-tracing output.
+ .
+ "Ineligible Code" is Covered Code that is not Normally Copied Code.
+ .
+ 1. Grant of Additional Permission.
+ .
+ You have permission to propagate output of Autoconf, even if such
+ propagation would otherwise violate the terms of GPLv3.  However, if
+ by modifying Autoconf you cause any Ineligible Code of the version you
+ received to become Normally Copied Code of your modified version, then
+ you void this Exception for the resulting covered work.  If you convey
+ that resulting covered work, you must remove this Exception in accordance
+ with the second paragraph of Section 7 of GPLv3.
+ .
+ 2. No Weakening of Autoconf Copyleft.
+ .
+ The availability of this Exception does not imply any general presumption
+ that third-party software is unaffected by the copyleft requirements of
+ the license of Autoconf.
+
+License: LGPL-2+
+ This library is free software; you can redistribute it and/or
+ modify it under the terms of the GNU Library General Public
+ License as published by the Free Software Foundation; either
+ version 2 of the License, or (at your option) any later version.
+ .
+ This library is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+ Lesser General Public License for more details.
+ .
+ On Debian systems, the complete text of the GNU Lesser General Public
+ License version 2 can be found in /usr/share/common-licenses/LGPL-2.
+
diff --git a/gpsbabel-doc.doc-base b/gpsbabel-doc.doc-base
new file mode 100644 (file)
index 0000000..ea8d6b9
--- /dev/null
@@ -0,0 +1,10 @@
+Document: gpsbabel
+Title: gpsbabel filter and format documentation
+Section: Science/Geoscience
+
+Format: HTML
+Files: /usr/share/doc/gpsbabel/gpsbabel.html
+Index: /usr/share/doc/gpsbabel/gpsbabel.html
+
+Format: PDF
+Files: /usr/share/doc/gpsbabel/gpsbabel.pdf.gz
diff --git a/gpsbabel-doc.docs b/gpsbabel-doc.docs
new file mode 100644 (file)
index 0000000..9f7267b
--- /dev/null
@@ -0,0 +1,2 @@
+gpsbabel.html
+gpsbabel.pdf
diff --git a/gpsbabel-doc.links b/gpsbabel-doc.links
new file mode 100644 (file)
index 0000000..0a5be16
--- /dev/null
@@ -0,0 +1 @@
+usr/share/doc/gpsbabel usr/share/doc/gpsbabel-doc/doc
diff --git a/gpsbabel-gui.install b/gpsbabel-gui.install
new file mode 100644 (file)
index 0000000..c093b33
--- /dev/null
@@ -0,0 +1,3 @@
+gui/objects/gpsbabelfe /usr/bin
+debian/gpsbabel.xpm /usr/share/pixmaps
+gui/gpsbabel.desktop /usr/share/applications
diff --git a/gpsbabel.docs b/gpsbabel.docs
new file mode 100644 (file)
index 0000000..5734f62
--- /dev/null
@@ -0,0 +1,2 @@
+README.*
+AUTHORS
diff --git a/gpsbabel.install b/gpsbabel.install
new file mode 100644 (file)
index 0000000..9e0436b
--- /dev/null
@@ -0,0 +1 @@
+usr/bin/gpsbabel
diff --git a/gpsbabel.manpages b/gpsbabel.manpages
new file mode 100644 (file)
index 0000000..d4c44be
--- /dev/null
@@ -0,0 +1 @@
+debian/gpsbabel.1
diff --git a/patches/0006-Use-system-zlib.patch b/patches/0006-Use-system-zlib.patch
new file mode 100644 (file)
index 0000000..342ef9a
--- /dev/null
@@ -0,0 +1,873 @@
+From: Jochen Sprickerhof <git@jochen.sprickerhof.de>
+Date: Thu, 30 May 2019 12:09:43 +0200
+Subject: Use system zlib
+
+---
+ Makefile.in | 403 +++++++++++++++++++++++++++---------------------------------
+ 1 file changed, 182 insertions(+), 221 deletions(-)
+
+diff --git a/Makefile.in b/Makefile.in
+index 6f21943..eb0f120 100644
+--- a/Makefile.in
++++ b/Makefile.in
+@@ -107,12 +107,6 @@ JEEPS=jeeps/gpsapp.o jeeps/gpscom.o \
+ SHAPE=shapelib/shpopen.o shapelib/dbfopen.o shapelib/safileio.o
+-ZLIB=zlib/adler32.o zlib/compress.o zlib/crc32.o zlib/deflate.o zlib/inffast.o \
+-      zlib/inflate.o zlib/infback.o zlib/inftrees.o zlib/trees.o \
+-      zlib/uncompr.o zlib/gzlib.o zlib/gzclose.o zlib/gzread.o \
+-      zlib/gzwrite.o zlib/zutil.o
+-
+-
+ LIBOBJS = route.o waypt.o filter_vecs.o util.o vecs.o mkshort.o \
+           csv_util.o strptime.o grtcirc.o util_crc.o xmlgeneric.o \
+           formspec.o xmltag.o cet.o cet_util.o fatal.o rgbcolors.o \
+@@ -121,7 +115,7 @@ LIBOBJS = route.o waypt.o filter_vecs.o util.o vecs.o mkshort.o \
+     src/core/textstream.o \
+         src/core/usasciicodec.o \
+         src/core/xmlstreamwriter.o \
+-        $(GARMIN) $(JEEPS) $(SHAPE) @ZLIB@ $(FMTS) $(FILTERS)
++        $(GARMIN) $(JEEPS) $(SHAPE) $(FMTS) $(FILTERS)
+ OBJS = main.o globals.o $(LIBOBJS) @FILEINFO@
+ DEPFILES = $(OBJS:.o=.d)
+@@ -422,115 +416,115 @@ toolinfo:
+       -$(QMAKE) -v
+ # Machine generated from here down.
+-alan.o: alan.cc defs.h config.h zlib/zlib.h zlib/zconf.h cet.h inifile.h \
++alan.o: alan.cc defs.h config.h cet.h inifile.h \
+   gbfile.h session.h src/core/datetime.h src/core/optional.h
+-an1.o: an1.cc defs.h config.h zlib/zlib.h zlib/zconf.h cet.h inifile.h \
++an1.o: an1.cc defs.h config.h cet.h inifile.h \
+   gbfile.h session.h src/core/datetime.h src/core/optional.h an1sym.h
+-arcdist.o: arcdist.cc defs.h config.h zlib/zlib.h zlib/zconf.h cet.h \
++arcdist.o: arcdist.cc defs.h config.h cet.h \
+   inifile.h gbfile.h session.h src/core/datetime.h src/core/optional.h \
+   arcdist.h filter.h filterdefs.h grtcirc.h
+-bcr.o: bcr.cc defs.h config.h zlib/zlib.h zlib/zconf.h cet.h inifile.h \
++bcr.o: bcr.cc defs.h config.h cet.h inifile.h \
+   gbfile.h session.h src/core/datetime.h src/core/optional.h csv_util.h \
+   garmin_tables.h
+-bend.o: bend.cc defs.h config.h zlib/zlib.h zlib/zconf.h cet.h inifile.h \
++bend.o: bend.cc defs.h config.h cet.h inifile.h \
+   gbfile.h session.h src/core/datetime.h src/core/optional.h \
+   filterdefs.h filter.h bend.h grtcirc.h
+-brauniger_iq.o: brauniger_iq.cc defs.h config.h zlib/zlib.h zlib/zconf.h \
++brauniger_iq.o: brauniger_iq.cc defs.h config.h \
+   cet.h inifile.h gbfile.h session.h src/core/datetime.h \
+   src/core/optional.h gbser.h
+-bushnell.o: bushnell.cc defs.h config.h zlib/zlib.h zlib/zconf.h cet.h \
++bushnell.o: bushnell.cc defs.h config.h cet.h \
+   inifile.h gbfile.h session.h src/core/datetime.h src/core/optional.h
+-bushnell_trl.o: bushnell_trl.cc defs.h config.h zlib/zlib.h zlib/zconf.h \
++bushnell_trl.o: bushnell_trl.cc defs.h config.h \
+   cet.h inifile.h gbfile.h session.h src/core/datetime.h \
+   src/core/optional.h
+-cet.o: cet.cc defs.h config.h zlib/zlib.h zlib/zconf.h cet.h inifile.h \
++cet.o: cet.cc defs.h config.h cet.h inifile.h \
+   gbfile.h session.h src/core/datetime.h src/core/optional.h
+-cet_util.o: cet_util.cc defs.h config.h zlib/zlib.h zlib/zconf.h cet.h \
++cet_util.o: cet_util.cc defs.h config.h cet.h \
+   inifile.h gbfile.h session.h src/core/datetime.h src/core/optional.h \
+   cet_util.h src/core/logging.h cet/ansi_x3_4_1968.h cet/cp1252.h \
+   cet/iso_8859_8.h
+-compegps.o: compegps.cc defs.h config.h zlib/zlib.h zlib/zconf.h cet.h \
++compegps.o: compegps.cc defs.h config.h cet.h \
+   inifile.h gbfile.h session.h src/core/datetime.h src/core/optional.h \
+   cet_util.h csv_util.h jeeps/gpsmath.h jeeps/gpsport.h
+-cst.o: cst.cc defs.h config.h zlib/zlib.h zlib/zconf.h cet.h inifile.h \
++cst.o: cst.cc defs.h config.h cet.h inifile.h \
+   gbfile.h session.h src/core/datetime.h src/core/optional.h cet_util.h
+-csv_util.o: csv_util.cc defs.h config.h zlib/zlib.h zlib/zconf.h cet.h \
++csv_util.o: csv_util.cc defs.h config.h cet.h \
+   inifile.h gbfile.h session.h src/core/datetime.h src/core/optional.h \
+   csv_util.h src/core/logging.h
+-delgpl.o: delgpl.cc defs.h config.h zlib/zlib.h zlib/zconf.h cet.h \
++delgpl.o: delgpl.cc defs.h config.h cet.h \
+   inifile.h gbfile.h session.h src/core/datetime.h src/core/optional.h
+-destinator.o: destinator.cc defs.h config.h zlib/zlib.h zlib/zconf.h \
++destinator.o: destinator.cc defs.h config.h \
+   cet.h inifile.h gbfile.h session.h src/core/datetime.h \
+   src/core/optional.h cet_util.h garmin_fs.h jeeps/gps.h jeeps/../defs.h \
+   jeeps/gpsport.h jeeps/gpsdevice.h jeeps/gpssend.h jeeps/gpsread.h \
+   jeeps/gpsutil.h jeeps/gpsapp.h jeeps/gpsprot.h jeeps/gpscom.h \
+   jeeps/gpsfmt.h jeeps/gpsmath.h jeeps/gpsmem.h jeeps/gpsrqst.h \
+   strptime.h
+-dg-100.o: dg-100.cc defs.h config.h zlib/zlib.h zlib/zconf.h cet.h \
++dg-100.o: dg-100.cc defs.h config.h cet.h \
+   inifile.h gbfile.h session.h src/core/datetime.h src/core/optional.h \
+   gbser.h
+-discard.o: discard.cc defs.h config.h zlib/zlib.h zlib/zconf.h cet.h \
++discard.o: discard.cc defs.h config.h cet.h \
+   inifile.h gbfile.h session.h src/core/datetime.h src/core/optional.h \
+   discard.h filter.h filterdefs.h
+-dmtlog.o: dmtlog.cc defs.h config.h zlib/zlib.h zlib/zconf.h cet.h \
++dmtlog.o: dmtlog.cc defs.h config.h cet.h \
+   inifile.h gbfile.h session.h src/core/datetime.h src/core/optional.h \
+   jeeps/gpsmath.h jeeps/gpsport.h xmlgeneric.h
+-duplicate.o: duplicate.cc defs.h config.h zlib/zlib.h zlib/zconf.h cet.h \
++duplicate.o: duplicate.cc defs.h config.h cet.h \
+   inifile.h gbfile.h session.h src/core/datetime.h src/core/optional.h \
+   filterdefs.h filter.h duplicate.h
+-easygps.o: easygps.cc defs.h config.h zlib/zlib.h zlib/zconf.h cet.h \
++easygps.o: easygps.cc defs.h config.h cet.h \
+   inifile.h gbfile.h session.h src/core/datetime.h src/core/optional.h
+-energympro.o: energympro.cc defs.h config.h zlib/zlib.h zlib/zconf.h \
++energympro.o: energympro.cc defs.h config.h \
+   cet.h inifile.h gbfile.h session.h src/core/datetime.h \
+   src/core/optional.h
+-enigma.o: enigma.cc defs.h config.h zlib/zlib.h zlib/zconf.h cet.h \
++enigma.o: enigma.cc defs.h config.h cet.h \
+   inifile.h gbfile.h session.h src/core/datetime.h src/core/optional.h
+-exif.o: exif.cc defs.h config.h zlib/zlib.h zlib/zconf.h cet.h inifile.h \
++exif.o: exif.cc defs.h config.h cet.h inifile.h \
+   gbfile.h session.h src/core/datetime.h src/core/optional.h \
+   garmin_tables.h jeeps/gpsmath.h jeeps/gpsport.h
+-explorist_ini.o: explorist_ini.cc defs.h config.h zlib/zlib.h \
+-  zlib/zconf.h cet.h inifile.h gbfile.h session.h src/core/datetime.h \
++explorist_ini.o: explorist_ini.cc defs.h config.h \
++  cet.h inifile.h gbfile.h session.h src/core/datetime.h \
+   src/core/optional.h explorist_ini.h
+-f90g_track.o: f90g_track.cc defs.h config.h zlib/zlib.h zlib/zconf.h \
++f90g_track.o: f90g_track.cc defs.h config.h \
+   cet.h inifile.h gbfile.h session.h src/core/datetime.h \
+   src/core/optional.h
+-fatal.o: fatal.cc defs.h config.h zlib/zlib.h zlib/zconf.h cet.h \
++fatal.o: fatal.cc defs.h config.h cet.h \
+   inifile.h gbfile.h session.h src/core/datetime.h src/core/optional.h
+-filter_vecs.o: filter_vecs.cc defs.h config.h zlib/zlib.h zlib/zconf.h \
++filter_vecs.o: filter_vecs.cc defs.h config.h \
+   cet.h inifile.h gbfile.h session.h src/core/datetime.h \
+   src/core/optional.h arcdist.h filter.h bend.h discard.h duplicate.h \
+   filterdefs.h height.h interpolate.h nukedata.h polygon.h position.h \
+   radius.h reverse_route.h smplrout.h sort.h stackfilter.h swapdata.h \
+   trackfilter.h transform.h validate.h gbversion.h
+-formspec.o: formspec.cc defs.h config.h zlib/zlib.h zlib/zconf.h cet.h \
++formspec.o: formspec.cc defs.h config.h cet.h \
+   inifile.h gbfile.h session.h src/core/datetime.h src/core/optional.h
+-g7towin.o: g7towin.cc defs.h config.h zlib/zlib.h zlib/zconf.h cet.h \
++g7towin.o: g7towin.cc defs.h config.h cet.h \
+   inifile.h gbfile.h session.h src/core/datetime.h src/core/optional.h \
+   cet_util.h csv_util.h garmin_fs.h jeeps/gps.h jeeps/../defs.h \
+   jeeps/gpsport.h jeeps/gpsdevice.h jeeps/gpssend.h jeeps/gpsread.h \
+   jeeps/gpsutil.h jeeps/gpsapp.h jeeps/gpsprot.h jeeps/gpscom.h \
+   jeeps/gpsfmt.h jeeps/gpsmath.h jeeps/gpsmem.h jeeps/gpsrqst.h \
+   garmin_tables.h strptime.h
+-garmin.o: garmin.cc defs.h config.h zlib/zlib.h zlib/zconf.h cet.h \
++garmin.o: garmin.cc defs.h config.h cet.h \
+   inifile.h gbfile.h session.h src/core/datetime.h src/core/optional.h \
+   cet_util.h garmin_device_xml.h garmin_fs.h jeeps/gps.h jeeps/../defs.h \
+   jeeps/gpsport.h jeeps/gpsdevice.h jeeps/gpssend.h jeeps/gpsread.h \
+   jeeps/gpsutil.h jeeps/gpsapp.h jeeps/gpsprot.h jeeps/gpscom.h \
+   jeeps/gpsfmt.h jeeps/gpsmath.h jeeps/gpsmem.h jeeps/gpsrqst.h \
+   garmin_tables.h grtcirc.h jeeps/gpsserial.h
+-garmin_device_xml.o: garmin_device_xml.cc defs.h config.h zlib/zlib.h \
+-  zlib/zconf.h cet.h inifile.h gbfile.h session.h src/core/datetime.h \
++garmin_device_xml.o: garmin_device_xml.cc defs.h config.h \
++  cet.h inifile.h gbfile.h session.h src/core/datetime.h \
+   src/core/optional.h garmin_device_xml.h xmlgeneric.h
+-garmin_fit.o: garmin_fit.cc defs.h config.h zlib/zlib.h zlib/zconf.h \
++garmin_fit.o: garmin_fit.cc defs.h config.h \
+   cet.h inifile.h gbfile.h session.h src/core/datetime.h \
+   src/core/optional.h
+-garmin_fs.o: garmin_fs.cc defs.h config.h zlib/zlib.h zlib/zconf.h cet.h \
++garmin_fs.o: garmin_fs.cc defs.h config.h cet.h \
+   inifile.h gbfile.h session.h src/core/datetime.h src/core/optional.h \
+   cet_util.h garmin_fs.h jeeps/gps.h jeeps/../defs.h jeeps/gpsport.h \
+   jeeps/gpsdevice.h jeeps/gpssend.h jeeps/gpsread.h jeeps/gpsutil.h \
+   jeeps/gpsapp.h jeeps/gpsprot.h jeeps/gpscom.h jeeps/gpsfmt.h \
+   jeeps/gpsmath.h jeeps/gpsmem.h jeeps/gpsrqst.h garmin_tables.h
+-garmin_gpi.o: garmin_gpi.cc defs.h config.h zlib/zlib.h zlib/zconf.h \
++garmin_gpi.o: garmin_gpi.cc defs.h config.h \
+   cet.h inifile.h gbfile.h session.h src/core/datetime.h \
+   src/core/optional.h garmin_gpi.h cet_util.h garmin_fs.h jeeps/gps.h \
+   jeeps/../defs.h jeeps/gpsport.h jeeps/gpsdevice.h jeeps/gpssend.h \
+@@ -538,246 +532,246 @@ garmin_gpi.o: garmin_gpi.cc defs.h config.h zlib/zlib.h zlib/zconf.h \
+   jeeps/gpscom.h jeeps/gpsfmt.h jeeps/gpsmath.h jeeps/gpsmem.h \
+   jeeps/gpsrqst.h
+ garmin_tables.o: garmin_tables.cc garmin_tables.h defs.h config.h \
+-  zlib/zlib.h zlib/zconf.h cet.h inifile.h gbfile.h session.h \
++  cet.h inifile.h gbfile.h session.h \
+   src/core/datetime.h src/core/optional.h jeeps/gpsmath.h \
+   jeeps/gpsport.h src/core/logging.h
+-garmin_txt.o: garmin_txt.cc defs.h config.h zlib/zlib.h zlib/zconf.h \
++garmin_txt.o: garmin_txt.cc defs.h config.h \
+   cet.h inifile.h gbfile.h session.h src/core/datetime.h \
+   src/core/optional.h cet_util.h csv_util.h garmin_fs.h jeeps/gps.h \
+   jeeps/../defs.h jeeps/gpsport.h jeeps/gpsdevice.h jeeps/gpssend.h \
+   jeeps/gpsread.h jeeps/gpsutil.h jeeps/gpsapp.h jeeps/gpsprot.h \
+   jeeps/gpscom.h jeeps/gpsfmt.h jeeps/gpsmath.h jeeps/gpsmem.h \
+   jeeps/gpsrqst.h garmin_tables.h grtcirc.h strptime.h
+-garmin_xt.o: garmin_xt.cc defs.h config.h zlib/zlib.h zlib/zconf.h cet.h \
++garmin_xt.o: garmin_xt.cc defs.h config.h cet.h \
+   inifile.h gbfile.h session.h src/core/datetime.h src/core/optional.h
+-gbfile.o: gbfile.cc defs.h config.h zlib/zlib.h zlib/zconf.h cet.h \
++gbfile.o: gbfile.cc defs.h config.h cet.h \
+   inifile.h gbfile.h session.h src/core/datetime.h src/core/optional.h \
+   src/core/logging.h
+-gbser.o: gbser.cc defs.h config.h zlib/zlib.h zlib/zconf.h cet.h \
++gbser.o: gbser.cc defs.h config.h cet.h \
+   inifile.h gbfile.h session.h src/core/datetime.h src/core/optional.h \
+   gbser.h gbser_private.h
+-gbser_posix.o: gbser_posix.cc defs.h config.h zlib/zlib.h zlib/zconf.h \
++gbser_posix.o: gbser_posix.cc defs.h config.h \
+   cet.h inifile.h gbfile.h session.h src/core/datetime.h \
+   src/core/optional.h gbser.h gbser_private.h
+-gdb.o: gdb.cc defs.h config.h zlib/zlib.h zlib/zconf.h cet.h inifile.h \
++gdb.o: gdb.cc defs.h config.h cet.h inifile.h \
+   gbfile.h session.h src/core/datetime.h src/core/optional.h cet_util.h \
+   garmin_fs.h jeeps/gps.h jeeps/../defs.h jeeps/gpsport.h \
+   jeeps/gpsdevice.h jeeps/gpssend.h jeeps/gpsread.h jeeps/gpsutil.h \
+   jeeps/gpsapp.h jeeps/gpsprot.h jeeps/gpscom.h jeeps/gpsfmt.h \
+   jeeps/gpsmath.h jeeps/gpsmem.h jeeps/gpsrqst.h garmin_tables.h \
+   grtcirc.h
+-geo.o: geo.cc defs.h config.h zlib/zlib.h zlib/zconf.h cet.h inifile.h \
++geo.o: geo.cc defs.h config.h cet.h inifile.h \
+   gbfile.h session.h src/core/datetime.h src/core/optional.h \
+   src/core/file.h
+-geojson.o: geojson.cc defs.h config.h zlib/zlib.h zlib/zconf.h cet.h \
++geojson.o: geojson.cc defs.h config.h cet.h \
+   inifile.h gbfile.h session.h src/core/datetime.h src/core/optional.h \
+   src/core/file.h
+-ggv_bin.o: ggv_bin.cc defs.h config.h zlib/zlib.h zlib/zconf.h cet.h \
++ggv_bin.o: ggv_bin.cc defs.h config.h cet.h \
+   inifile.h gbfile.h session.h src/core/datetime.h src/core/optional.h
+-ggv_log.o: ggv_log.cc defs.h config.h zlib/zlib.h zlib/zconf.h cet.h \
++ggv_log.o: ggv_log.cc defs.h config.h cet.h \
+   inifile.h gbfile.h session.h src/core/datetime.h src/core/optional.h \
+   grtcirc.h
+-ggv_ovl.o: ggv_ovl.cc defs.h config.h zlib/zlib.h zlib/zconf.h cet.h \
++ggv_ovl.o: ggv_ovl.cc defs.h config.h cet.h \
+   inifile.h gbfile.h session.h src/core/datetime.h src/core/optional.h \
+   grtcirc.h
+-globals.o: globals.cc defs.h config.h zlib/zlib.h zlib/zconf.h cet.h \
++globals.o: globals.cc defs.h config.h cet.h \
+   inifile.h gbfile.h session.h src/core/datetime.h src/core/optional.h \
+   gbversion.h
+-globalsat_sport.o: globalsat_sport.cc defs.h config.h zlib/zlib.h \
+-  zlib/zconf.h cet.h inifile.h gbfile.h session.h src/core/datetime.h \
++globalsat_sport.o: globalsat_sport.cc defs.h config.h \
++  cet.h inifile.h gbfile.h session.h src/core/datetime.h \
+   src/core/optional.h gbser.h
+-glogbook.o: glogbook.cc defs.h config.h zlib/zlib.h zlib/zconf.h cet.h \
++glogbook.o: glogbook.cc defs.h config.h cet.h \
+   inifile.h gbfile.h session.h src/core/datetime.h src/core/optional.h \
+   src/core/file.h xmlgeneric.h
+-gnav_trl.o: gnav_trl.cc defs.h config.h zlib/zlib.h zlib/zconf.h cet.h \
++gnav_trl.o: gnav_trl.cc defs.h config.h cet.h \
+   inifile.h gbfile.h session.h src/core/datetime.h src/core/optional.h
+-googledir.o: googledir.cc defs.h config.h zlib/zlib.h zlib/zconf.h cet.h \
++googledir.o: googledir.cc defs.h config.h cet.h \
+   inifile.h gbfile.h session.h src/core/datetime.h src/core/optional.h \
+   xmlgeneric.h
+-gopal.o: gopal.cc defs.h config.h zlib/zlib.h zlib/zconf.h cet.h \
++gopal.o: gopal.cc defs.h config.h cet.h \
+   inifile.h gbfile.h session.h src/core/datetime.h src/core/optional.h \
+   cet_util.h csv_util.h grtcirc.h jeeps/gpsmath.h jeeps/gpsport.h \
+   strptime.h
+-gpssim.o: gpssim.cc defs.h config.h zlib/zlib.h zlib/zconf.h cet.h \
++gpssim.o: gpssim.cc defs.h config.h cet.h \
+   inifile.h gbfile.h session.h src/core/datetime.h src/core/optional.h
+-gpsutil.o: gpsutil.cc defs.h config.h zlib/zlib.h zlib/zconf.h cet.h \
++gpsutil.o: gpsutil.cc defs.h config.h cet.h \
+   inifile.h gbfile.h session.h src/core/datetime.h src/core/optional.h \
+   cet_util.h magellan.h
+-gpx.o: gpx.cc defs.h config.h zlib/zlib.h zlib/zconf.h cet.h inifile.h \
++gpx.o: gpx.cc defs.h config.h cet.h inifile.h \
+   gbfile.h session.h src/core/datetime.h src/core/optional.h garmin_fs.h \
+   jeeps/gps.h jeeps/../defs.h jeeps/gpsport.h jeeps/gpsdevice.h \
+   jeeps/gpssend.h jeeps/gpsread.h jeeps/gpsutil.h jeeps/gpsapp.h \
+   jeeps/gpsprot.h jeeps/gpscom.h jeeps/gpsfmt.h jeeps/gpsmath.h \
+   jeeps/gpsmem.h jeeps/gpsrqst.h garmin_tables.h src/core/file.h \
+   src/core/logging.h src/core/xmlstreamwriter.h src/core/xmltag.h
+-grtcirc.o: grtcirc.cc defs.h config.h zlib/zlib.h zlib/zconf.h cet.h \
++grtcirc.o: grtcirc.cc defs.h config.h cet.h \
+   inifile.h gbfile.h session.h src/core/datetime.h src/core/optional.h \
+   grtcirc.h
+-gtm.o: gtm.cc defs.h config.h zlib/zlib.h zlib/zconf.h cet.h inifile.h \
++gtm.o: gtm.cc defs.h config.h cet.h inifile.h \
+   gbfile.h session.h src/core/datetime.h src/core/optional.h \
+   jeeps/gpsmath.h jeeps/gpsport.h
+-gtrnctr.o: gtrnctr.cc defs.h config.h zlib/zlib.h zlib/zconf.h cet.h \
++gtrnctr.o: gtrnctr.cc defs.h config.h cet.h \
+   inifile.h gbfile.h session.h src/core/datetime.h src/core/optional.h \
+   xmlgeneric.h
+-height.o: height.cc defs.h config.h zlib/zlib.h zlib/zconf.h cet.h \
++height.o: height.cc defs.h config.h cet.h \
+   inifile.h gbfile.h session.h src/core/datetime.h src/core/optional.h \
+   filterdefs.h filter.h height.h heightgrid.h
+-hiketech.o: hiketech.cc defs.h config.h zlib/zlib.h zlib/zconf.h cet.h \
++hiketech.o: hiketech.cc defs.h config.h cet.h \
+   inifile.h gbfile.h session.h src/core/datetime.h src/core/optional.h \
+   src/core/xmlstreamwriter.h xmlgeneric.h
+-holux.o: holux.cc defs.h config.h zlib/zlib.h zlib/zconf.h cet.h \
++holux.o: holux.cc defs.h config.h cet.h \
+   inifile.h gbfile.h session.h src/core/datetime.h src/core/optional.h \
+   holux.h
+-html.o: html.cc defs.h config.h zlib/zlib.h zlib/zconf.h cet.h inifile.h \
++html.o: html.cc defs.h config.h cet.h inifile.h \
+   gbfile.h session.h src/core/datetime.h src/core/optional.h \
+   jeeps/gpsmath.h jeeps/gpsport.h src/core/xmltag.h
+-humminbird.o: humminbird.cc defs.h config.h zlib/zlib.h zlib/zconf.h \
++humminbird.o: humminbird.cc defs.h config.h \
+   cet.h inifile.h gbfile.h session.h src/core/datetime.h \
+   src/core/optional.h
+-igc.o: igc.cc defs.h config.h zlib/zlib.h zlib/zconf.h cet.h inifile.h \
++igc.o: igc.cc defs.h config.h cet.h inifile.h \
+   gbfile.h session.h src/core/datetime.h src/core/optional.h cet_util.h
+-ignrando.o: ignrando.cc defs.h config.h zlib/zlib.h zlib/zconf.h cet.h \
++ignrando.o: ignrando.cc defs.h config.h cet.h \
+   inifile.h gbfile.h session.h src/core/datetime.h src/core/optional.h \
+   xmlgeneric.h
+-igo8.o: igo8.cc defs.h config.h zlib/zlib.h zlib/zconf.h cet.h inifile.h \
++igo8.o: igo8.cc defs.h config.h cet.h inifile.h \
+   gbfile.h session.h src/core/datetime.h src/core/optional.h cet_util.h
+-ik3d.o: ik3d.cc defs.h config.h zlib/zlib.h zlib/zconf.h cet.h inifile.h \
++ik3d.o: ik3d.cc defs.h config.h cet.h inifile.h \
+   gbfile.h session.h src/core/datetime.h src/core/optional.h \
+   xmlgeneric.h
+-inifile.o: inifile.cc defs.h config.h zlib/zlib.h zlib/zconf.h cet.h \
++inifile.o: inifile.cc defs.h config.h cet.h \
+   inifile.h gbfile.h session.h src/core/datetime.h src/core/optional.h \
+   src/core/file.h
+-internal_styles.o: internal_styles.cc defs.h config.h zlib/zlib.h \
+-  zlib/zconf.h cet.h inifile.h gbfile.h session.h src/core/datetime.h \
++internal_styles.o: internal_styles.cc defs.h config.h \
++  cet.h inifile.h gbfile.h session.h src/core/datetime.h \
+   src/core/optional.h
+-interpolate.o: interpolate.cc defs.h config.h zlib/zlib.h zlib/zconf.h \
++interpolate.o: interpolate.cc defs.h config.h \
+   cet.h inifile.h gbfile.h session.h src/core/datetime.h \
+   src/core/optional.h filterdefs.h filter.h interpolate.h grtcirc.h
+-itracku.o: itracku.cc defs.h config.h zlib/zlib.h zlib/zconf.h cet.h \
++itracku.o: itracku.cc defs.h config.h cet.h \
+   inifile.h gbfile.h session.h src/core/datetime.h src/core/optional.h \
+   gbser.h
+ jeeps/gpsapp.o: jeeps/gpsapp.cc jeeps/gps.h jeeps/../defs.h config.h \
+-  zlib/zlib.h zlib/zconf.h cet.h inifile.h gbfile.h defs.h session.h \
++  cet.h inifile.h gbfile.h defs.h session.h \
+   src/core/datetime.h src/core/optional.h jeeps/gpsport.h \
+   jeeps/gpsdevice.h jeeps/gpssend.h jeeps/gpsread.h jeeps/gpsutil.h \
+   jeeps/gpsapp.h jeeps/gpsprot.h jeeps/gpscom.h jeeps/gpsfmt.h \
+   jeeps/gpsmath.h jeeps/gpsmem.h jeeps/gpsrqst.h jeeps/garminusb.h \
+   jeeps/gpsserial.h jeeps/gpsusbint.h
+ jeeps/gpscom.o: jeeps/gpscom.cc jeeps/gps.h jeeps/../defs.h config.h \
+-  zlib/zlib.h zlib/zconf.h cet.h inifile.h gbfile.h defs.h session.h \
++  cet.h inifile.h gbfile.h defs.h session.h \
+   src/core/datetime.h src/core/optional.h jeeps/gpsport.h \
+   jeeps/gpsdevice.h jeeps/gpssend.h jeeps/gpsread.h jeeps/gpsutil.h \
+   jeeps/gpsapp.h jeeps/gpsprot.h jeeps/gpscom.h jeeps/gpsfmt.h \
+   jeeps/gpsmath.h jeeps/gpsmem.h jeeps/gpsrqst.h
+ jeeps/gpsdevice.o: jeeps/gpsdevice.cc jeeps/gps.h jeeps/../defs.h \
+-  config.h zlib/zlib.h zlib/zconf.h cet.h inifile.h gbfile.h defs.h \
++  config.h cet.h inifile.h gbfile.h defs.h \
+   session.h src/core/datetime.h src/core/optional.h jeeps/gpsport.h \
+   jeeps/gpsdevice.h jeeps/gpssend.h jeeps/gpsread.h jeeps/gpsutil.h \
+   jeeps/gpsapp.h jeeps/gpsprot.h jeeps/gpscom.h jeeps/gpsfmt.h \
+   jeeps/gpsmath.h jeeps/gpsmem.h jeeps/gpsrqst.h jeeps/gpsserial.h
+ jeeps/gpsdevice_ser.o: jeeps/gpsdevice_ser.cc jeeps/gps.h jeeps/../defs.h \
+-  config.h zlib/zlib.h zlib/zconf.h cet.h inifile.h gbfile.h defs.h \
++  config.h cet.h inifile.h gbfile.h defs.h \
+   session.h src/core/datetime.h src/core/optional.h jeeps/gpsport.h \
+   jeeps/gpsdevice.h jeeps/gpssend.h jeeps/gpsread.h jeeps/gpsutil.h \
+   jeeps/gpsapp.h jeeps/gpsprot.h jeeps/gpscom.h jeeps/gpsfmt.h \
+   jeeps/gpsmath.h jeeps/gpsmem.h jeeps/gpsrqst.h jeeps/gpsserial.h
+ jeeps/gpsdevice_usb.o: jeeps/gpsdevice_usb.cc jeeps/gps.h jeeps/../defs.h \
+-  config.h zlib/zlib.h zlib/zconf.h cet.h inifile.h gbfile.h defs.h \
++  config.h cet.h inifile.h gbfile.h defs.h \
+   session.h src/core/datetime.h src/core/optional.h jeeps/gpsport.h \
+   jeeps/gpsdevice.h jeeps/gpssend.h jeeps/gpsread.h jeeps/gpsutil.h \
+   jeeps/gpsapp.h jeeps/gpsprot.h jeeps/gpscom.h jeeps/gpsfmt.h \
+   jeeps/gpsmath.h jeeps/gpsmem.h jeeps/gpsrqst.h jeeps/garminusb.h \
+   jeeps/gpsusbcommon.h jeeps/gpsusbint.h
+ jeeps/gpslibusb.o: jeeps/gpslibusb.cc config.h mac/libusb/usb.h \
+-  jeeps/gps.h jeeps/../defs.h zlib/zlib.h zlib/zconf.h cet.h inifile.h \
++  jeeps/gps.h jeeps/../defs.h cet.h inifile.h \
+   gbfile.h defs.h session.h src/core/datetime.h src/core/optional.h \
+   jeeps/gpsport.h jeeps/gpsdevice.h jeeps/gpssend.h jeeps/gpsread.h \
+   jeeps/gpsutil.h jeeps/gpsapp.h jeeps/gpsprot.h jeeps/gpscom.h \
+   jeeps/gpsfmt.h jeeps/gpsmath.h jeeps/gpsmem.h jeeps/gpsrqst.h \
+   jeeps/garminusb.h jeeps/gpsusbcommon.h jeeps/../garmin_device_xml.h
+ jeeps/gpsmath.o: jeeps/gpsmath.cc jeeps/gps.h jeeps/../defs.h config.h \
+-  zlib/zlib.h zlib/zconf.h cet.h inifile.h gbfile.h defs.h session.h \
++  cet.h inifile.h gbfile.h defs.h session.h \
+   src/core/datetime.h src/core/optional.h jeeps/gpsport.h \
+   jeeps/gpsdevice.h jeeps/gpssend.h jeeps/gpsread.h jeeps/gpsutil.h \
+   jeeps/gpsapp.h jeeps/gpsprot.h jeeps/gpscom.h jeeps/gpsfmt.h \
+   jeeps/gpsmath.h jeeps/gpsmem.h jeeps/gpsrqst.h jeeps/gpsdatum.h
+ jeeps/gpsmem.o: jeeps/gpsmem.cc jeeps/gps.h jeeps/../defs.h config.h \
+-  zlib/zlib.h zlib/zconf.h cet.h inifile.h gbfile.h defs.h session.h \
++  cet.h inifile.h gbfile.h defs.h session.h \
+   src/core/datetime.h src/core/optional.h jeeps/gpsport.h \
+   jeeps/gpsdevice.h jeeps/gpssend.h jeeps/gpsread.h jeeps/gpsutil.h \
+   jeeps/gpsapp.h jeeps/gpsprot.h jeeps/gpscom.h jeeps/gpsfmt.h \
+   jeeps/gpsmath.h jeeps/gpsmem.h jeeps/gpsrqst.h
+ jeeps/gpsprot.o: jeeps/gpsprot.cc jeeps/gps.h jeeps/../defs.h config.h \
+-  zlib/zlib.h zlib/zconf.h cet.h inifile.h gbfile.h defs.h session.h \
++  cet.h inifile.h gbfile.h defs.h session.h \
+   src/core/datetime.h src/core/optional.h jeeps/gpsport.h \
+   jeeps/gpsdevice.h jeeps/gpssend.h jeeps/gpsread.h jeeps/gpsutil.h \
+   jeeps/gpsapp.h jeeps/gpsprot.h jeeps/gpscom.h jeeps/gpsfmt.h \
+   jeeps/gpsmath.h jeeps/gpsmem.h jeeps/gpsrqst.h
+ jeeps/gpsread.o: jeeps/gpsread.cc jeeps/gps.h jeeps/../defs.h config.h \
+-  zlib/zlib.h zlib/zconf.h cet.h inifile.h gbfile.h defs.h session.h \
++  cet.h inifile.h gbfile.h defs.h session.h \
+   src/core/datetime.h src/core/optional.h jeeps/gpsport.h \
+   jeeps/gpsdevice.h jeeps/gpssend.h jeeps/gpsread.h jeeps/gpsutil.h \
+   jeeps/gpsapp.h jeeps/gpsprot.h jeeps/gpscom.h jeeps/gpsfmt.h \
+   jeeps/gpsmath.h jeeps/gpsmem.h jeeps/gpsrqst.h jeeps/gpsserial.h
+ jeeps/gpsrqst.o: jeeps/gpsrqst.cc jeeps/gps.h jeeps/../defs.h config.h \
+-  zlib/zlib.h zlib/zconf.h cet.h inifile.h gbfile.h defs.h session.h \
++  cet.h inifile.h gbfile.h defs.h session.h \
+   src/core/datetime.h src/core/optional.h jeeps/gpsport.h \
+   jeeps/gpsdevice.h jeeps/gpssend.h jeeps/gpsread.h jeeps/gpsutil.h \
+   jeeps/gpsapp.h jeeps/gpsprot.h jeeps/gpscom.h jeeps/gpsfmt.h \
+   jeeps/gpsmath.h jeeps/gpsmem.h jeeps/gpsrqst.h
+ jeeps/gpssend.o: jeeps/gpssend.cc jeeps/gps.h jeeps/../defs.h config.h \
+-  zlib/zlib.h zlib/zconf.h cet.h inifile.h gbfile.h defs.h session.h \
++  cet.h inifile.h gbfile.h defs.h session.h \
+   src/core/datetime.h src/core/optional.h jeeps/gpsport.h \
+   jeeps/gpsdevice.h jeeps/gpssend.h jeeps/gpsread.h jeeps/gpsutil.h \
+   jeeps/gpsapp.h jeeps/gpsprot.h jeeps/gpscom.h jeeps/gpsfmt.h \
+   jeeps/gpsmath.h jeeps/gpsmem.h jeeps/gpsrqst.h jeeps/gpsserial.h
+ jeeps/gpsserial.o: jeeps/gpsserial.cc jeeps/gps.h jeeps/../defs.h \
+-  config.h zlib/zlib.h zlib/zconf.h cet.h inifile.h gbfile.h defs.h \
++  config.h  cet.h inifile.h gbfile.h defs.h \
+   session.h src/core/datetime.h src/core/optional.h jeeps/gpsport.h \
+   jeeps/gpsdevice.h jeeps/gpssend.h jeeps/gpsread.h jeeps/gpsutil.h \
+   jeeps/gpsapp.h jeeps/gpsprot.h jeeps/gpscom.h jeeps/gpsfmt.h \
+   jeeps/gpsmath.h jeeps/gpsmem.h jeeps/gpsrqst.h jeeps/../gbser.h \
+   jeeps/gpsserial.h gbser_posix.h
+ jeeps/gpsusbcommon.o: jeeps/gpsusbcommon.cc jeeps/gps.h jeeps/../defs.h \
+-  config.h zlib/zlib.h zlib/zconf.h cet.h inifile.h gbfile.h defs.h \
++  config.h  cet.h inifile.h gbfile.h defs.h \
+   session.h src/core/datetime.h src/core/optional.h jeeps/gpsport.h \
+   jeeps/gpsdevice.h jeeps/gpssend.h jeeps/gpsread.h jeeps/gpsutil.h \
+   jeeps/gpsapp.h jeeps/gpsprot.h jeeps/gpscom.h jeeps/gpsfmt.h \
+   jeeps/gpsmath.h jeeps/gpsmem.h jeeps/gpsrqst.h jeeps/garminusb.h \
+   jeeps/gpsusbcommon.h
+ jeeps/gpsusbread.o: jeeps/gpsusbread.cc jeeps/garminusb.h \
+-  jeeps/gpsdevice.h jeeps/gps.h jeeps/../defs.h config.h zlib/zlib.h \
+-  zlib/zconf.h cet.h inifile.h gbfile.h defs.h session.h \
++  jeeps/gpsdevice.h jeeps/gps.h jeeps/../defs.h config.h \
++  cet.h inifile.h gbfile.h defs.h session.h \
+   src/core/datetime.h src/core/optional.h jeeps/gpsport.h \
+   jeeps/gpssend.h jeeps/gpsread.h jeeps/gpsutil.h jeeps/gpsapp.h \
+   jeeps/gpsprot.h jeeps/gpscom.h jeeps/gpsfmt.h jeeps/gpsmath.h \
+   jeeps/gpsmem.h jeeps/gpsrqst.h jeeps/gpsusbint.h
+ jeeps/gpsusbsend.o: jeeps/gpsusbsend.cc jeeps/gps.h jeeps/../defs.h \
+-  config.h zlib/zlib.h zlib/zconf.h cet.h inifile.h gbfile.h defs.h \
++  config.h  cet.h inifile.h gbfile.h defs.h \
+   session.h src/core/datetime.h src/core/optional.h jeeps/gpsport.h \
+   jeeps/gpsdevice.h jeeps/gpssend.h jeeps/gpsread.h jeeps/gpsutil.h \
+   jeeps/gpsapp.h jeeps/gpsprot.h jeeps/gpscom.h jeeps/gpsfmt.h \
+   jeeps/gpsmath.h jeeps/gpsmem.h jeeps/gpsrqst.h jeeps/garminusb.h \
+   jeeps/gpsusbint.h
+ jeeps/jgpsutil.o: jeeps/jgpsutil.cc jeeps/gps.h jeeps/../defs.h config.h \
+-  zlib/zlib.h zlib/zconf.h cet.h inifile.h gbfile.h defs.h session.h \
++   cet.h inifile.h gbfile.h defs.h session.h \
+   src/core/datetime.h src/core/optional.h jeeps/gpsport.h \
+   jeeps/gpsdevice.h jeeps/gpssend.h jeeps/gpsread.h jeeps/gpsutil.h \
+   jeeps/gpsapp.h jeeps/gpsprot.h jeeps/gpscom.h jeeps/gpsfmt.h \
+   jeeps/gpsmath.h jeeps/gpsmem.h jeeps/gpsrqst.h
+-jogmap.o: jogmap.cc defs.h config.h zlib/zlib.h zlib/zconf.h cet.h \
++jogmap.o: jogmap.cc defs.h config.h  cet.h \
+   inifile.h gbfile.h session.h src/core/datetime.h src/core/optional.h \
+   garmin_tables.h jeeps/gpsmath.h jeeps/gpsport.h xmlgeneric.h
+-jtr.o: jtr.cc defs.h config.h zlib/zlib.h zlib/zconf.h cet.h inifile.h \
++jtr.o: jtr.cc defs.h config.h  cet.h inifile.h \
+   gbfile.h session.h src/core/datetime.h src/core/optional.h csv_util.h
+-kml.o: kml.cc defs.h config.h zlib/zlib.h zlib/zconf.h cet.h inifile.h \
++kml.o: kml.cc defs.h config.h  cet.h inifile.h \
+   gbfile.h session.h src/core/datetime.h src/core/optional.h grtcirc.h \
+   src/core/file.h src/core/xmlstreamwriter.h src/core/xmltag.h \
+   xmlgeneric.h
+-lmx.o: lmx.cc defs.h config.h zlib/zlib.h zlib/zconf.h cet.h inifile.h \
++lmx.o: lmx.cc defs.h config.h  cet.h inifile.h \
+   gbfile.h session.h src/core/datetime.h src/core/optional.h \
+   xmlgeneric.h
+-lowranceusr.o: lowranceusr.cc defs.h config.h zlib/zlib.h zlib/zconf.h \
++lowranceusr.o: lowranceusr.cc defs.h config.h  \
+   cet.h inifile.h gbfile.h session.h src/core/datetime.h \
+   src/core/optional.h
+ mac/libusb/darwin.o: mac/libusb/darwin.c config.h mac/libusb/usbi.h \
+@@ -788,294 +782,261 @@ mac/libusb/error.o: mac/libusb/error.c mac/libusb/usb.h \
+   mac/libusb/error.h
+ mac/libusb/usb.o: mac/libusb/usb.c mac/libusb/usbi.h mac/libusb/usb.h \
+   mac/libusb/error.h
+-maggeo.o: maggeo.cc defs.h config.h zlib/zlib.h zlib/zconf.h cet.h \
++maggeo.o: maggeo.cc defs.h config.h  cet.h \
+   inifile.h gbfile.h session.h src/core/datetime.h src/core/optional.h \
+   csv_util.h magellan.h xmlgeneric.h
+-magproto.o: magproto.cc defs.h config.h zlib/zlib.h zlib/zconf.h cet.h \
++magproto.o: magproto.cc defs.h config.h  cet.h \
+   inifile.h gbfile.h session.h src/core/datetime.h src/core/optional.h \
+   explorist_ini.h gbser.h magellan.h
+-main.o: main.cc defs.h config.h zlib/zlib.h zlib/zconf.h cet.h inifile.h \
++main.o: main.cc defs.h config.h  cet.h inifile.h \
+   gbfile.h session.h src/core/datetime.h src/core/optional.h cet_util.h \
+   csv_util.h filter.h filterdefs.h src/core/file.h \
+   src/core/usasciicodec.h
+-mapasia.o: mapasia.cc defs.h config.h zlib/zlib.h zlib/zconf.h cet.h \
++mapasia.o: mapasia.cc defs.h config.h  cet.h \
+   inifile.h gbfile.h session.h src/core/datetime.h src/core/optional.h
+-mapbar_track.o: mapbar_track.cc defs.h config.h zlib/zlib.h zlib/zconf.h \
++mapbar_track.o: mapbar_track.cc defs.h config.h  \
+   cet.h inifile.h gbfile.h session.h src/core/datetime.h \
+   src/core/optional.h
+-mapfactor.o: mapfactor.cc defs.h config.h zlib/zlib.h zlib/zconf.h cet.h \
++mapfactor.o: mapfactor.cc defs.h config.h  cet.h \
+   inifile.h gbfile.h session.h src/core/datetime.h src/core/optional.h \
+   src/core/file.h src/core/xmlstreamwriter.h
+-mapsend.o: mapsend.cc defs.h config.h zlib/zlib.h zlib/zconf.h cet.h \
++mapsend.o: mapsend.cc defs.h config.h  cet.h \
+   inifile.h gbfile.h session.h src/core/datetime.h src/core/optional.h \
+   mapsend.h magellan.h
+-mapsource.o: mapsource.cc defs.h config.h zlib/zlib.h zlib/zconf.h cet.h \
++mapsource.o: mapsource.cc defs.h config.h  cet.h \
+   inifile.h gbfile.h session.h src/core/datetime.h src/core/optional.h \
+   garmin_tables.h jeeps/gpsmath.h jeeps/gpsport.h
+-mkshort.o: mkshort.cc defs.h config.h zlib/zlib.h zlib/zconf.h cet.h \
++mkshort.o: mkshort.cc defs.h config.h  cet.h \
+   inifile.h gbfile.h session.h src/core/datetime.h src/core/optional.h \
+   cet_util.h
+-mmo.o: mmo.cc defs.h config.h zlib/zlib.h zlib/zconf.h cet.h inifile.h \
++mmo.o: mmo.cc defs.h config.h  cet.h inifile.h \
+   gbfile.h session.h src/core/datetime.h src/core/optional.h
+-mtk_locus.o: mtk_locus.cc defs.h config.h zlib/zlib.h zlib/zconf.h cet.h \
++mtk_locus.o: mtk_locus.cc defs.h config.h  cet.h \
+   inifile.h gbfile.h session.h src/core/datetime.h src/core/optional.h \
+   gbser.h
+-mtk_logger.o: mtk_logger.cc defs.h config.h zlib/zlib.h zlib/zconf.h \
++mtk_logger.o: mtk_logger.cc defs.h config.h  \
+   cet.h inifile.h gbfile.h session.h src/core/datetime.h \
+   src/core/optional.h gbser.h
+-mynav.o: mynav.cc defs.h config.h zlib/zlib.h zlib/zconf.h cet.h \
++mynav.o: mynav.cc defs.h config.h  cet.h \
+   inifile.h gbfile.h session.h src/core/datetime.h src/core/optional.h
+-navicache.o: navicache.cc defs.h config.h zlib/zlib.h zlib/zconf.h cet.h \
++navicache.o: navicache.cc defs.h config.h  cet.h \
+   inifile.h gbfile.h session.h src/core/datetime.h src/core/optional.h \
+   cet_util.h src/core/file.h
+-naviguide.o: naviguide.cc defs.h config.h zlib/zlib.h zlib/zconf.h cet.h \
++naviguide.o: naviguide.cc defs.h config.h  cet.h \
+   inifile.h gbfile.h session.h src/core/datetime.h src/core/optional.h \
+   csv_util.h jeeps/gpsmath.h jeeps/gpsport.h
+-navilink.o: navilink.cc defs.h config.h zlib/zlib.h zlib/zconf.h cet.h \
++navilink.o: navilink.cc defs.h config.h  cet.h \
+   inifile.h gbfile.h session.h src/core/datetime.h src/core/optional.h \
+   gbser.h jeeps/gpsmath.h jeeps/gpsport.h navilink.h
+-navitel.o: navitel.cc defs.h config.h zlib/zlib.h zlib/zconf.h cet.h \
++navitel.o: navitel.cc defs.h config.h  cet.h \
+   inifile.h gbfile.h session.h src/core/datetime.h src/core/optional.h \
+   jeeps/gpsmath.h jeeps/gpsport.h
+-netstumbler.o: netstumbler.cc defs.h config.h zlib/zlib.h zlib/zconf.h \
++netstumbler.o: netstumbler.cc defs.h config.h  \
+   cet.h inifile.h gbfile.h session.h src/core/datetime.h \
+   src/core/optional.h cet_util.h csv_util.h
+-nmea.o: nmea.cc defs.h config.h zlib/zlib.h zlib/zconf.h cet.h inifile.h \
++nmea.o: nmea.cc defs.h config.h  cet.h inifile.h \
+   gbfile.h session.h src/core/datetime.h src/core/optional.h cet_util.h \
+   gbser.h jeeps/gpsmath.h jeeps/gpsport.h src/core/logging.h strptime.h
+-nmn4.o: nmn4.cc defs.h config.h zlib/zlib.h zlib/zconf.h cet.h inifile.h \
++nmn4.o: nmn4.cc defs.h config.h  cet.h inifile.h \
+   gbfile.h session.h src/core/datetime.h src/core/optional.h cet_util.h \
+   csv_util.h
+-nukedata.o: nukedata.cc defs.h config.h zlib/zlib.h zlib/zconf.h cet.h \
++nukedata.o: nukedata.cc defs.h config.h  cet.h \
+   inifile.h gbfile.h session.h src/core/datetime.h src/core/optional.h \
+   filterdefs.h filter.h nukedata.h
+-osm.o: osm.cc defs.h config.h zlib/zlib.h zlib/zconf.h cet.h inifile.h \
++osm.o: osm.cc defs.h config.h  cet.h inifile.h \
+   gbfile.h session.h src/core/datetime.h src/core/optional.h \
+   xmlgeneric.h
+-ozi.o: ozi.cc defs.h config.h zlib/zlib.h zlib/zconf.h cet.h inifile.h \
++ozi.o: ozi.cc defs.h config.h  cet.h inifile.h \
+   gbfile.h session.h src/core/datetime.h src/core/optional.h csv_util.h \
+   jeeps/gpsmath.h jeeps/gpsport.h src/core/textstream.h src/core/file.h
+-parse.o: parse.cc defs.h config.h zlib/zlib.h zlib/zconf.h cet.h \
++parse.o: parse.cc defs.h config.h  cet.h \
+   inifile.h gbfile.h session.h src/core/datetime.h src/core/optional.h \
+   jeeps/gpsmath.h jeeps/gpsport.h
+-pcx.o: pcx.cc defs.h config.h zlib/zlib.h zlib/zconf.h cet.h inifile.h \
++pcx.o: pcx.cc defs.h config.h  cet.h inifile.h \
+   gbfile.h session.h src/core/datetime.h src/core/optional.h cet_util.h \
+   csv_util.h garmin_tables.h
+-pocketfms_bc.o: pocketfms_bc.cc defs.h config.h zlib/zlib.h zlib/zconf.h \
++pocketfms_bc.o: pocketfms_bc.cc defs.h config.h  \
+   cet.h inifile.h gbfile.h session.h src/core/datetime.h \
+   src/core/optional.h
+-pocketfms_fp.o: pocketfms_fp.cc defs.h config.h zlib/zlib.h zlib/zconf.h \
++pocketfms_fp.o: pocketfms_fp.cc defs.h config.h  \
+   cet.h inifile.h gbfile.h session.h src/core/datetime.h \
+   src/core/optional.h xmlgeneric.h
+-pocketfms_wp.o: pocketfms_wp.cc defs.h config.h zlib/zlib.h zlib/zconf.h \
++pocketfms_wp.o: pocketfms_wp.cc defs.h config.h  \
+   cet.h inifile.h gbfile.h session.h src/core/datetime.h \
+   src/core/optional.h csv_util.h
+-polygon.o: polygon.cc defs.h config.h zlib/zlib.h zlib/zconf.h cet.h \
++polygon.o: polygon.cc defs.h config.h  cet.h \
+   inifile.h gbfile.h session.h src/core/datetime.h src/core/optional.h \
+   filterdefs.h filter.h polygon.h
+-position.o: position.cc defs.h config.h zlib/zlib.h zlib/zconf.h cet.h \
++position.o: position.cc defs.h config.h  cet.h \
+   inifile.h gbfile.h session.h src/core/datetime.h src/core/optional.h \
+   filterdefs.h filter.h grtcirc.h position.h
+-psitrex.o: psitrex.cc defs.h config.h zlib/zlib.h zlib/zconf.h cet.h \
++psitrex.o: psitrex.cc defs.h config.h  cet.h \
+   inifile.h gbfile.h session.h src/core/datetime.h src/core/optional.h \
+   garmin_tables.h
+-radius.o: radius.cc defs.h config.h zlib/zlib.h zlib/zconf.h cet.h \
++radius.o: radius.cc defs.h config.h  cet.h \
+   inifile.h gbfile.h session.h src/core/datetime.h src/core/optional.h \
+   filterdefs.h filter.h radius.h grtcirc.h
+-random.o: random.cc defs.h config.h zlib/zlib.h zlib/zconf.h cet.h \
++random.o: random.cc defs.h config.h  cet.h \
+   inifile.h gbfile.h session.h src/core/datetime.h src/core/optional.h \
+   garmin_fs.h jeeps/gps.h jeeps/../defs.h jeeps/gpsport.h \
+   jeeps/gpsdevice.h jeeps/gpssend.h jeeps/gpsread.h jeeps/gpsutil.h \
+   jeeps/gpsapp.h jeeps/gpsprot.h jeeps/gpscom.h jeeps/gpsfmt.h \
+   jeeps/gpsmath.h jeeps/gpsmem.h jeeps/gpsrqst.h
+-raymarine.o: raymarine.cc defs.h config.h zlib/zlib.h zlib/zconf.h cet.h \
++raymarine.o: raymarine.cc defs.h config.h  cet.h \
+   inifile.h gbfile.h session.h src/core/datetime.h src/core/optional.h \
+   csv_util.h
+-reverse_route.o: reverse_route.cc defs.h config.h zlib/zlib.h \
+-  zlib/zconf.h cet.h inifile.h gbfile.h session.h src/core/datetime.h \
++reverse_route.o: reverse_route.cc defs.h config.h \
++  cet.h inifile.h gbfile.h session.h src/core/datetime.h \
+   src/core/optional.h filterdefs.h filter.h reverse_route.h
+-rgbcolors.o: rgbcolors.cc defs.h config.h zlib/zlib.h zlib/zconf.h cet.h \
++rgbcolors.o: rgbcolors.cc defs.h config.h  cet.h \
+   inifile.h gbfile.h session.h src/core/datetime.h src/core/optional.h
+-route.o: route.cc defs.h config.h zlib/zlib.h zlib/zconf.h cet.h \
++route.o: route.cc defs.h config.h  cet.h \
+   inifile.h gbfile.h session.h src/core/datetime.h src/core/optional.h \
+   grtcirc.h
+-saroute.o: saroute.cc defs.h config.h zlib/zlib.h zlib/zconf.h cet.h \
++saroute.o: saroute.cc defs.h config.h  cet.h \
+   inifile.h gbfile.h session.h src/core/datetime.h src/core/optional.h \
+   grtcirc.h
+-sbn.o: sbn.cc defs.h config.h zlib/zlib.h zlib/zconf.h cet.h inifile.h \
++sbn.o: sbn.cc defs.h config.h  cet.h inifile.h \
+   gbfile.h session.h src/core/datetime.h src/core/optional.h navilink.h
+-sbp.o: sbp.cc defs.h config.h zlib/zlib.h zlib/zconf.h cet.h inifile.h \
++sbp.o: sbp.cc defs.h config.h  cet.h inifile.h \
+   gbfile.h session.h src/core/datetime.h src/core/optional.h navilink.h
+-session.o: session.cc defs.h config.h zlib/zlib.h zlib/zconf.h cet.h \
++session.o: session.cc defs.h config.h  cet.h \
+   inifile.h gbfile.h session.h src/core/datetime.h src/core/optional.h
+-shape.o: shape.cc defs.h config.h zlib/zlib.h zlib/zconf.h cet.h \
++shape.o: shape.cc defs.h config.h  cet.h \
+   inifile.h gbfile.h session.h src/core/datetime.h src/core/optional.h \
+   shapelib/shapefil.h
+ shapelib/dbfopen.o: shapelib/dbfopen.c shapelib/shapefil.h
+ shapelib/safileio.o: shapelib/safileio.c shapelib/shapefil.h
+ shapelib/shpopen.o: shapelib/shpopen.c shapelib/shapefil.h
+-skyforce.o: skyforce.cc defs.h config.h zlib/zlib.h zlib/zconf.h cet.h \
++skyforce.o: skyforce.cc defs.h config.h  cet.h \
+   inifile.h gbfile.h session.h src/core/datetime.h src/core/optional.h
+-skytraq.o: skytraq.cc defs.h config.h zlib/zlib.h zlib/zconf.h cet.h \
++skytraq.o: skytraq.cc defs.h config.h  cet.h \
+   inifile.h gbfile.h session.h src/core/datetime.h src/core/optional.h \
+   gbser.h
+-smplrout.o: smplrout.cc defs.h config.h zlib/zlib.h zlib/zconf.h cet.h \
++smplrout.o: smplrout.cc defs.h config.h  cet.h \
+   inifile.h gbfile.h session.h src/core/datetime.h src/core/optional.h \
+   filterdefs.h filter.h grtcirc.h smplrout.h
+-sort.o: sort.cc defs.h config.h zlib/zlib.h zlib/zconf.h cet.h inifile.h \
++sort.o: sort.cc defs.h config.h  cet.h inifile.h \
+   gbfile.h session.h src/core/datetime.h src/core/optional.h \
+   filterdefs.h filter.h sort.h
+ src/core/textstream.o: src/core/textstream.cc src/core/textstream.h \
+-  src/core/file.h defs.h config.h zlib/zlib.h zlib/zconf.h cet.h \
++  src/core/file.h defs.h config.h  cet.h \
+   inifile.h gbfile.h session.h src/core/datetime.h src/core/optional.h
+ src/core/usasciicodec.o: src/core/usasciicodec.cc src/core/usasciicodec.h
+ src/core/xmlstreamwriter.o: src/core/xmlstreamwriter.cc \
+   src/core/xmlstreamwriter.h
+-stackfilter.o: stackfilter.cc defs.h config.h zlib/zlib.h zlib/zconf.h \
++stackfilter.o: stackfilter.cc defs.h config.h  \
+   cet.h inifile.h gbfile.h session.h src/core/datetime.h \
+   src/core/optional.h filterdefs.h filter.h stackfilter.h
+-stmsdf.o: stmsdf.cc defs.h config.h zlib/zlib.h zlib/zconf.h cet.h \
++stmsdf.o: stmsdf.cc defs.h config.h  cet.h \
+   inifile.h gbfile.h session.h src/core/datetime.h src/core/optional.h \
+   cet_util.h csv_util.h grtcirc.h jeeps/gpsmath.h jeeps/gpsport.h \
+   src/core/logging.h
+-stmwpp.o: stmwpp.cc defs.h config.h zlib/zlib.h zlib/zconf.h cet.h \
++stmwpp.o: stmwpp.cc defs.h config.h  cet.h \
+   inifile.h gbfile.h session.h src/core/datetime.h src/core/optional.h \
+   csv_util.h cet_util.h
+ strptime.o: strptime.c config.h strptime.h
+-subrip.o: subrip.cc defs.h config.h zlib/zlib.h zlib/zconf.h cet.h \
++subrip.o: subrip.cc defs.h config.h  cet.h \
+   inifile.h gbfile.h session.h src/core/datetime.h src/core/optional.h
+-swapdata.o: swapdata.cc defs.h config.h zlib/zlib.h zlib/zconf.h cet.h \
++swapdata.o: swapdata.cc defs.h config.h  cet.h \
+   inifile.h gbfile.h session.h src/core/datetime.h src/core/optional.h \
+   filterdefs.h filter.h swapdata.h
+-tef_xml.o: tef_xml.cc defs.h config.h zlib/zlib.h zlib/zconf.h cet.h \
++tef_xml.o: tef_xml.cc defs.h config.h  cet.h \
+   inifile.h gbfile.h session.h src/core/datetime.h src/core/optional.h \
+   xmlgeneric.h
+-teletype.o: teletype.cc defs.h config.h zlib/zlib.h zlib/zconf.h cet.h \
++teletype.o: teletype.cc defs.h config.h  cet.h \
+   inifile.h gbfile.h session.h src/core/datetime.h src/core/optional.h
+-text.o: text.cc defs.h config.h zlib/zlib.h zlib/zconf.h cet.h inifile.h \
++text.o: text.cc defs.h config.h  cet.h inifile.h \
+   gbfile.h session.h src/core/datetime.h src/core/optional.h \
+   jeeps/gpsmath.h jeeps/gpsport.h src/core/xmltag.h
+-tiger.o: tiger.cc defs.h config.h zlib/zlib.h zlib/zconf.h cet.h \
++tiger.o: tiger.cc defs.h config.h  cet.h \
+   inifile.h gbfile.h session.h src/core/datetime.h src/core/optional.h \
+   cet_util.h csv_util.h
+-tmpro.o: tmpro.cc defs.h config.h zlib/zlib.h zlib/zconf.h cet.h \
++tmpro.o: tmpro.cc defs.h config.h  cet.h \
+   inifile.h gbfile.h session.h src/core/datetime.h src/core/optional.h \
+   cet_util.h csv_util.h
+-tomtom.o: tomtom.cc defs.h config.h zlib/zlib.h zlib/zconf.h cet.h \
++tomtom.o: tomtom.cc defs.h config.h  cet.h \
+   inifile.h gbfile.h session.h src/core/datetime.h src/core/optional.h
+-tpg.o: tpg.cc defs.h config.h zlib/zlib.h zlib/zconf.h cet.h inifile.h \
++tpg.o: tpg.cc defs.h config.h  cet.h inifile.h \
+   gbfile.h session.h src/core/datetime.h src/core/optional.h \
+   jeeps/gpsmath.h jeeps/gpsport.h
+-tpo.o: tpo.cc defs.h config.h zlib/zlib.h zlib/zconf.h cet.h inifile.h \
++tpo.o: tpo.cc defs.h config.h  cet.h inifile.h \
+   gbfile.h session.h src/core/datetime.h src/core/optional.h \
+   jeeps/gpsmath.h jeeps/gpsport.h
+-trackfilter.o: trackfilter.cc defs.h config.h zlib/zlib.h zlib/zconf.h \
++trackfilter.o: trackfilter.cc defs.h config.h  \
+   cet.h inifile.h gbfile.h session.h src/core/datetime.h \
+   src/core/optional.h filterdefs.h filter.h trackfilter.h grtcirc.h
+-transform.o: transform.cc defs.h config.h zlib/zlib.h zlib/zconf.h cet.h \
++transform.o: transform.cc defs.h config.h  cet.h \
+   inifile.h gbfile.h session.h src/core/datetime.h src/core/optional.h \
+   filterdefs.h filter.h transform.h
+-unicsv.o: unicsv.cc defs.h config.h zlib/zlib.h zlib/zconf.h cet.h \
++unicsv.o: unicsv.cc defs.h config.h  cet.h \
+   inifile.h gbfile.h session.h src/core/datetime.h src/core/optional.h \
+   csv_util.h garmin_fs.h jeeps/gps.h jeeps/../defs.h jeeps/gpsport.h \
+   jeeps/gpsdevice.h jeeps/gpssend.h jeeps/gpsread.h jeeps/gpsutil.h \
+   jeeps/gpsapp.h jeeps/gpsprot.h jeeps/gpscom.h jeeps/gpsfmt.h \
+   jeeps/gpsmath.h jeeps/gpsmem.h jeeps/gpsrqst.h garmin_tables.h \
+   src/core/logging.h src/core/textstream.h src/core/file.h
+-units.o: units.cc defs.h config.h zlib/zlib.h zlib/zconf.h cet.h \
++units.o: units.cc defs.h config.h  cet.h \
+   inifile.h gbfile.h session.h src/core/datetime.h src/core/optional.h
+-util.o: util.cc defs.h config.h zlib/zlib.h zlib/zconf.h cet.h inifile.h \
++util.o: util.cc defs.h config.h  cet.h inifile.h \
+   gbfile.h session.h src/core/datetime.h src/core/optional.h \
+   src/core/xmltag.h
+ util_crc.o: util_crc.cc
+-v900.o: v900.cc defs.h config.h zlib/zlib.h zlib/zconf.h cet.h inifile.h \
++v900.o: v900.cc defs.h config.h  cet.h inifile.h \
+   gbfile.h session.h src/core/datetime.h src/core/optional.h
+-validate.o: validate.cc defs.h config.h zlib/zlib.h zlib/zconf.h cet.h \
++validate.o: validate.cc defs.h config.h  cet.h \
+   inifile.h gbfile.h session.h src/core/datetime.h src/core/optional.h \
+   filterdefs.h filter.h validate.h
+-vcf.o: vcf.cc defs.h config.h zlib/zlib.h zlib/zconf.h cet.h inifile.h \
++vcf.o: vcf.cc defs.h config.h  cet.h inifile.h \
+   gbfile.h session.h src/core/datetime.h src/core/optional.h \
+   jeeps/gpsmath.h jeeps/gpsport.h
+-vecs.o: vecs.cc defs.h config.h zlib/zlib.h zlib/zconf.h cet.h inifile.h \
++vecs.o: vecs.cc defs.h config.h  cet.h inifile.h \
+   gbfile.h session.h src/core/datetime.h src/core/optional.h csv_util.h \
+   gbversion.h xcsv.h src/core/file.h
+-vidaone.o: vidaone.cc defs.h config.h zlib/zlib.h zlib/zconf.h cet.h \
++vidaone.o: vidaone.cc defs.h config.h  cet.h \
+   inifile.h gbfile.h session.h src/core/datetime.h src/core/optional.h
+-vitosmt.o: vitosmt.cc defs.h config.h zlib/zlib.h zlib/zconf.h cet.h \
++vitosmt.o: vitosmt.cc defs.h config.h  cet.h \
+   inifile.h gbfile.h session.h src/core/datetime.h src/core/optional.h \
+   grtcirc.h
+-vitovtt.o: vitovtt.cc defs.h config.h zlib/zlib.h zlib/zconf.h cet.h \
++vitovtt.o: vitovtt.cc defs.h config.h  cet.h \
+   inifile.h gbfile.h session.h src/core/datetime.h src/core/optional.h
+-vpl.o: vpl.cc defs.h config.h zlib/zlib.h zlib/zconf.h cet.h inifile.h \
++vpl.o: vpl.cc defs.h config.h  cet.h inifile.h \
+   gbfile.h session.h src/core/datetime.h src/core/optional.h
+-waypt.o: waypt.cc defs.h config.h zlib/zlib.h zlib/zconf.h cet.h \
++waypt.o: waypt.cc defs.h config.h  cet.h \
+   inifile.h gbfile.h session.h src/core/datetime.h src/core/optional.h \
+   garmin_fs.h jeeps/gps.h jeeps/../defs.h jeeps/gpsport.h \
+   jeeps/gpsdevice.h jeeps/gpssend.h jeeps/gpsread.h jeeps/gpsutil.h \
+   jeeps/gpsapp.h jeeps/gpsprot.h jeeps/gpscom.h jeeps/gpsfmt.h \
+   jeeps/gpsmath.h jeeps/gpsmem.h jeeps/gpsrqst.h grtcirc.h \
+   src/core/logging.h
+-wbt-200.o: wbt-200.cc defs.h config.h zlib/zlib.h zlib/zconf.h cet.h \
++wbt-200.o: wbt-200.cc defs.h config.h  cet.h \
+   inifile.h gbfile.h session.h src/core/datetime.h src/core/optional.h \
+   gbser.h grtcirc.h
+-wfff_xml.o: wfff_xml.cc defs.h config.h zlib/zlib.h zlib/zconf.h cet.h \
++wfff_xml.o: wfff_xml.cc defs.h config.h  cet.h \
+   inifile.h gbfile.h session.h src/core/datetime.h src/core/optional.h \
+   xmlgeneric.h
+-wintec_tes.o: wintec_tes.cc defs.h config.h zlib/zlib.h zlib/zconf.h \
++wintec_tes.o: wintec_tes.cc defs.h config.h  \
+   cet.h inifile.h gbfile.h session.h src/core/datetime.h \
+   src/core/optional.h
+-xcsv.o: xcsv.cc defs.h config.h zlib/zlib.h zlib/zconf.h cet.h inifile.h \
++xcsv.o: xcsv.cc defs.h config.h  cet.h inifile.h \
+   gbfile.h session.h src/core/datetime.h src/core/optional.h csv_util.h \
+   garmin_fs.h jeeps/gps.h jeeps/../defs.h jeeps/gpsport.h \
+   jeeps/gpsdevice.h jeeps/gpssend.h jeeps/gpsread.h jeeps/gpsutil.h \
+   jeeps/gpsapp.h jeeps/gpsprot.h jeeps/gpscom.h jeeps/gpsfmt.h \
+   jeeps/gpsmath.h jeeps/gpsmem.h jeeps/gpsrqst.h grtcirc.h \
+   src/core/file.h src/core/logging.h strptime.h xcsv.h xcsv_tokens.gperf
+-xmlgeneric.o: xmlgeneric.cc defs.h config.h zlib/zlib.h zlib/zconf.h \
++xmlgeneric.o: xmlgeneric.cc defs.h config.h  \
+   cet.h inifile.h gbfile.h session.h src/core/datetime.h \
+   src/core/optional.h cet_util.h src/core/file.h xmlgeneric.h
+-xmltag.o: xmltag.cc defs.h config.h zlib/zlib.h zlib/zconf.h cet.h \
++xmltag.o: xmltag.cc defs.h config.h  cet.h \
+   inifile.h gbfile.h session.h src/core/datetime.h src/core/optional.h \
+   cet_util.h src/core/xmltag.h
+-xol.o: xol.cc defs.h config.h zlib/zlib.h zlib/zconf.h cet.h inifile.h \
++xol.o: xol.cc defs.h config.h  cet.h inifile.h \
+   gbfile.h session.h src/core/datetime.h src/core/optional.h \
+   garmin_tables.h jeeps/gpsmath.h jeeps/gpsport.h src/core/file.h \
+   src/core/xmlstreamwriter.h xmlgeneric.h
+-yahoo.o: yahoo.cc defs.h config.h zlib/zlib.h zlib/zconf.h cet.h \
++yahoo.o: yahoo.cc defs.h config.h  cet.h \
+   inifile.h gbfile.h session.h src/core/datetime.h src/core/optional.h \
+   xmlgeneric.h
+-zlib/adler32.o: zlib/adler32.c zlib/zutil.h zlib/zlib.h zlib/zconf.h \
+-  config.h
+-zlib/compress.o: zlib/compress.c zlib/zlib.h zlib/zconf.h config.h
+-zlib/contrib/minizip/ioapi.o: zlib/contrib/minizip/ioapi.c \
+-  zlib/contrib/minizip/ioapi.h zlib/zlib.h zlib/zconf.h config.h
+-zlib/contrib/minizip/zip.o: zlib/contrib/minizip/zip.c zlib/zlib.h \
+-  zlib/zconf.h config.h zlib/contrib/minizip/zip.h \
+-  zlib/contrib/minizip/ioapi.h zlib/contrib/minizip/crypt.h
+-zlib/crc32.o: zlib/crc32.c zlib/zutil.h zlib/zlib.h zlib/zconf.h config.h \
+-  zlib/crc32.h
+-zlib/deflate.o: zlib/deflate.c zlib/deflate.h zlib/zutil.h zlib/zlib.h \
+-  zlib/zconf.h config.h
+-zlib/gzclose.o: zlib/gzclose.c zlib/gzguts.h zlib/zlib.h zlib/zconf.h \
+-  config.h
+-zlib/gzlib.o: zlib/gzlib.c zlib/gzguts.h zlib/zlib.h zlib/zconf.h \
+-  config.h
+-zlib/gzread.o: zlib/gzread.c zlib/gzguts.h zlib/zlib.h zlib/zconf.h \
+-  config.h
+-zlib/gzwrite.o: zlib/gzwrite.c zlib/gzguts.h zlib/zlib.h zlib/zconf.h \
+-  config.h
+-zlib/infback.o: zlib/infback.c zlib/zutil.h zlib/zlib.h zlib/zconf.h \
+-  config.h zlib/inftrees.h zlib/inflate.h zlib/inffast.h zlib/inffixed.h
+-zlib/inffast.o: zlib/inffast.c zlib/zutil.h zlib/zlib.h zlib/zconf.h \
+-  config.h zlib/inftrees.h zlib/inflate.h zlib/inffast.h
+-zlib/inflate.o: zlib/inflate.c zlib/zutil.h zlib/zlib.h zlib/zconf.h \
+-  config.h zlib/inftrees.h zlib/inflate.h zlib/inffast.h zlib/inffixed.h
+-zlib/inftrees.o: zlib/inftrees.c zlib/zutil.h zlib/zlib.h zlib/zconf.h \
+-  config.h zlib/inftrees.h
+-zlib/trees.o: zlib/trees.c zlib/deflate.h zlib/zutil.h zlib/zlib.h \
+-  zlib/zconf.h config.h zlib/trees.h
+-zlib/uncompr.o: zlib/uncompr.c zlib/zlib.h zlib/zconf.h config.h
+-zlib/zutil.o: zlib/zutil.c zlib/zutil.h zlib/zlib.h zlib/zconf.h config.h \
+-  zlib/gzguts.h
+ internal_styles.cc: mkstyle.sh $(srcdir)/style/*.style
+       $(srcdir)/mkstyle.sh > internal_styles.cc || (rm -f internal_styles.cc ; exit 1)
diff --git a/patches/0007-Use-system-shapelib.patch b/patches/0007-Use-system-shapelib.patch
new file mode 100644 (file)
index 0000000..ac385f6
--- /dev/null
@@ -0,0 +1,69 @@
+From: Jochen Sprickerhof <git@jochen.sprickerhof.de>
+Date: Thu, 30 May 2019 12:10:23 +0200
+Subject: Use system shapelib
+
+---
+ Makefile.in  | 7 ++-----
+ configure.ac | 3 +++
+ shape.cc     | 2 +-
+ 3 files changed, 6 insertions(+), 6 deletions(-)
+
+diff --git a/Makefile.in b/Makefile.in
+index eb0f120..a1bec30 100644
+--- a/Makefile.in
++++ b/Makefile.in
+@@ -105,8 +105,6 @@ JEEPS=jeeps/gpsapp.o jeeps/gpscom.o \
+ # Extra modules in Jeeps that we don't use
+ #     jeeps/gpsfmt.o jeeps/gpsinput.o jeeps/gpsproj.o
+-SHAPE=shapelib/shpopen.o shapelib/dbfopen.o shapelib/safileio.o
+-
+ LIBOBJS = route.o waypt.o filter_vecs.o util.o vecs.o mkshort.o \
+           csv_util.o strptime.o grtcirc.o util_crc.o xmlgeneric.o \
+           formspec.o xmltag.o cet.o cet_util.o fatal.o rgbcolors.o \
+@@ -115,7 +113,7 @@ LIBOBJS = route.o waypt.o filter_vecs.o util.o vecs.o mkshort.o \
+     src/core/textstream.o \
+         src/core/usasciicodec.o \
+         src/core/xmlstreamwriter.o \
+-        $(GARMIN) $(JEEPS) $(SHAPE) $(FMTS) $(FILTERS)
++        $(GARMIN) $(JEEPS) $(FMTS) $(FILTERS)
+ OBJS = main.o globals.o $(LIBOBJS) @FILEINFO@
+ DEPFILES = $(OBJS:.o=.d)
+@@ -903,8 +901,7 @@ sbp.o: sbp.cc defs.h config.h  cet.h inifile.h \
+ session.o: session.cc defs.h config.h  cet.h \
+   inifile.h gbfile.h session.h src/core/datetime.h src/core/optional.h
+ shape.o: shape.cc defs.h config.h  cet.h \
+-  inifile.h gbfile.h session.h src/core/datetime.h src/core/optional.h \
+-  shapelib/shapefil.h
++  inifile.h gbfile.h session.h src/core/datetime.h src/core/optional.h
+ shapelib/dbfopen.o: shapelib/dbfopen.c shapelib/shapefil.h
+ shapelib/safileio.o: shapelib/safileio.c shapelib/shapefil.h
+ shapelib/shpopen.o: shapelib/shpopen.c shapelib/shapefil.h
+diff --git a/configure.ac b/configure.ac
+index ceaefd3..1fb4a91 100644
+--- a/configure.ac
++++ b/configure.ac
+@@ -67,6 +67,9 @@ AC_ARG_ENABLE([shapefile],
+       [AS_VAR_SET([enable_shapefile], [yes])])
+ AS_IF([test "$enable_shapefile" = "yes"], [
+       AC_DEFINE(SHAPELIB_ENABLED, 1, [1 to enable shapefile support])
++      PKG_CHECK_MODULES(SHAPELIB, shapelib)
++      CPPFLAGS="$CPPFLAGS $SHAPELIB_CFLAGS"
++      LIBS="$LIBS $SHAPELIB_LIBS"
+ ])
+ AC_MSG_RESULT([$enable_shapefile])
+diff --git a/shape.cc b/shape.cc
+index bdc2961..fce500b 100644
+--- a/shape.cc
++++ b/shape.cc
+@@ -25,7 +25,7 @@
+ #include <QtCore/QVector>
+ #include "defs.h"
+-#include "shapelib/shapefil.h"
++#include <shapefil.h>
+ #include <cstdlib>
+ #if SHAPELIB_ENABLED
diff --git a/patches/0008-Use-usb.h-from-system-include-dir.patch b/patches/0008-Use-usb.h-from-system-include-dir.patch
new file mode 100644 (file)
index 0000000..8c052e0
--- /dev/null
@@ -0,0 +1,35 @@
+From: Jochen Sprickerhof <git@jochen.sprickerhof.de>
+Date: Thu, 30 May 2019 12:10:47 +0200
+Subject: Use usb.h from system include dir
+
+---
+ Makefile.in        | 2 +-
+ jeeps/gpslibusb.cc | 2 +-
+ 2 files changed, 2 insertions(+), 2 deletions(-)
+
+diff --git a/Makefile.in b/Makefile.in
+index a1bec30..f6c341f 100644
+--- a/Makefile.in
++++ b/Makefile.in
+@@ -680,7 +680,7 @@ jeeps/gpsdevice_usb.o: jeeps/gpsdevice_usb.cc jeeps/gps.h jeeps/../defs.h \
+   jeeps/gpsapp.h jeeps/gpsprot.h jeeps/gpscom.h jeeps/gpsfmt.h \
+   jeeps/gpsmath.h jeeps/gpsmem.h jeeps/gpsrqst.h jeeps/garminusb.h \
+   jeeps/gpsusbcommon.h jeeps/gpsusbint.h
+-jeeps/gpslibusb.o: jeeps/gpslibusb.cc config.h mac/libusb/usb.h \
++jeeps/gpslibusb.o: jeeps/gpslibusb.cc config.h \
+   jeeps/gps.h jeeps/../defs.h cet.h inifile.h \
+   gbfile.h defs.h session.h src/core/datetime.h src/core/optional.h \
+   jeeps/gpsport.h jeeps/gpsdevice.h jeeps/gpssend.h jeeps/gpsread.h \
+diff --git a/jeeps/gpslibusb.cc b/jeeps/gpslibusb.cc
+index 7017969..3f7ff28 100644
+--- a/jeeps/gpslibusb.cc
++++ b/jeeps/gpslibusb.cc
+@@ -31,7 +31,7 @@
+      // We use our own (slightly modified) libusb.
+ #    include "mac/libusb/usb.h"
+ #  else
+-#    include "usb.h"
++#    include <usb.h>
+ #  endif
+ #include "gps.h"
+ #include "garminusb.h"
diff --git a/patches/0009-Don-t-pass-MAKEFLAGS-to-MAKE.patch b/patches/0009-Don-t-pass-MAKEFLAGS-to-MAKE.patch
new file mode 100644 (file)
index 0000000..839945c
--- /dev/null
@@ -0,0 +1,42 @@
+From: Jochen Sprickerhof <git@jochen.sprickerhof.de>
+Date: Fri, 26 Jul 2019 10:49:11 +0200
+Subject: Don't pass MAKEFLAGS to $(MAKE)
+MIME-Version: 1.0
+Content-Type: text/plain; charset="utf-8"
+Content-Transfer-Encoding: 8bit
+
+make will pass them automatically. Also they are not meant to be
+consumed by make as they are stripped:
+
+Thus, if you do ‘make -ks’ then MAKEFLAGS gets the value ‘ks’.
+
+https://www.gnu.org/software/make/manual/html_node/Options_002fRecursion.html
+---
+ Makefile.in | 6 +++---
+ 1 file changed, 3 insertions(+), 3 deletions(-)
+
+diff --git a/Makefile.in b/Makefile.in
+index f6c341f..f376e46 100644
+--- a/Makefile.in
++++ b/Makefile.in
+@@ -382,17 +382,17 @@ rpm: changes.html
+       tools/mkrpm $(WEB) $(VERSD) $(RELEASE)
+ gui: gpsbabel$(EXEEXT)
+-      cd gui ; $(QMAKE) app.pro && $(MAKE) $(MAKEFLAGS)
++      cd gui ; $(QMAKE) app.pro && $(MAKE)
+ linux-gui: gui
+-      cd gui; $(MAKE) $(MAKEFLAGS) package
++      cd gui; $(MAKE) package
+ # Build the Qt front end, place GPSBabel in the right place, deploy all
+ # the libs.
+ mac-gui: gui
+       rm -f gui/GPSBabelFE.dmg
+-      cd gui; $(MAKE) $(MAKEFLAGS) package
++      cd gui; $(MAKE) package
+       mv gui/GPSBabelFE.dmg  gui/GPSBabel-$(VERSIOND).dmg
+ # release check using CVS tree
diff --git a/patches/0010-Fix-manpage-xml.patch b/patches/0010-Fix-manpage-xml.patch
new file mode 100644 (file)
index 0000000..8c300cd
--- /dev/null
@@ -0,0 +1,21 @@
+From: Jochen Sprickerhof <git@jochen.sprickerhof.de>
+Date: Tue, 3 Sep 2019 21:06:38 +0200
+Subject: Fix manpage xml
+
+---
+ xmldoc/gpsbabel_man.xml | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/xmldoc/gpsbabel_man.xml b/xmldoc/gpsbabel_man.xml
+index 621f080..522bc83 100644
+--- a/xmldoc/gpsbabel_man.xml
++++ b/xmldoc/gpsbabel_man.xml
+@@ -32,7 +32,7 @@
+       Magellan) connected by a serial or USB port.
+ </para>
+-</para>
++<para>
+       By flattening the Tower of Babel that the authors of various programs
+       for manipulating GPS data have imposed upon us, it returns to us the
+       ability to freely move our own waypoint data between the programs and
diff --git a/patches/0011-Fix-exec-in-gpsbabel.desktop.patch b/patches/0011-Fix-exec-in-gpsbabel.desktop.patch
new file mode 100644 (file)
index 0000000..724056b
--- /dev/null
@@ -0,0 +1,20 @@
+From: Jochen Sprickerhof <git@jochen.sprickerhof.de>
+Date: Sun, 16 Jun 2019 16:09:18 +0200
+Subject: Fix exec in gpsbabel.desktop
+
+---
+ gui/gpsbabel.desktop | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/gui/gpsbabel.desktop b/gui/gpsbabel.desktop
+index 4ae4525..fe956c2 100644
+--- a/gui/gpsbabel.desktop
++++ b/gui/gpsbabel.desktop
+@@ -4,6 +4,6 @@ Name=GPSBabel
+ Comment=Qt GUI interface for GPSBabel
+ GenericName=GPSBabel
+ Icon=gpsbabel
+-Exec=gpsbabelfe-bin
++Exec=gpsbabelfe
+ Terminal=false
+ Categories=Geography;Education;Utility;
diff --git a/patches/cross.patch b/patches/cross.patch
new file mode 100644 (file)
index 0000000..a0ae1f6
--- /dev/null
@@ -0,0 +1,12 @@
+--- gpsbabel-1.6.0+ds.orig/configure.ac
++++ gpsbabel-1.6.0+ds/configure.ac
+@@ -364,7 +364,8 @@
+                       [AC_MSG_RESULT(rpath required)],
+                       [AC_MSG_FAILURE(loader cannot find Qt library)
+                       LDFLAGS="$OLDFLAGS"]
+-                      )]
++                      )],
++              [AC_MSG_RESULT(cross. assuming rpath not needed)]
+               )
+       CPPFLAGS="$OCPPFLAGS"
+       LIBS="$OLIBS"
diff --git a/patches/gpsbabelfe_disable_version_check b/patches/gpsbabelfe_disable_version_check
new file mode 100644 (file)
index 0000000..60bd3a2
--- /dev/null
@@ -0,0 +1,47 @@
+Disable version mismatch check.
+
+--- a/gui/preferences.ui
++++ b/gui/preferences.ui
+@@ -53,13 +53,6 @@
+           </property>
+          </widget>
+         </item>
+-        <item>
+-         <widget class="QCheckBox" name="ignoreVersionMismatchCheck">
+-          <property name="text">
+-           <string>Ignore mismatch between command line and GUI version.</string>
+-          </property>
+-         </widget>
+-        </item>
+        </layout>
+       </widget>
+      </widget>
+--- a/gui/preferences.cc
++++ b/gui/preferences.cc
+@@ -43,7 +43,6 @@ Preferences::Preferences(QWidget* parent, QList<Format>& formatList,
+   ui_.startupCheck->setChecked(babelData_.startupVersionCheck_);
+   ui_.reportStatisticsCheck->setChecked(babelData_.reportStatistics_);
+-  ui_.ignoreVersionMismatchCheck->setChecked(babelData_.ignoreVersionMismatch_);
+   // Because of an unfortunate bug in 1.4.0, we turn this off in 1.4.1.
+   if (VERSION == QString("1.4.1")) {
+     babelData_.ignoreVersionMismatch_ = false;
+@@ -87,7 +86,6 @@ void Preferences::acceptClicked()
+   babelData_.startupVersionCheck_ = ui_.startupCheck->isChecked();
+   babelData_.reportStatistics_ = ui_.reportStatisticsCheck->isChecked();
+-  babelData_.ignoreVersionMismatch_ = ui_.ignoreVersionMismatchCheck->isChecked();
+   accept();
+ }
+--- a/gui/babeldata.h
++++ b/gui/babeldata.h
+@@ -67,7 +67,7 @@ public:
+     startupVersionCheck_(true),
+     reportStatistics_(true),
+     allowBetaUpgrades_(false),
+-    ignoreVersionMismatch_(false),
++    ignoreVersionMismatch_(true),
+     disableDonateDialog_(false),
+     donateSplashed_(QDateTime(QDate(2010, 1, 1), QTime(0, 0, 0)))
+   {
diff --git a/patches/gpsbabelfe_do-not-check-for-newer-version b/patches/gpsbabelfe_do-not-check-for-newer-version
new file mode 100644 (file)
index 0000000..59affa1
--- /dev/null
@@ -0,0 +1,110 @@
+Disable check for newer versions on start.
+
+--- a/gui/preferences.ui
++++ b/gui/preferences.ui
+@@ -40,13 +40,6 @@
+        </property>
+        <layout class="QVBoxLayout" name="verticalLayout_4">
+         <item>
+-         <widget class="QCheckBox" name="startupCheck">
+-          <property name="text">
+-           <string>Check for newer version on start.</string>
+-          </property>
+-         </widget>
+-        </item>
+-        <item>
+          <widget class="QCheckBox" name="reportStatisticsCheck">
+           <property name="text">
+            <string>Anonymously report usage data.</string>
+--- a/gui/preferences.cc
++++ b/gui/preferences.cc
+@@ -41,7 +41,6 @@ Preferences::Preferences(QWidget* parent, QList<Format>& formatList,
+ {
+   ui_.setupUi(this);
+-  ui_.startupCheck->setChecked(babelData_.startupVersionCheck_);
+   ui_.reportStatisticsCheck->setChecked(babelData_.reportStatistics_);
+   // Because of an unfortunate bug in 1.4.0, we turn this off in 1.4.1.
+   if (VERSION == QString("1.4.1")) {
+@@ -84,7 +83,6 @@ void Preferences::acceptClicked()
+     formatList_[i].setHidden(item->checkState() == Qt::Unchecked);
+   }
+-  babelData_.startupVersionCheck_ = ui_.startupCheck->isChecked();
+   babelData_.reportStatistics_ = ui_.reportStatisticsCheck->isChecked();
+   accept();
+ }
+--- a/gui/babeldata.h
++++ b/gui/babeldata.h
+@@ -64,7 +64,7 @@ public:
+     upgradeErrors_(0),
+     upgradeOffers_(0),
+     runCount_(0),
+-    startupVersionCheck_(true),
++    startupVersionCheck_(false),
+     reportStatistics_(false),
+     allowBetaUpgrades_(false),
+     ignoreVersionMismatch_(true),
+--- a/gui/mainwinui.ui
++++ b/gui/mainwinui.ui
+@@ -637,7 +637,6 @@
+     <addaction name="actionHelp"/>
+     <addaction name="separator"/>
+     <addaction name="actionAbout"/>
+-    <addaction name="actionUpgradeCheck"/>
+     <addaction name="separator"/>
+     <addaction name="actionVisit_Website"/>
+     <addaction name="actionMake_a_Donation"/>
+@@ -666,11 +665,6 @@
+     <string>Preferences...</string>
+    </property>
+   </action>
+-  <action name="actionUpgradeCheck">
+-   <property name="text">
+-    <string>Check for Upgrade</string>
+-   </property>
+-  </action>
+   <action name="actionVisit_Website">
+    <property name="text">
+     <string>Visit Website...</string>
+--- a/gui/mainwindow.cc
++++ b/gui/mainwindow.cc
+@@ -174,7 +174,6 @@ MainWindow::MainWindow(QWidget* parent): QMainWindow(parent)
+   connect(ui_.actionAbout, SIGNAL(triggered()), this, SLOT(aboutActionX()));
+   connect(ui_.actionVisit_Website, SIGNAL(triggered()), this, SLOT(visitWebsiteActionX()));
+   connect(ui_.actionMake_a_Donation, SIGNAL(triggered()), this, SLOT(donateActionX()));
+-  connect(ui_.actionUpgradeCheck, SIGNAL(triggered()), this, SLOT(upgradeCheckActionX()));
+   connect(ui_.actionPreferences, SIGNAL(triggered()), this, SLOT(preferencesActionX()));
+   connect(ui_.inputFormatCombo,  SIGNAL(currentIndexChanged(int)),
+@@ -234,19 +233,7 @@ MainWindow::MainWindow(QWidget* parent): QMainWindow(parent)
+   //--- Restore from registry
+   restoreSettings();
+-
+   upgrade = new UpgradeCheck(parent, formatList_, babelData_);
+-  if (babelData_.startupVersionCheck_) {
+-    upgrade->checkForUpgrade(babelVersion_, babelData_.upgradeCheckTime_,
+-                             allowBetaUpgrades());
+-  }
+-
+-  if (!babelData_.ignoreVersionMismatch_ && babelVersion_ != VERSION) {
+-    VersionMismatch vm(nullptr, babelVersion_, QString(VERSION));
+-
+-    vm.exec();
+-    babelData_.ignoreVersionMismatch_ = vm.neverAgain();
+-  }
+ }
+ //------------------------------------------------------------------------
+@@ -1072,10 +1059,6 @@ void MainWindow::applyActionX()
+ //------------------------------------------------------------------------
+ void MainWindow::closeActionX()
+ {
+-  QDateTime wt= upgrade->getUpgradeWarningTime();
+-  if (wt.isValid()) {
+-    babelData_.upgradeCheckTime_ = wt;
+-  }
+   babelData_.runCount_++;
+   QDateTime now = QDateTime::currentDateTime();
diff --git a/patches/gpsbabelfe_opt-in-for-usage-data-reporting b/patches/gpsbabelfe_opt-in-for-usage-data-reporting
new file mode 100644 (file)
index 0000000..6cd4c20
--- /dev/null
@@ -0,0 +1,12 @@
+Make statistics reporting an opt-in option.
+--- a/gui/babeldata.h
++++ b/gui/babeldata.h
+@@ -65,7 +65,7 @@ public:
+     upgradeOffers_(0),
+     runCount_(0),
+     startupVersionCheck_(true),
+-    reportStatistics_(true),
++    reportStatistics_(false),
+     allowBetaUpgrades_(false),
+     ignoreVersionMismatch_(true),
+     disableDonateDialog_(false),
diff --git a/patches/htmldoc-location b/patches/htmldoc-location
new file mode 100644 (file)
index 0000000..0bdf6fc
--- /dev/null
@@ -0,0 +1,19 @@
+--- a/gbversion.h.in
++++ b/gbversion.h.in
+@@ -5,4 +5,4 @@
+  * Isn't simplification via automation grand?
+  */
+ #define VERSION "@GBMAJOR@.@GBMINOR@.@GBMICRO@@PACKAGE_RELEASE@"
+-#define WEB_DOC_DIR "http://www.gpsbabel.org/htmldoc-@DOCVERSION@"
++#define WEB_DOC_DIR "file:///usr/share/doc/gpsbabel/gpsbabel.html"
+--- a/xmldoc/gpsbabel_man.xml
++++ b/xmldoc/gpsbabel_man.xml
+@@ -79,7 +79,7 @@ or as the backend for other tools. </para> </refsect1>
+       <listitem> <para>Display help that is more exhaustive than this page.  If <replaceable>format</replaceable> is given, provide help for only that format.</para> </listitem>
+ </varlistentry>
+ </variablelist>
+-<para>Lists of filters and formats are given in the doc at http://www.gpsbabel.org. </para>
++<para>Lists of filters and formats are given in the doc at /usr/share/doc/gpsbabel/. </para>
+ </refsect1>
+ <refsect1><title>See Also</title>
diff --git a/patches/series b/patches/series
new file mode 100644 (file)
index 0000000..f493722
--- /dev/null
@@ -0,0 +1,11 @@
+gpsbabelfe_disable_version_check
+gpsbabelfe_opt-in-for-usage-data-reporting
+gpsbabelfe_do-not-check-for-newer-version
+htmldoc-location
+0006-Use-system-zlib.patch
+0007-Use-system-shapelib.patch
+0008-Use-usb.h-from-system-include-dir.patch
+0011-Fix-exec-in-gpsbabel.desktop.patch
+0009-Don-t-pass-MAKEFLAGS-to-MAKE.patch
+0010-Fix-manpage-xml.patch
+cross.patch
diff --git a/rules b/rules
new file mode 100755 (executable)
index 0000000..480383b
--- /dev/null
+++ b/rules
@@ -0,0 +1,38 @@
+#!/usr/bin/make -f
+
+%:
+       dh $@
+
+export DEB_BUILD_MAINT_OPTIONS = hardening=+all
+DOCTEMP = $(CURDIR)/debian/doctmp
+include /usr/share/dpkg/pkg-info.mk
+
+# Extended precision on i386 results in weird bugs, so we build
+# with -ffloat-store.
+ifneq (,$(filter $(DEB_BUILD_ARCH),i386))
+CFLAGS += -ffloat-store
+endif
+
+override_dh_auto_configure:
+       dh_auto_configure -- \
+               --with-zlib=system \
+               --with-doc=$(DOCTEMP) \
+               --prefix=/usr
+       convert -resize 32x32 gui/images/appicon.png debian/gpsbabel.xpm
+       xsltproc --output debian/gpsbabel.1 /usr/share/xml/docbook/stylesheet/docbook-xsl/manpages/docbook.xsl xmldoc/gpsbabel_man.xml
+
+override_dh_auto_build-arch:
+       dh_auto_build
+       if dpkg -s qtwebengine5-dev; then $(MAKE) gui; fi
+
+override_dh_auto_build-indep:
+       $(MAKE) doc
+       $(MAKE) gpsbabel.html
+
+# Ignore broken unit tests on other architectures
+override_dh_auto_test:
+ifneq (,$(filter $(DEB_BUILD_ARCH),amd64 armel armhf i386 mips64el mipsel m68k sh4))
+       dh_auto_test
+else
+       dh_auto_test || true
+endif
diff --git a/source/format b/source/format
new file mode 100644 (file)
index 0000000..163aaf8
--- /dev/null
@@ -0,0 +1 @@
+3.0 (quilt)
diff --git a/watch b/watch
new file mode 100644 (file)
index 0000000..d80f371
--- /dev/null
+++ b/watch
@@ -0,0 +1,4 @@
+version=4
+opts="mode=git, uversionmangle=tr/_/./, repacksuffix=+ds, dversionmangle=s/\+ds//" \
+https://github.com/gpsbabel/gpsbabel.git \
+refs/tags/gpsbabel_([\d_]+) debian uupdate