From 4e4a9832a1a5c9e1b0d0b7d72af8b32c45864a0cf0df41b4f8db14af758d4165 Mon Sep 17 00:00:00 2001 From: Lars Vogdt Date: Tue, 24 Dec 2019 01:15:43 +0000 Subject: [PATCH] Accepting request 757890 from home:ecsos With python3-nautilus OBS-URL: https://build.opensuse.org/request/show/757890 OBS-URL: https://build.opensuse.org/package/show/network/nextcloud-desktop?expand=0&rev=1 --- .gitattributes | 23 +++ .gitignore | 1 + nextcloud-desktop-2.6.1.tar.gz | 3 + nextcloud-desktop.changes | 168 ++++++++++++++++++++++ nextcloud-desktop.spec | 251 +++++++++++++++++++++++++++++++++ sysctl-sync-inotify.conf | 1 + 6 files changed, 447 insertions(+) create mode 100644 .gitattributes create mode 100644 .gitignore create mode 100644 nextcloud-desktop-2.6.1.tar.gz create mode 100644 nextcloud-desktop.changes create mode 100644 nextcloud-desktop.spec create mode 100644 sysctl-sync-inotify.conf diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..9b03811 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,23 @@ +## Default LFS +*.7z filter=lfs diff=lfs merge=lfs -text +*.bsp filter=lfs diff=lfs merge=lfs -text +*.bz2 filter=lfs diff=lfs merge=lfs -text +*.gem filter=lfs diff=lfs merge=lfs -text +*.gz filter=lfs diff=lfs merge=lfs -text +*.jar filter=lfs diff=lfs merge=lfs -text +*.lz filter=lfs diff=lfs merge=lfs -text +*.lzma filter=lfs diff=lfs merge=lfs -text +*.obscpio filter=lfs diff=lfs merge=lfs -text +*.oxt filter=lfs diff=lfs merge=lfs -text +*.pdf filter=lfs diff=lfs merge=lfs -text +*.png filter=lfs diff=lfs merge=lfs -text +*.rpm filter=lfs diff=lfs merge=lfs -text +*.tbz filter=lfs diff=lfs merge=lfs -text +*.tbz2 filter=lfs diff=lfs merge=lfs -text +*.tgz filter=lfs diff=lfs merge=lfs -text +*.ttf filter=lfs diff=lfs merge=lfs -text +*.txz filter=lfs diff=lfs merge=lfs -text +*.whl filter=lfs diff=lfs merge=lfs -text +*.xz filter=lfs diff=lfs merge=lfs -text +*.zip filter=lfs diff=lfs merge=lfs -text +*.zst filter=lfs diff=lfs merge=lfs -text diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..57affb6 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.osc diff --git a/nextcloud-desktop-2.6.1.tar.gz b/nextcloud-desktop-2.6.1.tar.gz new file mode 100644 index 0000000..53ed803 --- /dev/null +++ b/nextcloud-desktop-2.6.1.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:82f591ddc8ad6c39f48e9ac16e7320c9b5342ede37838bd89e1977655f2482ea +size 18947504 diff --git a/nextcloud-desktop.changes b/nextcloud-desktop.changes new file mode 100644 index 0000000..7e7c726 --- /dev/null +++ b/nextcloud-desktop.changes @@ -0,0 +1,168 @@ +------------------------------------------------------------------- +Tue Nov 5 08:48:40 UTC 2019 - ecsos@opensuse.org + +- Update to 2.6.1 + - desktop#1032 Changed max GUI bandwidth limits + - desktop#1039 Add sync date next to "Synchronized with local + folder" + - desktop#1149 Slideshow buttons + - desktop#1214 Fix qt warning about registering a URL sheme first. + - desktop#1231 Issue #1216: added sync-exclude entry for emacs + recovery files + - desktop#1240 Race condition in the remote size loading logic + - desktop#1409 Review of msvc/gcc warnings -> code cleanup, + prevention of implicit casts, variadic macros + - desktop#1414 Fix double slashes + - desktop#1420 Fixing E2E CSR transmission failure for new + connections + - desktop#1441 Fixed missing 'translatable' exclusions, added + missing window titles + - desktop#1461 Checks if exclude file is empty before creating + the regular expressions. + - desktop#1465 Add server info to menu + - desktop#1474 Fixed grammar + - desktop#1477 Prevent jumping of tray menu + - desktop#1478 Don't run connection wizard when quitting the + application + - desktop#1481 Avoiding copying in range-based loops + - desktop#1495 Add a 'Content-Length: 0' header to initial POST + requests + - desktop#1504 Remote wipe. + - desktop#1520 Pick from upstream: Update qtmacgoodies for an OSX + crash fix #6930 + - desktop#1522 * fix for issue no. #1351 + - desktop#1523 Merge the list of ignored files/symlinks into one + Activity notification. + - desktop#1527 Update submodules for Qt 5.12.5 (qtmacgoodies) + - desktop#1554 Fix duplicate items in Apps menu + (a bug introduced in #1477) + - desktop#1573 Fix #1182 + - desktop#1579 Fix remote wipe when a proxy is configured. + - desktop#1580 Fix updater message: Download link instead of + "use the system's update + +------------------------------------------------------------------- +Fri Sep 27 17:15:58 UTC 2019 - ecsos@opensuse.org + +- Update to 2.6.0 + - desktop#1222 Reinstate Debian build in the new Drone config + - desktop#1225 Typo + - desktop#1256 Marking unused strings as unstranslatable + - desktop#1275 Fixes #607 + - desktop#1278 Fixes issue #878 + - desktop#1342 Fixes issue #1187 + - desktop#1347 Displays FileIgnored activities with an info icon + - desktop#1354 Minor text change in the link to help in the tab + 'General'. + - desktop#1359 Update Qt 5.5 compatibility patch for Xenial + - desktop#1360 Remove Ubuntu Cosmic and add Eoan package + - desktop#1366 Add proper CA to client side certificate + connection + - desktop#1372 Remove dependency on libgnome-keyring0 on Eoan + - desktop#1374 Read .sync_exclude.lst in each subdirectory + - desktop#1376 Updates ChangeLog. + - desktop#1384 Login flow v2 + - desktop#1389 Adds SSL client cert storage to webflow + Login + Flow v2 + - desktop#1394 Windows: Workaround for CredWriteW used by + QtKeychain + - desktop#1399 Integrated registry check on windows when + hasDarkSystray is called. + - desktop#1401 Logo update + - desktop#1402 Updated .gitignore to integrate unwanted files + when working with VSC … + - desktop#1405 Full-Scaled new logo in Windows 10 start menu tile + - desktop#1408 Qt5.5 compatiblity patch for login flow V2 + UI + improvement (Use newer digest algorithms in TLS error dialog) + - desktop#1427 Fix for #1382 "linux client crashes for no + discernable reason" + - desktop#1434 UI improvement: Message box: Delete / Keep all + files + - desktop#1443 Improve wording of the context menu in the file + manager extension. + - desktop#1447 Changes wording in the share context menu. + - Fix White Window issue on Windows by upgrading to Qt 5.12.5 + +------------------------------------------------------------------- +Tue Aug 6 06:33:19 UTC 2019 - ecsos@opensuse.org + +- Fix build errors for Leap 15.1 with Sphinx. + Add BuildRequires python3-attrs. + +------------------------------------------------------------------- +Mon Jul 22 21:55:32 UTC 2019 - ecsos@opensuse.org + +- Update to 2.5.3 + - desktop#1118 Fix empty file wording in error log (small) + - desktop#1153 Add Qt-5.12 to CI + - desktop#1157 Fix a minor typo + - desktop#1185 Libcloudproviders: Add missing check for Qt5DBus + - desktop#1186 Fix several memory leaks in cloudproviders and add + translation support + - desktop#1191 Share link fixing + - desktop#1200 New drone config + - desktop#1201 Uses configuraion to determine if it should show + empty folder popup. + - desktop#1212 Simplify cmake command to make copy-pastable + - desktop#1234 Updated default remote poll to 5 seconds #1115 + - desktop#1239 Fix memory leak with device pointer + - desktop#1241 Added a nice UI for the E2E-enabled account first + connect + - desktop#1245 This should fix issue #1000 + - desktop#1247 Adds parameter to retrieve shares with its + reshares. + - desktop#1251 Fixed typo + - desktop#1253 Fixed typo in "certificate" + - desktop#1273 WebView: Properly handle usernames with spaces and + plus signs in it + - desktop#1301 Add error category for http file lock error status + 423. + - desktop#1309 Displays the uid_owner of a shared file. + +------------------------------------------------------------------- +Mon Apr 8 08:37:36 UTC 2019 - ecsos@opensuse.org + +- Insert BuildRequires zlib-devel. + +------------------------------------------------------------------- +Wed Mar 20 19:12:46 UTC 2019 - ecsos@opensuse.org + +- Update to 2.5.2 + See: https://github.com/nextcloud/desktop/compare/v2.5.1...v2.5.2 +- Drop nextcloud-desktop-fix-qt-5.12.patch, because now in upstream. + +------------------------------------------------------------------- +Thu Jan 3 00:50:28 UTC 2019 - ecsos@opensuse.org + +- Add nextcloud-client-fix-qt-5.12.patch: Fix an error during build + with Qt 5.12. + +------------------------------------------------------------------- +Mon Dec 10 13:31:24 UTC 2018 - ecsos@opensuse.org + +- Only change source-name from v%{version} to %{name}-%{version}. + +------------------------------------------------------------------- +Wed Dec 5 08:44:41 UTC 2018 - ecsos@opensuse.org + +- Update to 2.5.1 + See: https://github.com/nextcloud/desktop/compare/v2.5.0...v2.5.1 + +------------------------------------------------------------------- +Mon Nov 12 12:07:25 UTC 2018 - ecsos@opensuse.org + +- Update to 2.5.0 + - does not compile with libressl + +------------------------------------------------------------------- +Mon Nov 5 14:06:30 UTC 2018 - ecsos@opensuse.org + +- Update to 2.5.0-rc2 + +------------------------------------------------------------------- +Sat Nov 3 09:59:54 UTC 2018 - ecsos@opensuse.org + +- Initial version 2.5.0-rc1 + - Renamed package to nextcloud-desktop. + Nextcloud-client is wrong, because at owncloud github it is + named client. But at Nextcloud github it is named desktop. diff --git a/nextcloud-desktop.spec b/nextcloud-desktop.spec new file mode 100644 index 0000000..91910ea --- /dev/null +++ b/nextcloud-desktop.spec @@ -0,0 +1,251 @@ +# +# spec file for package nextcloud-desktop +# +# Copyright (c) 2018 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 +# upon. The license for this file, and modifications and additions to the +# file, is the same license as for the pristine package itself (unless the +# license for the pristine package is not an Open Source License, in which +# case the license is the MIT License). An "Open Source License" is a +# license that conforms to the Open Source Definition (Version 1.9) +# published by the Open Source Initiative. + +# Please submit bugfixes or comments via http://bugs.opensuse.org/ +# + + +%define soname libnextcloudsync +%define sover 0 + +Name: nextcloud-desktop +Version: 2.6.1 +Release: 0 +Summary: Desktop Syncing Client for Nextcloud +License: GPL-2.0 +Group: Productivity/Networking/File-Sharing +Url: https://nextcloud.com/ +Source0: https://github.com/nextcloud/desktop/archive/v%{version}/%{name}-%{version}.tar.gz +##Source1: sysctl-sync-inotify.conf +BuildRequires: cmake >= 2.8.0 +BuildRequires: extra-cmake-modules +BuildRequires: gcc-c++ +BuildRequires: doxygen +BuildRequires: fdupes +BuildRequires: update-desktop-files +BuildRequires: pkgconfig +BuildRequires: python3-Sphinx +BuildRequires: python3-attrs +BuildRequires: python3-idna >= 2.5 +#BuildRequires: python3-Sphinx-latex +BuildRequires: cmake(KF5Config) +BuildRequires: cmake(KF5CoreAddons) +BuildRequires: cmake(KF5KIO) +BuildRequires: cmake(Qt5Keychain) >= 0.9.1 +BuildRequires: cmake(Qt5LinguistTools) +BuildRequires: pkgconfig(gio-2.0) +BuildRequires: pkgconfig(cloudproviders) +BuildRequires: pkgconfig(dbus-1) +BuildRequires: pkgconfig(libxdot) +BuildRequires: pkgconfig(libzip) +BuildRequires: pkgconfig(openssl) >= 1.1.0 +BuildRequires: pkgconfig(sqlite3) +# Upstream use Qt 5.12 +BuildRequires: pkgconfig(Qt5Concurrent) +BuildRequires: pkgconfig(Qt5Core) +BuildRequires: pkgconfig(Qt5DBus) +BuildRequires: pkgconfig(Qt5Gui) +BuildRequires: pkgconfig(Qt5Network) +BuildRequires: pkgconfig(Qt5Svg) +BuildRequires: pkgconfig(Qt5WebEngineWidgets) +BuildRequires: pkgconfig(Qt5WebKitWidgets) +BuildRequires: pkgconfig(Qt5Xml) +BuildRequires: pkgconfig(zlib) +BuildConflicts: libressl-devel +Requires: %{soname}%{sover} = %{version} +Recommends: %{name}-lang +Provides: nextcloud-client = %{version} +Obsoletes: nextcloud-client < %{version} +BuildRoot: %{_tmppath}/%{name}-%{version}-build + +%description +The computer Nextcloud Desktop Client is a tool to synchronize files +from Nextcloud Server with your computer. + +%lang_package + +%package doc +Summary: Dcumentation for nextcloud-client +Group: Documentation/HTML +BuildArch: noarch + +%description doc +The Nextcloud Desktop Client is a tool to synchronise files from +the Nextcloud Server with your computer. +This package contains the documentation. + +%package extension-caja +Summary: Caja overlay icons +Group: Productivity/File utilities +Requires: %{name} = %{version} +Requires: caja +Requires: python-caja +Provides: caja-extension-nextcloud = %{version} +Obsoletes: caja-extension-nextcloud < %{version} +Supplements: packageand(%{name}:caja) +BuildArch: noarch + +%description extension-caja +This package provides overlay icons to visualise the +synchronisation state in the Caja file manager. + +%package extension-nautilus +Summary: Nautilus overlay icons +Group: Productivity/File utilities +Requires: %{name} = %{version} +Requires: nautilus +Requires: python3-nautilus +Provides: nautilus-extension-nextcloud = %{version} +Obsoletes: nautilus-extension-nextcloud < %{version} +Supplements: packageand(%{name}:nautilus) +BuildArch: noarch + +%description extension-nautilus +This package provides overlay icons to visualise the +synchronisation state in the Nautilus file manager. + +%package extension-nemo +Summary: Nemo overlay icons +Group: Productivity/File utilities +Requires: %{name} = %{version} +Requires: nemo +Requires: python-nemo +Provides: nemo-extension-nextcloud = %{version} +Obsoletes: nemo-extension-nextcloud < %{version} +Supplements: packageand(%{name}:nemo) +BuildArch: noarch + +%description extension-nemo +This package provides overlay icons to visualise the +synchronisation state in the Nemo file manager. + +%package extension-dolphin +Summary: Dolphin overlay icons +Group: Productivity/File utilities +Requires: %{name} = %{version} +Requires: dolphin +Provides: nextcloud-client-dolphin = %{version} +Obsoletes: nextcloud-client-dolphin < %{version} +Supplements: packageand(%{name}:dolphin) + +%description extension-dolphin +This package provides the necessary plugin libraries for the +Dolphin filemanager to display overlay icons. + +%package -n %{soname}%{sover} +Summary: The Nextcloud synchronisation library +Group: System/Libraries +Conflicts: %{soname}%{sover} < %{version} + +%description -n %{soname}%{sover} +The Nextcloud Desktop Client synchronisation library. + +%package -n %{soname}-devel +Summary: Development files for the Nextcloud synchronisation library +Group: Development/Libraries/C and C++ +Requires: %{soname}%{sover} = %{version} + +%description -n %{soname}-devel +Development files for the Nextcloud Desktop Client synchronisation +library. + + +%prep +%setup -q -n desktop-%{version} +##cp -a %%{SOURCE1} sysctl-sync-inotify.conf + +%build +%cmake_kf5 -d build -- -DWITH_DOC=ON +%make_jobs + +%install +%kf5_makeinstall -C build +# move documentation +mkdir -p %{buildroot}/%{_docdir}/%{name}/ +mv -f %{buildroot}/%{_datadir}/doc/client/nextcloud-client/html/ \ + %{buildroot}/%{_docdir}/%{name}/html/ +rm -f %{buildroot}/%{_docdir}/%{name}/html/unthemed/.buildinfo + + +# A workaround for gh#owncloud/client#4107 +# ecsos: +# Comment this out, because it seems to be a security risc. +# see: https://github.com/owncloud/client/issues/4107#issuecomment-240627858 +# Is this relevant for nextcloud? Issue is from owncloud? +##install -Dpm 0644 sysctl-sync-inotify.conf \ +## %%{buildroot}%%{_sysconfdir}/sysctl.d/100-%%{name}-sync-inotify.conf + +%suse_update_desktop_file nextcloud +%fdupes %{buildroot}%{_datadir}/ + +%post -n %{soname}%{sover} -p /sbin/ldconfig + +%postun -n %{soname}%{sover} -p /sbin/ldconfig + +%files +%license COPYING COPYING.documentation +%doc README.md +%dir %{_sysconfdir}/Nextcloud/ +%dir %{_libdir}/nextcloud/ +%dir %{_datadir}/nextcloud/ +%dir %{_datadir}/icons/hicolor/*/ +%dir %{_datadir}/icons/hicolor/*/apps +%config(noreplace) %{_sysconfdir}/Nextcloud/* +%{_bindir}/nextcloud* +%{_datadir}/icons/hicolor/*/apps/* +%{_datadir}/applications/nextcloud.desktop +%dir %{_datadir}/cloud-providers/ +%{_datadir}/cloud-providers/com.nextcloudgmbh.Nextcloud.ini +%{_datadir}/dbus-1/services/com.nextcloudgmbh.Nextcloud.service + +%files lang +%{_datadir}/nextcloud/i18n/ + +%files doc +%doc %{_docdir}/%{name}/html/ + +%files extension-caja +%dir %{_datadir}/caja-python/ +%dir %{_datadir}/caja-python/extensions/ +%{_datadir}/caja-python/extensions/syncstate-Nextcloud.py* + +%files extension-nautilus +%dir %{_datadir}/nautilus-python/ +%dir %{_datadir}/nautilus-python/extensions/ +%{_datadir}/nautilus-python/extensions/syncstate-Nextcloud.py* + +%files extension-nemo +%dir %{_datadir}/nemo-python/ +%dir %{_datadir}/nemo-python/extensions/ +%{_datadir}/nemo-python/extensions/syncstate-Nextcloud.py* + +%files extension-dolphin +%dir %{_libdir}/qt5/plugins/kf5/overlayicon/ +%{_libdir}/libnextclouddolphinpluginhelper.so +%{_libdir}/qt5/plugins/nextclouddolphinactionplugin.so +%{_libdir}/qt5/plugins/kf5/overlayicon/nextclouddolphinoverlayplugin.so +%{_datadir}/kservices5/nextclouddolphinactionplugin.desktop + +%files -n %{soname}%{sover} +%doc COPYING +%dir %{_libdir}/nextcloud/ +%{_libdir}/%{soname}.so.* +%{_libdir}/nextcloud/libocsync.so.* + +%files -n %{soname}-devel +%{_includedir}/nextcloudsync/ +%{_libdir}/%{soname}.so +%{_libdir}/nextcloud/libocsync.so + +%changelog diff --git a/sysctl-sync-inotify.conf b/sysctl-sync-inotify.conf new file mode 100644 index 0000000..4163bee --- /dev/null +++ b/sysctl-sync-inotify.conf @@ -0,0 +1 @@ +fs.inotify.max_user_watches = 524288