diff options
Diffstat (limited to 'kde-frameworks/kinit')
-rw-r--r-- | kde-frameworks/kinit/Manifest | 1 | ||||
-rw-r--r-- | kde-frameworks/kinit/files/kinit-5.53.0-systemd-240-soft-rlimit.patch | 27 | ||||
-rw-r--r-- | kde-frameworks/kinit/kinit-5.53.0-r1.ebuild | 47 |
3 files changed, 0 insertions, 75 deletions
diff --git a/kde-frameworks/kinit/Manifest b/kde-frameworks/kinit/Manifest index 836badfaf558..2aafd8c57474 100644 --- a/kde-frameworks/kinit/Manifest +++ b/kde-frameworks/kinit/Manifest @@ -1,3 +1,2 @@ DIST kinit-5.52.0.tar.xz 120156 BLAKE2B 01b01be684ab94cff18a39893e9a74207e7ec98b593c6aa88980f50d1637033bf3742a40c092d804c7ca4cd5e87cda18a1c9b43db1c59f43fb7b22dca430e05a SHA512 ae3e1352bd5fa95a10637e26535fede2294b0048ca35efed66d58d687b857ad5605502cbbe2636f1bf193176fcaf8b8a9057c1c572f0776c814641962899b88b -DIST kinit-5.53.0.tar.xz 120240 BLAKE2B c5d0d8916b62abc79e7c4a095e89949ff5624081970ade81f57b9f9818d276a5f7b7745cab84fdb5128eea51f19404b645b5d863bc9a4a36abc3441aed733ec2 SHA512 52561fb6747bdf229dcf5ea9b84f0df050454c6b587630816184f65d2bb552401dc28eb7ed96209a1ff70374e1033c27de26d143532be5a3998ac69cdadd3f9d DIST kinit-5.54.0.tar.xz 120228 BLAKE2B 1dbbc2e49822b1377dec8785648d2baa43e93d77d7190fcf02ff6bbc6b73d47db280d81fbe8311d8fcb32d51ebc8f5f50406e86b4f83f3c92d0951d7cab89473 SHA512 ad7fa0228a4595cce754e65227ab979859827e1773148dd00de95e95ad25d78dae80a4cf04106a1bba5953c6c0acdcaea5e966c83de2f402be33dcc588106ecb diff --git a/kde-frameworks/kinit/files/kinit-5.53.0-systemd-240-soft-rlimit.patch b/kde-frameworks/kinit/files/kinit-5.53.0-systemd-240-soft-rlimit.patch deleted file mode 100644 index 3f8823d5b2d5..000000000000 --- a/kde-frameworks/kinit/files/kinit-5.53.0-systemd-240-soft-rlimit.patch +++ /dev/null @@ -1,27 +0,0 @@ -From 26620aef0bd6d01b543e7523dd15dddc1bb871df Mon Sep 17 00:00:00 2001 -From: Oswald Buddenhagen <ossi@kde.org> -Date: Mon, 24 Dec 2018 14:43:23 +0100 -Subject: use soft rlimit for number of open handles - -systemd 240 bumped the hard limit from the previous 4k (?) to 1G, which -makes kdeinit essentially lock up at startup. -to get around that, use the soft limit, which matches fd_setsize (1k). ---- - src/kdeinit/kinit.cpp | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/src/kdeinit/kinit.cpp b/src/kdeinit/kinit.cpp -index 748bfca..02ab794 100644 ---- a/src/kdeinit/kinit.cpp -+++ b/src/kdeinit/kinit.cpp -@@ -165,7 +165,7 @@ static void cleanup_fds() - int maxfd = FD_SETSIZE; - struct rlimit rl; - if (getrlimit(RLIMIT_NOFILE, &rl) == 0) { -- maxfd = rl.rlim_max; -+ maxfd = rl.rlim_cur; - } - for (int fd = 3; fd < maxfd; ++fd) { - #if KDEINIT_OOM_PROTECT --- -cgit v1.1 diff --git a/kde-frameworks/kinit/kinit-5.53.0-r1.ebuild b/kde-frameworks/kinit/kinit-5.53.0-r1.ebuild deleted file mode 100644 index 910c3df5286b..000000000000 --- a/kde-frameworks/kinit/kinit-5.53.0-r1.ebuild +++ /dev/null @@ -1,47 +0,0 @@ -# Copyright 1999-2018 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 - -KDE_QTHELP="false" -KDE_TEST="false" -inherit kde5 - -DESCRIPTION="Helper library to speed up start of applications on KDE work spaces" -LICENSE="LGPL-2+" -KEYWORDS="~amd64 ~arm ~arm64 ~x86" -IUSE="+caps +man X" - -RDEPEND=" - $(add_frameworks_dep kconfig) - $(add_frameworks_dep kcoreaddons) - $(add_frameworks_dep kcrash) - $(add_frameworks_dep ki18n) - $(add_frameworks_dep kio) - $(add_frameworks_dep kservice) - $(add_frameworks_dep kwindowsystem) - $(add_qt_dep qtdbus) - $(add_qt_dep qtgui) - caps? ( sys-libs/libcap ) - X? ( - x11-libs/libX11 - x11-libs/libxcb - ) -" -DEPEND="${RDEPEND} - man? ( $(add_frameworks_dep kdoctools) ) - X? ( x11-base/xorg-proto ) -" - -PATCHES=( "${FILESDIR}/${P}-systemd-240-soft-rlimit.patch" ) - -src_configure() { - local mycmakeargs=( - $(cmake-utils_use_find_package caps Libcap) - $(cmake-utils_use_find_package man KF5DocTools) - $(cmake-utils_use_find_package X X11) - $(cmake-utils_use_find_package X XCB) - ) - - kde5_src_configure -} |