Subject: [bug#75160] [PATCH xorg-updates 019/109] gnu: libsm: Update to 1.2.5.

From: [email-masked]
Date: Sat, 28 Dec 2024 19:14:50 +0800

From: 宋文武 <[email-masked]>

* gnu/packages/xorg.scm (libsm): Update to 1.2.5.
[propagated-inputs]: Add util-linux:lib and xorgproto.

Change-Id: Ie6fe2c6011528425fd540a1608320c4f21a5ec56
---
 gnu/packages/xorg.scm | 15 ++++++++-------
 1 file changed, 8 insertions(+), 7 deletions(-)

diff --git a/gnu/packages/xorg.scm b/gnu/packages/xorg.scm
index 2b403ec9f2..c34ec9f850 100644
--- a/gnu/packages/xorg.scm
+++ b/gnu/packages/xorg.scm
@@ -1233,25 +1233,26 @@ (define-public libpthread-stubs
 (define-public libsm
   (package
     (name "libsm")
-    (version "1.2.3")
+    (version "1.2.5")
     (source
       (origin
         (method url-fetch)
         (uri (string-append
                "mirror://xorg/individual/lib/libSM-"
                version
-               ".tar.bz2"))
+               ".tar.xz"))
         (sha256
           (base32
-            "1fwwfq9v3sqmpzpscymswxn76xhxnysa24pfim1mcpxhvjcl89id"))))
+            "1g10pn1zhcyc1ys8skp6p46gn6qgkif8kqdwlz1hsrzgllny3y9a"))))
     (build-system gnu-build-system)
     (arguments
      '(#:configure-flags '("--disable-static")))
     (propagated-inputs
-      (list libice)) ; SMlib.h includes ICElib.h
-    (inputs
-      `(("xtrans" ,xtrans)
-        ("libuuid" ,util-linux "lib")))
+     ;; In Require.private of sm.pc
+     (list libice
+           (list util-linux "lib")
+           xorgproto))
+    (inputs (list xtrans))
     (native-inputs
       (list pkg-config))
     (home-page "https://www.x.org/wiki/")
-- 
2.46.0