Subject: [PATCH core-updates] gnu: xkeyboard-config: Switch to Github repo.
From: Felix Lechner <[email-masked]>
To: [email-masked]
Date: Sun, 18 Sep 2022 10:01:39 -0700
List-Id: <debbugs-submit.debbugs.gnu.org>

Hi,

In continuation to Bug#57872, switch to the Github repo that is
archived on Software Heritage, plus there is an automatic updater.

Kind regards,
Felix Lechner
From 5cf57a3b044e77df3630f3c503f112f418f74529 Mon Sep 17 00:00:00 2001
From: Felix Lechner <[email-masked]>
Date: Fri, 16 Sep 2022 10:36:36 -0700
Subject: [PATCH] gnu: xkeyboard-config: Switch to Github repo.

* gnu/packages/xorg.scm (xkeyboard-config): Switch to the Github repo
that is archived on Software Heritage, plus there is an automatic
updater.
---
 gnu/packages/xorg.scm | 16 ++++++----------
 1 file changed, 6 insertions(+), 10 deletions(-)

diff --git a/gnu/packages/xorg.scm b/gnu/packages/xorg.scm
index 6c5bea8669..3e021483b9 100644
--- a/gnu/packages/xorg.scm
+++ b/gnu/packages/xorg.scm
@@ -3882,18 +3882,14 @@ (define-public xkeyboard-config
     (name "xkeyboard-config")
     (version "2.36")
     (source (origin
-              (method url-fetch)
-              (uri (string-append
-                    "ftp://ftp.freedesktop.org/pub/xorg/individual/data/"
-                    name
-                    "/"
-                    name
-                    "-"
-                    version
-                    ".tar.xz"))
+              (method git-fetch)
+              (uri (git-reference
+                    (url "https://github.com/freedesktop/xkeyboard-config")
+                    (commit (string-append name "-" version))))
+              (file-name (git-file-name name version))
               (sha256
                (base32
-                "158m7r6ga7w12ry35q6d0z6hilbpj9h7ilw56h55478n58lv26qz"))))
+                "0qmfcvcg1jmzfk6xpcdg14gwy83hqw0k16z96p7f5np11xn2jyvy"))))
     (build-system meson-build-system)
     (inputs (list libx11 xkbcomp-intermediate))
     (native-inputs (list gettext-minimal perl pkg-config python))

base-commit: ce3b51a4c6bef22e35ca04a945917510627fc3a7
prerequisite-patch-id: 9fa0dad649e0ed0995a7188480e6c021fb19e121
prerequisite-patch-id: 1d4299c099ce538972011c5a09ff47e65626f5c0
-- 
2.37.3