public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] gentoo-x86 commit in gnome-extra/zeitgeist-extensions/files: zeitgeist-extensions-0.0.13-gobject.patch zeitgeist-extensions-0.0.13-python.patch
@ 2012-02-16 19:50 Justin Lecher (jlec)
  0 siblings, 0 replies; only message in thread
From: Justin Lecher (jlec) @ 2012-02-16 19:50 UTC (permalink / raw
  To: gentoo-commits

jlec        12/02/16 19:50:03

  Added:                zeitgeist-extensions-0.0.13-gobject.patch
                        zeitgeist-extensions-0.0.13-python.patch
  Log:
  Add missing dep on dev-python/pymplet, add gobject patches created by eva
  
  (Portage version: 2.2.0_alpha86/cvs/Linux x86_64)

Revision  Changes    Path
1.1                  gnome-extra/zeitgeist-extensions/files/zeitgeist-extensions-0.0.13-gobject.patch

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/gnome-extra/zeitgeist-extensions/files/zeitgeist-extensions-0.0.13-gobject.patch?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/gnome-extra/zeitgeist-extensions/files/zeitgeist-extensions-0.0.13-gobject.patch?rev=1.1&content-type=text/plain

Index: zeitgeist-extensions-0.0.13-gobject.patch
===================================================================
diff -Nur a/extensions/tracker/tracker.py b/extensions/tracker/tracker.py
--- a/extensions/tracker/tracker.py	2011-12-18 16:42:33.000000000 +0100
+++ b/extensions/tracker/tracker.py	2011-12-18 16:55:08.000000000 +0100
@@ -26,9 +26,7 @@
 import logging
 
 import gi
-from gi.repository import Tracker
-
-import gobject
+from gi.repository import Tracker, GObject
 
 from _zeitgeist.engine.extension import Extension
 from _zeitgeist.engine import constants
@@ -52,7 +50,7 @@
         self._engine = engine
         self.cursor = get_default_cursor()
         if not (os.path.exists(INDEX_FILE)):
-            gobject.idle_add (self._reindex)
+            GObject.idle_add (self._reindex)
 
     def _reindex(self):
         log.info("Empty index detected. Doing full rebuild")
diff -Nur a/extensions/fts/fts.py b/extensions/fts/fts.py
--- a/extensions/fts/fts.py	2011-12-18 17:21:37.000000000 +0100
+++ b/extensions/fts/fts.py	2011-12-18 17:22:09.000000000 +0100
@@ -49,7 +49,7 @@
 from Queue import Queue, Empty
 import threading
 from urllib import quote as url_escape, unquote as url_unescape
-import gobject, gio
+from gi.repository import GObject
 from cStringIO import StringIO
 
 from zeitgeist.datamodel import Symbol, StorageState, ResultType, TimeRange, NULL_EVENT, NEGATION_OPERATOR
@@ -294,7 +294,7 @@
 		# Cache of parsed DesktopEntrys
 		self._desktops = {}
 		
-		gobject.threads_init()
+		GObject.threads_init()
 		self._may_run = True
 		self._queue = Queue(0)
 		self._worker = threading.Thread(target=self._worker_thread,
@@ -304,7 +304,7 @@
 		# We need to defer the index checking until after ZG has completed
 		# full setup. Hence the idle handler.
 		# We also don't start the worker until after we've checked the index
-		gobject.idle_add (self._check_index_and_start_worker)
+		GObject.idle_add (self._check_index_and_start_worker)
 	
 	@synchronized (INDEX_LOCK)
 	def _check_index_and_start_worker (self):



1.1                  gnome-extra/zeitgeist-extensions/files/zeitgeist-extensions-0.0.13-python.patch

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/gnome-extra/zeitgeist-extensions/files/zeitgeist-extensions-0.0.13-python.patch?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/gnome-extra/zeitgeist-extensions/files/zeitgeist-extensions-0.0.13-python.patch?rev=1.1&content-type=text/plain

Index: zeitgeist-extensions-0.0.13-python.patch
===================================================================
 memory-profile/profile_memory.py |    3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)

diff --git a/memory-profile/profile_memory.py b/memory-profile/profile_memory.py
index b1e8c06..da37c90 100644
--- a/memory-profile/profile_memory.py
+++ b/memory-profile/profile_memory.py
@@ -28,8 +28,7 @@ from _zeitgeist.engine.extension import Extension
 from _zeitgeist.engine import constants
 from _zeitgeist.singleton import SingletonApplication
 
-from pympler.tracker import ClassTracker
-from pympler.tracker.stats import ConsoleStats
+from pympler.classtracker import ClassTracker, ConsoleStats
 
 DBUS_OBJECT_PATH = "/org/gnome/zeitgeist/memory_profiler"
 






^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2012-02-16 19:50 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-02-16 19:50 [gentoo-commits] gentoo-x86 commit in gnome-extra/zeitgeist-extensions/files: zeitgeist-extensions-0.0.13-gobject.patch zeitgeist-extensions-0.0.13-python.patch Justin Lecher (jlec)

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox