summary refs log tree commit diff
path: root/gnu/packages/image.scm
diff options
context:
space:
mode:
authorMaxime Devos <maximedevos@telenet.be>2021-07-02 12:13:12 +0200
committerLudovic Courtès <ludo@gnu.org>2024-08-31 10:42:44 +0200
commit0d956d9a4e3557378a536371cb7f496b6473cd29 (patch)
tree6e356fa2f8b9afa44e6ece80ffc8affd0b1bd007 /gnu/packages/image.scm
parent24a67bcc17ebc667a62ea74d9137573171e95751 (diff)
downloadguix-0d956d9a4e3557378a536371cb7f496b6473cd29.tar.gz
gnu: mypaint: Add 'bash' input for 'wrap-program'.
It is required for cross-compilation.

* gnu/packages/image.scm
(mypaint): Delete trailing #t.
[inputs]: Add 'bash-minimal'.
[native-inputs]: Remove labels.

Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
Change-Id: Ifb3b6bd129f9ca2d5724288622d6162db2e84746
Diffstat (limited to 'gnu/packages/image.scm')
-rw-r--r--gnu/packages/image.scm17
1 files changed, 8 insertions, 9 deletions
diff --git a/gnu/packages/image.scm b/gnu/packages/image.scm
index 3700384471..0355d87f8d 100644
--- a/gnu/packages/image.scm
+++ b/gnu/packages/image.scm
@@ -2714,20 +2714,19 @@ GIF, TIFF, WEBP, BMP, PNG, XPM formats.")
                     (gtk+ (assoc-ref inputs "gtk+")))
                (wrap-program (string-append out "/bin/mypaint")
                  `("GI_TYPELIB_PATH" ":" prefix
-                   (,(getenv "GI_TYPELIB_PATH"))))
-               #t)))
+                   (,(getenv "GI_TYPELIB_PATH")))))))
          (add-before 'check 'pre-check
            (lambda _
              ;; Tests need writing access
-             (setenv "HOME" "/tmp")
-             #t)))))
+             (setenv "HOME" "/tmp"))))))
     (native-inputs
-     `(("pkg-config" ,pkg-config)
-       ("gobject-introspection" ,gobject-introspection)
-       ("swig" ,swig)
-       ("gettext" ,gettext-minimal)))
+     (list pkg-config
+           gobject-introspection
+           swig
+           gettext-minimal))
     (inputs
-     (list gtk+
+     (list bash-minimal
+           gtk+
            (librsvg-for-system)
            hicolor-icon-theme
            libmypaint