fix compile error for openeuler

This commit is contained in:
panchenbo 2020-09-09 19:55:33 +08:00
parent ffaace8079
commit 51af99632c
2 changed files with 50 additions and 4 deletions

View File

@ -0,0 +1,44 @@
From 2fd2c44240f32423c040f909de2a323d72d4fe82 Mon Sep 17 00:00:00 2001
From: panchenbo <panchenbo@uniontech.com>
Date: Wed, 9 Sep 2020 19:48:57 +0800
Subject: [PATCH] fix compile error
---
CMakeLists.txt | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/CMakeLists.txt b/CMakeLists.txt
index a50f11e..0f47e79 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -147,14 +147,14 @@ set(WIDGETS_SRCS
./src/widgets/fullscreenbackground.h
./src/widgets/userbutton.h
./src/widgets/controlwidget.h
- ./src/widgets/errortooltip.h
+ #./src/widgets/errortooltip.h
./src/widgets/shutdownwidget.h
./src/widgets/dbreathinglabel.h
./src/widgets/rounditembutton.h
./src/widgets/kblayoutwidget.h
./src/widgets/mediawidget.h
./src/widgets/propertygroup.h
- ./src/widgets/darrowrectangle.h
+ #./src/widgets/darrowrectangle.h
./src/widgets/userbreathinglabel.h
./src/widgets/virtualkbinstance.h
./src/widgets/logowidget.h
@@ -164,8 +164,8 @@ set(WIDGETS_SRCS
./src/widgets/fullscreenbackground.cpp
./src/widgets/loginbutton.cpp
./src/widgets/dbreathinglabel.cpp
- ./src/widgets/errortooltip.cpp
- ./src/widgets/darrowrectangle.cpp
+ #./src/widgets/errortooltip.cpp
+ #./src/widgets/darrowrectangle.cpp
./src/widgets/mediawidget.cpp
./src/widgets/controlwidget.cpp
./src/widgets/virtualkbinstance.cpp
--
2.20.1

View File

@ -4,11 +4,12 @@
Name: dde-session-shell
Version: 5.0.0.8
Release: 2
Release: 3
Summary: deepin-session-shell - Deepin desktop-environment - session-shell module
License: GPLv3+
URL: http://shuttle.corp.deepin.com/cache/repos/eagle/release-candidate/RERFNS4wLjAuNzYxMA/pool/main/d/dde-session-shell/
Source0: %{name}_%{version}.orig.tar.xz
Patch0: 0001-fix-compile-error-for-openeuler.patch
BuildRequires: cmake
BuildRequires: dde-daemon
@ -33,9 +34,7 @@ BuildRequires: lightdm-qt5-devel lightdm-gtk-greeter
deepin-session-shell - Deepin desktop-environment - session-shell module.
%prep
%setup -q -n %{name}-%{version}
%autosetup -n %{name}-%{version} -p1
%build
export PATH=$PATH:%{_qt5_bindir}
@ -61,6 +60,9 @@ make
%{_datadir}/dbus-1/services/com.deepin.dde.shutdownFront.service
%changelog
* Wed Sep 09 2020 chenbo.pan <panchenbo@uniontech.com> - 5.0.0.8-3
- fix compile error
* Fri Sep 04 2020 chenbo.pan <panchenbo@uniontech.com> - 5.0.0.8-2
- fix compile error