2014-04-13 11:19:02 +02:00
|
|
|
|
2014-04-28 23:20:31 +02:00
|
|
|
{ stdenv, fetchurl, pkgconfig, autoreconfHook, glib, gettext, gnome_common, cinnamon-desktop, intltool, gtk3,
|
2015-05-27 21:42:15 +02:00
|
|
|
libnotify, lcms2, libxklavier, libgnomekbd, libcanberra, libpulseaudio, upower, libcanberra_gtk3, colord,
|
2014-04-13 11:19:02 +02:00
|
|
|
systemd, libxslt, docbook_xsl, makeWrapper, gsettings_desktop_schemas}:
|
|
|
|
|
|
|
|
let
|
|
|
|
version = "2.0.10";
|
|
|
|
in
|
|
|
|
stdenv.mkDerivation {
|
|
|
|
name = "cinnamon-settings-daemon-${version}";
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "http://github.com/linuxmint/cinnamon-settings-daemon/archive/${version}.tar.gz";
|
|
|
|
sha256 = "10r75xsngb7ipv9fy07dyfb256bqybzcxbwny60sgjhrksk3v9mg";
|
|
|
|
};
|
|
|
|
|
|
|
|
NIX_CFLAGS_COMPILE = "-I${glib}/include/gio-unix-2.0";
|
|
|
|
|
|
|
|
configureFlags = "--enable-systemd" ;
|
|
|
|
|
|
|
|
patches = [ ./systemd-support.patch ./automount-plugin.patch ./dpms.patch];
|
|
|
|
|
|
|
|
buildInputs = [
|
|
|
|
pkgconfig autoreconfHook
|
|
|
|
glib gettext gnome_common
|
|
|
|
intltool gtk3 libnotify lcms2
|
|
|
|
libgnomekbd libxklavier colord
|
2015-05-27 21:42:15 +02:00
|
|
|
libcanberra libpulseaudio upower
|
2014-04-13 11:19:02 +02:00
|
|
|
libcanberra_gtk3 cinnamon-desktop
|
|
|
|
systemd libxslt docbook_xsl makeWrapper
|
|
|
|
gsettings_desktop_schemas
|
|
|
|
];
|
|
|
|
|
|
|
|
preBuild = "patchShebangs ./scripts";
|
|
|
|
|
|
|
|
#ToDo: missing org.cinnamon.gschema.xml, probably not packaged yet
|
|
|
|
postFixup = ''
|
2014-04-28 23:20:31 +02:00
|
|
|
for f in "$out/libexec/"*; do
|
2014-04-13 11:19:02 +02:00
|
|
|
wrapProgram "$f" --prefix XDG_DATA_DIRS : "$GSETTINGS_SCHEMAS_PATH"
|
|
|
|
done
|
|
|
|
'';
|
|
|
|
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
homepage = "http://cinnamon.linuxmint.com";
|
|
|
|
description = "The cinnamon session files" ;
|
|
|
|
|
|
|
|
platforms = stdenv.lib.platforms.linux;
|
|
|
|
maintainers = [ stdenv.lib.maintainers.roelof ];
|
2014-04-28 23:20:31 +02:00
|
|
|
|
|
|
|
broken = true;
|
2014-04-13 11:19:02 +02:00
|
|
|
};
|
|
|
|
}
|