Accepting request 784036 from GNOME:Factory

OBS-URL: https://build.opensuse.org/request/show/784036
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/tracker?expand=0&rev=127
This commit is contained in:
Dominique Leuenberger 2020-03-14 08:54:21 +00:00 committed by Git OBS Bridge
commit 17f73fb811
5 changed files with 17 additions and 40 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:a4782b8ec7e4ee50f8f53865b24c5489823337fa94f785a7d9d34ccdf9b6ebdb
size 1608008

3
tracker-2.3.4.tar.xz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:577952244ab977c78b0b88e2f63c4197eaba16e4d66bff692b7f58993e06516d
size 1607928

View File

@ -1,33 +0,0 @@
diff --git a/src/tracker-store/tracker-main.vala b/src/tracker-store/tracker-main.vala
index 1e8d1ddd2..0db9b6653 100644
--- a/src/tracker-store/tracker-main.vala
+++ b/src/tracker-store/tracker-main.vala
@@ -368,12 +368,12 @@ License which can be viewed at:
message ("Cleaning up");
+ data_manager = null;
+ connection = null;
+
/* Shutdown major subsystems */
Tracker.Writeback.shutdown ();
Tracker.Events.shutdown ();
-
- data_manager = null;
- connection = null;
Tracker.DBus.shutdown ();
Tracker.Log.shutdown ();
diff --git a/src/tracker-store/tracker-writeback.c b/src/tracker-store/tracker-writeback.c
index 32517d553..fde45afc0 100644
--- a/src/tracker-store/tracker-writeback.c
+++ b/src/tracker-store/tracker-writeback.c
@@ -200,6 +200,8 @@ tracker_writeback_transact (void)
GHashTableIter iter;
gpointer key, value;
+ g_return_if_fail (private == NULL);
+
if (!private->pending_events)
return;

View File

@ -1,3 +1,15 @@
-------------------------------------------------------------------
Tue Mar 10 19:36:17 UTC 2020 - mgorse@suse.com
- Update to version 2.3.4:
+ Brown paper bag release, fix NULL check.
+ Changes in version 2.3.3:
+ Fix race condition during tracker-store shutdown maybe leading
to warnings and missed writeback events.
+ Made fts:offsets stronger against corrupt FTS tables.
+ Updated translations.
- Drop tracker-fix-segfault-in-writeback.patch: fixed upstream.
-------------------------------------------------------------------
Thu Mar 5 02:41:37 UTC 2020 - Alynx Zhou <alynx.zhou@suse.com>

View File

@ -1,7 +1,7 @@
#
# spec file for package tracker
#
# Copyright (c) 2020 SUSE LINUX GmbH, Nuernberg, Germany.
# Copyright (c) 2020 SUSE LLC
# Copyright (c) 2010 Luis Medinas, Portugal
#
# All modifications and additions to the file contributed by third parties
@ -21,15 +21,13 @@
%define RPMTrackerAPI 2_0
Name: tracker
Version: 2.3.2
Version: 2.3.4
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: https://download.gnome.org/sources/tracker/2.3/%{name}-%{version}.tar.xz
# PATCH-FIX-UPSTREAM tracker-fix-segfault-in-writeback.patch bsc#1165357 glgo#GNOME/tracker!192 alynx.zhou@suse.com -- Fix tracker segmentation fault in writeback
Patch0: tracker-fix-segfault-in-writeback.patch
BuildRequires: fdupes
BuildRequires: gcc-c++