[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
24/36: gnu: upower: Update to 1.90.2.
From: |
guix-commits |
Subject: |
24/36: gnu: upower: Update to 1.90.2. |
Date: |
Wed, 14 Feb 2024 04:31:14 -0500 (EST) |
jpoiret pushed a commit to branch core-updates-glibc-2.39
in repository guix.
commit 203b5dec37845fcc1a9e224eb6ba8c94a8f591c7
Author: Vivien Kraus <vivien@planete-kraus.eu>
AuthorDate: Tue Sep 19 13:32:46 2023 +0200
gnu: upower: Update to 1.90.2.
Upower has an extra hardware description file for use with udev. It should
be
installed under upower’s output, not eudev’s.
A test is disabled, for calling an unimplemented bluez method. The
conditional 'adjust-test-for-excess-precision phase is included in the new
'adjust-test-suite, so that the list of phases is always the same.
* gnu/packages/gnome.scm (upower): Update to 1.90.2.
[#:configure-flags]: Set udevhwdbdir.
[#:phases] <adjust-test-for-excess-precision>: Add this phase
unconditionnally
<disable-failing-test>: Disable test_bluetooth_hidpp_mouse.
[inputs]: Remove dbus-glib.
[native-inputs]: Add dbus.
---
gnu/packages/gnome.scm | 39 +++++++++++++++++++++++----------------
1 file changed, 23 insertions(+), 16 deletions(-)
diff --git a/gnu/packages/gnome.scm b/gnu/packages/gnome.scm
index 49ce573bd4..a339d577db 100644
--- a/gnu/packages/gnome.scm
+++ b/gnu/packages/gnome.scm
@@ -5762,7 +5762,7 @@ faster results and to avoid unnecessary server load.")
(define-public upower
(package
(name "upower")
- (version "1.90.0")
+ (version "1.90.2")
(source
(origin
(method git-fetch)
@@ -5771,7 +5771,7 @@ faster results and to avoid unnecessary server load.")
(commit (string-append "v" version))))
(file-name (git-file-name name version))
(sha256
- (base32 "1g17rm91p8vfpjyb0k2shylrs55nccn3fa890vlk4n9s71sghbzq"))
+ (base32 "13xp423ycv8imf2cmgf6lii9f01p7x2v19cny7acrmczkc0cqv7d"))
(modules '((guix build utils)))
(snippet
;; Upstream commit <https://cgit.freedesktop.org/upower/commit/
@@ -5794,19 +5794,25 @@ faster results and to avoid unnecessary server load.")
;; If not specified, udev will try putting history information
;; in /gnu/store.
"-Dhistorydir=/var/lib/upower"
- (string-append "-Dudevrulesdir=" #$output "/bin/udev/rules.d"))
- #:phases (if (target-x86-32?)
- #~(modify-phases %standard-phases
- (add-after 'unpack 'adjust-test-for-excess-precision
- (lambda _
- ;; Address test failure caused by excess precision
- ;; on i686:
- ;;
<https://gitlab.freedesktop.org/upower/upower/-/issues/214>.
- (substitute* "src/linux/integration-test.py"
- (("assertEqual(.*)40\\.0" _ middle)
- (string-append
- "assertAlmostEqual" middle "40.0"))))))
- #~%standard-phases)))
+ (string-append "-Dudevrulesdir=" #$output "/bin/udev/rules.d")
+ (string-append "-Dudevhwdbdir=" #$output "/lib/udev/hwdb.d"))
+ #:phases
+ #~(modify-phases %standard-phases
+ (add-after 'unpack 'adjust-test-suite
+ (lambda _
+ ;; This test calls an unimplemented bluez dbus method.
+ (substitute* "src/linux/integration-test.py"
+ (("test_bluetooth_hidpp_mouse")
+ "disabled_test_bluetooth_hidpp_mouse"))
+ #$@(if (target-x86-32?)
+ ;; Address test failure caused by excess precision
+ ;; on i686:
+ ;;
<https://gitlab.freedesktop.org/upower/upower/-/issues/214>.
+ '((substitute* "src/linux/integration-test.py"
+ (("assertEqual(.*)40\\.0" _ middle)
+ (string-append
+ "assertAlmostEqual" middle "40.0"))))
+ '()))))))
(native-inputs
(list `(,glib "bin") ; for gdbus-codegen
gobject-introspection
@@ -5820,11 +5826,12 @@ faster results and to avoid unnecessary server load.")
python-packaging
python-pygobject
umockdev
+ dbus
;; For man pages.
docbook-xsl
libxslt)) ; for 'xsltproc'
(inputs
- (list dbus-glib libgudev libusb))
+ (list libgudev libusb))
(propagated-inputs
;; In Requires of upower-glib.pc.
(list glib))
- 33/36: gnu: tdb: Add libxcrypt dependency., (continued)
- 33/36: gnu: tdb: Add libxcrypt dependency., guix-commits, 2024/02/14
- 03/36: gnu: Add libcryptsetup-propagated-inputs., guix-commits, 2024/02/14
- 05/36: gnu: libblockdev: Add libcryptsetup propagated inputs., guix-commits, 2024/02/14
- 04/36: gnu: volume-key: Add required transitive dependencies., guix-commits, 2024/02/14
- 08/36: Partially revert gnu: python-matplotlib: Fix flaky Legend loc test., guix-commits, 2024/02/14
- 10/36: gnu: glibc: Update to 2.39., guix-commits, 2024/02/14
- 17/36: gnu: shadow: Add libxcrypt dependency., guix-commits, 2024/02/14
- 21/36: services: udev: Make udev-rule helper functions generic., guix-commits, 2024/02/14
- 22/36: gnu: udev-service-type: accept hardware description file extensions., guix-commits, 2024/02/14
- 23/36: gnu: libgudev: Update to 238., guix-commits, 2024/02/14
- 24/36: gnu: upower: Update to 1.90.2.,
guix-commits <=
- 25/36: gnu: mesa: Hardcode libvulkan.so's dependency for zink., guix-commits, 2024/02/14
- 29/36: gnu: apr-util: Add libxcrypt dependency., guix-commits, 2024/02/14
- 30/36: gnu: inetutils: Add libxcrypt dependency., guix-commits, 2024/02/14
- 35/36: gnu: python-cython: Add libxcrypt dependency., guix-commits, 2024/02/14
- 36/36: gnu: python-natsort: Add en_US.UTF-8 locale for tests., guix-commits, 2024/02/14
- 34/36: gnu: httpd: Add libxcrypt dependency., guix-commits, 2024/02/14
- 27/36: gnu: apr-util: Update to 1.6.3., guix-commits, 2024/02/14