Add various packages and patches for build system improvements
- Introduced valgrind with a patch to respect flags and updated its configuration. - Added Vulkan ICD loader with CMake build configuration. - Implemented Waf build system with a custom build script and configuration. - Included Wayland protocols with Meson build system. - Added xcb-util-keysyms with autotools configuration. - Introduced Yasm with multiple patches for compatibility and improvements. - Added Yelp tools and XSL with Meson build configurations and necessary patches for POSIX compliance.
This commit is contained in:
@@ -0,0 +1,8 @@
|
||||
# This file should _only_ export DBUS_SESSION_BUS_ADDRESS and
|
||||
# shouldn't declare any other variables for now. This allows
|
||||
# us to source this file from (a) other services which need
|
||||
# this env and (b) the user's shell configuration files.
|
||||
#
|
||||
# See: https://gitlab.alpinelinux.org/alpine/aports/-/merge_requests/80734#note_486342
|
||||
|
||||
export DBUS_SESSION_BUS_ADDRESS="unix:path=$XDG_RUNTIME_DIR/bus"
|
||||
@@ -0,0 +1,9 @@
|
||||
#!/sbin/openrc-run
|
||||
|
||||
name="Login Message Bus"
|
||||
description="D-Bus Login Session Message Bus"
|
||||
|
||||
supervisor=supervise-daemon
|
||||
command="/usr/bin/dbus-daemon"
|
||||
command_args="--session --nofork --nopidfile --address=$DBUS_SESSION_BUS_ADDRESS --print-address=3"
|
||||
notify=fd:3
|
||||
@@ -0,0 +1,10 @@
|
||||
# Configuration for /etc/init.d/dbus
|
||||
|
||||
# Additional arguments to pass to dbus-daemon.
|
||||
#command_args=
|
||||
|
||||
# Uncomment to use process supervisor.
|
||||
#supervisor=supervise-daemon
|
||||
|
||||
# Move machine-id generated by dbus-uuidgen
|
||||
#machine_id=/etc/machine-id
|
||||
@@ -0,0 +1,33 @@
|
||||
#!/sbin/openrc-run
|
||||
name="System Message Bus"
|
||||
description="D-Bus System Message Bus"
|
||||
|
||||
extra_started_commands="reload"
|
||||
|
||||
command="/usr/bin/dbus-daemon"
|
||||
command_args="--system --nofork --nopidfile --syslog-only ${command_args:-}"
|
||||
command_background="yes"
|
||||
pidfile="/run/$RC_SVCNAME.pid"
|
||||
|
||||
depend() {
|
||||
need localmount
|
||||
after bootmisc
|
||||
}
|
||||
|
||||
start_pre() {
|
||||
checkpath -d -m755 -o "${command_user:-root:messagebus}" /run/dbus || return 1
|
||||
|
||||
/usr/bin/dbus-uuidgen --ensure="${machine_id:-/etc/machine-id}"
|
||||
}
|
||||
|
||||
stop_post() {
|
||||
[ ! -S /run/dbus/system_bus_socket ] || rm -f /run/dbus/system_bus_socket
|
||||
}
|
||||
|
||||
reload() {
|
||||
ebegin "Reloading $name configuration"
|
||||
/usr/bin/dbus-send --print-reply --system --type=method_call \
|
||||
--dest=org.freedesktop.DBus \
|
||||
/ org.freedesktop.DBus.ReloadConfig > /dev/null
|
||||
eend $?
|
||||
}
|
||||
@@ -0,0 +1,54 @@
|
||||
[build]
|
||||
type = "meson"
|
||||
|
||||
[build.flags]
|
||||
build_dir = "build"
|
||||
configure = ["-Dsystem_pid_file=/run/dbus/dbus.pid"]
|
||||
post_install = [
|
||||
"install -Dm755 $DEPOT_SPECDIR/dbus.initd $DESTDIR/etc/init.d/dbus",
|
||||
"install -Dm644 $DEPOT_SPECDIR/dbus.confd $DESTDIR/etc/conf.d/dbus",
|
||||
"install -Dm755 $DEPOT_SPECDIR/dbus-user.initd $DESTDIR/etc/user/init.d/dbus",
|
||||
"install -Dm644 $DEPOT_SPECDIR/dbus-user.confd $DESTDIR/etc/user/conf.d/dbus",
|
||||
"rm -r $DESTDIR/run",
|
||||
"chmod 4750 $DESTDIR/usr/lib/dbus-daemon-launch-helper",
|
||||
]
|
||||
keep = [ "etc/conf.d/dbus", "etc/user/conf.d/dbus" ]
|
||||
skip_tests = true
|
||||
|
||||
[dependencies]
|
||||
build = [
|
||||
"mallard-ducktype",
|
||||
"doxygen",
|
||||
"docbook-xsl",
|
||||
"meson",
|
||||
"python",
|
||||
"xmlto",
|
||||
"yelp-tools",
|
||||
"glib2"
|
||||
]
|
||||
runtime = [
|
||||
"expat",
|
||||
"glibc",
|
||||
"libcap-ng",
|
||||
]
|
||||
|
||||
[[manual_sources]]
|
||||
files = [
|
||||
"dbus.initd",
|
||||
"dbus.confd",
|
||||
"dbus-user.initd",
|
||||
"dbus-user.confd",
|
||||
"postinstall.sh"
|
||||
]
|
||||
|
||||
[package]
|
||||
description = "Freedesktop.org message bus system"
|
||||
homepage = "https://www.freedesktop.org/wiki/Software/dbus/"
|
||||
license = "AFL-2.1 OR GPL-2.0-or-later"
|
||||
name = "dbus"
|
||||
version = "1.16.2"
|
||||
|
||||
[[source]]
|
||||
extract_dir = "$name-$version"
|
||||
sha256 = "0ba2a1a4b16afe7bceb2c07e9ce99a8c2c3508e5dec290dbb643384bd6beb7e2"
|
||||
url = "https://dbus.freedesktop.org/releases/dbus/dbus-$version.tar.xz"
|
||||
@@ -0,0 +1,4 @@
|
||||
#!/bin/sh
|
||||
|
||||
chown root:messagebus usr/lib/dbus-daemon-launch-helper
|
||||
exec dbus-uuidgen --ensure=etc/machine-id
|
||||
Reference in New Issue
Block a user