Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package deepin-session-shell for
openSUSE:Factory checked in at 2022-01-31 22:56:54
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/deepin-session-shell (Old)
and /work/SRC/openSUSE:Factory/.deepin-session-shell.new.1898 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "deepin-session-shell"
Mon Jan 31 22:56:54 2022 rev:3 rq:950200 version:5.4.112
Changes:
--------
---
/work/SRC/openSUSE:Factory/deepin-session-shell/deepin-session-shell.changes
2021-06-02 22:11:07.396124628 +0200
+++
/work/SRC/openSUSE:Factory/.deepin-session-shell.new.1898/deepin-session-shell.changes
2022-01-31 22:57:19.305581636 +0100
@@ -1,0 +2,32 @@
+Thu Dec 16 08:41:34 UTC 2021 - Hillwood Yang <[email protected]>
+
+- Update version to 5.4.112
+ * Add AccessibleName
+ * Update translations
+ * Fix bugs
+- Add fix-crash-bug.patch
+- Drop fix-return-type.patch, merged by upstream
+
+-------------------------------------------------------------------
+Sun Oct 24 14:14:39 UTC 2021 - Hillwood Yang <[email protected]>
+
+- Update version to 5.4.88
+ * Add AccessibleName
+ * Fix bugs
+
+-------------------------------------------------------------------
+Sat Sep 18 12:53:53 UTC 2021 - Hillwood Yang <[email protected]>
+
+- Update version to 5.4.58
+ * Fix bugs
+ * Update translations
+
+-------------------------------------------------------------------
+Mon Jul 26 13:40:23 UTC 2021 - Hillwood Yang <[email protected]>
+
+- Update version to 5.4.42
+ * WIP: add unit tests
+ * Update translations
+ * Use dbus-send intead of qdbus
+
+-------------------------------------------------------------------
Old:
----
dde-session-shell-5.4.9.tar.gz
fix-return-type.patch
New:
----
dde-session-shell-5.4.112.tar.gz
fix-crash-bug.patch
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ deepin-session-shell.spec ++++++
--- /var/tmp/diff_new_pack.dvenC0/_old 2022-01-31 22:57:19.793578350 +0100
+++ /var/tmp/diff_new_pack.dvenC0/_new 2022-01-31 22:57:19.797578322 +0100
@@ -19,14 +19,16 @@
%define _name dde-session-shell
Name: deepin-session-shell
-Version: 5.4.9
+Version: 5.4.112
Release: 0
Summary: Deepin desktop-environment - Session UI Shell
License: GPL-3.0+
URL: https://github.com/linuxdeepin/dde-session-shell
Source0:
https://github.com/linuxdeepin/dde-session-shell/archive/%{version}/%{_name}-%{version}.tar.gz
Source1:
https://github.com/linuxdeepin/startdde/raw/master/misc/lightdm.conf
-Patch0: fix-return-type.patch
+# PATCH-FIX-UPSTREAM fix-crash-bug.patch [email protected]
+# https://github.com/linuxdeepin/dde-session-shell/pull/38
+Patch0: fix-crash-bug.patch
Group: System/GUI/Other
BuildRequires: gtest
BuildRequires: update-desktop-files
@@ -34,8 +36,8 @@
BuildRequires: dtkcore
BuildRequires: libqt5-linguist
BuildRequires: pam-devel
-BuildRequires: pkgconfig(dtkwidget) >= 5.5.0
-BuildRequires: pkgconfig(dframeworkdbus)
+BuildRequires: pkgconfig(dtkwidget5.5) >= 5.5.0
+BuildRequires: libdframeworkdbus-devel >= 5.4.20
BuildRequires: pkgconfig(dde-dock)
BuildRequires: pkgconfig(gsettings-qt)
BuildRequires: pkgconfig(gtk+-2.0)
@@ -55,6 +57,7 @@
BuildRequires: pkgconfig(xtst)
BuildRequires: pkgconfig(xcb-ewmh)
BuildRequires: pkgconfig(xrandr)
+BuildRequires: pkgconfig(openssl)
BuildRequires: plasma5-theme-openSUSE
Requires: deepin-wallpapers
Recommends: %{name}-lang = %{version}-%{release}
@@ -93,8 +96,6 @@
src/widgets/fullscreenbackground.cpp
sed -i
's|backgrounds/deepin/desktop.jpg|wallpapers/openSUSEdefault/contents/images/1920x1080.jpg|g'
\
src/dde-shutdown/view/contentwidget.cpp
-sed -i 's|qdbus|qdbus-qt5|g' files/com.deepin.dde.lockFront.service
files/com.deepin.dde.shutdownFront.service
-sed -i 's|DtkWidget5.5|DtkWidget|g' CMakeLists.txt
tests/dde-lock/CMakeLists.txt tests/lightdm-deepin-greeter/CMakeLists.txt
cp %{_datadir}/icons/hicolor/scalable/apps/openSUSE-distributor-logo.svg
src/widgets/img/logo.svg
%build
@@ -104,12 +105,11 @@
%install
%cmake_install
install -Dm644 %{SOURCE1}
%{buildroot}%{_datadir}/lightdm/lightdm.conf.d/60-deepin.conf
-chmod 755 %{buildroot}%{_bindir}/*
+chmod +x %{buildroot}%{_bindir}/*
%files
-%defattr(-,root,root,-)
# %doc README.md CONTRIBUTING.md CHANGELOG.md
-# %license LICENSE
+%license LICENSE
%{_bindir}/dde-*
%{_bindir}/deepin-greeter
%dir %{_sysconfdir}/deepin
@@ -118,11 +118,15 @@
%{_datadir}/dbus-1/services/*.service
%{_datadir}/applications/*.desktop
%{_datadir}/glib-2.0/schemas/com.deepin.dde.session-shell.gschema.xml
+%dir %{_datadir}/deepin-authentication/
+%dir %{_datadir}/deepin-authentication/privileges
+%{_datadir}/deepin-authentication/privileges/lightdm-deepin-greeter.conf
%files -n lightdm-deepin-greeter
-%defattr(-,root,root,-)
+%license LICENSE
%{_bindir}/lightdm-deepin-greeter
%{_sysconfdir}/deepin/greeters.d/lightdm-deepin-greeter
+%{_sysconfdir}/deepin/greeters.d/10-cursor-theme
%dir %{_datadir}/lightdm
%dir %{_datadir}/lightdm/lightdm.conf.d
%{_datadir}/lightdm/lightdm.conf.d/60-deepin.conf
@@ -130,7 +134,6 @@
%{_datadir}/xgreeters/lightdm-deepin-greeter.desktop
%files lang
-%defattr(-,root,root,-)
%{_datadir}/%{_name}
%changelog
++++++ dde-session-shell-5.4.9.tar.gz -> dde-session-shell-5.4.112.tar.gz ++++++
++++ 30485 lines of diff (skipped)
++++++ fix-crash-bug.patch ++++++
>From 31a1c23956230e19ba5a37810381989710ab98f1 Mon Sep 17 00:00:00 2001
From: Felix Yan <[email protected]>
Date: Fri, 27 Aug 2021 20:45:57 +0300
Subject: [PATCH] fix: crash when trying to free uninitialized pointers
In 73f55b6963dfa27a9f426c8cd34d82be89d79685, m_RSA, m_BIO, and
m_encryptionHandle were added to DestoryAuthController()
unconditionally, but they could be uninitialized when the dbus service
com.deepin.daemon.Authenticate is not present.
In CreateAuthController(), initEncryptionService() was skipped when
m_publicKey is empty, which was a result of
authControllerInter->EncryptKey failed, when the service is not present.
All these three pointers were initialized in initEncryptionService().
Log: fix a crash when trying to free uninitialized pointers.
---
src/libdde-auth/deepinauthframework.cpp | 8 +++++---
1 file changed, 5 insertions(+), 3 deletions(-)
diff --git a/src/libdde-auth/deepinauthframework.cpp
b/src/libdde-auth/deepinauthframework.cpp
index cec8820..2793a3b 100644
--- a/src/libdde-auth/deepinauthframework.cpp
+++ b/src/libdde-auth/deepinauthframework.cpp
@@ -404,9 +404,11 @@ void DeepinAuthFramework::DestoryAuthController(const
QString &account)
m_authenticateControllers->remove(account);
delete authControllerInter;
- m_F_RSA_free(m_RSA);
- m_F_BIO_free(m_BIO);
- dlclose(m_encryptionHandle);
+ if (!m_publicKey.isEmpty()) {
+ m_F_RSA_free(m_RSA);
+ m_F_BIO_free(m_BIO);
+ dlclose(m_encryptionHandle);
+ }
}
/**