From f65d0b3a1d6e02b4546f6615d97a692a55e76ac8 Mon Sep 17 00:00:00 2001
From: Liliana Marie Prikler <liliana.prikler@gmail.com>
Date: Tue, 24 Dec 2024 09:51:39 +0100
Subject: gnu: gdk-pixbuf: Build with other loaders enabled.
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

GTK+ 3 currently fails to build, as it requires the XPM loader be enabled.
See also <https://gitlab.gnome.org/GNOME/gtk/-/issues/7143>.

* gnu/packages/gtk.scm (gdk-pixbuf)[#:configure-flags]: Add “-Dothers=enabled”.
---
 gnu/packages/gtk.scm | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/gtk.scm b/gnu/packages/gtk.scm
index 933d1e6a7f..75288aaa9b 100644
--- a/gnu/packages/gtk.scm
+++ b/gnu/packages/gtk.scm
@@ -736,7 +736,10 @@ (define-public gdk-pixbuf
        #:configure-flags '("-Dinstalled_tests=false"
                            ,@(if (%current-target-system)
                                  '()
-                                 '("-Dgtk_doc=true")))
+                                 '("-Dgtk_doc=true"))
+                           ;; GTK+ 3 needs the XPM loader, see
+                           ;; <https://gitlab.gnome.org/GNOME/gtk/-/issues/7143>.
+                           "-Dothers=enabled")
        #:phases
        (modify-phases %standard-phases
          (add-before 'configure 'disable-failing-tests
-- 
cgit v1.2.3