Github messages for voidlinux
 help / color / mirror / Atom feed
* [PR PATCH] tracker: update to 3.4.1.
@ 2022-12-02  7:18 oreo639
  2022-12-02  7:40 ` [PR PATCH] [Updated] " oreo639
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: oreo639 @ 2022-12-02  7:18 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 1237 bytes --]

There is a new pull request by oreo639 against master on the void-packages repository

https://github.com/oreo639/void-packages tracker
https://github.com/void-linux/void-packages/pull/40875

tracker: update to 3.4.1.
<!-- Uncomment relevant sections and delete options which are not applicable -->

#### Testing the changes
- I tested the changes in this PR: **YES**

<!--
#### New package
- This new package conforms to the [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-requirements): **YES**|**NO**
-->

<!-- Note: If the build is likely to take more than 2 hours, please add ci skip tag as described in
https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration
and test at least one native build and, if supported, at least one cross build.
Ignore this section if this PR is not skipping CI.
-->
<!--
#### Local build testing
- I built this PR locally for my native architecture, (ARCH-LIBC)
- I built this PR locally for these architectures (if supported. mark crossbuilds):
  - aarch64-musl
  - armv7l
  - armv6l-musl
-->


A patch file from https://github.com/void-linux/void-packages/pull/40875.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-tracker-40875.patch --]
[-- Type: text/x-diff, Size: 1139 bytes --]

From 8db6f31bd5678e52ec88413549fd3c6d193cf334 Mon Sep 17 00:00:00 2001
From: oreo639 <oreo6391@gmail.com>
Date: Thu, 1 Dec 2022 23:17:36 -0800
Subject: [PATCH] tracker: update to 3.4.1.

---
 srcpkgs/tracker/template | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/srcpkgs/tracker/template b/srcpkgs/tracker/template
index 770ade715ca6..a9d64c84b16c 100644
--- a/srcpkgs/tracker/template
+++ b/srcpkgs/tracker/template
@@ -1,7 +1,7 @@
 # Template file for 'tracker'
 pkgname=tracker
-version=3.4.0
-revision=2
+version=3.4.1
+revision=1
 build_style=meson
 build_helper="gir"
 configure_args="-Ddocs=false -Dman=true -Dstemmer=disabled
@@ -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=b3b380c9571d7c7423b5f401e4a2f2d78de47143b035eb2c1281e2423c59218b
+checksum=ea9d41a9fb9c2b42ad80fc2c82327b5c713d594c969b09e1a49be63fb74f4fae
 make_check_pre="dbus-run-session"
 
 if [ "$CROSS_BUILD" ]; then

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PR PATCH] [Updated] tracker: update to 3.4.1.
  2022-12-02  7:18 [PR PATCH] tracker: update to 3.4.1 oreo639
@ 2022-12-02  7:40 ` oreo639
  2022-12-04 17:55 ` oreo639
  2022-12-16 18:19 ` [PR PATCH] [Merged]: " paper42
  2 siblings, 0 replies; 4+ messages in thread
From: oreo639 @ 2022-12-02  7:40 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 1242 bytes --]

There is an updated pull request by oreo639 against master on the void-packages repository

https://github.com/oreo639/void-packages tracker
https://github.com/void-linux/void-packages/pull/40875

tracker: update to 3.4.1.
<!-- Uncomment relevant sections and delete options which are not applicable -->

#### Testing the changes
- I tested the changes in this PR: **YES**

<!--
#### New package
- This new package conforms to the [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-requirements): **YES**|**NO**
-->

<!-- Note: If the build is likely to take more than 2 hours, please add ci skip tag as described in
https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration
and test at least one native build and, if supported, at least one cross build.
Ignore this section if this PR is not skipping CI.
-->
<!--
#### Local build testing
- I built this PR locally for my native architecture, (ARCH-LIBC)
- I built this PR locally for these architectures (if supported. mark crossbuilds):
  - aarch64-musl
  - armv7l
  - armv6l-musl
-->


A patch file from https://github.com/void-linux/void-packages/pull/40875.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-tracker-40875.patch --]
[-- Type: text/x-diff, Size: 3496 bytes --]

From ef97e65e2d5be925bd1aba034f5f030600f224bb Mon Sep 17 00:00:00 2001
From: oreo639 <oreo6391@gmail.com>
Date: Thu, 1 Dec 2022 23:17:36 -0800
Subject: [PATCH] tracker: update to 3.4.1.

---
 ...5ae5b296937ff58233a9a283f46ae2800af2.patch | 43 +++++++++++++++++++
 srcpkgs/tracker/template                      |  6 +--
 2 files changed, 46 insertions(+), 3 deletions(-)
 create mode 100644 srcpkgs/tracker/patches/d54f5ae5b296937ff58233a9a283f46ae2800af2.patch

diff --git a/srcpkgs/tracker/patches/d54f5ae5b296937ff58233a9a283f46ae2800af2.patch b/srcpkgs/tracker/patches/d54f5ae5b296937ff58233a9a283f46ae2800af2.patch
new file mode 100644
index 000000000000..f672d3b15b68
--- /dev/null
+++ b/srcpkgs/tracker/patches/d54f5ae5b296937ff58233a9a283f46ae2800af2.patch
@@ -0,0 +1,43 @@
+From d54f5ae5b296937ff58233a9a283f46ae2800af2 Mon Sep 17 00:00:00 2001
+From: Carlos Garnacho <carlosg@gnome.org>
+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 770ade715ca6..a9d64c84b16c 100644
--- a/srcpkgs/tracker/template
+++ b/srcpkgs/tracker/template
@@ -1,7 +1,7 @@
 # Template file for 'tracker'
 pkgname=tracker
-version=3.4.0
-revision=2
+version=3.4.1
+revision=1
 build_style=meson
 build_helper="gir"
 configure_args="-Ddocs=false -Dman=true -Dstemmer=disabled
@@ -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=b3b380c9571d7c7423b5f401e4a2f2d78de47143b035eb2c1281e2423c59218b
+checksum=ea9d41a9fb9c2b42ad80fc2c82327b5c713d594c969b09e1a49be63fb74f4fae
 make_check_pre="dbus-run-session"
 
 if [ "$CROSS_BUILD" ]; then

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PR PATCH] [Updated] tracker: update to 3.4.1.
  2022-12-02  7:18 [PR PATCH] tracker: update to 3.4.1 oreo639
  2022-12-02  7:40 ` [PR PATCH] [Updated] " oreo639
@ 2022-12-04 17:55 ` oreo639
  2022-12-16 18:19 ` [PR PATCH] [Merged]: " paper42
  2 siblings, 0 replies; 4+ messages in thread
From: oreo639 @ 2022-12-04 17:55 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 1242 bytes --]

There is an updated pull request by oreo639 against master on the void-packages repository

https://github.com/oreo639/void-packages tracker
https://github.com/void-linux/void-packages/pull/40875

tracker: update to 3.4.1.
<!-- Uncomment relevant sections and delete options which are not applicable -->

#### Testing the changes
- I tested the changes in this PR: **YES**

<!--
#### New package
- This new package conforms to the [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-requirements): **YES**|**NO**
-->

<!-- Note: If the build is likely to take more than 2 hours, please add ci skip tag as described in
https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration
and test at least one native build and, if supported, at least one cross build.
Ignore this section if this PR is not skipping CI.
-->
<!--
#### Local build testing
- I built this PR locally for my native architecture, (ARCH-LIBC)
- I built this PR locally for these architectures (if supported. mark crossbuilds):
  - aarch64-musl
  - armv7l
  - armv6l-musl
-->


A patch file from https://github.com/void-linux/void-packages/pull/40875.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-tracker-40875.patch --]
[-- Type: text/x-diff, Size: 4657 bytes --]

From da83de20273bc2cde7c0a247507eb27f144e6457 Mon Sep 17 00:00:00 2001
From: oreo639 <oreo6391@gmail.com>
Date: Thu, 1 Dec 2022 23:17:36 -0800
Subject: [PATCH 1/2] tracker: update to 3.4.1.

---
 ...5ae5b296937ff58233a9a283f46ae2800af2.patch | 43 +++++++++++++++++++
 srcpkgs/tracker/template                      |  6 +--
 2 files changed, 46 insertions(+), 3 deletions(-)
 create mode 100644 srcpkgs/tracker/patches/d54f5ae5b296937ff58233a9a283f46ae2800af2.patch

diff --git a/srcpkgs/tracker/patches/d54f5ae5b296937ff58233a9a283f46ae2800af2.patch b/srcpkgs/tracker/patches/d54f5ae5b296937ff58233a9a283f46ae2800af2.patch
new file mode 100644
index 000000000000..f672d3b15b68
--- /dev/null
+++ b/srcpkgs/tracker/patches/d54f5ae5b296937ff58233a9a283f46ae2800af2.patch
@@ -0,0 +1,43 @@
+From d54f5ae5b296937ff58233a9a283f46ae2800af2 Mon Sep 17 00:00:00 2001
+From: Carlos Garnacho <carlosg@gnome.org>
+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 770ade715ca6..a9d64c84b16c 100644
--- a/srcpkgs/tracker/template
+++ b/srcpkgs/tracker/template
@@ -1,7 +1,7 @@
 # Template file for 'tracker'
 pkgname=tracker
-version=3.4.0
-revision=2
+version=3.4.1
+revision=1
 build_style=meson
 build_helper="gir"
 configure_args="-Ddocs=false -Dman=true -Dstemmer=disabled
@@ -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=b3b380c9571d7c7423b5f401e4a2f2d78de47143b035eb2c1281e2423c59218b
+checksum=ea9d41a9fb9c2b42ad80fc2c82327b5c713d594c969b09e1a49be63fb74f4fae
 make_check_pre="dbus-run-session"
 
 if [ "$CROSS_BUILD" ]; then

From b8d3f951c235c2f65a86f5791972e7307248edea Mon Sep 17 00:00:00 2001
From: oreo639 <oreo6391@gmail.com>
Date: Sun, 4 Dec 2022 09:55:26 -0800
Subject: [PATCH 2/2] tracker-miners: update to 3.4.1.

---
 srcpkgs/tracker-miners/template | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/srcpkgs/tracker-miners/template b/srcpkgs/tracker-miners/template
index b605d5176242..8b0e062909cd 100644
--- a/srcpkgs/tracker-miners/template
+++ b/srcpkgs/tracker-miners/template
@@ -1,6 +1,6 @@
 # Template file for 'tracker-miners'
 pkgname=tracker-miners
-version=3.4.0
+version=3.4.1
 revision=1
 build_style=meson
 build_helper=qemu
@@ -27,7 +27,7 @@ license="GPL-2.0-or-later"
 homepage="https://developer.gnome.org/libtracker-miner/stable"
 changelog="https://gitlab.gnome.org/GNOME/tracker-miners/-/raw/master/NEWS"
 distfiles="${GNOME_SITE}/tracker-miners/${version%.*}/tracker-miners-${version}.tar.xz"
-checksum=a2e0365e30811bb61e95c8214b33f4782a3a04e0c6246a06ecd9c01417cd84e6
+checksum=2fce0ec85fb7617c8b2887c22797740d5dec84ec036db74d6c208bbab5c58c24
 make_check=no # relies on unsupported ops in chroot
 
 tracker3-miners_package() {

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PR PATCH] [Merged]: tracker: update to 3.4.1.
  2022-12-02  7:18 [PR PATCH] tracker: update to 3.4.1 oreo639
  2022-12-02  7:40 ` [PR PATCH] [Updated] " oreo639
  2022-12-04 17:55 ` oreo639
@ 2022-12-16 18:19 ` paper42
  2 siblings, 0 replies; 4+ messages in thread
From: paper42 @ 2022-12-16 18:19 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 1086 bytes --]

There's a merged pull request on the void-packages repository

tracker: update to 3.4.1.
https://github.com/void-linux/void-packages/pull/40875

Description:
<!-- Uncomment relevant sections and delete options which are not applicable -->

#### Testing the changes
- I tested the changes in this PR: **YES**

<!--
#### New package
- This new package conforms to the [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-requirements): **YES**|**NO**
-->

<!-- Note: If the build is likely to take more than 2 hours, please add ci skip tag as described in
https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration
and test at least one native build and, if supported, at least one cross build.
Ignore this section if this PR is not skipping CI.
-->
<!--
#### Local build testing
- I built this PR locally for my native architecture, (ARCH-LIBC)
- I built this PR locally for these architectures (if supported. mark crossbuilds):
  - aarch64-musl
  - armv7l
  - armv6l-musl
-->


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2022-12-16 18:19 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-12-02  7:18 [PR PATCH] tracker: update to 3.4.1 oreo639
2022-12-02  7:40 ` [PR PATCH] [Updated] " oreo639
2022-12-04 17:55 ` oreo639
2022-12-16 18:19 ` [PR PATCH] [Merged]: " paper42

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).