Merge pull request #3131 from bennofs/dwb-wrapper
add dwb-wrapper for plugin support
This commit is contained in:
commit
a1b27f9806
@ -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 }:
|
m4, glib_networking, gsettings_desktop_schemas, dconf }:
|
||||||
|
|
||||||
stdenv.mkDerivation {
|
stdenv.mkDerivation {
|
||||||
@ -10,12 +10,10 @@ stdenv.mkDerivation {
|
|||||||
sha256 = "04p9frsnh1qz067cw36anvr41an789fba839svdjrdva0f2751g8";
|
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
|
# There are Xlib and gtk warnings therefore I have set Wno-error
|
||||||
preBuild=''
|
makeFlags = ''PREFIX=$(out) GTK=2 CPPFLAGS="-Wno-error"'';
|
||||||
makeFlagsArray=(CPPFLAGS="-Wno-error" GTK=3 PREFIX=$out);
|
|
||||||
'';
|
|
||||||
|
|
||||||
preFixup=''
|
preFixup=''
|
||||||
wrapProgram "$out/bin/dwb" \
|
wrapProgram "$out/bin/dwb" \
|
||||||
|
@ -8314,6 +8314,10 @@ let
|
|||||||
|
|
||||||
dwb = callPackage ../applications/networking/browsers/dwb { dconf = gnome3.dconf; };
|
dwb = callPackage ../applications/networking/browsers/dwb { dconf = gnome3.dconf; };
|
||||||
|
|
||||||
|
dwbWrapper = wrapFirefox
|
||||||
|
{ browser = dwb; browserName = "dwb"; desktopName = "dwb";
|
||||||
|
};
|
||||||
|
|
||||||
dwm = callPackage ../applications/window-managers/dwm {
|
dwm = callPackage ../applications/window-managers/dwm {
|
||||||
patches = config.dwm.patches or [];
|
patches = config.dwm.patches or [];
|
||||||
};
|
};
|
||||||
|
Loading…
x
Reference in New Issue
Block a user