Accepting request 1170026 from home:badshah400:branches:network

* Update to version 3.13.0.
* Switch dolphin plugin to KF6/Qt6 (core client GUI still uses Qt5) for openSUSE >= 1650 (Tumbleweed) (boo#1221923).
* c++17 standard and <filesystem> header now required, enforce gcc9 for openSUSE < 1650 (i.e. Leap:15.X).
* Switch build from make to ninja.

OBS-URL: https://build.opensuse.org/request/show/1170026
OBS-URL: https://build.opensuse.org/package/show/network/nextcloud-desktop?expand=0&rev=136
This commit is contained in:
Atri Bhattacharya 2024-04-25 14:41:05 +00:00 committed by Git OBS Bridge
parent b85b37b124
commit 7c680194fb
4 changed files with 159 additions and 12 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:9466abfc663dd12bd9fc8e6812fd9c3ef9a685c773a473532294c638c460c00b
size 13642292

View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:ed2338eab4d6b77e29c53e765afa08940191326182e18f05c4e62059ffa74da9
size 13779791

View File

@ -1,3 +1,115 @@
-------------------------------------------------------------------
Wed Apr 24 10:05:22 UTC 2024 - Atri Bhattacharya <badshah400@gmail.com>
- Update to version 3.13.0:
* Allow event processing between each XML parser run, to improve
GUI performance (gh#nextcloud/desktop#6336).
* Bugfix. Random crash in LsColJob after recent changes
(gh#nextcloud/desktop#6393).
* wait longer to get the contextual menu entries: may be
necessary (gh#nextcloud/desktop#6406).
* suppress deprecated warnings from openssl
(gh#nextcloud/desktop#6402).
* Swift-format FileProviderExt (gh#nextcloud/desktop#6368).
* Display a message to upgrade client if
minimumSupportedDesktopVersion is thrown
(gh#nextcloud/desktop#6405).
* Do not create systray notification if there are no errors
(gh#nextcloud/desktop#6421).
* docs(conffile) Update chunk sizes to match v2 chunking PR
defaults (gh#nextcloud/desktop#6231).
* Fix undefined sync status reporting in tray icon
(gh#nextcloud/desktop#5565).
* clean up some qml code for share dialog
(gh#nextcloud/desktop#6425).
* Feature/detect open files (gh#nextcloud/desktop#6434).
* Settings dialog. Nextcloud version label should be visible
even if auto-updates are turned off in config
(gh#nextcloud/desktop#6459).
* add extra logs to investigate lock type issues
(gh#nextcloud/desktop#6451).
* Rewrite communication between client and File Provider
extensions using XPC (gh#nextcloud/desktop#6324).
* VFS. CfAPI. Provide detailed error message for leading '#'
placeholder update failure (gh#nextcloud/desktop#6456).
* E2EE. Allow decryption v1.0 and v1.1 folders
(gh#nextcloud/desktop#6471).
* Fix crash when deleting a local sync folder during sync
(gh#nextcloud/desktop#6454).
* Client Status Reporting. Only report statuses listed on the
server (gh#nextcloud/desktop#6479).
* Bugfix/e2ee v2 non-root sync (gh#nextcloud/desktop#6486).
* Bugfix. E2ee misleading log fix (gh#nextcloud/desktop#6484).
* Bugfix/expandable folder status model
(gh#nextcloud/desktop#6490).
* Bugfix. Federated share activity show 'Decline' action button
(gh#nextcloud/desktop#6502).
* when moving a file, checks that it exists at origin or
destination (gh#nextcloud/desktop#6463).
* Add option to perform fast synchronisation runs in File
Provider sync engine (gh#nextcloud/desktop#6461).
* Support the KF6 based version of Dolphin
(gh#nextcloud/desktop#6320).
* [socketapi] Replace QClipboard with KSystemClipboard when
available (gh#nextcloud/desktop#6515).
* always store newly created folders in DB even if it is missing
(gh#nextcloud/desktop#6535).
* newly created folders will be read-only when needed
(gh#nextcloud/desktop#6343).
* Bugfix. E2EE. Use 'double' for legacy metadata
(gh#nextcloud/desktop#6540).
* only display changed network errors during validation of
connection (gh#nextcloud/desktop#6542).
* Bugfix. Files-lock. Incorrect readonly state for TokenLock
(gh#nextcloud/desktop#6547).
* allow wipe feature to delete data of a wiped user account
(gh#nextcloud/desktop#6521).
* E2EE. Fix root metadata fetching path for non-root remote sync
folder. Refactoring. Stabilizing paths
(gh#nextcloud/desktop#6529).
* E2EE with VFS. Disallow MOVE as it is not supported. Prevent
data loss (gh#nextcloud/desktop#6528).
* if desktop client sent a first reply: wait for the menu data
(gh#nextcloud/desktop#6553).
* User 'Connection issue' instead of 'Network error' in systray
notification (gh#nextcloud/desktop#6514).
* libcloudproviders: Use DEFINE_VARIABLES to install in the
correct directory (gh#nextcloud/desktop#6137).
* use the proper name when reading system exclude config file
(gh#nextcloud/desktop#6568).
* context menu: do not recursively check pin and availability
states (gh#nextcloud/desktop#6573).
* properly compute if a folder is top level or child extern
mounted (gh#nextcloud/desktop#6578).
* Bugfix. Remove seen call notifications from the list
(gh#nextcloud/desktop#6563).
* Bump cpp-linter/cpp-linter-action from 2.10.0 to 2.10.2
(gh#nextcloud/desktop#6579).
* Add typical Syncthing files to default exclusion
(gh#nextcloud/desktop#6524).
* Fix crash when in debug mode when toggling enabled status of
an account's virtual files (macOS)
(gh#nextcloud/desktop#6636).
* Backport/stable 3.13 fp sharing (gh#nextcloud/desktop#6643).
* Make use of NextcloudFileProviderKit in File Provider Module
(gh#nextcloud/desktop#6645).
* Bugfix/folder conflict disappear (gh#nextcloud/desktop#6664).
* create registry keys needed for edit locally in local machine
category (gh#nextcloud/desktop#6667).
* Use davUser instead of direct credentials user in file
provider (gh#nextcloud/desktop#6674).
* Feature/office files lock newly created. Plus refactoring
(gh#nextcloud/desktop#6626).
* if a virtual file change but nothing changed: set it as in
sync (gh#nextcloud/desktop#6675).
* do not cause implicit hydration of virtual files during sync
(gh#nextcloud/desktop#6677).
- Switch dolphin plugin to KF6/Qt6 (core client GUI still uses
Qt5) for openSUSE >= 1650 (Tumbleweed) (boo#1221923).
- c++17 standard and <filesystem> header now required, enforce
gcc9 for openSUSE < 1650 (i.e. Leap:15.X).
- Switch build from make to ninja.
-------------------------------------------------------------------
Fri Mar 29 06:49:34 UTC 2024 - Natasha Ament <stacheldrahtje@gmail.com>

View File

@ -18,9 +18,21 @@
%define soname libnextcloudsync
%define sover 0
%define __builder ninja
# For dolphin KF5/KF6 integration
%if 0%{?suse_version} < 1650
%bcond_with qt6_dolphin
%else
%bcond_without qt6_dolphin
%endif
# std=c++17 and <filesystem> now required, use GCC >= 8 for Leap
%if 0%{?suse_version} < 1650
%define gcc_ver 9
%endif
Name: nextcloud-desktop
Version: 3.12.3
Version: 3.13.0
Release: 0
Summary: Nextcloud desktop synchronisation client
License: GPL-2.0-or-later AND LGPL-3.0-or-later
@ -32,21 +44,20 @@ Source1: sysctl-sync-inotify.conf
Patch0: nextcloud-fix-HiDPI-window-size.patch
BuildRequires: AppStream
BuildRequires: cmake >= 3.8.0
BuildRequires: extra-cmake-modules
BuildRequires: fdupes
BuildRequires: gcc-c++
BuildRequires: gcc%{?gcc_ver}-c++
BuildRequires: glibc-devel
BuildRequires: gobject-introspection-devel
BuildRequires: hicolor-icon-theme
BuildRequires: libQt5Gui-private-headers-devel
BuildRequires: libqt5-linguist-devel
BuildRequires: ninja
BuildRequires: pkgconfig
BuildRequires: qtkeychain-qt5-devel
BuildRequires: rsvg-convert
BuildRequires: update-desktop-files
BuildRequires: cmake(KF5Archive)
BuildRequires: cmake(KF5Config)
BuildRequires: cmake(KF5KIO) >= 5.16
BuildRequires: cmake(KF5GuiAddons)
###BuildRequires: cmake(Qt5Keychain)
BuildRequires: pkgconfig(Qt5Concurrent)
BuildRequires: pkgconfig(Qt5Core) >= 5.15
@ -66,6 +77,18 @@ BuildRequires: pkgconfig(dbus-1)
BuildRequires: pkgconfig(openssl) >= 1.1
BuildRequires: pkgconfig(sqlite3)
BuildRequires: pkgconfig(zlib)
%if %{with qt6_dolphin}
BuildRequires: kf6-extra-cmake-modules
BuildRequires: cmake(KF6KIO)
BuildRequires: pkgconfig(Qt6Core)
BuildRequires: pkgconfig(Qt6DBus)
BuildRequires: pkgconfig(Qt6Network)
BuildRequires: rpm_macro(_qt6_pluginsdir)
%else
BuildRequires: extra-cmake-modules
BuildRequires: cmake(KF5KIO) >= 5.16
%endif
#
Recommends: cloudproviders-extension-nextcloud = %{version}
Requires: %{soname}%{sover} = %{version}
Requires: libqt5-qtgraphicaleffects
@ -205,6 +228,8 @@ cp -a %{SOURCE1} sysctl-sync-inotify.conf
# Set SOURCE_DATE_EPOCH to set __DATE__/__TIME__ based on tarball creation date and make build reproducible
export SOURCE_DATE_EPOCH=`date -r VERSION.cmake +"%s"`
%cmake \
-DCMAKE_C_COMPILER=gcc%{?gcc_ver:-%{gcc_ver}} \
-DCMAKE_CXX_COMPILER=g++%{?gcc_ver:-%{gcc_ver}} \
%if 0%{?is_opensuse}
-DWITH_DOC=ON \
-DCMAKE_INSTALL_DOCDIR=%{_docdir}/%{name} \
@ -279,6 +304,7 @@ done
%{_datadir}/nautilus-python/extensions/__pycache__/syncstate-Nextcloud*
%if 0%{?is_opensuse}
# SECTION openSUSE not SLE
%files -n caja-extension-nextcloud
%dir %{_datadir}/caja-python/
%dir %{_datadir}/caja-python/extensions/
@ -304,10 +330,19 @@ done
%files dolphin
%{_libdir}/libnextclouddolphinpluginhelper.so
%dir %{_libdir}/qt5/plugins/kf5/overlayicon/
%{_libdir}/qt5/plugins/kf5/overlayicon/nextclouddolphinoverlayplugin.so
%dir %{_libdir}/qt5/plugins/kf5/kfileitemaction/
%{_libdir}/qt5/plugins/kf5/kfileitemaction/nextclouddolphinactionplugin.so
%if %{with qt6_dolphin}
%dir %{_qt6_pluginsdir}/kf6/kfileitemaction
%{_qt6_pluginsdir}/kf6/kfileitemaction/nextclouddolphinactionplugin.so
%dir %{_qt6_pluginsdir}/kf6/overlayicon
%{_qt6_pluginsdir}/kf6/overlayicon/nextclouddolphinoverlayplugin.so
%else
%dir %{_libqt5_plugindir}/kf5/kfileitemaction
%{_libqt5_plugindir}/kf5/kfileitemaction/nextclouddolphinactionplugin.so
%dir %{_libqt5_plugindir}/kf5/overlayicon
%{_libqt5_plugindir}/kf5/overlayicon/nextclouddolphinoverlayplugin.so
%endif
# /SECTION
%endif
%files -n nextcloud-cli