dwb: add wrapper and use GTK2 for plugin support

This commit is contained in:
Benno Fünfstück 2014-06-29 20:17:09 +02:00
parent 847a9a5c30
commit 52c8df4ad3
2 changed files with 7 additions and 5 deletions

View File

@ -1,4 +1,4 @@
{ stdenv, fetchgit, pkgconfig, makeWrapper, libsoup, webkit, gtk3, gnutls, json_c,
{ stdenv, fetchgit, pkgconfig, makeWrapper, libsoup, webkitgtk2, gtk2, gnutls, json_c,
m4, glib_networking, gsettings_desktop_schemas, dconf }:
stdenv.mkDerivation {
@ -10,12 +10,10 @@ stdenv.mkDerivation {
sha256 = "04p9frsnh1qz067cw36anvr41an789fba839svdjrdva0f2751g8";
};
buildInputs = [ pkgconfig makeWrapper gsettings_desktop_schemas libsoup webkit gtk3 gnutls json_c m4 ];
buildInputs = [ pkgconfig makeWrapper gsettings_desktop_schemas libsoup webkitgtk2 gtk2 gnutls json_c m4 ];
# There are Xlib and gtk warnings therefore I have set Wno-error
preBuild=''
makeFlagsArray=(CPPFLAGS="-Wno-error" GTK=3 PREFIX=$out);
'';
makeFlags = ''PREFIX=$(out) GTK=2 CPPFLAGS="-Wno-error"'';
preFixup=''
wrapProgram "$out/bin/dwb" \

View File

@ -8307,6 +8307,10 @@ let
dwb = callPackage ../applications/networking/browsers/dwb { dconf = gnome3.dconf; };
dwbWrapper = wrapFirefox
{ browser = dwb; browserName = "dwb"; desktopName = "dwb";
};
dwm = callPackage ../applications/window-managers/dwm {
patches = config.dwm.patches or [];
};