!46 sync by openEuler-24.03-LTS
From: @pang-qing Reviewed-by: @ut-layne-yang Signed-off-by: @ut-layne-yang
This commit is contained in:
commit
c3d546dd4a
37
0001-Revert-fix.patch
Normal file
37
0001-Revert-fix.patch
Normal file
@ -0,0 +1,37 @@
|
|||||||
|
From 9c4267f33adec589b2c72a87656c96f03046cbe1 Mon Sep 17 00:00:00 2001
|
||||||
|
From: Super User <root@localhost.localdomain>
|
||||||
|
Date: Sun, 28 Apr 2024 16:02:16 +0800
|
||||||
|
Subject: [PATCH 1/1] =?UTF-8?q?Revert=20"fix:=20=E4=BF=AE=E5=A4=8D?=
|
||||||
|
=?UTF-8?q?=E4=BB=BB=E5=8A=A1=E6=A0=8F=E7=94=B5=E6=BA=90=E6=8F=92=E4=BB=B6?=
|
||||||
|
=?UTF-8?q?=E5=8F=B3=E9=94=AE=E9=94=81=E5=AE=9A=E6=8F=90=E7=A4=BA=E9=94=81?=
|
||||||
|
=?UTF-8?q?=E5=B1=8F=E5=A4=B1=E8=B4=A5=E7=9A=84=E9=97=AE=E9=A2=98"?=
|
||||||
|
MIME-Version: 1.0
|
||||||
|
Content-Type: text/plain; charset=UTF-8
|
||||||
|
Content-Transfer-Encoding: 8bit
|
||||||
|
|
||||||
|
This reverts commit 277cb0def0242e7e6099c5b24d032fec3ccba69a.
|
||||||
|
---
|
||||||
|
plugins/shutdown/shutdownplugin.cpp | 7 ++++++-
|
||||||
|
1 file changed, 6 insertions(+), 1 deletion(-)
|
||||||
|
|
||||||
|
diff --git a/plugins/shutdown/shutdownplugin.cpp b/plugins/shutdown/shutdownplugin.cpp
|
||||||
|
index ef15f4ce..e5cdcf31 100644
|
||||||
|
--- a/plugins/shutdown/shutdownplugin.cpp
|
||||||
|
+++ b/plugins/shutdown/shutdownplugin.cpp
|
||||||
|
@@ -304,7 +304,12 @@ void ShutdownPlugin::invokedMenuItem(const QString &itemKey, const QString &menu
|
||||||
|
#endif
|
||||||
|
|
||||||
|
} else {
|
||||||
|
- QProcess::execute("bash -c \"originmap=$(setxkbmap -query | grep option | awk -F ' ' '{print $2}');/usr/bin/setxkbmap -option grab:break_actions&&/usr/bin/xdotool key XF86Ungrab&&dbus-send --print-reply --dest=com.deepin.dde.lockFront /com/deepin/dde/lockFront com.deepin.dde.lockFront.Show&&setxkbmap -option $originmap\"");
|
||||||
|
+ DDBusSender()
|
||||||
|
+ .service("com.deepin.dde.lockFront")
|
||||||
|
+ .interface("com.deepin.dde.lockFront")
|
||||||
|
+ .path("/com/deepin/dde/lockFront")
|
||||||
|
+ .method(QString("Show"))
|
||||||
|
+ .call();
|
||||||
|
}
|
||||||
|
} else
|
||||||
|
DDBusSender()
|
||||||
|
--
|
||||||
|
2.43.0
|
||||||
|
|
||||||
@ -2,7 +2,7 @@
|
|||||||
|
|
||||||
Name: dde-dock
|
Name: dde-dock
|
||||||
Version: 5.6.22
|
Version: 5.6.22
|
||||||
Release: 3
|
Release: 5
|
||||||
Summary: Deepin desktop-environment - Dock module
|
Summary: Deepin desktop-environment - Dock module
|
||||||
License: GPLv3
|
License: GPLv3
|
||||||
URL: https://github.com/linuxdeepin/dde-dock/
|
URL: https://github.com/linuxdeepin/dde-dock/
|
||||||
@ -12,12 +12,13 @@ Patch2: 0001-Hidden-state.patch
|
|||||||
Patch3: 0001-hide-status-box.patch
|
Patch3: 0001-hide-status-box.patch
|
||||||
Patch4: 0001-fix-build-error.patch
|
Patch4: 0001-fix-build-error.patch
|
||||||
Patch5: 0001-fix-dde-trash-error.patch
|
Patch5: 0001-fix-dde-trash-error.patch
|
||||||
|
Patch6: 0001-Revert-fix.patch
|
||||||
|
|
||||||
BuildRequires: cmake
|
BuildRequires: cmake
|
||||||
BuildRequires: libarchive
|
BuildRequires: libarchive
|
||||||
BuildRequires: gcc-c++
|
BuildRequires: gcc-c++
|
||||||
BuildRequires: pkgconfig(dbusmenu-qt5)
|
BuildRequires: pkgconfig(dbusmenu-qt5)
|
||||||
#BuildRequires: dde-network-core-devel
|
BuildRequires: dde-network-core-devel
|
||||||
BuildRequires: dtkcommon-devel
|
BuildRequires: dtkcommon-devel
|
||||||
BuildRequires: dtkwidget-devel >= 5.4.19
|
BuildRequires: dtkwidget-devel >= 5.4.19
|
||||||
BuildRequires: dtkcore-devel >= 5.4.14
|
BuildRequires: dtkcore-devel >= 5.4.14
|
||||||
@ -49,14 +50,14 @@ BuildRequires: dde-control-center-devel >= 5.5.77
|
|||||||
BuildRequires: dde-control-center >= 5.5.77
|
BuildRequires: dde-control-center >= 5.5.77
|
||||||
|
|
||||||
Requires: dbusmenu-qt5
|
Requires: dbusmenu-qt5
|
||||||
#Requires: dde-network-core
|
Requires: dde-network-core
|
||||||
Requires: dde-qt-dbus-factory
|
Requires: dde-qt-dbus-factory
|
||||||
Requires: xcb-util-wm
|
Requires: xcb-util-wm
|
||||||
Requires: xcb-util-image
|
Requires: xcb-util-image
|
||||||
Requires: libxcb
|
Requires: libxcb
|
||||||
Requires: deepin-desktop-schemas
|
Requires: deepin-desktop-schemas
|
||||||
#Requires: dde-daemon
|
Requires: dde-daemon
|
||||||
#Requires: startdde
|
Requires: startdde
|
||||||
Requires: libqtxdg-devel
|
Requires: libqtxdg-devel
|
||||||
Requires: onboard
|
Requires: onboard
|
||||||
|
|
||||||
@ -80,12 +81,7 @@ Requires: %{name}%{?_isa} = %{version}-%{release}
|
|||||||
deepin desktop-environment - dock plugin.
|
deepin desktop-environment - dock plugin.
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n %{name}-%{version}
|
%autosetup -n %{name}-%{version} -p1
|
||||||
%patch1 -p1
|
|
||||||
%patch2 -p1
|
|
||||||
%patch3 -p1
|
|
||||||
%patch4 -p1
|
|
||||||
%patch5 -p1
|
|
||||||
|
|
||||||
find plugins/ -mindepth 2 -maxdepth 2 -type f -name CMakeLists.txt | grep -vE 'dcc-dock-plugin/CMakeLists.txt' | xargs -I '{file_name}' sed -i '/TARGETS/s|lib|%{_lib}|' '{file_name}'
|
find plugins/ -mindepth 2 -maxdepth 2 -type f -name CMakeLists.txt | grep -vE 'dcc-dock-plugin/CMakeLists.txt' | xargs -I '{file_name}' sed -i '/TARGETS/s|lib|%{_lib}|' '{file_name}'
|
||||||
|
|
||||||
@ -143,6 +139,12 @@ chmod +x %{buildroot}/%{_bindir}/%{name}-wrapper
|
|||||||
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Mon Apr 29 2024 liweigang <liweiganga@uniontech.com> - 5.6.22-5
|
||||||
|
- fix plugin shutdown lock fail
|
||||||
|
|
||||||
|
* Wed Apr 17 2024 liuzhilin <liuzhilin@uniontech.com> - 5.6.22-4
|
||||||
|
- backport buildrequires
|
||||||
|
|
||||||
* Tue Apr 16 2024 liuzhilin <liuzhilin@uniontech.com> - 5.6.22-3
|
* Tue Apr 16 2024 liuzhilin <liuzhilin@uniontech.com> - 5.6.22-3
|
||||||
- fix build dde-session-ui error
|
- fix build dde-session-ui error
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user