Subject: [bug#68556] [PATCH gnome-team v2 16/23] gnu: Add gnome-shell-extension-noannoyance-fork.

From: Vivien Kraus <[email-masked]>
Date: Wed, 17 Jan 2024 23:32:42 +0100

The NoAnnoyance “v2” project has not been ported to GNOME 44, so we switch to
a maintained fork.

* gnu/packages/gnome-xyz.scm (gnome-shell-extension-noannoyance-fork): New variable.

Change-Id: Ic74d832020dfe3857e1abf450f5d7876cc921a28
---
 gnu/packages/gnome-xyz.scm | 28 ++++++++++++++++++++++++++++
 1 file changed, 28 insertions(+)

diff --git a/gnu/packages/gnome-xyz.scm b/gnu/packages/gnome-xyz.scm
index 0f71e0e242..3f1d9342c0 100644
--- a/gnu/packages/gnome-xyz.scm
+++ b/gnu/packages/gnome-xyz.scm
@@ -946,6 +946,34 @@ (define-public gnome-shell-extension-dash-to-panel
     (home-page "https://github.com/home-sweet-gnome/dash-to-panel/")
     (license license:gpl2+)))
 
+(define-public gnome-shell-extension-noannoyance-fork
+  (let ((revision "1")
+        (commit "5e9e6a1878d2a1d961f5d59505f15339c5b7e17e"))
+    (package
+      ;; This is the “fork” version:
+      ;; https://extensions.gnome.org/extension/6109/noannoyance-fork/
+      (name "gnome-shell-extension-noannoyance-fork")
+      (version (git-version "1" revision commit))
+      (source (origin
+                (method git-fetch)
+                (uri (git-reference
+                      (url "https://github.com/jirkavrba/noannoyance")
+                      (commit commit)))
+                (sha256
+                 (base32
+                  "0br9zrwvn499kh3db84hhw1kl02jpchwb5ldfp892p15vwih8yrf"))
+                (file-name (git-file-name name version))))
+      (build-system copy-build-system)
+      (arguments
+       (list
+        #: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))))
+
 (define-public gnome-shell-extension-noannoyance
   (let ((revision "1")
         (commit "b759d10fd2799bc084007fdd927b62637c3dbd2c"))
-- 
2.41.0