summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Sturmlechner <asturm@gentoo.org>2019-02-06 14:43:47 +0100
committerAndreas Sturmlechner <asturm@gentoo.org>2019-02-06 18:11:58 +0100
commit3e586a4fe33ce59708dcbc24a6d7eada5ea4cc76 (patch)
treeaa823559d7a1728a6301bd947b648f323d4690af /kde-frameworks/kcoreaddons
parentmedia-plugins/kodi-pvr-hts: 4.4.13 version bump (diff)
downloadgentoo-3e586a4fe33ce59708dcbc24a6d7eada5ea4cc76.tar.gz
gentoo-3e586a4fe33ce59708dcbc24a6d7eada5ea4cc76.tar.bz2
gentoo-3e586a4fe33ce59708dcbc24a6d7eada5ea4cc76.zip
kde-frameworks: Drop KDE Frameworks 5.52.0
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org> Package-Manager: Portage-2.3.51, Repoman-2.3.11
Diffstat (limited to 'kde-frameworks/kcoreaddons')
-rw-r--r--kde-frameworks/kcoreaddons/Manifest1
-rw-r--r--kde-frameworks/kcoreaddons/files/kcoreaddons-5.52.0-xdg_cache_home-nospace-crash.patch54
-rw-r--r--kde-frameworks/kcoreaddons/kcoreaddons-5.52.0-r1.ebuild41
3 files changed, 0 insertions, 96 deletions
diff --git a/kde-frameworks/kcoreaddons/Manifest b/kde-frameworks/kcoreaddons/Manifest
index f12159d1fcb..091ec8e064c 100644
--- a/kde-frameworks/kcoreaddons/Manifest
+++ b/kde-frameworks/kcoreaddons/Manifest
@@ -1,2 +1 @@
-DIST kcoreaddons-5.52.0.tar.xz 351716 BLAKE2B 041ead718713beaea9d87fcdbf124e1379eb3b7f9d6c82e43f60b74d23a87de7f55565b722e63db789eb5b11c0a7cf8b975ae42306297583979d8ab9c5257b49 SHA512 0f82e703e9071645cde95a89a5dd3b12da8a477be5d2e01a70c7f42a749d46d86ef44b4ccd4557bf3e23d1794607fa990eadcef6f4a431b775cbaa909e5b8442
DIST kcoreaddons-5.54.0.tar.xz 359608 BLAKE2B ceb4acda8bfb0d8dfbe31ae693bd069212267d18966be488632981b651d180aca2b4a581d2c73203584da922a698de14ab4a2632dcaf6d269618c0d53e044573 SHA512 8e4a2cd59a0ecdf09317e67aa20b96f37562035beb744d189856094bcb06944e175c78515374a8a090446e63c8174b2a949b744dff36f0e21c455a2cb5df5df9
diff --git a/kde-frameworks/kcoreaddons/files/kcoreaddons-5.52.0-xdg_cache_home-nospace-crash.patch b/kde-frameworks/kcoreaddons/files/kcoreaddons-5.52.0-xdg_cache_home-nospace-crash.patch
deleted file mode 100644
index 7b1a7965292..00000000000
--- a/kde-frameworks/kcoreaddons/files/kcoreaddons-5.52.0-xdg_cache_home-nospace-crash.patch
+++ /dev/null
@@ -1,54 +0,0 @@
-From eb916c305a5cd8683e7e8f955740a7c810220e19 Mon Sep 17 00:00:00 2001
-From: Alexey Min <alexey.min@gmail.com>
-Date: Thu, 8 Nov 2018 00:28:30 +0300
-Subject: Fix crash if XDG_CACHE_HOME directory is too small or out of space
-
-Summary:
-Incorrect checking for error return code of posix_fallocate() causes function to think that everything is OK, while it is not, causing crash in some cases.
-
-BUG: 400610
-CCBUG: 339829
-
-Test Plan:
-good test plan provided in https://bugs.kde.org/show_bug.cgi?id=400610 . Works like a charm, tested in KDE Neon dev-ustable
-
-The reason for bug was that return value of posix_fallocate() was assumed to be negative on error, but in fact it is a positive integer. The check was `< 0`, whi should be `!= 0`. ( http://man7.org/linux/man-pages/man3/posix_fallocate.3.html )
-
-With this fix applied test application does not crash, and the output in console widow is:
-```
-No space left on device. Check filesystem free space at your XDG_CACHE_HOME!
-The operating system is unable to promise 10547304 bytes for mapped cache, abandoning the cache for crash-safety.
-org.kde.kcoreaddons: Failed to establish shared memory mapping, will fallback to private memory -- memory usage will increase
-```
-
-Reviewers: dfaure, #frameworks, mpyne
-
-Reviewed By: dfaure
-
-Subscribers: cfeck, kde-frameworks-devel
-
-Tags: #frameworks
-
-Differential Revision: https://phabricator.kde.org/D16744
----
- src/lib/caching/kshareddatacache_p.h | 5 ++++-
- 1 file changed, 4 insertions(+), 1 deletion(-)
-
-diff --git a/src/lib/caching/kshareddatacache_p.h b/src/lib/caching/kshareddatacache_p.h
-index 625bc5d..c13275b 100644
---- a/src/lib/caching/kshareddatacache_p.h
-+++ b/src/lib/caching/kshareddatacache_p.h
-@@ -472,7 +472,10 @@ static bool ensureFileAllocated(int fd, size_t fileSize)
- ;
- }
-
-- if (result < 0) {
-+ if (result != 0) {
-+ if (result == ENOSPC) {
-+ qCritical() << "No space left on device. Check filesystem free space at your XDG_CACHE_HOME!";
-+ }
- qCritical() << "The operating system is unable to promise"
- << fileSize
- << "bytes for mapped cache, "
---
-cgit v0.11.2
diff --git a/kde-frameworks/kcoreaddons/kcoreaddons-5.52.0-r1.ebuild b/kde-frameworks/kcoreaddons/kcoreaddons-5.52.0-r1.ebuild
deleted file mode 100644
index 57a2101a092..00000000000
--- a/kde-frameworks/kcoreaddons/kcoreaddons-5.52.0-r1.ebuild
+++ /dev/null
@@ -1,41 +0,0 @@
-# Copyright 1999-2018 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-inherit kde5
-
-DESCRIPTION="Framework for solving common problems such as caching, randomisation, and more"
-LICENSE="LGPL-2+"
-KEYWORDS="amd64 ~arm ~arm64 x86"
-IUSE="fam nls"
-
-RDEPEND="
- $(add_qt_dep qtcore 'icu')
- fam? ( virtual/fam )
-"
-DEPEND="${RDEPEND}
- x11-misc/shared-mime-info
- nls? ( $(add_qt_dep linguist-tools) )
-"
-
-PATCHES=( "${FILESDIR}/${P}-xdg_cache_home-nospace-crash.patch" )
-
-src_configure() {
- local mycmakeargs=(
- -D_KDE4_DEFAULT_HOME_POSTFIX=4
- $(cmake-utils_use_find_package fam FAM)
- )
-
- kde5_src_configure
-}
-
-src_test() {
- # bugs: 619656, 632398, 647414, 665682
- local myctestargs=(
- -j1
- -E "(kautosavefiletest|kdirwatch_qfswatch_unittest|kformattest)"
- )
-
- kde5_src_test
-}