From debbugs-submit-bounces@debbugs.gnu.org Thu Mar 06 03:56:17 2025 Received: (at submit) by debbugs.gnu.org; 6 Mar 2025 08:56:17 +0000 Received: from localhost ([127.0.0.1]:41454 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tq71S-0002aX-Sg for submit@debbugs.gnu.org; Thu, 06 Mar 2025 03:56:17 -0500 Received: from lists.gnu.org ([2001:470:142::17]:50384) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1tq71P-0002ZY-36 for submit@debbugs.gnu.org; Thu, 06 Mar 2025 03:56:04 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1tq70s-0006fD-7d for guix-patches@gnu.org; Thu, 06 Mar 2025 03:55:34 -0500 Received: from layka.disroot.org ([178.21.23.139]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1tq70m-0004hV-Gi for guix-patches@gnu.org; Thu, 06 Mar 2025 03:55:29 -0500 Received: from mail01.disroot.lan (localhost [127.0.0.1]) by disroot.org (Postfix) with ESMTP id 28D7E25670; Thu, 6 Mar 2025 09:55:20 +0100 (CET) X-Virus-Scanned: SPAM Filter at disroot.org Received: from layka.disroot.org ([127.0.0.1]) by localhost (disroot.org [127.0.0.1]) (amavis, port 10024) with ESMTP id 8w0xsLACRyr1; Thu, 6 Mar 2025 09:55:15 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=disroot.org; s=mail; t=1741251315; bh=IBImd2Y75W3/v/tm7M+hMJxor7MmFsZGVMmSN4YPoj0=; h=From:To:Cc:Subject:Date; b=gWnAPX1KZ/fnMaGMBUctAzIqqbyjQMifmkDxEfM/FDkZHt36KLQPF5bddGs42Uz3H OX8wYy5w9Jz7/iFC4WmaAdq+eHZnLSqVkQbfwq9g0pKA1DXJ0jWhnLE2WtQfPD84oc 2k+Qfw722K0A0900fdo4RkVlzH24HaKHahfUt4VZlUOsSHqmrT+DtSHzSs6bkHmyIp 5eXOAhGSl3qanZQEIFnXSjzd8CK03FoOZQtndcp7/xEjksB1gHcEGco7fyyNNqIuxw She70YqDNnPe2sv9Fzgt1ct4Xrx6i1b6AWQXo9inrPETehVEP7YQu7uUgfZu+EO6h9 wpm5GZhbfPLWg== From: =?UTF-8?q?Nguy=E1=BB=85n=20Gia=20Phong?= To: guix-patches@gnu.org Subject: [PATCH] gnu: Add mepo. Date: Thu, 6 Mar 2025 17:54:51 +0900 Message-ID: <76fa5d6e602e02ccb20511dd26112b322a805baa.1741251290.git.mcsinyx@disroot.org> MIME-Version: 1.0 X-Debbugs-Cc: Andreas Enge , Eric Bavier , Sharlatan Hellseher Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=178.21.23.139; envelope-from=mcsinyx@disroot.org; helo=layka.disroot.org X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_VALIDITY_RPBL_BLOCKED=0.001, RCVD_IN_VALIDITY_SAFE_BLOCKED=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: 0.9 (/) X-Debbugs-Envelope-To: submit Cc: =?UTF-8?q?Nguy=E1=BB=85n=20Gia=20Phong?= X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.1 (/) * gnu/packages/geo.scm (mepo): New variable. Change-Id: I1513af518da9ca687091bf7f78f48c93ec07f24a --- gnu/packages/geo.scm | 83 ++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 83 insertions(+) diff --git a/gnu/packages/geo.scm b/gnu/packages/geo.scm index 251ef5ced9a1..8c242bac8acf 100644 --- a/gnu/packages/geo.scm +++ b/gnu/packages/geo.scm @@ -28,6 +28,7 @@ ;;; Copyright © 2025 Andreas Enge ;;; Copyright © 2025 Lars Bilke ;;; Copyright © 2025 Nicolas Graves +;;; Copyright © 2025 Nguyễn Gia Phong ;;; ;;; This file is part of GNU Guix. ;;; @@ -56,6 +57,7 @@ (define-module (gnu packages geo) #:use-module (guix build-system python) #:use-module (guix build-system qt) #:use-module (guix build-system r) + #:use-module (guix build-system zig) #:use-module (guix download) #:use-module (guix gexp) #:use-module (guix git-download) @@ -73,6 +75,7 @@ (define-module (gnu packages geo) #:use-module (gnu packages bison) #:use-module (gnu packages boost) #:use-module (gnu packages build-tools) + #:use-module (gnu packages busybox) #:use-module (gnu packages c) #:use-module (gnu packages certs) #:use-module (gnu packages check) @@ -121,6 +124,7 @@ (define-module (gnu packages geo) #:use-module (gnu packages machine-learning) #:use-module (gnu packages maths) #:use-module (gnu packages multiprecision) + #:use-module (gnu packages ncurses) #:use-module (gnu packages pcre) #:use-module (gnu packages pdf) #:use-module (gnu packages perl) @@ -611,6 +615,85 @@ (define-public libgeotiff (license:non-copyleft "file://LICENSE" "See LICENSE in the distribution."))))) +(define-public mepo + (package + (name "mepo") + (version "1.3.3") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://git.sr.ht/~mil/mepo") + (commit version))) + (file-name (git-file-name name version)) + (sha256 + (base32 "025nxkilar3gdif2f1zsiy27614x2hbpcmh38sl61ng37aji0jw4")))) + (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-release-type "safe" + #:phases + #~(modify-phases %standard-phases + (add-after 'install 'wrap-scripts + (lambda* (#:key inputs #:allow-other-keys) + (let ((bin-dirs + (map (lambda (bin) + (dirname (search-input-file inputs bin))) + '("bin/column" ;util-linux + "bin/gpspipe" ;gpsd + "bin/jq" + "bin/xargs" ;busybox + "bin/xwininfo" + "bin/zenity")))) + (for-each (lambda (script) + (wrap-program + (string-append #$output "/bin/" script) + `("PATH" ":" prefix ,bin-dirs))) + '("mepo_dl.sh" + "mepo_generated_osmtags.sh" + "mepo_geojson_import.sh" + "mepo_ui_central_menu.sh" + "mepo_ui_helper_menu.sh" + "mepo_ui_helper_pref_pan.sh" + "mepo_ui_menu_dbg_queueclear.sh" + "mepo_ui_menu_dbg_queuedownloadinteractive.sh" + "mepo_ui_menu_dbg_queuedownloadnoninteractive.sh" + "mepo_ui_menu_pin_drop.sh" + "mepo_ui_menu_pref_fontsize.sh" + "mepo_ui_menu_pref_network.sh" + "mepo_ui_menu_pref_stateload.sh" + "mepo_ui_menu_pref_statesave.sh" + "mepo_ui_menu_pref_url.sh" + "mepo_ui_menu_pref_zoom.sh" + "mepo_ui_menu_reposition_nominatim.sh" + "mepo_ui_menu_route_graphhopper.sh" + "mepo_ui_menu_route_mobroute.sh" + "mepo_ui_menu_search_nominatim.sh" + "mepo_ui_menu_search_overpass.sh" + "mepo_ui_menu_user_pin_updater.sh")))))))) + (native-inputs (list pkg-config)) + ;; TODO: package Mobroute + (inputs (list busybox curl gpsd jq ncurses + sdl2 sdl2-gfx sdl2-image sdl2-ttf + util-linux xwininfo zenity)) + (home-page "https://mepo.lrdu.org") + (synopsis "OpenStreetMap map viewer") + (description + "Mepo is a fast, simple, and hackable OSM map viewer for desktop & mobile +Linux devices (like the PinePhone, Librem 5, postmarketOS devices etc.) +and both environment's various user interfaces (Wayland & X inclusive). +Environments supported include Phosh, Sxmo, Plasma Mobile, desktop X, +and desktop Wayland. + +Mepo works both offline and online, features a minimalist both touch/mouse +and keyboard compatible interface, and offers a simple and powerful JSON API +to allow the user to change and add functionality such as adding their own +search and routing scripts, add arbitrary buttons/keybindings to the UI, +and more.") + (license license:gpl3+))) + (define-public librasterlite2 (package (name "librasterlite2") base-commit: 310adf4ce70cbb864859274fcc7842bd519bbddc -- 2.48.1 From debbugs-submit-bounces@debbugs.gnu.org Mon Mar 24 12:13:40 2025 Received: (at 76776-done) by debbugs.gnu.org; 24 Mar 2025 16:13:40 +0000 Received: from localhost ([127.0.0.1]:57525 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1twkQm-0001sa-Cn for submit@debbugs.gnu.org; Mon, 24 Mar 2025 12:13:40 -0400 Received: from hera.aquilenet.fr ([185.233.100.1]:38890) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1twkQi-0001sI-6b for 76776-done@debbugs.gnu.org; Mon, 24 Mar 2025 12:13:38 -0400 Received: from localhost (localhost [127.0.0.1]) by hera.aquilenet.fr (Postfix) with ESMTP id 4416BC55; Mon, 24 Mar 2025 17:13:29 +0100 (CET) Authentication-Results: hera.aquilenet.fr; none X-Virus-Scanned: Debian amavis at hera.aquilenet.fr Received: from hera.aquilenet.fr ([127.0.0.1]) by localhost (hera.aquilenet.fr [127.0.0.1]) (amavis, port 10024) with ESMTP id iQhnLM0ZaJ6p; Mon, 24 Mar 2025 17:13:27 +0100 (CET) Received: from jurong (176-179-191-150.abo.bbox.fr [176.179.191.150]) by hera.aquilenet.fr (Postfix) with ESMTPSA id 5E283B3E; Mon, 24 Mar 2025 17:13:26 +0100 (CET) Date: Mon, 24 Mar 2025 17:13:23 +0100 From: Andreas Enge To: =?utf-8?B?Tmd1eeG7hW4=?= Gia Phong Subject: Re: [bug#76776] [PATCH] gnu: Add mepo. Message-ID: References: <76fa5d6e602e02ccb20511dd26112b322a805baa.1741251290.git.mcsinyx@disroot.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <76fa5d6e602e02ccb20511dd26112b322a805baa.1741251290.git.mcsinyx@disroot.org> X-Rspamd-Queue-Id: 4416BC55 X-Spamd-Result: default: False [-5.60 / 15.00]; NEURAL_HAM(-3.00)[-1.000]; BAYES_HAM(-3.00)[99.98%]; MID_RHS_NOT_FQDN(0.50)[]; MIME_GOOD(-0.10)[text/plain]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; RCVD_TLS_ALL(0.00)[]; RCVD_COUNT_TWO(0.00)[2]; ARC_NA(0.00)[]; TO_DN_SOME(0.00)[]; FREEMAIL_ENVRCPT(0.00)[gmail.com]; RCVD_VIA_SMTP_AUTH(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[4]; FREEMAIL_CC(0.00)[debbugs.gnu.org,posteo.net,gmail.com] X-Rspamd-Action: no action X-Spamd-Bar: ----- X-Rspamd-Server: hera X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 76776-done Cc: Sharlatan Hellseher , 76776-done@debbugs.gnu.org, Eric Bavier X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Hello, thanks for the new package! I have slightly shortened the description and run "guix lint", which has suggested to add bash-minimal to the inputs for the wrapper scripts. I have pushed the commit with these changes. Andreas From unknown Sun Jun 22 03:49:18 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Tue, 22 Apr 2025 11:24:17 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator