GNU bug report logs - #68556
[PATCH gnome-team 00/25] Update the GNOME Shell extensions

Previous Next

Package: guix-patches;

Reported by: Vivien Kraus <vivien <at> planete-kraus.eu>

Date: Wed, 17 Jan 2024 23:13:01 UTC

Severity: normal

Tags: patch

Done: Liliana Marie Prikler <liliana.prikler <at> gmail.com>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Vivien Kraus <vivien <at> planete-kraus.eu>
To: 68556 <at> debbugs.gnu.org
Cc: rg <at> raghavgururajan.name, vivien <at> planete-kraus.eu, liliana.prikler <at> gmail.com, maxim.cournoyer <at> gmail.com
Subject: [bug#68556] [PATCH gnome-team 02/25] gnu: gnome-shell-extension-hide-app-icon: Modernize style.
Date: Tue, 16 Jan 2024 22:31:02 +0100
* gnu/packages/gnome-xyz.scm (gnome-shell-extension-hide-app-icon)
[arguments]: Convert to list of G-Expressions.

Change-Id: Ifd937163d7e7fce95c4bed1a2a856487ed225d2d
---
 gnu/packages/gnome-xyz.scm | 27 +++++++++++++--------------
 1 file changed, 13 insertions(+), 14 deletions(-)

diff --git a/gnu/packages/gnome-xyz.scm b/gnu/packages/gnome-xyz.scm
index f41048c55e..2488e93eb9 100644
--- a/gnu/packages/gnome-xyz.scm
+++ b/gnu/packages/gnome-xyz.scm
@@ -870,20 +870,19 @@ (define-public gnome-shell-extension-hide-app-icon
          (file-name (git-file-name name version))))
       (build-system gnu-build-system)
       (arguments
-       '(#:tests? #f                ; no test target
-         #:make-flags (list (string-append "EXTENSIONS_DIR="
-                                           (assoc-ref %outputs "out")
-                                           "/share/gnome-shell/extensions"))
-         #:phases
-         (modify-phases %standard-phases
-           (delete 'configure)      ; no configure script
-           (replace 'install
-             (lambda* (#:key outputs #:allow-other-keys)
-               (let ((out (assoc-ref outputs "out"))
-                     (pre "/share/gnome-shell/extensions/")
-                     (dir "hide-app-icon <at> mrapp.sourceforge.com"))
-                 (copy-recursively dir (string-append out pre dir))
-                 #t))))))
+       (list
+        #:tests? #f                ; no test target
+        #:make-flags #~(list (string-append "EXTENSIONS_DIR="
+                                            #$output
+                                            "/share/gnome-shell/extensions"))
+        #:phases
+        #~(modify-phases %standard-phases
+            (delete 'configure)      ; no configure script
+            (replace 'install
+              (lambda _
+                (let ((pre "/share/gnome-shell/extensions/")
+                      (dir "hide-app-icon <at> mrapp.sourceforge.com"))
+                  (copy-recursively dir (string-append #$output pre dir))))))))
       (native-inputs
        (list `(,glib "bin") intltool))
       (propagated-inputs
-- 
2.41.0




This bug report was last modified 1 year and 108 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.