This is an automated email from the git hooks/post-receive script.

guix_mirror_bot pushed a commit to branch master
in repository guix.

The following commit(s) were added to refs/heads/master by this push:
     new 141f96127e gnu: power-profiles-daemon: Update to 0.30.
141f96127e is described below

commit 141f96127e310898b57d16d38f99fff7c477e21f
Author: Dariqq <[email protected]>
AuthorDate: Wed Jun 11 14:34:52 2025 +0000

    gnu: power-profiles-daemon: Update to 0.30.
    
    Fixing #506.
    
    * gnu/packages/freedesktop.scm (power-profiles-daemon): Update to 0.30.
    [#:phases]: In 'wrap-program add GI_TYPELIB_PATH to the wrapper.
    
    Change-Id: Ie5d45a8326d8925a5fb790c8effb6365a82e1b71
    Signed-off-by: Sharlatan Hellseher <[email protected]>
---
 gnu/packages/freedesktop.scm | 20 ++++++++++++--------
 1 file changed, 12 insertions(+), 8 deletions(-)

diff --git a/gnu/packages/freedesktop.scm b/gnu/packages/freedesktop.scm
index aebca498ef..4501541e7d 100644
--- a/gnu/packages/freedesktop.scm
+++ b/gnu/packages/freedesktop.scm
@@ -1331,7 +1331,7 @@ manager for the current system.")
 (define-public power-profiles-daemon
   (package
     (name "power-profiles-daemon")
-    (version "0.23")
+    (version "0.30")
     (source
      (origin
        (method git-fetch)
@@ -1341,7 +1341,7 @@ manager for the current system.")
        (file-name (git-file-name name version))
        (sha256
         (base32
-         "08xz38r2fv6bpmv5vyjfvizwkbflg6m504fh3qd1jpw6xxv1lzwi"))))
+         "0bp14d1bazylcpqmi26z3kq2gc33rk7w8092lzy5j4l1iq1j21c9"))))
     (build-system meson-build-system)
     (outputs '("out" "doc"))
     (arguments
@@ -1360,12 +1360,16 @@ manager for the current system.")
                  (lambda _
                    (wrap-program
                        (string-append #$output "/bin/powerprofilesctl")
-                     `("GUIX_PYTHONPATH" = (,(string-append
-                                              #$(this-package-input 
"python-pygobject")
-                                              "/lib/python"
-                                              #$(version-major+minor
-                                                 (package-version 
(this-package-input "python")))
-                                              "/site-packages"))))))
+                     `("GUIX_PYTHONPATH" prefix
+                       (,(string-append
+                          #$(this-package-input "python-pygobject")
+                          "/lib/python" #$(version-major+minor
+                                           (package-version
+                                            (this-package-input "python")))
+                          "/site-packages")))
+                     `("GI_TYPELIB_PATH" prefix (,(string-append
+                                                   #$(this-package-input 
"glib")
+                                                   
"/lib/girepository-1.0"))))))
                (add-after 'install 'move-docs
                  (lambda _
                    (mkdir-p (string-append #$output:doc "/share"))

Reply via email to