commit:     ae400e68944296e72bf2229d48744f846d1a8745
Author:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
AuthorDate: Sun Feb 22 08:18:13 2026 +0000
Commit:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
CommitDate: Sun Feb 22 12:18:31 2026 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ae400e68

sys-auth/rtkit: drop 0.13-r2

Bug: https://bugs.gentoo.org/970388
Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>

 sys-auth/rtkit/Manifest                            |  1 -
 .../rtkit/files/rtkit-0.13_daemon_verbosity.patch  | 67 ----------------------
 .../files/rtkit-0.13_meson_rtkitctl_dir.patch      | 25 --------
 .../files/rtkit-0.13_meson_xxd_optional.patch      | 59 -------------------
 sys-auth/rtkit/rtkit-0.13-r2.ebuild                | 49 ----------------
 5 files changed, 201 deletions(-)

diff --git a/sys-auth/rtkit/Manifest b/sys-auth/rtkit/Manifest
index 4ff270c992d3..8881394563f4 100644
--- a/sys-auth/rtkit/Manifest
+++ b/sys-auth/rtkit/Manifest
@@ -1,2 +1 @@
-DIST rtkit-0.13.tar.xz 130796 BLAKE2B 
842d04556a47c199bed9fc6bc9281c0d88f83e183f01ef57ecbd80ce72949a301d6682a3aab96e996e71b82d8e8c7a85e1d44524f2ed6fbdffc6bf236cdcadaa
 SHA512 
c058d770a4ccfdf4e2e3a713748b6a705b6d3e148a903b9dbba4bba9d3ded2b819d7dfbfa37b9fad78e57c0a5f10f2f94226f8738f666e692a085ab297a36b36
 DIST rtkit-v0.14.tar.bz2 41311 BLAKE2B 
824bd873e09138ad0b8bac9509db81db5d777310a5d6709e3cc9816befef2e88403ec6e576114b397086c414c048a29a0ba567d0407f28cb433b33e68da877a6
 SHA512 
ad2cf2b850536ed8e9d03768ce5073fa42da0b1244ea1e70705b9244513b87512918549b8657a4a2132345c8b74e9dc452eca628bb252b1a621a7ab7ccb38c7b

diff --git a/sys-auth/rtkit/files/rtkit-0.13_daemon_verbosity.patch 
b/sys-auth/rtkit/files/rtkit-0.13_daemon_verbosity.patch
deleted file mode 100644
index e8fb9c821dde..000000000000
--- a/sys-auth/rtkit/files/rtkit-0.13_daemon_verbosity.patch
+++ /dev/null
@@ -1,67 +0,0 @@
-From ad649ee491ed1a41537774ad11564a208e598a09 Mon Sep 17 00:00:00 2001
-From: Jean Delvare <[email protected]>
-Date: Sat, 15 Apr 2023 11:53:27 +0200
-Subject: [PATCH] rtkit-daemon: Don't log debug messages by default
-
-The rtkit-daemon service is a lot more verbose than other services
-when it doesn't have anything to do. Stop logging the debug messages
-by default to avoid flooding the system log.
-
-This addresses issue #22.
---- a/rtkit-daemon.c
-+++ b/rtkit-daemon.c
-@@ -154,6 +154,9 @@ static bool canary_demote_unknown = FALSE;
- /* Log to stderr? */
- static bool log_stderr = FALSE;
- 
-+/* Also log debugging messages? */
-+static bool log_debug = FALSE;
-+
- /* Scheduling policy to use */
- static int sched_policy = SCHED_RR;
- 
-@@ -1876,6 +1879,7 @@ enum {
-         ARG_CANARY_DEMOTE_UNKNOWN,
-         ARG_CANARY_REFUSE_SEC,
-         ARG_STDERR,
-+        ARG_DEBUG,
-         ARG_INTROSPECT
- };
- 
-@@ -1905,6 +1909,7 @@ static const struct option long_options[] = {
-     { "canary-demote-unknown",       no_argument,       0, 
ARG_CANARY_DEMOTE_UNKNOWN },
-     { "canary-refuse-sec",           required_argument, 0, 
ARG_CANARY_REFUSE_SEC },
-     { "stderr",                      no_argument,       0, ARG_STDERR },
-+    { "debug",                       no_argument,       0, ARG_DEBUG },
-     { "introspect",                  no_argument,       0, ARG_INTROSPECT },
-     { NULL, 0, 0, 0}
- };
-@@ -1933,6 +1938,7 @@ static void show_help(const char *exe) {
-                "      --version                       Show version\n\n"
-                "OPTIONS:\n"
-                "      --stderr                        Log to STDERR in 
addition to syslog\n"
-+               "      --debug                         Also log debugging 
mssages\n"
-                "      --user-name=USER                Run daemon as user 
(%s)\n\n"
-                "      --scheduling-policy=(RR|FIFO)   Choose scheduling 
policy (%s)\n"
-                "      --our-realtime-priority=[%i..%i] Realtime priority for 
the daemon (%u)\n"
-@@ -2222,6 +2228,10 @@ static int parse_command_line(int argc, char *argv[], 
int *ret) {
-                                 log_stderr = TRUE;
-                                 break;
- 
-+                        case ARG_DEBUG:
-+                                log_debug = TRUE;
-+                                break;
-+
-                         case ARG_INTROSPECT:
-                                 fputs(introspect_xml, stdout);
-                                 *ret = 0;
-@@ -2251,6 +2261,9 @@ static int parse_command_line(int argc, char *argv[], 
int *ret) {
-                 return -1;
-         }
- 
-+      if (!log_debug)
-+                setlogmask(LOG_UPTO(LOG_INFO));
-+
-         assert(our_realtime_priority >= (unsigned) 
sched_get_priority_min(sched_policy));
-         assert(our_realtime_priority <= (unsigned) 
sched_get_priority_max(sched_policy));
- 

diff --git a/sys-auth/rtkit/files/rtkit-0.13_meson_rtkitctl_dir.patch 
b/sys-auth/rtkit/files/rtkit-0.13_meson_rtkitctl_dir.patch
deleted file mode 100644
index 6d48004e6dc1..000000000000
--- a/sys-auth/rtkit/files/rtkit-0.13_meson_rtkitctl_dir.patch
+++ /dev/null
@@ -1,25 +0,0 @@
-From c295fa849f52b487be6433e69e08b46251950399 Mon Sep 17 00:00:00 2001
-From: Felipe Sateler <[email protected]>
-Date: Sun, 5 Apr 2020 12:16:01 -0400
-Subject: [PATCH 1/2] meson: Install rtkitctl to sbin
-
-That is the path previously used in the autotools system
----
- meson.build | 1 +
- 1 file changed, 1 insertion(+)
-
-diff --git a/meson.build b/meson.build
-index 50e137c..02e6c73 100644
---- a/meson.build
-+++ b/meson.build
-@@ -115,6 +115,7 @@ executable(
-         'rtkitctl',
-         'rtkitctl.c', 'rtkit.h', config_h,
-         install: true,
-+        install_dir: get_option('sbindir'),
-         dependencies: [dbus_dep],
- )
- 
--- 
-2.24.1
-

diff --git a/sys-auth/rtkit/files/rtkit-0.13_meson_xxd_optional.patch 
b/sys-auth/rtkit/files/rtkit-0.13_meson_xxd_optional.patch
deleted file mode 100644
index 17320543b9ee..000000000000
--- a/sys-auth/rtkit/files/rtkit-0.13_meson_xxd_optional.patch
+++ /dev/null
@@ -1,59 +0,0 @@
-From ac157ef9c7b90d995436d999f15f41f04bff6052 Mon Sep 17 00:00:00 2001
-From: Marek Szuba <[email protected]>
-Date: Fri, 10 Apr 2020 22:08:00 +0100
-Subject: [PATCH 2/2] Actually let meson use pre-generated introspection file
-
-Unlike autoconf, meson scripts actually aborted if the program 'xxd' was
-absent regardless of whether the pre-generated introspection file was
-found or not. Make xxd optional, and if it is not found print a warning
-and make the dependency object xml_introspection_h point at the relevant
-file in the source directory instead of generating a new one in the build
-directory. If that file does not exist either, abort.
----
- meson.build | 23 ++++++++++++++---------
- 1 file changed, 14 insertions(+), 9 deletions(-)
-
-diff --git a/meson.build b/meson.build
-index 02e6c73..68fa23c 100644
---- a/meson.build
-+++ b/meson.build
-@@ -13,7 +13,7 @@ add_project_arguments(
- 
- cc = meson.get_compiler('c')
- sh = find_program('sh')
--xxd = find_program('xxd')
-+xxd = find_program('xxd', required: false)
- 
- dbus_dep = dependency('dbus-1')
- libcap_dep = dependency('libcap')
-@@ -80,14 +80,19 @@ config_h = configure_file(
-         configuration: config,
- )
- 
--xml_introspection_h = configure_file(
--        input: 'org.freedesktop.RealtimeKit1.xml',
--        output: 'xml-introspection.h',
--        command: [
--                sh, '-c', '"$1" -i < "$2" > "$3"', sh,
--                xxd, '@INPUT@', '@OUTPUT@'
--        ],
--)
-+if xxd.found()
-+        xml_introspection_h = configure_file(
-+                input: 'org.freedesktop.RealtimeKit1.xml',
-+                output: 'xml-introspection.h',
-+                command: [
-+                        sh, '-c', '"$1" -i < "$2" > "$3"', sh,
-+                        xxd, '@INPUT@', '@OUTPUT@'
-+                ],
-+        )
-+else
-+        warning('xxd not found, cannot compile introspection XML. Looking for 
existing one...')
-+        xml_introspection_h = files('xml-introspection.h')
-+endif
- 
- executable(
-         'rtkit-daemon',
--- 
-2.24.1
-

diff --git a/sys-auth/rtkit/rtkit-0.13-r2.ebuild 
b/sys-auth/rtkit/rtkit-0.13-r2.ebuild
deleted file mode 100644
index ca0d03b9d34b..000000000000
--- a/sys-auth/rtkit/rtkit-0.13-r2.ebuild
+++ /dev/null
@@ -1,49 +0,0 @@
-# Copyright 1999-2025 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-inherit linux-info meson
-
-DESCRIPTION="Realtime Policy and Watchdog Daemon"
-HOMEPAGE="https://github.com/heftig/rtkit";
-SRC_URI="https://github.com/heftig/${PN}/releases/download/v${PV}/${P}.tar.xz";
-
-LICENSE="GPL-3 BSD"
-SLOT="0"
-KEYWORDS="~alpha amd64 arm arm64 ~hppa ~loong ppc ppc64 ~riscv ~sparc x86"
-IUSE="selinux systemd"
-
-BDEPEND="virtual/pkgconfig"
-DEPEND="acct-group/rtkit
-       acct-user/rtkit
-       sys-apps/dbus
-       sys-auth/polkit
-       sys-libs/libcap
-       systemd? ( sys-apps/systemd )"
-RDEPEND="${DEPEND}
-       selinux? ( sec-policy/selinux-rtkit )"
-
-PATCHES=(
-       "${FILESDIR}"/${PN}-0.13_daemon_verbosity.patch
-       "${FILESDIR}"/${PN}-0.13_meson_rtkitctl_dir.patch
-       "${FILESDIR}"/${PN}-0.13_meson_xxd_optional.patch
-)
-
-pkg_pretend() {
-       if use kernel_linux; then
-               CONFIG_CHECK="~!RT_GROUP_SCHED"
-               ERROR_RT_GROUP_SCHED="CONFIG_RT_GROUP_SCHED is enabled. 
rtkit-daemon (or any other "
-               ERROR_RT_GROUP_SCHED+="real-time task) will not work unless run 
as root. Please consider "
-               ERROR_RT_GROUP_SCHED+="unsetting this option."
-               check_extra_config
-       fi
-}
-
-src_configure() {
-       local emesonargs=(
-               -Dinstalled_tests=false
-               $(meson_feature systemd libsystemd)
-       )
-       meson_src_configure
-}

Reply via email to