From 6181077fa41eac60929533e16716ac857d6f5576 Mon Sep 17 00:00:00 2001
From: Charles <charles.b.jackson@protonmail.com>
Date: Tue, 18 Oct 2022 23:04:24 -0500
Subject: [PATCH] gnu: Update gnome-shell-extension-blur-my-shell to 44.
* gnu/packages/gnome-xyz.scm (gnome-shell-extension-blur-my-shell): Update
version and hash.
Remove snippet to delete compiled schemas because upstream stopped keeping
them in version control.
Install files from the resources and src directories into the root directory in [#:install-plan].
Add identifier glib:bin to satisfy guix lint.
---
gnu/packages/gnome-xyz.scm | 32 +++++++++++++++++---------------
1 file changed, 17 insertions(+), 15 deletions(-)
@@ -996,7 +996,7 @@ (define-public gnome-shell-extension-burn-my-windows
(define-public gnome-shell-extension-blur-my-shell
(package
(name "gnome-shell-extension-blur-my-shell")
- (version "29")
+ (version "44")
(source
(origin
(method git-fetch)
@@ -1006,27 +1006,29 @@ (define-public gnome-shell-extension-blur-my-shell
(file-name (git-file-name name version))
(sha256
(base32
- "13x7zgaj3dz7lypdv1bgmpmh0f2w53q567zxmhmqimi1gy5mjrvk"))
- (snippet
- '(begin (delete-file "src/schemas/gschemas.compiled")))))
+ "0h7yfvrrg5r821mzrp42c09jws06mw6v9avvkfykqj8n8qnslmyx"))))
(build-system copy-build-system)
(arguments
- `(#:install-plan
- '(("." ,(string-append
- "share/gnome-shell/extensions/"
- "blur-my-shell@aunetx")
- #:include-regexp ("\\.js(on)?$" "\\.css$" "\\.ui$" "\\.png$"
- "\\.xml$" "\\.compiled$")))
+ '(#:install-plan
+ (let ((install-location
+ (string-append
+ "share/gnome-shell/extensions/"
+ "blur-my-shell@aunetx")))
+ `(("src/" ,install-location)
+ ("resources/" ,install-location
+ #:include-regexp ("\\.svg$" "\\.ui"))
+ ("." ,install-location
+ #:exclude-regexp ("src/" "resources/")
+ #:include-regexp ("\\.js(on)?$" "\\.css$" "\\.ui$" "\\.png$"
+ "\\.xml$" "\\.compiled$"))))
#:phases
(modify-phases %standard-phases
- (add-after 'unpack 'cd-src
- (lambda _ (chdir "src")))
- (add-before 'install 'compile-schemas
+ (add-after 'unpack 'compile-schemas
(lambda _
(with-directory-excursion "schemas"
(invoke "glib-compile-schemas" ".")))))))
(native-inputs
- (list (list glib "bin"))) ; for glib-compile-schemas
+ (list (list "glib:bin" glib "bin"))) ; for glib-compile-schemas
(home-page "https://github.com/aunetx/blur-my-shell")
(synopsis "Blurs different parts of the GNOME Shell")
(description "Blur My Shell adds a blur look to different parts of the
--
2.38.0