guix_mirror_bot pushed a commit to branch kde-team
in repository guix.

commit 471e2ce1aef1df4a922ea9f3d09da92e05dbab4b
Author: Rodion Goritskov <[email protected]>
AuthorDate: Tue Aug 18 21:03:28 2026 +0200

    gnu: lib2geom/pinned: Update to 1.4.
    
    * gnu/packages/graphics.scm (lib2geom/pinned): Update to 1.4.
    [arguments]<#:phases>{fix-aarch64-faulty-test}: Add test to skip.
    (lib2geom)[name, version, source, arguments]: Drop inherited fields.
    
    Signed-off-by: Andreas Enge <[email protected]>
---
 gnu/packages/graphics.scm | 50 +++++++++++++----------------------------------
 1 file changed, 14 insertions(+), 36 deletions(-)

diff --git a/gnu/packages/graphics.scm b/gnu/packages/graphics.scm
index 7ef72d2105..79ea4a6300 100644
--- a/gnu/packages/graphics.scm
+++ b/gnu/packages/graphics.scm
@@ -45,6 +45,7 @@
 ;;; Copyright © 2026 Cayetano Santos <[email protected]>
 ;;; Copyright © 2026 Jan Wielkiewicz <[email protected]>
 ;;; Copyright © 2026 Sughosha <[email protected]>
+;;; Copyright © 2026 Rodion Goritskov <[email protected]>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -1273,16 +1274,16 @@ exception-handling library.")
 (define-public lib2geom/pinned
   (package
     (name "lib2geom")
-    (version "1.3")
-    (source (origin
-              (method git-fetch)
-              (uri (git-reference
-                    (url "https://gitlab.com/inkscape/lib2geom";)
-                    (commit version)))
-              (file-name (git-file-name "lib2geom" version))
-              (sha256
-               (base32
-                "1ypcn0yxk9ny7qg8s8h3px2wpimhfgkwk7x1548ky12iqmdjjmcn"))))
+    (version "1.4")
+    (source
+     (origin
+       (method git-fetch)
+       (uri (git-reference
+              (url "https://gitlab.com/inkscape/lib2geom";)
+              (commit version)))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32 "0gfgzwm5s50caj5s6l7irgmlifpmypd0fnm6ckzli1fdziwjgdwi"))))
     (build-system cmake-build-system)
     (arguments
      (list
@@ -1333,7 +1334,9 @@ exception-handling library.")
                #~((add-after 'unpack 'fix-aarch64-faulty-test
                     (lambda _
                       (substitute* "tests/CMakeLists.txt"
-                        (("elliptical-arc-test") ""))))))
+                        (("elliptical-arc-test") ""))
+                      (substitute* "tests/CMakeLists.txt"
+                        (("polynomial-test") ""))))))
               (else
                #~())))))
     (native-inputs (list python-wrapper googletest pkg-config))
@@ -1354,31 +1357,6 @@ basic geometries.")
 (define-public lib2geom
   (package
     (inherit lib2geom/pinned)
-    (name "lib2geom")
-    (version "1.4")
-    (source
-     (origin
-       (inherit (package-source lib2geom/pinned))
-       (method git-fetch)
-       (uri (git-reference
-              (url "https://gitlab.com/inkscape/lib2geom";)
-              (commit version)))
-       (file-name (git-file-name name version))
-       (sha256
-        (base32 "0gfgzwm5s50caj5s6l7irgmlifpmypd0fnm6ckzli1fdziwjgdwi"))))
-    (arguments
-     ;; https://gitlab.com/inkscape/lib2geom/-/work_items/82
-     (if (or (target-aarch64?)
-             (target-riscv64?)
-             (target-ppc64le?))
-         (substitute-keyword-arguments arguments
-           ((#:phases phases #~%standard-phases)
-            #~(modify-phases #$phases
-                (add-after 'unpack 'disable-polynomial-test
-                  (lambda _
-                    (substitute* "tests/CMakeLists.txt"
-                      (("polynomial-test") "")))))))
-         arguments))
     (properties '((hidden? . #f)))))
 
 (define-public pstoedit

Reply via email to