This is an automated email from the git hooks/post-receive script.

guix_mirror_bot pushed a commit to branch master
in repository guix.

The following commit(s) were added to refs/heads/master by this push:
     new 5b52fc7c259 gnu: inkscape: Fix build on non-x86 systems.
5b52fc7c259 is described below

commit 5b52fc7c2592d774ec0d8cae21f434025fcaab84
Author: Roman Scherer <[email protected]>
AuthorDate: Sat Sep 19 15:54:05 2026 +0200

    gnu: inkscape: Fix build on non-x86 systems.
    
    * gnu/packages/inkscape.scm (inkscape/pinned): Disable geom-pathstroke-test.
    * gnu/packages/inkscape.scm (inkscape): Remove disable-geom-pathstroke-test 
phase.
    
    Merges: guix/guix!11334
    Reviewed-by: Dariqq <[email protected]>
    Signed-off-by: Sharlatan Hellseher <[email protected]>
---
 gnu/packages/inkscape.scm | 15 +++++----------
 1 file changed, 5 insertions(+), 10 deletions(-)

diff --git a/gnu/packages/inkscape.scm b/gnu/packages/inkscape.scm
index 4701a8c242f..0409bcf7f78 100644
--- a/gnu/packages/inkscape.scm
+++ b/gnu/packages/inkscape.scm
@@ -196,7 +196,11 @@ endif()~%~%"
                         (substitute* "testfiles/CMakeLists.txt"
                           (("lpe64-test") "#lpe64-test")
                           (("    lpe-test") "    #lpe-test")
-                          (("add_subdirectory\\(lpe_tests\\)") ""))
+                          (("add_subdirectory\\(lpe_tests\\)") "")
+                          ;; Fails on non-x86_64 architectures due to floating
+                          ;; point precision differences (see:
+                          ;; 
https://gitlab.com/inkscape/lib2geom/-/work_items/80).
+                          (("    geom-pathstroke-test") ""))
                         ;; 
https://gitlab.com/inkscape/inkscape/-/issues/3554#note_1035539888
                         ;; According to upstream, this is a false positive.
                         (substitute* "testfiles/rendering_tests/CMakeLists.txt"
@@ -379,15 +383,6 @@ as the native format.")
                    ;; Re-instate the tests disabled in inkscape/pinned, now 
that
                    ;; their ImageMagick requirement is satisfied.
                    #~((replace 'check (assoc-ref gnu:%standard-phases 
'check))))
-            #$@(if (or (target-aarch64?)
-                       (target-ppc64le?)
-                       (target-riscv64?))
-                   '((add-after 'unpack 'disable-geom-pathstroke-test
-                       (lambda _
-                         ;; 
https://gitlab.com/inkscape/lib2geom/-/work_items/80
-                         (substitute* "testfiles/CMakeLists.txt"
-                           (("    geom-pathstroke-test") "")))))
-                   '())
             ;; We now have gtksourceview in deps, so test should pass
             (delete 'disable-svg-parser-test)
             (replace 'wrap-program

Reply via email to