diff --git a/0002-add-header-file.patch b/0002-add-header-file.patch new file mode 100644 index 0000000000000000000000000000000000000000..d4e08e2a5af03649eee91e72b23fad1ad08fe2c6 --- /dev/null +++ b/0002-add-header-file.patch @@ -0,0 +1,55 @@ +From d9dc317b68246c3361c3f740c061f1103c0910c7 Mon Sep 17 00:00:00 2001 +From: tanyulong2021 +Date: Thu, 10 Feb 2022 16:51:36 +0800 +Subject: [PATCH] add header file + +--- + src/comboxwidget.cpp | 1 + + src/dropdownbox.cpp | 1 + + src/timeshowwidget.cpp | 1 + + src/widget.cpp | 1 + + 4 files changed, 4 insertions(+) + +diff --git a/src/comboxwidget.cpp b/src/comboxwidget.cpp +index 98dd60b..b1e0a43 100755 +--- a/src/comboxwidget.cpp ++++ b/src/comboxwidget.cpp +@@ -1,4 +1,5 @@ + #include "comboxwidget.h" ++#include + + comBoxWidget::comBoxWidget(QWidget *parent) : QWidget(parent) + { +diff --git a/src/dropdownbox.cpp b/src/dropdownbox.cpp +index 4965f3d..32abf24 100755 +--- a/src/dropdownbox.cpp ++++ b/src/dropdownbox.cpp +@@ -1,4 +1,5 @@ + #include "dropdownbox.h" ++#include + + dateSelectionWidget::dateSelectionWidget(QString week, QWidget *parent) : QWidget(parent) + { +diff --git a/src/timeshowwidget.cpp b/src/timeshowwidget.cpp +index 0b740e5..47ec861 100755 +--- a/src/timeshowwidget.cpp ++++ b/src/timeshowwidget.cpp +@@ -1,4 +1,5 @@ + #include "timeshowwidget.h" ++#include + + BlankShadowWidget::BlankShadowWidget(QWidget *parent) : QWidget(parent) + { +diff --git a/src/widget.cpp b/src/widget.cpp +index bf984da..0e1344a 100755 +--- a/src/widget.cpp ++++ b/src/widget.cpp +@@ -1,4 +1,5 @@ + #include "widget.h" ++#include + + /* 上方Menu界面 */ + menuBarWidget::menuBarWidget(QWidget *parent) : QWidget(parent) +-- +2.33.0 + diff --git a/time-shutdown.spec b/time-shutdown.spec index 06dbf91bbab5cefd530facc8f0490285f2ea9e7d..a738773052f2f9ef7388a1b884ed403dd1efe454 100644 --- a/time-shutdown.spec +++ b/time-shutdown.spec @@ -1,6 +1,6 @@ Name: time-shutdown Version: 1.1.1 -Release: 2 +Release: 3 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: 0001-fix-title-bar-issue.patch +patch1: 0002-add-header-file.patch %description The time-shutdown is mainly used in the desktop operating system. @@ -27,6 +28,7 @@ patch0: 0001-fix-title-bar-issue.patch %prep %setup -q %patch0 -p1 +%patch1 -p1 %build export PATH=%{_qt5_bindir}:$PATH @@ -50,8 +52,11 @@ popd %{_datadir}/ukui-time-shutdown/time-shutdown_zh_CN.qm %changelog +* Thu Feb 10 2022 tanyulong - 1.1.1-3 +- fix missing head file error + * Tue Dec 1 2020 douyan - 1.1.1-2 - fix-title-bar-issue * Wen Nov 11 2020 douyan - 1.1.1-1 -- update to upstream version 1.1.0-1-0001+1031 \ No newline at end of file +- update to upstream version 1.1.0-1-0001+1031