This is an automated email from the git hooks/post-receive script.
guix_mirror_bot pushed a commit to branch master
in repository guix.
The following commit(s) were added to refs/heads/master by this push:
new 3a64c0352b gnu: navit: Fix program execution.
3a64c0352b is described below
commit 3a64c0352b89c267631aeca7743cc812a17ff6f6
Author: Denis 'GNUtoo' Carikli <[email protected]>
AuthorDate: Mon Aug 25 04:58:49 2025 +0200
gnu: navit: Fix program execution.
* gnu/packages/geo.scm (navit)[arguments]<#:phases>
{patch-cmake_minimum_required}: New phase.
Change-Id: I91a6ef08565cbdf91e9985d581d9dfd475a0ebb2
Signed-off-by: Andreas Enge <[email protected]>
---
gnu/packages/geo.scm | 13 ++++++++++++-
1 file changed, 12 insertions(+), 1 deletion(-)
diff --git a/gnu/packages/geo.scm b/gnu/packages/geo.scm
index f17113bf7d..959c7e2dd6 100644
--- a/gnu/packages/geo.scm
+++ b/gnu/packages/geo.scm
@@ -4126,8 +4126,19 @@ time. Interactively visualize vector, raster and volume
data.")
#:configure-flags #~(list "-DSAMPLE_MAP=FALSE")
#:phases
#~(modify-phases %standard-phases
+ ;; Workaround for the following issue:
+ ;; https://github.com/navit-gps/navit/issues/1294 which results in
+ ;; 'error:navit:navit_init:FATAL: No GUI available.' For now there
+ ;; is only a workaround and no real fix yet.
(add-after
- 'unpack 'patch-navit-config
+ 'unpack 'patch-cmake_minimum_required
+ (lambda _
+ (substitute*
+ "CMakeLists.txt"
+ (("cmake_minimum_required\\(VERSION 3\\.10\\)")
+ "cmake_minimum_required(VERSION 3.2)"))))
+ (add-after
+ 'patch-cmake_minimum_required 'patch-navit-config
(lambda _
;; For now this package only supports SDL, so if we keep
;; the configuration as-is, Navit doesn't start.