summaryrefslogtreecommitdiff
path: root/kde-frameworks/kio
diff options
context:
space:
mode:
Diffstat (limited to 'kde-frameworks/kio')
-rw-r--r--kde-frameworks/kio/Manifest2
-rw-r--r--kde-frameworks/kio/files/kio-5.102.0-add-missing-webdav-copyFromFile.patch36
-rw-r--r--kde-frameworks/kio/kio-5.102.0-r1.ebuild91
3 files changed, 129 insertions, 0 deletions
diff --git a/kde-frameworks/kio/Manifest b/kde-frameworks/kio/Manifest
index bc2781e5ba4f..c1ffd2309510 100644
--- a/kde-frameworks/kio/Manifest
+++ b/kde-frameworks/kio/Manifest
@@ -1,6 +1,8 @@
+AUX kio-5.102.0-add-missing-webdav-copyFromFile.patch 1247 BLAKE2B 3a1baff8fed9a4d23cbbfd7dc7492fa89de0135b30029ba5b73e3a62d1b7036762648e72bd6cdef2c0b730799e32d3bb11f72e5a3897633c703ed4893c0d7b9e SHA512 37956a2508a3e6dc9bf03d8e27938a64fd532357bfbf41d1f1727e1988dda01160a3891c8a82424ad9f19ea0502f0c80020a085d5fc59b3e6e15555c12ccb62a
AUX kio-5.99.0-fix-webdav-fileloss.patch 888 BLAKE2B 431a7bb41f1fd2b7156c0162d1f5ec389a79139530289d1f36b674b29cc2415af79e528c1cbdfb1160ed8a91f67d194f0965e4526d400feadd5d458f12ce59b9 SHA512 0284722a9d2780e218059814b27758e557b24285e74d09d096dbe724c8576983bf3a04180d47c25217920f29a2b9f8a48d32b7fc19cae0c200eaa7eb8526fec0
DIST kio-5.102.0.tar.xz 3769416 BLAKE2B 432acbd7844539e7c2617ea5743449b7da4377235485644ab9066919ee7c4746388deb116ee6664c52bcefa35c54bda3dfcc6f2f58a03a1638fe6173e5a99330 SHA512 29f46ace3a902a24c3a266413b291eac43bcfc5da76dfbc927f3d0e36c3902f0abf195b0cd97fd163a62b85a3d0bbb006dc73bc0fc43a88e47f72e7991536dc4
DIST kio-5.99.0.tar.xz 3407180 BLAKE2B 2014bb1e2ae020dbe47dd0964e003814fabde5cf14cbb74b05f5703ffc5fea2e6f22f26ae2a9cfc3806043d4618115ed14b9b60ab38bf9d5acb7ca8b2d5c2e06 SHA512 b18e6c79913b8da0f800bbf58433069531a6c79d711876c46785d88c79f6a45503d69dcd0fee958f727c7dd394f398c951b660e47f77e8372f3be75367ad9014
+EBUILD kio-5.102.0-r1.ebuild 2438 BLAKE2B ebce5f543f5558af2914258d109fcb3da294b9b340040501f044b46d41778f159d3ad3c682e2732fb3f064ede26f434c0fa52fa9b9476aa71b9f6ecd0db6dd6c SHA512 6173e73c57eb7fbc37ce297f0f7dd593303ad43623b548455958a8a33742292484de53b90b0927ef0024dc17df5e9d3c0837ab1476cdc671bc699bfcec5fa817
EBUILD kio-5.102.0.ebuild 2351 BLAKE2B fb8e8e70388c230b4e8dd4ef120e4d0db85bab0abcb7f71bc16c162d504d67e55596d414077cd5b8e20be613fb4fda011d8b21a2c590522a47a9b932bc122433 SHA512 2310005d9057152d596313c98f1a8dc42eb032819eaca467e68d85ec6eea5e178cbd42010245dfb31212c38e250d7d9a7e26916000fc8113c26e163e1632530e
EBUILD kio-5.99.0-r1.ebuild 2419 BLAKE2B f684ab14c5cb15a9574ee798a295cb75796a08e8ccce6f65e1094fe9aee693c8320e4dd2f8a2a0168377fe0ecbb4d0aa5678535aaa19245759a8569595cb6e1e SHA512 c9ef38562e41444d884b1d010d216a49345963b84537f00c85e489b6e4eab49bf3b592a849409173bc24d44f0ea217e0737add40b9524961adee271f0b6d2e75
MISC metadata.xml 672 BLAKE2B ed652f6e5751355ab96a5206da0184e37745e4b675e7f235648536931563b53c4f71112e81f809c88d02d01f9c77a20e9f41a2f6eb988b104636c8d450c50a18 SHA512 1fa6b33c8f146152015b0c8dbd70165022ceee580253850545c79eb3a74dbf44539e562014606a4ef4ea283a42f3946b1d3a79c0953a38fe10689137a53207ce
diff --git a/kde-frameworks/kio/files/kio-5.102.0-add-missing-webdav-copyFromFile.patch b/kde-frameworks/kio/files/kio-5.102.0-add-missing-webdav-copyFromFile.patch
new file mode 100644
index 000000000000..afdca9c1ec5d
--- /dev/null
+++ b/kde-frameworks/kio/files/kio-5.102.0-add-missing-webdav-copyFromFile.patch
@@ -0,0 +1,36 @@
+From fe76c7e7224bde6a93e327de097c8a1e14c7d323 Mon Sep 17 00:00:00 2001
+From: Alberto Mattea <alberto@mattea.info>
+Date: Thu, 26 Jan 2023 13:19:27 +0100
+Subject: [PATCH] Add missing copyFromFile entries to http.json for webdav and
+ webdavs
+
+copyFromFile support was already implemented but not enabled due to the missing entries.
+
+BUG: 464450
+---
+ src/kioworkers/http/http.json | 2 ++
+ 1 file changed, 2 insertions(+)
+
+diff --git a/src/kioworkers/http/http.json b/src/kioworkers/http/http.json
+index 42e963c8d..f6c2d55a8 100644
+--- a/src/kioworkers/http/http.json
++++ b/src/kioworkers/http/http.json
+@@ -35,6 +35,7 @@
+ "Class": ":internet",
+ "Icon": "folder-remote",
+ "X-DocPath": "kioslave5/webdav/index.html",
++ "copyFromFile": true,
+ "defaultMimetype": "application/octet-stream",
+ "deleteRecursive": true,
+ "deleting": true,
+@@ -62,6 +63,7 @@
+ "Icon": "folder-remote",
+ "X-DocPath": "kioslave5/webdav/index.html",
+ "config": "webdav",
++ "copyFromFile": true,
+ "defaultMimetype": "application/octet-stream",
+ "deleteRecursive": true,
+ "deleting": true,
+--
+GitLab
+
diff --git a/kde-frameworks/kio/kio-5.102.0-r1.ebuild b/kde-frameworks/kio/kio-5.102.0-r1.ebuild
new file mode 100644
index 000000000000..0a3b651f341e
--- /dev/null
+++ b/kde-frameworks/kio/kio-5.102.0-r1.ebuild
@@ -0,0 +1,91 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+ECM_DESIGNERPLUGIN="true"
+ECM_TEST="forceoptional"
+PVCUT=$(ver_cut 1-2)
+QTMIN=5.15.5
+VIRTUALX_REQUIRED="test"
+inherit ecm frameworks.kde.org xdg-utils
+
+DESCRIPTION="Framework providing transparent file and data management"
+
+LICENSE="LGPL-2+"
+KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc64 ~riscv ~x86"
+IUSE="acl +handbook kerberos +kwallet X"
+
+# tests hang
+RESTRICT="test"
+
+RDEPEND="
+ dev-libs/libxml2
+ dev-libs/libxslt
+ >=dev-qt/qtdbus-${QTMIN}:5
+ >=dev-qt/qtdeclarative-${QTMIN}:5
+ >=dev-qt/qtgui-${QTMIN}:5
+ >=dev-qt/qtnetwork-${QTMIN}:5[ssl]
+ >=dev-qt/qtwidgets-${QTMIN}:5
+ >=dev-qt/qtxml-${QTMIN}:5
+ =kde-frameworks/kauth-${PVCUT}*:5
+ =kde-frameworks/karchive-${PVCUT}*:5
+ =kde-frameworks/kbookmarks-${PVCUT}*:5
+ =kde-frameworks/kcodecs-${PVCUT}*:5
+ =kde-frameworks/kcompletion-${PVCUT}*:5
+ =kde-frameworks/kconfig-${PVCUT}*:5
+ =kde-frameworks/kconfigwidgets-${PVCUT}*:5
+ =kde-frameworks/kcoreaddons-${PVCUT}*:5
+ =kde-frameworks/kcrash-${PVCUT}*:5
+ =kde-frameworks/kdbusaddons-${PVCUT}*:5
+ =kde-frameworks/kguiaddons-${PVCUT}*:5
+ =kde-frameworks/ki18n-${PVCUT}*:5
+ =kde-frameworks/kiconthemes-${PVCUT}*:5
+ =kde-frameworks/kitemviews-${PVCUT}*:5
+ =kde-frameworks/kjobwidgets-${PVCUT}*:5
+ =kde-frameworks/knotifications-${PVCUT}*:5
+ =kde-frameworks/kservice-${PVCUT}*:5
+ =kde-frameworks/ktextwidgets-${PVCUT}*:5
+ =kde-frameworks/kwidgetsaddons-${PVCUT}*:5
+ =kde-frameworks/kwindowsystem-${PVCUT}*:5[X?]
+ =kde-frameworks/kxmlgui-${PVCUT}*:5
+ =kde-frameworks/solid-${PVCUT}*:5
+ acl? (
+ sys-apps/attr
+ virtual/acl
+ )
+ handbook? ( =kde-frameworks/kdoctools-${PVCUT}*:5 )
+ kerberos? ( virtual/krb5 )
+ kwallet? ( =kde-frameworks/kwallet-${PVCUT}*:5 )
+ X? ( >=dev-qt/qtx11extras-${QTMIN}:5 )
+"
+DEPEND="${RDEPEND}
+ >=dev-qt/qtconcurrent-${QTMIN}:5
+ test? ( sys-libs/zlib )
+"
+PDEPEND=">=kde-frameworks/kded-${PVCUT}:5"
+
+PATCHES=( "${FILESDIR}/${P}-add-missing-webdav-copyFromFile.patch" ) # KDE-bug 464450
+
+src_configure() {
+ local mycmakeargs=(
+ -DKIO_NO_PUBLIC_QTCONCURRENT=ON
+ $(cmake_use_find_package acl ACL)
+ $(cmake_use_find_package handbook KF5DocTools)
+ $(cmake_use_find_package kerberos GSSAPI)
+ $(cmake_use_find_package kwallet KF5Wallet)
+ -DWITH_X11=$(usex X)
+ )
+
+ ecm_src_configure
+}
+
+pkg_postinst() {
+ ecm_pkg_postinst
+ xdg_desktop_database_update
+}
+
+pkg_postrm() {
+ ecm_pkg_postrm
+ xdg_desktop_database_update
+}