[tracker/needle: 6/27] needle: Moved needle to tracker-needle



commit 4c418ebf0414ea5ae0dbbe6e8f5fd41d1acd5dcc
Author: Martyn Russell <martyn lanedo com>
Date:   Tue Jun 29 22:04:56 2010 +0100

    needle: Moved needle to tracker-needle

 configure.ac                               |    2 +-
 src/Makefile.am                            |    2 +-
 src/needle/Makefile.am                     |   44 ----------------------------
 src/tracker-needle/Makefile.am             |   44 ++++++++++++++++++++++++++++
 src/{needle => tracker-needle}/needle.ui   |    0
 src/{needle => tracker-needle}/needle.vala |    0
 6 files changed, 46 insertions(+), 46 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index 39dba61..4e73d37 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1898,7 +1898,7 @@ AC_CONFIG_FILES([
 	src/tracker-search-tool/Makefile
 	src/tracker-search-tool/tracker-search-tool.desktop.in
 	src/tracker-explorer/Makefile
-	src/needle/Makefile
+	src/tracker-needle/Makefile
 	src/tracker-utils/Makefile
 	src/tracker-writeback/Makefile
 	src/plugins/Makefile
diff --git a/src/Makefile.am b/src/Makefile.am
index 5b4bd01..f27004c 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -26,7 +26,7 @@ SUBDIRS = 					\
 	tracker-utils				\
 	tracker-extract				\
 	tracker-writeback			\
-	needle					\
+	tracker-needle				\
 	vapi
 
 if HAVE_TRACKER_PREFERENCES
diff --git a/src/tracker-needle/Makefile.am b/src/tracker-needle/Makefile.am
new file mode 100644
index 0000000..2b79282
--- /dev/null
+++ b/src/tracker-needle/Makefile.am
@@ -0,0 +1,44 @@
+include $(top_srcdir)/Makefile.decl
+
+bin_PROGRAMS = tracker_needle
+
+tracker_needle_VALASOURCES = 					\
+	tracker-needle.vala
+
+tracker_needle_SOURCES = 					\
+	$(tracker_needle_VALASOURCES:.vala=.c)
+
+needle.vala.stamp: $(tracker_needle_VALASOURCES) config.vapi
+	$(VALAC) -C -g --pkg dbus-glib-1 --pkg gtk+-2.0 $^
+	touch tracker-needle.vala.stamp
+
+tracker_needle_CFLAGS = 					\
+	-DTRACKER_UI_DIR=\"$(datadir)/tracker/\"		\
+	-DLOCALEDIR=\""$(localedir)"\"				\
+	-DSRCDIR=\"$(abs_srcdir)/\"				\
+	$(TRACKER_APPS_CFLAGS)					\
+	$(TRACKER_VALA_CFLAGS)					\
+	$(WARN_CFLAGS)						\
+	$(GCOV_CFLAGS)
+
+tracker_needle_LDADD = 						\
+	$(TRACKER_APPS_LIBS)					\
+	$(TRACKER_VALA_LIBS)					\
+	$(GCOV_LIBS)
+
+uidir = $(datadir)/tracker
+ui_DATA = tracker-needle.ui
+
+EXTRA_DIST = 							\
+	$(needle_VALASOURCES) 					\
+	$(ui_DATA)						\
+	config.vapi						\
+	tracker-needle.vala.stamp
+
+MAINTAINERCLEANFILES = 						\
+	tracker-needle.vala.stamp 				\
+	$(tracker_needle_VALASOURCES:.vala=.c)
+
+BUILT_SOURCES = 						\
+	tracker-needle.vala.stamp
+
diff --git a/src/needle/needle.ui b/src/tracker-needle/needle.ui
similarity index 100%
rename from src/needle/needle.ui
rename to src/tracker-needle/needle.ui
diff --git a/src/needle/needle.vala b/src/tracker-needle/needle.vala
similarity index 100%
rename from src/needle/needle.vala
rename to src/tracker-needle/needle.vala



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