Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package deepin-session-ui for 
openSUSE:Factory checked in at 2022-04-22 21:54:15
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/deepin-session-ui (Old)
 and      /work/SRC/openSUSE:Factory/.deepin-session-ui.new.1538 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "deepin-session-ui"

Fri Apr 22 21:54:15 2022 rev:7 rq:971866 version:5.5.10

Changes:
--------
--- /work/SRC/openSUSE:Factory/deepin-session-ui/deepin-session-ui.changes      
2022-03-07 17:46:24.471129083 +0100
+++ 
/work/SRC/openSUSE:Factory/.deepin-session-ui.new.1538/deepin-session-ui.changes
    2022-04-22 21:55:22.894883070 +0200
@@ -1,0 +2,8 @@
+Wed Apr  6 13:20:51 UTC 2022 - Hillwood Yang <[email protected]>
+
+- Update version to 5.5.10
+  * Migrate to cmake
+  * Fix bugs
+- Add fix-library-path.patch
+
+-------------------------------------------------------------------

Old:
----
  dde-session-ui-5.5.6.tar.gz

New:
----
  dde-session-ui-5.5.10.tar.gz
  fix-library-path.patch

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ deepin-session-ui.spec ++++++
--- /var/tmp/diff_new_pack.XXxJgK/_old  2022-04-22 21:55:23.430883681 +0200
+++ /var/tmp/diff_new_pack.XXxJgK/_new  2022-04-22 21:55:23.430883681 +0200
@@ -2,7 +2,7 @@
 # spec file for package deepin-session-ui
 #
 # Copyright (c) 2021 SUSE LLC
-# Copyright (c) 2019 Hillwood Yang <[email protected]>
+# Copyright (c) 2021 Hillwood Yang <[email protected]>
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -19,12 +19,14 @@
 %define _name dde-session-ui
 
 Name:           deepin-session-ui
-Version:        5.5.6
+Version:        5.5.10
 Release:        0
 Summary:        Deepin desktop-environment - Session UI module
 License:        GPL-3.0-or-later
 URL:            https://github.com/linuxdeepin/dde-session-ui
 Source0:        
https://github.com/linuxdeepin/dde-session-ui/archive/%{version}/%{_name}-%{version}.tar.gz
+# PATCH-FIX-UPSTEAM fix-library-path.patch [email protected]
+Patch0:         fix-library-path.patch
 Group:          System/GUI/Other
 BuildRequires:  gtest
 BuildRequires:  update-desktop-files
@@ -66,38 +68,37 @@
 %lang_package
 
 %prep
-%setup -q -n %{_name}-%{version}
+%autosetup -p1 -n %{_name}-%{version}
 sed -i 's|lrelease|lrelease-qt5|g' translate_generation.sh
-sed -i 's|/usr/lib/dde-dock|%{_libdir}/dde-dock|' \
-dde-notification-plugin/notifications/notifications.pro
+# sed -i 's|/usr/lib/dde-dock|%{_libdir}/dde-dock|' \
+# dde-notification-plugin/notifications/notifications.pro
 sed -i 
's|backgrounds/default_background.jpg|wallpapers/openSUSEdefault/contents/images/1920x1080.jpg|g'
 \
 widgets/fullscreenbackground.cpp 
tests/dde-welcome/global_util/ut_publicfunc.cpp
 sed -i 
's|backgrounds/deepin/desktop.jpg|wallpapers/openSUSEdefault/contents/images/1920x1080.jpg|g'
 \
 widgets/fullscreenbackground.cpp 
tests/dde-welcome/global_util/ut_publicfunc.cpp
+sed -i 's/qdbusxml2cpp/qdbusxml2cpp-qt5/g' CMakeLists.txt
 #Use Geeko logo instead of deepin
 # cp %{SOURCE1} lightdm-deepin-greeter/img/
 
 %build
-%qmake5 PREFIX=%{_prefix}
-%make_build
+%cmake -DCMAKE_INSTALL_LIBDIR=%{_libdir}
+%cmake_build
 
 %install
-%qmake5_install
+%cmake_install
 %find_lang %{_name} --with-qt
 
 %files
 %license LICENSE
 %doc README.md CONTRIBUTING.md CHANGELOG.md
 %{_bindir}/*
-%{_datadir}/icons/hicolor/*/apps/*
+%{_datadir}/icons/hicolor/scalable/devices/computer.svg
 %{_prefix}/lib/deepin-daemon
 %dir %{_libdir}/dde-dock
 %dir %{_libdir}/dde-dock/plugins
 %{_libdir}/dde-dock/plugins/libnotifications.so
 %dir %{_datadir}/dde-session-ui
 %dir %{_datadir}/dde-session-ui/translations
-%{_datadir}/dde-session-ui/dde-session-ui.conf
-%{_datadir}/dde-session-ui/translations/dde-session-ui.qm
 %{_datadir}/dbus-1/services/com.deepin.dde.welcome.service
 %{_datadir}/dbus-1/services/com.deepin.dde.osd.service
 %{_datadir}/dbus-1/services/com.deepin.dde.Notification.service
@@ -107,9 +108,10 @@
 
%{_datadir}/glib-2.0/schemas/com.deepin.dde.dock.module.notifications.gschema.xml
 
 %files lang -f %{_name}.lang
-%if 0%{?suse_version} <= 1500
 %dir %{_datadir}/%{_name}
 %dir %{_datadir}/%{_name}/translations
+%{_datadir}/%{_name}/translations/dde-session-ui.qm
+%if 0%{?suse_version} <= 1500
 %{_datadir}/%{_name}/translations/%{_name}_ast.qm
 %{_datadir}/%{_name}/translations/%{_name}_fil.qm
 %{_datadir}/%{_name}/translations/%{_name}_pam.qm

++++++ dde-session-ui-5.5.6.tar.gz -> dde-session-ui-5.5.10.tar.gz ++++++
++++ 13936 lines of diff (skipped)

++++++ fix-library-path.patch ++++++
diff -Nur dde-session-ui-5.5.10/CMakeLists.txt 
dde-session-ui-5.5.10-new/CMakeLists.txt
--- dde-session-ui-5.5.10/CMakeLists.txt        2022-02-14 09:42:24.000000000 
+0800
+++ dde-session-ui-5.5.10-new/CMakeLists.txt    2022-04-06 20:35:26.242567752 
+0800
@@ -9,6 +9,8 @@
 set(CMAKE_AUTORCC ON)
 set(CMAKE_CXX_FLAGS "-g -Wall")
 
+link_directories(${LIBRARY_OUTPUT_PATH})
+
 # ????????????????????????
 ADD_DEFINITIONS("-fstack-protector-strong -D_FORTITY_SOURCE=1 -z noexecstack 
-pie -fPIC -z lazy")
 
@@ -329,7 +331,7 @@
 )
 
 ## bin
-install(TARGETS ${Notification_Plugin_Name} LIBRARY DESTINATION 
lib/dde-dock/plugins)
+install(TARGETS ${Notification_Plugin_Name} LIBRARY DESTINATION 
${CMAKE_INSTALL_LIBDIR}/dde-dock/plugins)
 
 ## schemas
 install(FILES 
dde-notification-plugin/gschema/com.deepin.dde.dock.module.notifications.gschema.xml
 DESTINATION share/glib-2.0/schemas)

Reply via email to