[PATCH core-updates] gnu: xkeyboard-config: Switch to Github repo.

  • Done
  • quality assurance status badge
Details
2 participants
  • Felix Lechner
  • Maxime Devos
Owner
unassigned
Submitted by
Felix Lechner
Severity
normal
F
F
Felix Lechner wrote on 18 Sep 2022 19:01
(address . guix-patches@gnu.org)
CAFHYt55FzOSwg1cTtCEDNEM9Ch-22eH1F5=Rj3pEvqTk+nFJLg@mail.gmail.com
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 <felix.lechner@lease-up.com>
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(-)

Toggle diff (35 lines)
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
M
M
Maxime Devos wrote on 18 Sep 2022 23:36
7f420c67-1a14-48ad-ce78-a4feba4c3ba4@telenet.be
On 18-09-2022 19:01, Felix Lechner via Guix-patches via wrote:
Toggle quote (2 lines)
> In continuation to Bug#57872, switch to the Github repo that is
> archived on Software Heritage, plus there is an automatic updater.
We do have an automatic updater: %xorg-updater.
Somehow, it is not currently used, but maybe that's just a matter of
switching from the ftp:// URL to an appropriate mirror://.
If there is an appropriate mirror://, likely there is a HTTP or HTTPS
among the mirrors than Software Heritage will be able to pick up.
Greetings,
Maxime.
Attachment: OpenPGP_signature
F
F
Felix Lechner wrote on 18 Sep 2022 23:49
(address . 57916-done@debbugs.gnu.org)
CAFHYt54HQoyAeZ-+YVZs7=reTJAX6XG5RaF=k5Pi70nvrGM8yQ@mail.gmail.com
Hi,

On Sun, Sep 18, 2022 at 2:36 PM Maxime Devos <maximedevos@telenet.be> wrote:
Toggle quote (4 lines)
>
> If there is an appropriate mirror://, likely there is a HTTP or HTTPS
> among the mirrors than Software Heritage will be able to pick up.

Due to email difficulties, I saw only now that mbakke already picked a
different mirror. [1] I am therefore closing this issue.

Kind regards
Felix Lechner

Closed
?