janitorial: move dbus service files into sysprofd

This is the only place they are really used directly, so keep them there.
This commit is contained in:
Christian Hergert
2023-07-18 16:13:01 -07:00
parent 8a631d8f88
commit 8dd7478e96
5 changed files with 7 additions and 11 deletions

View File

@ -259,8 +259,6 @@ int main(void) {
config_h.set10('HAVE_STDATOMIC_H', true)
endif
install_service_files = get_option('sysprofd') == 'bundled'
if need_glib
subdir('contrib')
endif

View File

@ -10,15 +10,6 @@ sysprof_version_conf.set('MINOR_VERSION', sysprof_version[1])
sysprof_version_conf.set('MICRO_VERSION', sysprof_version[2])
sysprof_version_conf.set('VERSION', meson.project_version())
if install_service_files
install_data([
'org.gnome.Sysprof3.Profiler.xml',
'org.gnome.Sysprof3.Service.xml',
],
install_dir: join_paths(datadir, 'dbus-1/interfaces'),
)
endif
if need_libsysprof_capture
subdir('libsysprof-capture')
endif

View File

@ -78,3 +78,10 @@ i18n.merge_file(
install: true,
install_dir: join_paths(datadir, 'polkit-1/actions'),
)
install_data([
'org.gnome.Sysprof3.Profiler.xml',
'org.gnome.Sysprof3.Service.xml',
],
install_dir: join_paths(datadir, 'dbus-1/interfaces'),
)