Skip to content

Commit

Permalink
Merge branch 'main' into danirabbit/battery-notification
Browse files Browse the repository at this point in the history
  • Loading branch information
danirabbit authored Oct 8, 2024
2 parents 66e52b2 + 11ecfdd commit 1a930b5
Show file tree
Hide file tree
Showing 11 changed files with 36 additions and 36 deletions.
36 changes: 0 additions & 36 deletions data/meson.build
Original file line number Diff line number Diff line change
@@ -1,6 +1,3 @@
autostartdir = join_paths(get_option('sysconfdir'), 'xdg', 'autostart')
schemadir = join_paths(get_option('datadir'), 'glib-2.0', 'schemas')

i18n.merge_file(
input: meson.project_name() + '.desktop.in',
output: meson.project_name() + '.desktop',
Expand All @@ -19,39 +16,6 @@ i18n.merge_file(
install_dir: get_option('datadir') / 'metainfo',
)

install_data(
'installer.desktop',
install_dir: join_paths(get_option('datadir'), 'xsessions')
)

install_data(
'autostart.desktop',
install_dir: autostartdir,
rename: meson.project_name() + '.desktop'
)

install_data(
'compositor-autostart.desktop',
install_dir: autostartdir,
rename: meson.project_name() + '.compositor.desktop'
)

install_subdir(
'gsd',
install_dir: autostartdir,
strip_directory: true
)

install_data(
'installer.session',
install_dir: join_paths(get_option('datadir'), 'gnome-session', 'sessions')
)

install_data(
'installer-default-settings.gschema.override',
install_dir: schemadir
)

# Test the desktop file
validate_desktop_exe = find_program('desktop-file-validate')
test ('Validate desktop file', validate_desktop_exe,
Expand Down
1 change: 1 addition & 0 deletions meson.build
Original file line number Diff line number Diff line change
Expand Up @@ -41,5 +41,6 @@ subdir('po')
subdir('common')
subdir('daemon')
subdir('src')
subdir('session')
subdir('data')
subdir('test')
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
35 changes: 35 additions & 0 deletions session/meson.build
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
autostartdir = get_option('sysconfdir') / 'xdg' / 'autostart'
schemadir = get_option('datadir') / 'glib-2.0' / 'schemas'

install_data(
'autostart.desktop',
install_dir: autostartdir,
rename: meson.project_name() + '.desktop'
)

install_data(
'compositor-autostart.desktop',
install_dir: autostartdir,
rename: meson.project_name() + '.compositor.desktop'
)

install_data(
'installer.desktop',
install_dir: get_option('datadir') / 'xsessions'
)

install_data(
'installer.session',
install_dir: get_option('datadir') / 'gnome-session' / 'sessions'
)

install_data(
'installer-default-settings.gschema.override',
install_dir: schemadir
)

install_subdir(
'gsd',
install_dir: autostartdir,
strip_directory: true
)

0 comments on commit 1a930b5

Please sign in to comment.