From 9d1d9c5f74f43ea60ed2ce9842cf821529ad6f27 Mon Sep 17 00:00:00 2001 Message-ID: <9d1d9c5f74f43ea60ed2ce9842cf821529ad6f27.1705740965.git.vivien@planete-kraus.eu> From: Vivien Kraus Date: Wed, 17 Jan 2024 23:32:42 +0100 Subject: [PATCH] gnu: gnome-shell-extension-noannoyance: Switch to fork. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The NoAnnoyance “v2” project has not been ported to GNOME 44, so we switch to a maintained fork. The version number is computed in continuity with NoAnnoyance v2. * gnu/packages/gnome-xyz.scm (gnome-shell-extension-noannoyance): Switch to the fork. Bump version to 17 and revision to 6. [arguments]: Convert to list of G-Expressions. Change-Id: Ic74d832020dfe3857e1abf450f5d7876cc921a28 --- gnu/packages/gnome-xyz.scm | 24 +++++++++++++++--------- 1 file changed, 15 insertions(+), 9 deletions(-) diff --git a/gnu/packages/gnome-xyz.scm b/gnu/packages/gnome-xyz.scm index b6c1f6d3cb..026aaefd64 100644 --- a/gnu/packages/gnome-xyz.scm +++ b/gnu/packages/gnome-xyz.scm @@ -952,26 +952,32 @@ (define-public gnome-shell-extension-dash-to-panel (license license:gpl2+))) (define-public gnome-shell-extension-noannoyance - (let ((revision "1") - (commit "b759d10fd2799bc084007fdd927b62637c3dbd2c")) + ;; There are different forks of the NoAnnoyance extension. This is the one + ;; named “NoAnnoyance (fork)” at + ;; https://extensions.gnome.org/extension/6109/noannoyance-fork/ because it + ;; supports newer GNOME Shell versions than the previously used “NoAnnoyance + ;; v2”. + (let ((revision "6") + ;; “NoAnnoyance v2” version 17 correlates with + ;; c6804a47063659f9f48d13a0942b78ce98aac72b + (commit "5e9e6a1878d2a1d961f5d59505f15339c5b7e17e")) (package (name "gnome-shell-extension-noannoyance") - ;; XXX: There is no version noted anywhere in the source. Thus, infer it - ;; from . - (version (git-version "16" revision commit)) + (version (git-version "17" revision commit)) (source (origin (method git-fetch) (uri (git-reference - (url "https://github.com/bdaase/noannoyance") + (url "https://github.com/jirkavrba/noannoyance") (commit commit))) (sha256 (base32 - "0hh7fdqvx54h9j41ia2jl0nq1d5i66k7blw41ya6hkh7201r4anp")) + "0br9zrwvn499kh3db84hhw1kl02jpchwb5ldfp892p15vwih8yrf")) (file-name (git-file-name name version)))) (build-system copy-build-system) (arguments - '(#:install-plan - '(("." "share/gnome-shell/extensions/noannoyance@daase.net")))) + (list + #:install-plan + #~'(("." "share/gnome-shell/extensions/noannoyance@vrba.dev")))) (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.") base-commit: 49897f2dde7f469c83c496fad2699d3a05f72701 prerequisite-patch-id: 3faeeda7e58b64d088b388b6ebb44b927964912b prerequisite-patch-id: bc167ce608743cf16b648091eb5775e57b9e0953 -- 2.41.0