Three defects that were latent until GCC 14+ made implicit declarations
and pointer-type mismatches errors. None was a missing implementation --
in every case the code existed and only the declaration was wrong.
libinput
Carried its own bundled libudev.h that shadowed the real one from the
libudev recipe, which it already declares as a dependency. The bundled
copy lacked udev_device_get_sysattr_value(), so udev/libinput-device-
group.c got an implicit declaration and then an int-to-pointer
assignment. The real header is a strict superset -- nothing is declared
in the bundled copy that the real one lacks -- so the bundled file is
dead code that shadows a real implementation, which
LOCAL-FORK-SUPREMACY-POLICY.md Rule 4 requires removing.
linux-kpi
ieee80211_register_rx_handler() is fully implemented in
src/rust_impl/mac80211.rs as #[no_mangle] extern "C", and
ieee80211_rx_drain()'s own doc comment refers to it, but it was never
declared in c_headers/net/mac80211.h. Declared it.
redbear-iwlwifi
- rb_iwlwifi_bridge_register_rx() is used ~1800 lines before its
definition with no forward declaration. Added one at file scope.
- bridge_rx_callback was declared here as taking void *hw, while its
Rust definition in src/bridge/callback.rs takes *mut Ieee80211Hw and
linux-kpi's RxCallback type expects struct ieee80211_hw *. The C
declaration was simply wrong; corrected to match the implementation.
All three cook clean.
Per local/docs/REDBEAR-FIRST-CLASS-CITIZEN-POLICY.md (added in the previous
commit), every redbear-* recipe is a first-class citizen of redbear-mini.
Before this commit: 24 redbear-* recipes explicitly listed in
config/redbear-mini.toml [packages]. 24 were missing (the
13 fully-orphaned recipes + 11 recipes that were only in redbear-full).
After this commit: ALL 48 redbear-* recipes explicitly listed in
config/redbear-mini.toml [packages]. config/redbear-full.toml inherits
from redbear-mini.toml via the include chain, so all 48 reach the full
ISO transitively (verified via grep of [packages] sections in both
configs).
The wiring also enables first-class building of:
- 4 driver recipes (redbear-btusb, redbear-hid-core, redbear-input-headers,
redbear-iwlwifi)
- 5 firmware recipes (redbear-firmware + 4 named subsets)
- 11 system services (scheme daemons, D-Bus daemons, login/greeter stack,
IME, accessibility, keymapd)
- 4 USB class drivers (acmd, ecmd, ftdi, usbaudiod)
- 5 D-Bus daemons (sessiond, polkit, udisks, upower, notifications,
statusnotifierwatcher)
- 1 Wayland compositor (redbear-compositor)
- 4 library-only recipes (hid-core, login-protocol, tui-theme, passwd)
- 1 meta-package (redbear-meta)
- 1 ufw prototype (redbear-ufw, with REDBEAR-UFW-STATUS.md explaining
its intentionally-orphaned lifecycle)
Also: redbear-input-headers added as a build dep of libinput. The
recipe at recipes/libs/libinput/recipe.toml previously only depended on
libevdev + libudev. The Linux input header definitions are needed by
libinput's meson build (per AGENTS.md 'linux-input-headers' policy,
redbear-input-headers is the canonical reference implementation).
libevdev already declared redbear-input-headers as a dep; libinput now
declares it explicitly too.
Verified: 'for r in $(find local/recipes -maxdepth 3 -type d -name
"redbear-*" -not -path "*/target/*"); do grep -q $r config/redbear-mini.toml;
done' returns 48/48 ✓.
sync-versions.sh --check passes (75 Cat 1 crates, 0 drift).
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.
Bump the lower-delta graphics-stack lane to real upstream latest stable
on 2026-07-02. Per AGENTS.md fork-adaptation policy, the local patches
in local/patches/{libdrm,libwayland,libevdev,libinput}/ must be re-applied
against the new source trees before the next build; rebase is open work.
Versions resolved against authoritative upstream registries (real latest stable):
libwayland 1.24.0 -> 1.25.0 (gitlab.freedesktop.org/wayland/wayland)
wayland-protocols 1.38 -> 1.49 (gitlab.freedesktop.org/wayland/wayland-protocols)
libdrm 2.4.125 -> 2.4.134 (gitlab.freedesktop.org/mesa/libdrm)
libxkbcommon 1.7.0 -> 1.9.2 (github.com/xkbcommon/libxkbcommon mirror)
libevdev 1.13.2 -> 1.13.6 (freedesktop.org/software/libevdev)
libinput 1.30.2 -> 1.31.3 (gitlab.freedesktop.org/libinput/libinput)
seatd-redox 0.9.1 -> 0.9.3 (git.sr.ht/~kennylevinsen/seatd)
expat 2.5.0 -> 2.8.2 (github.com/libexpat/libexpat)
BLAKE3 hashes verified against the actual downloaded upstream tarballs.
Not changed (already at or near upstream latest):
- dbus 1.16.2 (== upstream latest)
- xkeyboard-config (no standalone recipe; consumed via libxkbcommon)
- linux-input-headers (Red Bear original, not upstream)
Patches NOT yet rebased: see local/patches/{libdrm,libwayland,libevdev,
libinput}/. The dependency surfaces they patch (libdrm 2.4.134 has new
DRM modifier code, libwayland 1.25.0 has new server-decoder helpers,
libinput 1.31 has new touchpad gesture tables) will need review before
re-fetch.