summary refs log tree commit diff
path: root/pkgs/desktops/deepin
diff options
context:
space:
mode:
authorrewine <luhongxu@deepin.org>2023-04-19 15:32:48 +0800
committerrewine <lhongxu@outlook.com>2023-04-23 10:01:35 +0800
commit642f20cae1ebf9e9495d0154adc6922ea30ada7d (patch)
tree38bb43c70f266ada4b8f4bd2ec5ffeac46e4ce53 /pkgs/desktops/deepin
parent6d6d177020b6d05aaf1f603215c5a1561311bbfd (diff)
downloadnixpkgs-642f20cae1ebf9e9495d0154adc6922ea30ada7d.tar
nixpkgs-642f20cae1ebf9e9495d0154adc6922ea30ada7d.tar.gz
nixpkgs-642f20cae1ebf9e9495d0154adc6922ea30ada7d.tar.bz2
nixpkgs-642f20cae1ebf9e9495d0154adc6922ea30ada7d.tar.lz
nixpkgs-642f20cae1ebf9e9495d0154adc6922ea30ada7d.tar.xz
nixpkgs-642f20cae1ebf9e9495d0154adc6922ea30ada7d.tar.zst
nixpkgs-642f20cae1ebf9e9495d0154adc6922ea30ada7d.zip
deepin.dde-launcher: fix build with new dtk
Diffstat (limited to 'pkgs/desktops/deepin')
-rw-r--r--pkgs/desktops/deepin/core/dde-launcher/default.nix3
1 files changed, 3 insertions, 0 deletions
diff --git a/pkgs/desktops/deepin/core/dde-launcher/default.nix b/pkgs/desktops/deepin/core/dde-launcher/default.nix
index cd73cf8dc7e..7d850c544d5 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 <dregionmonitor.h>" " "
     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 \