From 642f20cae1ebf9e9495d0154adc6922ea30ada7d Mon Sep 17 00:00:00 2001 From: rewine Date: Wed, 19 Apr 2023 15:32:48 +0800 Subject: [PATCH] deepin.dde-launcher: fix build with new dtk --- pkgs/desktops/deepin/core/dde-launcher/default.nix | 3 +++ 1 file changed, 3 insertions(+) diff --git a/pkgs/desktops/deepin/core/dde-launcher/default.nix b/pkgs/desktops/deepin/core/dde-launcher/default.nix index cd73cf8dc7e0..7d850c544d53 100644 --- a/pkgs/desktops/deepin/core/dde-launcher/default.nix +++ b/pkgs/desktops/deepin/core/dde-launcher/default.nix @@ -28,6 +28,9 @@ stdenv.mkDerivation rec { }; postPatch = '' + #fix build with new dtk(https://github.com/linuxdeepin/dde-launcher/pull/369) + substituteInPlace src/windowedframe.h \ + --replace "#include " " " substituteInPlace src/boxframe/{backgroundmanager.cpp,boxframe.cpp} \ --replace "/usr/share/backgrounds" "/run/current-system/sw/share/backgrounds" substituteInPlace dde-launcher.desktop dde-launcher-wapper src/dbusservices/com.deepin.dde.Launcher.service \