Commit edbce6fe authored by Alexander Mikhaylenko's avatar Alexander Mikhaylenko

data: Add tracker service files

parent ed3f104d
Pipeline #52074 passed with stages
in 16 minutes and 26 seconds
......@@ -74,5 +74,27 @@ configure_file (
install_dir: join_paths (datadir, 'tracker', 'domain-ontologies')
)
service_conf = configuration_data()
service_conf.set('appid', application_id)
service_conf.set('libexecdir', libexecdir)
services = [
'Tracker1',
'Tracker1.Miner.Applications',
'Tracker1.Miner.Extract',
'Tracker1.Miner.Files',
'Tracker1.Writeback',
]
foreach service: services
configure_file (
input: 'org.gnome.Games.@0@.service.in'.format(service),
output: '@0@.@1@.service'.format(application_id, service),
configuration: service_conf,
install: true,
install_dir: join_paths (datadir, 'dbus-1', 'services')
)
endforeach
subdir ('icons')
subdir ('options')
[D-BUS Service]
Name=@appid@.Tracker1.Miner.Applications
Exec=@libexecdir@/tracker-miner-apps -d @appid@
SystemdService=tracker-miner-apps.service
# Miner details needed for tracker-control
Path=/org/freedesktop/Tracker1/Miner/Applications
NameSuffix=Miner.Applications
DisplayName=Applications
Comment=Applications data miner
[D-BUS Service]
Name=@appid@.Tracker1.Miner.Extract
Exec=@libexecdir@/tracker-extract -d @appid@
SystemdService=tracker-extract.service
# Miner details needed for tracker-control
Path=/org/freedesktop/Tracker1/Miner/Extract
NameSuffix=Miner.Extract
DisplayName=Extractor
Comment=Metadata extractor
[D-BUS Service]
Name=@appid@.Tracker1.Miner.Files
Exec=@libexecdir@/tracker-miner-fs -d @appid@
SystemdService=tracker-miner-fs.service
# Miner details needed for tracker-control
Path=/org/freedesktop/Tracker1/Miner/Files
NameSuffix=Miner.Files
DisplayName=File System
Comment=File system data miner
[D-BUS Service]
Name=@appid@.Tracker1.Writeback
Exec=@libexecdir@/tracker-writeback -d @appid@
SystemdService=tracker-writeback.service
[D-BUS Service]
Name=@appid@.Tracker1
Exec=@libexecdir@/tracker-store -d @appid@
SystemdService=tracker-store.service
......@@ -51,6 +51,7 @@ podir = join_paths (meson.source_root (), 'po')
prefix = get_option('prefix')
datadir = join_paths (prefix, get_option ('datadir'))
libdir = join_paths (prefix, get_option ('libdir'))
libexecdir = join_paths (prefix, get_option ('libexecdir'))
localedir = join_paths (prefix, get_option ('localedir'))
options_dir = join_paths (datadir, meson.project_name(), 'options')
plugins_dir = join_paths (libdir, meson.project_name(), 'plugins')
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment