From ac31cab23885f293e274e43a593042a89d997bff Mon Sep 17 00:00:00 2001 From: Michal Vasilek Date: Fri, 6 Jan 2023 16:26:40 +0100 Subject: [PATCH] tracker: update to 3.4.2. --- ...5ae5b296937ff58233a9a283f46ae2800af2.patch | 43 ------------------- srcpkgs/tracker/template | 4 +- 2 files changed, 2 insertions(+), 45 deletions(-) delete mode 100644 srcpkgs/tracker/patches/d54f5ae5b296937ff58233a9a283f46ae2800af2.patch diff --git a/srcpkgs/tracker/patches/d54f5ae5b296937ff58233a9a283f46ae2800af2.patch b/srcpkgs/tracker/patches/d54f5ae5b296937ff58233a9a283f46ae2800af2.patch deleted file mode 100644 index f672d3b15b6..00000000000 --- a/srcpkgs/tracker/patches/d54f5ae5b296937ff58233a9a283f46ae2800af2.patch +++ /dev/null @@ -1,43 +0,0 @@ -From d54f5ae5b296937ff58233a9a283f46ae2800af2 Mon Sep 17 00:00:00 2001 -From: Carlos Garnacho -Date: Sun, 20 Nov 2022 12:16:58 +0100 -Subject: [PATCH] core: Handle ROWIDs turned into strings in SparqlPrintIRI() - -Even though normally we expect ROWIDs to preserve numeric affinity -when we proceed to print their IRI in the higher parts of the query, -it is not guaranteed by the SQLite documentation: - - "Whether or not a persistent internal datatype conversion occurs - is undefined and may change from one release of SQLite to the next." - -And this in fact changed for the core/property-paths/alternative-path-3 -unit test, where it does the '|' union of text and resource (i.e. ROWIDs) -properties. Since SQLite 3.40.0, the SparqlPrintIRI() happening in the -topmost select will get SQLITE_TEXT affinity for all ROWID values received -through the union. - -In order to work with both older and newer version of SQLite, attempt to -force integer affinity so ROWID IRIs are correctly resolved instead of -being interpreted as IRI strings. - -Closes: https://gitlab.gnome.org/GNOME/tracker/-/issues/387 ---- - src/libtracker-sparql/core/tracker-db-interface-sqlite.c | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/src/libtracker-sparql/core/tracker-db-interface-sqlite.c b/src/libtracker-sparql/core/tracker-db-interface-sqlite.c -index ca1ebb985..68f6bd310 100644 ---- a/src/libtracker-sparql/core/tracker-db-interface-sqlite.c -+++ b/src/libtracker-sparql/core/tracker-db-interface-sqlite.c -@@ -1901,7 +1901,7 @@ function_sparql_print_iri (sqlite3_context *context, - return; - } - -- if (sqlite3_value_type (argv[0]) == SQLITE_INTEGER) { -+ if (sqlite3_value_numeric_type (argv[0]) == SQLITE_INTEGER) { - sqlite3_stmt *stmt; - gboolean store_auxdata = FALSE; - sqlite3 *db; --- -GitLab - diff --git a/srcpkgs/tracker/template b/srcpkgs/tracker/template index a9d64c84b16..df004713e15 100644 --- a/srcpkgs/tracker/template +++ b/srcpkgs/tracker/template @@ -1,6 +1,6 @@ # Template file for 'tracker' pkgname=tracker -version=3.4.1 +version=3.4.2 revision=1 build_style=meson build_helper="gir" @@ -17,7 +17,7 @@ license="GPL-2.0-or-later, LGPL-2.1-or-later" homepage="https://wiki.gnome.org/Projects/Tracker" changelog="https://gitlab.gnome.org/GNOME/tracker/-/raw/master/NEWS" distfiles="${GNOME_SITE}/tracker/${version%.*}/tracker-${version}.tar.xz" -checksum=ea9d41a9fb9c2b42ad80fc2c82327b5c713d594c969b09e1a49be63fb74f4fae +checksum=4e6df142a4f704878fca98ebb5a224750e5ea546aa2aaabaa726a73540bd1731 make_check_pre="dbus-run-session" if [ "$CROSS_BUILD" ]; then