guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

73/112: gnu: libxt: Update to 1.3.1.


From: guix-commits
Subject: 73/112: gnu: libxt: Update to 1.3.1.
Date: Thu, 9 Jan 2025 07:26:22 -0500 (EST)

iyzsong pushed a commit to branch xorg-updates
in repository guix.

commit dc37b333b4a585684fee6c23a592648afb2d5e9b
Author: 宋文武 <iyzsong@member.fsf.org>
AuthorDate: Sat Dec 28 18:17:49 2024 +0800

    gnu: libxt: Update to 1.3.1.
    
    * gnu/packages/patches/libxt-guix-search-paths.patch: Adjust patch.
    * gnu/packages/xorg.scm (libxt): Update to 1.3.1.
    
    Change-Id: Ife5b761766c73a63413b5397286fffbd5e3e90a4
---
 gnu/packages/patches/libxt-guix-search-paths.patch | 17 ++++++++---------
 gnu/packages/xorg.scm                              |  6 +++---
 2 files changed, 11 insertions(+), 12 deletions(-)

diff --git a/gnu/packages/patches/libxt-guix-search-paths.patch 
b/gnu/packages/patches/libxt-guix-search-paths.patch
index 61022d232a..174e68d45c 100644
--- a/gnu/packages/patches/libxt-guix-search-paths.patch
+++ b/gnu/packages/patches/libxt-guix-search-paths.patch
@@ -1,12 +1,12 @@
 diff --git a/src/Intrinsic.c b/src/Intrinsic.c
 --- a/src/Intrinsic.c
 +++ b/src/Intrinsic.c
-@@ -1345,21 +1345,99 @@ FillInLangSubs(Substitution subs, XtPerDisplay pd)
+@@ -1310,21 +1310,98 @@ FillInLangSubs(Substitution subs, XtPerD
  }
  
  /*
 - * default path used if environment variable XFILESEARCHPATH
-- * is not defined.  Also substitued for %D.
+- * is not defined.  Also substituted for %D.
 - * The exact value should be documented in the implementation
 - * notes for any Xt implementation.
 +   Return the default search path for the function
@@ -65,11 +65,6 @@ diff --git a/src/Intrinsic.c b/src/Intrinsic.c
 +      bytesAllocd += SIZEOF_STEMS;
 +      bytesAllocd += 6 * (1 + strlen (guix_profile));
 +    }
- 
--    return xfilesearchpath;
--#else
--    return XFILESEARCHPATHDEFAULT;
--#endif
 +  if (home != NULL)
 +    {
 +      bytesAllocd += SIZEOF_STEMS;
@@ -107,12 +102,16 @@ diff --git a/src/Intrinsic.c b/src/Intrinsic.c
 +
 +  /* Remove final : */
 +  path[strlen(path) - 1] = '\0';
-+
+ 
+-    return xfilesearchpath;
+-#else
+-    return XFILESEARCHPATHDEFAULT;
+-#endif
 +  return path;
  }
  
  
-@@ -1388,7 +1466,7 @@ XtResolvePathname(Display *dpy,
+@@ -1353,7 +1430,7 @@ XtResolvePathname(Display *dpy,
  {
      XtPerDisplay pd;
      static const char *defaultPath = NULL;
diff --git a/gnu/packages/xorg.scm b/gnu/packages/xorg.scm
index f7ad4dbdc8..a49f9e4b0f 100644
--- a/gnu/packages/xorg.scm
+++ b/gnu/packages/xorg.scm
@@ -5445,17 +5445,17 @@ Wayland.")
 (define-public libxt
   (package
     (name "libxt")
-    (version "1.2.1")
+    (version "1.3.1")
     (source
       (origin
         (method url-fetch)
         (uri (string-append
                "mirror://xorg/individual/lib/libXt-"
                version
-               ".tar.bz2"))
+               ".tar.xz"))
         (sha256
           (base32
-           "0q1x7842r8rcn2m0q4q9f69h4qa097fyizs8brzx5ns62s7w1737"))
+           "120jjd6l7fjdxy5myrc1dmc0cwpqa18a97hrbg0d9x146frp99z0"))
         (patches (search-patches "libxt-guix-search-paths.patch"))))
     (build-system gnu-build-system)
     (outputs '("out"



reply via email to

[Prev in Thread] Current Thread [Next in Thread]