!26 update to 5.8.20.1
From: @leeffo Reviewed-by: @HelloWorld_lvcongqing Signed-off-by: @HelloWorld_lvcongqing
This commit is contained in:
commit
0e0c541643
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
|
||||
|
||||
Name: dde-calendar
|
||||
Version: 5.8.10
|
||||
Version: 5.8.20.1
|
||||
|
||||
Release: %{specrelease}
|
||||
Summary: Calendar is a smart daily planner to schedule all things in life
|
||||
License: GPLv3
|
||||
URL: https://github.com/linuxdeepin/dde-calendarr
|
||||
Source0: %{url}/archive/%{version}/%{name}-%{version}.tar.gz
|
||||
Patch0: 0001-fix-build-error.patch
|
||||
|
||||
BuildRequires: cmake
|
||||
BuildRequires: qt5-devel
|
||||
BuildRequires: qt5-qtbase-private-devel
|
||||
BuildRequires: dtkgui-devel
|
||||
BuildRequires: dtkwidget-devel
|
||||
BuildRequires: deepin-gettext-tools
|
||||
#BuildRequires: deepin-gettext-tools
|
||||
BuildRequires: pkgconfig(dframeworkdbus)
|
||||
BuildRequires: gtest-devel
|
||||
BuildRequires: gmock
|
||||
@ -29,13 +30,13 @@ BuildRequires: gmock
|
||||
%{summary}.
|
||||
|
||||
%prep
|
||||
%autosetup
|
||||
%autosetup -p1
|
||||
|
||||
%build
|
||||
export PATH=%{_qt5_bindir}:$PATH
|
||||
sed -i "s|^cmake_minimum_required.*|cmake_minimum_required(VERSION 3.0)|" $(find . -name "CMakeLists.txt")
|
||||
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
|
||||
popd
|
||||
|
||||
@ -55,6 +56,9 @@ popd
|
||||
/usr/lib/deepin-daemon/dde-calendar-service
|
||||
|
||||
%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
|
||||
- update to 5.8.10
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user