@@ -1,9 +1,9 @@
1−{ stdenv, fetchurl, makeDesktopItem, patchelf, makeWrapper
1+{ stdenv, fetchurl, makeDesktopItem, patchelf, makeWrapper, makeQtWrapper
22, dbus_libs, fontconfig, freetype, gcc, glib
33, libdrm, libffi, libICE, libSM
44, libX11, libXcomposite, libXext, libXmu, libXrender, libxcb
55, libxml2, libxslt, ncurses, zlib
6−, qtbase, qtdeclarative, qtwebkit, makeQtWrapper
6+, qtbase, qtdeclarative, qtwebkit, wmctrl
77}:
88
99# this package contains the daemon version of dropbox
@@ -98,6 +98,9 @@ in stdenv.mkDerivation {
9898 --prefix LD_LIBRARY_PATH : "$RPATH"
9999
100100 chmod 755 $out/${appdir}/dropbox
101+
102+ rm $out/${appdir}/wmctrl
103+ ln -s ${wmctrl}/bin/wmctrl $out/${appdir}/wmctrl
101104 '';
102105
103106 fixupPhase = ''