From c9b937fbadba5624d36e9a7adf07debc22e12d6d Mon Sep 17 00:00:00 2001 From: Marcus Brinkmann Date: Tue, 16 Mar 2010 15:55:55 +0100 Subject: [PATCH 7/9] Add README for Windows CE. --- README.wince | 66 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 files changed, 66 insertions(+), 0 deletions(-) create mode 100644 README.wince diff --git a/README.wince b/README.wince new file mode 100644 index 0000000..616ce2e --- /dev/null +++ b/README.wince @@ -0,0 +1,58 @@ +DBus Daemon for Windows CE/Windows Mobile 6.5 +============================================= + +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 + + +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. -- 1.6.3.3