[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
85/181: gnu: gnome-tweaks: Update to 40.10.
From: |
guix-commits |
Subject: |
85/181: gnu: gnome-tweaks: Update to 40.10. |
Date: |
Tue, 13 Sep 2022 02:25:52 -0400 (EDT) |
apteryx pushed a commit to branch master
in repository guix.
commit 89a340ebad75f07f2a017517653904c31b32f445
Author: Maxim Cournoyer <maxim.cournoyer@gmail.com>
AuthorDate: Thu Sep 8 11:30:44 2022 -0400
gnu: gnome-tweaks: Update to 40.10.
* gnu/packages/gnome.scm (gnome-tweaks): Update to 40.10.
[arguments]: Use gexps.
[modules]: New argument.
[phases]{wrap}: Do not use @@ import style.
{wrap-gi-typelib-and-python}: Compute the site-packages directory via the
procedure of the same name.
[native-inputs]: Remove labels.
---
gnu/packages/gnome.scm | 63 +++++++++++++++++++++++++-------------------------
1 file changed, 31 insertions(+), 32 deletions(-)
diff --git a/gnu/packages/gnome.scm b/gnu/packages/gnome.scm
index 5d27adb4a7..6fd4acc945 100644
--- a/gnu/packages/gnome.scm
+++ b/gnu/packages/gnome.scm
@@ -10146,7 +10146,7 @@ existing databases over the internet.")
(define-public gnome-tweaks
(package
(name "gnome-tweaks")
- (version "40.0")
+ (version "40.10")
(source (origin
(method url-fetch)
(uri (string-append "mirror://gnome/sources/gnome-tweaks/"
@@ -10156,41 +10156,40 @@ existing databases over the internet.")
(list (search-patch "gnome-tweaks-search-paths.patch")))
(sha256
(base32
- "0sn3xsjhnini0f2dyi1ymrr3fb8mi7w5j5lsyw11rc5h67h3ypzr"))))
+ "1z13xy804hld9q8k0vq5y4j5jk7m0ayqzkli8jxpymwrlcrkpzfg"))))
(build-system meson-build-system)
(arguments
- `(#:glib-or-gtk? #t
- #:configure-flags '("-Dlocalstatedir=/tmp"
- "-Dsysconfdir=/tmp")
- #:imported-modules ((guix build python-build-system)
+ (list
+ #:glib-or-gtk? #t
+ #:configure-flags #~(list "-Dlocalstatedir=/tmp"
+ "-Dsysconfdir=/tmp")
+ #:imported-modules `((guix build python-build-system)
,@%meson-build-system-modules)
- #:phases
- (modify-phases %standard-phases
- (add-after 'unpack 'skip-gtk-update-icon-cache
- ;; Don't create 'icon-theme.cache'.
- (lambda _
- (substitute* "meson-postinstall.py"
- (("gtk-update-icon-cache") "true"))))
- (add-after 'install 'wrap
- (@@ (guix build python-build-system) wrap))
- (add-after 'wrap 'wrap-gi-typelib-and-python
- (lambda* (#:key inputs outputs #:allow-other-keys)
- (let ((out (assoc-ref outputs "out"))
- (gi-typelib-path (getenv "GI_TYPELIB_PATH")))
- (let ((python-path
- (string-append out "/lib/python"
- ,(version-major+minor
- (package-version python))
- "/site-packages")))
- (wrap-program (string-append out "/bin/gnome-tweaks")
- `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))
- `("GUIX_PYTHONPATH" ":" prefix (,python-path))))))))))
- (native-inputs
- `(("glib:bin" ,glib "bin") ; for glib-compile-resources, etc.
- ("intltool" ,intltool)
- ("pkg-config" ,pkg-config)))
+ #:modules '((guix build meson-build-system)
+ ((guix build python-build-system) #:prefix python:)
+ (guix build utils))
+ #:phases
+ #~(modify-phases %standard-phases
+ (add-after 'unpack 'skip-gtk-update-icon-cache
+ ;; Don't create 'icon-theme.cache'.
+ (lambda _
+ (substitute* "meson-postinstall.py"
+ (("gtk-update-icon-cache") "true"))))
+ (add-after 'install 'wrap
+ (assoc-ref python:%standard-phases 'wrap))
+ (add-after 'wrap 'wrap-gi-typelib-and-python
+ (lambda* (#:key inputs outputs #:allow-other-keys)
+ (wrap-program (search-input-file outputs "bin/gnome-tweaks")
+ `("GI_TYPELIB_PATH" ":" prefix
+ (,(getenv "GI_TYPELIB_PATH")))
+ `("GUIX_PYTHONPATH" ":" prefix
+ (,(python:site-packages inputs outputs)))))))))
+ (native-inputs
+ (list `(,glib "bin") ; for glib-compile-resources, etc.
+ gettext-minimal
+ pkg-config))
(inputs
- (list bash-minimal ; to execute the wrapper program
+ (list bash-minimal ; to execute the wrapper program
gnome-desktop
gtk+
gobject-introspection
- 156/181: gnu: apostrophe: Update to 2.6.3., (continued)
- 156/181: gnu: apostrophe: Update to 2.6.3., guix-commits, 2022/09/13
- 173/181: gnu: arc-theme: Update to 20220405., guix-commits, 2022/09/13
- 175/181: gnu: Add libshumate., guix-commits, 2022/09/13
- 174/181: gnu: gnome-shell: Use libsoup 3 to fix tests., guix-commits, 2022/09/13
- 181/181: gnu: gnome-screenshot: Remove meson patch., guix-commits, 2022/09/13
- 110/181: gnu: seahorse: Update to 42.0., guix-commits, 2022/09/13
- 155/181: gnu: setzer: Update to 0.4.8., guix-commits, 2022/09/13
- 153/181: gnu: gnote: Update to 42.1., guix-commits, 2022/09/13
- 167/181: gnu: gnucash: Update to 4.11 and use gexps., guix-commits, 2022/09/13
- 75/181: gnu: gnome-keyring: Update to 42.1 and enable tests., guix-commits, 2022/09/13
- 85/181: gnu: gnome-tweaks: Update to 40.10.,
guix-commits <=
- 54/181: gnu: libgweather4: Update to 4.1.1 and run tests., guix-commits, 2022/09/13
- 95/181: gnu: gssdp: Update to 1.5.2, guix-commits, 2022/09/13
- 115/181: gnu: devhelp: Update to 41.3., guix-commits, 2022/09/13
- 108/181: gnu: libwnck: Update to 40.1., guix-commits, 2022/09/13
- 158/181: gnu: jsonrpc-glib: Update to 3.42.0., guix-commits, 2022/09/13
- 170/181: gnu: Add folks-with-libsoup2., guix-commits, 2022/09/13
- 157/181: gnu: piper: Update to 0.7 and enable tests., guix-commits, 2022/09/13
- 169/181: gnu: libgweather: Use geocode-glib-with-libsoup2., guix-commits, 2022/09/13
- 164/181: gnu: evolution-data-server: Update to 3.45.3., guix-commits, 2022/09/13
- 165/181: gnu: evolution: Update to 3.45.3., guix-commits, 2022/09/13