Subject: Re: bug#72480: [PATCH core-updates] gnu: inkscape: Fix build on i686.
From: Ludovic Courtès <[email-masked]>
To: Kaelyn Takata <[email-masked]>
Cc: [email-masked]
Date: Wed, 21 Aug 2024 18:49:09 +0200
List-Id: <debbugs-submit.debbugs.gnu.org>

Hi Kaelyn,

Kaelyn Takata <[email-masked]> skribis:

> * gnu/packages/inkscape.scm (inkscape): Fix build on i686.
>
> Change-Id: Id4b11ac7aa725a8a55d04bca221319201e488940

Applied with the change below, so that tests are still run on other
systems.

Thanks!

Ludo’.

diff --git a/gnu/packages/inkscape.scm b/gnu/packages/inkscape.scm
index 224caa34cf..524277fc2b 100644
--- a/gnu/packages/inkscape.scm
+++ b/gnu/packages/inkscape.scm
@@ -355,6 +355,13 @@ (define-public inkscape
         #~(delete "-DWITH_IMAGE_MAGICK=OFF" #$flags))
        ((#:phases phases)
         #~(modify-phases #$phases
+            #$@(if (target-x86-32?)
+                   #~()            ;XXX: there are remaining failures on i686
+                   #~((replace 'check
+                        ;; Re-instate the tests disabled in inkscape/stable, now that
+                        ;; their ImageMagick requirement is satisfied.
+                        (assoc-ref %standard-phases 'check))))
+
             (replace 'wrap-program
               ;; Ensure Python is available at runtime.
               (lambda _