Import gpsbabel_1.8.0+ds-5.debian.tar.xz
authorJochen Sprickerhof <jspricke@debian.org>
Sat, 25 Jun 2022 19:49:08 +0000 (20:49 +0100)
committerJochen Sprickerhof <jspricke@debian.org>
Sat, 25 Jun 2022 19:49:08 +0000 (20:49 +0100)
[dgit import tarball gpsbabel 1.8.0+ds-5 gpsbabel_1.8.0+ds-5.debian.tar.xz]

26 files changed:
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/0007-Add-workaround-for-failing-test-on-i386.patch [new file with mode: 0644]
patches/0008-Add-Debian-build-flags.patch [new file with mode: 0644]
patches/0009-Ignore-errors-during-lconvert.patch [new file with mode: 0644]
patches/831.patch [new file with mode: 0644]
patches/Disable-donation-nagging [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]
upstream/metadata [new file with mode: 0644]
watch [new file with mode: 0644]

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..b09f4aa
--- /dev/null
+++ b/changelog
@@ -0,0 +1,547 @@
+gpsbabel (1.8.0+ds-5) unstable; urgency=medium
+
+  [ Debian Janitor ]
+  * Use secure URI in Homepage field.
+  * Set upstream metadata fields: Bug-Database, Bug-Submit.
+
+  [ Jochen Sprickerhof ]
+  * Add upstream source
+  * Add workaround for failing lconvert (Closes: #1013610)
+  * Bump policy version (no changes)
+
+ -- Jochen Sprickerhof <jspricke@debian.org>  Sat, 25 Jun 2022 21:49:08 +0200
+
+gpsbabel (1.8.0+ds-4) unstable; urgency=medium
+
+  * Drop gmapbase.html (embedded in gpsbabelfe)
+  * Fix HTML documentation.
+    Thanks to tsteven4
+
+ -- Jochen Sprickerhof <jspricke@debian.org>  Tue, 25 Jan 2022 23:19:17 +0100
+
+gpsbabel (1.8.0+ds-3) unstable; urgency=medium
+
+  * Add qttranslations5-l10n to -gui
+  * Add support for Hurd
+
+ -- Jochen Sprickerhof <jspricke@debian.org>  Mon, 24 Jan 2022 16:09:49 +0100
+
+gpsbabel (1.8.0+ds-2) unstable; urgency=medium
+
+  * Add patch for failing test on i386
+  * Use Debian build flags for the GUI
+
+ -- Jochen Sprickerhof <jspricke@debian.org>  Sun, 23 Jan 2022 22:24:45 +0100
+
+gpsbabel (1.8.0+ds-1) unstable; urgency=medium
+
+  * Update Files-Excluded for new upstream version
+  * New upstream version
+  * Rebase patches
+  * Update copyright
+  * Port to qmake
+  * Bump policy versions (no changes)
+  * Update build systems of gpsbabel-gui
+  * Update supported formats
+  * Drop trailing whitespace to please lintian
+  * Add missing build dependency
+  * Support translated gui
+  * Add patch for donation nagging
+
+ -- Jochen Sprickerhof <jspricke@debian.org>  Sun, 23 Jan 2022 21:25:59 +0100
+
+gpsbabel (1.7.0+ds-7) unstable; urgency=medium
+
+  [ Lisandro Damián Nicanor Pérez Meyer ]
+  * Remove qt5-default from build dependencies (Closes: #972164).
+    - Replace it with qtbase5-dev, which is the appropriate one.
+    - Export QT_SELECT := qt5 to let qtchooser use the right Qt version.
+
+ -- Jochen Sprickerhof <jspricke@debian.org>  Sat, 17 Oct 2020 12:37:40 +0200
+
+gpsbabel (1.7.0+ds-6) unstable; urgency=medium
+
+  * Set TZ for tests
+
+ -- Jochen Sprickerhof <jspricke@debian.org>  Tue, 13 Oct 2020 22:39:49 +0200
+
+gpsbabel (1.7.0+ds-5) unstable; urgency=medium
+
+  * Add patch for i386 test failure
+
+ -- Jochen Sprickerhof <jspricke@debian.org>  Fri, 07 Aug 2020 15:38:18 +0200
+
+gpsbabel (1.7.0+ds-4) unstable; urgency=medium
+
+  * Add patch for endianness issues
+
+ -- Jochen Sprickerhof <jspricke@debian.org>  Fri, 07 Aug 2020 11:31:04 +0200
+
+gpsbabel (1.7.0+ds-3) unstable; urgency=medium
+
+  * Fix test logic
+
+ -- Jochen Sprickerhof <jspricke@debian.org>  Fri, 10 Jul 2020 16:13:04 +0200
+
+gpsbabel (1.7.0+ds-2) unstable; urgency=medium
+
+  * Update arch list that ignore test result
+
+ -- Jochen Sprickerhof <jspricke@debian.org>  Fri, 10 Jul 2020 15:09:25 +0200
+
+gpsbabel (1.7.0+ds-1) unstable; urgency=medium
+
+  * New upstream version
+  * Update file excludes
+  * Update d/copyright
+  * Simplify d/watch
+  * rebase patches
+  * bump debhelper version (no changes)
+  * Depend on libusb-1.0-0-dev (Closes: #810420)
+
+ -- Jochen Sprickerhof <jspricke@debian.org>  Thu, 09 Jul 2020 21:54:33 +0200
+
+gpsbabel (1.6.0+ds-11) unstable; urgency=medium
+
+  * Add patch for strcmp (Closes: #957304)
+  * bump policy version (no changes)
+
+ -- Jochen Sprickerhof <jspricke@debian.org>  Tue, 21 Apr 2020 19:40:57 +0200
+
+gpsbabel (1.6.0+ds-10) unstable; urgency=medium
+
+  * [a1fdee8] Install gmapbase.html.
+    Also patch a useful path into gpsbabelfe. (LP: #1015886)
+
+ -- Bernd Zeimetz <bzed@debian.org>  Sun, 22 Dec 2019 00:27:08 +0100
+
+gpsbabel (1.6.0+ds-9) unstable; urgency=medium
+
+  * [a1fdee8] Install gmapbase.html.
+    Also patch a useful path into gpsbabelfe. (LP: #1015886)
+
+ -- Bernd Zeimetz <bzed@debian.org>  Sat, 21 Dec 2019 23:45:28 +0100
+
+gpsbabel (1.6.0+ds-8) unstable; urgency=medium
+
+  * Add patch for "super gps"
+    Thanks to Tim Connors (Closes: #935373)
+
+ -- Jochen Sprickerhof <jspricke@debian.org>  Tue, 24 Sep 2019 22:09:09 +0200
+
+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..613e2c2
--- /dev/null
+++ b/clean
@@ -0,0 +1,3 @@
+debian/gpsbabel.1
+debian/gpsbabel.xpm
+html/
diff --git a/control b/control
new file mode 100644 (file)
index 0000000..aeac5f4
--- /dev/null
+++ b/control
@@ -0,0 +1,83 @@
+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 (= 13),
+ qt5-qmake,
+ pkg-config,
+ libexpat1-dev, expat,
+ libxml2-utils,
+ libusb-1.0-0-dev, zlib1g-dev,
+ libshp-dev,
+ qtbase5-dev,
+ qtwebengine5-dev [amd64 arm64 armhf i386 mips64el mipsel],
+ qttools5-dev-tools,
+ libqt5serialport5-dev,
+ qttranslations5-l10n,
+ imagemagick,
+ locales-all,
+ xsltproc,
+ docbook-xsl
+Build-Depends-Indep: fop, docbook-xml, libpaper-dev
+Standards-Version: 4.6.1
+Rules-Requires-Root: no
+Homepage: https://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:
+ .
+ CSV, Custom CSV DNA, EasyGPS Binary, Fugawi, Garmin serial, Geocaching.com
+ loc, GPSDrive, GPX, Holux, IGC, Magellan serial, Magellan SD, Mapopolis.Com
+ Mapconverter, Mapsource, Maptech, Microsoft Streets and Trips, NIMA/GNIS
+ Geographic Names, NMEA sentences, OziExplorer, Tab-separated data, Topo by
+ National Geographic, xcsv
+
+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 mips64el mipsel
+Depends: ${shlibs:Depends}, ${misc:Depends}, gpsbabel (= ${binary:Version}), gpsbabel-doc (= ${source:Version})
+Recommends: qttranslations5-l10n
+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..5fdba60
--- /dev/null
+++ b/copyright
@@ -0,0 +1,153 @@
+Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Source: https://github.com/gpsbabel/gpsbabel
+Files-Excluded: deprecated/gui/serial_mac.cc
+                mac
+                shapelib
+                tools/qtci
+                tools/uploadtool
+                zlib
+Comment: serial_mac, mac, qtci, uploadtool: unused
+         shapelib, zlib: packaged in Debian
+
+Files: *
+Copyright: 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>
+           2019, Martin Buck <mb-tmp-tvguho.pbz@gromit.dyndns.org>
+           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>
+           2005-2008, Olaf Klein <o.b.klein@gpsbabel.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>
+           2020, Pierre Bernard <pierre.bernard@houdah.com>
+           2014-2020, Ralf Horstmann <ralf@ackstorm.de>
+           2003, Rick Richardson <rickr@mn.rr.com>
+           2001-2022, Robert Lipe <robertlipe@gpsbabel.org>
+           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>
+           2014, Zingo Andersen <zingo@vectrace.com>
+           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: deprecated/queue.h
+Copyright: 2002-2005, Robert Lipe <robertlipe@usa.net>
+           2001, Simon Tatham
+License: Expat or GPL-2+
+
+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: 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: 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..bdf0abf
--- /dev/null
@@ -0,0 +1,10 @@
+Document: gpsbabel
+Title: gpsbabel filter and format documentation
+Section: Science/Geoscience
+
+Format: HTML
+Files: /usr/share/doc/gpsbabel/html/
+Index: /usr/share/doc/gpsbabel/html/index.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..cd1b4a5
--- /dev/null
@@ -0,0 +1,2 @@
+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..b8a5e6e
--- /dev/null
@@ -0,0 +1 @@
+gpsbabel usr/bin
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/0007-Add-workaround-for-failing-test-on-i386.patch b/patches/0007-Add-workaround-for-failing-test-on-i386.patch
new file mode 100644 (file)
index 0000000..97f9d8d
--- /dev/null
@@ -0,0 +1,19 @@
+From: Jochen Sprickerhof <git@jochen.sprickerhof.de>
+Date: Sun, 23 Jan 2022 22:22:53 +0100
+Subject: Add workaround for failing test on i386
+
+---
+ testo.d/nmea.test | 2 ++
+ 1 file changed, 2 insertions(+)
+
+diff --git a/testo.d/nmea.test b/testo.d/nmea.test
+index 01b0485..85ae886 100644
+--- a/testo.d/nmea.test
++++ b/testo.d/nmea.test
+@@ -42,4 +42,6 @@ compare ${REFERENCE}/track/addmultipledays.csv ${TMPDIR}/addmultipledaysmid.csv
+ # test date time parsing
+ gpsbabel -t -i nmea -f ${REFERENCE}/track/nmeadatetime.nmea -o unicsv,utc=0 -F ${TMPDIR}/nmeadatetime.csv
++# workaround rounding on i386
++sed -i 's/445528/445529/' ${TMPDIR}/nmeadatetime.csv
+ compare ${REFERENCE}/track/nmeadatetime.csv ${TMPDIR}/nmeadatetime.csv
diff --git a/patches/0008-Add-Debian-build-flags.patch b/patches/0008-Add-Debian-build-flags.patch
new file mode 100644 (file)
index 0000000..83345bb
--- /dev/null
@@ -0,0 +1,25 @@
+From: Jochen Sprickerhof <git@jochen.sprickerhof.de>
+Date: Sun, 23 Jan 2022 22:54:24 +0100
+Subject: Add Debian build flags
+
+---
+ gui/app.pro | 6 ++++++
+ 1 file changed, 6 insertions(+)
+
+diff --git a/gui/app.pro b/gui/app.pro
+index 81385bf..d4c1ef1 100755
+--- a/gui/app.pro
++++ b/gui/app.pro
+@@ -49,6 +49,12 @@ win32-g++ {
+   QMAKE_LFLAGS_RELEASE += -static-libgcc
+ }
++QMAKE_CPPFLAGS *= $(shell dpkg-buildflags --get CPPFLAGS)
++QMAKE_CFLAGS   *= $(shell dpkg-buildflags --get CFLAGS)
++QMAKE_CXXFLAGS *= $(shell dpkg-buildflags --get CXXFLAGS)
++QMAKE_CXXFLAGS += $(shell dpkg-buildflags --get CPPFLAGS)
++QMAKE_LFLAGS   *= $(shell dpkg-buildflags --get LDFLAGS)
++
+ # Set QMAKE_TARGET_BUNDLE_PREFIX so we get the correct CFBundleIdentifier in Info.plist
+ darwin:QMAKE_TARGET_BUNDLE_PREFIX=org.gpsbabel
diff --git a/patches/0009-Ignore-errors-during-lconvert.patch b/patches/0009-Ignore-errors-during-lconvert.patch
new file mode 100644 (file)
index 0000000..8bd8f7d
--- /dev/null
@@ -0,0 +1,26 @@
+From: Jochen Sprickerhof <git@jochen.sprickerhof.de>
+Date: Sat, 25 Jun 2022 21:22:20 +0200
+Subject: Ignore errors during lconvert
+
+Starting with qt5 5.15.4 lconvert errors with
+
+QM-Format error
+
+for some calls and thus thus fails the build.
+---
+ gui/package_app | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/gui/package_app b/gui/package_app
+index 01c00eb..f7829f6 100755
+--- a/gui/package_app
++++ b/gui/package_app
+@@ -50,7 +50,7 @@ function convert_qt_translations()
+     inputs+=("qtbase_${language}.qm")
+     if [ -e "qtdeclarative_${language}.qm" ]; then inputs+=("qtdeclarative_${language}.qm"); fi
+     if [ -e "qtserialport_${language}.qm" ]; then inputs+=("qtserialport_${language}.qm"); fi
+-    "${LCONVERT}" -o "${LANGDIR}/qt_${language}.qm" "${inputs[@]}"
++    "${LCONVERT}" -o "${LANGDIR}/qt_${language}.qm" "${inputs[@]}" || true
+     if [ "${machine}" = "Mac" ]; then
+       # Create locversion.plist in the bundle to trigger translations for
diff --git a/patches/831.patch b/patches/831.patch
new file mode 100644 (file)
index 0000000..1ec990f
--- /dev/null
@@ -0,0 +1,65 @@
+From 60e66d61b2cb9d238f0f6b1088ad7b78f4bc538b Mon Sep 17 00:00:00 2001
+From: tsteven4 <13596209+tsteven4@users.noreply.github.com>
+Date: Mon, 24 Jan 2022 07:09:25 -0700
+Subject: [PATCH] simpify unix world conditionals in qmake files.
+
+---
+ GPSBabel.pro |  4 ++--
+ libusb.pri   | 10 +++++-----
+ 2 files changed, 7 insertions(+), 7 deletions(-)
+
+diff --git a/GPSBabel.pro b/GPSBabel.pro
+index 98b25c7d2..0ee8522d8 100644
+--- a/GPSBabel.pro
++++ b/GPSBabel.pro
+@@ -281,7 +281,7 @@ HEADERS += $$FILTER_HEADERS
+ CONFIG(release, debug|release): DEFINES *= NDEBUG
+-macx|linux|openbsd {
++unix {
+   if (equals(MAKEFILE_GENERATOR, XCODE)) {
+     # "Configure tests are not supported with the XCODE Makefile generator"
+     # assume we have the following headers
+@@ -354,7 +354,7 @@ QMAKE_EXTRA_TARGETS += check-vtesto
+ QMAKE_CLEAN += $${OUT_PWD}/testo.d/*.vglog
+ # build the compilation data base used by clang tools including clang-tidy.
+-macx|linux|openbsd{
++unix {
+   compile_command_database.target = compile_commands.json
+   compile_command_database.commands = $(MAKE) clean; bear $(MAKE)
+   QMAKE_EXTRA_TARGETS += compile_command_database
+diff --git a/libusb.pri b/libusb.pri
+index a6604f94b..9d589001f 100644
+--- a/libusb.pri
++++ b/libusb.pri
+@@ -1,7 +1,7 @@
+-macx|linux|openbsd {
++unix {
+   !defined(WITH_LIBUSB, var) {
+-    macx: WITH_LIBUSB = included
+-    linux|openbsd: WITH_LIBUSB = system
++    mac: WITH_LIBUSB = included
++    !mac: WITH_LIBUSB = system
+   }
+   equals(WITH_LIBUSB, no) {
+     message("libusb-1.0 disabled")
+@@ -14,7 +14,7 @@ macx|linux|openbsd {
+       PKGCONFIG += libusb-1.0
+       DEFINES += LIBUSB_H_INCLUDE=$$shell_quote(<libusb.h>)
+     } else {
+-      linux|openbsd {
++      !mac {
+         equals(WITH_LIBUSB, system) {
+           LIBS += "-lusb-1.0"
+           DEFINES += LIBUSB_H_INCLUDE=$$shell_quote(<libusb-1.0/libusb.h>)
+@@ -27,7 +27,7 @@ macx|linux|openbsd {
+         }
+       }
+-      macx {
++      mac {
+         equals(WITH_LIBUSB, included) {
+           # TODO: It would be better to create an archive and link to it
+           #       to separate library build requirements from gpsbabel requirements.
diff --git a/patches/Disable-donation-nagging b/patches/Disable-donation-nagging
new file mode 100644 (file)
index 0000000..e2da5c9
--- /dev/null
@@ -0,0 +1,11 @@
+--- a/gui/babeldata.h
++++ b/gui/babeldata.h
+@@ -67,7 +67,7 @@ public:
+     reportStatistics_(false),
+     allowBetaUpgrades_(false),
+     ignoreVersionMismatch_(true),
+-    disableDonateDialog_(false),
++    disableDonateDialog_(true),
+     donateSplashed_(QDateTime(QDate(2010, 1, 1), QTime(0, 0, 0)))
+   {
+   }
diff --git a/patches/gpsbabelfe_disable_version_check b/patches/gpsbabelfe_disable_version_check
new file mode 100644 (file)
index 0000000..77f2c7b
--- /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
+@@ -42,7 +42,6 @@ Preferences::Preferences(QWidget* parent, QList<Format>& formatList,
+   ui_.startupCheck->setChecked(babelData_.startupVersionCheck_);
+   ui_.reportStatisticsCheck->setChecked(babelData_.reportStatistics_);
+-  ui_.ignoreVersionMismatchCheck->setChecked(babelData_.ignoreVersionMismatch_);
+   connect(ui_.buttonBox, &QDialogButtonBox::accepted, this, &Preferences::acceptClicked);
+   connect(ui_.buttonBox, &QDialogButtonBox::rejected, this, &Preferences::rejectClicked);
+@@ -82,7 +81,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
+@@ -66,7 +66,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..2d4ec51
--- /dev/null
@@ -0,0 +1,108 @@
+Disable check for newer versions on start.
+
+--- a/gui/preferences.ui
++++ b/gui/preferences.ui
+@@ -39,13 +39,6 @@
+         </rect>
+        </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">
+--- a/gui/preferences.cc
++++ b/gui/preferences.cc
+@@ -40,7 +40,6 @@ Preferences::Preferences(QWidget* parent, QList<Format>& formatList,
+ {
+   ui_.setupUi(this);
+-  ui_.startupCheck->setChecked(babelData_.startupVersionCheck_);
+   ui_.reportStatisticsCheck->setChecked(babelData_.reportStatistics_);
+   connect(ui_.buttonBox, &QDialogButtonBox::accepted, this, &Preferences::acceptClicked);
+@@ -79,7 +78,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
+@@ -63,7 +63,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
+@@ -691,7 +691,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"/>
+@@ -720,11 +719,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
+@@ -176,7 +176,6 @@ MainWindow::MainWindow(QWidget* parent): QMainWindow(parent)
+   connect(ui_.actionAbout, &QAction::triggered, this, &MainWindow::aboutActionX);
+   connect(ui_.actionVisit_Website, &QAction::triggered, this, &MainWindow::visitWebsiteActionX);
+   connect(ui_.actionMake_a_Donation, &QAction::triggered, this, &MainWindow::donateActionX);
+-  connect(ui_.actionUpgradeCheck, &QAction::triggered, this, &MainWindow::upgradeCheckActionX);
+   connect(ui_.actionPreferences, &QAction::triggered, this, &MainWindow::preferencesActionX);
+ // TODO: Qt6 deleted the obsolete overloaded signal QComboBox::currentIndexChanged(const QString &text)
+@@ -233,17 +232,6 @@ MainWindow::MainWindow(QWidget* parent): QMainWindow(parent)
+   restoreSettings();
+   upgrade = new UpgradeCheck(this, 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();
+-  }
+ }
+ //------------------------------------------------------------------------
+@@ -1007,10 +995,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..d161aae
--- /dev/null
@@ -0,0 +1,12 @@
+Make statistics reporting an opt-in option.
+--- a/gui/babeldata.h
++++ b/gui/babeldata.h
+@@ -64,7 +64,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..c20163c
--- /dev/null
@@ -0,0 +1,84 @@
+--- a/gbversion.h.qmake.in
++++ b/gbversion.h.qmake.in
+@@ -14,5 +14,5 @@
+ #else
+ #define VERSION \"$${GB.MAJOR}.$${GB.MINOR}.$${GB.MICRO}$${GB.PACKAGE_RELEASE}\"
+ constexpr char kVersionSHA[] = \"$${GB.SHA}\";
+-#define WEB_DOC_DIR \"https://www.gpsbabel.org/htmldoc-$${DOCVERSION}\"
++#define WEB_DOC_DIR \"file:///usr/share/doc/gpsbabel/html\"
+ #endif
+--- a/testo.d/serialization.test
++++ b/testo.d/serialization.test
+@@ -7,7 +7,7 @@
+ # the GUI and the document.
+ # We do a compare_nole as specific whitespace is part of deserialization.
+ gpsbabel -^3 > ${TMPDIR}/format3.txt
+-sed 's,https://www.gpsbabel.org/htmldoc-.[^/]*/,https://www.gpsbabel.org/WEB_DOC_DIR/,' ${TMPDIR}/format3.txt >${TMPDIR}/format3.fiddled.txt
++sed 's,file:///usr/share/doc/gpsbabel/html/,https://www.gpsbabel.org/WEB_DOC_DIR/,' ${TMPDIR}/format3.txt >${TMPDIR}/format3.fiddled.txt
+ compare_nole ${REFERENCE}/format3.txt ${TMPDIR}/format3.fiddled.txt
+ gpsbabel -^2 > ${TMPDIR}/format2.txt
+ compare_nole ${REFERENCE}/format2.txt ${TMPDIR}/format2.txt
+@@ -16,7 +16,7 @@ compare_nole ${REFERENCE}/format1.txt ${TMPDIR}/format1.txt
+ gpsbabel -^0 > ${TMPDIR}/format0.txt
+ compare_nole ${REFERENCE}/format0.txt ${TMPDIR}/format0.txt
+ gpsbabel -%1 > ${TMPDIR}/filter1.txt
+-sed 's,https://www.gpsbabel.org/htmldoc-.[^/]*/,https://www.gpsbabel.org/WEB_DOC_DIR/,' ${TMPDIR}/filter1.txt >${TMPDIR}/filter1.fiddled.txt
++sed 's,file:///usr/share/doc/gpsbabel/html/,https://www.gpsbabel.org/WEB_DOC_DIR/,' ${TMPDIR}/filter1.txt >${TMPDIR}/filter1.fiddled.txt
+ compare_nole ${REFERENCE}/filter1.txt ${TMPDIR}/filter1.fiddled.txt
+ gpsbabel -%0 > ${TMPDIR}/filter0.txt
+ compare_nole ${REFERENCE}/filter0.txt ${TMPDIR}/filter0.txt
+--- a/tools/make_gpsbabel_org.sh
++++ b/tools/make_gpsbabel_org.sh
+@@ -4,15 +4,12 @@ set -ex
+ web=$1
+ docversion=$2
+-mkdir -p "${web}/htmldoc-${docversion}"
++mkdir -p "html"
+ perl xmldoc/makedoc
+ xmlwf xmldoc/readme.xml #check for well-formedness
+ xmllint --noout --valid xmldoc/readme.xml #validate
+ xsltproc \
+-  --stringparam base.dir "${web}/htmldoc-${docversion}/" \
++  --stringparam base.dir "html" \
+   --stringparam root.filename "index" \
+   xmldoc/babelmain.xsl \
+   xmldoc/readme.xml
+-tools/fixdoc "${web}/htmldoc-${docversion}" "GPSBabel ${docversion}:"
+-tools/mkcapabilities "${web}" "${web}/htmldoc-${docversion}"
+-cp gpsbabel.pdf "${web}/htmldoc-${docversion}/gpsbabel-${docversion}.pdf"
+--- a/xmldoc/babelmain.xsl
++++ b/xmldoc/babelmain.xsl
+@@ -45,13 +45,11 @@
+     <xsl:apply-imports/>
+   </xsl:param>
+-  {extends file="main.tpl"}
+     <xsl:call-template name="html.head">
+       <xsl:with-param name="prev" select="$prev"/>
+       <xsl:with-param name="next" select="$next"/>
+     </xsl:call-template>
+       <xsl:call-template name="body.attributes"/>
+-  {block name=body}{literal}
+                       <xsl:call-template name="user.header.navigation"/>
+                       <xsl:call-template name="header.navigation">
+@@ -73,7 +71,6 @@
+                       </xsl:call-template>
+                       <xsl:call-template name="user.footer.navigation"/>
+-      {/literal}{/block}
+   <xsl:value-of select="$chunk.append"/>
+ </xsl:template>
+--- a/xmldoc/gpsbabel_man.xml
++++ b/xmldoc/gpsbabel_man.xml
+@@ -127,7 +127,7 @@ or as the backend for other tools. </para>
+         </listitem>
+       </varlistentry>
+     </variablelist>
+-    <para>Lists of filters and formats are given in the doc at https://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..233dc29
--- /dev/null
@@ -0,0 +1,9 @@
+gpsbabelfe_disable_version_check
+gpsbabelfe_opt-in-for-usage-data-reporting
+gpsbabelfe_do-not-check-for-newer-version
+htmldoc-location
+Disable-donation-nagging
+0007-Add-workaround-for-failing-test-on-i386.patch
+0008-Add-Debian-build-flags.patch
+831.patch
+0009-Ignore-errors-during-lconvert.patch
diff --git a/rules b/rules
new file mode 100755 (executable)
index 0000000..87aee43
--- /dev/null
+++ b/rules
@@ -0,0 +1,28 @@
+#!/usr/bin/make -f
+
+export QT_SELECT := qt5
+
+%:
+       dh $@ --buildsystem=qmake
+
+export DEB_BUILD_MAINT_OPTIONS = hardening=+all
+# tests depending on a TZ with a small offset
+export TZ='/usr/share/zoneinfo/Etc/GMT'
+
+# 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_LIBUSB=pkgconfig WITH_SHAPELIB=pkgconfig WITH_ZLIB=pkgconfig
+       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
+
+execute_after_dh_auto_build-arch:
+       if dpkg -s qtwebengine5-dev > /dev/null; then dh_auto_build -- unix-gui; fi
+
+override_dh_auto_build-indep:
+       $(MAKE) gpsbabel.org
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/upstream/metadata b/upstream/metadata
new file mode 100644 (file)
index 0000000..a9492eb
--- /dev/null
@@ -0,0 +1,3 @@
+---
+Bug-Database: https://github.com/gpsbabel/gpsbabel/issues
+Bug-Submit: https://github.com/gpsbabel/gpsbabel/issues/new
diff --git a/watch b/watch
new file mode 100644 (file)
index 0000000..720aa00
--- /dev/null
+++ b/watch
@@ -0,0 +1,3 @@
+version=4
+opts="uversionmangle=tr/_/./, repacksuffix=+ds, dversionmangle=s/\+ds//" \
+https://github.com/gpsbabel/gpsbabel/tags (?:.*?/)gpsbabel_(\d[\d_]*)\.tar\.gz