Accepting request 812659 from home:ecsos

Fix build error in Tumbleweed.

OBS-URL: https://build.opensuse.org/request/show/812659
OBS-URL: https://build.opensuse.org/package/show/network/nextcloud-desktop?expand=0&rev=14
This commit is contained in:
Eric Schirra 2020-06-08 15:11:42 +00:00 committed by Git OBS Bridge
parent 7d778bd868
commit fffa73e6af
3 changed files with 29 additions and 0 deletions

View File

@ -0,0 +1,11 @@
diff -Pdpru desktop-2.6.4.orig/src/libsync/networkjobs.cpp desktop-2.6.4/src/libsync/networkjobs.cpp
--- desktop-2.6.4.orig/src/libsync/networkjobs.cpp 2020-03-03 20:32:31.000000000 +0100
+++ desktop-2.6.4/src/libsync/networkjobs.cpp 2020-06-08 16:47:12.416486640 +0200
@@ -31,6 +31,7 @@
#include <QJsonDocument>
#include <QJsonObject>
#include <QPainter>
+#include <QPainterPath>
#include "networkjobs.h"
#include "account.h"

View File

@ -1,3 +1,10 @@
-------------------------------------------------------------------
Mon Jun 8 14:52:29 UTC 2020 - ecsos <ecsos@opensuse.org>
- Fix build error in Tumbleweed.
- Add nextcloud-desktop-qt_5.15.patch to fix build error with
Qt 5.15.
-------------------------------------------------------------------
Sun Mar 8 20:18:45 UTC 2020 - Alexei Sorokin <sor.alexei@meowr.ru>

View File

@ -23,6 +23,7 @@ Version: 2.6.4
Release: 0
Summary: Nextcloud desktop synchronisation client
License: GPL-2.0-or-later AND LGPL-3.0-or-later
Group: Productivity/Networking/File-Sharing
URL: https://nextcloud.com/
Source: https://github.com/nextcloud/desktop/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz
Source1: sysctl-sync-inotify.conf
@ -30,6 +31,8 @@ Source1: sysctl-sync-inotify.conf
Patch0: nextcloud-desktop-fix-rpath.patch
# PATCH-FIX-OPENSUSE nextcloud-desktop-remove-datetime.patch sor.alexei@meowr.ru -- Remove __TIME__ and __DATE__.
Patch1: nextcloud-desktop-remove-datetime.patch
# PATCH-FIX-OPENSUSE nextcloud-desktop-qt_5.15.patch - Fix build error with QT 5.15.
Patch2: %{name}-qt_5.15.patch
BuildRequires: AppStream
BuildRequires: cmake >= 3.2
BuildRequires: fdupes
@ -81,6 +84,7 @@ synchronisation client does the rest.
%if 0%{?is_opensuse}
%package doc
Summary: Documentation for nextcloud-desktop
Group: Productivity/Networking/File-Sharing
Provides: nextcloud-client-doc = %{version}
Obsoletes: nextcloud-client-doc < %{version}
BuildArch: noarch
@ -94,12 +98,14 @@ This package contains the documentation.
%package -n %{soname}%{sover}
Summary: The Nextcloud synchronisation library
Group: Productivity/Networking/File-Sharing
%description -n %{soname}%{sover}
The Nextcloud Desktop Client synchronisation library.
%package -n %{soname}-devel
Summary: Development files for the Nextcloud synchronisation library
Group: Productivity/Networking/File-Sharing
Requires: %{soname}%{sover} = %{version}
%description -n %{soname}-devel
@ -108,6 +114,7 @@ library.
%package -n nautilus-extension-nextcloud
Summary: Nautilus overlay icons
Group: Productivity/Networking/File-Sharing
Requires: %{name} = %{version}
Requires: nautilus
Requires: python3-nautilus
@ -121,6 +128,7 @@ synchronisation state in the Nautilus file manager.
%if 0%{?is_opensuse}
%package -n caja-extension-nextcloud
Summary: Caja overlay icons
Group: Productivity/Networking/File-Sharing
Requires: %{name} = %{version}
Requires: caja
Requires: python-caja
@ -133,6 +141,7 @@ synchronisation state in the Caja file manager.
%package -n nemo-extension-nextcloud
Summary: Nemo overlay icons
Group: Productivity/Networking/File-Sharing
Requires: %{name} = %{version}
Requires: nemo
Requires: python-nemo
@ -145,6 +154,7 @@ synchronisation state in the Nemo file manager.
%package -n %{name}-dolphin
Summary: Dolphin overlay icons
Group: Productivity/Networking/File-Sharing
Requires: %{name} = %{version}
Requires: dolphin
Supplements: (%{name} and dolphin)
@ -158,6 +168,7 @@ Dolphin filemanager to display overlay icons.
%setup -q -n desktop-%{version}
%patch0 -p1
%patch1 -p1
%patch2 -p1
cp -a %{SOURCE1} sysctl-sync-inotify.conf
%build