f31522130f
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
141 lines
3.6 KiB
CMake
141 lines
3.6 KiB
CMake
add_definitions("-DDBUS_COMPILATION")
|
|
|
|
set(dbus_send_SOURCES
|
|
dbus-print-message.c
|
|
dbus-print-message.h
|
|
dbus-send.c
|
|
tool-common.c
|
|
tool-common.h
|
|
)
|
|
|
|
set(dbus_monitor_SOURCES
|
|
dbus-monitor.c
|
|
dbus-print-message.c
|
|
dbus-print-message.h
|
|
tool-common.c
|
|
tool-common.h
|
|
)
|
|
|
|
set(dbus_test_tool_SOURCES
|
|
dbus-echo.c
|
|
dbus-spam.c
|
|
tool-common.c
|
|
tool-common.h
|
|
test-tool.c
|
|
test-tool.h
|
|
)
|
|
|
|
set(dbus_update_activation_environment_SOURCES
|
|
dbus-update-activation-environment.c
|
|
tool-common.c
|
|
tool-common.h
|
|
)
|
|
|
|
if(WIN32)
|
|
set(dbus_launch_SOURCES
|
|
dbus-launch-win.c
|
|
)
|
|
else(WIN32)
|
|
set(dbus_launch_SOURCES
|
|
dbus-launch.c
|
|
tool-common.c
|
|
tool-common.h
|
|
)
|
|
endif()
|
|
|
|
if(DBUS_BUILD_X11)
|
|
set(dbus_launch_SOURCES
|
|
${dbus_launch_SOURCES}
|
|
dbus-launch-x11.c
|
|
)
|
|
include_directories(${X11_INCLUDE_DIR})
|
|
endif()
|
|
|
|
set(dbus_cleanup_sockets_SOURCES
|
|
dbus-cleanup-sockets.c
|
|
)
|
|
|
|
set(dbus_run_session_SOURCES
|
|
dbus-run-session.c
|
|
tool-common.c
|
|
tool-common.h
|
|
)
|
|
|
|
set(dbus_uuidgen_SOURCES
|
|
dbus-uuidgen.c
|
|
)
|
|
|
|
if(NOT WIN32)
|
|
add_executable(dbus-cleanup-sockets ${dbus_cleanup_sockets_SOURCES})
|
|
target_link_libraries(dbus-cleanup-sockets ${DBUS_LIBRARIES})
|
|
install(TARGETS dbus-cleanup-sockets ${INSTALL_TARGETS_DEFAULT_ARGS})
|
|
endif()
|
|
|
|
if(WIN32)
|
|
add_executable_version_info(dbus_send_SOURCES "dbus-send")
|
|
endif()
|
|
|
|
add_executable(dbus-send ${dbus_send_SOURCES})
|
|
target_link_libraries(dbus-send ${DBUS_LIBRARIES})
|
|
install(TARGETS dbus-send ${INSTALL_TARGETS_DEFAULT_ARGS})
|
|
|
|
if(WIN32)
|
|
add_executable_version_info(dbus_test_tool_SOURCES "dbus-test-tool")
|
|
endif()
|
|
|
|
add_executable(dbus-test-tool ${dbus_test_tool_SOURCES})
|
|
target_link_libraries(dbus-test-tool ${DBUS_LIBRARIES})
|
|
install(TARGETS dbus-test-tool ${INSTALL_TARGETS_DEFAULT_ARGS})
|
|
|
|
if(WIN32)
|
|
add_executable_version_info(dbus_update_activation_environment_SOURCES "dbus-update-activation-environment")
|
|
endif()
|
|
if(WIN32 AND NOT MSVC)
|
|
add_uac_manifest(dbus_update_activation_environment_SOURCES)
|
|
endif()
|
|
add_executable(dbus-update-activation-environment ${dbus_update_activation_environment_SOURCES})
|
|
target_link_libraries(dbus-update-activation-environment ${DBUS_LIBRARIES})
|
|
install(TARGETS dbus-update-activation-environment ${INSTALL_TARGETS_DEFAULT_ARGS})
|
|
|
|
if(WIN32)
|
|
add_executable_version_info(dbus_launch_SOURCES "dbus-launch")
|
|
endif()
|
|
|
|
add_executable(dbus-launch ${dbus_launch_SOURCES})
|
|
target_link_libraries(dbus-launch ${DBUS_LIBRARIES})
|
|
if(DBUS_BUILD_X11)
|
|
target_link_libraries(dbus-launch ${X11_LIBRARIES} )
|
|
endif()
|
|
install(TARGETS dbus-launch ${INSTALL_TARGETS_DEFAULT_ARGS})
|
|
|
|
if(WIN32)
|
|
add_executable_version_info(dbus_monitor_SOURCES "dbus-monitor")
|
|
endif()
|
|
|
|
add_executable(dbus-monitor ${dbus_monitor_SOURCES})
|
|
target_link_libraries(dbus-monitor ${DBUS_LIBRARIES})
|
|
install(TARGETS dbus-monitor ${INSTALL_TARGETS_DEFAULT_ARGS})
|
|
|
|
if(WIN32)
|
|
add_executable_version_info(dbus_run_session_SOURCES "dbus-run-session")
|
|
endif()
|
|
|
|
add_executable(dbus-run-session ${dbus_run_session_SOURCES})
|
|
target_link_libraries(dbus-run-session ${DBUS_INTERNAL_LIBRARIES})
|
|
install(TARGETS dbus-run-session ${INSTALL_TARGETS_DEFAULT_ARGS})
|
|
|
|
if(NOT WIN32)
|
|
add_executable(dbus-uuidgen ${dbus_uuidgen_SOURCES})
|
|
target_link_libraries(dbus-uuidgen ${DBUS_LIBRARIES})
|
|
install(TARGETS dbus-uuidgen ${INSTALL_TARGETS_DEFAULT_ARGS})
|
|
endif()
|
|
|
|
# create the /var/lib/dbus directory for dbus-uuidgen
|
|
install(DIRECTORY DESTINATION ${CMAKE_INSTALL_FULL_LOCALSTATEDIR}/lib/dbus)
|
|
|
|
set(EXAMPLES_SCRIPTS
|
|
GetAllMatchRules.py
|
|
)
|
|
|
|
install(FILES ${EXAMPLES_SCRIPTS} DESTINATION ${CMAKE_INSTALL_DATADIR}/doc/dbus/examples)
|