[tracker] Add .desktop files for miners.



commit 4ddf3304d4c3909ab9ec9cf56edcb495e1d634c3
Author: Carlos Garnacho <carlos lanedo com>
Date:   Wed Sep 23 15:14:09 2009 +0200

    Add .desktop files for miners.
    
    These are installed in $(datadir)/tracker/miners, and will be used to
    get to know available miners, translatable display name/comment,
    DBus name/path, and other relevant data.

 .gitignore                                        |    1 -
 configure.ac                                      |    1 +
 data/Makefile.am                                  |    2 +-
 data/miners/Makefile.am                           |   16 ++++++++++++++++
 data/miners/tracker-miner-applications.desktop.in |    6 ++++++
 data/miners/tracker-miner-files.desktop.in        |    6 ++++++
 6 files changed, 30 insertions(+), 2 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 3ef2b97..833239f 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,5 +1,4 @@
 *.desktop
-*.desktop.in
 *.la
 *.lo
 *.o
diff --git a/configure.ac b/configure.ac
index 4759a84..a50b1bc 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1369,6 +1369,7 @@ AC_CONFIG_FILES([
 	data/languages/Makefile
 	data/tracker-gtk.pc
 	data/Makefile
+	data/miners/Makefile
 	data/ontologies/Makefile
 	data/tracker-client.pc
 	data/tracker-miner.pc
diff --git a/data/Makefile.am b/data/Makefile.am
index a76d137..4e3ab76 100644
--- a/data/Makefile.am
+++ b/data/Makefile.am
@@ -1,6 +1,6 @@
 include $(top_srcdir)/Makefile.decl
 
-SUBDIRS = db dbus languages icons ontologies
+SUBDIRS = db dbus languages icons ontologies miners
 
 # Should do this for *.desktop.in.in 
 tracker-status-icon.desktop.in: tracker-status-icon.desktop.in.in
diff --git a/data/miners/Makefile.am b/data/miners/Makefile.am
new file mode 100644
index 0000000..62b4be9
--- /dev/null
+++ b/data/miners/Makefile.am
@@ -0,0 +1,16 @@
+include $(top_srcdir)/Makefile.decl
+
+desktop_in_files = \
+	tracker-miner-applications.desktop.in
+	tracker-miner-files.desktop.in
+
+tracker_minersdir = $(datadir)/tracker/miners
+
+tracker_miners_DATA = \
+	tracker-miner-applications.desktop \
+	tracker-miner-files.desktop
+
+ INTLTOOL_DESKTOP_RULE@
+
+EXTRA_DIST = $(desktop_in_files)
+CLEANFILES = $(tracker_miners_DATA)
diff --git a/data/miners/tracker-miner-applications.desktop.in b/data/miners/tracker-miner-applications.desktop.in
new file mode 100644
index 0000000..3e543e9
--- /dev/null
+++ b/data/miners/tracker-miner-applications.desktop.in
@@ -0,0 +1,6 @@
+[Desktop Entry]
+Encoding=UTF-8
+_Name=Applications
+_Comment=Applications data miner
+DBusName=org.freedesktop.Tracker1.Miner.Applications
+DBusPath=/org/freedesktop/Tracker1/Miner/Applications
diff --git a/data/miners/tracker-miner-files.desktop.in b/data/miners/tracker-miner-files.desktop.in
new file mode 100644
index 0000000..d06a78f
--- /dev/null
+++ b/data/miners/tracker-miner-files.desktop.in
@@ -0,0 +1,6 @@
+[Desktop Entry]
+Encoding=UTF-8
+_Name=File System
+_Comment=File system data miner
+DBusName=org.freedesktop.Tracker1.Miner.Files
+DBusPath=/org/freedesktop/Tracker1/Miner/Files



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