2013-02-21 12:16:51 +01:00
|
|
|
{ stdenv, fetchurl, pkgconfig, intltool, gtk, libxfce4util, libxfce4ui, xfce4panel
|
2013-04-29 11:44:58 +02:00
|
|
|
, libwnck, dbus_glib, xfconf, libglade, xorg
|
2013-05-08 10:58:03 +02:00
|
|
|
, polkit }:
|
2013-02-21 12:16:51 +01:00
|
|
|
|
|
|
|
#TODO: gnome stuff: gconf (assistive?), keyring
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
p_name = "xfce4-session";
|
|
|
|
ver_maj = "4.10";
|
2013-05-08 10:58:03 +02:00
|
|
|
ver_min = "1";
|
2013-02-21 12:16:51 +01:00
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "mirror://xfce/src/xfce/${p_name}/${ver_maj}/${name}.tar.bz2";
|
2013-05-08 10:58:03 +02:00
|
|
|
sha256 = "10zwki7v55a325abr57wczcb5g7ml99cqk1p8ls8qycqqfyzlm01";
|
2013-02-21 12:16:51 +01: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 10:58:03 +02:00
|
|
|
polkit
|
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
|
|
|
|
|
|
|
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 06:19:00 +02:00
|
|
|
license = stdenv.lib.licenses.gpl2Plus;
|
2013-02-21 12:16:51 +01:00
|
|
|
platforms = stdenv.lib.platforms.linux;
|
|
|
|
maintainers = [ stdenv.lib.maintainers.eelco ];
|
|
|
|
};
|
|
|
|
}
|