3bcf4cc196
Comprehensive fix — not a fallback. Each recipe now has explicit [package] section with name and version. Version inference: - Git-source recipes without rev/branch: '0.1.0' (Red Bear convention) - Tar/git recipes with version in URL or dir name: extracted version - Sysroot-copy recipes: matched to toolchain version Affected: 250+ recipes across all categories (core, libs, dev, system, kde, qt, drivers, gpu, drm, kernel, userspace, etc.) Every recipe in the redbear-mini build chain that was missing [package] now has explicit version metadata. Cookbook can now always determine a version at packaging time, eliminating 'cannot guess version' failures. No cookbook fallback hack — the source of truth is recipe metadata.
42 lines
1.4 KiB
TOML
42 lines
1.4 KiB
TOML
[package]
|
|
name = "dbus"
|
|
version = "1.16.2"
|
|
|
|
#TODO: validate runtime (dbus-daemon --system + dbus-launch for session bus)
|
|
[source]
|
|
tar = "https://dbus.freedesktop.org/releases/dbus/dbus-1.16.2.tar.xz"
|
|
blake3 = "b1d1f22858a8f04665e5dca29d194f892620f00fd3e3f4e89dd208e78868436e"
|
|
patches = [
|
|
"redox.patch",
|
|
]
|
|
|
|
[build]
|
|
dependencies = [
|
|
"expat",
|
|
]
|
|
template = "meson"
|
|
mesonflags = [
|
|
"-Depoll=disabled",
|
|
"-Dx11_autolaunch=disabled",
|
|
"-Dsystemd=disabled",
|
|
"-Dlaunchd=disabled",
|
|
"-Dverbose_mode=true",
|
|
"-Dasserts=false",
|
|
"-Dchecks=false",
|
|
"-Dxml_docs=disabled",
|
|
"-Dducktype_docs=disabled",
|
|
"-Ddoxygen_docs=disabled",
|
|
# Force the system bus socket to /run/dbus/system_bus_socket. Without
|
|
# this, dbus-1.16.2's meson.build:946 defaults to
|
|
# {prefix}/{runstatedir}/dbus/system_bus_socket, which with the
|
|
# cookbook's -Dprefix=/usr and default runstatedir resolves to a path
|
|
# under /usr/var/run (not /run). All Red Bear OS D-Bus clients
|
|
# (redbear-sessiond, redbear-upower, redbear-polkit, redbear-udisks,
|
|
# and any program using dbus-1.pc) hardcode /run/dbus/system_bus_socket,
|
|
# so the compile-time default must match. This is the durable fix;
|
|
# the DBUS_SYSTEM_BUS_ADDRESS env var in 12_dbus.service is now
|
|
# redundant (kept as defense-in-depth for the daemon).
|
|
"-Druntime_dir=/run",
|
|
"-Dsystem_socket=/run/dbus/system_bus_socket",
|
|
]
|