Import Upstream version 2.72.4
This commit is contained in:
commit
4ef3ff9793
2003 changed files with 1332420 additions and 0 deletions
31
gio/tests/services/meson.build
Normal file
31
gio/tests/services/meson.build
Normal file
|
|
@ -0,0 +1,31 @@
|
|||
dbus_service_files = [
|
||||
'org.freedesktop.portal.Documents.service',
|
||||
'org.gtk.GDBus.FakeService.service'
|
||||
]
|
||||
|
||||
srcdir_cdata = configuration_data()
|
||||
srcdir_cdata.set('installed_tests_dir', meson.current_build_dir() / '..')
|
||||
|
||||
installed_cdata = configuration_data()
|
||||
installed_cdata.set('installed_tests_dir', installed_tests_execdir)
|
||||
|
||||
foreach service_file : dbus_service_files
|
||||
configure_file(
|
||||
input: service_file + '.in',
|
||||
output: service_file,
|
||||
configuration: srcdir_cdata,
|
||||
)
|
||||
if installed_tests_enabled
|
||||
# Build a second copy of the service file for the installed
|
||||
# version of the tests.
|
||||
configure_file(
|
||||
input: service_file + '.in',
|
||||
output: service_file + '.to-install',
|
||||
configuration: installed_cdata,
|
||||
)
|
||||
install_data(meson.current_build_dir() / service_file + '.to-install',
|
||||
install_dir: installed_tests_execdir / 'services',
|
||||
rename: [service_file],
|
||||
)
|
||||
endif
|
||||
endforeach
|
||||
|
|
@ -0,0 +1,3 @@
|
|||
[D-BUS Service]
|
||||
Name=org.freedesktop.portal.Documents
|
||||
Exec=@installed_tests_dir@/fake-document-portal
|
||||
|
|
@ -0,0 +1,3 @@
|
|||
[D-BUS Service]
|
||||
Name=org.gtk.GDBus.Examples.ObjectManager
|
||||
Exec=@abs_top_builddir@/gio/tests/gdbus-example-objectmanager-server
|
||||
3
gio/tests/services/org.gtk.GDBus.FakeService.service.in
Normal file
3
gio/tests/services/org.gtk.GDBus.FakeService.service.in
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
[D-BUS Service]
|
||||
Name=org.gtk.GDBus.FakeService
|
||||
Exec=@installed_tests_dir@/fake-service-name
|
||||
Loading…
Add table
Add a link
Reference in a new issue