From patchwork Mon Mar 31 01:49:43 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Vinicius Monego X-Patchwork-Id: 41050 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id E97CA27BBE2; Mon, 31 Mar 2025 02:51:51 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-7.6 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,MAILING_LIST_MULTI,RCVD_IN_DNSWL_BLOCKED, RCVD_IN_VALIDITY_CERTIFIED,RCVD_IN_VALIDITY_RPBL,RCVD_IN_VALIDITY_SAFE, SPF_HELO_PASS,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.6 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id EF8D027BBE9 for ; Mon, 31 Mar 2025 02:51:50 +0100 (BST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tz4J0-0008V5-8R; Sun, 30 Mar 2025 21:51:14 -0400 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 1tz4Ir-0008UG-Ue for guix-patches@gnu.org; Sun, 30 Mar 2025 21:51:06 -0400 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1tz4Ir-0007ul-Ki for guix-patches@gnu.org; Sun, 30 Mar 2025 21:51:05 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=MIME-Version:Date:From:To:In-Reply-To:References:Subject; bh=sH4SXhKqC15xGylVatj8aSd/V2KNpOz477W3BaoHrKE=; b=rByoH6A/B9C/hF2A8m+mJhcFnEQMFret2quTfw7N88GkvXW6srniBqefCB3h2RNxQQ4106SwY+Y/QKoMGff68GiUx9PXPQbDdKx3KMZLSmbPl2bYjxvrBKrlifWWp0t9yGUeMLk4jRCbNb3uCajCduaDXudXgqQnfQ3QwsGNItRORZlgyn20yumRQ3fZr/E8pbfrdkyj2mvQX5g8gc9V/m8govYGOrFvG0I/B/BFl4sFCdXRU1njc2kB69t+lL8Y9zF6zUG0ztkKa6l7DZUDCIG08odAtn1cFmskz8Ba/d0t2l1CM61KtU3ClUwRTmwZHfe75CeR++vez/nBsq2m1w==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1tz4Iq-0006RN-9M for guix-patches@gnu.org; Sun, 30 Mar 2025 21:51:04 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#71279] [PATCH v2 1/4] gnu: grass: Improve package style. References: <4d9e85d82fc2c3a030a0255faf2da4915450b653.1717092444.git.monego@posteo.net> In-Reply-To: <4d9e85d82fc2c3a030a0255faf2da4915450b653.1717092444.git.monego@posteo.net> Resent-From: Vinicius Monego Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 31 Mar 2025 01:51:04 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 71279 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 71279@debbugs.gnu.org Cc: andreas@enge.fr, Vinicius Monego Received: via spool by 71279-submit@debbugs.gnu.org id=B71279.174338582524276 (code B ref 71279); Mon, 31 Mar 2025 01:51:04 +0000 Received: (at 71279) by debbugs.gnu.org; 31 Mar 2025 01:50:25 +0000 Received: from localhost ([127.0.0.1]:38641 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tz4I8-0006Hi-LQ for submit@debbugs.gnu.org; Sun, 30 Mar 2025 21:50:24 -0400 Received: from mout01.posteo.de ([185.67.36.65]:56821) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1tz4I4-0006D6-Ie for 71279@debbugs.gnu.org; Sun, 30 Mar 2025 21:50:18 -0400 Received: from submission (posteo.de [185.67.36.169]) by mout01.posteo.de (Postfix) with ESMTPS id 2FB3B240027 for <71279@debbugs.gnu.org>; Mon, 31 Mar 2025 03:50:08 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1743385809; bh=vfN5LFDl362PYJHJc9GMaRKwRYXNH5zgLkkq4MxfQWk=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version: Content-Transfer-Encoding:From; b=JQOM6soaZUv7uMS53+aoBWd8OQeZHaum6h2Ye6qRmoVoE0EyUIWA4Mei5Rbi+gtfT q1g3OHvmRtw9dHN/kvUvQdMSAREV0elln70JUGRaTNMpU1W03FxRIaVqHDfbBOO/kn t5sMVBsMP4h6e7fAhGpkoCYnVc/VAXc1UiP9uHa1wCBq53K2HQiq4NdmBHqIbTjjBo I2oXphbCXAuysMMwLc2fEyir1gXjtzLQPAsMXJmg9Rpxo4xD4cjv3HsKKvLabooigi E6ykahJzIschKPD52wYYJDQWNKZg7sS3rK6QeZlRwwPNeBvciWBh27Q+2QUYnoaiZE 8ars3pcN9mKtQ== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4ZQvG75JJXz9rxK; Mon, 31 Mar 2025 03:50:07 +0200 (CEST) From: Vinicius Monego Date: Mon, 31 Mar 2025 01:49:43 +0000 Message-ID: MIME-Version: 1.0 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org X-getmail-retrieved-from-mailbox: Patches * gnu/packages/geo.scm (grass)[arguments]: Use Gexp. <#:phases>: Use #:configure-flags instead of overriding the 'configure phase. Change-Id: I52b39f0cd5ad507dfe5dbb5c8040dfe4eb69b18c --- gnu/packages/geo.scm | 127 +++++++++++++++++++++---------------------- 1 file changed, 62 insertions(+), 65 deletions(-) base-commit: a3674c059abf16256f549c4d558a0140b9cd8945 diff --git a/gnu/packages/geo.scm b/gnu/packages/geo.scm index 8682d29e0e..cdab9ac608 100644 --- a/gnu/packages/geo.scm +++ b/gnu/packages/geo.scm @@ -3261,74 +3261,71 @@ (define-public grass flex pkg-config)) (arguments - `(#:tests? #f ; No tests - #:modules ((guix build gnu-build-system) + (list + #:tests? #f ; No tests + #:modules `((guix build gnu-build-system) ((guix build python-build-system) #:prefix python:) (guix build utils)) - #:imported-modules (,@%default-gnu-imported-modules + #:imported-modules `(,@%default-gnu-imported-modules (guix build python-build-system)) - #:phases - (modify-phases %standard-phases - (add-after 'unpack 'fix-lapack - (lambda _ - (substitute* "./configure" - (("-lblas") "-lopenblas") - (("-llapack") "-lopenblas")))) - (replace 'configure - (lambda* (#:key inputs outputs #:allow-other-keys) - (let ((shell (search-input-file inputs "/bin/bash"))) - (setenv "SHELL" shell) - (setenv "CONFIG_SHELL" shell) - (setenv "LDFLAGS" (string-append "-Wl,-rpath -Wl," - (assoc-ref outputs "out") - "/" ,grassxx "/lib"))) - (invoke "./configure" - (string-append "--prefix=" - (assoc-ref outputs "out")) - "--with-blas" - "--with-bzlib" - (string-append - "--with-freetype-includes=" - (search-input-directory inputs "/include/freetype2")) - (string-append - "--with-freetype-libs=" - (dirname - (search-input-file inputs "/lib/libfreetype.so"))) - "--with-geos" - "--with-lapack" - "--with-mysql" - (string-append - "--with-mysql-includes=" - (search-input-directory inputs "/include/mysql")) - (string-append - "--with-mysql-libs=" - (dirname - (search-input-file inputs "/lib/libmariadb.so"))) - "--with-netcdf" - "--with-postgres" - (string-append - "--with-proj-share=" - (search-input-directory inputs "/share/proj")) - "--with-pthread" - "--with-readline" - "--with-sqlite" - "--with-wxwidgets"))) - (add-after 'install 'install-links - (lambda* (#:key outputs #:allow-other-keys) - ;; Put links for includes and libraries in the standard places. - (let* ((out (assoc-ref outputs "out")) - (dir (string-append out "/" ,grassxx))) - (symlink (string-append dir "/include") - (string-append out "/include")) - (symlink (string-append dir "/lib") - (string-append out "/lib"))))) - (add-after 'install-links 'python:wrap - (assoc-ref python:%standard-phases 'wrap)) - (add-after 'python:wrap 'wrap-with-python-interpreter - (lambda* (#:key outputs #:allow-other-keys) - (let ((out (assoc-ref outputs "out"))) - (wrap-program (string-append out "/bin/" ,grassxx) - `("GRASS_PYTHON" = (,(which "python3")))))))))) + #:configure-flags + #~(list "--with-blas" + "--with-bzlib" + (string-append + "--with-freetype-includes=" + (search-input-directory %build-inputs "/include/freetype2")) + (string-append + "--with-freetype-libs=" + (dirname + (search-input-file %build-inputs "/lib/libfreetype.so"))) + "--with-geos" + "--with-lapack" + "--with-mysql" + (string-append + "--with-mysql-includes=" + (search-input-directory %build-inputs "/include/mysql")) + (string-append + "--with-mysql-libs=" + (dirname + (search-input-file %build-inputs "/lib/libmariadb.so"))) + "--with-netcdf" + "--with-postgres" + (string-append + "--with-proj-share=" + (search-input-directory %build-inputs "/share/proj")) + "--with-pthread" + "--with-readline" + "--with-sqlite" + "--with-wxwidgets" + (string-append + "SHELL=" + (search-input-file %build-inputs "/bin/bash")) + (string-append + "CONFIG_SHELL=" + (search-input-file %build-inputs "/bin/bash")) + (string-append "LDFLAGS=-Wl,-rpath -Wl," + #$output "/" #$grassxx "/lib")) + #:phases + #~(modify-phases %standard-phases + (add-after 'unpack 'fix-lapack + (lambda _ + (substitute* "./configure" + (("-lblas") "-lopenblas") + (("-llapack") "-lopenblas")))) + (add-after 'install 'install-links + (lambda _ + ;; Put links for includes and libraries in the standard places. + (let ((dir (string-append #$output "/" #$grassxx))) + (symlink (string-append dir "/include") + (string-append #$output "/include")) + (symlink (string-append dir "/lib") + (string-append #$output "/lib"))))) + (add-after 'install-links 'python:wrap + (assoc-ref python:%standard-phases 'wrap)) + (add-after 'python:wrap 'wrap-with-python-interpreter + (lambda _ + (wrap-program (string-append #$output "/bin/" #$grassxx) + `("GRASS_PYTHON" = (,(which "python3"))))))))) (synopsis "GRASS Geographic Information System") (description "GRASS (Geographic Resources Analysis Support System), is a Geographic From patchwork Mon Mar 31 01:49:44 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Vinicius Monego X-Patchwork-Id: 41049 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id A6CD527BBEA; Mon, 31 Mar 2025 02:51:48 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-7.6 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,MAILING_LIST_MULTI,RCVD_IN_DNSWL_BLOCKED, RCVD_IN_VALIDITY_CERTIFIED,RCVD_IN_VALIDITY_RPBL,RCVD_IN_VALIDITY_SAFE, SPF_HELO_PASS,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id A579327BBE2 for ; Mon, 31 Mar 2025 02:51:45 +0100 (BST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tz4J0-0008VQ-W9; Sun, 30 Mar 2025 21:51:15 -0400 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 1tz4Is-0008UP-TG for guix-patches@gnu.org; Sun, 30 Mar 2025 21:51:07 -0400 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1tz4Is-0007uz-E1 for guix-patches@gnu.org; Sun, 30 Mar 2025 21:51:06 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=MIME-Version:References:In-Reply-To:Date:From:To:Subject; bh=hTgm1TrONuSTFnBHCkgFJh6pU7c09ENtP2rpOFHe9FY=; b=fGXz2wIOHAvuRdMSDs2ermdnH5Kx6oMeMfTEfoZLqTfUmUSxvNjYI+mEnFEovNgmb0wEgFtKXd3fDP6shoyBldTUSgjjL3RYH/Qp5KQsO9LWauQUztRr/8ZMo130a5hnMME1qf1JE3fuZo8KHFIb4FlTCXs1721ge3IQ83cKa7c7Q0yzJdc8gvaY/6WPNXeJ6NoQne8KktDBim3z4iQTv4efqKJyICZQDAz+PZ4uUo9exp8+d90qevX6UOB0UcRUgTPPRzuyjPPEAXfWflfjznlss84urWGd2gbNHz3uvjdD1sqqpqu26MYmTxX01PgrdwVPfJ5jOa7EVTEjm09UmA==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1tz4Is-0006Rj-5W for guix-patches@gnu.org; Sun, 30 Mar 2025 21:51:06 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#71279] [PATCH v2 2/4] gnu: grass: Update to 8.4.1. Resent-From: Vinicius Monego Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 31 Mar 2025 01:51:05 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 71279 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 71279@debbugs.gnu.org Cc: andreas@enge.fr, Vinicius Monego Received: via spool by 71279-submit@debbugs.gnu.org id=B71279.174338583924499 (code B ref 71279); Mon, 31 Mar 2025 01:51:05 +0000 Received: (at 71279) by debbugs.gnu.org; 31 Mar 2025 01:50:39 +0000 Received: from localhost ([127.0.0.1]:38648 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tz4IO-0006Mg-Tx for submit@debbugs.gnu.org; Sun, 30 Mar 2025 21:50:39 -0400 Received: from mout01.posteo.de ([185.67.36.65]:55811) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1tz4I6-0006Dk-NS for 71279@debbugs.gnu.org; Sun, 30 Mar 2025 21:50:20 -0400 Received: from submission (posteo.de [185.67.36.169]) by mout01.posteo.de (Postfix) with ESMTPS id E3A50240027 for <71279@debbugs.gnu.org>; Mon, 31 Mar 2025 03:50:12 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1743385812; bh=WOx0kXoxTofnfohznoFRbgF8p7vM1WkpKGyREbq75Ww=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version: Content-Transfer-Encoding:From; b=mSbKZT05HPKKZUk6BNeFNPnFG99PdoKbplnov/xfrcMy7EljYoa9G95ekVWLPe6Hh A0Pq7jOaX5bYGys6/mMLbAWldH+RaSeicpjLfLcETQwXVB0OWdbCMHKCXQNwXdptO1 KCz3rqcN5BVGZYi4w8vFKqesyvHv+EfKmwyeEMqX9o/OfaUkvUUFwxEVRVnYGLaxXF ND6Y0hdNrFjy+7hEMIApk622i0Qb+Gb0MEKOkZjGLy1koLGjQkyHZSliFqKsITY55i KKRQVh9B6cALRWHhIcXTt0sfPAp1bgyysoLnUpDLeWNSect/e79PDRMoD9pSk4O+Oe 9nppnJcBILifQ== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4ZQvGD0yGlz9rxF; Mon, 31 Mar 2025 03:50:11 +0200 (CEST) From: Vinicius Monego Date: Mon, 31 Mar 2025 01:49:44 +0000 Message-ID: In-Reply-To: References: MIME-Version: 1.0 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org X-getmail-retrieved-from-mailbox: Patches * 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 From patchwork Mon Mar 31 01:49:45 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Vinicius Monego X-Patchwork-Id: 41052 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id 751ED27BBEA; Mon, 31 Mar 2025 02:51:57 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-7.6 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,MAILING_LIST_MULTI,RCVD_IN_DNSWL_BLOCKED, RCVD_IN_VALIDITY_CERTIFIED,RCVD_IN_VALIDITY_RPBL,RCVD_IN_VALIDITY_SAFE, SPF_HELO_PASS,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id 2F0D727BBE2 for ; Mon, 31 Mar 2025 02:51:57 +0100 (BST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tz4J3-0008W2-ON; Sun, 30 Mar 2025 21:51:17 -0400 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 1tz4Iv-0008Ub-DC for guix-patches@gnu.org; Sun, 30 Mar 2025 21:51:10 -0400 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1tz4Iu-0007vG-I1 for guix-patches@gnu.org; Sun, 30 Mar 2025 21:51:08 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=MIME-Version:References:In-Reply-To:Date:From:To:Subject; bh=yHcjFKYT+9zGh6VHymNYj/axPaC6nSu1GH622An8OPc=; b=b5hK57o4p+0ZdZY5dTjOhsbNbj4GyTwrpc4tSi07AZtfXU+uBmzqvvWzSytDrPoXwW3mOoplWDm7pxdTmWpg6BXZOW+zcPp27KxS4gAMGIqBEBThGircWhccE0naLZjqp+mB+StC0fcn5HJKoXIEY5zXdGMesNS0/I8pN0uS4/XoMtGkOddt9GPd1wuASWSWFsU7qYEv+TeQ/fW2Lm3Ljpv+Qk/ZOEe0AHQer5wK+X3L0OR+swy1gOQh//I02SInXxUoq2aJy5WZ3ISndEVfashwjjoYT4BWxnsugJciYvHkr4Vkg5MRfPSiG0Z7YUgAg9wsUQW/zNKeFzhPM5EAcA==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1tz4Iu-0006SI-7g for guix-patches@gnu.org; Sun, 30 Mar 2025 21:51:08 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#71279] [PATCH v2 3/4] gnu: grass: Improve package style. Resent-From: Vinicius Monego Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 31 Mar 2025 01:51:07 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 71279 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 71279@debbugs.gnu.org Cc: andreas@enge.fr, Vinicius Monego Received: via spool by 71279-submit@debbugs.gnu.org id=B71279.174338584224525 (code B ref 71279); Mon, 31 Mar 2025 01:51:07 +0000 Received: (at 71279) by debbugs.gnu.org; 31 Mar 2025 01:50:42 +0000 Received: from localhost ([127.0.0.1]:38650 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tz4IR-0006N5-Bb for submit@debbugs.gnu.org; Sun, 30 Mar 2025 21:50:41 -0400 Received: from mout02.posteo.de ([185.67.36.66]:39925) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1tz4IC-0006H7-D6 for 71279@debbugs.gnu.org; Sun, 30 Mar 2025 21:50:26 -0400 Received: from submission (posteo.de [185.67.36.169]) by mout02.posteo.de (Postfix) with ESMTPS id E8480240101 for <71279@debbugs.gnu.org>; Mon, 31 Mar 2025 03:50:17 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1743385817; bh=O4hRuLaxLOivn6O6SGB79nE3B2dilL+fiTA5ZE96llU=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version: Content-Transfer-Encoding:From; b=mxCLBCTyCruqaQKwOLvfcYT6Kv1BuqWjW8ltAHBui4aoITi/T+D7AiKvPAhzNNNJt +xoKAopSG3uUBpMLPb7bnH9MNGIZz6gDNXEWeQu+PvEcAwwzXeWJ8clpvMaBtmFQLZ jIzrMTowegPy401BIb8bdcUKhSE5NhfwPjj6HxjD+86Zn+TI0ouYyzFhWpCZ3yu9RQ bLgeuCMIr39oLyKOXAlzSGNU9lM2nm9cBzs/RV/nieBsYSNm5hYHV87nYLf/EaShtS nAo5gcUK4U8wNHSugKYvEvbW28CxiOsBuWUhC8L13wTuf4hDxUNy3PFASyU6cbtIp6 FtE60jdHXyVuw== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4ZQvGJ68p7z6twH; Mon, 31 Mar 2025 03:50:15 +0200 (CEST) From: Vinicius Monego Date: Mon, 31 Mar 2025 01:49:45 +0000 Message-ID: In-Reply-To: References: MIME-Version: 1.0 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org X-getmail-retrieved-from-mailbox: Patches * gnu/packages/geo.scm (grass): Move arguments below build-system, native-inputs below arguments, inputs below native-inputs. Change-Id: Ica7a2c7a32913acfd8818ec04fcea5cb5bf95c6c --- gnu/packages/geo.scm | 70 ++++++++++++++++++++++---------------------- 1 file changed, 35 insertions(+), 35 deletions(-) diff --git a/gnu/packages/geo.scm b/gnu/packages/geo.scm index afe97704a0..697ebb7471 100644 --- a/gnu/packages/geo.scm +++ b/gnu/packages/geo.scm @@ -3227,41 +3227,6 @@ (define-public grass (sha256 (base32 "0r08vdi1s0mpa033bqbc9kc3116qm53bmx2k7l8dgg69wxkwyzfi")))) (build-system gnu-build-system) - (inputs - (list bash-minimal - bzip2 - cairo - fftw - freetype - gdal - geos - glu - libpng - libtiff - libxml2 ;marked as required by pdal - mesa - `(,mariadb "dev") - `(,mariadb "lib") - netcdf - openblas - pdal - perl - postgresql - proj - python - python-dateutil - python-numpy - python-wxpython - readline - sqlite - wxwidgets - zlib - `(,zstd "lib"))) - (native-inputs - (list bash-minimal - bison - flex - pkg-config)) (arguments (list #:tests? #f ; No tests @@ -3328,6 +3293,41 @@ (define-public grass (lambda _ (wrap-program (string-append #$output "/bin/grass") `("GRASS_PYTHON" = (,(which "python3"))))))))) + (native-inputs + (list bash-minimal + bison + flex + pkg-config)) + (inputs + (list bash-minimal + bzip2 + cairo + fftw + freetype + gdal + geos + glu + libpng + libtiff + libxml2 ;marked as required by pdal + mesa + `(,mariadb "dev") + `(,mariadb "lib") + netcdf + openblas + pdal + perl + postgresql + proj + python + python-dateutil + python-numpy + python-wxpython + readline + sqlite + wxwidgets + zlib + `(,zstd "lib"))) (synopsis "GRASS Geographic Information System") (description "GRASS (Geographic Resources Analysis Support System), is a Geographic From patchwork Mon Mar 31 01:49:46 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Vinicius Monego X-Patchwork-Id: 41051 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id 3901127BBE2; Mon, 31 Mar 2025 02:51:52 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-7.6 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,MAILING_LIST_MULTI,RCVD_IN_DNSWL_BLOCKED, RCVD_IN_VALIDITY_CERTIFIED,RCVD_IN_VALIDITY_RPBL,RCVD_IN_VALIDITY_SAFE, SPF_HELO_PASS,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.6 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id F269C27BBEA for ; Mon, 31 Mar 2025 02:51:50 +0100 (BST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tz4J2-0008Vs-5Y; Sun, 30 Mar 2025 21:51:16 -0400 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 1tz4Ix-0008Uk-Am for guix-patches@gnu.org; Sun, 30 Mar 2025 21:51:12 -0400 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1tz4Iw-0007vd-Ur for guix-patches@gnu.org; Sun, 30 Mar 2025 21:51:11 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=MIME-Version:References:In-Reply-To:Date:From:To:Subject; bh=BvogkSeLkG5Ux4cpSKZ8hb7c0og7sZR23rmkD850iVM=; b=oYDbQhDHLIzS84JKJnbhTsJJcgcGexAVWJ9im+m9y1CjSOpN+a3YmWCjUaMnHeJEd/ILZoVF/r2O/j1WZP++hmSYx2Z6EU9SuJcviUkI/5CbMBNDiA1yWwilycdBpaWW7Hb2GAzGC5PFqm+cmMwWsCyUmnxI/mbfSFa4n/WUPh84mvbOPnW7OvQI1iCk5AdAVTRykXGOyPKq3Dk4nZn9g7A1TfuRG/pd/hFjBwExsc3ZujQxxLtuBkMYhpg9mg0ZmqPFVFbe86gUsTgEOhVL4M+DhPoDypacMs5DYLggc3uyAcAVmRlp2slOTYe1vUiA3ytFcoYfqbnDkszjH24ebQ==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1tz4Iw-0006Sk-L7 for guix-patches@gnu.org; Sun, 30 Mar 2025 21:51:10 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#71279] [PATCH v2 4/4] gnu: grass: Add input python-matplotlib. Resent-From: Vinicius Monego Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 31 Mar 2025 01:51:10 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 71279 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 71279@debbugs.gnu.org Cc: andreas@enge.fr, Vinicius Monego Received: via spool by 71279-submit@debbugs.gnu.org id=B71279.174338584324547 (code B ref 71279); Mon, 31 Mar 2025 01:51:10 +0000 Received: (at 71279) by debbugs.gnu.org; 31 Mar 2025 01:50:43 +0000 Received: from localhost ([127.0.0.1]:38652 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tz4IT-0006NV-M6 for submit@debbugs.gnu.org; Sun, 30 Mar 2025 21:50:42 -0400 Received: from mout02.posteo.de ([185.67.36.66]:41861) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1tz4IF-0006J5-L1 for 71279@debbugs.gnu.org; Sun, 30 Mar 2025 21:50:27 -0400 Received: from submission (posteo.de [185.67.36.169]) by mout02.posteo.de (Postfix) with ESMTPS id 3D28E240101 for <71279@debbugs.gnu.org>; Mon, 31 Mar 2025 03:50:21 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1743385821; bh=/7FPJAVUtfoIddvvi6+3xuRtNSZJykIvHm+3TJlnlm4=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version: Content-Transfer-Encoding:From; b=Pv8NcObIEpbjpd61n30XaA24HjHaiaA2+kBlRqItK0T1o2/oU1qQ4Dm/M1g+MH/CI 3aciWULPYCavEVJN0Fp5bXHQ7sEptrBzGV1J8orgbizD/HIkA1fRMTXwpgqBR2MCrd QLlUYvJ5yJOoDydkmpoa5PXLOft0wdFvuDoM26rhenM2b2I4nETtDc0Y3Jsvwr4bwS CR0w/WhJmdKV3h4BoBFB3agegns7Fl7Fub0peGeqmKTznOcD5SiO+/BIz8iss/E9zh WooM8YRdEtKJzy9qtVb6QPCL5P/rymqRzKJPgaRk0pXjW9K79qQEggfwaZHj6w3ZZG NlSGgyY1Hx6DQ== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4ZQvGN3FF2z9rxD; Mon, 31 Mar 2025 03:50:20 +0200 (CEST) From: Vinicius Monego Date: Mon, 31 Mar 2025 01:49:46 +0000 Message-ID: <5d22ff02311dba8300dc059ca2e0d26539a6fa03.1743385653.git.monego@posteo.net> In-Reply-To: References: MIME-Version: 1.0 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org X-getmail-retrieved-from-mailbox: Patches * gnu/packages/geo.scm (grass)[inputs]: Add python-matplotlib. Change-Id: Id0c1d60983bed3b428bc5ca3bc37b1b92f9d8c26 --- gnu/packages/geo.scm | 1 + 1 file changed, 1 insertion(+) diff --git a/gnu/packages/geo.scm b/gnu/packages/geo.scm index 697ebb7471..e259ccfcb1 100644 --- a/gnu/packages/geo.scm +++ b/gnu/packages/geo.scm @@ -3321,6 +3321,7 @@ (define-public grass proj python python-dateutil + python-matplotlib python-numpy python-wxpython readline