[bug#77611] gnu: Remove duplicated package show-me-the-key.

Message ID CH3PR84MB3424198A8ECA0E0E05887ACEC5AA2@CH3PR84MB3424.NAMPRD84.PROD.OUTLOOK.COM
State New
Headers
Series [bug#77611] gnu: Remove duplicated package show-me-the-key. |

Commit Message

Morgan Smith April 7, 2025, 5:17 p.m. UTC
  This package is a duplicate of "showmethekey".  Upstream seems to prefer
naming the package without hyphens in the name.

* gnu/packages/xdisorg.scm (show-me-the-key): Delete variable.

Change-Id: I21daae0826b6fbc5adf6d10a8497099875ae09f1
---
 gnu/packages/xdisorg.scm | 31 -------------------------------
 1 file changed, 31 deletions(-)
  

Comments

Ludovic Courtès April 8, 2025, 3:22 p.m. UTC | #1
Hi,

Morgan Smith <Morgan.J.Smith@outlook.com> skribis:

> This package is a duplicate of "showmethekey".  Upstream seems to prefer
> naming the package without hyphens in the name.
>
> * gnu/packages/xdisorg.scm (show-me-the-key): Delete variable.
>
> Change-Id: I21daae0826b6fbc5adf6d10a8497099875ae09f1

Instead of simply removing it, can you use ‘deprecated-package’ so this
name becomes an alias for the other one?

(You need to do this in the file where ‘showmethekey’ is defined.)

TIA,
Ludo’.
  

Patch

diff --git a/gnu/packages/xdisorg.scm b/gnu/packages/xdisorg.scm
index 302c0434ca..6dbfacc895 100644
--- a/gnu/packages/xdisorg.scm
+++ b/gnu/packages/xdisorg.scm
@@ -4169,37 +4169,6 @@  (define-public xforms-gl
     (synopsis
      "GUI toolkit for X based on the X11 Xlib library, with OpenGL support")))
 
-(define-public show-me-the-key
-  (package
-    (name "show-me-the-key")
-    (version "1.8.0")
-    (source (origin
-              (method git-fetch)
-              (uri (git-reference
-                    (url "https://github.com/AlynxZhou/showmethekey/")
-                    (commit (string-append "v" version))))
-              (file-name (git-file-name name version))
-              (sha256 (base32
-                       "1gvrri6kfywxk8hfchc66r6fpwlrcai2j227ib33w6503cx66rl9"))))
-    (build-system meson-build-system)
-    (inputs (list libevdev
-                  libinput
-                  gtk
-                  json-glib-minimal
-                  cairo
-                  pango
-                  libxkbcommon
-                  polkit))
-    (native-inputs (list `(,glib "bin") ; for glib-compile-resources
-                         `(,gtk  "bin") ; for gtk-update-icon-cache
-                         pkg-config))
-    (home-page "https://github.com/AlynxZhou/showmethekey")
-    (synopsis "Screencast tool to display pressed keys")
-    (description "Show Me the Key is a screencast tool to display your keys
-and works under both Xorg and Wayland (via @code{libinput}), inspired by
-@code{python-screenkey}.")
-    (license license:asl2.0)))
-
 (define-public xxkb
   (package
     (name "xxkb")