guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

07/27: gnu: inkscape/stable: Update to 1.2.1.


From: guix-commits
Subject: 07/27: gnu: inkscape/stable: Update to 1.2.1.
Date: Thu, 11 Aug 2022 18:45:10 -0400 (EDT)

mbakke pushed a commit to branch core-updates
in repository guix.

commit da51ffafc7fc25b03825b397087d665b12199a80
Author: Marius Bakke <marius@gnu.org>
AuthorDate: Wed Jul 27 22:25:39 2022 +0200

    gnu: inkscape/stable: Update to 1.2.1.
    
    * gnu/packages/inkscape.scm (inkscape/stable): Update to 1.2.1.
    [arguments, inputs]: Take the changes from ...
    (inkscape): ... this variable, and adjust this one accordingly.
---
 gnu/packages/inkscape.scm | 44 +++++++++++++++-----------------------------
 1 file changed, 15 insertions(+), 29 deletions(-)

diff --git a/gnu/packages/inkscape.scm b/gnu/packages/inkscape.scm
index 6927d081b4..63743c78b0 100644
--- a/gnu/packages/inkscape.scm
+++ b/gnu/packages/inkscape.scm
@@ -60,7 +60,7 @@
   (hidden-package
    (package
      (name "inkscape")
-     (version "1.1.1")
+     (version "1.2.1")
      (source
       (origin
         (method url-fetch)
@@ -68,7 +68,7 @@
                             "resources/file/"
                             "inkscape-" version ".tar.xz"))
         (sha256
-         (base32 "1bvqg5xfs3m6r7qfdhmgzwhd1hx8wvg3nhvhmalwzcdm6ffhpjmf"))
+         (base32 "06scilds4p4bw337ss22nfdxy2kynv5yjw6vq6nlpjm7xfh7vkj6"))
         (modules '((guix build utils)
                    (ice-9 format)))
         (snippet
@@ -204,27 +204,33 @@ endif()~%~%"
           (add-after 'glib-or-gtk-compile-schemas 'glib-or-gtk-wrap
             (assoc-ref glib-or-gtk:%standard-phases 'glib-or-gtk-wrap))
           (add-after 'install 'wrap-program
-            ;; Ensure Python is available at runtime.
-            (lambda* (#:key outputs #:allow-other-keys)
-              (let ((out (assoc-ref outputs "out")))
-                (wrap-program (string-append out "/bin/inkscape")
-                  `("GUIX_PYTHONPATH" ":" prefix
-                    (,(getenv "GUIX_PYTHONPATH"))))))))))
+             ;; Ensure Python is available at runtime.
+             (lambda* (#:key outputs #:allow-other-keys)
+               (let ((out (assoc-ref outputs "out")))
+                 (wrap-program (string-append out "/bin/inkscape")
+                   `("GUIX_PYTHONPATH" prefix
+                     (,(getenv "GUIX_PYTHONPATH")))
+                   ;; Wrapping GDK_PIXBUF_MODULE_FILE allows Inkscape to load
+                   ;; its own icons in pure environments.
+                   `("GDK_PIXBUF_MODULE_FILE" =
+                     (,(getenv "GDK_PIXBUF_MODULE_FILE"))))))))))
      (inputs
       `(("aspell" ,aspell)
         ("autotrace" ,autotrace)
+        ("bash-minimal" ,bash-minimal)
         ("gdl" ,gdl-minimal)
         ("gtkmm" ,gtkmm-3)
         ("gtk" ,gtk+)
         ("gtkspell3" ,gtkspell3)
         ("gsl" ,gsl)
         ("poppler" ,poppler)
-        ("lib2geom" ,lib2geom)
+        ("lib2geom" ,lib2geom-1.2)
         ("libjpeg" ,libjpeg-turbo)
         ("libpng" ,libpng)
         ("libxml2" ,libxml2)
         ("libxslt" ,libxslt)
         ("libgc" ,libgc)
+        ("librsvg" ,librsvg)            ;for the pixbuf loader
         ("libsoup" ,libsoup-minimal-2)
         ("libcdr" ,libcdr)
         ("libvisio" ,libvisio)
@@ -268,24 +274,4 @@ as the native format.")
                            "inkscape-" version ".tar.xz"))
        (sha256
         (base32 "06scilds4p4bw337ss22nfdxy2kynv5yjw6vq6nlpjm7xfh7vkj6"))))
-    (build-system cmake-build-system)
-    (arguments
-     (substitute-keyword-arguments (package-arguments inkscape/stable)
-       ((#:phases phases)
-        `(modify-phases ,phases
-           (replace 'wrap-program
-             ;; Ensure Python is available at runtime.
-             (lambda* (#:key outputs #:allow-other-keys)
-               (let ((out (assoc-ref outputs "out")))
-                 (wrap-program (string-append out "/bin/inkscape")
-                   `("GUIX_PYTHONPATH" prefix
-                     (,(getenv "GUIX_PYTHONPATH")))
-                   ;; Wrapping GDK_PIXBUF_MODULE_FILE allows Inkscape to load
-                   ;; its own icons in pure environments.
-                   `("GDK_PIXBUF_MODULE_FILE" =
-                     (,(getenv "GDK_PIXBUF_MODULE_FILE")))))))))))
-    (inputs (modify-inputs (package-inputs inkscape/stable)
-              (replace "lib2geom" lib2geom-1.2)
-              (append bash-minimal
-                      librsvg)))        ;for the pixbuf loader
     (properties (alist-delete 'hidden? (package-properties inkscape/stable)))))



reply via email to

[Prev in Thread] Current Thread [Next in Thread]