[tracker/wip/carlosg/portal: 105/113] portal: Add DBus service file
- From: Carlos Garnacho <carlosg src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [tracker/wip/carlosg/portal: 105/113] portal: Add DBus service file
- Date: Sun, 21 Jun 2020 09:58:43 +0000 (UTC)
commit fcadfccb334bab0302c7250f9a2df66c2c332d2b
Author: Carlos Garnacho <carlosg gnome org>
Date: Fri Jan 24 14:09:13 2020 +0100
portal: Add DBus service file
So the service can be autostarted
src/portal/meson.build | 8 ++++++++
src/portal/org.freedesktop.portal.Tracker.service.in | 3 +++
2 files changed, 11 insertions(+)
---
diff --git a/src/portal/meson.build b/src/portal/meson.build
index 2a508079d..975cfbfd7 100644
--- a/src/portal/meson.build
+++ b/src/portal/meson.build
@@ -13,3 +13,11 @@ executable('xdg-tracker-portal', sources,
dependencies: [tracker_sparql_dep],
include_directories: [commoninc, configinc, srcinc],
)
+
+dbus_service_file = configure_file(
+ input: 'org.freedesktop.portal.Tracker.service.in',
+ output: 'org.freedesktop.portal.Tracker.service',
+ configuration: conf,
+ install: true,
+ install_dir: dbus_services_dir,
+)
diff --git a/src/portal/org.freedesktop.portal.Tracker.service.in
b/src/portal/org.freedesktop.portal.Tracker.service.in
new file mode 100644
index 000000000..0b4cf2da8
--- /dev/null
+++ b/src/portal/org.freedesktop.portal.Tracker.service.in
@@ -0,0 +1,3 @@
+[D-BUS Service]
+Name=org.freedesktop.portal.Tracker
+Exec=@libexecdir@/xdg-tracker-portal
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]