GNU bug report logs - #77337
[PATCH 0/3] gnome: Replace libgnomekbd with tecla.

Previous Next

Package: guix-patches;

Reported by: Noé Lopez <noelopez <at> free.fr>

Date: Fri, 28 Mar 2025 13:23:02 UTC

Severity: normal

Tags: patch

Done: Liliana Marie Prikler <liliana.prikler <at> gmail.com>

To reply to this bug, email your comments to 77337 AT debbugs.gnu.org.
There is no need to reopen the bug first.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to liliana.prikler <at> gmail.com, maxim.cournoyer <at> gmail.com, vivien <at> planete-kraus.eu, guix-patches <at> gnu.org:
bug#77337; Package guix-patches. (Fri, 28 Mar 2025 13:23:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Noé Lopez <noelopez <at> free.fr>:
New bug report received and forwarded. Copy sent to liliana.prikler <at> gmail.com, maxim.cournoyer <at> gmail.com, vivien <at> planete-kraus.eu, guix-patches <at> gnu.org. (Fri, 28 Mar 2025 13:23:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Noé Lopez <noelopez <at> free.fr>
To: guix-patches <at> gnu.org
Cc: Noé Lopez <noelopez <at> free.fr>
Subject: [PATCH 0/3] gnome: Replace libgnomekbd with tecla.
Date: Fri, 28 Mar 2025 14:22:10 +0100
Starting with GNOME 45, apps replaced libgnomekbd with tecla to show keyboard
layouts.  These patches reflect that and restore the lost functionality.

Have a nice day,
Noé

Noé Lopez (3):
  gnu: gnome-initial-setup: Replace libgnomekbd with tecla.
  gnu: gnome-control-center: Replace libgnomekbd with tecla.
  gnu: gnome-shell: Replace libgnomekbd with tecla.

 gnu/packages/gnome.scm | 19 +++++++------------
 1 file changed, 7 insertions(+), 12 deletions(-)


base-commit: 2eb22e3d0f8013e438813b1a2c5f8b1e020fcde2
-- 
2.49.0





Information forwarded to liliana.prikler <at> gmail.com, maxim.cournoyer <at> gmail.com, vivien <at> planete-kraus.eu, guix-patches <at> gnu.org:
bug#77337; Package guix-patches. (Fri, 28 Mar 2025 13:27:01 GMT) Full text and rfc822 format available.

Message #8 received at 77337 <at> debbugs.gnu.org (full text, mbox):

From: Noé Lopez <noelopez <at> free.fr>
To: 77337 <at> debbugs.gnu.org
Cc: Noé Lopez <noelopez <at> free.fr>
Subject: [PATCH 1/3] gnu: gnome-initial-setup: Replace libgnomekbd with tecla.
Date: Fri, 28 Mar 2025 14:25:57 +0100
This was changed in GNOME 45.

* gnu/packages/gnome.scm (gnome-initial-setup): Replace libgnomekbd with tecla.

Change-Id: I1fff5df07dbbb089a13b1d75095007064f2719c2
---
 gnu/packages/gnome.scm | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/gnu/packages/gnome.scm b/gnu/packages/gnome.scm
index 49c0c23c0c..3d1df8155d 100644
--- a/gnu/packages/gnome.scm
+++ b/gnu/packages/gnome.scm
@@ -1602,10 +1602,10 @@ (define-public gnome-initial-setup
               ;; Allow the "Preview" button in the keyboard layout
               ;; selection dialog to display the layout.
               (substitute* "gnome-initial-setup/pages/keyboard/cc-input-chooser.c"
-                (("\"gkbd-keyboard-display")
+                (("\"tecla")
                  (string-append "\"" (search-input-file
                                       inputs
-                                      "bin/gkbd-keyboard-display")))))))))
+                                      "bin/tecla")))))))))
     (native-inputs
      (list gettext-minimal
            `(,glib "bin")
@@ -1624,7 +1624,6 @@ (define-public gnome-initial-setup
            json-glib
            mit-krb5
            libadwaita
-           libgnomekbd
            libgweather4
            libnma
            libpwquality
@@ -1633,6 +1632,7 @@ (define-public gnome-initial-setup
            packagekit
            polkit
            rest-next
+           tecla
            upower
            webkitgtk))
     (synopsis "Initial setup wizard for GNOME desktop")
-- 
2.49.0





Information forwarded to liliana.prikler <at> gmail.com, maxim.cournoyer <at> gmail.com, vivien <at> planete-kraus.eu, guix-patches <at> gnu.org:
bug#77337; Package guix-patches. (Fri, 28 Mar 2025 13:27:02 GMT) Full text and rfc822 format available.

Message #11 received at 77337 <at> debbugs.gnu.org (full text, mbox):

From: Noé Lopez <noelopez <at> free.fr>
To: 77337 <at> debbugs.gnu.org
Cc: Noé Lopez <noelopez <at> free.fr>
Subject: [PATCH 2/3] gnu: gnome-control-center: Replace libgnomekbd with tecla.
Date: Fri, 28 Mar 2025 14:25:58 +0100
This was changed in GNOME 45.  The absolute tecla path is found in meson and
does not need to be substituted.

* gnu/packages/gnome.scm (gnome-control-center): Replace libgnomekbd with tecla.

Change-Id: I0bc4661ce16c6128c4f35ef17fec5a4764054355
---
 gnu/packages/gnome.scm | 4 ----
 1 file changed, 4 deletions(-)

diff --git a/gnu/packages/gnome.scm b/gnu/packages/gnome.scm
index 3d1df8155d..46b008f9c4 100644
--- a/gnu/packages/gnome.scm
+++ b/gnu/packages/gnome.scm
@@ -9443,10 +9443,6 @@ (define-public gnome-control-center
               (substitute* "tests/datetime/test-endianess.c"
                 (("/usr/share/locale")
                  (search-input-directory inputs "share/locale")))
-              (substitute* "panels/system/region/cc-region-page.c"
-                (("\"gkbd-keyboard-display")
-                 (string-append "\"" (search-input-file
-                                      inputs "bin/gkbd-keyboard-display"))))
               (substitute* '("panels/network/net-device-bluetooth.c"
                              "panels/network/net-device-mobile.c"
                              "panels/network/connection-editor/net-connection-editor.c")
-- 
2.49.0





Information forwarded to liliana.prikler <at> gmail.com, maxim.cournoyer <at> gmail.com, vivien <at> planete-kraus.eu, guix-patches <at> gnu.org:
bug#77337; Package guix-patches. (Fri, 28 Mar 2025 13:27:02 GMT) Full text and rfc822 format available.

Message #14 received at 77337 <at> debbugs.gnu.org (full text, mbox):

From: Noé Lopez <noelopez <at> free.fr>
To: 77337 <at> debbugs.gnu.org
Cc: Noé Lopez <noelopez <at> free.fr>
Subject: [PATCH 3/3] gnu: gnome-shell: Replace libgnomekbd with tecla.
Date: Fri, 28 Mar 2025 14:25:59 +0100
This was changed in GNOME 45.

* gnu/packages/gnome.scm (gnome-shell): Replace libgnomekbd with tecla.

Change-Id: Iad3248319f95fe43c30e83c4ef6a7690f6e123d8
---
 gnu/packages/gnome.scm | 9 ++++-----
 1 file changed, 4 insertions(+), 5 deletions(-)

diff --git a/gnu/packages/gnome.scm b/gnu/packages/gnome.scm
index 46b008f9c4..46e360067f 100644
--- a/gnu/packages/gnome.scm
+++ b/gnu/packages/gnome.scm
@@ -9587,14 +9587,13 @@ (define-public gnome-shell
             (add-before 'configure 'record-absolute-file-names
               (lambda* (#:key inputs #:allow-other-keys)
                 (let ((ibus-daemon (search-input-file inputs "bin/ibus-daemon"))
-                      (gkbd-keyboard-display
-                       (search-input-file inputs "bin/gkbd-keyboard-display")))
+                      (tecla (search-input-file inputs "bin/tecla")))
                   (substitute* "js/misc/ibusManager.js"
                     (("'ibus-daemon'")
                      (string-append "'" ibus-daemon "'")))
                   (substitute* "js/ui/status/keyboard.js"
-                    (("'gkbd-keyboard-display'")
-                     (string-append "'" gkbd-keyboard-display "'"))))))
+                    (("'tecla'")
+                     (string-append "'" tecla "'"))))))
             (add-before 'check 'pre-check
               (lambda* (#:key inputs #:allow-other-keys)
                 ;; Tests require a running X server.
@@ -9706,7 +9705,6 @@ (define-public gnome-shell
            ibus
            libcanberra
            libcroco
-           libgnomekbd                  ;for gkbd-keyboard-display
            libgweather4
            libnma
            libsoup
@@ -9718,6 +9716,7 @@ (define-public gnome-shell
            pulseaudio
            python-pygobject
            startup-notification
+           tecla                        ;for keyboard previews
            telepathy-logger
            upower
            ;; XXX: These requirements were added in 3.24, but no mention in NEWS.
-- 
2.49.0





Reply sent to Liliana Marie Prikler <liliana.prikler <at> gmail.com>:
You have taken responsibility. (Sun, 30 Mar 2025 12:00:02 GMT) Full text and rfc822 format available.

Notification sent to Noé Lopez <noelopez <at> free.fr>:
bug acknowledged by developer. (Sun, 30 Mar 2025 12:00:03 GMT) Full text and rfc822 format available.

Message #19 received at 77337-done <at> debbugs.gnu.org (full text, mbox):

From: Liliana Marie Prikler <liliana.prikler <at> gmail.com>
To: Noé Lopez <noelopez <at> free.fr>, 
 77337-done <at> debbugs.gnu.org
Cc: Vivien Kraus <vivien <at> planete-kraus.eu>,
 Maxim Cournoyer <maxim.cournoyer <at> gmail.com>
Subject: Re: [bug#77337] [PATCH 0/3] gnome: Replace libgnomekbd with tecla.
Date: Sun, 30 Mar 2025 13:59:28 +0200
Am Freitag, dem 28.03.2025 um 14:22 +0100 schrieb Noé Lopez:
> Starting with GNOME 45, apps replaced libgnomekbd with tecla to show
> keyboard layouts.  These patches reflect that and restore the lost
> functionality.
> 
> Have a nice day,
> Noé
> 
> Noé Lopez (3):
>   gnu: gnome-initial-setup: Replace libgnomekbd with tecla.
>   gnu: gnome-control-center: Replace libgnomekbd with tecla.
>   gnu: gnome-shell: Replace libgnomekbd with tecla.
Pushed.

Thanks




This bug report was last modified 5 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.