summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Sturmlechner <asturm@gentoo.org>2018-07-12 21:22:23 +0200
committerAndreas Sturmlechner <asturm@gentoo.org>2018-07-12 21:37:49 +0200
commitff33ca8844ebe4fc95764f39302832d1cd0e59d2 (patch)
tree569b63320a69b39da25c61b11a73f2d093bcb157 /kde-apps/kio-extras
parentmedia-sound/pulseeffects: update 9999 version and add 4.1.3 as masked (diff)
downloadgentoo-ff33ca8844ebe4fc95764f39302832d1cd0e59d2.tar.gz
gentoo-ff33ca8844ebe4fc95764f39302832d1cd0e59d2.tar.bz2
gentoo-ff33ca8844ebe4fc95764f39302832d1cd0e59d2.zip
kde-apps: Drop KDE Applications 18.04.2
Package-Manager: Portage-2.3.42, Repoman-2.3.9
Diffstat (limited to 'kde-apps/kio-extras')
-rw-r--r--kde-apps/kio-extras/Manifest1
-rw-r--r--kde-apps/kio-extras/files/kio-extras-18.04.2-fix-sftp-links.patch227
-rw-r--r--kde-apps/kio-extras/kio-extras-18.04.2-r1.ebuild80
-rw-r--r--kde-apps/kio-extras/kio-extras-18.04.2.ebuild78
4 files changed, 0 insertions, 386 deletions
diff --git a/kde-apps/kio-extras/Manifest b/kde-apps/kio-extras/Manifest
index 184af4732689..a8a9057c0352 100644
--- a/kde-apps/kio-extras/Manifest
+++ b/kde-apps/kio-extras/Manifest
@@ -1,3 +1,2 @@
DIST kio-extras-17.12.3.tar.xz 555544 BLAKE2B f8821e0ce5c3f6a7a28ae6a5d672227697efec49b9841b272bc9574aca897bbf104644ea303f11749161c68543206407c26174141ae31c43ca6b403c7d39c179 SHA512 a7d13516646954a00b03d1284c6d93ae71ec9598d03e3f500a6449160c228be9e41aa2351b71522423960e5321cc3a30a46ac6d2ba9e8dbad043def2804b57d5
-DIST kio-extras-18.04.2.tar.xz 550488 BLAKE2B 21b6be4cbe060ddee3dc05b7ae15a426fd69db4b17d178a4aa1392feb349427c26ee7aa16d5fbf85ddac95beff143e0be02727df8018e84fc0602999f711993e SHA512 122dbb68740e80af346dc4ca01f53ee6bf267c9d2c0e2f09c04999d3b2aba69586c9ca446b3b5426160571c4b64b6a09452aa46e9451e3de12c20db6bf654251
DIST kio-extras-18.04.3.tar.xz 549840 BLAKE2B 7bb03f01fff6930d5b7bc4cdd01e960239d55ede4feb4eeb131db75515763cf924b288811cd99a5d89a79059f2cd5241e872b990799c758431f13f1440eef424 SHA512 49ab5ad8d74831a9ef1636e46abc76d66d3ef7d9e8f1ce793eb8d5c37f9e7ee4205c9643339f5c46657d4f537572e3f8a180ebace8599a1dfcbf8d27470b2f0b
diff --git a/kde-apps/kio-extras/files/kio-extras-18.04.2-fix-sftp-links.patch b/kde-apps/kio-extras/files/kio-extras-18.04.2-fix-sftp-links.patch
deleted file mode 100644
index 8f7c02338794..000000000000
--- a/kde-apps/kio-extras/files/kio-extras-18.04.2-fix-sftp-links.patch
+++ /dev/null
@@ -1,227 +0,0 @@
-From bca40518682a038aa08823fbbfb2cc4b9ef63802 Mon Sep 17 00:00:00 2001
-From: Jaime Torres <jtamate@gmail.com>
-Date: Wed, 13 Jun 2018 19:21:34 +0200
-Subject: fix sftp links with new uds implementation
-
-Summary:
-When listening a directory with links in sftp, the type of the entry of a symlink was inserted twice.
-Now the entry data is inserted only once.
-Get rid of the goto statement using local variables.
-
-Test Plan: Tested in sftp://127.0.0.1 with broken symbolic links and sftp://127.0.0.1/usr/lib64 with a lot of symbolic links.
-
-Reviewers: dfaure, martinkostolny, asturmlechner, lbeltrame, bruns
-
-Reviewed By: dfaure, martinkostolny
-
-Differential Revision: https://phabricator.kde.org/D13475
----
- sftp/kio_sftp.cpp | 129 ++++++++++++++++++++++++++++--------------------------
- 1 file changed, 67 insertions(+), 62 deletions(-)
-
-diff --git a/sftp/kio_sftp.cpp b/sftp/kio_sftp.cpp
-index 0a82365..f515458 100644
---- a/sftp/kio_sftp.cpp
-+++ b/sftp/kio_sftp.cpp
-@@ -342,6 +342,9 @@ bool sftpProtocol::createUDSEntry(const QString &filename, const QByteArray &pat
- mode_t type;
- mode_t access;
- char *link;
-+ bool isBrokenLink = false;
-+ long long fileType = S_IFREG;
-+ long long size = 0LL;
-
- Q_ASSERT(entry.count() == 0);
-
-@@ -353,54 +356,53 @@ bool sftpProtocol::createUDSEntry(const QString &filename, const QByteArray &pat
- entry.insert(KIO::UDSEntry::UDS_NAME, filename);
-
- if (sb->type == SSH_FILEXFER_TYPE_SYMLINK) {
-- entry.insert(KIO::UDSEntry::UDS_FILE_TYPE, S_IFREG);
- link = sftp_readlink(mSftp, path.constData());
- if (link == nullptr) {
- sftp_attributes_free(sb);
- return false;
- }
- entry.insert(KIO::UDSEntry::UDS_LINK_DEST, QFile::decodeName(link));
-- delete link;
-+ free(link);
- // A symlink -> follow it only if details > 1
- if (details > 1) {
- sftp_attributes sb2 = sftp_stat(mSftp, path.constData());
- if (sb2 == nullptr) {
-- // It is a link pointing to nowhere
-- type = S_IFMT - 1;
-- access = S_IRWXU | S_IRWXG | S_IRWXO;
-- entry.insert( KIO::UDSEntry::UDS_FILE_TYPE, type);
-- entry.insert( KIO::UDSEntry::UDS_ACCESS, access);
-- entry.insert( KIO::UDSEntry::UDS_SIZE, 0LL );
--
-- goto notype;
-+ isBrokenLink = true;
-+ } else {
-+ sftp_attributes_free(sb);
-+ sb = sb2;
- }
-- sftp_attributes_free(sb);
-- sb = sb2;
- }
- }
-
-- switch (sb->type) {
-- case SSH_FILEXFER_TYPE_REGULAR:
-- entry.insert(KIO::UDSEntry::UDS_FILE_TYPE, S_IFREG);
-- break;
-- case SSH_FILEXFER_TYPE_DIRECTORY:
-- entry.insert(KIO::UDSEntry::UDS_FILE_TYPE, S_IFDIR);
-- break;
-- case SSH_FILEXFER_TYPE_SYMLINK:
-- entry.insert(KIO::UDSEntry::UDS_FILE_TYPE, S_IFLNK);
-- break;
-- case SSH_FILEXFER_TYPE_SPECIAL:
-- case SSH_FILEXFER_TYPE_UNKNOWN:
-- entry.insert(KIO::UDSEntry::UDS_FILE_TYPE, S_IFMT - 1);
-- break;
-+ if (isBrokenLink) {
-+ // It is a link pointing to nowhere
-+ fileType = S_IFMT - 1;
-+ access = S_IRWXU | S_IRWXG | S_IRWXO;
-+ size = 0LL;
-+ } else {
-+ switch (sb->type) {
-+ case SSH_FILEXFER_TYPE_REGULAR:
-+ fileType = S_IFREG;
-+ break;
-+ case SSH_FILEXFER_TYPE_DIRECTORY:
-+ fileType = S_IFDIR;
-+ break;
-+ case SSH_FILEXFER_TYPE_SYMLINK:
-+ fileType = S_IFLNK;
-+ break;
-+ case SSH_FILEXFER_TYPE_SPECIAL:
-+ case SSH_FILEXFER_TYPE_UNKNOWN:
-+ fileType = S_IFMT - 1;
-+ break;
-+ }
-+ access = sb->permissions & 07777;
-+ size = sb->size;
- }
--
-- access = sb->permissions & 07777;
-+ entry.insert(KIO::UDSEntry::UDS_FILE_TYPE, fileType);
- entry.insert(KIO::UDSEntry::UDS_ACCESS, access);
-+ entry.insert( KIO::UDSEntry::UDS_SIZE, size);
-
-- entry.insert(KIO::UDSEntry::UDS_SIZE, sb->size);
--
--notype:
- if (details > 0) {
- if (sb->owner) {
- entry.insert(KIO::UDSEntry::UDS_USER, QString::fromUtf8(sb->owner));
-@@ -419,6 +421,7 @@ notype:
- entry.insert(KIO::UDSEntry::UDS_CREATION_TIME, sb->createtime);
- }
-
-+
- sftp_attributes_free(sb);
-
- return true;
-@@ -1830,6 +1833,9 @@ void sftpProtocol::listDir(const QUrl& url) {
- mode_t access;
- mode_t type;
- char *link;
-+ bool isBrokenLink = false;
-+ long long fileType = S_IFREG;
-+ long long size = 0LL;
-
- dirent = sftp_readdir(mSftp, dp);
- if (dirent == nullptr) {
-@@ -1842,8 +1848,6 @@ void sftpProtocol::listDir(const QUrl& url) {
- if (dirent->type == SSH_FILEXFER_TYPE_SYMLINK) {
- QByteArray file = path + '/' + QFile::decodeName(dirent->name).toUtf8();
-
-- entry.insert(KIO::UDSEntry::UDS_FILE_TYPE, S_IFREG);
--
- link = sftp_readlink(mSftp, file.constData());
- if (link == nullptr) {
- sftp_attributes_free(dirent);
-@@ -1851,46 +1855,47 @@ void sftpProtocol::listDir(const QUrl& url) {
- return;
- }
- entry.insert(KIO::UDSEntry::UDS_LINK_DEST, QFile::decodeName(link));
-- delete link;
-+ free(link);
- // A symlink -> follow it only if details > 1
- if (details > 1) {
- sftp_attributes sb = sftp_stat(mSftp, file.constData());
- if (sb == nullptr) {
-- // It is a link pointing to nowhere
-- type = S_IFMT - 1;
-- access = S_IRWXU | S_IRWXG | S_IRWXO;
-- entry.insert( KIO::UDSEntry::UDS_FILE_TYPE, type);
-- entry.insert( KIO::UDSEntry::UDS_ACCESS, access);
-- entry.insert( KIO::UDSEntry::UDS_SIZE, 0LL );
--
-- goto notype;
-+ isBrokenLink = true;
-+ } else {
-+ sftp_attributes_free(dirent);
-+ dirent = sb;
- }
-- sftp_attributes_free(dirent);
-- dirent = sb;
- }
- }
-
-- switch (dirent->type) {
-- case SSH_FILEXFER_TYPE_REGULAR:
-- entry.insert(KIO::UDSEntry::UDS_FILE_TYPE, S_IFREG);
-- break;
-- case SSH_FILEXFER_TYPE_DIRECTORY:
-- entry.insert(KIO::UDSEntry::UDS_FILE_TYPE, S_IFDIR);
-- break;
-- case SSH_FILEXFER_TYPE_SYMLINK:
-- entry.insert(KIO::UDSEntry::UDS_FILE_TYPE, S_IFLNK);
-- break;
-- case SSH_FILEXFER_TYPE_SPECIAL:
-- case SSH_FILEXFER_TYPE_UNKNOWN:
-- break;
-- }
-+ if (isBrokenLink) {
-+ // It is a link pointing to nowhere
-+ fileType = S_IFMT - 1;
-+ access = S_IRWXU | S_IRWXG | S_IRWXO;
-+ size = 0LL;
-+ } else {
-+ switch (dirent->type) {
-+ case SSH_FILEXFER_TYPE_REGULAR:
-+ fileType = S_IFREG;
-+ break;
-+ case SSH_FILEXFER_TYPE_DIRECTORY:
-+ fileType = S_IFDIR;
-+ break;
-+ case SSH_FILEXFER_TYPE_SYMLINK:
-+ fileType = S_IFLNK;
-+ break;
-+ case SSH_FILEXFER_TYPE_SPECIAL:
-+ case SSH_FILEXFER_TYPE_UNKNOWN:
-+ break;
-+ }
-
-- access = dirent->permissions & 07777;
-+ access = dirent->permissions & 07777;
-+ size = dirent->size;
-+ }
-+ entry.insert(KIO::UDSEntry::UDS_FILE_TYPE, fileType);
- entry.insert(KIO::UDSEntry::UDS_ACCESS, access);
-+ entry.insert(KIO::UDSEntry::UDS_SIZE, size);
-
-- entry.insert(KIO::UDSEntry::UDS_SIZE, dirent->size);
--
--notype:
- if (details > 0) {
- if (dirent->owner) {
- entry.insert(KIO::UDSEntry::UDS_USER, QString::fromUtf8(dirent->owner));
---
-cgit v0.11.2
-
diff --git a/kde-apps/kio-extras/kio-extras-18.04.2-r1.ebuild b/kde-apps/kio-extras/kio-extras-18.04.2-r1.ebuild
deleted file mode 100644
index 9ba190026570..000000000000
--- a/kde-apps/kio-extras/kio-extras-18.04.2-r1.ebuild
+++ /dev/null
@@ -1,80 +0,0 @@
-# Copyright 1999-2018 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-KDE_HANDBOOK="forceoptional"
-KDE_TEST="optional"
-VIRTUALX_REQUIRED="test"
-inherit kde5
-
-DESCRIPTION="KIO plugins present a filesystem-like view of arbitrary data"
-HOMEPAGE="https://cgit.kde.org/kio-extras.git"
-KEYWORDS="~amd64 ~arm ~arm64 ~x86"
-IUSE="activities htmlthumbs +man mtp openexr phonon samba +sftp taglib"
-
-COMMON_DEPEND="
- $(add_frameworks_dep karchive 'bzip2,lzma')
- $(add_frameworks_dep kbookmarks)
- $(add_frameworks_dep kcodecs)
- $(add_frameworks_dep kconfig)
- $(add_frameworks_dep kconfigwidgets)
- $(add_frameworks_dep kcoreaddons)
- $(add_frameworks_dep kdbusaddons)
- $(add_frameworks_dep kdnssd)
- $(add_frameworks_dep kguiaddons)
- $(add_frameworks_dep ki18n)
- $(add_frameworks_dep kiconthemes)
- $(add_frameworks_dep kio)
- $(add_frameworks_dep kparts)
- $(add_frameworks_dep kpty)
- $(add_frameworks_dep kservice)
- $(add_frameworks_dep kxmlgui)
- $(add_frameworks_dep solid)
- $(add_qt_dep qtdbus)
- $(add_qt_dep qtgui)
- $(add_qt_dep qtnetwork)
- $(add_qt_dep qtsvg)
- $(add_qt_dep qtwidgets)
- $(add_qt_dep qtxml)
- activities? (
- $(add_frameworks_dep kactivities)
- $(add_qt_dep qtsql)
- )
- htmlthumbs? ( $(add_qt_dep qtwebengine 'widgets') )
- man? ( $(add_frameworks_dep khtml) )
- mtp? ( media-libs/libmtp:= )
- openexr? ( media-libs/openexr )
- phonon? ( media-libs/phonon[qt5(+)] )
- samba? ( net-fs/samba[client] )
- sftp? ( net-libs/libssh:=[sftp] )
- taglib? ( >=media-libs/taglib-1.11.1 )
-"
-RDEPEND="${COMMON_DEPEND}
- $(add_frameworks_dep kded)
-"
-DEPEND="${COMMON_DEPEND}
- x11-misc/shared-mime-info
- man? ( dev-util/gperf )
-"
-
-# requires running kde environment
-RESTRICT+=" test"
-
-PATCHES=( "${FILESDIR}/${P}-fix-sftp-links.patch" )
-
-src_configure() {
- local mycmakeargs=(
- $(cmake-utils_use_find_package activities KF5Activities)
- $(cmake-utils_use_find_package htmlthumbs Qt5WebEngineWidgets)
- $(cmake-utils_use_find_package man Gperf)
- $(cmake-utils_use_find_package mtp Mtp)
- $(cmake-utils_use_find_package openexr OpenEXR)
- $(cmake-utils_use_find_package phonon Phonon4Qt5)
- $(cmake-utils_use_find_package samba Samba)
- $(cmake-utils_use_find_package sftp LibSSH)
- $(cmake-utils_use_find_package taglib Taglib)
- )
-
- kde5_src_configure
-}
diff --git a/kde-apps/kio-extras/kio-extras-18.04.2.ebuild b/kde-apps/kio-extras/kio-extras-18.04.2.ebuild
deleted file mode 100644
index b884ebc08a3d..000000000000
--- a/kde-apps/kio-extras/kio-extras-18.04.2.ebuild
+++ /dev/null
@@ -1,78 +0,0 @@
-# Copyright 1999-2018 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-KDE_HANDBOOK="forceoptional"
-KDE_TEST="optional"
-VIRTUALX_REQUIRED="test"
-inherit kde5
-
-DESCRIPTION="KIO plugins present a filesystem-like view of arbitrary data"
-HOMEPAGE="https://cgit.kde.org/kio-extras.git"
-KEYWORDS="~amd64 ~arm ~arm64 ~x86"
-IUSE="activities htmlthumbs +man mtp openexr phonon samba +sftp taglib"
-
-COMMON_DEPEND="
- $(add_frameworks_dep karchive 'bzip2,lzma')
- $(add_frameworks_dep kbookmarks)
- $(add_frameworks_dep kcodecs)
- $(add_frameworks_dep kconfig)
- $(add_frameworks_dep kconfigwidgets)
- $(add_frameworks_dep kcoreaddons)
- $(add_frameworks_dep kdbusaddons)
- $(add_frameworks_dep kdnssd)
- $(add_frameworks_dep kguiaddons)
- $(add_frameworks_dep ki18n)
- $(add_frameworks_dep kiconthemes)
- $(add_frameworks_dep kio)
- $(add_frameworks_dep kparts)
- $(add_frameworks_dep kpty)
- $(add_frameworks_dep kservice)
- $(add_frameworks_dep kxmlgui)
- $(add_frameworks_dep solid)
- $(add_qt_dep qtdbus)
- $(add_qt_dep qtgui)
- $(add_qt_dep qtnetwork)
- $(add_qt_dep qtsvg)
- $(add_qt_dep qtwidgets)
- $(add_qt_dep qtxml)
- activities? (
- $(add_frameworks_dep kactivities)
- $(add_qt_dep qtsql)
- )
- htmlthumbs? ( $(add_qt_dep qtwebengine 'widgets') )
- man? ( $(add_frameworks_dep khtml) )
- mtp? ( media-libs/libmtp:= )
- openexr? ( media-libs/openexr )
- phonon? ( media-libs/phonon[qt5(+)] )
- samba? ( net-fs/samba[client] )
- sftp? ( net-libs/libssh:=[sftp] )
- taglib? ( >=media-libs/taglib-1.11.1 )
-"
-RDEPEND="${COMMON_DEPEND}
- $(add_frameworks_dep kded)
-"
-DEPEND="${COMMON_DEPEND}
- x11-misc/shared-mime-info
- man? ( dev-util/gperf )
-"
-
-# requires running kde environment
-RESTRICT+=" test"
-
-src_configure() {
- local mycmakeargs=(
- $(cmake-utils_use_find_package activities KF5Activities)
- $(cmake-utils_use_find_package htmlthumbs Qt5WebEngineWidgets)
- $(cmake-utils_use_find_package man Gperf)
- $(cmake-utils_use_find_package mtp Mtp)
- $(cmake-utils_use_find_package openexr OpenEXR)
- $(cmake-utils_use_find_package phonon Phonon4Qt5)
- $(cmake-utils_use_find_package samba Samba)
- $(cmake-utils_use_find_package sftp LibSSH)
- $(cmake-utils_use_find_package taglib Taglib)
- )
-
- kde5_src_configure
-}