Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 14 additions & 5 deletions srcpkgs/rtkit/files/org.freedesktop.RealtimeKit1.xml
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This file isn't even used, so it should be removed.

Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
<!DOCTYPE node PUBLIC "-//freedesktop//DTD D-BUS Object Introspection 1.0//EN"
"http://www.freedesktop.org/standards/dbus/1.0/introspect.dtd">
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE node PUBLIC
"-//freedesktop//DTD D-BUS Object Introspection 1.0//EN"
"http://www.freedesktop.org/standards/dbus/1.0/introspect.dtd">
<node>
<interface name="org.freedesktop.RealtimeKit1">
<method name="MakeThreadRealtime">
Expand All @@ -13,25 +15,32 @@
</method>
<method name="MakeThreadHighPriority">
<arg name="thread" type="t" direction="in"/>
<arg name="priority" type="i" direction="in"/>
<arg name="nice_level" type="i" direction="in"/>
</method>
<method name="MakeThreadHighPriorityWithPID">
<arg name="process" type="t" direction="in"/>
<arg name="thread" type="t" direction="in"/>
<arg name="priority" type="i" direction="in"/>
<arg name="nice_level" type="i" direction="in"/>
</method>
<method name="ResetKnown"/>
<method name="ResetAll"/>
<method name="Suspend"/>
<method name="Resume"/>
<method name="Exit"/>
<property name="RTTimeUSecMax" type="x" access="read"/>
<property name="MaxRealtimePriority" type="i" access="read"/>
<property name="MinNiceLevel" type="i" access="read"/>
</interface>
<interface name="org.freedesktop.DBus.Properties">
<method name="Get"> <arg name="interface" direction="in" type="s"/>
<method name="Get">
<arg name="interface" direction="in" type="s"/>
<arg name="property" direction="in" type="s"/>
<arg name="value" direction="out" type="v"/>
</method>
<method name="GetAll">
<arg name="interface" direction="in" type="s"/>
<arg name="props" direction="out" type="a{sv}"/>
</method>
</interface>
<interface name="org.freedesktop.DBus.Introspectable">
<method name="Introspect">
Expand Down
2 changes: 1 addition & 1 deletion srcpkgs/rtkit/files/rtkit/run
100644 → 100755
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
#!/bin/sh
#!/bin/bash
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why?

exec 2>&1
exec /usr/libexec/rtkit-daemon
24 changes: 12 additions & 12 deletions srcpkgs/rtkit/template
Original file line number Diff line number Diff line change
@@ -1,23 +1,23 @@
# Template file for 'rtkit'
pkgname=rtkit
version=0.13
revision=3
build_style=gnu-configure
hostmakedepends="pkg-config"
makedepends="dbus-devel libcap-devel"
depends="dbus"
version=0.14
revision=1
build_style=meson
hostmakedepends="pkg-config meson vim"
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

meson doesn't need to be listed, the build style already adds it. Instead of vim this should probably just use xxd.

makedepends="dbus-devel libcap-devel polkit-devel"
depends="dbus libcap polkit"
short_desc="Realtime Policy and Watchdog Daemon"
maintainer="Orphaned <orphan@voidlinux.org>"
license="MIT, GPL-3.0-or-later"
homepage="https://github.com/heftig/rtkit"
distfiles="https://github.com/heftig/rtkit/releases/download/v${version}/rtkit-${version}.tar.xz"
checksum=a157144cd95cf6d25200e74b74a8f01e4fe51fd421bb63c1f00d471394b640ab
homepage="https://gitlab.freedesktop.org/pipewire/rtkit"
distfiles="https://gitlab.freedesktop.org/pipewire/rtkit/-/archive/v${version}/rtkit-v${version}.tar.gz"
checksum=55dd379b11f52b81655e2dc676de9d602d050cb0beb18ef01f0f65569f0a5e59

system_accounts="rtkit"
rtkit_homedir="/proc"

post_install() {
sed -n '7,28p' < rtkit.h > LICENSE
vlicense LICENSE
vsv rtkit
sed -n '4,25p' rtkit.c > LICENSE

Check failure on line 20 in srcpkgs/rtkit/template

View workflow job for this annotation

GitHub Actions / Lint templates

Template Lint

please indent with tabs
vlicense LICENSE
vsv rtkit
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please don't change the indention, we use tabs in functions.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why are you changing it to the c file?

}
2 changes: 0 additions & 2 deletions srcpkgs/rtkit/update

This file was deleted.

Loading