2014-12-27 21:07:49 +00:00
|
|
|
{ stdenv, fetchurl, fetchpatch, pkgconfig, intltool, gtk, polkit
|
|
|
|
, libxfce4util, libxfce4ui, xfce4panel, libwnck, dbus_glib, xfconf, libglade, xorg
|
|
|
|
}:
|
2013-02-21 11:16:51 +00:00
|
|
|
|
|
|
|
#TODO: gnome stuff: gconf (assistive?), keyring
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
p_name = "xfce4-session";
|
2015-03-12 21:46:47 +00:00
|
|
|
ver_maj = "4.12";
|
2015-04-06 20:15:38 +00:00
|
|
|
ver_min = "1";
|
2013-02-21 11:16:51 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "mirror://xfce/src/xfce/${p_name}/${ver_maj}/${name}.tar.bz2";
|
2015-04-06 20:15:38 +00:00
|
|
|
sha256 = "97d7f2a2d0af7f3623b68d1f04091e02913b28f9555dab8b0d26c8a1299d08fd";
|
2013-02-21 11:16:51 +00:00
|
|
|
};
|
|
|
|
name = "${p_name}-${ver_maj}.${ver_min}";
|
|
|
|
|
|
|
|
buildInputs =
|
|
|
|
[ pkgconfig intltool gtk libxfce4util libxfce4ui libwnck dbus_glib
|
|
|
|
xfconf xfce4panel libglade xorg.iceauth
|
2013-05-08 08:58:03 +00:00
|
|
|
polkit
|
2013-02-21 11:16:51 +00:00
|
|
|
];
|
|
|
|
|
2013-11-12 03:06:42 +00:00
|
|
|
preBuild = ''
|
|
|
|
sed '/^PATH=/d' -i scripts/xflock4
|
|
|
|
sed '/^export PATH$/d' -i scripts/xflock4
|
|
|
|
'';
|
|
|
|
|
2013-04-29 09:44:58 +00:00
|
|
|
configureFlags = [ "--with-xsession-prefix=$(out)" ];
|
2013-02-21 11:16:51 +00:00
|
|
|
|
|
|
|
preFixup = "rm $out/share/icons/hicolor/icon-theme.cache";
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
homepage = http://www.xfce.org/projects/xfce4-session;
|
|
|
|
description = "Session manager for Xfce";
|
2014-06-19 04:19:00 +00:00
|
|
|
license = stdenv.lib.licenses.gpl2Plus;
|
2013-02-21 11:16:51 +00:00
|
|
|
platforms = stdenv.lib.platforms.linux;
|
|
|
|
maintainers = [ stdenv.lib.maintainers.eelco ];
|
|
|
|
};
|
|
|
|
}
|