GNU bug report logs - #71279
[PATCH 1/3] gnu: grass: Improve package style.

Previous Next

Package: guix-patches;

Reported by: Vinicius Monego <monego <at> posteo.net>

Date: Thu, 30 May 2024 18:10:01 UTC

Severity: normal

Tags: patch

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

Bug is archived. No further changes may be made.

Full log


Message #20 received at 71279 <at> debbugs.gnu.org (full text, mbox):

From: Vinicius Monego <monego <at> posteo.net>
To: 71279 <at> debbugs.gnu.org
Cc: andreas <at> enge.fr, Vinicius Monego <monego <at> posteo.net>
Subject: [PATCH v2 2/4] gnu: grass: Update to 8.4.1.
Date: Mon, 31 Mar 2025 01:49:44 +0000
* gnu/packages/geo.scm (grass): Update to 8.4.1.
[inputs]: Add libxml2, pdal.
[arguments]<#:phases>: Update the executable name in the
'wrap-with-python-interpreter phase.

Change-Id: I251fc1756801f3f491670443a1dcad4092137ba5
---
 gnu/packages/geo.scm | 8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)

diff --git a/gnu/packages/geo.scm b/gnu/packages/geo.scm
index cdab9ac608..afe97704a0 100644
--- a/gnu/packages/geo.scm
+++ b/gnu/packages/geo.scm
@@ -3213,7 +3213,7 @@ (define-public openorienteering-mapper
     (license license:gpl3+)))
 
 (define-public grass
-  (let* ((version "7.8.8")
+  (let* ((version "8.4.1")
          (majorminor (string-join (list-head (string-split version #\.) 2) ""))
          (grassxx (string-append "grass" majorminor)))
     (package
@@ -3225,7 +3225,7 @@ (define-public grass
          (uri (string-append "https://grass.osgeo.org/" grassxx
                              "/source/grass-" version ".tar.gz"))
          (sha256
-          (base32 "1gpfbppfajc8d6b9alw9fdzgaa83w26kl6fff1395bc9gal215ms"))))
+          (base32 "0r08vdi1s0mpa033bqbc9kc3116qm53bmx2k7l8dgg69wxkwyzfi"))))
       (build-system gnu-build-system)
       (inputs
        (list bash-minimal
@@ -3238,11 +3238,13 @@ (define-public grass
              glu
              libpng
              libtiff
+             libxml2 ;marked as required by pdal
              mesa
              `(,mariadb "dev")
              `(,mariadb "lib")
              netcdf
              openblas
+             pdal
              perl
              postgresql
              proj
@@ -3324,7 +3326,7 @@ (define-public grass
               (assoc-ref python:%standard-phases 'wrap))
             (add-after 'python:wrap 'wrap-with-python-interpreter
               (lambda _
-                  (wrap-program (string-append #$output "/bin/" #$grassxx)
+                  (wrap-program (string-append #$output "/bin/grass")
                     `("GRASS_PYTHON" = (,(which "python3")))))))))
       (synopsis "GRASS Geographic Information System")
       (description
-- 
2.49.0





This bug report was last modified 52 days ago.

Previous Next


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