all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* [bug#38150] [WIP] gnu: Add grass.
@ 2019-11-09 11:31 Wiktor Żelazny
  2019-11-09 22:46 ` Marius Bakke
  0 siblings, 1 reply; 9+ messages in thread
From: Wiktor Żelazny @ 2019-11-09 11:31 UTC (permalink / raw)
  To: 38150

From: Wiktor Żelazny <wzelazny@vurv.cz>

* gnu/packages/geo.scm (grass): New variable.
No GUI due to wxpython not found on runtime.
---
Another GIS beast. This one builds, at least on my machine, but
   $ grass78
   Starting GRASS GIS...
   ERROR: wxGUI requires wxPython. No module named 'wx'
Perhaps this is something specific to Python module treatment by Guix.
Only one of these
   guix environment python python-wxpython
   guix environment python --ad-hoc python-wxpython
   guix environment --ad-hoc python python-wxpython
, for instance, gives a desired result.
 gnu/packages/geo.scm | 79 +++++++++++++++++++++++++++++++++++++++++++-
 1 file changed, 78 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/geo.scm b/gnu/packages/geo.scm
index dfb00c7547..7d3dea9d79 100644
--- a/gnu/packages/geo.scm
+++ b/gnu/packages/geo.scm
@@ -40,16 +40,20 @@
   #:use-module ((guix licenses) #:prefix license:)
   #:use-module (guix packages)
   #:use-module (guix utils)
+  #:use-module (gnu packages algebra)
   #:use-module (gnu packages astronomy)
   #:use-module (gnu packages autotools)
+  #:use-module (gnu packages bison)
   #:use-module (gnu packages boost)
   #:use-module (gnu packages check)
   #:use-module (gnu packages compression)
   #:use-module (gnu packages databases)
   #:use-module (gnu packages datastructures)
   #:use-module (gnu packages documentation)
+  #:use-module (gnu packages flex)
   #:use-module (gnu packages fonts)
   #:use-module (gnu packages fontutils)
+  #:use-module (gnu packages gl)
   #:use-module (gnu packages glib)
   #:use-module (gnu packages gnome)
   #:use-module (gnu packages gtk)
@@ -67,7 +71,9 @@
   #:use-module (gnu packages web)
   #:use-module (gnu packages webkit)
   #:use-module (gnu packages wxwidgets)
-  #:use-module (gnu packages xml))
+  #:use-module (gnu packages xml)
+  #:use-module (gnu packages xorg)
+  #:use-module (ice-9 match))
 
 (define-public geos
   (package
@@ -1037,3 +1043,74 @@ persisted.
 @end itemize
 ")
     (license license:expat)))
+
+(define-public grass
+  (package
+    (name "grass")
+    (version "7.8.0")
+    (source
+      (origin
+        (method url-fetch)
+        (uri (string-append
+               "https://grass.osgeo.org/" name
+               (match (string-split version #\.)
+                      ((major minor _ ...)
+                       (string-append major minor)))
+               "/source/" name "-" version ".tar.gz"))
+        ;; md5sum checked
+        (sha256
+          (base32
+            "1ynclznkpnm18vi0brmbfcplgi15yd7lwd424abgv7wm9qlr44ab"))))
+    (build-system gnu-build-system)
+    (arguments
+     '(#:phases
+       (modify-phases %standard-phases
+         ;; Replace configure phase as the ./configure script does not like
+         ;; CONFIG_SHELL and SHELL passed as parameters
+         (replace 'configure
+           (lambda* (#:key outputs build target #:allow-other-keys)
+             (let* ((out   (assoc-ref outputs "out"))
+                    (bash  (which "bash"))
+                    (flags `(,(string-append "--prefix=" out)
+                             ,(string-append "--build=" build)
+                             ;; Fix `Unable to locate FreeType includes.'
+                             ,(string-append
+                                  "--with-freetype-includes="
+                                  (assoc-ref %build-inputs "freetype")
+                                  "/include/freetype2")
+                             ;; Fix `Unable to locate PROJ data files.'
+                             ,(string-append
+                                  "--with-proj-share="
+                                  (assoc-ref %build-inputs "proj.4")
+                                  "/share/proj")
+                             ,"--with-postgres")))
+               (setenv "CONFIG_SHELL" bash)
+               (apply invoke bash "./configure" flags)))))
+        #:tests? #f))  ;no check target
+    (native-inputs
+      `(("flex" ,flex)
+        ("bison" ,bison)
+        ("pkg-config" ,pkg-config)
+        ("python" ,python)
+        ("python-six" ,python-six)))
+    (inputs
+      `(("proj.4" ,proj.4)
+        ("gdal" ,gdal)
+        ("zlib" ,zlib)
+        ("zstd:lib" ,zstd "lib")
+        ("libtiff" ,libtiff)
+        ("libpng" ,libpng)
+        ("sqlite" ,sqlite)
+        ("freeglut" ,freeglut)
+        ("fftw" ,fftw)
+        ("cairo" ,cairo)
+        ("freetype" ,freetype)
+        ("libxt" ,libxt)
+        ("python-wxpython" ,python-wxpython) ;; for gui
+        ("postgresql" ,postgresql)))
+    (home-page "https://grass.osgeo.org/")
+    (synopsis "Geographic Resources Analysis Support System")
+    (description "GRASS is a @dfn{Geographic Information System} (GIS) software
+suite used for geospatial data management and analysis, image processing,
+graphics and maps production, spatial modeling, and visualization.")
+    (license license:gpl2+)))
-- 
2.24.0

^ permalink raw reply related	[flat|nested] 9+ messages in thread

* [bug#38150] [WIP] gnu: Add grass.
  2019-11-09 11:31 [bug#38150] [WIP] gnu: Add grass Wiktor Żelazny
@ 2019-11-09 22:46 ` Marius Bakke
  2019-11-12 15:04   ` [bug#38178] [WIP v2] " Wiktor Żelazny
  0 siblings, 1 reply; 9+ messages in thread
From: Marius Bakke @ 2019-11-09 22:46 UTC (permalink / raw)
  To: Wiktor Żelazny, 38150

[-- Attachment #1: Type: text/plain, Size: 5171 bytes --]

Hello Wiktor,

Wiktor Żelazny <wz@freeshell.de> writes:

> From: Wiktor Żelazny <wzelazny@vurv.cz>
>
> * gnu/packages/geo.scm (grass): New variable.
> No GUI due to wxpython not found on runtime.
> ---
> Another GIS beast. This one builds, at least on my machine, but
>    $ grass78
>    Starting GRASS GIS...
>    ERROR: wxGUI requires wxPython. No module named 'wx'
> Perhaps this is something specific to Python module treatment by Guix.

No doubt!

> Only one of these
>    guix environment python python-wxpython
>    guix environment python --ad-hoc python-wxpython
>    guix environment --ad-hoc python python-wxpython
> , for instance, gives a desired result.

I'm guessing it's the latter?  :-)

The issue has to do with how Python modules are located at run-time.
Adding 'python' to the environment will populate the PYTHONPATH variable
with all packages in the profile that have a
'/lib/python3.7/site-packages' directory in its output.  Without
'python', Guix does not know that this variable should exist (see
<https://bugs.gnu.org/22138>).

To overcome this, the common approach is to wrap the executable with the
required variables, along these lines:

(wrap-program (string-append out "/bin/grass")
  `("PYTHONPATH" ":" prefix (,(string-append wxpython "/lib/python"
                                             (python-version python)
                                             "/site-packages"))))

Can you try that?

Some comments on the patch itself:

> +(define-public grass
> +  (package
> +    (name "grass")
> +    (version "7.8.0")
> +    (source
> +      (origin
> +        (method url-fetch)
> +        (uri (string-append
> +               "https://grass.osgeo.org/" name
> +               (match (string-split version #\.)
> +                      ((major minor _ ...)
> +                       (string-append major minor)))
> +               "/source/" name "-" version ".tar.gz"))
> +        ;; md5sum checked

We don't really need to acknowledge that we've verified checksums; it's
explicitly part of the packaging process per the "Submitting patches"
section of the manual.  Besides, MD5SUMs are not useful for security
these days, as it has become trivial to forge.

> +        (sha256
> +          (base32
> +            "1ynclznkpnm18vi0brmbfcplgi15yd7lwd424abgv7wm9qlr44ab"))))

Indentation seems to be off here.  If you are not using Emacs, please
run ./etc/indent-code.el on this file.

> +    (build-system gnu-build-system)
> +    (arguments
> +     '(#:phases
> +       (modify-phases %standard-phases
> +         ;; Replace configure phase as the ./configure script does not like
> +         ;; CONFIG_SHELL and SHELL passed as parameters
> +         (replace 'configure
> +           (lambda* (#:key outputs build target #:allow-other-keys)
> +             (let* ((out   (assoc-ref outputs "out"))
> +                    (bash  (which "bash"))
> +                    (flags `(,(string-append "--prefix=" out)

Note: you can use (list (string-append ...) ...) here instead of
quote/unquote.

> +                             ,(string-append "--build=" build)
> +                             ;; Fix `Unable to locate FreeType includes.'
> +                             ,(string-append
> +                                  "--with-freetype-includes="
> +                                  (assoc-ref %build-inputs "freetype")
> +                                  "/include/freetype2")
> +                             ;; Fix `Unable to locate PROJ data files.'

I'm not sure this (and the previous) comment add anything: it's fairly
obvious that these flags are here to tell the build system where to find
these files.

> +                             ,(string-append
> +                                  "--with-proj-share="
> +                                  (assoc-ref %build-inputs "proj.4")
> +                                  "/share/proj")
> +                             ,"--with-postgres")))
                                ^
This line does not need to be unquoted.

> +               (setenv "CONFIG_SHELL" bash)
> +               (apply invoke bash "./configure" flags)))))
> +        #:tests? #f))  ;no check target
> +    (native-inputs
> +      `(("flex" ,flex)
> +        ("bison" ,bison)
> +        ("pkg-config" ,pkg-config)
> +        ("python" ,python)
> +        ("python-six" ,python-six)))

I'm surprised to see python-six as a native-input, do you know what it's
used for?

> +    (inputs
> +      `(("proj.4" ,proj.4)
> +        ("gdal" ,gdal)
> +        ("zlib" ,zlib)
> +        ("zstd:lib" ,zstd "lib")
> +        ("libtiff" ,libtiff)
> +        ("libpng" ,libpng)
> +        ("sqlite" ,sqlite)
> +        ("freeglut" ,freeglut)
> +        ("fftw" ,fftw)
> +        ("cairo" ,cairo)
> +        ("freetype" ,freetype)
> +        ("libxt" ,libxt)
> +        ("python-wxpython" ,python-wxpython) ;; for gui
                                                ^
Nit-pick: Only one semicolon in margin comments.

Apart from these minor remarks, the patch looks great :-)

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 487 bytes --]

^ permalink raw reply	[flat|nested] 9+ messages in thread

* [bug#38178] [WIP v2] gnu: Add grass.
  2019-11-09 22:46 ` Marius Bakke
@ 2019-11-12 15:04   ` Wiktor Żelazny
       [not found]     ` <handler.38178.B.15735711166598.ack@debbugs.gnu.org>
  0 siblings, 1 reply; 9+ messages in thread
From: Wiktor Żelazny @ 2019-11-12 15:04 UTC (permalink / raw)
  To: 38178

From: Wiktor Żelazny <wzelazny@vurv.cz>

* gnu/packages/geo.scm (grass): New variable.
No GUI due to wxpython not found on runtime.
---
Hi there!
Thank you for your suggestion with regard to python-wxpython. I tried to
implement it, along with your remaining comments. I temporarily removed
python-six. I don’t remember anymore what led me to putting it there.
Unfortunately, I cannot test the result, as I’m now getting this kind of
errors:
   Status: Preprocessing /tmp/guix-build-grass-7.8.0.drv-0/tmp70mq13s0.h
   Status: gcc -E       -I/tmp/guix-build-grass-7.8.0.drv-0/grass-7.8.0/dist.x86_64-pc-linux-gnu/include -I/tmp/guix-build-grass-7.8.0.drv-0/grass-7.8.0/dist.x86_64-pc-linux-gnu/include -D__GLIBC_HAVE_LONG_LONG -U __GNUC__ -dD "-Dinline=" "-
   D__inline__=" "-D__extension__=" "-D_Bool=uint8_t" "-D__const=const" "-D__asm__(x)=" "-D__asm(x)=" "-DCTYPESGEN=1" "/tmp/guix-build-grass-7.8.0.drv-0/tmp70mq13s0.h"
   Status: Parsing /tmp/guix-build-grass-7.8.0.drv-0/tmp70mq13s0.h
   Error: /gnu/store/ahqgl4h89xqj695lgqvsaf6zh2nhy4pj-glibc-2.29/include/sys/select.h:101: Syntax error at '__readfds'
   Error: /gnu/store/ahqgl4h89xqj695lgqvsaf6zh2nhy4pj-glibc-2.29/include/sys/select.h:102: Syntax error at '__writefds'
   Error: /gnu/store/ahqgl4h89xqj695lgqvsaf6zh2nhy4pj-glibc-2.29/include/sys/select.h:103: Syntax error at '__exceptfds'
   Error: /gnu/store/ahqgl4h89xqj695lgqvsaf6zh2nhy4pj-glibc-2.29/include/sys/select.h:104: Syntax error at '__timeout'
   Error: /gnu/store/ahqgl4h89xqj695lgqvsaf6zh2nhy4pj-glibc-2.29/include/sys/select.h:113: Syntax error at '__readfds'
   Error: /gnu/store/ahqgl4h89xqj695lgqvsaf6zh2nhy4pj-glibc-2.29/include/sys/select.h:114: Syntax error at '__writefds'
   Error: /gnu/store/ahqgl4h89xqj695lgqvsaf6zh2nhy4pj-glibc-2.29/include/sys/select.h:115: Syntax error at '__exceptfds'
   Error: /gnu/store/ahqgl4h89xqj695lgqvsaf6zh2nhy4pj-glibc-2.29/include/sys/select.h:116: Syntax error at '__timeout'
   Error: /gnu/store/ahqgl4h89xqj695lgqvsaf6zh2nhy4pj-glibc-2.29/include/sys/select.h:117: Syntax error at '__sigmask'
   Error: /gnu/store/ahqgl4h89xqj695lgqvsaf6zh2nhy4pj-glibc-2.29/include/inttypes.h:297: Syntax error at '__nptr'
   Error: /gnu/store/ahqgl4h89xqj695lgqvsaf6zh2nhy4pj-glibc-2.29/include/inttypes.h:298: Syntax error at '__endptr'
   Error: /gnu/store/ahqgl4h89xqj695lgqvsaf6zh2nhy4pj-glibc-2.29/include/inttypes.h:301: Syntax error at '__nptr'
   Error: /gnu/store/ahqgl4h89xqj695lgqvsaf6zh2nhy4pj-glibc-2.29/include/inttypes.h:302: Syntax error at '__endptr'
   Error: /gnu/store/ahqgl4h89xqj695lgqvsaf6zh2nhy4pj-glibc-2.29/include/inttypes.h:305: Syntax error at '__nptr'
   Error: /gnu/store/ahqgl4h89xqj695lgqvsaf6zh2nhy4pj-glibc-2.29/include/inttypes.h:302: Syntax error at '__endptr'
   Error: /gnu/store/ahqgl4h89xqj695lgqvsaf6zh2nhy4pj-glibc-2.29/include/inttypes.h:305: Syntax error at '__nptr'
   Error: /gnu/store/ahqgl4h89xqj695lgqvsaf6zh2nhy4pj-glibc-2.29/include/inttypes.h:306: Syntax error at '__endptr'
   Error: /gnu/store/ahqgl4h89xqj695lgqvsaf6zh2nhy4pj-glibc-2.29/include/inttypes.h:310: Syntax error at '__nptr'
   Error: /gnu/store/ahqgl4h89xqj695lgqvsaf6zh2nhy4pj-glibc-2.29/include/inttypes.h:311: Syntax error at '__endptr'
   Error: /gnu/store/vf5lkc27z5rcbvaw6rkdmqisyg923m5r-mesa-19.1.4/include/GL/glext.h:9752: Syntax error at 'packed'
   Error: /gnu/store/vf5lkc27z5rcbvaw6rkdmqisyg923m5r-mesa-19.1.4/include/GL/glext.h:9752: Syntax error at ')'
   Error: /gnu/store/vf5lkc27z5rcbvaw6rkdmqisyg923m5r-mesa-19.1.4/include/GL/glext.h:9755: Syntax error at 'packed'
   Error: /gnu/store/vf5lkc27z5rcbvaw6rkdmqisyg923m5r-mesa-19.1.4/include/GL/glext.h:9755: Syntax error at ')'
   Error: /gnu/store/vf5lkc27z5rcbvaw6rkdmqisyg923m5r-mesa-19.1.4/include/GL/glext.h:9762: Syntax error at 'packed'
   Error: /gnu/store/vf5lkc27z5rcbvaw6rkdmqisyg923m5r-mesa-19.1.4/include/GL/glext.h:9762: Syntax error at ')'
   Error: /gnu/store/vf5lkc27z5rcbvaw6rkdmqisyg923m5r-mesa-19.1.4/include/GL/glext.h:9765: Syntax error at 'packed'
   Error: /gnu/store/vf5lkc27z5rcbvaw6rkdmqisyg923m5r-mesa-19.1.4/include/GL/glext.h:9765: Syntax error at ')'
   Error: /gnu/store/ahqgl4h89xqj695lgqvsaf6zh2nhy4pj-glibc-2.29/include/stdio.h:246: Syntax error at '__filename'
   Error: /gnu/store/ahqgl4h89xqj695lgqvsaf6zh2nhy4pj-glibc-2.29/include/stdio.h:247: Syntax error at '__modes'
   Error: /gnu/store/ahqgl4h89xqj695lgqvsaf6zh2nhy4pj-glibc-2.29/include/stdio.h:252: Syntax error at '__filename'
   Error: /gnu/store/ahqgl4h89xqj695lgqvsaf6zh2nhy4pj-glibc-2.29/include/stdio.h:253: Syntax error at '__modes'
   Error: /gnu/store/ahqgl4h89xqj695lgqvsaf6zh2nhy4pj-glibc-2.29/include/stdio.h:254: Syntax error at '__stream'
   Error: /gnu/store/ahqgl4h89xqj695lgqvsaf6zh2nhy4pj-glibc-2.29/include/stdio.h:304: Syntax error at '__stream'
   Error: /gnu/store/ahqgl4h89xqj695lgqvsaf6zh2nhy4pj-glibc-2.29/include/stdio.h:304: Syntax error at '__buf'
   Error: /gnu/store/ahqgl4h89xqj695lgqvsaf6zh2nhy4pj-glibc-2.29/include/stdio.h:308: Syntax error at '__stream'
   Error: /gnu/store/ahqgl4h89xqj695lgqvsaf6zh2nhy4pj-glibc-2.29/include/stdio.h:308: Syntax error at '__buf'
   Error: /gnu/store/ahqgl4h89xqj695lgqvsaf6zh2nhy4pj-glibc-2.29/include/stdio.h:309: Syntax error at 'size_t'
   Error: /gnu/store/ahqgl4h89xqj695lgqvsaf6zh2nhy4pj-glibc-2.29/include/stdio.h:314: Syntax error at '__stream'
   Error: /gnu/store/ahqgl4h89xqj695lgqvsaf6zh2nhy4pj-glibc-2.29/include/stdio.h:314: Syntax error at '__buf'
   Error: /gnu/store/ahqgl4h89xqj695lgqvsaf6zh2nhy4pj-glibc-2.29/include/stdio.h:326: Syntax error at '__stream'
   Error: /gnu/store/ahqgl4h89xqj695lgqvsaf6zh2nhy4pj-glibc-2.29/include/stdio.h:327: Syntax error at '__format'
   Error: /gnu/store/ahqgl4h89xqj695lgqvsaf6zh2nhy4pj-glibc-2.29/include/stdio.h:332: Syntax error at '__format'
   Error: /gnu/store/ahqgl4h89xqj695lgqvsaf6zh2nhy4pj-glibc-2.29/include/stdio.h:334: Syntax error at '__s'
   Error: /gnu/store/ahqgl4h89xqj695lgqvsaf6zh2nhy4pj-glibc-2.29/include/stdio.h:335: Syntax error at '__format'
   Error: /gnu/store/ahqgl4h89xqj695lgqvsaf6zh2nhy4pj-glibc-2.29/include/stdio.h:341: Syntax error at '__s'
   Error: /gnu/store/ahqgl4h89xqj695lgqvsaf6zh2nhy4pj-glibc-2.29/include/stdio.h:341: Syntax error at '__format'
   Error: /gnu/store/ahqgl4h89xqj695lgqvsaf6zh2nhy4pj-glibc-2.29/include/stdio.h:347: Syntax error at '__format'
   Error: /gnu/store/ahqgl4h89xqj695lgqvsaf6zh2nhy4pj-glibc-2.29/include/stdio.h:349: Syntax error at '__s'
   Error: /gnu/store/ahqgl4h89xqj695lgqvsaf6zh2nhy4pj-glibc-2.29/include/stdio.h:349: Syntax error at '__format'
   Error: /gnu/store/ahqgl4h89xqj695lgqvsaf6zh2nhy4pj-glibc-2.29/include/stdio.h:354: Syntax error at '__s'
   Error: /gnu/store/ahqgl4h89xqj695lgqvsaf6zh2nhy4pj-glibc-2.29/include/stdio.h:355: Syntax error at 'const'
   Error: /gnu/store/ahqgl4h89xqj695lgqvsaf6zh2nhy4pj-glibc-2.29/include/stdio.h:355: Syntax error at '__format'
   Error: /gnu/store/ahqgl4h89xqj695lgqvsaf6zh2nhy4pj-glibc-2.29/include/stdio.h:358: Syntax error at '__s'
   Error: /gnu/store/ahqgl4h89xqj695lgqvsaf6zh2nhy4pj-glibc-2.29/include/stdio.h:359: Syntax error at 'const'
   Error: /gnu/store/ahqgl4h89xqj695lgqvsaf6zh2nhy4pj-glibc-2.29/include/stdio.h:359: Syntax error at '__format'
   Error: /gnu/store/ahqgl4h89xqj695lgqvsaf6zh2nhy4pj-glibc-2.29/include/stdio.h:379: Syntax error at '__fmt'
   Error: /gnu/store/ahqgl4h89xqj695lgqvsaf6zh2nhy4pj-glibc-2.29/include/stdio.h:382: Syntax error at '__fmt'
   Error: /gnu/store/ahqgl4h89xqj695lgqvsaf6zh2nhy4pj-glibc-2.29/include/stdio.h:391: Syntax error at '__stream'
   Error: /gnu/store/ahqgl4h89xqj695lgqvsaf6zh2nhy4pj-glibc-2.29/include/stdio.h:392: Syntax error at '__format'
   Error: /gnu/store/ahqgl4h89xqj695lgqvsaf6zh2nhy4pj-glibc-2.29/include/stdio.h:397: Syntax error at '__format'
   Error: /gnu/store/ahqgl4h89xqj695lgqvsaf6zh2nhy4pj-glibc-2.29/include/stdio.h:399: Syntax error at '__s'
   Error: /gnu/store/ahqgl4h89xqj695lgqvsaf6zh2nhy4pj-glibc-2.29/include/stdio.h:400: Syntax error at '__format'
   Error: /gnu/store/ahqgl4h89xqj695lgqvsaf6zh2nhy4pj-glibc-2.29/include/stdio.h:416: Syntax error at '__stream'
   Error: /gnu/store/ahqgl4h89xqj695lgqvsaf6zh2nhy4pj-glibc-2.29/include/stdio.h:417: Syntax error at '__format'
   Error: /gnu/store/ahqgl4h89xqj695lgqvsaf6zh2nhy4pj-glibc-2.29/include/stdio.h:418: Syntax error at '__format'
   Error: /gnu/store/ahqgl4h89xqj695lgqvsaf6zh2nhy4pj-glibc-2.29/include/stdio.h:419: Syntax error at '__s'
   Error: /gnu/store/ahqgl4h89xqj695lgqvsaf6zh2nhy4pj-glibc-2.29/include/stdio.h:420: Syntax error at '__format'
   Error: /gnu/store/ahqgl4h89xqj695lgqvsaf6zh2nhy4pj-glibc-2.29/include/stdio.h:432: Syntax error at '__s'
   Error: /gnu/store/ahqgl4h89xqj695lgqvsaf6zh2nhy4pj-glibc-2.29/include/stdio.h:432: Syntax error at '__format'
   Error: /gnu/store/ahqgl4h89xqj695lgqvsaf6zh2nhy4pj-glibc-2.29/include/stdio.h:440: Syntax error at '__format'
   Error: /gnu/store/ahqgl4h89xqj695lgqvsaf6zh2nhy4pj-glibc-2.29/include/stdio.h:444: Syntax error at '__s'
   Error: /gnu/store/ahqgl4h89xqj695lgqvsaf6zh2nhy4pj-glibc-2.29/include/stdio.h:445: Syntax error at '__format'
   Error: /gnu/store/ahqgl4h89xqj695lgqvsaf6zh2nhy4pj-glibc-2.29/include/stdio.h:465: Syntax error at '__s'
   Error: /gnu/store/ahqgl4h89xqj695lgqvsaf6zh2nhy4pj-glibc-2.29/include/stdio.h:466: Syntax error at '__format'
   Error: /gnu/store/ahqgl4h89xqj695lgqvsaf6zh2nhy4pj-glibc-2.29/include/stdio.h:468: Syntax error at '__format'
   Error: /gnu/store/ahqgl4h89xqj695lgqvsaf6zh2nhy4pj-glibc-2.29/include/stdio.h:470: Syntax error at '__s'
   Error: /gnu/store/ahqgl4h89xqj695lgqvsaf6zh2nhy4pj-glibc-2.29/include/stdio.h:471: Syntax error at '__format'
   Error: /gnu/store/ahqgl4h89xqj695lgqvsaf6zh2nhy4pj-glibc-2.29/include/stdio.h:564: Syntax error at '__s'
   Error: /gnu/store/ahqgl4h89xqj695lgqvsaf6zh2nhy4pj-glibc-2.29/include/stdio.h:564: Syntax error at 'FILE'
   Error: /gnu/store/ahqgl4h89xqj695lgqvsaf6zh2nhy4pj-glibc-2.29/include/stdio.h:603: Syntax error at '__lineptr'
   Error: /gnu/store/ahqgl4h89xqj695lgqvsaf6zh2nhy4pj-glibc-2.29/include/stdio.h:604: Syntax error at '__n'
   Error: /gnu/store/ahqgl4h89xqj695lgqvsaf6zh2nhy4pj-glibc-2.29/include/stdio.h:605: Syntax error at 'FILE'
   Error: /gnu/store/ahqgl4h89xqj695lgqvsaf6zh2nhy4pj-glibc-2.29/include/stdio.h:606: Syntax error at '__lineptr'
   Error: /gnu/store/ahqgl4h89xqj695lgqvsaf6zh2nhy4pj-glibc-2.29/include/stdio.h:607: Syntax error at '__n'
   Error: /gnu/store/ahqgl4h89xqj695lgqvsaf6zh2nhy4pj-glibc-2.29/include/stdio.h:608: Syntax error at 'FILE'
   Error: /gnu/store/ahqgl4h89xqj695lgqvsaf6zh2nhy4pj-glibc-2.29/include/stdio.h:616: Syntax error at '__lineptr'
   Error: /gnu/store/ahqgl4h89xqj695lgqvsaf6zh2nhy4pj-glibc-2.29/include/stdio.h:617: Syntax error at '__n'
   Error: /gnu/store/ahqgl4h89xqj695lgqvsaf6zh2nhy4pj-glibc-2.29/include/stdio.h:616: Syntax error at '__lineptr'
   Error: /gnu/store/ahqgl4h89xqj695lgqvsaf6zh2nhy4pj-glibc-2.29/include/stdio.h:617: Syntax error at '__n'
   Error: /gnu/store/ahqgl4h89xqj695lgqvsaf6zh2nhy4pj-glibc-2.29/include/stdio.h:618: Syntax error at '__stream'
   Error: /gnu/store/ahqgl4h89xqj695lgqvsaf6zh2nhy4pj-glibc-2.29/include/stdio.h:626: Syntax error at '__s'
   Error: /gnu/store/ahqgl4h89xqj695lgqvsaf6zh2nhy4pj-glibc-2.29/include/stdio.h:626: Syntax error at '__stream'
   Error: /gnu/store/ahqgl4h89xqj695lgqvsaf6zh2nhy4pj-glibc-2.29/include/stdio.h:646: Syntax error at '__ptr'
   Error: /gnu/store/ahqgl4h89xqj695lgqvsaf6zh2nhy4pj-glibc-2.29/include/stdio.h:647: Syntax error at 'size_t'
   Error: /gnu/store/ahqgl4h89xqj695lgqvsaf6zh2nhy4pj-glibc-2.29/include/stdio.h:647: Syntax error at '__stream'
   Error: /gnu/store/ahqgl4h89xqj695lgqvsaf6zh2nhy4pj-glibc-2.29/include/stdio.h:652: Syntax error at '__ptr'
   Error: /gnu/store/ahqgl4h89xqj695lgqvsaf6zh2nhy4pj-glibc-2.29/include/stdio.h:653: Syntax error at 'size_t'
   Error: /gnu/store/ahqgl4h89xqj695lgqvsaf6zh2nhy4pj-glibc-2.29/include/stdio.h:653: Syntax error at '__s'
   Error: /gnu/store/ahqgl4h89xqj695lgqvsaf6zh2nhy4pj-glibc-2.29/include/stdio.h:673: Syntax error at '__ptr'
   Error: /gnu/store/ahqgl4h89xqj695lgqvsaf6zh2nhy4pj-glibc-2.29/include/stdio.h:674: Syntax error at 'size_t'
   Error: /gnu/store/ahqgl4h89xqj695lgqvsaf6zh2nhy4pj-glibc-2.29/include/stdio.h:674: Syntax error at '__stream'
   Error: /gnu/store/ahqgl4h89xqj695lgqvsaf6zh2nhy4pj-glibc-2.29/include/stdio.h:675: Syntax error at '__ptr'
   Error: /gnu/store/ahqgl4h89xqj695lgqvsaf6zh2nhy4pj-glibc-2.29/include/stdio.h:676: Syntax error at 'size_t'
   Error: /gnu/store/ahqgl4h89xqj695lgqvsaf6zh2nhy4pj-glibc-2.29/include/stdio.h:676: Syntax error at '__stream'
   Error: /gnu/store/ahqgl4h89xqj695lgqvsaf6zh2nhy4pj-glibc-2.29/include/stdio.h:731: Syntax error at '__stream'
   Error: /gnu/store/ahqgl4h89xqj695lgqvsaf6zh2nhy4pj-glibc-2.29/include/stdio.h:731: Syntax error at '__pos'
   Error: /gnu/store/ahqgl4h89xqj695lgqvsaf6zh2nhy4pj-glibc-2.29/include/sys/stat.h:205: Syntax error at '__file'
   Error: /gnu/store/ahqgl4h89xqj695lgqvsaf6zh2nhy4pj-glibc-2.29/include/sys/stat.h:206: Syntax error at '__buf'
   Error: /gnu/store/ahqgl4h89xqj695lgqvsaf6zh2nhy4pj-glibc-2.29/include/sys/stat.h:234: Syntax error at '__file'
   Error: /gnu/store/ahqgl4h89xqj695lgqvsaf6zh2nhy4pj-glibc-2.29/include/sys/stat.h:235: Syntax error at '__buf'
   Error: /gnu/store/ahqgl4h89xqj695lgqvsaf6zh2nhy4pj-glibc-2.29/include/sys/stat.h:259: Syntax error at '__file'
   Error: /gnu/store/ahqgl4h89xqj695lgqvsaf6zh2nhy4pj-glibc-2.29/include/sys/stat.h:260: Syntax error at '__buf'
   Error: /gnu/store/vf5lkc27z5rcbvaw6rkdmqisyg923m5r-mesa-19.1.4/include/GL/gl.h:93: Syntax error at '\n'
   Error: /gnu/store/vf5lkc27z5rcbvaw6rkdmqisyg923m5r-mesa-19.1.4/include/GL/gl.h:97: Syntax error at '\n'
   Status: Processing description list.
   Status: Writing to OBJ.x86_64-pc-linux-gnu/nviz.py.
   Status: Wrapping complete.
I wish I could inspect those temporary files
(/tmp/guix-build-grass-7.8.0.drv-0/tmp70mq13s0.h in the example above), but
they dissapear too quickly. I suspected that my build environment had got
broken in the meantime, as the errors persist when I selectively rollback
various combinations of the changes. I cannot fully verify it, as I don’t know
the way to force the Guix daemon to rebuild (recompile) what’s already in the
store. I tried
   guix build --check
, then
   guix build -S --check
— to no avail. But I switched the OS state (GRUB menu on boot + user profile
generation) to the time of my first successful grass build, and building with
changes results in the same errors. Needless to say, I’m at loss now.
 gnu/packages/geo.scm | 85 +++++++++++++++++++++++++++++++++++++++++++-
 1 file changed, 84 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/geo.scm b/gnu/packages/geo.scm
index dfb00c7547..e050e25511 100644
--- a/gnu/packages/geo.scm
+++ b/gnu/packages/geo.scm
@@ -40,16 +40,20 @@
   #:use-module ((guix licenses) #:prefix license:)
   #:use-module (guix packages)
   #:use-module (guix utils)
+  #:use-module (gnu packages algebra)
   #:use-module (gnu packages astronomy)
   #:use-module (gnu packages autotools)
+  #:use-module (gnu packages bison)
   #:use-module (gnu packages boost)
   #:use-module (gnu packages check)
   #:use-module (gnu packages compression)
   #:use-module (gnu packages databases)
   #:use-module (gnu packages datastructures)
   #:use-module (gnu packages documentation)
+  #:use-module (gnu packages flex)
   #:use-module (gnu packages fonts)
   #:use-module (gnu packages fontutils)
+  #:use-module (gnu packages gl)
   #:use-module (gnu packages glib)
   #:use-module (gnu packages gnome)
   #:use-module (gnu packages gtk)
@@ -67,7 +71,9 @@
   #:use-module (gnu packages web)
   #:use-module (gnu packages webkit)
   #:use-module (gnu packages wxwidgets)
-  #:use-module (gnu packages xml))
+  #:use-module (gnu packages xml)
+  #:use-module (gnu packages xorg)
+  #:use-module (ice-9 match))
 
 (define-public geos
   (package
@@ -1037,3 +1043,80 @@ persisted.
 @end itemize
 ")
     (license license:expat)))
+
+(define-public grass
+  (package
+    (name "grass")
+    (version "7.8.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (string-append
+             "https://grass.osgeo.org/" name
+             (match (string-split version #\.)
+               ((major minor _ ...)
+                (string-append major minor)))
+             "/source/" name "-" version ".tar.gz"))
+       (sha256
+        (base32
+         "1ynclznkpnm18vi0brmbfcplgi15yd7lwd424abgv7wm9qlr44ab"))))
+    (build-system gnu-build-system)
+    (arguments
+     '(#:phases
+       (modify-phases %standard-phases
+         ;; Replace configure phase as the ./configure script does not like
+         ;; CONFIG_SHELL and SHELL passed as parameters
+         (replace 'configure
+           (lambda* (#:key outputs build target #:allow-other-keys)
+             (let* ((out   (assoc-ref outputs "out"))
+                    (bash  (which "bash"))
+                    (flags (list
+                            (string-append "--prefix=" out)
+                            (string-append "--build=" build)
+                            (string-append
+                             "--with-freetype-includes="
+                             (assoc-ref %build-inputs "freetype")
+                             "/include/freetype2")
+                            (string-append
+                             "--with-proj-share="
+                             (assoc-ref %build-inputs "proj.4")
+                             "/share/proj")
+                            "--with-postgres")))
+               (setenv "CONFIG_SHELL" bash)
+               (apply invoke bash "./configure" flags))))
+         (add-after 'install 'wrap-python-scripts
+           (lambda* (#:key outputs #:allow-other-keys)
+             (let ((out (assoc-ref outputs "out")))
+               (wrap-program (string-append out "/bin/grass78")
+                 `("PYTHONPATH" ":"
+                   prefix (,(string-append wxpython "/lib/python"
+                                           (python-version python)
+                                           "/site-packages")))))
+             #t)))
+       #:tests? #f))  ;no check target
+    (native-inputs
+     `(("flex" ,flex)
+       ("bison" ,bison)
+       ("pkg-config" ,pkg-config)
+       ("python" ,python)))
+    (inputs
+     `(("proj.4" ,proj.4)
+       ("gdal" ,gdal)
+       ("zlib" ,zlib)
+       ("zstd:lib" ,zstd "lib")
+       ("libtiff" ,libtiff)
+       ("libpng" ,libpng)
+       ("sqlite" ,sqlite)
+       ("freeglut" ,freeglut)
+       ("fftw" ,fftw)
+       ("cairo" ,cairo)
+       ("freetype" ,freetype)
+       ("libxt" ,libxt)
+       ("python-wxpython" ,python-wxpython) ;for gui
+       ("postgresql" ,postgresql)))
+    (home-page "https://grass.osgeo.org/")
+    (synopsis "Geographic Resources Analysis Support System")
+    (description "GRASS is a @dfn{Geographic Information System} (GIS) software
+suite used for geospatial data management and analysis, image processing,
+graphics and maps production, spatial modeling, and visualization.")
+    (license license:gpl2+)))
-- 
2.24.0

^ permalink raw reply related	[flat|nested] 9+ messages in thread

* [bug#38178] [WIP v2] gnu: Add grass.
       [not found]     ` <handler.38178.B.15735711166598.ack@debbugs.gnu.org>
@ 2019-11-14 15:30       ` Wiktor Żelazny
  2020-03-21 20:21         ` Marius Bakke
  0 siblings, 1 reply; 9+ messages in thread
From: Wiktor Żelazny @ 2019-11-14 15:30 UTC (permalink / raw)
  To: 38178

[-- Attachment #1: Type: text/plain, Size: 666 bytes --]

A new version of GRASS GIS got released, which gave me an opportunity
to bump the version in the old definition and recompile. The errors are
there, but do not hinder the successful build. Apparently, they have
been there from the beginning; I just didn’t notice — both bad and
good news.

The real error (for now) is

   In unknown file:
            0 (%resolve-variable (7 . wxpython) #<directory (g…>)

   ERROR: In procedure %resolve-variable:
   Unbound variable: wxpython

I tried changing “wxpython” to “python-wxpython”, but this also
is not recognized. So there’s something wrong with the way I defined
the wrapping.

WŻ

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 963 bytes --]

^ permalink raw reply	[flat|nested] 9+ messages in thread

* [bug#38178] [WIP v2] gnu: Add grass.
  2019-11-14 15:30       ` Wiktor Żelazny
@ 2020-03-21 20:21         ` Marius Bakke
  2020-03-22  8:57           ` Guillaume Le Vaillant
  2020-03-24 21:16           ` [bug#38178] " Wiktor Żelazny
  0 siblings, 2 replies; 9+ messages in thread
From: Marius Bakke @ 2020-03-21 20:21 UTC (permalink / raw)
  To: Wiktor Żelazny, 38178

[-- Attachment #1: Type: text/plain, Size: 902 bytes --]

Wiktor Żelazny <wz@freeshell.de> writes:

> A new version of GRASS GIS got released, which gave me an opportunity
> to bump the version in the old definition and recompile. The errors are
> there, but do not hinder the successful build. Apparently, they have
> been there from the beginning; I just didn’t notice — both bad and
> good news.
>
> The real error (for now) is
>
>    In unknown file:
>             0 (%resolve-variable (7 . wxpython) #<directory (g…>)
>
>    ERROR: In procedure %resolve-variable:
>    Unbound variable: wxpython
>
> I tried changing “wxpython” to “python-wxpython”, but this also
> is not recognized. So there’s something wrong with the way I defined
> the wrapping.

Did you get anywhere with this patch?  Can you rebase it on the current
master branch for easier testing?  TIA!

By the way, sorry for the sloooooow responses...

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 487 bytes --]

^ permalink raw reply	[flat|nested] 9+ messages in thread

* [bug#38178] [WIP v2] gnu: Add grass.
  2020-03-21 20:21         ` Marius Bakke
@ 2020-03-22  8:57           ` Guillaume Le Vaillant
  2020-03-24 10:57             ` bug#38178: " Guillaume Le Vaillant
  2020-03-24 21:16           ` [bug#38178] " Wiktor Żelazny
  1 sibling, 1 reply; 9+ messages in thread
From: Guillaume Le Vaillant @ 2020-03-22  8:57 UTC (permalink / raw)
  To: 38178


[-- Attachment #1.1: Type: text/plain, Size: 1203 bytes --]


Marius Bakke <mbakke@fastmail.com> skribis:

> Wiktor Żelazny <wz@freeshell.de> writes:
>
>> A new version of GRASS GIS got released, which gave me an opportunity
>> to bump the version in the old definition and recompile. The errors are
>> there, but do not hinder the successful build. Apparently, they have
>> been there from the beginning; I just didn’t notice — both bad and
>> good news.
>>
>> The real error (for now) is
>>
>>    In unknown file:
>>             0 (%resolve-variable (7 . wxpython) #<directory (g…>)
>>
>>    ERROR: In procedure %resolve-variable:
>>    Unbound variable: wxpython
>>
>> I tried changing “wxpython” to “python-wxpython”, but this also
>> is not recognized. So there’s something wrong with the way I defined
>> the wrapping.
>
> Did you get anywhere with this patch?  Can you rebase it on the current
> master branch for easier testing?  TIA!
>
> By the way, sorry for the sloooooow responses...

I have a patch for grass (it compiles, but I have not tested all its
functionalities). If I had searched in the issues and found Wiktor's
patch, I wouldn't have had to write one from scratch, but well... here
it is:


[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1.2: 0001-gnu-Add-grass.patch --]
[-- Type: text/x-patch, Size: 7189 bytes --]

From 59894e2bd8cfd1086abd7630d998f29351c88565 Mon Sep 17 00:00:00 2001
From: Guillaume Le Vaillant <glv@posteo.net>
Date: Sun, 22 Mar 2020 00:03:41 +0100
Subject: [PATCH] gnu: Add grass.

* gnu/packages/geo.scm (grass): New variable.
---
 gnu/packages/geo.scm | 122 +++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 122 insertions(+)

diff --git a/gnu/packages/geo.scm b/gnu/packages/geo.scm
index bc870f9620..b244e49a92 100644
--- a/gnu/packages/geo.scm
+++ b/gnu/packages/geo.scm
@@ -46,10 +46,13 @@
   #:use-module (guix packages)
   #:use-module (guix utils)
   #:use-module (gnu packages)
+  #:use-module (gnu packages algebra)
   #:use-module (gnu packages astronomy)
   #:use-module (gnu packages audio)
   #:use-module (gnu packages autotools)
   #:use-module (gnu packages backup)
+  #:use-module (gnu packages bash)
+  #:use-module (gnu packages bison)
   #:use-module (gnu packages boost)
   #:use-module (gnu packages check)
   #:use-module (gnu packages compression)
@@ -58,6 +61,7 @@
   #:use-module (gnu packages datastructures)
   #:use-module (gnu packages documentation)
   #:use-module (gnu packages elf)
+  #:use-module (gnu packages flex)
   #:use-module (gnu packages fonts)
   #:use-module (gnu packages fontutils)
   #:use-module (gnu packages gettext)
@@ -80,8 +84,10 @@
   #:use-module (gnu packages python-web)
   #:use-module (gnu packages python-xyz)
   #:use-module (gnu packages qt)
+  #:use-module (gnu packages readline)
   #:use-module (gnu packages sqlite)
   #:use-module (gnu packages textutils)
+  #:use-module (gnu packages time)
   #:use-module (gnu packages web)
   #:use-module (gnu packages webkit)
   #:use-module (gnu packages wxwidgets)
@@ -1629,3 +1635,119 @@ track your position right from your laptop.")
                    license:lgpl3+
                    license:sgifreeb2.0
                    license:zlib))))
+
+(define-public grass
+  (let* ((version "7.8.2")
+         (majorminor (string-join (list-head (string-split version #\.) 2) ""))
+         (grassxx (string-append "grass" majorminor)))
+    (package
+      (name "grass")
+      (version version)
+      (source
+       (origin
+         (method url-fetch)
+         (uri (string-append "https://grass.osgeo.org/" grassxx
+                             "/source/grass-" version ".tar.gz"))
+         (sha256
+          (base32 "1fwsm99kz0bxvjk7442qq1h45ikrmhba8bqclafb61gqg1q6ymrk"))))
+      (build-system gnu-build-system)
+      (inputs
+       `(("bzip2", bzip2)
+         ("cairo" ,cairo)
+         ("fftw" ,fftw)
+         ("freetype" ,freetype)
+         ("gdal" ,gdal)
+         ("geos" ,geos)
+         ("glu" ,glu)
+         ("lapack" ,lapack)
+         ("libpng" ,libpng)
+         ("libtiff" ,libtiff)
+         ("mesa" ,mesa)
+         ("mariadb-dev" ,mariadb "dev")
+         ("mariadb-lib" ,mariadb "lib")
+         ("netcdf" ,netcdf)
+         ("openblas" ,openblas)
+         ("perl" ,perl)
+         ("postgresql" ,postgresql)
+         ("proj.4" ,proj.4)
+         ("python" ,python)
+         ("python-dateutil" ,python-dateutil)
+         ("python-numpy" ,python-numpy)
+         ("python-wxpython" ,python-wxpython)
+         ("readline" ,readline)
+         ("sqlite" ,sqlite)
+         ("wxwidgets" ,wxwidgets)
+         ("zlib" ,zlib)
+         ("zstd" ,zstd "lib")))
+      (native-inputs
+       `(("bash" ,bash-minimal)
+         ("bison" ,bison)
+         ("flex" ,flex)
+         ("pkg-config" ,pkg-config)))
+      (arguments
+       `(#:tests? #f ; No tests
+         #:modules ((guix build gnu-build-system)
+                    ((guix build python-build-system) #:prefix python:)
+                    (guix build utils))
+         #:imported-modules (,@%gnu-build-system-modules
+                             (guix build python-build-system))
+         #:phases
+         (modify-phases %standard-phases
+           (replace 'configure
+             (lambda* (#:key inputs outputs #:allow-other-keys)
+               (let ((shell (string-append (assoc-ref inputs "bash")
+                                           "/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="
+                                      (assoc-ref inputs "freetype")
+                                      "/include/freetype2")
+                       (string-append "--with-freetype-libs="
+                                      (assoc-ref inputs "freetype")
+                                      "/lib")
+                       "--with-geos"
+                       "--with-lapack"
+                       "--with-mysql"
+                       (string-append "--with-mysql-includes="
+                                      (assoc-ref inputs "mariadb-dev")
+                                      "/include/mysql")
+                       (string-append "--with-mysql-libs="
+                                      (assoc-ref inputs "mariadb-lib")
+                                      "/lib")
+                       "--with-netcdf"
+                       "--with-postgres"
+                       (string-append "--with-proj-share="
+                                      (assoc-ref inputs "proj.4")
+                                      "/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")))
+               #t))
+           (add-after 'install-links 'wrap-python
+             (assoc-ref python:%standard-phases 'wrap)))))
+      (synopsis "GRASS Geographic Information System")
+      (description
+       "GRASS (Geographic Resources Analysis Support System), is a Geographic
+Information System (GIS) software suite used for geospatial data management and
+analysis, image processing, graphics and maps production, spatial modeling, and
+visualization.")
+      (home-page "https://grass.osgeo.org/")
+      (license license:gpl2+))))
-- 
2.25.2


[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 227 bytes --]

^ permalink raw reply related	[flat|nested] 9+ messages in thread

* bug#38178: [WIP v2] gnu: Add grass.
  2020-03-22  8:57           ` Guillaume Le Vaillant
@ 2020-03-24 10:57             ` Guillaume Le Vaillant
  0 siblings, 0 replies; 9+ messages in thread
From: Guillaume Le Vaillant @ 2020-03-24 10:57 UTC (permalink / raw)
  To: 38178-done

[-- Attachment #1: Type: text/plain, Size: 72 bytes --]


Patch adding GRASS pushed as 9fce5914794782b3a1826aea0978702883820bbf.

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 227 bytes --]

^ permalink raw reply	[flat|nested] 9+ messages in thread

* [bug#38178] [WIP v2] gnu: Add grass.
  2020-03-21 20:21         ` Marius Bakke
  2020-03-22  8:57           ` Guillaume Le Vaillant
@ 2020-03-24 21:16           ` Wiktor Żelazny
  2020-03-24 21:19             ` Wiktor Żelazny
  1 sibling, 1 reply; 9+ messages in thread
From: Wiktor Żelazny @ 2020-03-24 21:16 UTC (permalink / raw)
  To: 38178

[-- Attachment #1: Type: text/plain, Size: 421 bytes --]

On Sat, Mar 21, 2020 at 09:21:23PM +0100, Marius Bakke wrote:

> Did you get anywhere with this patch?  Can you rebase it on the
> current master branch for easier testing?  TIA!

I abandoned it as soon as Arun Isaac posted his package definition. And
now I see that qgis is officially in Guix. That’s nice.

> By the way, sorry for the sloooooow responses...

That’s fine. I’m also slow.

Bye,

WŻ

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 963 bytes --]

^ permalink raw reply	[flat|nested] 9+ messages in thread

* [bug#38178] [WIP v2] gnu: Add grass.
  2020-03-24 21:16           ` [bug#38178] " Wiktor Żelazny
@ 2020-03-24 21:19             ` Wiktor Żelazny
  0 siblings, 0 replies; 9+ messages in thread
From: Wiktor Żelazny @ 2020-03-24 21:19 UTC (permalink / raw)
  To: 38178

[-- Attachment #1: Type: text/plain, Size: 631 bytes --]

On Tue, Mar 24, 2020 at 10:16:31PM +0100, Wiktor Żelazny wrote:
> On Sat, Mar 21, 2020 at 09:21:23PM +0100, Marius Bakke wrote:
>
> > Did you get anywhere with this patch?  Can you rebase it on the
> > current master branch for easier testing?
>
> I abandoned it as soon as Arun Isaac posted his package definition.
> And now I see that qgis is officially in Guix. That’s nice.

Oops, sorry. I didn’t notice that you were asking about grass, not qgis.
No, I haven’t done any progress with it, either. But I can see that it’s
in gnu/packages now, as well. So I guess the issue is not relevant,
anymore.

WŻ

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 963 bytes --]

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2020-03-24 21:21 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-11-09 11:31 [bug#38150] [WIP] gnu: Add grass Wiktor Żelazny
2019-11-09 22:46 ` Marius Bakke
2019-11-12 15:04   ` [bug#38178] [WIP v2] " Wiktor Żelazny
     [not found]     ` <handler.38178.B.15735711166598.ack@debbugs.gnu.org>
2019-11-14 15:30       ` Wiktor Żelazny
2020-03-21 20:21         ` Marius Bakke
2020-03-22  8:57           ` Guillaume Le Vaillant
2020-03-24 10:57             ` bug#38178: " Guillaume Le Vaillant
2020-03-24 21:16           ` [bug#38178] " Wiktor Żelazny
2020-03-24 21:19             ` Wiktor Żelazny

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.