feat: Phase 1 & 2 - Build system and D-Bus layer
Phase 1: Build System & Module Skeleton - Set up Meson build system with EFL dependencies - Created module entry point with e_modapi_init/shutdown/save - Implemented configuration system using EET - Added module.desktop metadata file - Configured proper installation paths Phase 2: D-Bus Layer (iwd Backend) - Implemented D-Bus connection management to net.connman.iwd - Created device abstraction layer (iwd_device.c) for Wi-Fi interfaces - Created network abstraction layer (iwd_network.c) for access points - Implemented D-Bus agent for passphrase requests (iwd_agent.c) - Added ObjectManager support for device/network discovery - Implemented daemon restart detection and reconnection - Property change signal handling for devices and networks Features: - Connects to system D-Bus and iwd daemon - Discovers wireless devices and networks via ObjectManager - Monitors iwd daemon availability (handles restart) - Agent registered for WPA/WPA2/WPA3 authentication - Signal-driven updates (no polling) Files created: 16 source/header files Build status: Compiles successfully with gcc 15.2.1 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
This commit is contained in:
commit
8cefafafb8
16 changed files with 1822 additions and 0 deletions
17
data/meson.build
Normal file
17
data/meson.build
Normal file
|
|
@ -0,0 +1,17 @@
|
|||
# Install desktop file
|
||||
install_data('module.desktop',
|
||||
install_dir: dir_module
|
||||
)
|
||||
|
||||
# TODO: Theme compilation will be added in Phase 6
|
||||
# edje_cc = find_program('edje_cc', required: false)
|
||||
# if edje_cc.found()
|
||||
# custom_target('theme',
|
||||
# input: 'theme.edc',
|
||||
# output: 'e-module-iwd.edj',
|
||||
# command: [edje_cc, '-id', join_paths(meson.current_source_dir(), 'icons'),
|
||||
# '@INPUT@', '@OUTPUT@'],
|
||||
# install: true,
|
||||
# install_dir: dir_module
|
||||
# )
|
||||
# endif
|
||||
8
data/module.desktop
Normal file
8
data/module.desktop
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
[Desktop Entry]
|
||||
Type=Link
|
||||
Name=IWD Wi-Fi
|
||||
Name[en]=IWD Wi-Fi Manager
|
||||
Comment=Manage Wi-Fi connections using iwd
|
||||
Comment[en]=Control Wi-Fi networks using Intel Wireless Daemon
|
||||
Icon=e-module-iwd
|
||||
X-Enlightenment-ModuleType=system
|
||||
Loading…
Add table
Add a link
Reference in a new issue