[tracker] Moved gtk-sparql to utils/



commit caf8d52836df571f31286311b50c40a2cefc1b27
Author: Martyn Russell <martyn lanedo com>
Date:   Tue Dec 15 11:21:51 2009 +0000

    Moved gtk-sparql to utils/

 configure.ac                                       |    2 +-
 python/Makefile.am                                 |    2 +-
 {python => utils}/gtk-sparql/Makefile.am           |    7 ++++---
 .../gtk-sparql/completion.py                       |    3 +--
 .../gtk-sparql/completion_engine.py                |    1 +
 {python => utils}/gtk-sparql/gtk-sparql.py         |    7 +++----
 {python => utils}/gtk-sparql/gtk-sparql.ui         |    0
 {python => utils}/gtk-sparql/store.py              |    0
 8 files changed, 11 insertions(+), 11 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index f863d36..d0e3f18 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1551,7 +1551,6 @@ AC_CONFIG_FILES([
 	Makefile
 	po/Makefile.in
 	python/deskbar-handler/Makefile
-	python/gtk-sparql/Makefile
 	python/rss_reader/Makefile
 	python/Makefile
 	src/libinotify/Makefile
@@ -1605,6 +1604,7 @@ AC_CONFIG_FILES([
 	tests/tracker-extract/Makefile
 	tests/tracker-store/Makefile
 	utils/Makefile
+	utils/gtk-sparql/Makefile
 	utils/tracker-fts/Makefile
 	utils/services/Makefile
 	utils/playlists/Makefile
diff --git a/python/Makefile.am b/python/Makefile.am
index 50b7618..a7aad50 100644
--- a/python/Makefile.am
+++ b/python/Makefile.am
@@ -1,4 +1,4 @@
 include $(top_srcdir)/Makefile.decl
 
-SUBDIRS = deskbar-handler gtk-sparql rss_reader
+SUBDIRS = deskbar-handler rss_reader
 
diff --git a/python/gtk-sparql/Makefile.am b/utils/gtk-sparql/Makefile.am
similarity index 66%
rename from python/gtk-sparql/Makefile.am
rename to utils/gtk-sparql/Makefile.am
index 6c1051c..102f2d2 100644
--- a/python/gtk-sparql/Makefile.am
+++ b/utils/gtk-sparql/Makefile.am
@@ -5,8 +5,9 @@ ui_DATA = gtk-sparql.ui
 
 EXTRA_DIST = 				\
 	$(ui_DATA)			\
-	Completion.py			\
+	completion.py			\
+	completion_engine.py		\
 	gtk-sparql.py			\
-	store.py			\
-	tracker_completion.py
+	store.py
 
+CLEANFILES = *.pyc
diff --git a/python/gtk-sparql/Completion.py b/utils/gtk-sparql/completion.py
similarity index 99%
rename from python/gtk-sparql/Completion.py
rename to utils/gtk-sparql/completion.py
index 973d104..6bc2c86 100644
--- a/python/gtk-sparql/Completion.py
+++ b/utils/gtk-sparql/completion.py
@@ -1,12 +1,11 @@
 # -*- coding: utf-8 -*-
-
 #
 # Code taken from http://code.google.com/p/emesene-plugins/
 # Specifically http://emesene-plugins.googlecode.com/svn/trunk/Completion.py
 #
 # The original file doesn't contain License header, but
 # the project is under license GPL v2
-
+#
 # GtkSparql - Gtk UI to try SparQL queries against tracker.
 # Copyright (C) 2009, emesene-plugins project
 #
diff --git a/python/gtk-sparql/tracker_completion.py b/utils/gtk-sparql/completion_engine.py
similarity index 99%
rename from python/gtk-sparql/tracker_completion.py
rename to utils/gtk-sparql/completion_engine.py
index 12abdf3..5999290 100644
--- a/python/gtk-sparql/tracker_completion.py
+++ b/utils/gtk-sparql/completion_engine.py
@@ -1,3 +1,4 @@
+#
 # GtkSparql - Gtk UI to try SparQL queries against tracker.
 # Copyright (C) 2009, Ivan Frade <ivan frade gmail com>
 #
diff --git a/python/gtk-sparql/gtk-sparql.py b/utils/gtk-sparql/gtk-sparql.py
similarity index 98%
rename from python/gtk-sparql/gtk-sparql.py
rename to utils/gtk-sparql/gtk-sparql.py
index 2b5c26e..6e8113c 100755
--- a/python/gtk-sparql/gtk-sparql.py
+++ b/utils/gtk-sparql/gtk-sparql.py
@@ -18,13 +18,12 @@
 # Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.
 #
 
-
 import gtk
 import dbus
 import store
 import time
-import Completion
-import tracker_completion
+import completion
+import completion_engine
 
 TRACKER = 'org.freedesktop.Tracker1'
 TRACKER_OBJ = '/org/freedesktop/Tracker1/Resources'
@@ -48,7 +47,7 @@ class GtkSparql:
         self.textbuffer.set_text ("SELECT \nWHERE { \n\n}")
         ui.get_object ("query_text").set_buffer (self.textbuffer)
 
-        self.completer = Completion.Completer (tracker_completion.TrackerCompletionEngine (),
+        self.completer = completion.Completer (completion_engine.TrackerCompletionEngine (),
                                                ui.get_object ("query_text"),
                                                ui.get_object ("main_window"))
 
diff --git a/python/gtk-sparql/gtk-sparql.ui b/utils/gtk-sparql/gtk-sparql.ui
similarity index 100%
rename from python/gtk-sparql/gtk-sparql.ui
rename to utils/gtk-sparql/gtk-sparql.ui
diff --git a/python/gtk-sparql/store.py b/utils/gtk-sparql/store.py
similarity index 100%
rename from python/gtk-sparql/store.py
rename to utils/gtk-sparql/store.py



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