aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMark H Weaver <mhw@netris.org>2017-01-09 03:43:22 -0500
committerMark H Weaver <mhw@netris.org>2017-01-11 11:34:02 -0500
commit5e503e73a40d43b71a349899ddee7295a2bf949c (patch)
treeb8827d5e7793faba9b55d3ac128b99a50e7f917a
parent59339bb480dae92785b00c5f8e84822d766f1715 (diff)
downloadguix-5e503e73a40d43b71a349899ddee7295a2bf949c.tar
guix-5e503e73a40d43b71a349899ddee7295a2bf949c.tar.gz
gnu: upower: Update to 0.99.4.
* gnu/packages/gnome.scm (upower): Update to 0.99.4. * gnu/packages/patches/upower-builddir.patch: Adapt.
-rw-r--r--gnu/packages/gnome.scm4
-rw-r--r--gnu/packages/patches/upower-builddir.patch2
2 files changed, 3 insertions, 3 deletions
diff --git a/gnu/packages/gnome.scm b/gnu/packages/gnome.scm
index b4ef25289c..5e523507f0 100644
--- a/gnu/packages/gnome.scm
+++ b/gnu/packages/gnome.scm
@@ -2528,14 +2528,14 @@ faster results and to avoid unnecessary server load.")
(define-public upower
(package
(name "upower")
- (version "0.99.3")
+ (version "0.99.4")
(source (origin
(method url-fetch)
(uri (string-append "https://upower.freedesktop.org/releases/"
name "-" version ".tar.xz"))
(sha256
(base32
- "0f6x9mi1jzgqdpycaikyhjljnw3aacsl3gxndyg0dfqkq6y9jwb9"))
+ "1c1ph1j1fnrf3vipxb7ncmdfc36dpvcvpsv8n8lmal7grjk2b8ww"))
(patches (search-patches "upower-builddir.patch"))))
(build-system glib-or-gtk-build-system)
(arguments
diff --git a/gnu/packages/patches/upower-builddir.patch b/gnu/packages/patches/upower-builddir.patch
index 13cef5876a..d59d4364b8 100644
--- a/gnu/packages/patches/upower-builddir.patch
+++ b/gnu/packages/patches/upower-builddir.patch
@@ -37,7 +37,7 @@ Patch by Andy Wingo <wingo@igalia.com>
- if (g_file_test ("../etc/UPower.conf", G_FILE_TEST_EXISTS))
- g_setenv ("UPOWER_CONF_FILE_NAME", "../etc/UPower.conf", TRUE);
- else
-- g_setenv ("UPOWER_CONF_FILE_NAME", "../../etc/UPower.conf", TRUE);
+- g_setenv ("UPOWER_CONF_FILE_NAME", "../../../etc/UPower.conf", TRUE);
-
/* tests go here */
g_test_add_func ("/power/backend", up_test_backend_func);