From 61f6a1d0b14137455d184ce395dfcb5f87f0fc78 Mon Sep 17 00:00:00 2001 From: huayadong Date: Wed, 1 Mar 2023 11:14:07 +0800 Subject: [PATCH] fix time shutdown coredump (cherry picked from commit 625f4541f4e48b6623b4eb4200ac9ff4cd05da33) --- 0001-fix-time-shutdown-coredump.patch | 25 +++++++++++++++++++++++++ time-shutdown.spec | 6 +++++- 2 files changed, 30 insertions(+), 1 deletion(-) create mode 100644 0001-fix-time-shutdown-coredump.patch diff --git a/0001-fix-time-shutdown-coredump.patch b/0001-fix-time-shutdown-coredump.patch new file mode 100644 index 0000000..a4b7bba --- /dev/null +++ b/0001-fix-time-shutdown-coredump.patch @@ -0,0 +1,25 @@ +From 0593828f399543eff2da150c4589e7e4af66978d Mon Sep 17 00:00:00 2001 +From: huayadong +Date: Wed, 1 Mar 2023 10:32:07 +0800 +Subject: [PATCH] dddd + +--- + src/widget.cpp | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/src/widget.cpp b/src/widget.cpp +index f288c91..852d7ae 100644 +--- a/src/widget.cpp ++++ b/src/widget.cpp +@@ -43,7 +43,7 @@ Widget::Widget(QWidget *parent) + initGsetting(); + + // 根据版本设置gsetting值 +- getTimeShutdownVersion(); ++// getTimeShutdownVersion(); + + // 创建当前动作 + createActions(); +-- +2.36.1 + diff --git a/time-shutdown.spec b/time-shutdown.spec index 69cf07c..3ca438e 100644 --- a/time-shutdown.spec +++ b/time-shutdown.spec @@ -1,6 +1,6 @@ Name: time-shutdown Version: 1.1.2 -Release: 1 +Release: 2 Summary: The time-shutdown is mainly used in the desktop operating system License: GPL-3+ @@ -17,6 +17,7 @@ Requires: libX11 Requires: ukui-notification-daemon Patch0: add_desktop_file.patch +Patch1: 0001-fix-time-shutdown-coredump.patch %description The time-shutdown is mainly used in the desktop operating system. @@ -50,6 +51,9 @@ popd %{_datadir}/ukui-time-shutdown/ukui-time-shutdown_bo_CN.qm %changelog +* Wed Mar 1 2023 huayadong - 1.1.2-2 +- fix time shutdown coredump + * Fri Nov 25 2022 douyan - 1.1.2-1 - update to upstream version 1.1.2 -- Gitee