Control: tags 1035657 + patch
Control: tags 1035657 + pending
Control: tags 1112968 + patch
Control: tags 1112968 + pending

Dear maintainer,

I've prepared an NMU for gnuais (versioned as 0.3.3-9.2) and uploaded
it to DELAYED/2. Please feel free to tell me if I should cancel it.

cu
Adrian
diffstat for gnuais-0.3.3 gnuais-0.3.3

 changelog             |    9 +++++++++
 patches/cmake-4.patch |   12 ++++++++++++
 patches/fix-map.patch |   13 +++++++++++++
 patches/series        |    2 ++
 4 files changed, 36 insertions(+)

diff -Nru gnuais-0.3.3/debian/changelog gnuais-0.3.3/debian/changelog
--- gnuais-0.3.3/debian/changelog	2024-06-20 20:32:11.000000000 +0300
+++ gnuais-0.3.3/debian/changelog	2025-10-25 20:54:29.000000000 +0300
@@ -1,3 +1,12 @@
+gnuais (0.3.3-9.2) unstable; urgency=medium
+
+  * Non-maintainer upload.
+  * Fix FTBFS with CMake 4. (Closes: #1112968)
+  * Add patch from Apostolos Kefalas to fix displaying the map
+    in gnuaisgui. (Closes: #1035657)
+
+ -- Adrian Bunk <[email protected]>  Sat, 25 Oct 2025 20:54:29 +0300
+
 gnuais (0.3.3-9.1) unstable; urgency=medium
 
   * Non-maintainer upload
diff -Nru gnuais-0.3.3/debian/patches/cmake-4.patch gnuais-0.3.3/debian/patches/cmake-4.patch
--- gnuais-0.3.3/debian/patches/cmake-4.patch	1970-01-01 02:00:00.000000000 +0200
+++ gnuais-0.3.3/debian/patches/cmake-4.patch	2025-10-25 20:54:29.000000000 +0300
@@ -0,0 +1,12 @@
+Description: Fix FTBFS with CMake 4
+Author: Adrian Bunk <[email protected]>
+Bug-Debian: https://bugs.debian.org/1112968
+
+--- gnuais-0.3.3.orig/CMakeLists.txt
++++ gnuais-0.3.3/CMakeLists.txt
+@@ -1,4 +1,4 @@
+-cmake_minimum_required (VERSION 2.6)
++cmake_minimum_required (VERSION 3.5)
+ 
+ SET(CMAKE_BUILD_TYPE Release CACHE STRING "If build type is not specified on command line, build Release")
+ 
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-10-25 20:54:29.000000000 +0300
@@ -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	2024-06-20 20:32:11.000000000 +0300
+++ gnuais-0.3.3/debian/patches/series	2025-10-25 20:54:29.000000000 +0300
@@ -1,3 +1,5 @@
 01_conf_location.patch
 02_fix_inline_functions.patch
 0003-Fix-compile-error-for-GCC-10.patch
+cmake-4.patch
+fix-map.patch

Reply via email to