update: update to 5.8.20.1
(cherry picked from commit da4d9fad4c21b83527f87f22ee9af2b3b1d287d7)
This commit is contained in:
parent
a594b3d2f5
commit
1d2d5d6946
26
0001-fix-build-error.patch
Normal file
26
0001-fix-build-error.patch
Normal file
@ -0,0 +1,26 @@
|
|||||||
|
From bbbbe0a6f69f7ca4fba2275963fca948988feb2f Mon Sep 17 00:00:00 2001
|
||||||
|
From: Super User <root@localhost.localdomain>
|
||||||
|
Date: Mon, 27 Mar 2023 14:14:37 +0800
|
||||||
|
Subject: [PATCH] fix build error
|
||||||
|
|
||||||
|
---
|
||||||
|
tests/third-party_stub/stub.h | 2 ++
|
||||||
|
1 file changed, 2 insertions(+)
|
||||||
|
|
||||||
|
diff --git a/tests/third-party_stub/stub.h b/tests/third-party_stub/stub.h
|
||||||
|
index 76d6606..79bf963 100644
|
||||||
|
--- a/tests/third-party_stub/stub.h
|
||||||
|
+++ b/tests/third-party_stub/stub.h
|
||||||
|
@@ -16,6 +16,8 @@
|
||||||
|
#include <cstring>
|
||||||
|
//c++
|
||||||
|
#include <map>
|
||||||
|
+#include <iostream>
|
||||||
|
+using namespace std;
|
||||||
|
|
||||||
|
|
||||||
|
#define ADDR(CLASS_NAME,MEMBER_NAME) (&CLASS_NAME::MEMBER_NAME)
|
||||||
|
--
|
||||||
|
2.39.1
|
||||||
|
|
||||||
|
|
||||||
Binary file not shown.
@ -7,20 +7,21 @@
|
|||||||
%endif
|
%endif
|
||||||
|
|
||||||
Name: dde-calendar
|
Name: dde-calendar
|
||||||
Version: 5.8.10
|
Version: 5.8.20.1
|
||||||
|
|
||||||
Release: %{specrelease}
|
Release: %{specrelease}
|
||||||
Summary: Calendar is a smart daily planner to schedule all things in life
|
Summary: Calendar is a smart daily planner to schedule all things in life
|
||||||
License: GPLv3
|
License: GPLv3
|
||||||
URL: https://github.com/linuxdeepin/dde-calendarr
|
URL: https://github.com/linuxdeepin/dde-calendarr
|
||||||
Source0: %{url}/archive/%{version}/%{name}-%{version}.tar.gz
|
Source0: %{url}/archive/%{version}/%{name}-%{version}.tar.gz
|
||||||
|
Patch0: 0001-fix-build-error.patch
|
||||||
|
|
||||||
BuildRequires: cmake
|
BuildRequires: cmake
|
||||||
BuildRequires: qt5-devel
|
BuildRequires: qt5-devel
|
||||||
BuildRequires: qt5-qtbase-private-devel
|
BuildRequires: qt5-qtbase-private-devel
|
||||||
BuildRequires: dtkgui-devel
|
BuildRequires: dtkgui-devel
|
||||||
BuildRequires: dtkwidget-devel
|
BuildRequires: dtkwidget-devel
|
||||||
BuildRequires: deepin-gettext-tools
|
#BuildRequires: deepin-gettext-tools
|
||||||
BuildRequires: pkgconfig(dframeworkdbus)
|
BuildRequires: pkgconfig(dframeworkdbus)
|
||||||
BuildRequires: gtest-devel
|
BuildRequires: gtest-devel
|
||||||
BuildRequires: gmock
|
BuildRequires: gmock
|
||||||
@ -29,13 +30,13 @@ BuildRequires: gmock
|
|||||||
%{summary}.
|
%{summary}.
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%autosetup
|
%autosetup -p1
|
||||||
|
|
||||||
%build
|
%build
|
||||||
export PATH=%{_qt5_bindir}:$PATH
|
export PATH=%{_qt5_bindir}:$PATH
|
||||||
sed -i "s|^cmake_minimum_required.*|cmake_minimum_required(VERSION 3.0)|" $(find . -name "CMakeLists.txt")
|
sed -i "s|^cmake_minimum_required.*|cmake_minimum_required(VERSION 3.0)|" $(find . -name "CMakeLists.txt")
|
||||||
mkdir build && pushd build
|
mkdir build && pushd build
|
||||||
%cmake -DCMAKE_BUILD_TYPE=Release ../ -DAPP_VERSION=%{version} -DVERSION=%{version}
|
%cmake -DCMAKE_BUILD_TYPE=Release ../ -DAPP_VERSION=%{version} -DVERSION=%{version} -DCMAKE_SCHEDULE_PLUGIN_OFF="OFF"
|
||||||
%make_build
|
%make_build
|
||||||
popd
|
popd
|
||||||
|
|
||||||
@ -55,6 +56,9 @@ popd
|
|||||||
/usr/lib/deepin-daemon/dde-calendar-service
|
/usr/lib/deepin-daemon/dde-calendar-service
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Mon Mar 27 2023 liweiganga <liweiganga@uniontech.com> - 5.8.20.1-1
|
||||||
|
- update: update to 5.8.20.1
|
||||||
|
|
||||||
* Mon Jul 18 2022 konglidong <konglidong@uniontech.com> - 5.8.10-1
|
* Mon Jul 18 2022 konglidong <konglidong@uniontech.com> - 5.8.10-1
|
||||||
- update to 5.8.10
|
- update to 5.8.10
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user