Subject: [PATCH] gnu: icewm: Enable librsvg support.

From: [email-masked]
Date: Sat, 29 Mar 2025 16:08:59 +0800

From: Feng Shu <[email-masked]>

* gnu/packages/wm.scm (icewm): Enable librsvg support.

Change-Id: Iba0c2e2bd164f3a21123a693b028ea213a44933e
---
 gnu/packages/wm.scm | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/wm.scm b/gnu/packages/wm.scm
index 2eefdb4c64..b40760d7d7 100644
--- a/gnu/packages/wm.scm
+++ b/gnu/packages/wm.scm
@@ -1048,6 +1048,7 @@ (define-public icewm
                   imlib2
                   libice
                   libjpeg-turbo
+                  (librsvg-for-system)  ;for svg support
                   libsm
                   libxcomposite
                   libxdamage
@@ -1062,7 +1063,9 @@ (define-public icewm
                   lzip
                   perl))
     (arguments
-     (list #:phases
+     (list #:configure-flags
+           #~(list "-DCONFIG_LIBRSVG=ON")
+           #:phases
            #~(modify-phases %standard-phases
                (add-after 'unpack 'skip-failing-test
                  ;; strtest.cc tests failing due to $HOME and /etc setup

base-commit: eb30f5ecbea896e9cf93722bf97681d208f1a7be
prerequisite-patch-id: bf4dc4ac71657f46ae15fd5276f0cf882999576f
prerequisite-patch-id: 30c2435b1842ca1237c080977588adffe8b8264e
prerequisite-patch-id: 5d5b3f4c24683b5014cd6f5d603e29d8012d27fe
prerequisite-patch-id: 82f6f3b259dfb566b1322dacc112b5d4a2379a45
-- 
2.49.0