GNU bug report logs - #77268
[PATCH] gnu: mepo: Update to 1.3.4.

Previous Next

Package: guix-patches;

Reported by: Nguyễn Gia Phong <mcsinyx <at> disroot.org>

Date: Wed, 26 Mar 2025 06:04:01 UTC

Severity: normal

Tags: patch

Done: Andreas Enge <andreas <at> enge.fr>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: Andreas Enge <andreas <at> enge.fr>
Cc: tracker <at> debbugs.gnu.org
Subject: bug#77268: closed ([PATCH] gnu: mepo: Update to 1.3.4.)
Date: Wed, 26 Mar 2025 08:55:02 +0000
[Message part 1 (text/plain, inline)]
Your message dated Wed, 26 Mar 2025 09:54:01 +0100
with message-id <Z-PAqeSkEVnU870C <at> jurong>
and subject line Re: [bug#77268] [PATCH] gnu: mepo: Update to 1.3.4.
has caused the debbugs.gnu.org bug report #77268,
regarding [PATCH] gnu: mepo: Update to 1.3.4.
to be marked as done.

(If you believe you have received this mail in error, please contact
help-debbugs <at> gnu.org.)


-- 
77268: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=77268
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: Nguyễn Gia Phong <mcsinyx <at> disroot.org>
To: guix-patches <at> gnu.org
Cc: andreas <at> enge.fr,
 Nguyễn Gia Phong <mcsinyx <at> disroot.org>
Subject: [PATCH] gnu: mepo: Update to 1.3.4.
Date: Wed, 26 Mar 2025 15:02:56 +0900
* gnu/packages/geo.scm (mepo): Update to 1.3.4.
  [arguments]:
    <zig>: Specify Zig 0.14.
    <phases>: Add 'patch-geoclue-demos-path.
  [inputs]: Add geoclue.

Change-Id: Ibb9020dcb8202becced1c70ac2a616502dec466e
---
 gnu/packages/geo.scm | 23 +++++++++++++++++------
 1 file changed, 17 insertions(+), 6 deletions(-)

diff --git a/gnu/packages/geo.scm b/gnu/packages/geo.scm
index 79b57669e3b2..8682d29e0e51 100644
--- a/gnu/packages/geo.scm
+++ b/gnu/packages/geo.scm
@@ -155,7 +155,8 @@ (define-module (gnu packages geo)
   #:use-module (gnu packages webkit)
   #:use-module (gnu packages wxwidgets)
   #:use-module (gnu packages xml)
-  #:use-module (gnu packages xorg))
+  #:use-module (gnu packages xorg)
+  #:use-module (gnu packages zig))
 
 (define-public gmt
   (package
@@ -618,7 +619,7 @@ (define-public libgeotiff
 (define-public mepo
   (package
     (name "mepo")
-    (version "1.3.3")
+    (version "1.3.4")
     (source
      (origin
        (method git-fetch)
@@ -627,15 +628,25 @@ (define-public mepo
              (commit version)))
        (file-name (git-file-name name version))
        (sha256
-        (base32 "025nxkilar3gdif2f1zsiy27614x2hbpcmh38sl61ng37aji0jw4"))))
+        (base32 "0cz4ihz4mw1v47x3xycyayfs28xlns2war2dif31awzg02a3rlfl"))))
     (build-system zig-build-system)
     (arguments
      (list #:install-source? #f
-           ;; Work around https://github.com/ziglang/zig/issues/17384
-           #:zig-build-flags #~(list "--search-prefix" #$curl)
+           #:zig zig-0.14
            #:zig-release-type "safe"
            #:phases
            #~(modify-phases %standard-phases
+               (add-after 'unpack 'patch-geoclue-demos-path
+                 (lambda* (#:key inputs #:allow-other-keys)
+                   (substitute* "scripts/mepo_ui_menu_user_pin_updater.sh"
+                     (("/usr/libexec/geoclue-2.0/demos/agent")
+                      (search-input-file
+                        inputs
+                        "libexec/geoclue-2.0/demos/agent"))
+                     (("/usr/libexec/geoclue-2.0/demos/where-am-i")
+                      (search-input-file
+                        inputs
+                        "libexec/geoclue-2.0/demos/where-am-i")))))
                (add-after 'install 'wrap-scripts
                  (lambda* (#:key inputs #:allow-other-keys)
                    (let ((bin-dirs
@@ -675,7 +686,7 @@ (define-public mepo
                          "mepo_ui_menu_user_pin_updater.sh"))))))))
     (native-inputs (list pkg-config))
     ;; TODO: package Mobroute
-    (inputs (list bash-minimal busybox curl gpsd jq ncurses
+    (inputs (list bash-minimal busybox curl geoclue gpsd jq ncurses
                   sdl2 sdl2-gfx sdl2-image sdl2-ttf
                   util-linux xwininfo zenity))
     (home-page "https://mepo.lrdu.org")

base-commit: 4d655e48836d5be89942a38da532431316f6887b
-- 
2.48.1



[Message part 3 (message/rfc822, inline)]
From: Andreas Enge <andreas <at> enge.fr>
To: Nguyễn Gia Phong <mcsinyx <at> disroot.org>
Cc: 77268-done <at> debbugs.gnu.org, Sharlatan Hellseher <sharlatanus <at> gmail.com>,
 Eric Bavier <bavier <at> posteo.net>
Subject: Re: [bug#77268] [PATCH] gnu: mepo: Update to 1.3.4.
Date: Wed, 26 Mar 2025 09:54:01 +0100
Am Wed, Mar 26, 2025 at 03:02:56PM +0900 schrieb Nguyễn Gia Phong:
> * gnu/packages/geo.scm (mepo): Update to 1.3.4.

Pushed, thanks!

Andreas



This bug report was last modified 56 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.