Files
RedBear-OS/local/recipes/system/dbus/source/README.wince
T
vasilito f31522130f fix: comprehensive boot warnings and exceptions — fixable silenced, unfixable diagnosed
Build system (5 gaps hardened):
- COOKBOOK_OFFLINE defaults to true (fork-mode)
- normalize_patch handles diff -ruN format
- New 'repo validate-patches' command (25/25 relibc patches)
- 14 patched Qt/Wayland/display recipes added to protected list
- relibc archive regenerated with current patch chain

Boot fixes (fixable):
- Full ISO EFI partition: 16 MiB → 1 MiB (matches mini, BIOS hardcoded 2 MiB offset)
- D-Bus system bus: absolute /usr/bin/dbus-daemon path (was skipped)
- redbear-sessiond: absolute /usr/bin/redbear-sessiond path (was skipped)
- daemon framework: silenced spurious INIT_NOTIFY warnings for oneshot_async services (P0-daemon-silence-init-notify.patch)
- udev-shim: demoted INIT_NOTIFY warning to INFO (expected for oneshot_async)
- relibc: comprehensive named semaphores (sem_open/close/unlink) replacing upstream todo!() stubs
- greeterd: Wayland socket timeout 15s → 30s (compositor DRM wait)
- greeter-ui: built and linked (header guard unification, sem_compat stubs removed)
- mc: un-ignored in both configs, fixed glib/libiconv/pcre2 transitive deps
- greeter config: removed stale keymapd dependency from display/greeter services
- prefix toolchain: relibc headers synced, _RELIBC_STDLIB_H guard unified

Unfixable (diagnosed, upstream):
- i2c-hidd: abort on no-I2C-hardware (QEMU) — process::exit → relibc abort
- kded6/greeter-ui: page fault 0x8 — Qt library null deref
- Thread panics fd != -1 — Rust std library on Redox
- DHCP timeout / eth0 MAC — QEMU user-mode networking
- hwrngd/thermald — no hardware RNG/thermal in VM
- live preload allocation — BIOS memory fragmentation, continues on demand
2026-05-05 20:20:37 +01:00

82 lines
2.7 KiB
Plaintext

DBus Daemon for Windows CE/Windows Mobile 6.5
=============================================
Bugs in upstream for any window version:
* MoveFileExA < 0 result check bug
* double dbus_free somewhere I forgot where (check in -ugly)
* alignment issue
* CreateProcess process information handle leak
* _dbus_getsid NULL vs INVALID_HANDLE_VALUE
* win_account_to_sid
Customisation
=============
1) At installation, the following registry value should be set to the
installation directory of the dbus installation (the directory
containing the bin, etc, share folders):
HKLM\Software\freedesktop\DBus\Install Directory
2) Instead of environment variable DBUS_VERBOSE, use
HKLM\Software\freedesktop\DBus\Verbose
2) The keyring directory is MYDOCUMENTS\dbus-keyrings, not
HOMEPATH\.dbus-keyrings.
Compilation
===========
./configure --host=arm-mingw32ce CPPFLAGS=-I/path/to/expat/include LDFLAGS=-L/path/to/expat/lib
A recent version of libtool is required, with this change:
2010-02-28 Pierre Ossman <ossman@ossman.lkpg.cendio.se> (tiny change)
Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
Fix deplibs check fallback for 64-bit Windows and Windows CE.
* libltdl/m4/libtool.m4 (_LT_CHECK_MAGIC_METHOD): Accept file formats
'pe-arm-wince' and 'pe-x86-64'. Add note about consistency with ...
* libltdl/config/ltmain.m4sh (func_win32_libid): ... the respective
pattern here; sync pattern from the former.
* tests/deplibs-mingw.at (deplibs without file command): New
file, new test.
* Makefile.am (TESTSUITE_AT): Update.
* NEWS: Update.
MB vs WCHAR
===========
Windows CE only supports the Unicode interface, while DBus Daemon uses
the Multi-Byte interface on Windows by default. The glue code does
not support multibyte in all cases. In particular, the _mbsrchr
function is not correctly implemented. It could be correctly
implemented, or dbus daemon could use the wchar interface more
consistently on all Windows targets. For now, the Windows CE port
will only work for filesystems without some weird characters in file
names. Is this a serious limitation?
Known Issues
============
Autolaunch is broken so far.
Environment variables are faked. Some are punted to the registry, but
in any case they can not be used reliably for IPC.
The test suite is not ported yet.
dbus-pipe.c:
* Uses libc file descriptors. Needed for --print-address and
--print-pid which probably don't work yet.
dbus-sysdeps-win.c:
* Backtraces have been disabled.
* _dbus_fd_set_close_on_exec Not supported, maybe we should disable
the warning.
* SearchPathA: Uses HKLM\\Software\\freedesktop\\DBus\\Install Directory
to locate binaries.