Files
RedBear-OS/local
vasilito 34abdc1562
redbear-ci / check (push) Waiting to run
xwayland: port + un-defer; systemic autotools maintainer-mode fix
Un-defer xwayland in config/redbear-full.toml (it is a kwin build dependency).
Getting it to build required:

- cook_build script.rs: cookbook_configure now defeats autotools maintainer-mode
  regeneration. Release tarballs ship a complete build system, but extraction
  timestamp skew makes make re-run the version-pinned aclocal-<N>/automake-<N>
  the tarball was generated with, which the host (a different automake) lacks
  ('aclocal-1.NN: command not found'). Force generated files newer than their
  sources (staggered mtimes) and no-op ACLOCAL/AUTOMAKE/AUTOCONF/AUTOHEADER as a
  safety net. This unblocked the whole X11 autotools stack (libxcb, libx11,
  libxfont2, libxkbfile, ...) with no per-recipe edits.

- xwayland recipe: meson -> custom template so it can (1) overlay the host
  wayland-scanner onto the sysroot path meson resolves (the sysroot scanner is a
  Redox binary, unrunnable on the build host; it is a build-time-only generator
  emitting arch-independent C), and (2) unset COOKBOOK_DYNAMIC so the cross
  pkg-config resolves --static, pulling the X11 libs' Requires.private closure
  (xcb -> xau) — those libs are static-only on Redox (libtool has no Redox
  shared support), so the closure was otherwise dropped and the link failed on
  XauGetBestAuthByAddr/XauDisposeAuth.

- os/access.c: include <sys/utsname.h> on __redox__ (Redox lacks SIOCGIFCONF so
  the uname()-based DefineSelf is compiled; relibc provides uname/struct utsname).

Produces a proper Redox /usr/bin/Xwayland ELF.
2026-08-02 05:12:02 +03:00
..