[arch-commits] Commit in tracker/repos/extra-x86_64 (3 files)
Jan Steffens
heftig at archlinux.org
Mon Mar 9 22:57:06 UTC 2020
Date: Monday, March 9, 2020 @ 22:57:06
Author: heftig
Revision: 377241
archrelease: copy trunk to extra-x86_64
Added:
tracker/repos/extra-x86_64/0001-tracker-store-Fix-NULL-check.patch
(from rev 377239, tracker/trunk/0001-tracker-store-Fix-NULL-check.patch)
tracker/repos/extra-x86_64/PKGBUILD
(from rev 377239, tracker/trunk/PKGBUILD)
Deleted:
tracker/repos/extra-x86_64/PKGBUILD
-----------------------------------------+
0001-tracker-store-Fix-NULL-check.patch | 26 ++++++++
PKGBUILD | 93 +++++++++++++++---------------
2 files changed, 74 insertions(+), 45 deletions(-)
Copied: tracker/repos/extra-x86_64/0001-tracker-store-Fix-NULL-check.patch (from rev 377239, tracker/trunk/0001-tracker-store-Fix-NULL-check.patch)
===================================================================
--- 0001-tracker-store-Fix-NULL-check.patch (rev 0)
+++ 0001-tracker-store-Fix-NULL-check.patch 2020-03-09 22:57:06 UTC (rev 377241)
@@ -0,0 +1,26 @@
+From e93d6241eba74aac269e2fb1327e7438e3b38e78 Mon Sep 17 00:00:00 2001
+From: "Jan Alexander Steffens (heftig)" <jan.steffens at gmail.com>
+Date: Mon, 9 Mar 2020 22:49:22 +0000
+Subject: [PATCH] tracker-store: Fix NULL check
+
+The inverted condition made tracker-miners' test suite fail.
+---
+ src/tracker-store/tracker-writeback.c | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/src/tracker-store/tracker-writeback.c b/src/tracker-store/tracker-writeback.c
+index fde45afc0..4026b924a 100644
+--- a/src/tracker-store/tracker-writeback.c
++++ b/src/tracker-store/tracker-writeback.c
+@@ -200,7 +200,7 @@ tracker_writeback_transact (void)
+ GHashTableIter iter;
+ gpointer key, value;
+
+- g_return_if_fail (private == NULL);
++ g_return_if_fail (private != NULL);
+
+ if (!private->pending_events)
+ return;
+--
+2.25.1
+
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2020-03-09 22:57:04 UTC (rev 377240)
+++ PKGBUILD 2020-03-09 22:57:06 UTC (rev 377241)
@@ -1,45 +0,0 @@
-# Maintainer: Jan Alexander Steffens (heftig) <jan.steffens at gmail.com>
-# Contributor: Sergej Pupykin <pupykin.s+arch at gmail.com>
-# Contributor: Alexander Fehr <pizzapunk gmail com>
-
-pkgname=tracker
-pkgver=2.3.2
-pkgrel=1
-pkgdesc="Desktop-neutral user information store, search tool and indexer"
-url="https://wiki.gnome.org/Projects/Tracker"
-arch=(x86_64)
-license=(GPL)
-depends=(sqlite icu glib2 libffi util-linux libstemmer libseccomp libsoup
- json-glib upower libnm)
-makedepends=(gobject-introspection vala git gtk-doc bash-completion meson)
-checkdepends=(python-gobject python-dbus)
-provides=(libtracker-{control,miner,sparql}-2.0.so)
-groups=(gnome)
-_commit=f12bffae2e4be520ce1ea045b3ecc9ab41478d1a # tags/2.3.2^0
-source=("git+https://gitlab.gnome.org/GNOME/tracker.git#commit=$_commit")
-sha256sums=('SKIP')
-
-pkgver() {
- cd $pkgname
- git describe --tags | sed 's/_/./g;s/-/+/g'
-}
-
-prepare() {
- cd $pkgname
-}
-
-build() {
- arch-meson $pkgname build -D docs=true
- ninja -C build
-}
-
-check() {
- # Many tests are broken:
- # - Assume schemas are installed
- # - Assume services are autolaunched
- dbus-run-session meson test -C build --print-errorlogs -t 3 || :
-}
-
-package() {
- DESTDIR="$pkgdir" meson install -C build
-}
Copied: tracker/repos/extra-x86_64/PKGBUILD (from rev 377239, tracker/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2020-03-09 22:57:06 UTC (rev 377241)
@@ -0,0 +1,48 @@
+# Maintainer: Jan Alexander Steffens (heftig) <jan.steffens at gmail.com>
+# Contributor: Sergej Pupykin <pupykin.s+arch at gmail.com>
+# Contributor: Alexander Fehr <pizzapunk gmail com>
+
+pkgname=tracker
+pkgver=2.3.3
+pkgrel=1
+pkgdesc="Desktop-neutral user information store, search tool and indexer"
+url="https://wiki.gnome.org/Projects/Tracker"
+arch=(x86_64)
+license=(GPL)
+depends=(sqlite icu glib2 libffi util-linux libstemmer libseccomp libsoup
+ json-glib upower libnm)
+makedepends=(gobject-introspection vala git gtk-doc bash-completion meson)
+checkdepends=(python-gobject python-dbus)
+provides=(libtracker-{control,miner,sparql}-2.0.so)
+groups=(gnome)
+_commit=fe89b9afbb340d35b55c5630b9640338de9e63a7 # tags/2.3.3^0
+source=("git+https://gitlab.gnome.org/GNOME/tracker.git#commit=$_commit"
+ 0001-tracker-store-Fix-NULL-check.patch)
+sha256sums=('SKIP'
+ 'e7ae90cc2a3843a171a352f92d48117e35d762122c0e8579318b15d44d1a1125')
+
+pkgver() {
+ cd $pkgname
+ git describe --tags | sed 's/_/./g;s/-/+/g'
+}
+
+prepare() {
+ cd $pkgname
+ git apply -3 ../0001-tracker-store-Fix-NULL-check.patch
+}
+
+build() {
+ arch-meson $pkgname build -D docs=true
+ ninja -C build
+}
+
+check() {
+ # Many tests are broken:
+ # - Assume schemas are installed
+ # - Assume services are autolaunched
+ dbus-run-session meson test -C build --print-errorlogs -t 3 || :
+}
+
+package() {
+ DESTDIR="$pkgdir" meson install -C build
+}
More information about the arch-commits
mailing list