Page MenuHomeSolus

D11226.id27321.diff
No OneTemporary

D11226.id27321.diff

Index: Makefile
===================================================================
--- /dev/null
+++ Makefile
@@ -0,0 +1 @@
+include ../Makefile.common
Index: abi_used_libs
===================================================================
--- /dev/null
+++ abi_used_libs
@@ -0,0 +1,5 @@
+libc.so.6
+libcap.so.2
+libdbus-1.so.3
+libpthread.so.0
+libsystemd.so.0
Index: abi_used_symbols
===================================================================
--- /dev/null
+++ abi_used_symbols
@@ -0,0 +1,108 @@
+libc.so.6:__assert_fail
+libc.so.6:__fprintf_chk
+libc.so.6:__isoc99_sscanf
+libc.so.6:__libc_start_main
+libc.so.6:__printf_chk
+libc.so.6:__snprintf_chk
+libc.so.6:__stack_chk_fail
+libc.so.6:__syslog_chk
+libc.so.6:abort
+libc.so.6:chdir
+libc.so.6:chroot
+libc.so.6:clock_gettime
+libc.so.6:closedir
+libc.so.6:eventfd
+libc.so.6:eventfd_read
+libc.so.6:eventfd_write
+libc.so.6:fclose
+libc.so.6:fgets
+libc.so.6:fopen64
+libc.so.6:free
+libc.so.6:fwrite
+libc.so.6:getopt_long
+libc.so.6:getpid
+libc.so.6:getpriority
+libc.so.6:getpwnam
+libc.so.6:getpwuid
+libc.so.6:getrlimit64
+libc.so.6:getuid
+libc.so.6:malloc
+libc.so.6:opendir
+libc.so.6:openlog
+libc.so.6:optarg
+libc.so.6:optind
+libc.so.6:poll
+libc.so.6:prctl
+libc.so.6:pthread_sigmask
+libc.so.6:readdir64
+libc.so.6:sched_get_priority_max
+libc.so.6:sched_get_priority_min
+libc.so.6:sched_getscheduler
+libc.so.6:sched_setscheduler
+libc.so.6:setenv
+libc.so.6:setgroups
+libc.so.6:setpriority
+libc.so.6:setresgid
+libc.so.6:setresuid
+libc.so.6:setrlimit64
+libc.so.6:sigfillset
+libc.so.6:stat64
+libc.so.6:stderr
+libc.so.6:stdout
+libc.so.6:strcasecmp
+libc.so.6:strcmp
+libc.so.6:strerror
+libc.so.6:strncpy
+libc.so.6:strrchr
+libc.so.6:strtol
+libc.so.6:strtoll
+libc.so.6:strtoul
+libc.so.6:strtoull
+libc.so.6:syscall
+libc.so.6:time
+libc.so.6:umask
+libcap.so.2:cap_clear
+libcap.so.2:cap_free
+libcap.so.2:cap_init
+libcap.so.2:cap_set_flag
+libcap.so.2:cap_set_proc
+libdbus-1.so.3:dbus_bus_get
+libdbus-1.so.3:dbus_bus_get_private
+libdbus-1.so.3:dbus_bus_get_unix_user
+libdbus-1.so.3:dbus_bus_request_name
+libdbus-1.so.3:dbus_connection_close
+libdbus-1.so.3:dbus_connection_get_is_connected
+libdbus-1.so.3:dbus_connection_read_write_dispatch
+libdbus-1.so.3:dbus_connection_register_object_path
+libdbus-1.so.3:dbus_connection_send
+libdbus-1.so.3:dbus_connection_send_with_reply_and_block
+libdbus-1.so.3:dbus_connection_set_exit_on_disconnect
+libdbus-1.so.3:dbus_connection_unref
+libdbus-1.so.3:dbus_error_free
+libdbus-1.so.3:dbus_error_init
+libdbus-1.so.3:dbus_message_append_args
+libdbus-1.so.3:dbus_message_get_args
+libdbus-1.so.3:dbus_message_get_sender
+libdbus-1.so.3:dbus_message_is_method_call
+libdbus-1.so.3:dbus_message_iter_append_basic
+libdbus-1.so.3:dbus_message_iter_close_container
+libdbus-1.so.3:dbus_message_iter_get_arg_type
+libdbus-1.so.3:dbus_message_iter_get_basic
+libdbus-1.so.3:dbus_message_iter_init
+libdbus-1.so.3:dbus_message_iter_init_append
+libdbus-1.so.3:dbus_message_iter_next
+libdbus-1.so.3:dbus_message_iter_open_container
+libdbus-1.so.3:dbus_message_iter_recurse
+libdbus-1.so.3:dbus_message_new_error
+libdbus-1.so.3:dbus_message_new_error_printf
+libdbus-1.so.3:dbus_message_new_method_call
+libdbus-1.so.3:dbus_message_new_method_return
+libdbus-1.so.3:dbus_message_unref
+libdbus-1.so.3:dbus_set_error_from_message
+libdbus-1.so.3:dbus_shutdown
+libpthread.so.0:__errno_location
+libpthread.so.0:close
+libpthread.so.0:pthread_create
+libpthread.so.0:pthread_join
+libsystemd.so.0:sd_notify
+libsystemd.so.0:sd_notifyf
Index: files/0001-meson-actually-use-systemd_systemunitdir.patch
===================================================================
--- /dev/null
+++ files/0001-meson-actually-use-systemd_systemunitdir.patch
@@ -0,0 +1,22 @@
+From 7d62095b94f8df3891c984a1535026d2658bb177 Mon Sep 17 00:00:00 2001
+From: Edmund Wu <fangkazuto@gmail.com>
+Date: Sat, 11 Apr 2020 16:59:35 -0400
+Subject: [PATCH] meson: actually use systemd_systemunitdir
+
+---
+ meson.build | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/meson.build b/meson.build
+index 02e6c73..ba5ba1e 100644
+--- a/meson.build
++++ b/meson.build
+@@ -58,7 +58,7 @@ if policydir == ''
+ policydir = get_option('datadir') / 'polkit-1' / 'actions'
+ endif
+
+-systemunitdir = ''
++systemunitdir = get_option('systemd_systemunitdir')
+ if systemunitdir == '' and systemd_dep.found()
+ systemunitdir = systemd_dep.get_pkgconfig_variable(
+ 'systemdsystemunitdir',
Index: files/rtkit-daemon.service
===================================================================
--- /dev/null
+++ files/rtkit-daemon.service
@@ -0,0 +1,31 @@
+# This file is part of RealtimeKit.
+#
+# Copyright 2010 Lennart Poettering
+#
+# RealtimeKit is free software: you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# RealtimeKit is distributed in the hope that it will be useful, but
+# WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with RealtimeKit. If not, see <http://www.gnu.org/licenses/>.
+
+[Unit]
+Description=RealtimeKit Scheduling Policy Service
+
+[Service]
+ExecStart=/usr/lib64/rtkit/rtkit-daemon
+Type=dbus
+BusName=org.freedesktop.RealtimeKit1
+NotifyAccess=main
+CapabilityBoundingSet=CAP_SYS_NICE CAP_DAC_READ_SEARCH CAP_SYS_PTRACE CAP_SYS_CHROOT CAP_SETGID CAP_SETUID
+PrivateTmp=yes
+PrivateNetwork=yes
+
+[Install]
+WantedBy=graphical.target
Index: files/rtkit.sysusers
===================================================================
--- /dev/null
+++ files/rtkit.sysusers
@@ -0,0 +1 @@
+u rtkit 133 "RealtimeKit" /proc
Index: package.yml
===================================================================
--- /dev/null
+++ package.yml
@@ -0,0 +1,27 @@
+name : rtkit
+version : 0.13
+release : 1
+source :
+ - https://github.com/heftig/rtkit/releases/download/v0.13/rtkit-0.13.tar.xz : a157144cd95cf6d25200e74b74a8f01e4fe51fd421bb63c1f00d471394b640ab
+license :
+ - GPL-3.0-or-later
+ - MIT # rtkit.c
+component : system.utils
+homepage : https://github.com/heftig/rtkit
+summary : Realtime Policy and Watchdog Daemon
+description: |
+ RealtimeKit is a D-Bus system service that changes the scheduling policy of user processes/threads to SCHED_RR (i.e. realtime scheduling mode) on request
+builddeps :
+ - pkgconfig(libcap)
+ - vim # Needs xxd which is part of this package
+setup : |
+ patch -Np1 < $pkgfiles/0001-meson-actually-use-systemd_systemunitdir.patch
+ %meson_configure -Dsystemd_systemunitdir=%libdir%/systemd/system/ \
+ -Dinstalled_tests=false
+build : |
+ %ninja_build
+install : |
+ %ninja_install
+
+ install -Dm00644 $pkgfiles/rtkit-daemon.service $installdir/%libdir%/systemd/system/rtkit-daemon.service
+ install -Dm00644 $pkgfiles/rtkit.sysusers $installdir/%libdir%/sysusers.d/rtkit.conf
Index: pspec_x86_64.xml
===================================================================
--- /dev/null
+++ pspec_x86_64.xml
@@ -0,0 +1,44 @@
+<PISI>
+ <Source>
+ <Name>rtkit</Name>
+ <Homepage>https://github.com/heftig/rtkit</Homepage>
+ <Packager>
+ <Name>Reilly Brogan</Name>
+ <Email>solus@reillybrogan.com</Email>
+ </Packager>
+ <License>GPL-3.0-or-later</License>
+ <License>MIT</License>
+ <PartOf>system.utils</PartOf>
+ <Summary xml:lang="en">Realtime Policy and Watchdog Daemon</Summary>
+ <Description xml:lang="en">RealtimeKit is a D-Bus system service that changes the scheduling policy of user processes/threads to SCHED_RR (i.e. realtime scheduling mode) on request
+</Description>
+ <Archive type="binary" sha1sum="79eb0752a961b8e0d15c77d298c97498fbc89c5a">https://getsol.us/sources/README.Solus</Archive>
+ </Source>
+ <Package>
+ <Name>rtkit</Name>
+ <Summary xml:lang="en">Realtime Policy and Watchdog Daemon</Summary>
+ <Description xml:lang="en">RealtimeKit is a D-Bus system service that changes the scheduling policy of user processes/threads to SCHED_RR (i.e. realtime scheduling mode) on request
+</Description>
+ <PartOf>system.utils</PartOf>
+ <Files>
+ <Path fileType="executable">/usr/bin/rtkitctl</Path>
+ <Path fileType="library">/usr/lib64/rtkit/rtkit-daemon</Path>
+ <Path fileType="library">/usr/lib64/systemd/system/rtkit-daemon.service</Path>
+ <Path fileType="library">/usr/lib64/sysusers.d/rtkit.conf</Path>
+ <Path fileType="data">/usr/share/dbus-1/interfaces/org.freedesktop.RealtimeKit1.xml</Path>
+ <Path fileType="data">/usr/share/dbus-1/system-services/org.freedesktop.RealtimeKit1.service</Path>
+ <Path fileType="data">/usr/share/dbus-1/system.d/org.freedesktop.RealtimeKit1.conf</Path>
+ <Path fileType="man">/usr/share/man/man8/rtkitctl.8</Path>
+ <Path fileType="data">/usr/share/polkit-1/actions/org.freedesktop.RealtimeKit1.policy</Path>
+ </Files>
+ </Package>
+ <History>
+ <Update release="1">
+ <Date>2021-06-20</Date>
+ <Version>0.13</Version>
+ <Comment>Packaging update</Comment>
+ <Name>Reilly Brogan</Name>
+ <Email>solus@reillybrogan.com</Email>
+ </Update>
+ </History>
+</PISI>
\ No newline at end of file

File Metadata

Mime Type
text/plain
Expires
Fri, Aug 11, 8:22 PM (2 h, 46 m ago)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
5846547
Default Alt Text
D11226.id27321.diff (9 KB)

Event Timeline