Package: release.debian.org
Severity: normal
Tags: bookworm
X-Debbugs-Cc: [email protected]
Control: affects -1 + src:gnuais
User: [email protected]
Usertags: pu
* Add patch from Apostolos Kefalas to fix displaying the map
in gnuaisgui. (Closes: #1035657)
Not a recent regression, but made one binary package rather
useless and is easy to fix.
diffstat for gnuais-0.3.3 gnuais-0.3.3
changelog | 8 ++++++++
patches/fix-map.patch | 13 +++++++++++++
patches/series | 1 +
3 files changed, 22 insertions(+)
diff -Nru gnuais-0.3.3/debian/changelog gnuais-0.3.3/debian/changelog
--- gnuais-0.3.3/debian/changelog 2020-08-09 18:12:41.000000000 +0300
+++ gnuais-0.3.3/debian/changelog 2026-03-01 15:38:22.000000000 +0200
@@ -1,3 +1,11 @@
+gnuais (0.3.3-9+deb12u1) bookworm; urgency=medium
+
+ * Non-maintainer upload.
+ * Add patch from Apostolos Kefalas to fix displaying the map
+ in gnuaisgui. (Closes: #1035657)
+
+ -- Adrian Bunk <[email protected]> Sun, 01 Mar 2026 15:38:22 +0200
+
gnuais (0.3.3-9) unstable; urgency=medium
* Fix build for GCC 10 (Closes: #957290)
diff -Nru gnuais-0.3.3/debian/patches/fix-map.patch
gnuais-0.3.3/debian/patches/fix-map.patch
--- gnuais-0.3.3/debian/patches/fix-map.patch 1970-01-01 02:00:00.000000000
+0200
+++ gnuais-0.3.3/debian/patches/fix-map.patch 2025-12-13 20:44:19.000000000
+0200
@@ -0,0 +1,13 @@
+--- gnuais/src/gui/gui.c 2023-11-14 14:09:37.607737397 +0200
++++ gnuais-fixed/src/gui/gui.c 2023-05-10 10:40:25.881124858 +0300
+@@ -540,7 +540,9 @@
+ // (scrolled_window),
+ // drawing_area);
+ //osmmap = osm_gps_map_new ();
+- osmmap = g_object_new (OSM_TYPE_GPS_MAP,
++ osmmap = g_object_new (OSM_TYPE_GPS_MAP,
++ "map-source", OSM_GPS_MAP_SOURCE_OPENSTREETMAP,
++ "user-agent", "GnuAIS",
+ NULL);
+ // <-- End workaround
+ int tmp;
diff -Nru gnuais-0.3.3/debian/patches/series gnuais-0.3.3/debian/patches/series
--- gnuais-0.3.3/debian/patches/series 2020-08-09 16:06:35.000000000 +0300
+++ gnuais-0.3.3/debian/patches/series 2025-12-13 20:44:32.000000000 +0200
@@ -1,3 +1,4 @@
01_conf_location.patch
02_fix_inline_functions.patch
0003-Fix-compile-error-for-GCC-10.patch
+fix-map.patch