Subject: [bug#68556] [PATCH gnome-team v2 17/23] gnu: gnome-shell-extension-noannoyance: Deprecate.

From: Vivien Kraus <[email-masked]>
Date: Fri, 19 Jan 2024 22:11:05 +0100

* gnu/packages/gnome-xyz.scm (gnome-shell-extension-noannoyance): Deprecate in
favor of gnome-shell-extension-noannoyance-fork.
---
 gnu/packages/gnome-xyz.scm | 27 ++-------------------------
 1 file changed, 2 insertions(+), 25 deletions(-)

diff --git a/gnu/packages/gnome-xyz.scm b/gnu/packages/gnome-xyz.scm
index 3f1d9342c0..47b521dd28 100644
--- a/gnu/packages/gnome-xyz.scm
+++ b/gnu/packages/gnome-xyz.scm
@@ -975,31 +975,8 @@ (define-public gnome-shell-extension-noannoyance-fork
       (license license:gpl2))))
 
 (define-public gnome-shell-extension-noannoyance
-  (let ((revision "1")
-        (commit "b759d10fd2799bc084007fdd927b62637c3dbd2c"))
-    (package
-      (name "gnome-shell-extension-noannoyance")
-      ;; XXX: There is no version noted anywhere in the source.  Thus, infer it
-      ;;      from <https://extensions.gnome.org/extension/2182/noannoyance/>.
-      (version (git-version "16" revision commit))
-      (source (origin
-                (method git-fetch)
-                (uri (git-reference
-                      (url "https://github.com/bdaase/noannoyance")
-                      (commit commit)))
-                (sha256
-                 (base32
-                  "0hh7fdqvx54h9j41ia2jl0nq1d5i66k7blw41ya6hkh7201r4anp"))
-                (file-name (git-file-name name version))))
-      (build-system copy-build-system)
-      (arguments
-       '(#:install-plan
-         '(("." "share/gnome-shell/extensions/[email-masked]"))))
-      (synopsis "Remove 'Window is ready' annotation")
-      (description "One of the many extensions that remove this message.
-It uses ES6 syntax and claims to be more actively maintained than others.")
-      (home-page "https://extensions.gnome.org/extension/2182/noannoyance/")
-      (license license:gpl2))))
+  (deprecated-package "gnome-shell-extension-noannoyance"
+                      gnome-shell-extension-noannoyance-fork))
 
 (define-public gnome-shell-extension-paperwm
   (package
-- 
2.41.0