xfce4-session: support newer upower by an Arch patch

Tested.
This commit is contained in:
Vladimír Čunát 2014-12-27 22:07:49 +01:00
parent 5e4a8d9fd8
commit ca80e416dd

View File

@ -1,6 +1,6 @@
{ stdenv, fetchurl, pkgconfig, intltool, gtk, libxfce4util, libxfce4ui, xfce4panel
, libwnck, dbus_glib, xfconf, libglade, xorg
, polkit }:
{ stdenv, fetchurl, fetchpatch, pkgconfig, intltool, gtk, polkit
, libxfce4util, libxfce4ui, xfce4panel, libwnck, dbus_glib, xfconf, libglade, xorg
}:
#TODO: gnome stuff: gconf (assistive?), keyring
@ -15,6 +15,14 @@ stdenv.mkDerivation rec {
};
name = "${p_name}-${ver_maj}.${ver_min}";
patches = [(fetchpatch {
name = "suspend+hibernate-via-logind.patch";
url = "https://projects.archlinux.org/svntogit/packages.git/plain/trunk/"
+ "xfce4-session-4.10.1-logind-support-for-suspend-hibernate.patch"
+ "?h=packages/xfce4-session&id=f84637fa2b";
sha256 = "1pnm1w9invyxjdbfm7p0brf9krl9jy8ab2ilwvizymp5i0vnj0xc";
})];
buildInputs =
[ pkgconfig intltool gtk libxfce4util libxfce4ui libwnck dbus_glib
xfconf xfce4panel libglade xorg.iceauth