zeitgeist team mailing list archive
-
zeitgeist team
-
Mailing list archive
-
Message #02082
[Merge] lp:~zeitgeist/zeitgeist/fix-630593 into lp:zeitgeist
Seif Lotfy has proposed merging lp:~zeitgeist/zeitgeist/fix-630593 into lp:zeitgeist.
Requested reviews:
Zeitgeist Framework Team (zeitgeist)
removed all files for the datahub and necessary translations
--
https://code.launchpad.net/~zeitgeist/zeitgeist/fix-630593/+merge/38306
Your team Zeitgeist Framework Team is requested to review the proposed merge of lp:~zeitgeist/zeitgeist/fix-630593 into lp:zeitgeist.
=== modified file 'COPYRIGHT'
--- COPYRIGHT 2009-11-12 18:30:14 +0000
+++ COPYRIGHT 2010-10-13 08:57:42 +0000
@@ -1,6 +1,6 @@
Zeitgeist
-Copyright © 2008-2009 by the AUTHORS
+Copyright © 2008-2010 by the AUTHORS
If you have contributed to this project then you deserve to be on this list.
Contact us (see: AUTHORS) and we'll add you.
@@ -21,16 +21,4 @@
You should have received a copy of the GNU Lesser General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
------------------------------------------------------------
-
-File zeitgeist/loggers/iso_strptime.py is part of wadllib, which is
-copyright © 2009 by Canonical Ltd. It is released under the following license:
-
- wadllib is free software: you can redistribute it and/or modify it under the
- terms of the GNU Lesser General Public License as published by the Free
- Software Foundation, version 3 of the License.
-
- wadllib is distributed in the hope that it will be useful, but WITHOUT ANY
- WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
- FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
- details.
+
=== modified file 'Makefile.am'
--- Makefile.am 2010-09-03 10:16:51 +0000
+++ Makefile.am 2010-10-13 08:57:42 +0000
@@ -6,8 +6,7 @@
intltool-update.in
bin_SCRIPTS = \
- zeitgeist-daemon \
- zeitgeist-datahub
+ zeitgeist-daemon
EXTRA_DIST = \
$(bin_SCRIPTS) \
@@ -16,7 +15,6 @@
COPYRIGHT \
NEWS \
zeitgeist-daemon.py \
- zeitgeist-datahub.py \
zeitgeist-daemon.pc.in
DISTCLEANFILES = \
@@ -25,8 +23,7 @@
intltool-update
CLEANFILES = \
- zeitgeist-daemon \
- zeitgeist-datahub
+ zeitgeist-daemon
pkgconfigdir = $(libdir)/pkgconfig
pkgconfig_DATA = zeitgeist-daemon.pc
@@ -34,19 +31,11 @@
zeitgeist-daemon: zeitgeist-daemon.py
sed \
-e "s!\/usr\/bin\/env python!$(PYTHON)!" \
- -e "s!zeitgeist-datahub\.py!zeitgeist-datahub!" \
< $< > $@
chmod +x zeitgeist-daemon
zeitgeist-daemon: Makefile
-zeitgeist-datahub: zeitgeist-datahub.py
- sed \
- -e "s!\/usr\/bin\/env python!$(PYTHON)!" \
- < $< > $@
- chmod +x zeitgeist-datahub
-zeitgeist-datahub: Makefile
-
-all-local: zeitgeist-daemon zeitgeist-datahub
+all-local: zeitgeist-daemon
# Generate ChangeLog
dist-hook:
=== modified file '_zeitgeist/Makefile.am'
--- _zeitgeist/Makefile.am 2010-06-22 19:53:09 +0000
+++ _zeitgeist/Makefile.am 2010-10-13 08:57:42 +0000
@@ -1,4 +1,4 @@
-SUBDIRS = engine loggers
+SUBDIRS = engine
appdir = $(datadir)/zeitgeist/_zeitgeist/
=== removed directory '_zeitgeist/loggers'
=== removed file '_zeitgeist/loggers/Makefile.am'
--- _zeitgeist/loggers/Makefile.am 2010-06-17 20:43:34 +0000
+++ _zeitgeist/loggers/Makefile.am 1970-01-01 00:00:00 +0000
@@ -1,9 +0,0 @@
-SUBDIRS = datasources
-
-appdir = $(datadir)/zeitgeist/_zeitgeist/loggers/
-
-app_PYTHON = \
- __init__.py \
- iso_strptime.py \
- zeitgeist_setup_service.py \
- zeitgeist_base.py
=== removed file '_zeitgeist/loggers/__init__.py'
=== removed directory '_zeitgeist/loggers/datasources'
=== removed file '_zeitgeist/loggers/datasources/Makefile.am'
--- _zeitgeist/loggers/datasources/Makefile.am 2010-06-17 20:43:34 +0000
+++ _zeitgeist/loggers/datasources/Makefile.am 1970-01-01 00:00:00 +0000
@@ -1,6 +0,0 @@
-appdir = $(datadir)/zeitgeist/_zeitgeist/loggers/datasources
-
-app_PYTHON = \
- __init__.py \
- _recentmanager.py \
- recent.py
=== removed file '_zeitgeist/loggers/datasources/__init__.py'
=== removed file '_zeitgeist/loggers/datasources/_recentmanager.py'
--- _zeitgeist/loggers/datasources/_recentmanager.py 2010-01-16 18:21:11 +0000
+++ _zeitgeist/loggers/datasources/_recentmanager.py 1970-01-01 00:00:00 +0000
@@ -1,146 +0,0 @@
-# -.- coding: utf-8 -.-
-
-# Zeitgeist
-#
-# Copyright © 2009 Markus Korn <thekorn@xxxxxx>
-# Copyright © 2009 Siegfried-Angel Gevatter Pujals <rainct@xxxxxxxxxx>
-#
-# This program is free software: you can redistribute it and/or modify
-# it under the terms of the GNU Lesser General Public License as published by
-# the Free Software Foundation, either version 3 of the License, or
-# (at your option) any later version.
-#
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-# GNU Lesser General Public License for more details.
-#
-# You should have received a copy of the GNU Lesser General Public License
-# along with this program. If not, see <http://www.gnu.org/licenses/>.
-
-import urllib
-import gobject
-import gio
-import os.path
-import time
-import logging
-from xml.dom.minidom import parse as minidom_parse
-
-from _zeitgeist.loggers.iso_strptime import iso_strptime
-
-DST = bool(time.mktime(time.gmtime(0)))
-log = logging.getLogger("zeitgeist.logger._recentmanager")
-
-class FileInfo(object):
-
- @staticmethod
- def convert_timestring(time_str):
- # My observation is that all times in self.RECENTFILE are in UTC (I might be wrong here)
- # so we need to parse the time string into a timestamp
- # and correct the result by the timezone difference
- try:
- timetuple = time.strptime(time_str, "%Y-%m-%dT%H:%M:%SZ")
- except ValueError:
- timetuple = iso_strptime(time_str.rstrip("Z")).timetuple()
- result = int(time.mktime(timetuple))
- if DST:
- result -= time.altzone
- return result
-
- def __init__(self, node):
- self._uri = node.getAttribute("href")
- self._path = "/%s" % self._uri.split("///", 1)[-1]
- self._added = self.convert_timestring(node.getAttribute("added"))
- self._modified = self.convert_timestring(node.getAttribute("modified"))
- self._visited = self.convert_timestring(node.getAttribute("visited"))
-
- mimetype = node.getElementsByTagNameNS(
- "http://www.freedesktop.org/standards/shared-mime-info",
- "mime-type")
- if not mimetype:
- raise ValueError, "Could not find mimetype for item: %s" % self._uri
- self._mimetype = mimetype[-1].getAttribute("type")
-
- applications = node.getElementsByTagNameNS(
- "http://www.freedesktop.org/standards/desktop-bookmarks",
- "applications")
- assert applications
- application = applications[0].getElementsByTagNameNS(
- "http://www.freedesktop.org/standards/desktop-bookmarks",
- "application")
- if not application:
- raise ValueError, "Could not find application for item: %s" % self._uri
- self._application = application[-1].getAttribute("exec").strip("'")
-
- def get_mime_type(self):
- return self._mimetype
-
- def get_visited(self):
- return self._visited
-
- def get_added(self):
- return self._added
-
- def get_modified(self):
- return self._modified
-
- def get_uri_display(self):
- return self._path
-
- def get_uri(self):
- return self._uri
-
- def get_display_name(self):
- return unicode(os.path.basename(urllib.unquote(str(self._path))))
-
- def exists(self):
- if not self._uri.startswith("file:///"):
- return True # Don't check online resources
- return gio.File(self._path).get_path() is not None
-
- def get_private_hint(self):
- return False # FIXME: How to get this?
-
- def last_application(self):
- # Not necessary, our get_application_info always returns the info of
- # the last application
- return ""
-
- def get_application_info(self, app):
- return (self._application, None, None)
-
-class RecentManager(gobject.GObject):
-
- RECENTFILE = os.path.expanduser("~/.recently-used.xbel")
-
- def __init__(self):
- super(RecentManager, self).__init__()
- if not os.path.exists(self.RECENTFILE):
- raise OSError("Can't use alternative RecentManager, '%s' not found" % self.RECENTFILE)
-
- self._fetching_items = None
- file_object = gio.File(self.RECENTFILE)
- self.file_monitor = file_object.monitor_file()
- self.file_monitor.set_rate_limit(1600) # for to high rates RecentManager
- # gets hickup, not sure what's optimal here
- self.file_monitor.connect("changed", self._content_changed)
-
- def _content_changed(self, monitor, fileobj, _, event):
- # Only emit the signal if we aren't already parsing RECENTFILE
- if not self._fetching_items:
- self.emit("changed")
-
- def get_items(self):
- self._fetching_items = True
- xml = minidom_parse(self.RECENTFILE)
- for bookmark in xml.getElementsByTagName("bookmark"):
- yield FileInfo(bookmark)
- self._fetching_items = False
-
- def set_limit(self, limit):
- pass
-
-gobject.type_register(RecentManager)
-
-gobject.signal_new("changed", RecentManager,
- gobject.SIGNAL_RUN_LAST, gobject.TYPE_NONE, ())
=== removed file '_zeitgeist/loggers/datasources/recent.py'
--- _zeitgeist/loggers/datasources/recent.py 2010-09-25 13:19:51 +0000
+++ _zeitgeist/loggers/datasources/recent.py 1970-01-01 00:00:00 +0000
@@ -1,371 +0,0 @@
-# -.- coding: utf-8 -.-
-
-# Zeitgeist
-#
-# Copyright © 2009 Alex Graveley <alex.graveley@xxxxxxxxxxxxxxxxxxxxx>
-# Copyright © 2009 Markus Korn <thekorn@xxxxxx>
-# Copyright © 2009 Natan Yellin <aantny@xxxxxxxxx>
-# Copyright © 2009 Seif Lotfy <seif@xxxxxxxxx>
-# Copyright © 2009 Shane Fagan <shanepatrickfagan@xxxxxxxx>
-# Copyright © 2009-2010 Siegfried-Angel Gevatter Pujals <rainct@xxxxxxxxxx>
-#
-# This program is free software: you can redistribute it and/or modify
-# it under the terms of the GNU Lesser General Public License as published by
-# the Free Software Foundation, either version 3 of the License, or
-# (at your option) any later version.
-#
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-# GNU Lesser General Public License for more details.
-#
-# You should have received a copy of the GNU Lesser General Public License
-# along with this program. If not, see <http://www.gnu.org/licenses/>.
-
-from __future__ import with_statement
-import os
-import re
-import fnmatch
-import urllib
-import time
-import logging
-from xdg import BaseDirectory
-
-from zeitgeist import _config
-from zeitgeist.datamodel import Event, Subject, Interpretation, Manifestation, \
- DataSource, get_timestamp_for_now
-from _zeitgeist.loggers.zeitgeist_base import DataProvider
-
-log = logging.getLogger("zeitgeist.logger.datasources.recent")
-
-try:
- import gtk
- if gtk.pygtk_version >= (2, 15, 2):
- recent_manager = gtk.recent_manager_get_default
- else:
- from _recentmanager import RecentManager
- recent_manager = RecentManager
-except ImportError:
- log.exception(_("Could not import GTK; data source disabled."))
- enabled = False
-else:
- enabled = True
-
-class SimpleMatch(object):
- """ Wrapper around fnmatch.fnmatch which allows to define mimetype
- patterns by using shell-style wildcards.
- """
-
- def __init__(self, pattern):
- self.__pattern = pattern
-
- def match(self, text):
- return fnmatch.fnmatch(text, self.__pattern)
-
- def __repr__(self):
- return "%s(%r)" %(self.__class__.__name__, self.__pattern)
-
-DOCUMENT_MIMETYPES = [
- # Covers:
- # vnd.corel-draw
- # vnd.ms-powerpoint
- # vnd.ms-excel
- # vnd.oasis.opendocument.*
- # vnd.stardivision.*
- # vnd.sun.xml.*
- SimpleMatch(u"application/vnd.*"),
- # Covers: x-applix-word, x-applix-spreadsheet, x-applix-presents
- SimpleMatch(u"application/x-applix-*"),
- # Covers: x-kword, x-kspread, x-kpresenter, x-killustrator
- re.compile(u"application/x-k(word|spread|presenter|illustrator)"),
- u"application/ms-powerpoint",
- u"application/msword",
- u"application/pdf",
- u"application/postscript",
- u"application/ps",
- u"application/rtf",
- u"application/x-abiword",
- u"application/x-gnucash",
- u"application/x-gnumeric",
- SimpleMatch(u"application/x-java*"),
- SimpleMatch(u"*/x-tex"),
- SimpleMatch(u"*/x-latex"),
- SimpleMatch(u"*/x-dvi"),
- u"text/plain"
-]
-
-IMAGE_MIMETYPES = [
- # Covers:
- # vnd.corel-draw
- u"application/vnd.corel-draw",
- # Covers: x-kword, x-kspread, x-kpresenter, x-killustrator
- re.compile(u"application/x-k(word|spread|presenter|illustrator)"),
- SimpleMatch(u"image/*"),
-]
-
-AUDIO_MIMETYPES = [
- SimpleMatch(u"audio/*"),
- u"application/ogg"
-]
-
-VIDEO_MIMETYPES = [
- SimpleMatch(u"video/*"),
- u"application/ogg"
-]
-
-DEVELOPMENT_MIMETYPES = [
- u"application/ecmascript",
- u"application/javascript",
- u"application/x-csh",
- u"application/x-designer",
- u"application/x-desktop",
- u"application/x-dia-diagram",
- u"application/x-fluid",
- u"application/x-glade",
- u"application/xhtml+xml",
- u"application/x-java-archive",
- u"application/x-m4",
- u"application/xml",
- u"application/x-object",
- u"application/x-perl",
- u"application/x-php",
- u"application/x-ruby",
- u"application/x-shellscript",
- u"application/x-sql",
- u"text/css",
- u"text/html",
- u"text/x-c",
- u"text/x-c++",
- u"text/x-chdr",
- u"text/x-copying",
- u"text/x-credits",
- u"text/x-csharp",
- u"text/x-c++src",
- u"text/x-csrc",
- u"text/x-dsrc",
- u"text/x-eiffel",
- u"text/x-gettext-translation",
- u"text/x-gettext-translation-template",
- u"text/x-haskell",
- u"text/x-idl",
- u"text/x-java",
- u"text/x-lisp",
- u"text/x-lua",
- u"text/x-makefile",
- u"text/x-objcsrc",
- u"text/x-ocaml",
- u"text/x-pascal",
- u"text/x-patch",
- u"text/x-python",
- u"text/x-sql",
- u"text/x-tcl",
- u"text/x-troff",
- u"text/x-vala",
- u"text/x-vhdl",
-]
-
-ALL_MIMETYPES = DOCUMENT_MIMETYPES + IMAGE_MIMETYPES + AUDIO_MIMETYPES + \
- VIDEO_MIMETYPES + DEVELOPMENT_MIMETYPES
-
-class MimeTypeSet(set):
- """ Set which allows to match against a string or an object with a
- match() method.
- """
-
- def __init__(self, *items):
- super(MimeTypeSet, self).__init__()
- self.__pattern = set()
- for item in items:
- if isinstance(item, (str, unicode)):
- self.add(item)
- elif hasattr(item, "match"):
- self.__pattern.add(item)
- else:
- raise ValueError("Bad mimetype '%s'" %item)
-
- def __contains__(self, mimetype):
- result = super(MimeTypeSet, self).__contains__(mimetype)
- if not result:
- for pattern in self.__pattern:
- if pattern.match(mimetype):
- return True
- return result
-
- def __len__(self):
- return super(MimeTypeSet, self).__len__() + len(self.__pattern)
-
- def __repr__(self):
- items = ", ".join(sorted(map(repr, self | self.__pattern)))
- return "%s(%s)" %(self.__class__.__name__, items)
-
-
-class RecentlyUsedManagerGtk(DataProvider):
-
- FILTERS = {
- # dict of name as key and the matching mimetypes as value
- # if the value is None this filter matches all mimetypes
- "DOCUMENT": MimeTypeSet(*DOCUMENT_MIMETYPES),
- "IMAGE": MimeTypeSet(*IMAGE_MIMETYPES),
- "AUDIO": MimeTypeSet(*AUDIO_MIMETYPES),
- "VIDEO": MimeTypeSet(*VIDEO_MIMETYPES),
- "SOURCE_CODE": MimeTypeSet(*DEVELOPMENT_MIMETYPES),
- }
-
- def __init__(self, client):
- DataProvider.__init__(self,
- unique_id="com.zeitgeist-project,datahub,recent",
- name="Recently Used Documents",
- description="Logs events from GtkRecentlyUsed",
- event_templates=[Event.new_for_values(interpretation=i) for i in (
- Interpretation.CREATE_EVENT,
- Interpretation.ACCESS_EVENT,
- Interpretation.MODIFY_EVENT
- )],
- client=client)
- self._load_data_sources_registry()
- self.recent_manager = recent_manager()
- self.recent_manager.set_limit(-1)
- self.recent_manager.connect("changed", lambda m: self.emit("reload"))
- self.config.connect("configured", lambda m: self.emit("reload"))
-
- def _load_data_sources_registry(self):
- self._ignore_apps = {}
- def _data_source_registered(datasource):
- for tmpl in datasource[DataSource.EventTemplates]:
- actor = tmpl[0][Event.Actor]
- if actor:
- if not actor in self._ignore_apps:
- self._ignore_apps[actor] = set()
- interp = tmpl[0][Event.Interpretation]
- if interp:
- self._ignore_apps[actor].add(interp)
- for datasource in self._registry.GetDataSources():
- _data_source_registered(datasource)
- self._registry.connect("DataSourceRegistered", _data_source_registered)
-
- @staticmethod
- def _desktop_file_matches_app(filename, application, mimetype):
- """ Checks whether the given .desktop file represents the indicated
- application.
-
- If a mimetype is also given, only .desktop files listing it as
- supported will be considered. This is needed to differentiate
- between the different OpenOffice.org components, for instance.
- """
-
- try:
- with open(filename) as desktopfile:
- _exec = False
- _mime = False
- for line in desktopfile:
- if line.startswith("Exec=") and \
- line.split("=", 1)[-1].strip().split()[0] == application:
- if mimetype is None or _mime:
- return True
- else:
- _exec = True
- elif line.startswith("MimeType=") and mimetype in \
- line.split("=", 1)[-1].split(";"):
- if _exec:
- return True
- else:
- _mime = True
-
- except IOError:
- pass # file may be a broken symlink (LP: #523761)
- except Exception, e:
- log.warning('Corrupt .desktop file: %s', filename)
-
- return False
-
- @staticmethod
- def _find_desktop_file_for_application(application, mimetype):
- """ Searches for a .desktop file for the given application in
- $XDG_DATADIRS and returns the path to the found file. If no file
- is found, returns None.
- """
- desktopfiles = \
- list(BaseDirectory.load_data_paths("applications", "%s.desktop" % application))
- if desktopfiles:
- return unicode(desktopfiles[0])
- else:
- is_match = RecentlyUsedManagerGtk._desktop_file_matches_app # local stuff is accessed faster
- for path in BaseDirectory.load_data_paths("applications"):
- for filename in (name for name in os.listdir(path) if name.endswith(".desktop")):
- fullname = os.path.join(path, filename)
- if (is_match(fullname, application, mimetype)):
- return unicode(fullname)
-
- return None
-
- def _get_interpretation_for_mimetype(self, mimetype):
- matching_filter = None
- for filter_name, mimetypes in self.FILTERS.iteritems():
- if mimetype and mimetype in mimetypes:
- matching_filter = filter_name
- break
- if matching_filter:
- return getattr(Interpretation, matching_filter).uri
- return ""
-
- def _get_items(self):
- # We save the start timestamp to avoid race conditions
- last_seen = get_timestamp_for_now()
-
- events = []
-
- for (num, info) in enumerate(self.recent_manager.get_items()):
- uri = info.get_uri()
- if info.exists() and not info.get_private_hint() and not uri.startswith("file:///tmp/"):
- last_application = info.last_application().strip()
- application = info.get_application_info(last_application)[0].split()[0]
- mimetype = unicode(info.get_mime_type())
- if application in ("ooffice", "soffice"):
- # Special case OpenOffice.org *sigh*
- desktopfile = self._find_desktop_file_for_application("ooffice", mimetype)
- else:
- desktopfile = self._find_desktop_file_for_application(application, None)
- if not desktopfile:
- continue
- actor = u"application://%s" % os.path.basename(desktopfile)
-
- subject = Subject.new_for_values(
- uri = unicode(uri),
- interpretation = self._get_interpretation_for_mimetype(
- unicode(info.get_mime_type())),
- manifestation = Manifestation.FILE_DATA_OBJECT.uri,
- text = info.get_display_name(),
- mimetype = mimetype,
- origin = uri.rpartition("/")[0]
- )
-
- times = set()
- for meth, interp in (
- (info.get_added, Interpretation.CREATE_EVENT.uri),
- (info.get_visited, Interpretation.ACCESS_EVENT.uri),
- (info.get_modified, Interpretation.MODIFY_EVENT.uri)
- ):
- if actor not in self._ignore_apps or \
- (self._ignore_apps[actor] and
- interp not in self._ignore_apps[actor]):
- times.add((meth() * 1000, interp))
-
- is_new = False
- for timestamp, use in times:
- if timestamp <= self._last_seen:
- continue
- is_new = True
- events.append(Event.new_for_values(
- timestamp = timestamp,
- interpretation = use,
- manifestation = Manifestation.USER_ACTIVITY.uri,
- actor = actor,
- subjects = [subject]
- ))
- if num % 50 == 0:
- self._process_gobject_events()
- self._last_seen = last_seen
- return events
-
-if enabled:
- __datasource__ = RecentlyUsedManagerGtk
=== removed file '_zeitgeist/loggers/iso_strptime.py'
--- _zeitgeist/loggers/iso_strptime.py 2009-07-20 17:10:41 +0000
+++ _zeitgeist/loggers/iso_strptime.py 1970-01-01 00:00:00 +0000
@@ -1,86 +0,0 @@
-# -.- coding: utf-8 -.-
-
-# This file is part of wadllib.
-#
-# Copyright © 2009 Canonical Ltd.
-#
-# wadllib is free software: you can redistribute it and/or modify it under the
-# terms of the GNU Lesser General Public License as published by the Free
-# Software Foundation, version 3 of the License.
-#
-# wadllib is distributed in the hope that it will be useful, but WITHOUT ANY
-# WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
-# FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
-# details.
-#
-# You should have received a copy of the GNU Lesser General Public License
-# along with wadllib. If not, see <http://www.gnu.org/licenses/>.
-
-"""
-Parser for ISO 8601 time strings
-================================
-
->>> d = iso_strptime("2008-01-07T05:30:30.345323+03:00")
->>> d
-datetime.datetime(2008, 1, 7, 5, 30, 30, 345323, tzinfo=TimeZone(10800))
->>> d.timetuple()
-(2008, 1, 7, 5, 30, 30, 0, 7, 0)
->>> d.utctimetuple()
-(2008, 1, 7, 2, 30, 30, 0, 7, 0)
->>> iso_strptime("2008-01-07T05:30:30.345323-03:00")
-datetime.datetime(2008, 1, 7, 5, 30, 30, 345323, tzinfo=TimeZone(-10800))
->>> iso_strptime("2008-01-07T05:30:30.345323")
-datetime.datetime(2008, 1, 7, 5, 30, 30, 345323)
->>> iso_strptime("2008-01-07T05:30:30")
-datetime.datetime(2008, 1, 7, 5, 30, 30)
->>> iso_strptime("2008-01-07T05:30:30+02:00")
-datetime.datetime(2008, 1, 7, 5, 30, 30, tzinfo=TimeZone(7200))
-"""
-
-import re
-import datetime
-
-RE_TIME = re.compile(r"""^
- # pattern matching date
- (?P<year>\d{4})\-(?P<month>\d{2})\-(?P<day>\d{2})
- # separator
- T
- # pattern matching time
- (?P<hour>\d{2})\:(?P<minutes>\d{2})\:(?P<seconds>\d{2})
- # pattern matching optional microseconds
- (\.(?P<microseconds>\d{6})\d*)?
- # pattern matching optional timezone offset
- (?P<tz_offset>[\-\+]\d{2}\:\d{2})?
- $""", re.VERBOSE)
-
-class TimeZone(datetime.tzinfo):
-
- def __init__(self, tz_string):
- hours, minutes = tz_string.lstrip("-+").split(":")
- self.stdoffset = datetime.timedelta(hours=int(hours),
- minutes=int(minutes))
- if tz_string.startswith("-"):
- self.stdoffset *= -1
-
- def __repr__(self):
- return "TimeZone(%s)" % (
- self.stdoffset.days*24*60*60 + self.stdoffset.seconds)
-
- def utcoffset(self, dt):
- return self.stdoffset
-
- def dst(self, dt):
- return datetime.timedelta(0)
-
-def iso_strptime(time_str):
- x = RE_TIME.match(time_str)
- if not x:
- raise ValueError("unable to parse time '%s'" %time_str)
- d = datetime.datetime(int(x.group("year")), int(x.group("month")),
- int(x.group("day")), int(x.group("hour")), int(x.group("minutes")),
- int(x.group("seconds")))
- if x.group("microseconds"):
- d = d.replace(microsecond=int(x.group("microseconds")))
- if x.group("tz_offset"):
- d = d.replace(tzinfo=TimeZone(x.group("tz_offset")))
- return d
=== removed file '_zeitgeist/loggers/zeitgeist_base.py'
--- _zeitgeist/loggers/zeitgeist_base.py 2010-04-22 18:28:40 +0000
+++ _zeitgeist/loggers/zeitgeist_base.py 1970-01-01 00:00:00 +0000
@@ -1,91 +0,0 @@
-# -.- coding: utf-8 -.-
-
-# Zeitgeist
-#
-# Copyright © 2009 Seif Lotfy <seif@xxxxxxxxx>
-# Copyright © 2009-2010 Siegfried-Angel Gevatter Pujals <rainct@xxxxxxxxxx>
-# Copyright © 2009 Natan Yellin <aantny@xxxxxxxxx>
-# Copyright © 2009 Alex Graveley <alex@xxxxxxxxxxxxxxxxxxx>
-# Copyright © 2009 Markus Korn <thekorn@xxxxxx>
-#
-# This program is free software: you can redistribute it and/or modify
-# it under the terms of the GNU Lesser General Public License as published by
-# the Free Software Foundation, either version 3 of the License, or
-# (at your option) any later version.
-#
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-# GNU Lesser General Public License for more details.
-#
-# You should have received a copy of the GNU Lesser General Public License
-# along with this program. If not, see <http://www.gnu.org/licenses/>.
-
-from threading import Thread
-import gobject
-import logging
-
-from zeitgeist.datamodel import DataSource
-from _zeitgeist.loggers.zeitgeist_setup_service import _Configuration, DefaultConfiguration
-
-class DataProvider(gobject.GObject, Thread):
-
- __gsignals__ = {
- "reload" : (gobject.SIGNAL_RUN_LAST, gobject.TYPE_NONE, ()),
- }
-
- def __init__(self, unique_id, name, description="", event_templates=[],
- client=None, config=None):
-
- # Initialize superclasses
- Thread.__init__(self)
- gobject.GObject.__init__(self)
-
- self._name = name
- self._client = client
- self._ctx = gobject.main_context_default()
-
- if client:
- self._registry = self._client.get_extension("DataSourceRegistry",
- "data_source_registry")
- try:
- self._last_seen = [ds[DataSource.LastSeen] for ds in \
- self._registry.GetDataSources() if \
- ds[DataSource.UniqueId] == unique_id][0] - 1800000
- # We substract 30 minutes to make sure no events get missed.
- except IndexError:
- self._last_seen = 0
- self._enabled = self._registry.RegisterDataSource(unique_id, name,
- description, event_templates)
-
- if not config:
- self.config = DefaultConfiguration(self._name)
- else:
- if not isinstance(config, _Configuration):
- raise TypeError
- self.config = config
-
- def get_name(self):
- return self._name
-
- def get_items(self):
- if not self._enabled:
- return []
- # FIXME: We need to figure out what to do with this configuration stuff
- # Maybe merge it into the DataSource registry so that everyone
- # can benefit from it, or just throw it out.
- if not self.config.isConfigured() or not self.config.enabled:
- logging.warning("'%s' isn't enabled or configured." % \
- self.config.get_internal_name())
- return []
- return self._get_items()
-
- def _get_items(self):
- """ Subclasses should override this to return data. """
- raise NotImplementedError
-
- def _process_gobject_events(self):
- """ Check for pending gobject events. This should be called in some
- meaningful place in _get_items on long running updates. """
- while self._ctx.pending():
- self._ctx.iteration()
=== removed file '_zeitgeist/loggers/zeitgeist_setup_service.py'
--- _zeitgeist/loggers/zeitgeist_setup_service.py 2009-09-04 15:13:13 +0000
+++ _zeitgeist/loggers/zeitgeist_setup_service.py 1970-01-01 00:00:00 +0000
@@ -1,243 +0,0 @@
-# -.- coding: utf-8 -.-
-
-# Zeitgeist
-#
-# Copyright © 2009 Markus Korn <thekorn@xxxxxx>
-#
-# This program is free software: you can redistribute it and/or modify
-# it under the terms of the GNU Lesser General Public License as published by
-# the Free Software Foundation, either version 3 of the License, or
-# (at your option) any later version.
-#
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-# GNU Lesser General Public License for more details.
-#
-# You should have received a copy of the GNU Lesser General Public License
-# along with this program. If not, see <http://www.gnu.org/licenses/>.
-
-import dbus
-import dbus.service
-import gobject
-import gconf
-import glib
-import dbus.mainloop.glib
-from ConfigParser import SafeConfigParser
-from xdg import BaseDirectory
-from StringIO import StringIO
-
-dbus.mainloop.glib.DBusGMainLoop(set_as_default=True)
-
-class DataProviderService(dbus.service.Object):
-
- def __init__(self, datasources, mainloop=None):
- bus_name = dbus.service.BusName("org.gnome.zeitgeist.datahub", dbus.SessionBus())
- dbus.service.Object.__init__(self, bus_name, "/org/gnome/zeitgeist/datahub")
- self._mainloop = mainloop
- self.__datasources = datasources
-
- @dbus.service.method("org.gnome.zeitgeist.DataHub",
- out_signature="as")
- def GetDataProviders(self):
- return [i.config.get_internal_name() for i in self.__datasources if i.config.has_dbus_service()]
-
- def needs_setup(self):
- return not self.__configuration.isConfigured()
-
-
-class SetupService(dbus.service.Object):
-
- def __init__(self, datasource, root_config, mainloop=None):
- bus_name = dbus.service.BusName("org.gnome.zeitgeist.datahub", dbus.SessionBus())
- dbus.service.Object.__init__(self,
- bus_name, "/org/gnome/zeitgeist/datahub/dataprovider/%s" %datasource)
- self._mainloop = mainloop
- self.__configuration = root_config
- if not isinstance(self.__configuration, _Configuration):
- raise TypeError
- self.__setup_is_running = None
-
- @dbus.service.method("org.gnome.zeitgeist.DataHub",
- in_signature="iss")
- def SetConfiguration(self, token, option, value):
- if token != self.__setup_is_running:
- raise RuntimeError("wrong client")
- self.__configuration.set_attribute(option, value)
-
- @dbus.service.signal("org.gnome.zeitgeist.DataHub")
- def NeedsSetup(self):
- pass
-
- @dbus.service.method("org.gnome.zeitgeist.DataHub",
- in_signature="i", out_signature="b")
- def RequestSetupRun(self, token):
- if self.__setup_is_running is None:
- self.__setup_is_running = token
- return True
- else:
- raise False
-
- @dbus.service.method("org.gnome.zeitgeist.DataHub",
- out_signature="a(sb)")
- def GetOptions(self, token):
- if token != self.__setup_is_running:
- raise RuntimeError("wrong client")
- return self.__configuration.get_options()
-
- def needs_setup(self):
- return not self.__configuration.isConfigured()
-
-
-class _Configuration(gobject.GObject):
-
- @staticmethod
- def like_bool(value):
- if isinstance(value, bool):
- return value
- elif value.lower() in ("true", "1", "on"):
- return True
- elif value.lower() in ("false", "0", "off"):
- return False
- else:
- raise ValueError
-
- def __init__(self, internal_name, use_dbus=True, mainloop=None):
- gobject.GObject.__init__(self)
- self.__required = set()
- self.__items = dict()
- self.__internal_name = internal_name.replace(" ", "_").lower()
- if use_dbus:
- self.__dbus_service = SetupService(self.__internal_name, self, mainloop)
- else:
- self.__dbus_service = None
-
- def has_dbus_service(self):
- return self.__dbus_service is not None
-
- def get_internal_name(self):
- return self.__internal_name
-
- def add_option(self, name, to_type=str, to_string=str, default=None,
- required=True, secret=False):
- if name in self.__items:
- raise ValueError
- if required:
- self.__required.add(name)
- if to_type is None:
- to_type = lambda x: x
- self.__items[name] = (to_type(default), (to_type, to_string), secret)
-
- def __getattr__(self, name):
- if not self.isConfigured():
- raise RuntimeError
- return self.__items[name][0]
-
- def get_as_string(self, name):
- if not self.isConfigured():
- raise RuntimeError
- try:
- value, (_, to_string), _ = self.__items[name]
- except KeyError:
- raise AttributeError
- return str(to_string(value))
-
- def set_attribute(self, name, value, check_configured=True):
- if name not in self.__items:
- raise ValueError
- _, (to_type, to_string), secret = self.__items[name]
- self.__items[name] = (to_type(value), (to_type, to_string), secret)
- if name in self.__required:
- self.remove_requirement(name)
- if check_configured and self.isConfigured():
- glib.idle_add(self.emit, "configured")
-
- def remove_requirement(self, name):
- self.__required.remove(name)
-
- def add_requirement(self, name):
- if not name in self.__items:
- raise ValueError
- self.__required.add(name)
-
- def isConfigured(self):
- return not self.__required
-
- def read_config(self, filename, section):
- config = SafeConfigParser()
- config.readfp(open(filename))
- if config.has_section(section):
- for name, value in config.items(section):
- self.set_attribute(name, value)
-
- def dump_config(self, config=None):
- section = self.get_internal_name()
- if config is None:
- config = SafeConfigParser()
- try:
- config.add_section(section)
- except ConfigParser.DuplicateSectionError:
- pass
- for key, value in self.__items.iteritems():
- value, _, secret = value
- if not secret:
- config.set(section, key, str(value))
- f = StringIO()
- config.write(f)
- return f.getvalue()
-
- def get_requirements(self):
- return self.__required
-
- def get_options(self):
- return [(str(key), key in self.__required) for key in self.__items]
-
-
-gobject.signal_new("configured", _Configuration,
- gobject.SIGNAL_RUN_LAST,
- gobject.TYPE_NONE,
- tuple())
-
-
-class DefaultConfiguration(_Configuration):
-
- CONFIGFILE = BaseDirectory.load_first_config("zeitgeist", "dataprovider.conf")
- DEFAULTS = [
- ("enabled", _Configuration.like_bool, str, True, False),
- ]
-
- def __init__(self, dataprovider):
- super(DefaultConfiguration, self).__init__(dataprovider)
- for default in self.DEFAULTS:
- self.add_option(*default)
- if self.CONFIGFILE:
- self.read_config(self.CONFIGFILE, self.get_internal_name())
-
- def save_config(self):
- if self.CONFIGFILE:
- config = SafeConfigParser()
- config.readfp(open(self.CONFIGFILE))
- self.dump_config(config)
- f = StringIO()
- config.write(f)
- configfile = open(self.CONFIGFILE, "w")
- try:
- config.write(configfile)
- finally:
- configfile.close()
-
-if __name__ == "__main__":
-
- # TODO: Move this to test/.
-
- def test(config):
- for option, required in config.get_options():
- print option, getattr(config, option)
-
- dbus.mainloop.glib.DBusGMainLoop(set_as_default=True)
- mainloop = gobject.MainLoop()
-
- config = _Configuration("test", True, mainloop)
- config.add_option("enabled", _Configuration.like_bool, default=False)
- config.connect("configured", test)
- mainloop.run()
=== modified file 'configure.ac'
--- configure.ac 2010-09-26 18:16:01 +0000
+++ configure.ac 2010-10-13 08:57:42 +0000
@@ -26,8 +26,6 @@
zeitgeist-daemon.pc
zeitgeist/Makefile
_zeitgeist/Makefile
- _zeitgeist/loggers/Makefile
- _zeitgeist/loggers/datasources/Makefile
_zeitgeist/engine/Makefile
_zeitgeist/engine/extensions/Makefile
_zeitgeist/engine/upgrades/Makefile
=== modified file 'doc/Makefile.am'
--- doc/Makefile.am 2010-09-02 15:08:17 +0000
+++ doc/Makefile.am 2010-10-13 08:57:42 +0000
@@ -1,6 +1,5 @@
man_MANS = \
- zeitgeist-daemon.1 \
- zeitgeist-datahub.1
+ zeitgeist-daemon.1
EXTRA_DIST = \
$(man_MANS) \
=== modified file 'doc/zeitgeist-daemon.1'
--- doc/zeitgeist-daemon.1 2010-09-16 21:38:52 +0000
+++ doc/zeitgeist-daemon.1 2010-10-13 08:57:42 +0000
@@ -19,16 +19,14 @@
items or modify existing information (delete items, add tags,
bookmark items and so on).
.PP
-By default, \fBzeitgeist\-daemon\fP will also start the bundled
-logging application \fBzeitgeist\-datahub\fP.
.SH OPTIONS
The program follows the usual GNU command line syntax, with
options starting with two dashes (`--'). A summary of options is
included below.
.TP
-.B \-\-no\-datahub, \-\-no\-passive\-loggers
-Do not start \fBzeitgeist\-datahub\fP together with this daemon.
+.B \-\-use\-datahub
+Start \fBzeitgeist\-datahub\fP together with this daemon if installed.
.TP
.B \-\-replace
Replace any existing Zeitgeist instance if there is one already running. If this
=== removed file 'doc/zeitgeist-datahub.1'
--- doc/zeitgeist-datahub.1 2010-01-21 14:57:23 +0000
+++ doc/zeitgeist-datahub.1 1970-01-01 00:00:00 +0000
@@ -1,56 +0,0 @@
-.TH ZEITGEIST\-DATAHUB 1 "May 20, 2009" "Zeitgeist"
-
-.SH NAME
-zeitgeist\-datahub \- passive loggers for Zeitgeist
-
-.SH SYNOPSIS
-\fBzeitgeist\-datahub\fP \fI[OPTION]\fP
-
-.SH DESCRIPTION
-\fBzeitgeist\-datahub\fP is a daemon which centralizes all passive
-data sources written in Python into a single process, and interfaces
-between said data sources (also known as \fIloggers\fP) and
-\fBzeitgeist-daemon\fP (with which it communicates via D-Bus).
-.PP
-\fBPassive\fP data sources are those which run in the background and
-look for activities independently to the programs they monitor, whereas
-Zeitgeist can also work with \fBactive\fP data sources which are those
-in-build into other applications (either natively or through
-extensions).
-
-.SH OPTIONS
-The program follows the usual GNU command line syntax, with
-options starting with two dashes (`--'). A summary of options is
-included below.
-.TP
-.B Currently there are no options available.
-
-.SH FILES
-.TP
-.B /usr/share/gnome-zeitgeist/zeitgeist/loggers/datasources/
-Python data sources inside this directory will be dinamically
-load at start time.
-
-.SH SEE ALSO
-\fBzeitgeist-daemon\fR
-
-.SH BUGS
-Please report any bugs on https://bugs.launchpad.net/zeitgeist.
-
-.SH AUTHORS
-Please see the AUTHORS file bundled with this application for
-a complete list of contributors.
-
-.SH LICENSE
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Lesser General Public License as published by
-the Free Software Foundation, either version 3 of the License, or
-(at your option) any later version.
-.PP
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Lesser General Public License for more details.
-.PP
-You should have received a copy of the GNU Lesser General Public License
-along with this program. If not, see <http://www.gnu.org/licenses/>.
=== modified file 'extra/packaging/debian/copyright'
--- extra/packaging/debian/copyright 2010-07-17 15:28:48 +0000
+++ extra/packaging/debian/copyright 2010-10-13 08:57:42 +0000
@@ -17,11 +17,6 @@
Copyright: © 2009 Rosetta Contributors and Canonical Ltd.
License: LGPL-3+
-Files: zeitgeist/loggers/iso_strptime.py
-Copyright: © 2009, Canonical Ltd.
-License: LGPL-3
- See `/usr/share/common-licenses/LGPL-3'.
-
Files: debian/*
Copyright: © 2009, Siegfried-Angel Gevatter Pujals <rainct@xxxxxxxxxx>
License: LGPL-3+
=== removed file 'extra/packaging/debian/zeitgeist-datahub.install'
--- extra/packaging/debian/zeitgeist-datahub.install 2010-03-24 14:54:14 +0000
+++ extra/packaging/debian/zeitgeist-datahub.install 1970-01-01 00:00:00 +0000
@@ -1,3 +0,0 @@
-usr/share/man/man1/zeitgeist-datahub.1
-usr/share/zeitgeist/_zeitgeist/loggers/*
-usr/bin/zeitgeist-datahub
=== modified file 'po/bg.po'
--- po/bg.po 2010-09-25 13:19:51 +0000
+++ po/bg.po 2010-10-13 08:57:42 +0000
@@ -22,50 +22,17 @@
msgid "if another Zeitgeist instance is already running, replace it"
msgstr "ако е пÑÑÐ½Ð°Ñ Ð´ÑÑг пÑоÑÐµÑ Zeitgeist â да Ñе замени"
-#: ../zeitgeist-daemon.py:65
-msgid "do not start zeitgeist-datahub automatically"
-msgstr "zeitgeist-datahub да не Ñе ÑÑаÑÑиÑа авÑомаÑиÑно"
-
#: ../zeitgeist-daemon.py:69
msgid "how much information should be printed; possible values:"
msgstr ""
#: ../zeitgeist-daemon.py:111
#, python-format
-msgid "File \"%s\" not found, not starting datahub"
-msgstr "ФайлÑÑ â%sâ не е оÑкÑеÑ. СÑаÑÑиÑа Ñе datahub"
#: ../zeitgeist-daemon.py:113
msgid "Starting Zeitgeist service..."
msgstr "СÑаÑÑиÑа Ñе ÑÑлÑгаÑа Zeitgeistâ¦"
-#: ../zeitgeist-datahub.py:62
-msgid "No passive loggers found, bye."
-msgstr "Ðе Ñа оÑкÑиÑи паÑивни пÑогÑами за пÑогÑамни ÑÑобÑениÑ. СпиÑане."
-
-#: ../zeitgeist-datahub.py:82
-#, python-format
-msgid "Could not load file: %s"
-msgstr "ФайлÑÑ Ð½Ðµ може да бÑде заÑеден: %s"
-
-#: ../zeitgeist-datahub.py:105
-#, python-format
-msgid "Updating database with new %s items"
-msgstr "ÐазаÑа Ð¾Ñ Ð´Ð°Ð½Ð½Ð¸ Ñе обновÑва Ñ Ð½Ð¾Ð²Ð¸ елеменÑа %s"
-
-#: ../zeitgeist-datahub.py:129
-msgid "Lost connection to zeitgeist-daemon, terminating."
-msgstr "ÐÑÑзкаÑа кÑм демона на Zeitgeist е изгÑбена. ÐÑогÑамаÑа ÑпиÑа."
-
-#: ../zeitgeist-datahub.py:132
-#, python-format
-msgid "Error logging item from \"%s\": %s"
-msgstr "ÐÑеÑка пÑи запиÑване на пÑогÑамно ÑÑобÑение Ð¾Ñ â%sâ: %s"
-
-#: ../_zeitgeist/loggers/datasources/recent.py:49
-msgid "Could not import GTK; data source disabled."
-msgstr "ÐиблиоÑекаÑа GTK не бе внеÑена. ÐзÑоÑниÑиÑе на данни Ñа изклÑÑени."
-
#~ msgid "Tags"
#~ msgstr "ÐÑикеÑи"
=== modified file 'po/ca.po'
--- po/ca.po 2010-09-25 13:19:51 +0000
+++ po/ca.po 2010-10-13 08:57:42 +0000
@@ -24,54 +24,14 @@
msgstr ""
"si una altre instà ncia del Zeitgeist ja s'està executant, substitueix-la"
-#: ../zeitgeist-daemon.py:66
-msgid "do not start zeitgeist-datahub automatically"
-msgstr "no iniciïs el zeitgeist-datahub automà ticament"
-
#: ../zeitgeist-daemon.py:70
msgid "how much information should be printed; possible values:"
msgstr "quanta informació s'ha de mostrar; valors possibles:"
-#: ../zeitgeist-daemon.py:112
-#, python-format
-msgid "File \"%s\" not found, not starting datahub"
-msgstr ""
-"No s'ha trobat el fitxer «%s», no s'iniciarà el gestor de monitors passius."
-
#: ../zeitgeist-daemon.py:120
msgid "Starting Zeitgeist service..."
msgstr "S'està iniciant el servei Zeitgeist..."
-#: ../zeitgeist-datahub.py:62
-msgid "No passive loggers found, bye."
-msgstr "No s'han trobat monitors passius; adéu."
-
-#: ../zeitgeist-datahub.py:82
-#, python-format
-msgid "Could not load file: %s"
-msgstr "No s'ha pogut carregar el fitxer: %s"
-
-#: ../zeitgeist-datahub.py:105
-#, python-format
-msgid "Updating database with new %s items"
-msgstr "S'està actualitzant la base de dades amb noves activitats: %s"
-
-#: ../zeitgeist-datahub.py:129
-msgid "Lost connection to zeitgeist-daemon, terminating."
-msgstr ""
-"S'ha perdut la connexió al zeitgeist-daemon; finalitzant el programa."
-
-#: ../zeitgeist-datahub.py:132
-#, python-format
-msgid "Error logging item from \"%s\": %s"
-msgstr ""
-"S'ha trobat un error al intentar enregistrar una activitat de «%s»: %s"
-
-#: ../_zeitgeist/loggers/datasources/recent.py:49
-msgid "Could not import GTK; data source disabled."
-msgstr ""
-"No s'ha pogut importar el mòdul PyGTK; s'ha inhabilitat aquesta font."
-
#~ msgid "Error: Zeitgeist service not running."
#~ msgstr "Error: No s'està executant el servei del Zeitgeist."
=== modified file 'po/cs.po'
--- po/cs.po 2010-09-25 13:19:51 +0000
+++ po/cs.po 2010-10-13 08:57:42 +0000
@@ -22,7 +22,7 @@
msgstr ""
#: ../zeitgeist-daemon.py:65
-msgid "do not start zeitgeist-datahub automatically"
+msgid "start zeitgeist-datahub automatically"
msgstr ""
#: ../zeitgeist-daemon.py:69
@@ -38,32 +38,6 @@
msgid "Starting Zeitgeist service..."
msgstr "SpouÅ¡tÃm službu Zeitgeist..."
-#: ../zeitgeist-datahub.py:62
-msgid "No passive loggers found, bye."
-msgstr ""
-
-#: ../zeitgeist-datahub.py:82
-#, python-format
-msgid "Could not load file: %s"
-msgstr "Nelze naÄÃst soubor: %s"
-
-#: ../zeitgeist-datahub.py:105
-#, python-format
-msgid "Updating database with new %s items"
-msgstr "Obnovuji databázi s %s novými položkami."
-
-#: ../zeitgeist-datahub.py:129
-msgid "Lost connection to zeitgeist-daemon, terminating."
-msgstr ""
-
-#: ../zeitgeist-datahub.py:132
-#, python-format
-msgid "Error logging item from \"%s\": %s"
-msgstr ""
-
-#: ../_zeitgeist/loggers/datasources/recent.py:49
-msgid "Could not import GTK; data source disabled."
-msgstr ""
#~ msgid ""
#~ "GNOME Zeitgeist is a tool for easily browsing and finding files on your "
=== modified file 'po/da.po'
--- po/da.po 2010-09-25 13:19:51 +0000
+++ po/da.po 2010-10-13 08:57:42 +0000
@@ -38,33 +38,6 @@
msgid "Starting Zeitgeist service..."
msgstr "Starter Zeitgeist service..."
-#: ../zeitgeist-datahub.py:62
-msgid "No passive loggers found, bye."
-msgstr "Ingen passiv logging tjeneste fundet"
-
-#: ../zeitgeist-datahub.py:82
-#, python-format
-msgid "Could not load file: %s"
-msgstr "Kunne ikke åbne fil: %s"
-
-#: ../zeitgeist-datahub.py:105
-#, python-format
-msgid "Updating database with new %s items"
-msgstr "Opdaterer databasen med nye %s elementer"
-
-#: ../zeitgeist-datahub.py:129
-msgid "Lost connection to zeitgeist-daemon, terminating."
-msgstr "Midstede forbindelsen til zeitgeist-daemon, afslutter."
-
-#: ../zeitgeist-datahub.py:132
-#, python-format
-msgid "Error logging item from \"%s\": %s"
-msgstr "Fejl ved logging af element fra \"%s\": %s"
-
-#: ../_zeitgeist/loggers/datasources/recent.py:49
-msgid "Could not import GTK; data source disabled."
-msgstr "Kunde ikke importere GTK; datakilde deaktiveret."
-
#~ msgid "Bookmarks"
#~ msgstr "Bogmærker"
=== modified file 'po/de.po'
--- po/de.po 2010-09-25 13:19:51 +0000
+++ po/de.po 2010-10-13 08:57:42 +0000
@@ -38,34 +38,6 @@
msgid "Starting Zeitgeist service..."
msgstr "Zeitgeist-Service wird gestartet ..."
-#: ../zeitgeist-datahub.py:62
-msgid "No passive loggers found, bye."
-msgstr "Es wurden keine passiven Logger gefunden. Auf Wiedersehen."
-
-#: ../zeitgeist-datahub.py:82
-#, python-format
-msgid "Could not load file: %s"
-msgstr "Datei konnte nicht geladen werden: %s"
-
-#: ../zeitgeist-datahub.py:105
-#, python-format
-msgid "Updating database with new %s items"
-msgstr "Aktualisierung der Datenbank mit neuen %s Objekten"
-
-#: ../zeitgeist-datahub.py:129
-msgid "Lost connection to zeitgeist-daemon, terminating."
-msgstr "Verbindung zum Zeitgeist-Daemon verloren, Anwendung wird beendet"
-
-#: ../zeitgeist-datahub.py:132
-#, python-format
-msgid "Error logging item from \"%s\": %s"
-msgstr "Fehler beim Protokollieren des Objektes von \"%s\": %s"
-
-#: ../_zeitgeist/loggers/datasources/recent.py:49
-msgid "Could not import GTK; data source disabled."
-msgstr ""
-"Konnte die GTK-Bibliothek nicht importieren; Die Datenquelle ist deaktiviert."
-
#~ msgid "Comments"
#~ msgstr "Kommentare"
=== modified file 'po/el.po'
--- po/el.po 2010-09-25 13:19:51 +0000
+++ po/el.po 2010-10-13 08:57:42 +0000
@@ -37,30 +37,3 @@
#: ../zeitgeist-daemon.py:113
msgid "Starting Zeitgeist service..."
msgstr ""
-
-#: ../zeitgeist-datahub.py:62
-msgid "No passive loggers found, bye."
-msgstr ""
-
-#: ../zeitgeist-datahub.py:82
-#, python-format
-msgid "Could not load file: %s"
-msgstr ""
-
-#: ../zeitgeist-datahub.py:105
-#, python-format
-msgid "Updating database with new %s items"
-msgstr ""
-
-#: ../zeitgeist-datahub.py:129
-msgid "Lost connection to zeitgeist-daemon, terminating."
-msgstr ""
-
-#: ../zeitgeist-datahub.py:132
-#, python-format
-msgid "Error logging item from \"%s\": %s"
-msgstr ""
-
-#: ../_zeitgeist/loggers/datasources/recent.py:49
-msgid "Could not import GTK; data source disabled."
-msgstr ""
=== modified file 'po/en_AU.po'
--- po/en_AU.po 2010-09-25 13:19:51 +0000
+++ po/en_AU.po 2010-10-13 08:57:42 +0000
@@ -37,30 +37,3 @@
#: ../zeitgeist-daemon.py:113
msgid "Starting Zeitgeist service..."
msgstr ""
-
-#: ../zeitgeist-datahub.py:62
-msgid "No passive loggers found, bye."
-msgstr ""
-
-#: ../zeitgeist-datahub.py:82
-#, python-format
-msgid "Could not load file: %s"
-msgstr ""
-
-#: ../zeitgeist-datahub.py:105
-#, python-format
-msgid "Updating database with new %s items"
-msgstr ""
-
-#: ../zeitgeist-datahub.py:129
-msgid "Lost connection to zeitgeist-daemon, terminating."
-msgstr ""
-
-#: ../zeitgeist-datahub.py:132
-#, python-format
-msgid "Error logging item from \"%s\": %s"
-msgstr ""
-
-#: ../_zeitgeist/loggers/datasources/recent.py:49
-msgid "Could not import GTK; data source disabled."
-msgstr ""
=== modified file 'po/en_CA.po'
--- po/en_CA.po 2010-09-25 13:19:51 +0000
+++ po/en_CA.po 2010-10-13 08:57:42 +0000
@@ -38,33 +38,6 @@
msgid "Starting Zeitgeist service..."
msgstr "Starting Zeitgeist service..."
-#: ../zeitgeist-datahub.py:62
-msgid "No passive loggers found, bye."
-msgstr "No passive loggers found, bye."
-
-#: ../zeitgeist-datahub.py:82
-#, python-format
-msgid "Could not load file: %s"
-msgstr "ould not load file: %s"
-
-#: ../zeitgeist-datahub.py:105
-#, python-format
-msgid "Updating database with new %s items"
-msgstr "Updating database with new %s items"
-
-#: ../zeitgeist-datahub.py:129
-msgid "Lost connection to zeitgeist-daemon, terminating."
-msgstr "Lost connection to zeitgeist-daemon, terminating."
-
-#: ../zeitgeist-datahub.py:132
-#, python-format
-msgid "Error logging item from \"%s\": %s"
-msgstr "Error logging item from \"%s\": %s"
-
-#: ../_zeitgeist/loggers/datasources/recent.py:49
-msgid "Could not import GTK; data source disabled."
-msgstr "Could not import GTK; data source disabled."
-
#~ msgid "Tags"
#~ msgstr "Tags"
=== modified file 'po/en_GB.po'
--- po/en_GB.po 2010-09-25 13:19:51 +0000
+++ po/en_GB.po 2010-10-13 08:57:42 +0000
@@ -38,33 +38,6 @@
msgid "Starting Zeitgeist service..."
msgstr "Starting Zeitgeist service..."
-#: ../zeitgeist-datahub.py:62
-msgid "No passive loggers found, bye."
-msgstr "No passive loggers found, bye."
-
-#: ../zeitgeist-datahub.py:82
-#, python-format
-msgid "Could not load file: %s"
-msgstr "Could not load file: %s"
-
-#: ../zeitgeist-datahub.py:105
-#, python-format
-msgid "Updating database with new %s items"
-msgstr "Updating database with new %s items"
-
-#: ../zeitgeist-datahub.py:129
-msgid "Lost connection to zeitgeist-daemon, terminating."
-msgstr "Lost connection to zeitgeist-daemon, terminating."
-
-#: ../zeitgeist-datahub.py:132
-#, python-format
-msgid "Error logging item from \"%s\": %s"
-msgstr "Error logging item from \"%s\": %s"
-
-#: ../_zeitgeist/loggers/datasources/recent.py:49
-msgid "Could not import GTK; data source disabled."
-msgstr "Could not import GTK; data source disabled."
-
#~ msgid "Tags"
#~ msgstr "Tags"
=== modified file 'po/eo.po'
--- po/eo.po 2010-09-25 13:19:51 +0000
+++ po/eo.po 2010-10-13 08:57:42 +0000
@@ -38,33 +38,6 @@
msgid "Starting Zeitgeist service..."
msgstr "Startigo de servo \"Zeitgeist\"..."
-#: ../zeitgeist-datahub.py:62
-msgid "No passive loggers found, bye."
-msgstr ""
-
-#: ../zeitgeist-datahub.py:82
-#, python-format
-msgid "Could not load file: %s"
-msgstr ""
-
-#: ../zeitgeist-datahub.py:105
-#, python-format
-msgid "Updating database with new %s items"
-msgstr ""
-
-#: ../zeitgeist-datahub.py:129
-msgid "Lost connection to zeitgeist-daemon, terminating."
-msgstr "Konekto al Zeitgeist-demono perdiÄis, mi Äesas."
-
-#: ../zeitgeist-datahub.py:132
-#, python-format
-msgid "Error logging item from \"%s\": %s"
-msgstr ""
-
-#: ../_zeitgeist/loggers/datasources/recent.py:49
-msgid "Could not import GTK; data source disabled."
-msgstr ""
-
#~ msgid "Tags"
#~ msgstr "Etikedoj"
=== modified file 'po/es.po'
--- po/es.po 2010-09-25 13:19:51 +0000
+++ po/es.po 2010-10-13 08:57:42 +0000
@@ -35,33 +35,6 @@
msgid "Starting Zeitgeist service..."
msgstr "Iniciando el servicio de Zeitgeist..."
-#: ../zeitgeist-datahub.py:62
-msgid "No passive loggers found, bye."
-msgstr "No se encontraron registradores pasivos, adiós."
-
-#: ../zeitgeist-datahub.py:82
-#, python-format
-msgid "Could not load file: %s"
-msgstr "No se pudo cargar el archivo: %s"
-
-#: ../zeitgeist-datahub.py:105
-#, python-format
-msgid "Updating database with new %s items"
-msgstr "Actualizando la base de datos con elementos nuevos: %s"
-
-#: ../zeitgeist-datahub.py:129
-msgid "Lost connection to zeitgeist-daemon, terminating."
-msgstr "Se ha perdido la conexión con el demonio Zeitgeist, terminando."
-
-#: ../zeitgeist-datahub.py:132
-#, python-format
-msgid "Error logging item from \"%s\": %s"
-msgstr "Error registrando elemento para \"%s\": %s"
-
-#: ../_zeitgeist/loggers/datasources/recent.py:49
-msgid "Could not import GTK; data source disabled."
-msgstr "No se pudo importar GTK; origen de datos desactivado."
-
#~ msgid "Error: Zeitgeist service not running."
#~ msgstr "Error: El servicio de Zeitgeist no está activo."
=== modified file 'po/eu.po'
--- po/eu.po 2010-09-25 13:19:51 +0000
+++ po/eu.po 2010-10-13 08:57:42 +0000
@@ -38,33 +38,6 @@
msgid "Starting Zeitgeist service..."
msgstr "Zeitgeist zerbitzua hasieratzen..."
-#: ../zeitgeist-datahub.py:62
-msgid "No passive loggers found, bye."
-msgstr ""
-
-#: ../zeitgeist-datahub.py:82
-#, python-format
-msgid "Could not load file: %s"
-msgstr "Ezin izan da fitxategia kargatu: %s"
-
-#: ../zeitgeist-datahub.py:105
-#, python-format
-msgid "Updating database with new %s items"
-msgstr "Datubasea eguneratzen %s elementu berrirekin"
-
-#: ../zeitgeist-datahub.py:129
-msgid "Lost connection to zeitgeist-daemon, terminating."
-msgstr ""
-
-#: ../zeitgeist-datahub.py:132
-#, python-format
-msgid "Error logging item from \"%s\": %s"
-msgstr ""
-
-#: ../_zeitgeist/loggers/datasources/recent.py:49
-msgid "Could not import GTK; data source disabled."
-msgstr "Ezin izan da GTK importatu, datu iturria desgaiturik."
-
#~ msgid "Tags"
#~ msgstr "Etiketak"
=== modified file 'po/fi.po'
--- po/fi.po 2010-09-25 13:19:51 +0000
+++ po/fi.po 2010-10-13 08:57:42 +0000
@@ -38,33 +38,6 @@
msgid "Starting Zeitgeist service..."
msgstr "Käynnistetään Zeitgeist-palvelua..."
-#: ../zeitgeist-datahub.py:62
-msgid "No passive loggers found, bye."
-msgstr "Yhtään passiivista kirjautujaa ei löytynyt, näkemiin."
-
-#: ../zeitgeist-datahub.py:82
-#, python-format
-msgid "Could not load file: %s"
-msgstr "Ei voitua ladata tiedostoa: %s"
-
-#: ../zeitgeist-datahub.py:105
-#, python-format
-msgid "Updating database with new %s items"
-msgstr "Päivitetään tietokantaa uudella %s kohdalla"
-
-#: ../zeitgeist-datahub.py:129
-msgid "Lost connection to zeitgeist-daemon, terminating."
-msgstr "Yhteys zeitgeist-velhoon katkesi, lopetetaan."
-
-#: ../zeitgeist-datahub.py:132
-#, python-format
-msgid "Error logging item from \"%s\": %s"
-msgstr "Kohdetta kirjattaessa välillä \"%s\":%s tapahtui virhe"
-
-#: ../_zeitgeist/loggers/datasources/recent.py:49
-msgid "Could not import GTK; data source disabled."
-msgstr "Kohdetta GTK ei voitu tuoda, datalähde estetty"
-
#~ msgid "Open Journal"
#~ msgstr "Avaa Päiväkirja"
=== modified file 'po/fr.po'
--- po/fr.po 2010-09-25 13:19:51 +0000
+++ po/fr.po 2010-10-13 08:57:42 +0000
@@ -38,33 +38,6 @@
msgid "Starting Zeitgeist service..."
msgstr "Démarrage du service d'indexation de Zeitgeist..."
-#: ../zeitgeist-datahub.py:62
-msgid "No passive loggers found, bye."
-msgstr "Aucun journalisateur passif trouvé, au revoir."
-
-#: ../zeitgeist-datahub.py:82
-#, python-format
-msgid "Could not load file: %s"
-msgstr "Impossible de charger le fichier : %s"
-
-#: ../zeitgeist-datahub.py:105
-#, python-format
-msgid "Updating database with new %s items"
-msgstr "Mise à jour de la base avec %s nouveaux éléments"
-
-#: ../zeitgeist-datahub.py:129
-msgid "Lost connection to zeitgeist-daemon, terminating."
-msgstr "La connexion à zeitgeist-démon a été perdue, arrêt en cours."
-
-#: ../zeitgeist-datahub.py:132
-#, python-format
-msgid "Error logging item from \"%s\": %s"
-msgstr "Erreur lors de la journalisation de l'item à partir de \"%s\" : %s"
-
-#: ../_zeitgeist/loggers/datasources/recent.py:49
-msgid "Could not import GTK; data source disabled."
-msgstr "Impossible d'importer GTK; source de données désactivée."
-
#~ msgid "Error: Zeitgeist service not running."
#~ msgstr "Erreur: le service d'indexation de Zeitgeist n'est pas actif."
=== modified file 'po/gl.po'
--- po/gl.po 2010-09-25 13:19:51 +0000
+++ po/gl.po 2010-10-13 08:57:42 +0000
@@ -38,33 +38,6 @@
msgid "Starting Zeitgeist service..."
msgstr ""
-#: ../zeitgeist-datahub.py:62
-msgid "No passive loggers found, bye."
-msgstr ""
-
-#: ../zeitgeist-datahub.py:82
-#, python-format
-msgid "Could not load file: %s"
-msgstr ""
-
-#: ../zeitgeist-datahub.py:105
-#, python-format
-msgid "Updating database with new %s items"
-msgstr ""
-
-#: ../zeitgeist-datahub.py:129
-msgid "Lost connection to zeitgeist-daemon, terminating."
-msgstr ""
-
-#: ../zeitgeist-datahub.py:132
-#, python-format
-msgid "Error logging item from \"%s\": %s"
-msgstr ""
-
-#: ../_zeitgeist/loggers/datasources/recent.py:49
-msgid "Could not import GTK; data source disabled."
-msgstr ""
-
#~ msgid "Comments"
#~ msgstr "Comentarios"
=== modified file 'po/hu.po'
--- po/hu.po 2010-09-25 13:19:51 +0000
+++ po/hu.po 2010-10-13 08:57:42 +0000
@@ -38,33 +38,6 @@
msgid "Starting Zeitgeist service..."
msgstr "Zeitgeist szolgáltatás indÃtása..."
-#: ../zeitgeist-datahub.py:62
-msgid "No passive loggers found, bye."
-msgstr "Nem találtunk passzÃv naplózót, viszlát!"
-
-#: ../zeitgeist-datahub.py:82
-#, python-format
-msgid "Could not load file: %s"
-msgstr "Nem tudom betölteni a fájlt: %s"
-
-#: ../zeitgeist-datahub.py:105
-#, python-format
-msgid "Updating database with new %s items"
-msgstr "Adatbázis frissÃtése új %s elemekkel"
-
-#: ../zeitgeist-datahub.py:129
-msgid "Lost connection to zeitgeist-daemon, terminating."
-msgstr "Elvesztettük a kapcsolatot a zeitgeist-daemonnal, a program kilép."
-
-#: ../zeitgeist-datahub.py:132
-#, python-format
-msgid "Error logging item from \"%s\": %s"
-msgstr "Hiba történt az elem naplózásakor innen: \"%s\": %s"
-
-#: ../_zeitgeist/loggers/datasources/recent.py:49
-msgid "Could not import GTK; data source disabled."
-msgstr "Nem sikerült importálni a GTK-t; az adat forrás ki lett kapcsolva."
-
#~ msgid "Notifications"
#~ msgstr "ÃrtesÃtések"
=== modified file 'po/id.po'
--- po/id.po 2010-09-25 13:19:51 +0000
+++ po/id.po 2010-10-13 08:57:42 +0000
@@ -38,29 +38,3 @@
msgid "Starting Zeitgeist service..."
msgstr "Memulai layanan Zeitgeist..."
-#: ../zeitgeist-datahub.py:62
-msgid "No passive loggers found, bye."
-msgstr ""
-
-#: ../zeitgeist-datahub.py:82
-#, python-format
-msgid "Could not load file: %s"
-msgstr "Tidak dapat memuat berkas: %s"
-
-#: ../zeitgeist-datahub.py:105
-#, python-format
-msgid "Updating database with new %s items"
-msgstr ""
-
-#: ../zeitgeist-datahub.py:129
-msgid "Lost connection to zeitgeist-daemon, terminating."
-msgstr ""
-
-#: ../zeitgeist-datahub.py:132
-#, python-format
-msgid "Error logging item from \"%s\": %s"
-msgstr ""
-
-#: ../_zeitgeist/loggers/datasources/recent.py:49
-msgid "Could not import GTK; data source disabled."
-msgstr ""
=== modified file 'po/it.po'
--- po/it.po 2010-09-25 13:19:51 +0000
+++ po/it.po 2010-10-13 08:57:42 +0000
@@ -38,33 +38,6 @@
msgid "Starting Zeitgeist service..."
msgstr "Avvio Zeitgeist in corso ..."
-#: ../zeitgeist-datahub.py:62
-msgid "No passive loggers found, bye."
-msgstr ""
-
-#: ../zeitgeist-datahub.py:82
-#, python-format
-msgid "Could not load file: %s"
-msgstr ""
-
-#: ../zeitgeist-datahub.py:105
-#, python-format
-msgid "Updating database with new %s items"
-msgstr ""
-
-#: ../zeitgeist-datahub.py:129
-msgid "Lost connection to zeitgeist-daemon, terminating."
-msgstr "Persa la connessione con zeitgeist-deamon, chiusura in corso."
-
-#: ../zeitgeist-datahub.py:132
-#, python-format
-msgid "Error logging item from \"%s\": %s"
-msgstr ""
-
-#: ../_zeitgeist/loggers/datasources/recent.py:49
-msgid "Could not import GTK; data source disabled."
-msgstr "Impossibile importare GTK;origine dati disabilitata."
-
#~ msgid "Comments"
#~ msgstr "Commenti"
=== modified file 'po/ja.po'
--- po/ja.po 2010-09-25 13:19:51 +0000
+++ po/ja.po 2010-10-13 08:57:42 +0000
@@ -38,33 +38,6 @@
msgid "Starting Zeitgeist service..."
msgstr "Zeitgeist ãµã¼ãã¹ãèµ·åãã¦ãã¾ã..."
-#: ../zeitgeist-datahub.py:62
-msgid "No passive loggers found, bye."
-msgstr "ããã·ãã»ãã¬ã¼ãè¦ã¤ããã¾ããã§ãããããããªãã"
-
-#: ../zeitgeist-datahub.py:82
-#, python-format
-msgid "Could not load file: %s"
-msgstr "ãã¡ã¤ã«ãèªã¿è¾¼ãã¾ããã§ãã: %s"
-
-#: ../zeitgeist-datahub.py:105
-#, python-format
-msgid "Updating database with new %s items"
-msgstr "æ°ãã %s ã¢ã¤ãã ã«ã¨ããªãããã¼ã¿ãã¼ã¹ãæ´æ°ãã¦ãã¾ã"
-
-#: ../zeitgeist-datahub.py:129
-msgid "Lost connection to zeitgeist-daemon, terminating."
-msgstr "zeitgeist-daemon ã¸ã®æ¥ç¶ã失ããããããçµäºå¦çãã¦ãã¾ãã"
-
-#: ../zeitgeist-datahub.py:132
-#, python-format
-msgid "Error logging item from \"%s\": %s"
-msgstr "\"%s\" ã®ã¢ã¤ãã ã®ãã°è¨é²ã§ã¨ã©ã¼: %s"
-
-#: ../_zeitgeist/loggers/datasources/recent.py:49
-msgid "Could not import GTK; data source disabled."
-msgstr "GTK ãã¤ã³ãã¼ãã§ããªãã£ãããããã¼ã¿ã½ã¼ã¹ã¯ç¡å¹åããã¾ããã"
-
#~ msgid "Tags"
#~ msgstr "ã¿ã°"
=== modified file 'po/lt.po'
--- po/lt.po 2010-09-25 13:19:51 +0000
+++ po/lt.po 2010-10-13 08:57:42 +0000
@@ -38,33 +38,6 @@
msgid "Starting Zeitgeist service..."
msgstr "Startuojama Zeitgeist paslauga..."
-#: ../zeitgeist-datahub.py:62
-msgid "No passive loggers found, bye."
-msgstr ""
-
-#: ../zeitgeist-datahub.py:82
-#, python-format
-msgid "Could not load file: %s"
-msgstr "Nepavyko įkelti bylos: %s"
-
-#: ../zeitgeist-datahub.py:105
-#, python-format
-msgid "Updating database with new %s items"
-msgstr ""
-
-#: ../zeitgeist-datahub.py:129
-msgid "Lost connection to zeitgeist-daemon, terminating."
-msgstr "Prarastas ryšys su zeitgeist paslauga, nutraukiama..."
-
-#: ../zeitgeist-datahub.py:132
-#, python-format
-msgid "Error logging item from \"%s\": %s"
-msgstr ""
-
-#: ../_zeitgeist/loggers/datasources/recent.py:49
-msgid "Could not import GTK; data source disabled."
-msgstr "Neįkeliamas GTK; duomenų šaltinis išjungtas"
-
#~ msgid "Tags"
#~ msgstr "ŽymÄs"
=== modified file 'po/mk.po'
--- po/mk.po 2010-09-25 13:19:51 +0000
+++ po/mk.po 2010-10-13 08:57:42 +0000
@@ -38,33 +38,6 @@
msgid "Starting Zeitgeist service..."
msgstr "Ðо ÑÑаÑÑÑвам Zeitgeist ÑеÑвиÑоÑ..."
-#: ../zeitgeist-datahub.py:62
-msgid "No passive loggers found, bye."
-msgstr "Ðе наÑдов паÑивни запиÑниÑаÑи, пÑиÑаÑно."
-
-#: ../zeitgeist-datahub.py:82
-#, python-format
-msgid "Could not load file: %s"
-msgstr "Ðеможе да Ñе вÑиÑа даÑоÑекаÑа: %s"
-
-#: ../zeitgeist-datahub.py:105
-#, python-format
-msgid "Updating database with new %s items"
-msgstr "ÐбновÑвам даÑабаза Ñо нови %s пÑедмеÑи"
-
-#: ../zeitgeist-datahub.py:129
-msgid "Lost connection to zeitgeist-daemon, terminating."
-msgstr "ÐонекÑиÑаÑа Ñо zeitgeist-daemon е изгÑбена, пÑекинÑваÑе."
-
-#: ../zeitgeist-datahub.py:132
-#, python-format
-msgid "Error logging item from \"%s\": %s"
-msgstr "ÐÑеÑка во запиÑÑваÑе на пÑедемеÑÐ¾Ñ Ð¾Ð´ \"%s\": %s"
-
-#: ../_zeitgeist/loggers/datasources/recent.py:49
-msgid "Could not import GTK; data source disabled."
-msgstr "Ðеможев да Ñвезам GTK; подаÑоÑен Ð¸Ð·Ð²Ð¾Ñ Ð¾Ð½ÐµÐ²Ð¾Ð·Ð¼Ð¾Ð¶ÐµÐ½."
-
#~ msgid "Tags"
#~ msgstr "ÐÑикеÑи"
=== modified file 'po/ml.po'
--- po/ml.po 2010-09-25 13:19:51 +0000
+++ po/ml.po 2010-10-13 08:57:42 +0000
@@ -38,36 +38,6 @@
msgid "Starting Zeitgeist service..."
msgstr "zeitgeist സരàµâà´µàµà´¸àµ à´à´°à´à´à´¿à´àµà´àµà´¨àµà´¨àµ..."
-#: ../zeitgeist-datahub.py:62
-msgid "No passive loggers found, bye."
-msgstr "പാസàµà´¸àµà´µàµ à´²àµà´àµà´àµà´´àµà´¸àµ à´à´¨àµà´¨àµà´ à´à´¿à´àµà´à´¿à´¯à´¿à´²àµà´², à´¬àµ."
-
-#: ../zeitgeist-datahub.py:82
-#, python-format
-msgid "Could not load file: %s"
-msgstr "ഫയലàµâ à´²àµà´¡àµ à´àµà´¯àµà´¯à´¾à´¨àµâ പറàµà´±à´¿à´¯à´¿à´²àµà´²: %s"
-
-#: ../zeitgeist-datahub.py:105
-#, python-format
-msgid "Updating database with new %s items"
-msgstr "ഡാറàµà´±à´¾à´¬àµà´¸àµ à´ªàµà´¤à´¿à´¯ %s വസàµà´¤àµà´àµà´à´³àµâ à´à´ªà´¯àµà´à´¿à´àµà´àµ പരിഷàµà´àµà´à´°à´¿à´àµà´àµà´¨àµà´¨àµ"
-
-#: ../zeitgeist-datahub.py:129
-msgid "Lost connection to zeitgeist-daemon, terminating."
-msgstr ""
-"zeitgeist-daemon à´à´¯à´¿ à´à´³àµà´³ ബനàµà´§à´ നഷàµà´à´ªàµà´ªàµà´àµà´à´¿à´°à´¿à´àµà´àµà´¨àµà´¨àµ, à´
വസാനിപàµà´ªà´¿à´àµà´àµà´¨àµà´¨àµ."
-
-#: ../zeitgeist-datahub.py:132
-#, python-format
-msgid "Error logging item from \"%s\": %s"
-msgstr "\"%s\"-à´²àµâ നിനàµà´¨àµà´³àµà´³ പിഴവൠലàµà´àµà´à´¿à´à´àµ à´à´¨à´: %s"
-
-#: ../_zeitgeist/loggers/datasources/recent.py:49
-msgid "Could not import GTK; data source disabled."
-msgstr ""
-"GTK à´à´±à´àµà´àµà´®à´¤à´¿ à´àµà´¯àµà´¯à´¾à´¨àµâ à´à´´à´¿à´¯à´¿à´²àµà´²; ഡാറàµà´±à´¾ à´¸àµà´°àµà´¤à´¸àµà´¸àµ à´ªàµà´°à´µà´°àµâà´¤àµà´¤à´¨à´°à´¹à´¿à´¤à´ "
-"à´à´àµà´à´¿à´¯à´¿à´°à´¿à´àµà´àµà´¨àµà´¨àµ."
-
#~ msgid "Tags"
#~ msgstr "à´à´¾à´àµà´à´³àµâ"
=== modified file 'po/nb.po'
--- po/nb.po 2010-09-25 13:19:51 +0000
+++ po/nb.po 2010-10-13 08:57:42 +0000
@@ -38,33 +38,6 @@
msgid "Starting Zeitgeist service..."
msgstr "Starter Zeitgeist-tjeneste..."
-#: ../zeitgeist-datahub.py:62
-msgid "No passive loggers found, bye."
-msgstr "Ingen passive loggere funnet, hade."
-
-#: ../zeitgeist-datahub.py:82
-#, python-format
-msgid "Could not load file: %s"
-msgstr "Kunne ikke laste fil: %s"
-
-#: ../zeitgeist-datahub.py:105
-#, python-format
-msgid "Updating database with new %s items"
-msgstr "Oppdaterer database med nye %s-gjenstander"
-
-#: ../zeitgeist-datahub.py:129
-msgid "Lost connection to zeitgeist-daemon, terminating."
-msgstr "Mistet kontakt med zeitgeist-daemon, terminerer."
-
-#: ../zeitgeist-datahub.py:132
-#, python-format
-msgid "Error logging item from \"%s\": %s"
-msgstr "Feil ved logging av gjenstand fra \"%s\": %s"
-
-#: ../_zeitgeist/loggers/datasources/recent.py:49
-msgid "Could not import GTK; data source disabled."
-msgstr "Kunne ikke importere GTK; datakilde avslått."
-
#~ msgid "Error: Zeitgeist service not running."
#~ msgstr "Feil: Zeitgeist-tjeneste kjører ikke."
=== modified file 'po/nl.po'
--- po/nl.po 2010-09-25 13:19:51 +0000
+++ po/nl.po 2010-10-13 08:57:42 +0000
@@ -38,33 +38,6 @@
msgid "Starting Zeitgeist service..."
msgstr "Zeitgeist-dienst wordt gestart..."
-#: ../zeitgeist-datahub.py:62
-msgid "No passive loggers found, bye."
-msgstr ""
-
-#: ../zeitgeist-datahub.py:82
-#, python-format
-msgid "Could not load file: %s"
-msgstr "Kon bestand niet laden: %s"
-
-#: ../zeitgeist-datahub.py:105
-#, python-format
-msgid "Updating database with new %s items"
-msgstr "Database wordt bijgewerkt met nieuwe %s onderdelen"
-
-#: ../zeitgeist-datahub.py:129
-msgid "Lost connection to zeitgeist-daemon, terminating."
-msgstr ""
-
-#: ../zeitgeist-datahub.py:132
-#, python-format
-msgid "Error logging item from \"%s\": %s"
-msgstr ""
-
-#: ../_zeitgeist/loggers/datasources/recent.py:49
-msgid "Could not import GTK; data source disabled."
-msgstr ""
-
#~ msgid "Bookmarks"
#~ msgstr "Bladwijzers"
=== modified file 'po/nn.po'
--- po/nn.po 2010-09-25 13:19:51 +0000
+++ po/nn.po 2010-10-13 08:57:42 +0000
@@ -38,33 +38,6 @@
msgid "Starting Zeitgeist service..."
msgstr "Startar Zeitgeist-tjeneste..."
-#: ../zeitgeist-datahub.py:62
-msgid "No passive loggers found, bye."
-msgstr ""
-
-#: ../zeitgeist-datahub.py:82
-#, python-format
-msgid "Could not load file: %s"
-msgstr ""
-
-#: ../zeitgeist-datahub.py:105
-#, python-format
-msgid "Updating database with new %s items"
-msgstr "Oppdaterar database med nye %s-gjenstandar"
-
-#: ../zeitgeist-datahub.py:129
-msgid "Lost connection to zeitgeist-daemon, terminating."
-msgstr ""
-
-#: ../zeitgeist-datahub.py:132
-#, python-format
-msgid "Error logging item from \"%s\": %s"
-msgstr ""
-
-#: ../_zeitgeist/loggers/datasources/recent.py:49
-msgid "Could not import GTK; data source disabled."
-msgstr ""
-
#~ msgid "Error: Zeitgeist service not running."
#~ msgstr "Feil: Zeitgeist-tjeneste kjøyrer ikkje."
=== modified file 'po/oc.po'
--- po/oc.po 2010-09-25 13:19:51 +0000
+++ po/oc.po 2010-10-13 08:57:42 +0000
@@ -38,33 +38,6 @@
msgid "Starting Zeitgeist service..."
msgstr "Aviada del servici d'indexacion de Zeitgeist..."
-#: ../zeitgeist-datahub.py:62
-msgid "No passive loggers found, bye."
-msgstr ""
-
-#: ../zeitgeist-datahub.py:82
-#, python-format
-msgid "Could not load file: %s"
-msgstr "Impossible de cargar lo fichièr : %s"
-
-#: ../zeitgeist-datahub.py:105
-#, python-format
-msgid "Updating database with new %s items"
-msgstr ""
-
-#: ../zeitgeist-datahub.py:129
-msgid "Lost connection to zeitgeist-daemon, terminating."
-msgstr ""
-
-#: ../zeitgeist-datahub.py:132
-#, python-format
-msgid "Error logging item from \"%s\": %s"
-msgstr ""
-
-#: ../_zeitgeist/loggers/datasources/recent.py:49
-msgid "Could not import GTK; data source disabled."
-msgstr ""
-
#~ msgid "Tags"
#~ msgstr "Etiquetas"
=== modified file 'po/pl.po'
--- po/pl.po 2010-09-25 13:19:51 +0000
+++ po/pl.po 2010-10-13 08:57:42 +0000
@@ -39,33 +39,6 @@
msgid "Starting Zeitgeist service..."
msgstr "Uruchamianie usÅugi Zeitgeist..."
-#: ../zeitgeist-datahub.py:62
-msgid "No passive loggers found, bye."
-msgstr "Nie odnaleziono pasywnych dzienników, koÅczenie dziaÅania."
-
-#: ../zeitgeist-datahub.py:82
-#, python-format
-msgid "Could not load file: %s"
-msgstr "Nie można wczytaÄ pliku: %s"
-
-#: ../zeitgeist-datahub.py:105
-#, python-format
-msgid "Updating database with new %s items"
-msgstr "Aktualizowanie bazy danych z %s nowymi elementami"
-
-#: ../zeitgeist-datahub.py:129
-msgid "Lost connection to zeitgeist-daemon, terminating."
-msgstr "Utracono poÅÄ
czenie z usÅugÄ
zeitgeist-daemon, koÅczenie dziaÅania."
-
-#: ../zeitgeist-datahub.py:132
-#, python-format
-msgid "Error logging item from \"%s\": %s"
-msgstr "BÅÄ
d podczas zapisywania elementu z \"%s\" w dzienniku: %s"
-
-#: ../_zeitgeist/loggers/datasources/recent.py:49
-msgid "Could not import GTK; data source disabled."
-msgstr "Nie można zaimportowaÄ biblioteki GTK+. Dane źródÅowe sÄ
wyÅÄ
czone."
-
#~ msgid "Tags"
#~ msgstr "Etykiety"
=== modified file 'po/pt.po'
--- po/pt.po 2010-09-25 13:19:51 +0000
+++ po/pt.po 2010-10-13 08:57:42 +0000
@@ -38,33 +38,6 @@
msgid "Starting Zeitgeist service..."
msgstr "A iniciar o serviço Zeitgeist..."
-#: ../zeitgeist-datahub.py:62
-msgid "No passive loggers found, bye."
-msgstr "Nenhum logger passivo encontrado, adeus."
-
-#: ../zeitgeist-datahub.py:82
-#, python-format
-msgid "Could not load file: %s"
-msgstr "Incapaz de ler o ficheiro: %s"
-
-#: ../zeitgeist-datahub.py:105
-#, python-format
-msgid "Updating database with new %s items"
-msgstr "A actualizar base de dados com novos itens %s"
-
-#: ../zeitgeist-datahub.py:129
-msgid "Lost connection to zeitgeist-daemon, terminating."
-msgstr "Conexão com zeitgeist-daemon perdida. Terminando."
-
-#: ../zeitgeist-datahub.py:132
-#, python-format
-msgid "Error logging item from \"%s\": %s"
-msgstr "Erro ao criar log do item de \"%s\": %s"
-
-#: ../_zeitgeist/loggers/datasources/recent.py:49
-msgid "Could not import GTK; data source disabled."
-msgstr "Incapaz de importar GTK; fonte dos dados desabilitada."
-
#~ msgid "Error: Zeitgeist service not running."
#~ msgstr "Erro: O serviço Zeitgeist não está em funcionamento."
=== modified file 'po/pt_BR.po'
--- po/pt_BR.po 2010-09-25 13:19:51 +0000
+++ po/pt_BR.po 2010-10-13 08:57:42 +0000
@@ -40,33 +40,6 @@
msgid "Starting Zeitgeist service..."
msgstr "Iniciando serviço Zeitgeist..."
-#: ../zeitgeist-datahub.py:62
-msgid "No passive loggers found, bye."
-msgstr "Nenhum logger passivo encontrado, até logo."
-
-#: ../zeitgeist-datahub.py:82
-#, python-format
-msgid "Could not load file: %s"
-msgstr "Não foi possÃvel carregar o arquivo: %s"
-
-#: ../zeitgeist-datahub.py:105
-#, python-format
-msgid "Updating database with new %s items"
-msgstr "Atualizando banco de dados com os novos %s itens"
-
-#: ../zeitgeist-datahub.py:129
-msgid "Lost connection to zeitgeist-daemon, terminating."
-msgstr "Perda de conexão com o zeitgeist-daemon, encerrando."
-
-#: ../zeitgeist-datahub.py:132
-#, python-format
-msgid "Error logging item from \"%s\": %s"
-msgstr "Erro ao criar log do item de \"%s\": %s"
-
-#: ../_zeitgeist/loggers/datasources/recent.py:49
-msgid "Could not import GTK; data source disabled."
-msgstr "Não foi possÃvel importar GTK; fonte de dados desabilitada."
-
#~ msgid "Error: Zeitgeist service not running."
#~ msgstr "Erro: O serviço do Zeitgeist não está rodando."
=== modified file 'po/ro.po'
--- po/ro.po 2010-09-25 13:19:51 +0000
+++ po/ro.po 2010-10-13 08:57:42 +0000
@@ -40,33 +40,6 @@
msgid "Starting Zeitgeist service..."
msgstr "Se porneÈte serviciul Zeitgeist..."
-#: ../zeitgeist-datahub.py:62
-msgid "No passive loggers found, bye."
-msgstr "Nu s-a gÄsit niciun jurnal pasiv, se iese."
-
-#: ../zeitgeist-datahub.py:82
-#, python-format
-msgid "Could not load file: %s"
-msgstr "Nu s-a putut încÄrca fiÈierul: %s"
-
-#: ../zeitgeist-datahub.py:105
-#, python-format
-msgid "Updating database with new %s items"
-msgstr "Se actualizeazÄ baza de date cu noi elemente %s"
-
-#: ../zeitgeist-datahub.py:129
-msgid "Lost connection to zeitgeist-daemon, terminating."
-msgstr "S-a pierdut conexiunea la zeitgeist-daemon, se terminÄ execuÈia."
-
-#: ../zeitgeist-datahub.py:132
-#, python-format
-msgid "Error logging item from \"%s\": %s"
-msgstr "Eroare la înregistrarea în jurnal a unui element de la â%sâ: %s"
-
-#: ../_zeitgeist/loggers/datasources/recent.py:49
-msgid "Could not import GTK; data source disabled."
-msgstr "Nu s-a putut importa GTK; sursa de date este dezactivatÄ."
-
#~ msgid "Tags"
#~ msgstr "Etichete"
=== modified file 'po/ru.po'
--- po/ru.po 2010-09-25 13:19:51 +0000
+++ po/ru.po 2010-10-13 08:57:42 +0000
@@ -38,33 +38,6 @@
msgid "Starting Zeitgeist service..."
msgstr "ÐапÑÑк ÑлÑÐ¶Ð±Ñ Zeitgeist"
-#: ../zeitgeist-datahub.py:62
-msgid "No passive loggers found, bye."
-msgstr "Ðе найдено паÑÑивнÑÑ
ÑегиÑÑÑаÑоÑов, до ÑвиданиÑ."
-
-#: ../zeitgeist-datahub.py:82
-#, python-format
-msgid "Could not load file: %s"
-msgstr "Ðевозможно загÑÑзиÑÑ Ñайл: %s"
-
-#: ../zeitgeist-datahub.py:105
-#, python-format
-msgid "Updating database with new %s items"
-msgstr "Ðбновление Ð±Ð°Ð·Ñ Ð´Ð°Ð½Ð½ÑÑ
, %s новÑÑ
ÑлеменÑов"
-
-#: ../zeitgeist-datahub.py:129
-msgid "Lost connection to zeitgeist-daemon, terminating."
-msgstr "ÐоÑеÑÑно Ñоединение Ñ zeitgeist-daemon, завеÑÑаÑÑÑ."
-
-#: ../zeitgeist-datahub.py:132
-#, python-format
-msgid "Error logging item from \"%s\": %s"
-msgstr "ÐÑибка внеÑÐµÐ½Ð¸Ñ Ð² жÑÑнал «%s»: %s"
-
-#: ../_zeitgeist/loggers/datasources/recent.py:49
-msgid "Could not import GTK; data source disabled."
-msgstr "Ðевозможно импоÑÑиÑоваÑÑ GTK; иÑÑоÑник даннÑÑ
недоÑÑÑпен."
-
#~ msgid "Bookmarks"
#~ msgstr "Ðакладки"
=== modified file 'po/sv.po'
--- po/sv.po 2010-09-25 13:19:51 +0000
+++ po/sv.po 2010-10-13 08:57:42 +0000
@@ -38,33 +38,6 @@
msgid "Starting Zeitgeist service..."
msgstr "Startar Zeitgeist-tjänsten..."
-#: ../zeitgeist-datahub.py:62
-msgid "No passive loggers found, bye."
-msgstr "Inga passiva loggare hittades, adjö."
-
-#: ../zeitgeist-datahub.py:82
-#, python-format
-msgid "Could not load file: %s"
-msgstr "Kunde inte läsa in fil: %s"
-
-#: ../zeitgeist-datahub.py:105
-#, python-format
-msgid "Updating database with new %s items"
-msgstr "Uppdaterar databas med nya %s-element."
-
-#: ../zeitgeist-datahub.py:129
-msgid "Lost connection to zeitgeist-daemon, terminating."
-msgstr "Tappade anslutning till zeitgeist-daemon, avslutar."
-
-#: ../zeitgeist-datahub.py:132
-#, python-format
-msgid "Error logging item from \"%s\": %s"
-msgstr "Misslyckades att logga objekt från \"%s\": %s"
-
-#: ../_zeitgeist/loggers/datasources/recent.py:49
-msgid "Could not import GTK; data source disabled."
-msgstr "Kunde inte importera GTK; datakälla inaktiverad."
-
#~ msgid "Open Journal"
#~ msgstr "Ãppna Dagbok"
=== modified file 'po/te.po'
--- po/te.po 2010-09-25 13:19:51 +0000
+++ po/te.po 2010-10-13 08:57:42 +0000
@@ -34,37 +34,6 @@
msgid "File \"%s\" not found, not starting datahub"
msgstr ""
-#: ../zeitgeist-daemon.py:113
-msgid "Starting Zeitgeist service..."
-msgstr ""
-
-#: ../zeitgeist-datahub.py:62
-msgid "No passive loggers found, bye."
-msgstr ""
-
-#: ../zeitgeist-datahub.py:82
-#, python-format
-msgid "Could not load file: %s"
-msgstr ""
-
-#: ../zeitgeist-datahub.py:105
-#, python-format
-msgid "Updating database with new %s items"
-msgstr ""
-
-#: ../zeitgeist-datahub.py:129
-msgid "Lost connection to zeitgeist-daemon, terminating."
-msgstr ""
-
-#: ../zeitgeist-datahub.py:132
-#, python-format
-msgid "Error logging item from \"%s\": %s"
-msgstr ""
-
-#: ../_zeitgeist/loggers/datasources/recent.py:49
-msgid "Could not import GTK; data source disabled."
-msgstr ""
-
#~ msgid "Tags"
#~ msgstr "à°à±à°¯à°¾à°à±à°²à±"
=== modified file 'po/tr.po'
--- po/tr.po 2010-09-25 13:19:51 +0000
+++ po/tr.po 2010-10-13 08:57:42 +0000
@@ -38,33 +38,6 @@
msgid "Starting Zeitgeist service..."
msgstr "Zeitgeist hizmeti baÅlatılıyor..."
-#: ../zeitgeist-datahub.py:62
-msgid "No passive loggers found, bye."
-msgstr "Pasif kaydedici bulunamadı, hoÅça kal."
-
-#: ../zeitgeist-datahub.py:82
-#, python-format
-msgid "Could not load file: %s"
-msgstr "Dosya yüklenemedi: %s"
-
-#: ../zeitgeist-datahub.py:105
-#, python-format
-msgid "Updating database with new %s items"
-msgstr "Yeni %s ögeleriyle birlikte veri tabanı güncelleniyor"
-
-#: ../zeitgeist-datahub.py:129
-msgid "Lost connection to zeitgeist-daemon, terminating."
-msgstr "Zeitgeist-hizmeti baÄlantısı koptu, sonlandırılıyor."
-
-#: ../zeitgeist-datahub.py:132
-#, python-format
-msgid "Error logging item from \"%s\": %s"
-msgstr "\"%s\" konumundaki ögenin günlüklemesinde hata: %s"
-
-#: ../_zeitgeist/loggers/datasources/recent.py:49
-msgid "Could not import GTK; data source disabled."
-msgstr "GTK içeri aktarılamadı; veri kaynaÄı devre dıÅı."
-
#~ msgid "Tags"
#~ msgstr "Etiketler"
=== modified file 'po/uk.po'
--- po/uk.po 2010-09-25 13:19:51 +0000
+++ po/uk.po 2010-10-13 08:57:42 +0000
@@ -38,33 +38,6 @@
msgid "Starting Zeitgeist service..."
msgstr "Файло-облÑкова/поÑÑкова ÑиÑÑема ÐайÑгайÑÑ Ð·Ð°Ð²Ð°Ð½ÑажÑÑÑÑÑÑ..."
-#: ../zeitgeist-datahub.py:62
-msgid "No passive loggers found, bye."
-msgstr "Ðе знайдено паÑивниÑ
жÑÑналÑв, бÑвайÑе."
-
-#: ../zeitgeist-datahub.py:82
-#, python-format
-msgid "Could not load file: %s"
-msgstr "Ðеможливо заванÑажиÑи Ñайл: %s"
-
-#: ../zeitgeist-datahub.py:105
-#, python-format
-msgid "Updating database with new %s items"
-msgstr "Ðо бази даниÑ
додаÑÑÑÑÑ Ð½Ð¾Ð²Ñ %s елеменÑи"
-
-#: ../zeitgeist-datahub.py:129
-msgid "Lost connection to zeitgeist-daemon, terminating."
-msgstr "ÐÑÑаÑено зв'Ñзок з демоном zeitgeist-daemon, виÑ
оджÑ."
-
-#: ../zeitgeist-datahub.py:132
-#, python-format
-msgid "Error logging item from \"%s\": %s"
-msgstr "Ðомилка запиÑÑ Ð² жÑÑнал елеменÑа з \"%s\": %s"
-
-#: ../_zeitgeist/loggers/datasources/recent.py:49
-msgid "Could not import GTK; data source disabled."
-msgstr "Ðе вдаÑÑÑÑÑ ÑмпоÑÑÑваÑи GTK; джеÑело даниÑ
деакÑивовано."
-
#~ msgid "Open Journal"
#~ msgstr "ÐÑдкÑиÑи жÑÑнал дÑй"
=== modified file 'po/ur.po'
--- po/ur.po 2010-09-25 13:19:51 +0000
+++ po/ur.po 2010-10-13 08:57:42 +0000
@@ -38,33 +38,6 @@
msgid "Starting Zeitgeist service..."
msgstr "زÛÙ¹Ú¯Ûسٹ سرÙس شرÙع Û٠رÛÛ Ú¾Û"
-#: ../zeitgeist-datahub.py:62
-msgid "No passive loggers found, bye."
-msgstr ""
-
-#: ../zeitgeist-datahub.py:82
-#, python-format
-msgid "Could not load file: %s"
-msgstr ""
-
-#: ../zeitgeist-datahub.py:105
-#, python-format
-msgid "Updating database with new %s items"
-msgstr ""
-
-#: ../zeitgeist-datahub.py:129
-msgid "Lost connection to zeitgeist-daemon, terminating."
-msgstr ""
-
-#: ../zeitgeist-datahub.py:132
-#, python-format
-msgid "Error logging item from \"%s\": %s"
-msgstr ""
-
-#: ../_zeitgeist/loggers/datasources/recent.py:49
-msgid "Could not import GTK; data source disabled."
-msgstr ""
-
#~ msgid "Tags"
#~ msgstr "Ù¹Ûگز"
=== modified file 'po/zh_CN.po'
--- po/zh_CN.po 2010-09-25 13:19:51 +0000
+++ po/zh_CN.po 2010-10-13 08:57:42 +0000
@@ -38,33 +38,6 @@
msgid "Starting Zeitgeist service..."
msgstr "æ£å¨å¯å¨ Zeitgeist æå¡..."
-#: ../zeitgeist-datahub.py:62
-msgid "No passive loggers found, bye."
-msgstr "æªæ¾å°è¢«å¨å¼æ¥å¿è®°å½ç¨åºï¼éåºã"
-
-#: ../zeitgeist-datahub.py:82
-#, python-format
-msgid "Could not load file: %s"
-msgstr "æ æ³è½½å
¥æ件ï¼%s"
-
-#: ../zeitgeist-datahub.py:105
-#, python-format
-msgid "Updating database with new %s items"
-msgstr "æ£å¨æ´æ°æ°æ®åºï¼æ·»å %s 项记å½"
-
-#: ../zeitgeist-datahub.py:129
-msgid "Lost connection to zeitgeist-daemon, terminating."
-msgstr "失å»ä¸ zeitgeist-daemon å®æ¤è¿ç¨çè¿æ¥ï¼ç»æ¢ã"
-
-#: ../zeitgeist-datahub.py:132
-#, python-format
-msgid "Error logging item from \"%s\": %s"
-msgstr "为 %s 项记å½æ¥å¿åºéï¼%s"
-
-#: ../_zeitgeist/loggers/datasources/recent.py:49
-msgid "Could not import GTK; data source disabled."
-msgstr "æ æ³å¯¼å
¥ GTKï¼æ°æ®æºå·²ç¦ç¨ã"
-
#~ msgid "Tags"
#~ msgstr "æ ç¾"
=== modified file 'po/zh_TW.po'
--- po/zh_TW.po 2010-09-25 13:19:51 +0000
+++ po/zh_TW.po 2010-10-13 08:57:42 +0000
@@ -37,30 +37,3 @@
#: ../zeitgeist-daemon.py:113
msgid "Starting Zeitgeist service..."
msgstr "æ£å¨åå Zeitgeist æå..."
-
-#: ../zeitgeist-datahub.py:62
-msgid "No passive loggers found, bye."
-msgstr "æ¾ä¸å°è¢«åå¼ç´éå¨ï¼æ°åã"
-
-#: ../zeitgeist-datahub.py:82
-#, python-format
-msgid "Could not load file: %s"
-msgstr "ç¡æ³è¼å
¥æªæ¡ï¼%s"
-
-#: ../zeitgeist-datahub.py:105
-#, python-format
-msgid "Updating database with new %s items"
-msgstr "æ£å¨æ´æ°è³æ庫ç %s åæ°é
ç®"
-
-#: ../zeitgeist-datahub.py:129
-msgid "Lost connection to zeitgeist-daemon, terminating."
-msgstr "失å»è zeitgeist-daemon çé£ç·ï¼æ£å¨çµæ¢ã"
-
-#: ../zeitgeist-datahub.py:132
-#, python-format
-msgid "Error logging item from \"%s\": %s"
-msgstr "å¾ã%sãç´éé
ç®æç¼çé¯èª¤ï¼%s"
-
-#: ../_zeitgeist/loggers/datasources/recent.py:49
-msgid "Could not import GTK; data source disabled."
-msgstr "ç¡æ³å¯å
¥ GTKï¼è³æä¾æºå·²åç¨ã"
=== removed file 'test/loggers-datasources-recent-test.py'
--- test/loggers-datasources-recent-test.py 2010-09-21 09:17:41 +0000
+++ test/loggers-datasources-recent-test.py 1970-01-01 00:00:00 +0000
@@ -1,49 +0,0 @@
-#!/usr/bin/python
-
-# Update python path to use local zeitgeist module
-import sys
-import os
-import re
-import unittest
-
-sys.path.insert(0, os.path.join(os.path.dirname(__file__), ".."))
-
-SimpleMatch = None
-MimeTypeSet = None
-
-class BaseTestCase(unittest.TestCase):
-
- def setUp(self):
- global SimpleMatch
- global MimeTypeSet
- if None in (SimpleMatch, MimeTypeSet):
- from _zeitgeist.loggers.datasources.recent import SimpleMatch as _SM, MimeTypeSet as _MTS
- SimpleMatch = _SM
- MimeTypeSet = _MTS
-
-class SimpleMatchTest(BaseTestCase):
-
- def testmatch(self):
- self.assertTrue(SimpleMatch("boo/*").match("boo/bar"))
- self.assertTrue(SimpleMatch("boo/bar.*").match("boo/bar.foo"))
- self.assertFalse(SimpleMatch("boo/bar.*").match("boo/barfoo"))
-
-class MimeTypeSetTest(BaseTestCase):
-
- def testinit(self):
- self.assertEquals(repr(MimeTypeSet("boo", "bar", "foo")), "MimeTypeSet('bar', 'boo', 'foo')")
- self.assertEquals(repr(MimeTypeSet("boo", "foo", "foo")), "MimeTypeSet('boo', 'foo')")
- m = MimeTypeSet("boo", SimpleMatch("bar/*"), re.compile("test.*"))
- self.assertEquals(len(m), 3)
- self.assertRaises(ValueError, MimeTypeSet, 1)
-
- def testcontains(self):
- m = MimeTypeSet("boo", SimpleMatch("bar/*"), re.compile("test.*"))
- self.assertTrue("boo" in m)
- self.assertTrue("bar/boo" in m)
- self.assertTrue("testboo" in m)
- self.assertFalse("boobar" in m)
- self.assertFalse("bar" in m)
-
-if __name__ == '__main__':
- unittest.main()
=== modified file 'test/scalability-test.py'
--- test/scalability-test.py 2010-05-20 09:59:42 +0000
+++ test/scalability-test.py 2010-10-13 08:57:42 +0000
@@ -121,7 +121,7 @@
def spawn_daemon(database_file, logger=PIPE):
os.environ.update({"ZEITGEIST_DATABASE_PATH": database_file})
daemon = Popen(
- ["./zeitgeist-daemon.py", "--no-datahub"], stderr=logger, stdout=logger
+ ["./zeitgeist-daemon.py",], stderr=logger, stdout=logger
)
time.sleep(3)
err = daemon.poll()
=== modified file 'test/testutils.py'
--- test/testutils.py 2010-09-24 15:17:15 +0000
+++ test/testutils.py 2010-10-13 08:57:42 +0000
@@ -121,7 +121,7 @@
return stderr
return RemoteTestCase._safe_start_subprocess(
- ("./zeitgeist-daemon.py", "--no-datahub"), env, timeout, error_callback
+ ("./zeitgeist-daemon.py",), env, timeout, error_callback
)
def __init__(self, methodName):
=== modified file 'zeitgeist-daemon.py'
--- zeitgeist-daemon.py 2010-09-15 12:56:45 +0000
+++ zeitgeist-daemon.py 2010-10-13 08:57:42 +0000
@@ -61,9 +61,9 @@
action = "store_true", default=False, dest = "replace",
help = _("if another Zeitgeist instance is already running, replace it"))
parser.add_option(
- "--no-datahub", "--no-passive-loggers",
- action = "store_false", default=True, dest = "start_datahub",
- help = _("do not start zeitgeist-datahub automatically"))
+ "--use-datahub",
+ action = "store_true", default=False, dest = "start_datahub",
+ help = _("start zeitgeist-datahub"))
parser.add_option(
"--log-level",
action = "store", type="log_levels", default="DEBUG", dest="log_level",
@@ -100,17 +100,16 @@
logging.error(unicode(e))
sys.exit(1)
-passive_loggers = os.path.join(_config.bindir, "zeitgeist-datahub.py")
if _config.options.start_datahub:
- if os.path.isfile(passive_loggers):
- devnull = open(os.devnull, 'w')
- subprocess.Popen(passive_loggers, stdin=devnull, stdout=devnull,
- stderr=devnull)
- del devnull
- else:
+ devnull = open(os.devnull, 'w')
+ try:
+ subprocess.Popen("zeitgeist-datahub", stdin=devnull, stdout=devnull,
+ stderr=devnull)
+ except:
logging.warning(
_("File \"%s\" not found, not starting datahub") % passive_loggers)
-
+ del devnull
+
def handle_sighup(signum, frame):
"""We are using the SIGHUP signal to shutdown zeitgeist in a clean way"""
logging.info("got SIGHUP signal, shutting down zeitgeist interface")
=== removed file 'zeitgeist-datahub.py'
--- zeitgeist-datahub.py 2010-01-21 14:57:23 +0000
+++ zeitgeist-datahub.py 1970-01-01 00:00:00 +0000
@@ -1,135 +0,0 @@
-#! /usr/bin/env python
-# -.- coding: utf-8 -.-
-
-# Zeitgeist
-#
-# Copyright © 2009 Siegfried-Angel Gevatter Pujals <rainct@xxxxxxxxxx>
-#
-# This program is free software: you can redistribute it and/or modify
-# it under the terms of the GNU Lesser General Public License as published by
-# the Free Software Foundation, either version 3 of the License, or
-# (at your option) any later version.
-#
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-# GNU Lesser General Public License for more details.
-#
-# You should have received a copy of the GNU Lesser General Public License
-# along with this program. If not, see <http://www.gnu.org/licenses/>.
-
-import sys
-import os
-import glob
-import gettext
-import logging
-import gobject
-import dbus.exceptions
-
-from zeitgeist import _config
-_config.setup_path()
-
-from zeitgeist.client import ZeitgeistDBusInterface
-from _zeitgeist.loggers.zeitgeist_setup_service import DataProviderService
-
-gettext.install("zeitgeist", _config.localedir, unicode=1)
-logging.basicConfig(level=logging.DEBUG)
-
-sys.path.insert(0, _config.datasourcedir)
-
-class DataHub(gobject.GObject):
-
- __gsignals__ = {
- "reload" : (gobject.SIGNAL_RUN_LAST, gobject.TYPE_NONE, ()),
- }
-
- def __init__(self):
-
- gobject.GObject.__init__(self)
-
- self._client = ZeitgeistDBusInterface()
- self._client.connect_exit(self._daemon_exit)
-
- # Load the data sources
- self._sources = []
- for datasource_file in glob.glob(_config.datasourcedir + '/*.py'):
- if not datasource_file.startswith('_'):
- self._load_datasource_file(os.path.basename(datasource_file))
-
- # Start by fetch new items from all sources
- self._sources_queue = list(self._sources)
- if not self._sources_queue:
- logging.warning(_("No passive loggers found, bye."))
- sys.exit(1) # Mainloop doesn't exist yet, exit directly
- self._db_update_in_progress = True
- gobject.idle_add(self._update_db_async)
-
- for source in self._sources:
- source.connect("reload", self._update_db_with_source)
-
- self._mainloop = gobject.MainLoop()
- self.dbus_service = DataProviderService(self._sources, None)
- self._mainloop.run()
-
- def _daemon_exit(self):
- self._mainloop.quit()
-
- def _load_datasource_file(self, datasource_file):
-
- try:
- datasource_object = __import__(datasource_file[:-3])
- except ImportError, err:
- logging.exception(_("Could not load file: %s" % datasource_file))
- return False
-
- if hasattr(datasource_object, "__datasource__"):
- objs = datasource_object.__datasource__
- for obj in objs if hasattr(objs, "__iter__") else (objs,):
- self._sources.append(obj(self._client))
-
- def _update_db_with_source(self, source):
- """
- Add new items into the database. This funcion should not be
- called directly, but instead activated through the "reload"
- signal.
- """
-
- if not source in self._sources_queue:
- self._sources_queue.append(source)
- if not self._db_update_in_progress:
- self._db_update_in_progress = True
- gobject.idle_add(self._update_db_async)
-
- def _update_db_async(self):
-
- logging.debug(_("Updating database with new %s items") % \
- self._sources_queue[0].get_name())
-
- events = self._sources_queue[0].get_items()
- if events:
- self._insert_events(self._sources_queue[0].get_name(), events)
-
- del self._sources_queue[0]
-
- if len(self._sources_queue) == 0:
- self._db_update_in_progress = False
- return False # Return False to stop this callback
-
- # Otherwise, if there are more items in the queue return True so
- # that GTK+ will continue to call this function in idle CPU time
- return True
-
- def _insert_events(self, source_name, events):
- try:
- self._client.InsertEvents(events)
- except dbus.exceptions.DBusException, error:
- error = error.get_dbus_name()
- if error == "org.freedesktop.DBus.Error.ServiceUnknown":
- logging.warning(
- _("Lost connection to zeitgeist-daemon, terminating."))
- self._daemon_exit()
- else:
- logging.exception(_("Error logging item from \"%s\": %s" % \
- (source_name, error)))
-
-datahub = DataHub()
=== modified file 'zeitgeist/__init__.py'
--- zeitgeist/__init__.py 2010-07-28 15:48:36 +0000
+++ zeitgeist/__init__.py 2010-10-13 08:57:42 +0000
@@ -22,7 +22,6 @@
localedir = "/usr/share/locale"
pkgdatadir = os.path.join(bindir, "data")
privatepythondir = bindir
- datasourcedir = os.path.normpath(os.path.join(bindir, "_zeitgeist/loggers/datasources"))
extensiondir = os.path.normpath(os.path.join(bindir, "_zeitgeist/engine/extensions"))
libdir = ""
libexecdir = ""
=== modified file 'zeitgeist/_config.py.in'
--- zeitgeist/_config.py.in 2010-06-22 19:53:09 +0000
+++ zeitgeist/_config.py.in 2010-10-13 08:57:42 +0000
@@ -4,7 +4,6 @@
localedir = "@datadir@/locale"
pkgdatadir = "@pkgdatadir@"
privatepythondir = "@prefix@/share/zeitgeist"
-datasourcedir = "@datadir@/zeitgeist/_zeitgeist/loggers/datasources"
extensiondir = "@datadir@/zeitgeist/_zeitgeist/engine/extensions"
libdir = "@libdir@"
libexecdir = "@libexecdir@"