Subject: [bug#78315] [PATCH v3 45/53] gnu: emacs-alsamixer-el: Rename package to emacs-alsamixer.

From: Nicolas Graves <[email-masked]>
Date: Sun, 18 May 2025 10:16:44 +0200

* gnu/packages/emacs-xyz.scm (emacs-alsamixer-el): Define in terms of
'deprecated-package'.
(emacs-alsamixer): New variable, formerly known as "emacs-alsamixer-el".
---
 gnu/packages/emacs-xyz.scm | 9 ++++++---
 1 file changed, 6 insertions(+), 3 deletions(-)

diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
index 0964bf02cb..c786f27063 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -43121,9 +43121,9 @@ (define-public emacs-ed-mode
 with the ed editor.")
       (license license:gpl3+))))
 
-(define-public emacs-alsamixer-el
+(define-public emacs-alsamixer
   (package
-    (name "emacs-alsamixer-el")
+    (name "emacs-alsamixer")
     (version "0.2.1")
     (source
      (origin
@@ -43138,10 +43138,13 @@ (define-public emacs-alsamixer-el
     (build-system emacs-build-system)
     (home-page "https://codeberg.org/rwv/alsamixer-el")
     (synopsis "Emacs interface to amixer")
-    (description "@code{emacs-alsamixer-el} provides basic commands to control
+    (description "@code{emacs-alsamixer} provides basic commands to control
 audio volume via amixer.")
     (license license:gpl3+)))
 
+(define-deprecated/public emacs-alsamixer-el emacs-alsamixer
+  (deprecated-package "emacs-alsamixer-el" emacs-alsamixer))
+
 (define-public emacs-fennel-mode
   (package
     (name "emacs-fennel-mode")
-- 
2.49.0