Subject: [PATCH gnome-team 09/18] gnu: gnome-shell-extension-noannoyance: Update to 17-23.8312e01.

From: Liliana Marie Prikler <[email-masked]>
Date: Sat, 7 Dec 2024 13:01:18 +0100

* gnu/packages/gnome-xyz.scm (gnome-shell-extension-noannoyance):
Update to 17-23.8312e01.
[arguments]<install-plan>: Move output directory to
“share/gnome-shell/extensions/[email-masked]” in accordance with
new uuid.
<#:phases>: New argument.  Add ‘compile-schemas’.
[native-inputs]: Add glib:bin.

f
---
 gnu/packages/gnome-xyz.scm | 15 +++++++++++----
 1 file changed, 11 insertions(+), 4 deletions(-)

diff --git a/gnu/packages/gnome-xyz.scm b/gnu/packages/gnome-xyz.scm
index d6bbcc46eb..c1a9f62250 100644
--- a/gnu/packages/gnome-xyz.scm
+++ b/gnu/packages/gnome-xyz.scm
@@ -921,11 +921,11 @@ (define-public gnome-shell-extension-noannoyance
   ;; https://extensions.gnome.org/extension/6109/noannoyance-fork/ because it
   ;; supports newer GNOME Shell versions than the previously used “NoAnnoyance
   ;; v2”.
-  (let ((commit "5e9e6a1878d2a1d961f5d59505f15339c5b7e17e")
+  (let ((commit "8312e010908119b0b0a744c27e661c89b35eddb7")
         ;; “NoAnnoyance v2” version 17 correlates with
         ;; c6804a47063659f9f48d13a0942b78ce98aac72b, from which we count
         ;; commits.
-        (revision "6"))
+        (revision "23"))
     (package
       (name "gnome-shell-extension-noannoyance")
       (version (git-version "17" revision commit))
@@ -936,13 +936,20 @@ (define-public gnome-shell-extension-noannoyance
                       (commit commit)))
                 (sha256
                  (base32
-                  "0br9zrwvn499kh3db84hhw1kl02jpchwb5ldfp892p15vwih8yrf"))
+                  "1pf575pwm304cn4kdjdjcxiyjsggmkcy9mrar901an0xr4vbm3pg"))
                 (file-name (git-file-name name version))))
       (build-system copy-build-system)
       (arguments
        (list
         #:install-plan
-        #~'(("." "share/gnome-shell/extensions/[email-masked]"))))
+        #~'(("." "share/gnome-shell/extensions/[email-masked]"))
+        #:phases
+        #~(modify-phases %standard-phases
+            (add-before 'install 'compile-schemas
+              (lambda _
+                (with-directory-excursion "schemas"
+                  (invoke "glib-compile-schemas" ".")))))))
+      (native-inputs (list `(,glib "bin")))
       (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.")
-- 
2.46.0