Add standalone login shell for diya-session-manager backend

This commit is contained in:
DanyLE
2025-03-08 00:45:13 +01:00
parent f722acdd20
commit dd8f2b3011
9 changed files with 385 additions and 10 deletions

View File

@@ -48,18 +48,38 @@ foreach proto : wl_protocols
command: [ wayland_scanner, 'public-code', '@INPUT@', '@OUTPUT@' ] )
endforeach
src = [
'src/base.c',
gnome=import('gnome')
base = [
'src/base.c'
]
dm_src = [
base,
'src/launcher.c',
'src/background.c',
'src/wayland.c',
'src/shell.c',
'src/foreign.c',
'src/session.c',
'src/main.c',
'src/wayland.c',
'src/dm.c',
wayland_targets]
executable(
'diya-shell',
src,
dm_src,
dependencies: [gtk, gtk_layer_shell, wayland_client])
login_src = [
base,
'src/login-shell.c',
'src/login.c'
]
login_resource = gnome.compile_resources('resources','resources/login-shell/gresource.xml')
executable(
'diya-login-shell',
login_src,
login_resource,
dependencies: [gtk, gtk_layer_shell, wayland_client])