2014-12-27 22:07:49 +01:00
|
|
|
{ stdenv, fetchurl, fetchpatch, pkgconfig, intltool, gtk, polkit
|
2018-02-25 03:23:58 +01:00
|
|
|
, libxfce4util, libxfce4ui, xfce4panel, libwnck, dbus-glib, xfconf, libglade, xorg
|
|
|
|
, hicolor-icon-theme
|
2014-12-27 22:07:49 +01:00
|
|
|
}:
|
2013-02-21 12:16:51 +01:00
|
|
|
|
2015-10-14 13:23:37 +02:00
|
|
|
let
|
2013-02-21 12:16:51 +01:00
|
|
|
p_name = "xfce4-session";
|
2015-03-12 22:46:47 +01:00
|
|
|
ver_maj = "4.12";
|
2015-04-06 22:15:38 +02:00
|
|
|
ver_min = "1";
|
2015-10-14 13:23:37 +02:00
|
|
|
in
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "${p_name}-${ver_maj}.${ver_min}";
|
2013-02-21 12:16:51 +01:00
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "mirror://xfce/src/xfce/${p_name}/${ver_maj}/${name}.tar.bz2";
|
2015-04-06 22:15:38 +02:00
|
|
|
sha256 = "97d7f2a2d0af7f3623b68d1f04091e02913b28f9555dab8b0d26c8a1299d08fd";
|
2013-02-21 12:16:51 +01:00
|
|
|
};
|
|
|
|
|
2017-08-07 10:36:05 +02:00
|
|
|
patches = [
|
|
|
|
# Fix "lock screen" not working for light-locker
|
|
|
|
./xfce4-light-locker.patch
|
|
|
|
];
|
|
|
|
|
2013-02-21 12:16:51 +01:00
|
|
|
buildInputs =
|
2018-02-25 03:23:58 +01:00
|
|
|
[ pkgconfig intltool gtk libxfce4util libxfce4ui libwnck dbus-glib
|
2015-10-14 13:23:37 +02:00
|
|
|
xfconf xfce4panel libglade xorg.iceauth xorg.libSM
|
2018-02-25 03:23:58 +01:00
|
|
|
polkit hicolor-icon-theme
|
2015-10-14 13:23:37 +02:00
|
|
|
]; #TODO: upower-glib, gconf (assistive?), gnome keyring
|
2013-02-21 12:16:51 +01:00
|
|
|
|
2013-11-12 04:06:42 +01:00
|
|
|
preBuild = ''
|
|
|
|
sed '/^PATH=/d' -i scripts/xflock4
|
|
|
|
sed '/^export PATH$/d' -i scripts/xflock4
|
|
|
|
'';
|
|
|
|
|
2013-04-29 11:44:58 +02:00
|
|
|
configureFlags = [ "--with-xsession-prefix=$(out)" ];
|
2013-02-21 12:16:51 +01:00
|
|
|
|
2015-10-14 13:23:37 +02:00
|
|
|
meta = with stdenv.lib; {
|
2013-02-21 12:16:51 +01:00
|
|
|
homepage = http://www.xfce.org/projects/xfce4-session;
|
|
|
|
description = "Session manager for Xfce";
|
2015-10-14 13:23:37 +02:00
|
|
|
license = licenses.gpl2Plus;
|
|
|
|
platforms = platforms.linux;
|
|
|
|
maintainers = [ maintainers.eelco ];
|
2013-02-21 12:16:51 +01:00
|
|
|
};
|
|
|
|
}
|
2015-10-14 13:23:37 +02:00
|
|
|
|