Package: gpxviewer Version: 1.1.0-5 Severity: wishlist Tags: patch upstream
The two external programs supported by gpxviewer are quite heavyweight (JOSM and Merkaator). In practice I usually want to use something bit simpler: GPSprune, Viking or GPSMaster for track editing. So supporting those seems like a good idea and is very easy to do. I have included a patch for this. I could be persuaded to do an NMU for this improved functionality, and maybe do some other updates at the same time. Any reason not to? -- Wookey
diff -Nru gpxviewer-1.1.0/debian/changelog gpxviewer-1.1.0/debian/changelog --- gpxviewer-1.1.0/debian/changelog 2022-11-24 16:44:19.000000000 +0000 +++ gpxviewer-1.1.0/debian/changelog 2024-08-12 00:07:59.000000000 +0100 @@ -1,3 +1,10 @@ +gpxviewer (1.1.0-5.1) unstable; urgency=medium + + * Non-maintainer upload. + * Add support for more external editors + + -- Wookey <woo...@debian.org> Mon, 12 Aug 2024 00:07:59 +0100 + gpxviewer (1.1.0-5) unstable; urgency=medium [ Debian Janitor ] diff -Nru gpxviewer-1.1.0/debian/patches/add-more-editors.patch gpxviewer-1.1.0/debian/patches/add-more-editors.patch --- gpxviewer-1.1.0/debian/patches/add-more-editors.patch 1970-01-01 01:00:00.000000000 +0100 +++ gpxviewer-1.1.0/debian/patches/add-more-editors.patch 2024-08-12 00:07:59.000000000 +0100 @@ -0,0 +1,14 @@ +Index: gpxviewer-1.1.0/gpxviewer/ui.py +=================================================================== +--- gpxviewer-1.1.0.orig/gpxviewer/ui.py ++++ gpxviewer-1.1.0/gpxviewer/ui.py +@@ -172,6 +172,9 @@ class MainWindow: + programs = { + 'josm': N_('JOSM Editor'), + 'merkaartor': N_('Merkaartor'), ++ 'gpsprune': N_('GPSprune'), ++ 'viking': N_('Viking'), ++ 'gpsmaster': N_('GPS-Master)' + } + submenu_open_with = Gtk.Menu() + for prog, progname in programs.items(): diff -Nru gpxviewer-1.1.0/debian/patches/series gpxviewer-1.1.0/debian/patches/series --- gpxviewer-1.1.0/debian/patches/series 2022-11-24 16:44:19.000000000 +0000 +++ gpxviewer-1.1.0/debian/patches/series 2024-08-12 00:07:59.000000000 +0100 @@ -1,2 +1,3 @@ 0001-Set-default-map-source.patch 0002-Only-set-date-time-label-if-data-is-available.patch +add-more-editors.patch