add control dependency and rules

This commit is contained in:
tanyulong2021 2022-08-08 10:18:06 +08:00
parent 673e7b8677
commit 9c98732910
2 changed files with 47 additions and 1 deletions

View File

@ -0,0 +1,41 @@
From 8ed40820dcbb48f9d78867f907ed6007858e2a26 Mon Sep 17 00:00:00 2001
From: tanyulong2021 <tanyulong@kylinos.cn>
Date: Mon, 8 Aug 2022 10:15:19 +0800
Subject: [PATCH] add control dependency
---
debian/control | 5 +++++
debian/rules | 1 +
2 files changed, 6 insertions(+)
diff --git a/debian/control b/debian/control
index fafc983..c8342cb 100755
--- a/debian/control
+++ b/debian/control
@@ -15,6 +15,11 @@ Build-Depends: debhelper-compat (= 12),
libgsettings-qt-dev,
libqt5x11extras5-dev,
libxtst-dev,
+ libkf5coreaddons-dev,
+ libkf5config-dev,
+ libkf5windowsystem-dev,
+ libsm-dev,
+ libglib2.0-dev,
qttools5-dev-tools,
pkg-config,
Rules-Requires-Root: no
diff --git a/debian/rules b/debian/rules
index 31c22ec..f3201ac 100755
--- a/debian/rules
+++ b/debian/rules
@@ -3,6 +3,7 @@
DEB_HOST_ARCH_OS ?= $(shell dpkg-architecture -qDEB_HOST_ARCH_OS)
export LC_ALL=C.UTF-8
export DEB_BUILD_MAINT_OPTIONS = hardening=+all
+export DEB_BUILD_HARDENING_FORTY=2 -O2
ifeq ($(DEB_HOST_ARCH_OS),linux)
CMAKE_ARGS += -DWITH_LIBUDEV=ON
--
2.33.0

View File

@ -2,7 +2,7 @@
Name: ukui-session-manager
Version: 3.0.2
Release: 10
Release: 11
Summary: Session manager of the UKUI desktop environment
License: GPL-2.0-or-later and GPL-3.0-or-later and LGPL-2.0-or-later
URL: http://www.ukui.org
@ -29,6 +29,7 @@ patch3: 0004-add-startlogout-signal.patch
patch4: 0005-update-debian-changelog.patch
patch5: 0006-ukui-session-session-application.patch
patch6: 0007-update-frash-style.patch
patch7: 0008-add-control-dependency.patch
%description
This package contains a session that can be started from a display
@ -45,6 +46,7 @@ patch6: 0007-update-frash-style.patch
%patch4 -p1
%patch5 -p1
%patch6 -p1
%patch7 -p1
%build
mkdir cmake-build
@ -78,6 +80,9 @@ rm -rf $RPM_BUILD_ROOT
#%%{_datadir}/man/man1/ukui-session-tools.1.gz
%changelog
* Mon Aug 08 2022 tanyulong<tanyulong@kylinos.cn> - 3.0.2-11
- add control dependency and rules
* Thu Aug 04 2022 tanyulong<tanyulong@kylinos.cn> - 3.0.2-10
- update frash style