diff --git a/0001-build-error.patch b/0001-build-error.patch new file mode 100644 index 0000000000000000000000000000000000000000..2528a8d6bc62d33138a56c83f434a948155dab54 --- /dev/null +++ b/0001-build-error.patch @@ -0,0 +1,25 @@ +From 295359eb5427586d38ed8cfdaf0a9c2f97ed2d72 Mon Sep 17 00:00:00 2001 +From: liuzhilin +Date: Thu, 11 Apr 2024 17:11:08 +0800 +Subject: [PATCH] build-error + +--- + deepin-wm-dbus/CMakeLists.txt | 2 ++ + 1 file changed, 2 insertions(+) + +diff --git a/deepin-wm-dbus/CMakeLists.txt b/deepin-wm-dbus/CMakeLists.txt +index 3807bc8..297b107 100644 +--- a/deepin-wm-dbus/CMakeLists.txt ++++ b/deepin-wm-dbus/CMakeLists.txt +@@ -57,6 +57,8 @@ target_include_directories( + ${TARGET_NAME} + PRIVATE + ${GSETTINGS_INCLUDE_DIRS} ++ /usr/include/dtk5/DCore/ ++ /usr/include/dtk5/ + ) + + target_link_libraries( +-- +2.39.3 + diff --git a/dde-kwin.spec b/dde-kwin.spec index fee6ea9999ade9987b6d40587a724f1a177c0bc2..8c8ee8fb324a644b9b0b8ae555b3be04cb0d81d2 100644 --- a/dde-kwin.spec +++ b/dde-kwin.spec @@ -1,10 +1,9 @@ -%define pkgrelease 1 # not build kwin ext with kwin >= 5.25 %global kwin_ext 0 Name: dde-kwin Version: 5.5.24 -Release: %{pkgrelease} +Release: 2 Summary: KWin configuration for Deepin Desktop Environment License: GPLv3+ URL: https://github.com/linuxdeepin/%{name} @@ -15,7 +14,7 @@ Source0: %{name}-%{version}.tar.gz Patch0001: 0001-dde-kwin-support-QFont.patch Patch0002: 0002-feat-close-judge-XDG_SESSION_TYPE.patch - +Patch0003: 0001-build-error.patch BuildRequires: gcc-c++ BuildRequires: cmake @@ -143,6 +142,9 @@ chmod 755 %{buildroot}%{_bindir}/kwin_no_scale %endif %changelog +* Thu Apr 11 2024 liuzhilin - 5.5.24-2 +- fix: Doesn't compile with dtkcore 5.6.8.2 + * Tue Aug 01 2023 leeffo - 5.5.24-1 - upgrade to version 5.5.24