commit nextcloud-client for openSUSE:Factory
Hello community,
here is the log from the commit of package nextcloud-client for openSUSE:Factory checked in at 2017-01-25 23:34:53
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/nextcloud-client (Old)
and /work/SRC/openSUSE:Factory/.nextcloud-client.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "nextcloud-client"
Changes:
--------
--- /work/SRC/openSUSE:Factory/nextcloud-client/nextcloud-client.changes 2016-10-02 00:09:45.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.nextcloud-client.new/nextcloud-client.changes 2017-01-25 23:34:54.410125488 +0100
@@ -1,0 +2,6 @@
+Tue Jan 24 17:08:34 UTC 2017 - sor.alexei@meowr.ru
+
+- Add nextcloud-client-fix-tray-workaround.patch: fix the tray
+ workaround (from commit 98efb07 of owncloud-client).
+
+-------------------------------------------------------------------
New:
----
nextcloud-client-fix-tray-workaround.patch
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ nextcloud-client.spec ++++++
--- /var/tmp/diff_new_pack.gi07tb/_old 2017-01-25 23:34:55.741924814 +0100
+++ /var/tmp/diff_new_pack.gi07tb/_new 2017-01-25 23:34:55.745924212 +0100
@@ -1,7 +1,7 @@
#
# spec file for package nextcloud-client
#
-# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -33,6 +33,8 @@
Patch1: nextcloud-client-fix-nemo-appname.patch
# PATCH-FIX-OPENSUSE nextcloud-client-fix-ru-typo.patch sor.alexei@meowr.ru -- Fix Russian localisation.
Patch2: nextcloud-client-fix-ru-typo.patch
+# PATCH-FIX-UPSTREAM nextcloud-client-fix-tray-workaround.patch -- Fix the tray workaround (from commit 98efb07 of owncloud-client).
+Patch3: nextcloud-client-fix-tray-workaround.patch
BuildRequires: cmake >= 2.8.0
BuildRequires: doxygen
BuildRequires: fdupes
@@ -173,6 +175,7 @@
%patch0 -p1
%patch1 -p1
%patch2 -p1
+%patch3 -p1
cp -f %{SOURCE1} sysctl-sync-inotify.conf
# A workaround for gh#owncloud/ownbrander#322
@@ -189,8 +192,8 @@
-DBUILD_WITH_QT4=ON \
%endif
-DOEM_THEME_DIR="$nextcloud_theme"
-make %{?_smp_mflags}
-make doc %{?_smp_mflags}
+make %{?_smp_mflags} V=1
+make doc %{?_smp_mflags} V=1
popd
%install
++++++ nextcloud-client-fix-tray-workaround.patch ++++++
--- a/client/src/gui/owncloudgui.cpp
+++ b/client/src/gui/owncloudgui.cpp
@@ -465,13 +465,17 @@ void ownCloudGui::setupContextMenu()
// The Qt version check intentionally uses 5.0.0 (where platformMenu()
// was introduced) instead of 5.5.0 to avoid issues where the Qt
// version used to build is different from the one used at runtime.
+ // If we build with 5.6.1 or newer, we can skip this because the
+ // bugs should be fixed there.
#ifdef Q_OS_LINUX
-#if QT_VERSION >= QT_VERSION_CHECK(5, 0, 0)
- QObject* platformMenu = reinterpret_cast
participants (1)
-
root@hilbertn.suse.de