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



commit f8b56ba7d0a9688b4475b67cc4cc2ed59b4138b3
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 a395d3d..2530d5e 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1909,7 +1909,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 4944316..1cbb9eb 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -30,7 +30,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]