xfce: partially add gtk3 support

This commit is contained in:
Domen Kožar 2014-02-07 00:25:50 +01:00
parent 23c2993ef6
commit 15fb296b43
2 changed files with 3 additions and 3 deletions

View file

@ -29,7 +29,7 @@ in
start = start =
'' ''
# Set GTK_PATH so that GTK+ can find the theme engines. # Set GTK_PATH so that GTK+ can find the theme engines.
export GTK_PATH=${config.system.path}/lib/gtk-2.0 export GTK_PATH="${config.system.path}/lib/gtk-2.0:${config.system.path}/lib/gtk-3.0"
# Set GTK_DATA_PREFIX so that GTK+ can find the Xfce themes. # Set GTK_DATA_PREFIX so that GTK+ can find the Xfce themes.
export GTK_DATA_PREFIX=${config.system.path} export GTK_DATA_PREFIX=${config.system.path}

View file

@ -1,4 +1,4 @@
{ stdenv, fetchurl, pkgconfig, intltool, gtk }: { stdenv, fetchurl, pkgconfig, intltool, gtk, gtk3 }:
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
p_name = "gtk-xfce-engine"; p_name = "gtk-xfce-engine";
@ -12,7 +12,7 @@ stdenv.mkDerivation rec {
name = "${p_name}-${ver_maj}.${ver_min}"; name = "${p_name}-${ver_maj}.${ver_min}";
#TODO: gtk3 #TODO: gtk3
buildInputs = [ pkgconfig intltool gtk ]; buildInputs = [ pkgconfig intltool gtk gtk3 ];
meta = { meta = {
homepage = http://www.xfce.org/; homepage = http://www.xfce.org/;