Package: navit
Version: 0.5.6
Severity: normal
Tags: patch

Dear Maintainer,

navit 0.5.6 is unable to determine the location when built without 
geoclue support on modern debian installations, including mobian.
Geoclue has been established as the de-facto standard over gpsd.
As such, navit should support geoclue.

PFA a patch that was produced with sicelo on matrix in #mobian to enable 
geoclue support in the debian build.

Regards

Christof

-- System Information:
Debian Release: 13.1
  APT prefers stable
  APT policy: (990, 'stable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 6.12.43+deb13-amd64 (SMP w/4 CPU threads; PREEMPT)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8) (ignored: LC_ALL 
set to de_DE.UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages navit depends on:
ii  libc6             2.41-12
ii  libdbus-1-3       1.16.2-2
ii  libdbus-glib-1-2  0.114-1
ii  libfontconfig1    2.15.0-2.3
ii  libfreetype6      2.13.3+dfsg-1
ii  libfribidi0       1.0.16-1
ii  libgarmin0        0~svn320-6+b2
ii  libglib2.0-0t64   2.84.4-3~deb13u1
ii  libgps30t64       3.25-5
ii  libspeechd2       0.12.0-5
ii  navit-data        0.5.6+dfsg.1-4
ii  navit-gui-gtk     0.5.6+dfsg.1-4
ii  zlib1g            1:1.3.dfsg+really1.3.1-1+b1

Versions of packages navit recommends:
ii  gpsd  3.25-5

Versions of packages navit suggests:
ii  maptool  0.5.6+dfsg.1-4
Index: navit-0.5.6+dfsg.1/debian/control
===================================================================
--- navit-0.5.6+dfsg.1.orig/debian/control
+++ navit-0.5.6+dfsg.1/debian/control
@@ -12,6 +12,7 @@ Build-Depends: cmake,
                libfreetype6-dev,
                libfribidi-dev,
                libgarmin-dev,
+               libgeoclue-2-dev,
                libglc-dev (>= 0.7.1),
                libgps-dev (>= 3.1),
                libgtk2.0-dev,
@@ -35,7 +36,7 @@ Depends: navit-data (= ${source:Version}
          navit-gui-internal (= ${binary:Version}) | navit-gui-gtk (= 
${binary:Version}),
          ${misc:Depends},
          ${shlibs:Depends}
-Recommends: gpsd
+Recommends: geoclue
 Suggests: maptool
 Description: Car navigation system with routing engine
  Navit is a car navigation system with routing engine.
Index: navit-0.5.6+dfsg.1/debian/rules
===================================================================
--- navit-0.5.6+dfsg.1.orig/debian/rules
+++ navit-0.5.6+dfsg.1/debian/rules
@@ -67,7 +67,7 @@ CMAKEFLAGS += -DSAMPLE_MAP=FALSE
 CMAKEFLAGS += -Dmap/garmin=TRUE -Dmap/mg=TRUE -Dmap/binfile=TRUE 
-Dmap/csv=TRUE -Dmap/shapefile=TRUE
 
 # Vehicles
-CMAKEFLAGS += -Dvehicle/null=TRUE -Dvehicle/demo=TRUE -Dvehicle/gpsd=TRUE
+CMAKEFLAGS += -Dvehicle/null=TRUE -Dvehicle/demo=TRUE -Dvehicle/gpsd=TRUE 
-Dvehicle/geoclue=TRUE
 # disable gypsy support as there's no gypsy in Debian
 CMAKEFLAGS += -Dvehicle/gypsy=FALSE
 

Reply via email to