fix(kiran-session-manager):fixes link Qt5DBus error

- 修复链接Qt5DBus的错误
This commit is contained in:
niko_yhc 2023-09-07 17:41:41 +08:00
parent b824104f7d
commit d93dca9986
2 changed files with 33 additions and 2 deletions

View File

@ -0,0 +1,28 @@
From 474e5d9a32f1b8fa4509b668ba48129d1061effc Mon Sep 17 00:00:00 2001
From: niko_yhc <yinhongchang@kylinsec.com.cn>
Date: Thu, 7 Sep 2023 16:04:42 +0800
Subject: [PATCH] fix(kiran-session-manager):fixes link Qt5DBus error
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
修复链接Qt5DBus的错误
---
src/core/CMakeLists.txt | 1 +
1 file changed, 1 insertion(+)
diff --git a/src/core/CMakeLists.txt b/src/core/CMakeLists.txt
index 4c4479b..2452ecd 100644
--- a/src/core/CMakeLists.txt
+++ b/src/core/CMakeLists.txt
@@ -66,6 +66,7 @@ target_link_libraries(
${XTRANS_LIBRARIES}
${GSETTINGS_QT_LIBRARIES}
Qt5::Core
+ Qt5::DBus
KF5::ConfigCore
KF5::KIOCore
lib-base
--
2.27.0

View File

@ -1,6 +1,6 @@
Name: kiran-session-manager
Version: 2.5.0
Release: 7
Release: 8
Summary: Session manager for KIRAN desktop environment
License: MulanPSL-2.0
@ -10,7 +10,7 @@ Patch1000: 0001-feature-lockscreen-Add-LockScreenWhenHibernate-and-L.patch
Patch1001: 0001-feature-session-Add-always-show-exit-window-flag.patch
Patch1002: 0001-Add-Type-Application-in-kiran-session-idlemonitor.de.patch
Patch1003: 0001-fix-boot-Fix-fork-other-session-program-failed-by-ad.patch
Patch1004: 0001-fix-kiran-session-manager-fixes-link-Qt5DBus-error.patch
BuildRequires: cmake >= 3.2
BuildRequires: pkgconfig(gio-unix-2.0)
@ -89,6 +89,9 @@ fi
%changelog
* Thu Sep 7 2023 yinhongchang <yinhongchang@kylinsec.com.cn> - 2.5.0-8
- KYOS-F: fixes link Qt5DBus error
* Fri Jun 16 2023 tangjie02 <tangjie02@kylinsec.com.cn> - 2.5.0-7
- KYOS-B: Fix fork other session program failed by adding GDK_BACKEND and QT_QPA_FLATFORM environment variables.