diff --git a/tracker-2.1.8.tar.xz b/tracker-2.1.8.tar.xz deleted file mode 100644 index 7b70040..0000000 --- a/tracker-2.1.8.tar.xz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:cacb3403818b8fd15905b0eff291b6e882481633ed88c24b9a8588290e015528 -size 2585924 diff --git a/tracker-2.2.1.tar.xz b/tracker-2.2.1.tar.xz new file mode 100644 index 0000000..1204907 --- /dev/null +++ b/tracker-2.2.1.tar.xz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:0ccef9e67440859119fa6cae230355c1b1b3485ac08122017c9499ad2dada2ff +size 2797116 diff --git a/tracker-extract-private.patch b/tracker-extract-private.patch deleted file mode 100644 index 18f6932..0000000 --- a/tracker-extract-private.patch +++ /dev/null @@ -1,41 +0,0 @@ -From ea6399a3836be11747ac60b9237a5e2a41b22767 Mon Sep 17 00:00:00 2001 -From: Dominique Leuenberger -Date: Tue, 4 Mar 2014 22:37:31 +0100 -Subject: [PATCH] libtracker-{common,data,extract}: do not maintain LT - versioning - -As these are private libraries, there is no reason to maintain LT versioning. - -https://bugzilla.gnome.org/show_bug.cgi?id=725689 ---- - src/libtracker-common/Makefile.am | 2 +- - src/libtracker-data/Makefile.am | 2 +- - src/libtracker-extract/Makefile.am | 2 +- - 3 files changed, 3 insertions(+), 3 deletions(-) - -Index: tracker-1.9.0/src/libtracker-common/Makefile.am -=================================================================== ---- tracker-1.9.0.orig/src/libtracker-common/Makefile.am -+++ tracker-1.9.0/src/libtracker-common/Makefile.am -@@ -63,6 +63,8 @@ libtracker_common_la_LIBADD = \ - $(LIBTRACKER_COMMON_LIBS) \ - -lm - -+libtracker_common_la_LDFLAGS = -avoid-version -+ - tracker-enum-types.h: tracker-enum-types.h.template tracker-enums.h - $(AM_V_GEN) (cd $(srcdir) && $(GLIB_MKENUMS) --template tracker-enum-types.h.template $(noinst_HEADERS)) > $@ - -Index: tracker-1.9.0/src/libtracker-data/Makefile.am -=================================================================== ---- tracker-1.9.0.orig/src/libtracker-data/Makefile.am -+++ tracker-1.9.0/src/libtracker-data/Makefile.am -@@ -51,6 +51,8 @@ libtracker_data_la_LIBADD = - $(LIBTRACKER_DATA_LIBS) \ - -lm - -+libtracker_data_la_LDFLAGS = -avoid-version -+ - if HAVE_TRACKER_FTS - libtracker_data_la_LIBADD += \ - $(top_builddir)/src/libtracker-fts/libtracker-fts.la diff --git a/tracker.changes b/tracker.changes index 8097c0b..7bf13f2 100644 --- a/tracker.changes +++ b/tracker.changes @@ -1,3 +1,86 @@ +------------------------------------------------------------------- +Wed Mar 6 18:41:12 UTC 2019 - Bjørn Lie + +- Update to version 2.2.1: + + Fix unichar unescaping. + + Correctly Handle BIND in first place of a triples block. + + Fix possible deadlock on WAL checkpoint. + + Fix some double values not being deleted. + + Fixed CHANGES_DONE_HINT handling in TrackerMonitor. + + Ported data generator utilities to python3. + + Ported functional tests to python3, reformatted to PEP-8. + + Correctly apply ignored-directories-with-content filter on + monitor updates. + + Build and test fixes. + + Updated translations. + +------------------------------------------------------------------- +Thu Feb 21 11:17:57 UTC 2019 - bjorn.lie@gmail.com + +- Update to version 2.2.0: + + Multiple memory leak and corruption fixes. + + Bumped glib minimum version to 2.46, it already was in + practical terms. + + Test suite improvements. + + Restore log domain. + + New SPARQL parser, able to generate SQL that is generally more + readable and at places performs better. Multiple buglets fixed + in the process. + + Much improved support of SPARQL1.1 features and syntax that was + missing: + - Property paths: Allowing to match connectivity between two + resources by an arbitrary length path. There is a number of + supported operators (alternative, sequence, oneOrMany, ...) + that can be combined, e.g: + SELECT ?s ?p + { ?s ^(nfo:belongsToContainer*)/(nie:url|nie:title) ?p }. + Only the negated path operator (!) is not supported at the + moment. + - Support for fully unrestricted queries, eg: + SELECT ?s ?p ?o { ?s ?p ?o } ORDER BY ?o ?p ?s + Queries with unrestricted predicate (?p in the example above) + were just supported in a very restricted set of situations. + All those limitations are gone. + - MINUS allows subtracting the solutions that match the given + triples template, eg: + SELECT ?s { ?s a nfo:Media } MINUS { ?s a nfo:MusicPiece } + + Support for prepared statements. TrackerSparqlStatement can be + built with SELECT queries containing (custom) ~var syntax, and + updating their values before obtaining a cursor. + + Many tests were added, and Tracker is generally much better + tested thanks to CI. + + tracker-store now automatically shuts down on inactivity. + + More property paths supported, new operators supported are *, + +, ? and |, only the ! operator is not supported yet. + + Multiple fixes to the new sparql parser. + + Improve error handling in DBus backend. + + Many improvements and additions to the test suite + + Fixed potential crash in TrackerMonitor. + + New SPARQL parser, able to support more 1.1 features and + generating friendlier SQL at places. There is initial support + for property paths (/ and ^), and other missing 1.1 syntax + (MINUS, SHA384, ...). More improvements are expected to happen + in the future thanks to this. + + Support for prepared statements. TrackerSparqlStatement can be + built with SELECT queries containing (custom) ~var syntax, and + updating their values before obtaining a cursor. + + Added global libtracker-sparql call to change the used DBus + connection at runtime. + + Made tracker-store to automatically shutdown when unneeded. + + Fixed ontology updates to work with behavioral changes in + sqlite >=3.25. + + Support for building through autotools has been removed. + + Other many build and code cleanups and fixes + + Updated translations. +- Drop tracker-extract-private.patch: fixed upstream. +- Drop libtool BuildRequires: No longer applies now that tracker is + meson only. +- Switch to meson build system, drop conditionals for meson + BuildRequires and macros, remove all traces of autotools support. + Add gtk-doc BuildRequires: Needed to build docs. Pass options we + want to meson. +- Fix translation-update-upstream to work with meson. + ------------------------------------------------------------------- Thu Feb 21 10:17:57 UTC 2019 - bjorn.lie@gmail.com diff --git a/tracker.spec b/tracker.spec index 145a4f0..db3957e 100644 --- a/tracker.spec +++ b/tracker.spec @@ -19,33 +19,31 @@ %define TrackerAPI 2.0 %define RPMTrackerAPI 2_0 -# FIXME: At every release switch on meson use and try to fix it, if the build succeeds remove this conditional. -%bcond_with meson + Name: tracker -Version: 2.1.8 +Version: 2.2.1 Release: 0 Summary: Object database, tag/metadata database, search tool and indexer License: GPL-2.0-or-later Group: Productivity/Other URL: https://wiki.gnome.org/Projects/Tracker -Source0: http://download.gnome.org/sources/tracker/2.1/%{name}-%{version}.tar.xz -# PATCH-FIX-UPSTREAM tracker-extract-private.patch bgo#725689 dimstar@opensuse.org -- Do not maintain LT versioning for private libs -Patch0: tracker-extract-private.patch +Source0: https://download.gnome.org/sources/tracker/2.2/%{name}-%{version}.tar.xz BuildRequires: fdupes BuildRequires: gcc-c++ -BuildRequires: glib2-devel >= 2.44.0 +BuildRequires: glib2-devel >= 2.46.0 BuildRequires: gobject-introspection-devel +BuildRequires: gtk-doc BuildRequires: intltool BuildRequires: libicu-devel >= 4.8.1.1 -# Needed for patch0 -BuildRequires: libtool +BuildRequires: meson BuildRequires: pkgconfig BuildRequires: python3 BuildRequires: sqlite3-devel >= 3.8.3 BuildRequires: translation-update-upstream BuildRequires: vala >= 0.18.0 BuildRequires: zlib-devel +BuildRequires: pkgconfig(dbus-1) BuildRequires: pkgconfig(gdk-pixbuf-2.0) BuildRequires: pkgconfig(json-glib-1.0) >= 1.0 BuildRequires: pkgconfig(libnm) @@ -66,13 +64,7 @@ Obsoletes: tracker-gui < 1.99.0 Obsoletes: tracker-miner-evolution < 1.99.0 Obsoletes: tracker-miner-firefox < 1.99.0 Obsoletes: tracker-miner-thunderbird < 1.99.0 -%if %{with meson} -BuildRequires: meson -BuildRequires: pkgconfig(dbus-1) -%endif -%if 0%{?suse_version} >= 1140 BuildRequires: libgupnp-dlna-devel >= 0.9.4 -%endif %description Tracker is a desktop-neutral object database, tag/metadata database, @@ -218,29 +210,19 @@ This subpackage contains the headers to make use of its libraries. %prep %autosetup -p1 -translation-update-upstream +translation-update-upstream po %{name} %build -%if %{with meson} -%meson -%meson_build -%else -#Needed for patch0 -autoreconf -fiv -%configure \ - --disable-static \ - --disable-functional-tests \ +%meson \ + -Ddocs=true \ + -Dfunctional_tests=false \ + -Dstemmer=disabled \ + -Dsystemd_user_services=%{_userunitdir} %{nil} -%make_build -%endif +%meson_build %install -%if %{with meson} %meson_install -%else -%make_install -find %{buildroot} -type f -name "*.la" -delete -print -%endif %find_lang %{name} %{?no_lang_C} # Ensure we have a /usr/share/tracker/icons/ folder, so the @@ -306,7 +288,7 @@ mkdir -p %{buildroot}%{_datadir}/tracker/icons/ %{_libdir}/girepository-1.0/TrackerMiner-%{TrackerAPI}.typelib %files -n tracker-devel -%doc AUTHORS ChangeLog README NEWS +%doc AUTHORS README NEWS %{_libdir}/lib*.so %{_includedir}/tracker-%{TrackerAPI}/ %{_libdir}/pkgconfig/tracker-control-%{TrackerAPI}.pc @@ -315,6 +297,7 @@ mkdir -p %{buildroot}%{_datadir}/tracker/icons/ %{_datadir}/gir-1.0/*.gir %{_datadir}/gtk-doc/html/libtracker-miner/ %{_datadir}/gtk-doc/html/libtracker-control/ +%{_datadir}/gtk-doc/html/ontology/ %{_datadir}/gtk-doc/html/libtracker-sparql/ %dir %{_datadir}/vala %dir %{_datadir}/vala/vapi