all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* [bug#57916] [PATCH core-updates] gnu: xkeyboard-config: Switch to Github repo.
@ 2022-09-18 17:01 Felix Lechner via Guix-patches via
  2022-09-18 21:36 ` Maxime Devos
  0 siblings, 1 reply; 3+ messages in thread
From: Felix Lechner via Guix-patches via @ 2022-09-18 17:01 UTC (permalink / raw)
  To: 57916

[-- Attachment #1: Type: text/plain, Size: 165 bytes --]

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

[-- Attachment #2: 0001-gnu-xkeyboard-config-Switch-to-Github-repo.patch --]
[-- Type: text/x-patch, Size: 1872 bytes --]

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(-)

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


^ permalink raw reply related	[flat|nested] 3+ messages in thread

* [bug#57916] [PATCH core-updates] gnu: xkeyboard-config: Switch to Github repo.
  2022-09-18 17:01 [bug#57916] [PATCH core-updates] gnu: xkeyboard-config: Switch to Github repo Felix Lechner via Guix-patches via
@ 2022-09-18 21:36 ` Maxime Devos
  2022-09-18 21:49   ` bug#57916: " Felix Lechner via Guix-patches via
  0 siblings, 1 reply; 3+ messages in thread
From: Maxime Devos @ 2022-09-18 21:36 UTC (permalink / raw)
  To: Felix Lechner, 57916


[-- Attachment #1.1.1: Type: text/plain, Size: 551 bytes --]



On 18-09-2022 19:01, Felix Lechner via Guix-patches via wrote:
> 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 #1.1.2: OpenPGP public key --]
[-- Type: application/pgp-keys, Size: 929 bytes --]

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 236 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

* bug#57916: [PATCH core-updates] gnu: xkeyboard-config: Switch to Github repo.
  2022-09-18 21:36 ` Maxime Devos
@ 2022-09-18 21:49   ` Felix Lechner via Guix-patches via
  0 siblings, 0 replies; 3+ messages in thread
From: Felix Lechner via Guix-patches via @ 2022-09-18 21:49 UTC (permalink / raw)
  To: 57916-done; +Cc: Maxime Devos, Marius Bakke

Hi,

On Sun, Sep 18, 2022 at 2:36 PM Maxime Devos <maximedevos@telenet.be> wrote:
>
> 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

[1] https://issues.guix.gnu.org/57872#1




^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2022-09-18 21:51 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-09-18 17:01 [bug#57916] [PATCH core-updates] gnu: xkeyboard-config: Switch to Github repo Felix Lechner via Guix-patches via
2022-09-18 21:36 ` Maxime Devos
2022-09-18 21:49   ` bug#57916: " Felix Lechner via Guix-patches via

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.