Commit 2d526985 authored by Martyn Russell's avatar Martyn Russell

Renamed DBus service files and desktop files for miner-fs

parent c29abd1d
......@@ -2,20 +2,33 @@ include $(top_srcdir)/Makefile.decl
SUBDIRS = db dbus modules languages icons ontologies
# Should do this for *.desktop.in.in
tracker-store.desktop.in: tracker-store.desktop.in.in
@sed -e "s|@libexecdir[@]|${libexecdir}|" \
@sed -e "s|@libexecdir[@]|${libexecdir}|" \
-e "s|@VERSION[@]|${VERSION}|" $< > $@
tracker-miner-fs.desktop.in: tracker-miner-fs.desktop.in.in
@sed -e "s|@libexecdir[@]|${libexecdir}|" \
-e "s|@VERSION[@]|${VERSION}|" $< > $@
autostartdir = $(sysconfdir)/xdg/autostart
autostart_in_in_files = tracker-store.desktop.in.in
autostart_in_files = tracker-store.desktop.in
autostart_DATA = tracker-store.desktop
autostart_in_in_files = \
tracker-store.desktop.in.in \
tracker-miner-fs.desktop.in.in
autostart_in_files = \
tracker-store.desktop.in \
tracker-miner-fs.desktop.in
autostart_DATA = \
tracker-store.desktop \
tracker-miner-fs.desktop
@INTLTOOL_DESKTOP_RULE@
pkgconfigdir = $(libdir)/pkgconfig
pkgconfig_DATA = \
tracker-$(TRACKER_API_VERSION).pc \
pkgconfig_DATA = \
tracker-$(TRACKER_API_VERSION).pc \
tracker-module-$(TRACKER_API_VERSION).pc
tracker-$(TRACKER_API_VERSION).pc: tracker.pc
......@@ -24,7 +37,9 @@ tracker-$(TRACKER_API_VERSION).pc: tracker.pc
tracker-module-$(TRACKER_API_VERSION).pc: tracker-module.pc
cp $< $@
CLEANFILES = $(autostart_DATA) $(autostart_in_files) \
CLEANFILES = \
$(autostart_DATA) \
$(autostart_in_files) \
tracker-$(TRACKER_API_VERSION).pc \
tracker-module-$(TRACKER_API_VERSION).pc
......
......@@ -7,7 +7,6 @@ config_DATA = \
tracker-daemon.xml \
tracker-resources.xml \
tracker-search.xml \
tracker-indexer.xml \
tracker-extract.xml \
tracker-resources-class.xml
......@@ -15,7 +14,7 @@ config_DATA = \
servicedir = $(DBUS_SERVICES_DIR)
service_in_files = \
org.freedesktop.Tracker.service.in \
org.freedesktop.Tracker.Indexer.service.in \
org.freedesktop.Tracker.Miner.FS.service.in \
org.freedesktop.Tracker.Extract.service.in
service_DATA = $(service_in_files:.service.in=.service)
......
[D-BUS Service]
Name=org.freedesktop.Tracker.Indexer
Exec=@libexecdir@/tracker-indexer
Exec=@libexecdir@/tracker-miner-fs
<?xml version="1.0" encoding="UTF-8"?>
<!--
<busconfig>
<policy context="default">
<deny send_interface="org.freedesktop.Tracker.Indexer"/>
<allow send_destination="org.freedesktop.Tracker"/>
</policy>
</busconfig>
-->
<node name="/">
<interface name="org.freedesktop.Tracker.Indexer">
<method name="Pause">
<annotation name="org.freedesktop.DBus.GLib.Async" value="true"/>
</method>
<method name="PauseForDuration">
<annotation name="org.freedesktop.DBus.GLib.Async" value="true"/>
<arg type="u" name="seconds" direction="in" />
</method>
<method name="Continue">
<annotation name="org.freedesktop.DBus.GLib.Async" value="true"/>
</method>
<method name="Shutdown">
<annotation name="org.freedesktop.DBus.GLib.Async" value="true"/>
</method>
<!-- Signals -->
<signal name="Status">
<arg type="d" name="elapsed_time" />
<arg type="s" name="current_module_name" />
<arg type="u" name="items_processed" />
<arg type="u" name="items_indexed" />
<arg type="u" name="items_remaining" />
</signal>
<signal name="Started" />
<signal name="Paused" />
<signal name="Continued" />
<signal name="Finished">
<arg type="d" name="elapsed_time" />
<arg type="u" name="items_processed" />
<arg type="u" name="items_indexed" />
<arg type="b" name="interrupted" />
</signal>
<signal name="ModuleStarted">
<arg type="s" name="module_name" />
</signal>
<signal name="ModuleFinished">
<arg type="s" name="module_name" />
</signal>
<signal name="IndexingError">
<arg type="s" name="reason" />
<arg type="b" name="requires_reindexing" />
</signal>
</interface>
</node>
[Desktop Entry]
Encoding=UTF-8
_Name=Tracker
_Comment=Tracker search and indexing service
_Name=Tracker Store
_Comment=Metadata database store and lookup manager
Icon=
Exec=@libexecdir@/tracker-store
Terminal=false
Type=Application
Categories=
Categories=GNOME;Utility
X-GNOME-Autostart-enabled=true
X-KDE-autostart-after=panel
X-KDE-StartupNotify=false
......@@ -15,6 +15,5 @@ NoDisplay=true
OnlyShowIn=GNOME;KDE;XFCE;
X-GNOME-Bugzilla-Bugzilla=GNOME
X-GNOME-Bugzilla-Product=tracker
X-GNOME-Bugzilla-Component=Indexer
X-GNOME-Bugzilla-Component=store
X-GNOME-Bugzilla-Version=@VERSION@
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