commit zeitgeist for openSUSE:Factory
Hello community, here is the log from the commit of package zeitgeist for openSUSE:Factory checked in at Mon Aug 30 12:34:10 CEST 2010. -------- --- GNOME/zeitgeist/zeitgeist.changes 2010-06-04 14:51:10.000000000 +0200 +++ /mounts/work_src_done/STABLE/zeitgeist/zeitgeist.changes 2010-08-29 12:36:38.000000000 +0200 @@ -1,0 +2,103 @@ +Sun Aug 29 12:35:15 CEST 2010 - vuntz@opensuse.org + +- Add zeitgeist-rdflib-3.patch: fix build with rdflib 3.0. + +------------------------------------------------------------------- +Tue Aug 10 12:22:43 CEST 2010 - dimstar@opensuse.org + +- Update to version 0.5.0: + + Engine: + - lp#592599: FindEvent*: Event subjects are now joined by a + logical AND instead of OR. + - Extensions found in the extensions directory are now + automatically loaded. + - Install a .pc file so out of tree extensions can figure out + the install path. + - Load extensions found in ~/.local/share/zeitgeist/extensions. + - lp#523761: Let the GtkRecentlyUsed data-source ignore any + exceptions while trying to parse .desktop files. + - Fix return value of the SetDataSourceEnabled D-Bus method. + - lp#592599, lp#604747: Extensions: Hooks have been renamed and + most of them now have pre and post variants. + - Add new ResultTypes for sorting by subject origin + - Change the hooks API for the Extension class to use pre_* and + post* hooks to make it clearer when they are run. This change + also brings in a few new hooks. + + Python API: + - ZeitgeistDBusInterface.get_extension is no longer a + classmethod (in fact, it never really was). + - ZeitgeistDBusInterface.get_extension now has a third optional + parameter to change the bus name. + + Overall: + - lp#595577: Build system fixes. + - Manpage updates. + + Updated translations. +- The .pc file is kept in the main package, as a split for this + file alone does not make sense and it does not drag in any other + -devel packages. + +------------------------------------------------------------------- +Thu Jul 8 00:14:55 CEST 2010 - dimstar@opensuse.org + +- Update to version 0.4.0: + + Engine: + - Compile the shared-desktop-ontolgies (aka Nepomuk (aka + OSCAF)) into Python code at build time, and use them for out + subject classification system + - You can now negate the fields uri, interpretation, + manifestation, origin, and mimetype, in event templates by + prepending the field value with an exclamation mark '!'. + - You can truncate (aka wildcard) the subject fields uri, + origin, and mimetype in event templates by appending an + asterisk '*' to the string. + - Event templates now match on all child types of the specified + interpretations and manifestations. Ie. Interpretation.IMAGE + also matches RASTER_IMAGE and VECTOR_IMAGE. + - The core database schema is now versioned, meaning that we + can migrate data if the DB ever needs to change in layout. It + also brings slightly faster startup of the daemon when we + detect that the schema version is what we expect + - Two new environment variables ZEITGEIST_DEFAULT_EXTENSIONS + and ZEITGEIST_EXTRA_EXTENSIONS controlling which extensions + are loaded + - Man pages updated with --no-datahub and environment variables + to control the data paths and loaded extensions + - Auto upgrades of schemas + - Some Nepomuk type URIs where wrong and will be fixed + automatically in the schema upgrade of the DB + - Fix DeleteEvents to work with arbitrarily huge amounts of + IDs. + - Set event.id before passing events to the extension hooks so + extensions can make use of the event ids + + Python API: + - TimeRange sprouted a few new useful methods. + + Ontology: + - Removed {Interpretation,Manifestation}.UNKNOWN. If you really + really (like really!) can not come up with a good + interpretation or manifestation don't log it - or insert an + empty string instead. + - What was subject's Manifestation.WEB_HISTORY is now + represented by a combination of Interpretation.WEBSITE and + Manifestation.REMOTE_DATA_OBJECT. + - Manifestation.FILE has been renamed to + Manifestation.FILE_DATA_OBJECT. + - Event interpretations OPEN_EVENT and VISIT_EVENT has been + coalesced into a new interpretation type called ACCESS_EVENT. + - Event interpretation SAVE_EVENT has been coalesced into + MODIFY_EVENT. + - The following interpretations has been removed because we + need a suitable alternative defined in the Nepomuk/OSCAF + scope: BROADCAST_MESSAGE, FEED_MESSAGE, SYSTEM_RESOURCE, + NOTE. + - Interpretation.MUSIC is now Interpretation.AUDIO. + - The following event interpretations has been removed because + they had unclear meanings or limited general usefulness: + FOCUS_EVENT, WARN_EVENT, ERROR_EVENT. + + Overall: + - Other fixes and code enhancements. + - Manpage updates. + + Updated translations. +- Add raptor, python-xml and python-rdflib BuildRequires. +- Add python-rdflib Requires. + +------------------------------------------------------------------- calling whatdependson for head-i586 Old: ---- zeitgeist-0.3.3.1.tar.bz2 New: ---- zeitgeist-0.5.0.tar.bz2 zeitgeist-rdflib-3.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ zeitgeist.spec ++++++ --- /var/tmp/diff_new_pack.QHA4gQ/_old 2010-08-30 12:28:13.000000000 +0200 +++ /var/tmp/diff_new_pack.QHA4gQ/_new 2010-08-30 12:28:13.000000000 +0200 @@ -1,8 +1,8 @@ # -# spec file for package zeitgeist (Version 0.3.3.1) +# spec file for package zeitgeist (Version 0.5.0) # # Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany. -# Copyright (c) 2009 Dominique Leuenberger, Almere, The Netherlands. +# Copyright (c) 2009 Dominique Leuenberger, Amsterdam, The Netherlands. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -19,22 +19,28 @@ Name: zeitgeist -Version: 0.3.3.1 +Version: 0.5.0 Release: 1 License: GPLv2+ Summary: Zeitgeist Engine Url: https://launchpad.net/zeitgeist Group: Productivity/Other Source: %{name}-%{version}.tar.bz2 +# PATCH-FIX-UPSTREAM zeitgeist-rdflib-3.patch lp#626224 vuntz@opensuse.org -- Taken from gentoo, fix build with rdflib 3 +Patch0: zeitgeist-rdflib-3.patch # dbus required for file ownership only. BuildRequires: dbus-1 BuildRequires: fdupes BuildRequires: intltool BuildRequires: python +BuildRequires: python-rdflib +BuildRequires: python-xml +BuildRequires: raptor Requires: dbus-1-python # For gconf Requires: python-gnome Requires: python-gobject2 +Requires: python-rdflib Requires: python-xdg Requires: python-xml # For recent files data source @@ -58,6 +64,7 @@ %lang_package %prep %setup -q +%patch0 -p1 %build %configure @@ -65,6 +72,11 @@ %install %makeinstall +# Let's move the .pc file from %{_libdir} to %{_datadir}. As of up to version 0.5.0 of zeitgeist, +# the .pc file does not contain any Requires and no arch-dependent information. Moving the file +# to %{_datadir} allows us to remain a noarch package +install -d -m 755 %{buildroot}%{_datadir}/pkgconfig +mv %{buildroot}%{_libdir}/pkgconfig/zeitgeist-daemon.pc %{buildroot}%{_datadir}/pkgconfig/zeitgeist-daemon.pc %fdupes %{buildroot}%{_datadir}/zeitgeist %fdupes %{buildroot}%{python_sitelib} %find_lang %{name} @@ -79,6 +91,8 @@ %{_datadir}/dbus-1/services/org.gnome.zeitgeist.service %{_mandir}/man?/*.* %{_datadir}/zeitgeist/ +# As long as the .pc file does not drag in any -devel files, let's keep it in the main package. +%{_datadir}/pkgconfig/zeitgeist-daemon.pc %files lang -f %{name}.lang ++++++ zeitgeist-0.3.3.1.tar.bz2 -> zeitgeist-0.5.0.tar.bz2 ++++++ ++++ 15022 lines of diff (skipped) ++++++ zeitgeist-rdflib-3.patch ++++++ diff --git a/extra/PythonSerializer.py b/extra/PythonSerializer.py index 47d8c83..cc9df05 100644 --- a/extra/PythonSerializer.py +++ b/extra/PythonSerializer.py @@ -17,9 +17,9 @@ # 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 rdflib.syntax.serializers.RecursiveSerializer import RecursiveSerializer +from rdflib.plugins.serializers.turtle import RecursiveSerializer from rdflib import RDF, RDFS -from rdflib.Namespace import Namespace +from rdflib.namespace import Namespace NIENS = Namespace("http://www.semanticdesktop.org/ontologies/2007/01/19/nie#") diff --git a/extra/rdfxml2py b/extra/rdfxml2py index bd8dd23..19de9e8 100755 --- a/extra/rdfxml2py +++ b/extra/rdfxml2py @@ -9,16 +9,17 @@ import rdflib from rdflib.plugin import register -from rdflib.syntax import serializer, serializers +from rdflib.plugins import serializers +from rdflib import serializer -register('python', serializers.Serializer, +register('python', serializer.Serializer, 'PythonSerializer', 'PythonSerializer') def parse(trig_stream): """ Return a list of triples representing the ontology """ - trig_in = rdflib.FileInputSource(trig_stream) + trig_in = rdflib.parser.FileInputSource(trig_stream) ontology = rdflib.ConjunctiveGraph() ontology.parse(trig_in) pycode = ontology.serialize(format="python") ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Remember to have fun... -- To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-commit+help@opensuse.org
participants (1)
-
root@hilbert.suse.de