[tracker] tracker-miner-flickr: Added missing .desktop file



commit 54e0e9948b1d479b78d8bac649bb8ffc730bcf47
Author: Martyn Russell <martyn lanedo com>
Date:   Tue May 11 15:37:34 2010 +0100

    tracker-miner-flickr: Added missing .desktop file

 data/Makefile.am                                   |   25 +++++++++++++++++++-
 ...sktop.in.in => tracker-miner-flickr.desktop.in} |    0
 data/tracker-miner-flickr.desktop.in.in            |   18 ++++++++++++++
 3 files changed, 42 insertions(+), 1 deletions(-)
---
diff --git a/data/Makefile.am b/data/Makefile.am
index e1a45ee..77c441f 100644
--- a/data/Makefile.am
+++ b/data/Makefile.am
@@ -2,7 +2,8 @@ include $(top_srcdir)/Makefile.decl
 
 SUBDIRS = db dbus languages icons ontologies miners
 
-# Should do this for *.desktop.in.in
+# Autostart .in.in files are used to fix VERSION and libexecdir
+# variables in the .in files.
 tracker-status-icon.desktop.in: tracker-status-icon.desktop.in.in
 	@sed -e "s|@bindir[ ]|${bindir}|" 		\
 	     -e "s|@VERSION[ ]|${VERSION}|" $< > $@
@@ -21,6 +22,12 @@ tracker-miner-rss.desktop.in: tracker-miner-rss.desktop.in.in
 	     -e "s|@VERSION[ ]|${VERSION}|" $< > $@
 endif
 
+if HAVE_MINER_FLICKR
+tracker-miner-flickr.desktop.in: tracker-miner-flickr.desktop.in.in
+	@$(SED) -e "s|@libexecdir[ ]|${libexecdir}|" 	\
+	     -e "s|@VERSION[ ]|${VERSION}|" $< > $@
+endif
+
 autostartdir = $(sysconfdir)/xdg/autostart
 autostart_in_in_files = 				\
 	tracker-status-icon.desktop.in.in		\
@@ -31,6 +38,12 @@ if USING_MINER_RSS
 autostart_in_in_files += tracker-miner-rss.desktop.in.in
 endif
 
+if HAVE_MINER_FLICKR
+autostart_in_in_files += tracker-miner-flickr.desktop.in.in
+endif
+
+# Autostart .in files are used for translations. Optional extras to
+# the regular miners are listed below.
 autostart_in_files = 					\
 	tracker-status-icon.desktop.in			\
 	tracker-store.desktop.in			\
@@ -40,6 +53,11 @@ if USING_MINER_RSS
 autostart_in_files += tracker-miner-rss.desktop.in
 endif
 
+if HAVE_MINER_FLICKR
+autostart_in_files += tracker-miner-flickr.desktop.in
+endif
+
+# Autostart final files are installed
 autostart_DATA = 					\
 	tracker-store.desktop				\
 	tracker-miner-fs.desktop
@@ -52,8 +70,13 @@ if USING_MINER_RSS
 autostart_DATA += tracker-miner-rss.desktop
 endif
 
+if HAVE_MINER_FLICKR
+autostart_DATA += tracker-miner-flickr.desktop
+endif
+
 @INTLTOOL_DESKTOP_RULE@
 
+# pkg-config .pc files for exported libraries
 pkgconfigdir = $(libdir)/pkgconfig
 pkgconfig_DATA = 					\
 	tracker-client-$(TRACKER_API_VERSION).pc	\
diff --git a/data/miners/tracker-miner-flickr.desktop.in.in b/data/miners/tracker-miner-flickr.desktop.in
similarity index 100%
rename from data/miners/tracker-miner-flickr.desktop.in.in
rename to data/miners/tracker-miner-flickr.desktop.in
diff --git a/data/tracker-miner-flickr.desktop.in.in b/data/tracker-miner-flickr.desktop.in.in
new file mode 100644
index 0000000..e10434f
--- /dev/null
+++ b/data/tracker-miner-flickr.desktop.in.in
@@ -0,0 +1,18 @@
+[Desktop Entry]
+_Name=Tracker Miner for Flickr
+_Comment=Processes images and albums on Flickr
+Icon=
+Exec= libexecdir@/tracker-miner-flickr
+Terminal=false
+Type=Application
+Categories=Utility;
+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-GNOME-Bugzilla-Bugzilla=GNOME
+X-GNOME-Bugzilla-Product=tracker
+X-GNOME-Bugzilla-Component=miner-flickr
+X-GNOME-Bugzilla-Version= VERSION@



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