diff --git a/network/share/nextcloud-client/actions.py b/network/share/nextcloud-client/actions.py new file mode 100644 index 0000000000..a63afc899a --- /dev/null +++ b/network/share/nextcloud-client/actions.py @@ -0,0 +1,36 @@ +#!/usr/bin/python +# -*- coding: utf-8 -*- +# Licensed under the GNU General Public License, version 3. +# See the file http://www.gnu.org/copyleft/gpl.txt + +from pisi.actionsapi import cmaketools +from pisi.actionsapi import pisitools +from pisi.actionsapi import shelltools +from pisi.actionsapi import get + +def setup(): + shelltools.system("sed -i 's/-fPIE/-fPIC/g' src/{gui,cmd}/CMakeLists.txt") + + shelltools.makedirs("build") + shelltools.cd("build") + cmaketools.configure("-DCMAKE_BUILD_TYPE=None \ + -DCMAKE_INSTALL_PREFIX=/usr \ + -DCMAKE_INSTALL_LIBDIR=lib \ + -DCMAKE_SHARED_LINKER_FLAGS='-Wl,--as-needed' \ + -DNO_SHIBBOLETH=1 \ + -DWITH_CRASHREPORTER=OFF \ + -DUNIT_TESTING=ON", sourceDir="..") + +def build(): + shelltools.cd("build") + cmaketools.make() + +def install(): + shelltools.cd("build") + cmaketools.rawInstall("DESTDIR=%s" % get.installDIR()) + + shelltools.cd("..") + pisitools.dodoc("COPYING", "README.md") + + # Pisi Linux does not have Cinnamon Desktop yet. + pisitools.removeDir("/usr/share/nemo-python") diff --git a/network/share/nextcloud-client/files/nextcloud.appdata.xml b/network/share/nextcloud-client/files/nextcloud.appdata.xml new file mode 100644 index 0000000000..209773aac6 --- /dev/null +++ b/network/share/nextcloud-client/files/nextcloud.appdata.xml @@ -0,0 +1,16 @@ + + + nextcloud.desktop + CC0 + Nextcloud Desktop Client + The Nextcloud desktop client, lets you sync directly to your Nextcloud server + +

+ Nextcloud-client enables you to connect to your private Nextcloud Server. With it you can create folders in your home directory, and keep the contents of those folders synced with your Nextcloud server. Simply copy a file into the directory and the Nextcloud Client does the rest. +

+
+ + https://comzeradd.fedorapeople.org/screenshots/owncloud1.jpg + + https://nextcloud.org/ +
diff --git a/network/share/nextcloud-client/files/require-cmake-3.16.patch b/network/share/nextcloud-client/files/require-cmake-3.16.patch new file mode 100644 index 0000000000..5f85f9283d --- /dev/null +++ b/network/share/nextcloud-client/files/require-cmake-3.16.patch @@ -0,0 +1,46 @@ +From 37756e8f0d00309a40f62b59ed2833fee762652d Mon Sep 17 00:00:00 2001 +From: Matthieu Gallien +Date: Wed, 25 Aug 2021 12:20:31 +0200 +Subject: [PATCH] require cmake 3.16 + +close #3572 + +Signed-off-by: Matthieu Gallien +--- + CMakeLists.txt | 2 +- + admin/win/tools/CMakeLists.txt | 2 +- + shell_integration/dolphin/CMakeLists.txt | 2 +- + 3 files changed, 3 insertions(+), 3 deletions(-) + +diff --git a/CMakeLists.txt b/CMakeLists.txt +index 8e2a63e581..c389ec3ea2 100644 +--- a/CMakeLists.txt ++++ b/CMakeLists.txt +@@ -1,4 +1,4 @@ +-cmake_minimum_required(VERSION 3.6) ++cmake_minimum_required(VERSION 3.16) + set(CMAKE_CXX_STANDARD 14) + + project(client) +diff --git a/admin/win/tools/CMakeLists.txt b/admin/win/tools/CMakeLists.txt +index 934e6b15cf..7117b5b603 100644 +--- a/admin/win/tools/CMakeLists.txt ++++ b/admin/win/tools/CMakeLists.txt +@@ -1,4 +1,4 @@ +-cmake_minimum_required(VERSION 3.2) ++cmake_minimum_required(VERSION 3.16) + set(CMAKE_CXX_STANDARD 17) + + if(CMAKE_SIZEOF_VOID_P MATCHES 4) +diff --git a/shell_integration/dolphin/CMakeLists.txt b/shell_integration/dolphin/CMakeLists.txt +index 60a38e3899..3dbf2dae92 100644 +--- a/shell_integration/dolphin/CMakeLists.txt ++++ b/shell_integration/dolphin/CMakeLists.txt +@@ -1,6 +1,6 @@ + project(dolphin-owncloud) + +-cmake_minimum_required(VERSION 2.8.12) ++cmake_minimum_required(VERSION 3.16) + + set(QT_MIN_VERSION "5.15.0") + set(KF5_MIN_VERSION "5.16.0") diff --git a/network/share/nextcloud-client/files/xcb.patch b/network/share/nextcloud-client/files/xcb.patch new file mode 100644 index 0000000000..018c63abef --- /dev/null +++ b/network/share/nextcloud-client/files/xcb.patch @@ -0,0 +1,29 @@ +--- desktop-3.2.2-orig/src/gui/main.cpp 2021-06-14 20:40:51.378471413 -0400 ++++ desktop-3.2.2/src/gui/main.cpp 2021-06-14 20:42:21.630180229 -0400 +@@ -49,8 +49,26 @@ + .arg(Theme::instance()->appNameGUI())); + } + ++#ifdef Q_OS_LINUX ++void wayland_hacks() ++{ ++ QByteArray currentDesktop = qgetenv("XDG_CURRENT_DESKTOP").toLower(); ++ QByteArray sessionDesktop = qgetenv("XDG_SESSION_DESKTOP").toLower(); ++ QByteArray sessionType = qgetenv("XDG_SESSION_TYPE").toLower(); ++ if (sessionType.contains("wayland") && (currentDesktop.contains("gnome") || sessionDesktop.contains("gnome"))) ++ { ++ qputenv("QT_QPA_PLATFORM", "xcb"); ++ } ++} ++#endif ++ + int main(int argc, char **argv) + { ++ ++#ifdef Q_OS_LINUX ++wayland_hacks(); ++#endif ++ + Q_INIT_RESOURCE(resources); + Q_INIT_RESOURCE(theme); + diff --git a/network/share/nextcloud-client/pspec.xml b/network/share/nextcloud-client/pspec.xml new file mode 100644 index 0000000000..45da0700c1 --- /dev/null +++ b/network/share/nextcloud-client/pspec.xml @@ -0,0 +1,153 @@ + + + + + nextcloud-client + https://nextcloud.com/install + + Pisi Linux Admins + admins@pisilinux.org + + LGPLv2+ + GPLv2 + app:gui + The Nextcloud Client + Nextcloud-client enables you to connect to your private Nextcloud Server. With it you can create folders in your home directory, and keep the contents of those folders synced with your Nextcloud server. + https://github.com/nextcloud/desktop/archive/v3.3.2/desktop-3.3.2.tar.gz + + check-devel + chrpath + cmake + desktop-file-utils + doxygen + libcloudproviders-devel + appstream-devel + appstream-glib-devel + neon-devel + openssl-devel + dbus-devel + python3-sphinx + qt5-keychain-devel + qt5-base-devel + qt5-xmlpatterns-devel + qt5-location-devel + qt5-quickcontrols2-devel + qt5-websockets-devel + qt5-svg-devel + qt5-declarative-devel + qt5-linguist + extra-cmake-modules + inkscape + kcoreaddons-devel + kio-devel + sqlite-devel + libgnome-keyring + + + xcb.patch + require-cmake-3.16.patch + + + + + nextcloud-client + + zlib + libgcc + sqlite + openssl + qt5-svg + qt5-base + qt5-keychain + qt5-websockets + + + /etc/Nextcloud + /usr/bin + /usr/lib/libnextcloudsync.so.0 + /usr/lib/libnextcloudsync.so.3.3.2 + /usr/lib/libnextcloud_csync.so* + /usr/share/appdata + /usr/share/applications + /usr/share/cloud-providers + /usr/share/dbus-1 + /usr/share/doc + /usr/share/icons + /usr/share/mime + /usr/share/nextcloud + + + nextcloud.appdata.xml + + + + + nextcloud-client-nautilus + nextcloud-client's Nautilus file manager extension + nextcloud-client extension for the Nautilus file manager. + + nextcloud-client + nautilus + nautilus-python + + + /usr/share/nautilus-python/extensions + + + + + nextcloud-client-dolphin + nextcloud-client overlay icons for the Dolphin file manager + nextcloud-client extension for the Dolphin file manager. + + nextcloud-client + dolphin + kio + kcoreaddons + + + /usr/lib/libnextclouddolphinpluginhelper.so + /usr/lib/qt5/plugins/nextclouddolphinactionplugin.so + /usr/lib/qt5/plugins/kf5/overlayicon/nextclouddolphinoverlayplugin.so + /usr/share/kservices5/nextclouddolphinactionplugin.desktop + + + + + nextcloud-client-caja + nextcloud-client overlay icons for the Caja file manager + This package provides overlay icons to visualize the sync state in the Caja file manager. + + nextcloud-client + caja + python-caja + + + /usr/share/caja-python/extensions + + + + + nextcloud-client-devel + Development files for nextcloud-client + + nextcloud-client + + + /usr/include/nextcloudsync + /usr/lib/libnextcloudsync.so + /usr/lib/nextcloudsync_vfs_suffix.so + /usr/lib/nextcloudsync_vfs_xattr.so + + + + + + 2021-09-01 + 3.3.2 + First release for Pisi Linux + Berk Çakar + berk2238@hotmail.com + + + diff --git a/network/share/nextcloud-client/translations.xml b/network/share/nextcloud-client/translations.xml new file mode 100644 index 0000000000..5f5b4deeae --- /dev/null +++ b/network/share/nextcloud-client/translations.xml @@ -0,0 +1,30 @@ + + + nextcloud-client + Nextcloud istemcisi + Nextcloud-client, özel Nextcloud Sunucunuza bağlanmanızı sağlar. Bununla beraber ana dizininizde klasörler oluşturabilir ve bu klasörlerin içeriğini Nextcloud sunucunuzla senkronize halde tutabilirsiniz. + + + + nextcloud-client-nautilus + Nextcloud istemcisinin Nautilus dosya yöneticisi uzantısı + Nautilus dosya yöneticisi için Nextcloud istemcisi uzantısı. + + + + nextcloud-client-dolphin + Dolphin dosya yöneticisi için Nextcloud istemcisi simgeleri + Dolphin dosya yöneticisi için Nextcloud istemcisi uzantısı. + + + + nextcloud-client-caja + Caja dosya yöneticisi için Nextcloud istemcisi simgeleri + Bu paket, Caja dosya yöneticisinde eşitleme durumunu görselleştirmek için simgeler sağlar. + + + + nextcloud-client-devel + nextcloud-client için geliştirme dosyaları + +