fix: Doesn't compile with dtkcore 5.6.8.2

This commit is contained in:
liuzhilin 2024-04-11 17:32:05 +08:00
parent 953899e6fc
commit dcbbe2d7e5
2 changed files with 30 additions and 3 deletions

25
0001-build-error.patch Normal file
View File

@ -0,0 +1,25 @@
From 295359eb5427586d38ed8cfdaf0a9c2f97ed2d72 Mon Sep 17 00:00:00 2001
From: liuzhilin <liuzhilin@uniontech.com>
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

View File

@ -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 <liuzhilin@uniontech.com> - 5.5.24-2
- fix: Doesn't compile with dtkcore 5.6.8.2
* Tue Aug 01 2023 leeffo <liweiganga@uniontech.com> - 5.5.24-1
- upgrade to version 5.5.24