Hello community, here is the log from the commit of package owncloud-client for openSUSE:Factory checked in at 2018-07-26 10:18:14 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/owncloud-client (Old) and /work/SRC/openSUSE:Factory/.owncloud-client.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "owncloud-client" Thu Jul 26 10:18:14 2018 rev:12 rq:625315 version:2.4.2 Changes: -------- --- /work/SRC/openSUSE:Factory/owncloud-client/owncloud-client.changes 2018-03-18 21:45:17.952731167 +0100 +++ /work/SRC/openSUSE:Factory/.owncloud-client.new/owncloud-client.changes 2018-07-26 10:18:25.935940465 +0200 @@ -1,0 +2,10 @@ +Wed Jul 25 16:06:20 UTC 2018 - [email protected] + +- Update to upstream version 2.4.2 + * Coming with some bugfixes, Changelog: + https://owncloud.org/changelog/desktop-client/ +- Added patch fix-systray-menu-pos.patch to fix a problem with + older Qt versions. Applies only to versions Leap 15 and older, + fixes https://github.com/owncloud/client/issues/5968 + +------------------------------------------------------------------- Old: ---- owncloudclient_os-2.4.1.tar.xz New: ---- fix-systray-menu-pos.patch owncloudclient_os-2.4.2.tar.xz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ owncloud-client.spec ++++++ --- /var/tmp/diff_new_pack.wgLTvI/_old 2018-07-26 10:18:41.491968653 +0200 +++ /var/tmp/diff_new_pack.wgLTvI/_new 2018-07-26 10:18:41.491968653 +0200 @@ -18,7 +18,7 @@ Name: owncloud-client -Version: 2.4.1 +Version: 2.4.2 Release: 0 Summary: The ownCloud synchronization client @@ -31,6 +31,12 @@ # PATCH-FIX-UPSTREAM rpath.diff Fix rpath Patch0: rpath.diff +# PATCH-FIX-UPSTREAM fix position of systray menu https://github.com/owncloud/client/issues/5968 +# for all except tumbleweed and ongoing, as the Qt bug is fixed in there. +%if 0%{?suse_version} <= 1500 +Patch1: fix-systray-menu-pos.patch +%endif + %define cmake_args -DSYSCONF_INSTALL_DIR=%{_sysconfdir} # Build the dolphin overlays for 42.2 ongoing, SLE and Tumbleweed @@ -203,6 +209,10 @@ %patch0 -p1 +%if 0%{?suse_version} <= 1500 +%patch1 -p1 +%endif + %build echo suse_version 0%{?suse_version} ++++++ fix-systray-menu-pos.patch ++++++ diff --git a/src/gui/owncloudgui.cpp b/src/gui/owncloudgui.cpp index c8d5cddcd..6e3f6871a 100644 --- a/src/gui/owncloudgui.cpp +++ b/src/gui/owncloudgui.cpp @@ -530,7 +530,8 @@ void ownCloudGui::setupContextMenu() || desktopSession.contains("plasma") || desktopSession.contains("kde"); QObject *platformMenu = reinterpret_cast<QObject *>(_tray->contextMenu()->platformMenu()); - if (isKde && platformMenu && platformMenu->metaObject()->className() == QLatin1String("QDBusPlatformMenu")) { + const QString className = platformMenu->metaObject()->className(); + if (isKde && platformMenu && className == QLatin1String("SystemTrayMenu") ) { // QLatin1String("QDBusPlatformMenu")) { _workaroundManualVisibility = true; _workaroundNoAboutToShowUpdate = true; } ++++++ owncloudclient_os-2.4.1.tar.xz -> owncloudclient_os-2.4.2.tar.xz ++++++ /work/SRC/openSUSE:Factory/owncloud-client/owncloudclient_os-2.4.1.tar.xz /work/SRC/openSUSE:Factory/.owncloud-client.new/owncloudclient_os-2.4.2.tar.xz differ: char 25, line 1
