summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Sturmlechner <asturm@gentoo.org>2017-09-12 15:29:40 +0200
committerAndreas Sturmlechner <asturm@gentoo.org>2017-09-12 22:32:55 +0200
commitd94e4d403a72074c80a12e088cfb2ed055669d76 (patch)
treeca9547cd2515508030ce07f6ac893e7fdd5c4b5d /kde-frameworks/kio
parentkde-frameworks/kirigami: Drop old (diff)
downloadgentoo-d94e4d403a72074c80a12e088cfb2ed055669d76.tar.gz
gentoo-d94e4d403a72074c80a12e088cfb2ed055669d76.tar.bz2
gentoo-d94e4d403a72074c80a12e088cfb2ed055669d76.zip
kde-frameworks: Drop KDE Frameworks 5.34.0
Except ECM which is required for hppa. Package-Manager: Portage-2.3.6, Repoman-2.3.1
Diffstat (limited to 'kde-frameworks/kio')
-rw-r--r--kde-frameworks/kio/Manifest1
-rw-r--r--kde-frameworks/kio/files/kio-5.34.0-pie.patch62
-rw-r--r--kde-frameworks/kio/files/kio-5.34.0-previewjob1.patch64
-rw-r--r--kde-frameworks/kio/files/kio-5.34.0-previewjob2.patch35
-rw-r--r--kde-frameworks/kio/kio-5.34.0-r2.ebuild84
5 files changed, 0 insertions, 246 deletions
diff --git a/kde-frameworks/kio/Manifest b/kde-frameworks/kio/Manifest
index 2b4176832bbf..abffbc212f61 100644
--- a/kde-frameworks/kio/Manifest
+++ b/kde-frameworks/kio/Manifest
@@ -1,3 +1,2 @@
-DIST kio-5.34.0.tar.xz 3082092 SHA256 6acb28de757a0d5eccb1e3e533a1ef22b5f5de92e96c3aba804ebdb44aa343c4 SHA512 cd5c47bcc263d467797287e8cc74fd07c170b742a399377338539cff29b735203f7a1c54b2d4a0b1d2f95ddcd5e2df65cd6b165c620627db8f70a46ec97b3a76 WHIRLPOOL 5b76a7e2598749cd7a85b1030d215b2c80d58c1b8ea198e2ec4e94c768070b4dbeedd082b6f5c34cec1cdd9373b9ecfe6d6bfe4c7eed52a65f5c4cdfd44a9620
DIST kio-5.37.0.tar.xz 3084204 SHA256 49448ebcfe182805f8f9cd40c1e2c8e686578cc2e7fa3688204d5ca4e182ac5b SHA512 42b2cbf6cbc414a0b69fdb36984d13574b1aee033170761dc55835cace44abead82f387f8afb35d8a82ee93a1909854ef43cff29d45c5881c4b13ca8862d2a64 WHIRLPOOL 649b16ebf5708d410d826a70726a9fdfd3668e00784246e7cb4d193b1951525e821046121886580bc16004280170277ac0344d1ee18afb91722e095118b1ccd6
DIST kio-5.38.0.tar.xz 3086436 SHA256 f43ab29c0ab51c78bd323e57fa6bba4aedf2d26d70df973b7ef7c80c9fc81597 SHA512 7a35c20d220308f329ba496cabc71f4be44debab09591c3301533ddc348a88bb928f5220ede8500f70fd6f8b50a77ae99877f4ca9544be149e3eb1b7ed785611 WHIRLPOOL ede2c160e5216dba084f3b475744c780b22095032d60e463f9891f85f6ba98df337b6af82426f46d8c1c47857726e79925172a903ea1de033138d3cb4a40925a
diff --git a/kde-frameworks/kio/files/kio-5.34.0-pie.patch b/kde-frameworks/kio/files/kio-5.34.0-pie.patch
deleted file mode 100644
index 973f95504476..000000000000
--- a/kde-frameworks/kio/files/kio-5.34.0-pie.patch
+++ /dev/null
@@ -1,62 +0,0 @@
-commit 4122b52fee540f6b7cdd8fde2f55e2f7c2673b1a
-Author: Fabian Vogt <fabian@ritter-vogt.de>
-Date: Sun May 28 14:49:03 2017 +0200
-
- Identify PIE binaries (application/x-sharedlib) as executable files
-
- Summary:
- x86_64 binaries compiled with PIE are just shared objects with the
- executable bit set. Without this patch, kio does not know that they
- can be executed as well, causing "kioclient5 exec" to ask for an
- application that can handle application/x-sharedlib.
-
- BUG: 350018
-
- Test Plan: Can run applications fine again.
-
- Reviewers: dfaure, aacid
-
- Reviewed By: dfaure
-
- Subscribers: asturmlechner, #frameworks
-
- Tags: #frameworks
-
- Differential Revision: https://phabricator.kde.org/D6002
-
-diff --git a/src/widgets/krun.cpp b/src/widgets/krun.cpp
-index 399ca975..2a9b563a 100644
---- a/src/widgets/krun.cpp
-+++ b/src/widgets/krun.cpp
-@@ -139,7 +139,8 @@ bool KRun::isExecutableFile(const QUrl &url, const QString &mimetype)
- #ifdef Q_OS_WIN
- mimeType.inherits(QLatin1String("application/x-ms-dos-executable")) ||
- #endif
-- mimeType.inherits(QStringLiteral("application/x-executable-script"))
-+ mimeType.inherits(QStringLiteral("application/x-executable-script")) ||
-+ mimeType.inherits(QStringLiteral("application/x-sharedlib"))
- ) {
- return true;
- }
-@@ -1438,6 +1439,8 @@ bool KRun::isExecutable(const QString &serviceType)
- {
- return (serviceType == QLatin1String("application/x-desktop") ||
- serviceType == QLatin1String("application/x-executable") ||
-+ /* See https://bugs.freedesktop.org/show_bug.cgi?id=97226 */
-+ serviceType == QLatin1String("application/x-sharedlib") ||
- serviceType == QLatin1String("application/x-ms-dos-executable") ||
- serviceType == QLatin1String("application/x-shellscript"));
- }
-diff --git a/src/widgets/krun.h b/src/widgets/krun.h
-index 2d167fc8..1012fb2b 100644
---- a/src/widgets/krun.h
-+++ b/src/widgets/krun.h
-@@ -436,7 +436,7 @@ public:
- * To be executable the file must pass the following rules:
- * -# Must reside on the local filesystem.
- * -# Must be marked as executable for the user by the filesystem.
-- * -# The mime type must inherit application/x-executable or application/x-executable-script.
-+ * -# The mime type must inherit application/x-executable, application/x-executable-script or application/x-sharedlib.
- * To allow a script to run when the above rules are satisfied add the entry
- * @code
- * X-KDE-IsAlso=application/x-executable-script
diff --git a/kde-frameworks/kio/files/kio-5.34.0-previewjob1.patch b/kde-frameworks/kio/files/kio-5.34.0-previewjob1.patch
deleted file mode 100644
index 87ba27d807f8..000000000000
--- a/kde-frameworks/kio/files/kio-5.34.0-previewjob1.patch
+++ /dev/null
@@ -1,64 +0,0 @@
-From 78c45a1ea0e28a98f34c6d113c807f14700b22d4 Mon Sep 17 00:00:00 2001
-From: David Faure <faure@kde.org>
-Date: Sun, 14 May 2017 15:40:02 +0200
-Subject: [PATCH 1/2] PreviewJob: clean up empty temp file when get() fails.
-
-(e.g. because it's a directory)
-
-CCBUG: 208625
----
- src/widgets/previewjob.cpp | 17 +++++++++++++----
- 1 file changed, 13 insertions(+), 4 deletions(-)
-
-diff --git a/src/widgets/previewjob.cpp b/src/widgets/previewjob.cpp
-index 9eae3469..e836f7da 100644
---- a/src/widgets/previewjob.cpp
-+++ b/src/widgets/previewjob.cpp
-@@ -143,6 +143,7 @@ public:
- void getOrCreateThumbnail();
- bool statResultThumbnail();
- void createThumbnail(const QString &);
-+ void cleanupTempFile();
- void determineNextFile();
- void emitPreview(const QImage &thumb);
-
-@@ -409,6 +410,16 @@ void PreviewJob::setIgnoreMaximumSize(bool ignoreSize)
- d_func()->ignoreMaximumSize = ignoreSize;
- }
-
-+void PreviewJobPrivate::cleanupTempFile()
-+{
-+ if (!tempName.isEmpty()) {
-+ Q_ASSERT(!QFileInfo(tempName).isDir());
-+ Q_ASSERT(QFileInfo(tempName).isFile());
-+ QFile::remove(tempName);
-+ tempName.clear();
-+ }
-+}
-+
- void PreviewJobPrivate::determineNextFile()
- {
- Q_Q(PreviewJob);
-@@ -491,6 +502,7 @@ void PreviewJob::slotResult(KJob *job)
- }
- case PreviewJobPrivate::STATE_GETORIG: {
- if (job->error()) {
-+ d->cleanupTempFile();
- d->determineNextFile();
- return;
- }
-@@ -499,10 +511,7 @@ void PreviewJob::slotResult(KJob *job)
- return;
- }
- case PreviewJobPrivate::STATE_CREATETHUMB: {
-- if (!d->tempName.isEmpty()) {
-- QFile::remove(d->tempName);
-- d->tempName.clear();
-- }
-+ d->cleanupTempFile();
- d->determineNextFile();
- return;
- }
---
-2.13.0
-
diff --git a/kde-frameworks/kio/files/kio-5.34.0-previewjob2.patch b/kde-frameworks/kio/files/kio-5.34.0-previewjob2.patch
deleted file mode 100644
index fab4d8825f4d..000000000000
--- a/kde-frameworks/kio/files/kio-5.34.0-previewjob2.patch
+++ /dev/null
@@ -1,35 +0,0 @@
-From 1620032772465be475ae0746aff63a566ef2a546 Mon Sep 17 00:00:00 2001
-From: David Faure <faure@kde.org>
-Date: Sun, 14 May 2017 15:48:33 +0200
-Subject: [PATCH 2/2] PreviewJob: skip remote directories. Too expensive to
- preview.
-
-For some protocols, file_copy() would end up copying the whole
-directory locally!
-
-FIXED-IN: 5.35
-BUG: 208625
----
- src/widgets/previewjob.cpp | 6 ++++++
- 1 file changed, 6 insertions(+)
-
-diff --git a/src/widgets/previewjob.cpp b/src/widgets/previewjob.cpp
-index e836f7da..da50b219 100644
---- a/src/widgets/previewjob.cpp
-+++ b/src/widgets/previewjob.cpp
-@@ -599,6 +599,12 @@ void PreviewJobPrivate::getOrCreateThumbnail()
- createThumbnail(fileUrl.toString());
- return;
- }
-+ if (item.isDir()) {
-+ // Skip remote dirs (bug 208625)
-+ cleanupTempFile();
-+ determineNextFile();
-+ return;
-+ }
- // No plugin support access to this remote content, copy the file
- // to the local machine, then create the thumbnail
- state = PreviewJobPrivate::STATE_GETORIG;
---
-2.13.0
-
diff --git a/kde-frameworks/kio/kio-5.34.0-r2.ebuild b/kde-frameworks/kio/kio-5.34.0-r2.ebuild
deleted file mode 100644
index 75eefb76dd44..000000000000
--- a/kde-frameworks/kio/kio-5.34.0-r2.ebuild
+++ /dev/null
@@ -1,84 +0,0 @@
-# Copyright 1999-2017 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-KDE_TEST="forceoptional-recursive"
-VIRTUALX_REQUIRED="test"
-inherit kde5
-
-DESCRIPTION="Framework providing transparent file and data management"
-LICENSE="LGPL-2+"
-KEYWORDS="amd64 ~arm x86"
-IUSE="acl +handbook kerberos +kwallet X"
-
-COMMON_DEPEND="
- $(add_frameworks_dep karchive)
- $(add_frameworks_dep kbookmarks)
- $(add_frameworks_dep kcodecs)
- $(add_frameworks_dep kcompletion)
- $(add_frameworks_dep kconfig)
- $(add_frameworks_dep kconfigwidgets)
- $(add_frameworks_dep kcoreaddons)
- $(add_frameworks_dep kdbusaddons)
- $(add_frameworks_dep ki18n)
- $(add_frameworks_dep kiconthemes)
- $(add_frameworks_dep kitemviews)
- $(add_frameworks_dep kjobwidgets)
- $(add_frameworks_dep knotifications)
- $(add_frameworks_dep kservice)
- $(add_frameworks_dep ktextwidgets)
- $(add_frameworks_dep kwidgetsaddons)
- $(add_frameworks_dep kwindowsystem)
- $(add_frameworks_dep kxmlgui)
- $(add_frameworks_dep solid)
- $(add_qt_dep qtdbus)
- $(add_qt_dep qtgui)
- $(add_qt_dep qtnetwork 'ssl')
- $(add_qt_dep qtscript)
- $(add_qt_dep qtwidgets)
- $(add_qt_dep qtxml)
- dev-libs/libxml2
- dev-libs/libxslt
- acl? (
- sys-apps/attr
- virtual/acl
- )
- kerberos? ( virtual/krb5 )
- kwallet? ( $(add_frameworks_dep kwallet) )
- X? ( $(add_qt_dep qtx11extras) )
-"
-DEPEND="${COMMON_DEPEND}
- $(add_qt_dep qtconcurrent)
- handbook? ( $(add_frameworks_dep kdoctools) )
- test? ( sys-libs/zlib )
- X? (
- x11-libs/libX11
- x11-libs/libXrender
- x11-proto/xproto
- )
-"
-PDEPEND="
- $(add_frameworks_dep kded)
-"
-RDEPEND="${COMMON_DEPEND}"
-
-# tests hang
-RESTRICT+=" test"
-
-PATCHES=(
- "${FILESDIR}"/${P}-previewjob{1,2}.patch
- "${FILESDIR}"/${P}-pie.patch
-)
-
-src_configure() {
- local mycmakeargs=(
- $(cmake-utils_use_find_package acl ACL)
- $(cmake-utils_use_find_package handbook KF5DocTools)
- $(cmake-utils_use_find_package kerberos GSSAPI)
- $(cmake-utils_use_find_package kwallet KF5Wallet)
- $(cmake-utils_use_find_package X X11)
- )
-
- kde5_src_configure
-}