[tracker] data: Add tracker-extract autostart file



commit 061930dc61aa4f27a60961c6abbaeb89c149d784
Author: Carlos Garnacho <carlosg gnome org>
Date:   Fri Mar 14 18:05:20 2014 +0100

    data: Add tracker-extract autostart file
    
    This should run together with tracker-miner-fs
    
    https://bugzilla.gnome.org/show_bug.cgi?id=725607

 data/Makefile.am                   |    8 +++++++-
 data/tracker-extract.desktop.in.in |   19 +++++++++++++++++++
 2 files changed, 26 insertions(+), 1 deletions(-)
---
diff --git a/data/Makefile.am b/data/Makefile.am
index c08feda..d126371 100644
--- a/data/Makefile.am
+++ b/data/Makefile.am
@@ -1,6 +1,10 @@
 SUBDIRS = dbus languages icons ontologies miners gschemas
 
 # First we fix the VERSION and libexecdir in the desktop files
+tracker-extract.desktop.in: tracker-extract.desktop.in.in
+       @sed -e "s|@libexecdir[ ]|${libexecdir}|"      \
+            -e "s|@VERSION[ ]|${VERSION}|" $< > $@
+
 tracker-store.desktop.in: tracker-store.desktop.in.in
        @sed -e "s|@libexecdir[ ]|${libexecdir}|"      \
             -e "s|@VERSION[ ]|${VERSION}|" $< > $@
@@ -14,12 +18,14 @@ tracker-miner-rss.desktop.in: tracker-miner-rss.desktop.in.in
             -e "s|@VERSION[ ]|${VERSION}|" $< > $@
 
 desktop_in_in_files =                                  \
+       tracker-extract.desktop.in.in                  \
        tracker-store.desktop.in.in                    \
        tracker-miner-fs.desktop.in.in                 \
        tracker-miner-rss.desktop.in.in
 
 # Second take those new .in files and translate them
 desktop_in_files =                                     \
+       tracker-extract.desktop.in                     \
        tracker-store.desktop.in                       \
        tracker-miner-fs.desktop.in                    \
        tracker-miner-rss.desktop.in
@@ -30,7 +36,7 @@ autostart_DATA =                                       \
        tracker-store.desktop
 
 if HAVE_TRACKER_MINER_FS
-autostart_DATA += tracker-miner-fs.desktop
+autostart_DATA += tracker-miner-fs.desktop tracker-extract.desktop
 endif
 
 if HAVE_TRACKER_MINER_RSS
diff --git a/data/tracker-extract.desktop.in.in b/data/tracker-extract.desktop.in.in
new file mode 100644
index 0000000..f832b32
--- /dev/null
+++ b/data/tracker-extract.desktop.in.in
@@ -0,0 +1,19 @@
+[Desktop Entry]
+_Name=Tracker Metadata Extractor
+_Comment=Extracts metadata from local files
+Icon=
+Exec= libexecdir@/tracker-extract
+Terminal=false
+Type=Application
+Categories=Utility;
+X-Meego-Priority=Late
+X-GNOME-Autostart-enabled=true
+X-KDE-autostart-after=panel
+X-KDE-StartupNotify=false
+X-KDE-UniqueApplet=true
+NoDisplay=true
+OnlyShowIn=GNOME;KDE;XFCE;X-MEEGO-HS;X-MEEGO-NB;X-IVI;Unity;
+X-GNOME-Bugzilla-Bugzilla=GNOME
+X-GNOME-Bugzilla-Product=tracker
+X-GNOME-Bugzilla-Component=Extractor
+X-GNOME-Bugzilla-Version= VERSION@


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]