- Update to version 3.15.0:
* Fix release kind detection (gh#nextcloud/desktop#7031) * on windows use QWidget native platform style (gh#nextcloud/desktop#7042) * properly detect and enable Qt6 WebEngine integration (gh#nextcloud/desktop#7030) * Bugfix/log database errors (gh#nextcloud/desktop#7029) * docs: conf file option moveToTrash is no longer Linux specific (gh#nextcloud/desktop#7033) * remove the frame around the sync folders settings area (gh#nextcloud/desktop#7044) * 🎨 Update icons to latest Hub 9 style (gh#nextcloud/desktop#7040) * only add Encrypt context menu entry for top folder in settings dialog (gh#nextcloud/desktop#7062) * ensure detection of entry type on windows is reliable (gh#nextcloud/desktop#7068) * Remove QtWebEngineProcess.entitlements. (gh#nextcloud/desktop#7069) * Revert "Fix incorrect date parsing." (gh#nextcloud/desktop#6748) * Native buttons (gh#nextcloud/desktop#6980) * add missing exception handling (gh#nextcloud/desktop#7079) * Fix make_universal.py not taking into account 64-bit bundle dylibs (gh#nextcloud/desktop#7027) * Add some extra syncing details to the tray icon tooltip (gh#nextcloud/desktop#7057) * do not ignore paths containing 2 "#" characters (gh#nextcloud/desktop#7084) * Narrow down ReadWrite folder permission to owner (gh#nextcloud/desktop#6949) * ci: Update workflows (gh#nextcloud/desktop#7097) * Fix building of client on macOS 10.13 and 10.14 (gh#nextcloud/desktop#7098) * Code-sign client via mac-crafter so it may pass notarisation (gh#nextcloud/desktop#7103) * Bugfix/delete read only remnants folders (gh#nextcloud/desktop#7061) * Bugfix/fix one rename issue (gh#nextcloud/desktop#7102) * Feature/macos vfs locking (gh#nextcloud/desktop#6960) * Make sure we do not renotify notifications when we have received the same etag as during the last check (gh#nextcloud/desktop#6970) * gui: add some context for translators (gh#nextcloud/desktop#7096) * Fix native UI (gh#nextcloud/desktop#7101) * Mark as single window app (gh#nextcloud/desktop#7124) * Bugfix/fix vfs folder state when remote move is forbidden (gh#nextcloud/desktop#6717) * Bump cpp-linter/cpp-linter-action from 2.12.1 to 2.13.0 (gh#nextcloud/desktop#7138) * Correctly kill processes spawned by mac-crafter if mac-crafter quits/is killed/etc (gh#nextcloud/desktop#7164) * Add packaging capability to Mac Crafter (gh#nextcloud/desktop#7173) * Fix issues with minimum system versions and deployment targets on macOS (gh#nextcloud/desktop#7172) * Revert always enable http2 (gh#nextcloud/desktop#7182) * Bump cpp-linter/cpp-linter-action from 2.13.0 to 2.13.1 (gh#nextcloud/desktop#7195) * Add ability to provide multiple hardcoded server URLs via CMake define (gh#nextcloud/desktop#7160) * Update README. (gh#nextcloud/desktop#7144) * Update issue template config.yml (gh#nextcloud/desktop#7196) * Bugfix/fix upload locked files (gh#nextcloud/desktop#7193) * Bugfix/startup qml on windows (gh#nextcloud/desktop#7199) * Use version of linuxdeploy-plugin-qt from PR in the project. (gh#nextcloud/desktop#7167) * Bugfix/missing unlock command (gh#nextcloud/desktop#7208) * changing default chunk size to 100MB (gh#nextcloud/desktop#7161) * remove obsolete not working docker image for windows compilation (gh#nextcloud/desktop#7216) * Fix alignment and size of buttons. (gh#nextcloud/desktop#7142) * Validate input of APPLICATION_SERVER_URL. (gh#nextcloud/desktop#7210) * disable our code for network timeout (gh#nextcloud/desktop#7200) * Only check for leading/trailing space for files on Windows. (gh#nextcloud/desktop#6871) * use constexpr function for platform detection (gh#nextcloud/desktop#7220) * Add support for the new craft blueprint options relating to override server urls (gh#nextcloud/desktop#7163) * Fix QtWebEngineProcess crash on macOS when building with mac-crafter (gh#nextcloud/desktop#7232) * count the files deletion and warn if threshold is exceeded (gh#nextcloud/desktop#7116) * docs: Update template to match org-templates (gh#nextcloud/desktop#7247) * create a permanent log of delete actions (gh#nextcloud/desktop#7028) * message should say many not all: would be triggered by 200 files (gh#nextcloud/desktop#7251) * Bugfix/fix log issues (gh#nextcloud/desktop#7259) * remove too verbose logs during discovery (gh#nextcloud/desktop#7263) * Bugfix/use qml fusion on windows (gh#nextcloud/desktop#7270) * ensure log context category is valid before reading it (gh#nextcloud/desktop#7271) * properly catch std::filesystem exceptions (gh#nextcloud/desktop#7282) * Add README about mac-crafter. (gh#nextcloud/desktop#7252) * Small READMEs fix/updates (gh#nextcloud/desktop#7284) * remove extra argument from QString::arg: string has only 1 placeholder (gh#nextcloud/desktop#7289) * Cleaning logs (gh#nextcloud/desktop#7290) * try to increase timeout of github actions for macOS (gh#nextcloud/desktop#7066) * Properly check for webdav or dav path in provided host url for cmd.cpp (gh#nextcloud/desktop#7286) * Fix authentication issues for macOS File Provider Extension (gh#nextcloud/desktop#7240) * Fix poor translation strings for blacklisted error reason strings (gh#nextcloud/desktop#7316) * Make string more readable for translators. (gh#nextcloud/desktop#7320) * improve wordings of confirmation dialog when many files are deleted (gh#nextcloud/desktop#7319) * Fix crash caused due to null accountstate in FileProviderSocketController (gh#nextcloud/desktop#7322) * Bugfix/signature (gh#nextcloud/desktop#7333) * test syncing of read-only .lnk windows shorcuts (gh#nextcloud/desktop#7285) * better logs to understand when a folder is locally discovered (gh#nextcloud/desktop#7291) * Bugfix/use file id to track renamed items (gh#nextcloud/desktop#7334) * Bump cpp-linter/cpp-linter-action from 2.13.1 to 2.13.2 (gh#nextcloud/desktop#7321) * Fix Finder sidebar icon to work as a "template" image (gh#nextcloud/desktop#4367) * Show/Hide Menubar and Dock Icon on macOS (gh#nextcloud/desktop#3014) * remove ownCloud wording in logging (gh#nextcloud/desktop#7346) * on receiving reply of a remote MOVE: always record it (gh#nextcloud/desktop#7351) * Fix issues on manpages (gh#nextcloud/desktop#6123) * Check for availability of Big Sur (under 11.3) before using VFS progress tracking method (gh#nextcloud/desktop#7328) * Fix Swift 6-related CI errors with macOS VFS module (gh#nextcloud/desktop#7323) * Make sure storage headers do not collide with each other in macOS VFS settings (gh#nextcloud/desktop#7360) * Fix opening of locally available groupfolders in web browser from tray drop-down (gh#nextcloud/desktop#6752) * Make shares distinguishable if there are sharees with the same display name (gh#nextcloud/desktop#7339) * Pin Craft Qt version to 6.7.2 and binary cache version to 24.08 (gh#nextcloud/desktop#7368) * detect the terms of service app is requiring the user to sign them (gh#nextcloud/desktop#7385) * content access denied error during discovery: verify server access (gh#nextcloud/desktop#7389) * properly detect need to sign terms of service state (gh#nextcloud/desktop#7395) * improve again state tracking with terms of service app (gh#nextcloud/desktop#7404) * Change defaults of promptDeleteFiles to false (gh#nextcloud/desktop#7408) * Only display server name in multiple override servers dropdown (gh#nextcloud/desktop#7413) * Bump cpp-linter/cpp-linter-action from 2.13.2 to 2.13.3 (gh#nextcloud/desktop#7379) * Bugfix account removal (gh#nextcloud/desktop#7426) * Update share link for AppImage tool. (gh#nextcloud/desktop#7439) * Fix code-signing issues for vendors with special chars (gh#nextcloud/desktop#7423) * Bugfix update channels (gh#nextcloud/desktop#7350) * Respect the user's debug and expiration settings when changing temporary log dir setting (gh#nextcloud/desktop#7418) * Bump platisd/clang-tidy-pr-comments from 1.5.0 to 1.5.1 (gh#nextcloud/desktop#7428) * Fix stuttering and freezing of client while computing sync state changes (macOS VFS) (gh#nextcloud/desktopin #7397) * Fix materialised storage use calculation (macOS VFS) (gh#nextcloud/desktop#7401) * Update copyright year in macOS info.plist template (gh#nextcloud/desktop#7398) * Only present proxy password delete error if it is not a "does not exist" error (gh#nextcloud/desktop#7468) * Add section on Apple ATS to docs troubleshooting section (gh#nextcloud/desktop#7491) * Add option to create developer builds of client via mac crafter (gh#nextcloud/desktop#7475) * Fix closed account wizard being brought up when clicking tray icon (gh#nextcloud/desktop#7488) * Update nextcloudcmd.rst (gh#nextcloud/desktop #7478) * Fix crash on setting folder permission on non-NTFS file systems on Windows (gh#nextcloud/desktop#7487) * Always remove folder icon when removing folder. (gh#nextcloud/desktop#7238) * Add documentation page on the macOS virtual files client (gh#nextcloud/desktop#7494) * remove assert that is being hit always when running debug builds (gh#nextcloud/desktop#7506) * Fix QML errors caused by illegal customisation of text field backgrounds on native styles gh#nextcloud/desktop#7374) * Fix encoding used for override server url (gh#nextcloud/desktop#7407) * If File Provider Extension is unreachable, try to reconfigure client communication interface (gh#nextcloud/desktop#7462) * Update url to dowload linuxdeploy-plugin-qt tool latest version. (gh#nextcloud/desktop#7509) * Fix crash when setting badge for a path that results in a nil URL (macOS FinderSyncExt) (gh#nextcloud/desktop#7432) * Revert dark mode regressions on Windows 10 (gh#nextcloud/desktop#7463) * Build(deps): Bump platisd/clang-tidy-pr-comments from 1.5.1 to 1.6.1 (gh#nextcloud/desktop#7511) * Ensure paths are passed properly escaped into codesign command in mac-crafter (gh#nextcloud/desktop#7519) * Add missing brace in FileProviderXPC's fileProviderExtReachable (gh#nextcloud/desktop#7521) * Also escape codesign call with saving entitlements (gh#nextcloud/desktop#7524) * Fix codesign path for app bundle main binaries (gh#nextcloud/desktop#7527) * Escape code sign entitlement paths in mac crafter (gh#nextcloud/desktop#7529) * Fix sync errors when trying to delete video component of live photos (gh#nextcloud/desktop#7435) * Handle NeedToSignTermsOfService account state in file provider components (gh#nextcloud/desktop#7523) * Fix recursive codesign steps and final bundle codesign in mac-crafter (gh#nextcloud/desktop#7535) * Polish tray window interface (gh#nextcloud/desktop#7498) * Do not treat bundles as executables in codesign check (gh#nextcloud/desktop#7537) * Fix file tag fetching for files in sync folders that have non-root remote target (gh#nextcloud/desktop#7375) * Pull up the unified search view immediately on unified search field focus (gh#nextcloud/desktop#7512) * Fix mac-crafter codesign executable detection (gh#nextcloud/desktop#7541) * Feature/no default share links (gh#nextcloud/desktop#7517) * flush logs every 5 lines written (gh#nextcloud/desktop#7495) * Bugfix/narrow down permissions during sync (gh#nextcloud/desktop#7532) * Feature/disable talk chat notifications (gh#nextcloud/desktop#5433) * remove this call that is probably useless and crashing tests (gh#nextcloud/desktop#7540) * Fix mac-crafter codesign executable check path building (gh#nextcloud/desktop#7545) * Only sign main executable at end (mac-crafter) (gh#nextcloud/desktop#7548) * Fix broken general settings UI file (gh#nextcloud/desktop#7547) * Show received share information in share view (gh#nextcloud/desktop#7373) * Improve read only virtual files support on Windows (gh#nextcloud/desktop#7477) * Bundle macOS File Provider module logs into main debug archive (gh#nextcloud/desktop#7464) * Fix adding account and skipping folder configuration crash. (gh#nextcloud/desktop#7436) * Fix login regression on linux (gh#nextcloud/desktop#7455) * Bugfix/virtual files more reliable (gh#nextcloud/desktop#7327) * Fix half-translated GUI strings on Windows (gh#nextcloud/desktop#7490) * [stable-3.15] fix spelling os UserStatus qml type when setting user status (gh#nextcloud/desktop#7559) * [stable-3.15] Bugfix/dark mode switch (gh#nextcloud/desktop#7563) * [stable-3.15] no transparent background for main ApplicationWindow (gh#nextcloud/desktop#7565) OBS-URL: https://build.opensuse.org/package/show/network/nextcloud-desktop?expand=0&rev=157
This commit is contained in:
commit
ee0a0d9fc9
23
.gitattributes
vendored
Normal file
23
.gitattributes
vendored
Normal file
@ -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
|
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
@ -0,0 +1 @@
|
|||||||
|
.osc
|
17
README.vfs.md
Normal file
17
README.vfs.md
Normal file
@ -0,0 +1,17 @@
|
|||||||
|
# Enabling virtual file system plugin for nextcloud-desktop #
|
||||||
|
|
||||||
|
Please understand that the virtual file system is still at an early
|
||||||
|
experimental phase on Linux, as noted here:
|
||||||
|
[https://docs.nextcloud.com/desktop/latest/architecture.html#virtual-files].
|
||||||
|
|
||||||
|
*READ ON TO ENABLE AT YOUR OWN RISK*
|
||||||
|
|
||||||
|
## How to enable vfs plugin on openSUSE Tumbleweed ##
|
||||||
|
|
||||||
|
Follow these steps:
|
||||||
|
|
||||||
|
1. Install package `nextcloud-desktop-vfs-plugin`.
|
||||||
|
2. Open the `nextcloud.cfg` file in `~/.config/Nextcloud/` in a text editor.
|
||||||
|
3. Under the `[General]` section, add the line: `showExperimentalOptions=true`.
|
||||||
|
4. Use the nextcloud-desktop UI to add a new sync account, and the option to
|
||||||
|
enable "Virtual Files" should show up.
|
3
nextcloud-desktop-3.13.2.tar.gz
Normal file
3
nextcloud-desktop-3.13.2.tar.gz
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:81670e54ff53761d506e523d75d0bc9220a5ef5002e3aeebe1f9750dedc1d28d
|
||||||
|
size 13782506
|
3
nextcloud-desktop-3.13.4.tar.gz
Normal file
3
nextcloud-desktop-3.13.4.tar.gz
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:5f484b78cee84315e1d0cdf74d6752999b654ab28de66e133a5ae8b1f06e191a
|
||||||
|
size 13784649
|
3
nextcloud-desktop-3.14.1.tar.gz
Normal file
3
nextcloud-desktop-3.14.1.tar.gz
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:83ddff511684c7b56a0a428c1a50630042a4c64d7b382d13b083509051cac8b9
|
||||||
|
size 13956052
|
3
nextcloud-desktop-3.14.2.tar.gz
Normal file
3
nextcloud-desktop-3.14.2.tar.gz
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:2b2209a47bc4011d7ddf50371138f4c7d8330079ab95d2859dd9b3df314520e4
|
||||||
|
size 13957954
|
3
nextcloud-desktop-3.14.3.tar.gz
Normal file
3
nextcloud-desktop-3.14.3.tar.gz
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:9b09b82f1ebf08b9c4df2ef2c94a735978f1219418bbf81af4fb89ad94cfa634
|
||||||
|
size 14019971
|
3
nextcloud-desktop-3.15.0.tar.gz
Normal file
3
nextcloud-desktop-3.15.0.tar.gz
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:d35774580a16d0fdf6b4160fbe71c50ec871e84b610342152c78c6ea22c5e1de
|
||||||
|
size 15651469
|
2842
nextcloud-desktop.changes
Normal file
2842
nextcloud-desktop.changes
Normal file
File diff suppressed because it is too large
Load Diff
358
nextcloud-desktop.spec
Normal file
358
nextcloud-desktop.spec
Normal file
@ -0,0 +1,358 @@
|
|||||||
|
#
|
||||||
|
# spec file for package nextcloud-desktop
|
||||||
|
#
|
||||||
|
# Copyright (c) 2024 SUSE LLC
|
||||||
|
#
|
||||||
|
# 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 https://bugs.opensuse.org/
|
||||||
|
#
|
||||||
|
|
||||||
|
|
||||||
|
%define soname libnextcloudsync
|
||||||
|
%define sover 0
|
||||||
|
%define __builder ninja
|
||||||
|
|
||||||
|
# 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.15.0
|
||||||
|
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}/%{name}-%{version}.tar.gz
|
||||||
|
Source1: sysctl-sync-inotify.conf
|
||||||
|
Source2: README.vfs.md
|
||||||
|
BuildRequires: AppStream
|
||||||
|
BuildRequires: cmake >= 3.8.0
|
||||||
|
BuildRequires: fdupes
|
||||||
|
BuildRequires: gcc%{?gcc_ver}-c++
|
||||||
|
BuildRequires: glibc-devel
|
||||||
|
BuildRequires: gobject-introspection-devel
|
||||||
|
BuildRequires: hicolor-icon-theme
|
||||||
|
BuildRequires: kf6-extra-cmake-modules
|
||||||
|
BuildRequires: ninja
|
||||||
|
BuildRequires: pkgconfig
|
||||||
|
BuildRequires: qt6-gui-private-devel
|
||||||
|
BuildRequires: rsvg-convert
|
||||||
|
BuildRequires: update-desktop-files
|
||||||
|
BuildRequires: cmake(KF6Archive)
|
||||||
|
BuildRequires: cmake(KF6GuiAddons)
|
||||||
|
BuildRequires: cmake(KF6KIO)
|
||||||
|
BuildRequires: cmake(Qt6Keychain)
|
||||||
|
BuildRequires: cmake(Qt6XcbQpaPrivate)
|
||||||
|
BuildRequires: pkgconfig(Qt6Concurrent)
|
||||||
|
BuildRequires: pkgconfig(Qt6Core)
|
||||||
|
BuildRequires: pkgconfig(Qt6Core5Compat)
|
||||||
|
BuildRequires: pkgconfig(Qt6DBus)
|
||||||
|
BuildRequires: pkgconfig(Qt6Gui)
|
||||||
|
BuildRequires: pkgconfig(Qt6Linguist)
|
||||||
|
BuildRequires: pkgconfig(Qt6Network)
|
||||||
|
BuildRequires: pkgconfig(Qt6PrintSupport)
|
||||||
|
BuildRequires: pkgconfig(Qt6QuickControls2)
|
||||||
|
BuildRequires: pkgconfig(Qt6Sql)
|
||||||
|
BuildRequires: pkgconfig(Qt6Svg)
|
||||||
|
BuildRequires: pkgconfig(Qt6Test)
|
||||||
|
BuildRequires: pkgconfig(Qt6WebEngineWidgets)
|
||||||
|
BuildRequires: pkgconfig(Qt6WebSockets)
|
||||||
|
BuildRequires: pkgconfig(Qt6Xml)
|
||||||
|
BuildRequires: pkgconfig(cloudproviders)
|
||||||
|
BuildRequires: pkgconfig(cmocka)
|
||||||
|
BuildRequires: pkgconfig(dbus-1)
|
||||||
|
BuildRequires: pkgconfig(openssl) >= 1.1
|
||||||
|
BuildRequires: pkgconfig(sqlite3)
|
||||||
|
BuildRequires: pkgconfig(zlib)
|
||||||
|
BuildRequires: rpm_macro(_qt6_pluginsdir)
|
||||||
|
#
|
||||||
|
Recommends: cloudproviders-extension-nextcloud = %{version}
|
||||||
|
Requires: %{soname}%{sover} = %{version}
|
||||||
|
Requires: nextcloud-cli = %{version}
|
||||||
|
Requires: qt6-qt5compat-imports
|
||||||
|
Provides: nextcloud-client = %{version}
|
||||||
|
Obsoletes: nextcloud-client < %{version}
|
||||||
|
Provides: nextcloud-client-lang = %{version}
|
||||||
|
Obsoletes: nextcloud-client-lang < %{version}
|
||||||
|
%if 0%{?is_opensuse}
|
||||||
|
BuildRequires: doxygen
|
||||||
|
#BuildRequires: python3-MarkupSafe
|
||||||
|
BuildRequires: python3-Sphinx
|
||||||
|
#BuildRequires: python3-importlib-metadata
|
||||||
|
Suggests: %{name}-doc = %{version}
|
||||||
|
%endif
|
||||||
|
|
||||||
|
%description
|
||||||
|
The Nextcloud Desktop Client is a tool to synchronise files from
|
||||||
|
the Nextcloud Server with your computer.
|
||||||
|
|
||||||
|
Nextcloud Desktop enables you to connect to your private
|
||||||
|
Nextcloud Server. With it you can create directories in your home
|
||||||
|
directory, and keep the contents of those directories synced with
|
||||||
|
the server. Simply copy a file into the directory and the desktop
|
||||||
|
synchronisation client does the rest.
|
||||||
|
|
||||||
|
%lang_package
|
||||||
|
|
||||||
|
%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
|
||||||
|
|
||||||
|
%description doc
|
||||||
|
The Nextcloud Desktop Client is a tool to synchronise files from
|
||||||
|
the Nextcloud Server with your computer.
|
||||||
|
|
||||||
|
This package contains the documentation.
|
||||||
|
%endif
|
||||||
|
|
||||||
|
%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: Development/Libraries/C and C++
|
||||||
|
Requires: %{soname}%{sover} = %{version}
|
||||||
|
|
||||||
|
%description -n %{soname}-devel
|
||||||
|
Development files for the Nextcloud Desktop Client synchronisation
|
||||||
|
library.
|
||||||
|
|
||||||
|
%package -n nautilus-extension-nextcloud
|
||||||
|
Summary: Nautilus overlay icons
|
||||||
|
Group: Productivity/Networking/File-Sharing
|
||||||
|
Requires: %{name} = %{version}
|
||||||
|
Requires: nautilus
|
||||||
|
Requires: python3-nautilus
|
||||||
|
Supplements: (%{name} and nautilus)
|
||||||
|
BuildArch: noarch
|
||||||
|
|
||||||
|
%description -n nautilus-extension-nextcloud
|
||||||
|
This package provides overlay icons to visualise the
|
||||||
|
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
|
||||||
|
Supplements: (%{name} and caja)
|
||||||
|
BuildArch: noarch
|
||||||
|
|
||||||
|
%description -n caja-extension-nextcloud
|
||||||
|
This package provides overlay icons to visualise the
|
||||||
|
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
|
||||||
|
Supplements: (%{name} and nemo)
|
||||||
|
BuildArch: noarch
|
||||||
|
|
||||||
|
%description -n nemo-extension-nextcloud
|
||||||
|
This package provides overlay icons to visualise the
|
||||||
|
synchronisation state in the Nemo file manager.
|
||||||
|
|
||||||
|
%package -n cloudproviders-extension-nextcloud
|
||||||
|
Summary: Libcloudproviders integration for nextcloud-desktop
|
||||||
|
Group: Productivity/Networking/File-Sharing
|
||||||
|
Requires: %{name} = %{version}
|
||||||
|
BuildArch: noarch
|
||||||
|
|
||||||
|
%description -n cloudproviders-extension-nextcloud
|
||||||
|
This package provides libcloudproviders integration for the
|
||||||
|
nextcloud desktop client.
|
||||||
|
|
||||||
|
%package -n %{name}-dolphin
|
||||||
|
Summary: Dolphin overlay icons
|
||||||
|
Group: Productivity/Networking/File-Sharing
|
||||||
|
Requires: %{name} = %{version}
|
||||||
|
Requires: dolphin
|
||||||
|
Supplements: (%{name} and dolphin)
|
||||||
|
|
||||||
|
%description -n %{name}-dolphin
|
||||||
|
This package provides the necessary plugin libraries for the
|
||||||
|
Dolphin filemanager to display overlay icons.
|
||||||
|
%endif
|
||||||
|
|
||||||
|
%package -n nextcloud-cli
|
||||||
|
Summary: Nextcloud sync client - Command-line utility
|
||||||
|
|
||||||
|
%description -n nextcloud-cli
|
||||||
|
The Nextcloud Desktop Client is a tool to synchronise files from
|
||||||
|
the Nextcloud Server with your computer.
|
||||||
|
|
||||||
|
This package provides Nextcloud's command-line sync utility.
|
||||||
|
|
||||||
|
%package -n nextcloud-desktop-vfs-plugin
|
||||||
|
Summary: Early experimental virtual file system plugin for nextcloud client
|
||||||
|
Requires: %{name} = %{version}
|
||||||
|
# nextcloud_vfs_*.so plugins were incorrectly a part of devel package
|
||||||
|
Conflicts: %{soname}-devel < %{version}
|
||||||
|
|
||||||
|
%description -n nextcloud-desktop-vfs-plugin
|
||||||
|
The Nextcloud Desktop Client is a tool to synchronise files from
|
||||||
|
the Nextcloud Server with your computer.
|
||||||
|
|
||||||
|
This package provides the files needed to enable virtual file system on
|
||||||
|
nextcloud-desktop. Note that virtual file system support on Linux is very
|
||||||
|
experimental, so use at your own risk.
|
||||||
|
|
||||||
|
%prep
|
||||||
|
%autosetup -p1 -n desktop-%{version}
|
||||||
|
cp -a %{SOURCE1} sysctl-sync-inotify.conf
|
||||||
|
cp %{SOURCE2} ./
|
||||||
|
|
||||||
|
%build
|
||||||
|
# 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} \
|
||||||
|
%endif
|
||||||
|
%{nil}
|
||||||
|
%cmake_build
|
||||||
|
|
||||||
|
%install
|
||||||
|
%cmake_install
|
||||||
|
|
||||||
|
%if 0%{!?is_opensuse}
|
||||||
|
# There's no Caja and Nemo in SLE.
|
||||||
|
rm -r %{buildroot}%{_datadir}/caja-python/
|
||||||
|
rm -r %{buildroot}%{_datadir}/nemo-python/
|
||||||
|
%endif
|
||||||
|
|
||||||
|
# Generate bytecode for extensions.
|
||||||
|
for fm in caja nautilus nemo; do
|
||||||
|
if [ -d %{buildroot}%{_datadir}/$fm-python/ ]; then
|
||||||
|
%py3_compile %{buildroot}%{_datadir}/$fm-python/extensions/
|
||||||
|
fi
|
||||||
|
done
|
||||||
|
|
||||||
|
# ecsos: Comment this out, because it seems to be a security risk.
|
||||||
|
# See: https://github.com/owncloud/client/issues/4107#issuecomment-240627858
|
||||||
|
# A workaround for gh#owncloud/client#4107
|
||||||
|
#install -Dpm 0644 sysctl-sync-inotify.conf \
|
||||||
|
# %%{buildroot}%%{_sysconfdir}/sysctl.d/99-%%{name}-sync-inotify.conf
|
||||||
|
|
||||||
|
# Needs the following symlinks for VFS support, otherwise client crashes when VFS is enabled
|
||||||
|
mkdir -p %{buildroot}%{_qt6_pluginsdir}
|
||||||
|
ln -s -t %{buildroot}%{_qt6_pluginsdir}/ %{_libdir}/nextcloudsync_vfs_{suffix,xattr}.so
|
||||||
|
|
||||||
|
%fdupes %{buildroot}%{_datadir}/
|
||||||
|
|
||||||
|
%ldconfig_scriptlets -n %{soname}%{sover}
|
||||||
|
|
||||||
|
%posttrans -n nextcloud-desktop-vfs-plugin
|
||||||
|
echo "The virtual file system implementation of nextcloud-desktop on Linux is \
|
||||||
|
at an early experimental stage. Enable at your own risk. \
|
||||||
|
Please read %{_docdir}/nextcloud-desktop-vfs-plugin/README.vfs.md for steps \
|
||||||
|
needed to enable the plugin." || true
|
||||||
|
|
||||||
|
%files
|
||||||
|
%license COPYING*
|
||||||
|
#%%config %%{_sysconfdir}/sysctl.d/99-%%{name}-sync-inotify.conf
|
||||||
|
%{_bindir}/nextcloud
|
||||||
|
%dir %{_datadir}/nextcloud/
|
||||||
|
%{_datadir}/applications/com.nextcloud.desktopclient.nextcloud.desktop
|
||||||
|
%dir %{_datadir}/icons/hicolor/1024x1024/
|
||||||
|
%dir %{_datadir}/icons/hicolor/1024x1024/apps/
|
||||||
|
%{_datadir}/icons/hicolor/*/apps/Nextcloud*.*
|
||||||
|
%{_datadir}/mime/packages/nextcloud.xml
|
||||||
|
|
||||||
|
%files lang
|
||||||
|
%{_datadir}/nextcloud/i18n/
|
||||||
|
|
||||||
|
%if 0%{?is_opensuse}
|
||||||
|
%files doc
|
||||||
|
%doc %{_docdir}/%{name}/
|
||||||
|
%endif
|
||||||
|
|
||||||
|
%files -n %{soname}%{sover}
|
||||||
|
%license COPYING*
|
||||||
|
%{_libdir}/%{soname}.so.*
|
||||||
|
%{_libdir}/libnextcloud_csync.so.*
|
||||||
|
|
||||||
|
%files -n %{soname}-devel
|
||||||
|
%{_includedir}/nextcloudsync/
|
||||||
|
%{_libdir}/%{soname}.so
|
||||||
|
%{_libdir}/libnextcloud_csync.so
|
||||||
|
|
||||||
|
%files -n nautilus-extension-nextcloud
|
||||||
|
%dir %{_datadir}/nautilus-python/
|
||||||
|
%dir %{_datadir}/nautilus-python/extensions/
|
||||||
|
%dir %{_datadir}/nautilus-python/extensions/__pycache__
|
||||||
|
%{_datadir}/nautilus-python/extensions/syncstate-Nextcloud.py*
|
||||||
|
%{_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/
|
||||||
|
%dir %{_datadir}/caja-python/extensions/__pycache__
|
||||||
|
%{_datadir}/caja-python/extensions/syncstate-Nextcloud.py*
|
||||||
|
%{_datadir}/caja-python/extensions/__pycache__/*
|
||||||
|
|
||||||
|
%files -n nemo-extension-nextcloud
|
||||||
|
%dir %{_datadir}/nemo-python/
|
||||||
|
%dir %{_datadir}/nemo-python/extensions/
|
||||||
|
%dir %{_datadir}/nemo-python/extensions/__pycache__
|
||||||
|
%{_datadir}/nemo-python/extensions/syncstate-Nextcloud.py*
|
||||||
|
%{_datadir}/nemo-python/extensions/__pycache__/*
|
||||||
|
|
||||||
|
%files -n cloudproviders-extension-nextcloud
|
||||||
|
# When built with libcloudproviders >= 0.3.3 the .ini file is no longer required,
|
||||||
|
# see https://github.com/nextcloud/desktop/pull/6275
|
||||||
|
%if 0%{?suse_version} <= 1500 && 0%{?sle_version} < 150600
|
||||||
|
%dir %{_datadir}/cloud-providers/
|
||||||
|
%{_datadir}/cloud-providers/com.nextcloudgmbh.Nextcloud.ini
|
||||||
|
%endif
|
||||||
|
%{_datadir}/dbus-1/services/com.nextcloudgmbh.Nextcloud.service
|
||||||
|
|
||||||
|
%files dolphin
|
||||||
|
%{_libdir}/libnextclouddolphinpluginhelper.so
|
||||||
|
%dir %{_qt6_pluginsdir}/kf6/kfileitemaction
|
||||||
|
%{_qt6_pluginsdir}/kf6/kfileitemaction/nextclouddolphinactionplugin.so
|
||||||
|
%dir %{_qt6_pluginsdir}/kf6/overlayicon
|
||||||
|
%{_qt6_pluginsdir}/kf6/overlayicon/nextclouddolphinoverlayplugin.so
|
||||||
|
|
||||||
|
# /SECTION
|
||||||
|
%endif
|
||||||
|
|
||||||
|
%files -n nextcloud-cli
|
||||||
|
%license COPYING
|
||||||
|
%config %{_sysconfdir}/Nextcloud/
|
||||||
|
%{_bindir}/nextcloudcmd
|
||||||
|
|
||||||
|
%files -n nextcloud-desktop-vfs-plugin
|
||||||
|
%license COPYING
|
||||||
|
%doc README.vfs.md
|
||||||
|
%{_libdir}/nextcloudsync_vfs_*.so
|
||||||
|
%{_qt6_pluginsdir}/*.so
|
||||||
|
|
||||||
|
%changelog
|
27
nextcloud-fix-HiDPI-window-size.patch
Normal file
27
nextcloud-fix-HiDPI-window-size.patch
Normal file
@ -0,0 +1,27 @@
|
|||||||
|
Index: desktop-3.9.0/src/gui/main.cpp
|
||||||
|
===================================================================
|
||||||
|
--- desktop-3.9.0.orig/src/gui/main.cpp
|
||||||
|
+++ desktop-3.9.0/src/gui/main.cpp
|
||||||
|
@@ -65,6 +65,8 @@ int main(int argc, char **argv)
|
||||||
|
|
||||||
|
QCoreApplication::setAttribute(Qt::AA_UseHighDpiPixmaps, true);
|
||||||
|
QCoreApplication::setAttribute(Qt::AA_EnableHighDpiScaling, true);
|
||||||
|
+ QApplication::setHighDpiScaleFactorRoundingPolicy(
|
||||||
|
+ Qt::HighDpiScaleFactorRoundingPolicy::PassThrough);
|
||||||
|
#ifdef Q_OS_MAC
|
||||||
|
Mac::CocoaInitializer cocoaInit; // RIIA
|
||||||
|
#endif
|
||||||
|
Index: desktop-3.9.0/src/crashreporter/main.cpp
|
||||||
|
===================================================================
|
||||||
|
--- desktop-3.9.0.orig/src/crashreporter/main.cpp
|
||||||
|
+++ desktop-3.9.0/src/crashreporter/main.cpp
|
||||||
|
@@ -25,6 +25,8 @@
|
||||||
|
int main(int argc, char *argv[])
|
||||||
|
{
|
||||||
|
QCoreApplication::setAttribute(Qt::AA_UseHighDpiPixmaps, true);
|
||||||
|
+ QApplication::setHighDpiScaleFactorRoundingPolicy(
|
||||||
|
+ Qt::HighDpiScaleFactorRoundingPolicy::PassThrough);
|
||||||
|
#ifdef Q_OS_WIN
|
||||||
|
QCoreApplication::setAttribute(Qt::AA_EnableHighDpiScaling, true);
|
||||||
|
#endif // !Q_OS_WIN
|
||||||
|
|
1
sysctl-sync-inotify.conf
Normal file
1
sysctl-sync-inotify.conf
Normal file
@ -0,0 +1 @@
|
|||||||
|
fs.inotify.max_user_watches = 524288
|
Loading…
x
Reference in New Issue
Block a user