gnu: upower: Update to 0.99.4.

* gnu/packages/gnome.scm (upower): Update to 0.99.4.
* gnu/packages/patches/upower-builddir.patch: Adapt.
This commit is contained in:
Mark H Weaver 2017-01-09 03:43:22 -05:00
parent 59339bb480
commit 5e503e73a4
No known key found for this signature in database
GPG Key ID: 7CEF29847562C516
2 changed files with 3 additions and 3 deletions

View File

@ -2528,14 +2528,14 @@ faster results and to avoid unnecessary server load.")
(define-public upower (define-public upower
(package (package
(name "upower") (name "upower")
(version "0.99.3") (version "0.99.4")
(source (origin (source (origin
(method url-fetch) (method url-fetch)
(uri (string-append "https://upower.freedesktop.org/releases/" (uri (string-append "https://upower.freedesktop.org/releases/"
name "-" version ".tar.xz")) name "-" version ".tar.xz"))
(sha256 (sha256
(base32 (base32
"0f6x9mi1jzgqdpycaikyhjljnw3aacsl3gxndyg0dfqkq6y9jwb9")) "1c1ph1j1fnrf3vipxb7ncmdfc36dpvcvpsv8n8lmal7grjk2b8ww"))
(patches (search-patches "upower-builddir.patch")))) (patches (search-patches "upower-builddir.patch"))))
(build-system glib-or-gtk-build-system) (build-system glib-or-gtk-build-system)
(arguments (arguments

View File

@ -37,7 +37,7 @@ Patch by Andy Wingo <wingo@igalia.com>
- if (g_file_test ("../etc/UPower.conf", G_FILE_TEST_EXISTS)) - if (g_file_test ("../etc/UPower.conf", G_FILE_TEST_EXISTS))
- g_setenv ("UPOWER_CONF_FILE_NAME", "../etc/UPower.conf", TRUE); - g_setenv ("UPOWER_CONF_FILE_NAME", "../etc/UPower.conf", TRUE);
- else - else
- g_setenv ("UPOWER_CONF_FILE_NAME", "../../etc/UPower.conf", TRUE); - g_setenv ("UPOWER_CONF_FILE_NAME", "../../../etc/UPower.conf", TRUE);
- -
/* tests go here */ /* tests go here */
g_test_add_func ("/power/backend", up_test_backend_func); g_test_add_func ("/power/backend", up_test_backend_func);