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