Update to 3.27.5

This commit is contained in:
Kalev Lember 2018-01-28 16:39:22 +01:00
parent 94fab69457
commit 7d4fdee992
4 changed files with 6 additions and 61 deletions

1
.gitignore vendored
View File

@ -7,3 +7,4 @@
/libdazzle-3.26.0.tar.xz /libdazzle-3.26.0.tar.xz
/libdazzle-3.26.1.tar.xz /libdazzle-3.26.1.tar.xz
/libdazzle-3.27.3.tar.xz /libdazzle-3.27.3.tar.xz
/libdazzle-3.27.5.tar.xz

View File

@ -1,56 +0,0 @@
From 36d64ffdb1e6397dda9f0917a9bbb344764feb6a Mon Sep 17 00:00:00 2001
From: Christian Hergert <chergert@redhat.com>
Date: Wed, 13 Dec 2017 21:49:45 -0800
Subject: [PATCH] tests: fix some leaks under asan
---
tests/test-recursive-monitor.c | 9 +++++++--
tests/test-trie.c | 2 ++
2 files changed, 9 insertions(+), 2 deletions(-)
diff --git a/tests/test-recursive-monitor.c b/tests/test-recursive-monitor.c
index c77cc6a9aac5..f2e187dc4376 100644
--- a/tests/test-recursive-monitor.c
+++ b/tests/test-recursive-monitor.c
@@ -145,11 +145,11 @@ test_basic (void)
state.created = g_hash_table_new_full (g_file_hash,
(GEqualFunc) g_file_equal,
g_object_unref,
- g_object_unref);
+ NULL);
state.deleted = g_hash_table_new_full (g_file_hash,
(GEqualFunc) g_file_equal,
g_object_unref,
- g_object_unref);
+ NULL);
/* Cleanup any previously failed run */
if (g_file_test ("recursive-dir", G_FILE_TEST_EXISTS))
@@ -192,6 +192,11 @@ test_basic (void)
g_main_loop_run (state.main_loop);
dzl_recursive_file_monitor_cancel (state.monitor);
+
+ g_clear_pointer (&state.main_loop, g_main_loop_unref);
+ g_clear_pointer (&state.created, g_hash_table_unref);
+ g_clear_pointer (&state.deleted, g_hash_table_unref);
+ g_clear_object (&state.monitor);
}
gint
diff --git a/tests/test-trie.c b/tests/test-trie.c
index 4b934a14d81b..88b0f477ad5c 100644
--- a/tests/test-trie.c
+++ b/tests/test-trie.c
@@ -124,6 +124,8 @@ test_dzl_trie_gauntlet (void)
g_strfreev(words);
words = NULL;
+
+ g_timer_destroy (timer);
}
gint
--
2.14.3

View File

@ -1,7 +1,7 @@
%global glib2_version 2.55.0 %global glib2_version 2.55.0
Name: libdazzle Name: libdazzle
Version: 3.27.3 Version: 3.27.5
Release: 1%{?dist} Release: 1%{?dist}
Summary: Experimental new features for GTK+ and GLib Summary: Experimental new features for GTK+ and GLib
@ -9,9 +9,6 @@ License: GPLv3+
URL: https://git.gnome.org/browse/libdazzle/ URL: https://git.gnome.org/browse/libdazzle/
Source0: https://download.gnome.org/sources/%{name}/3.27/%{name}-%{version}.tar.xz Source0: https://download.gnome.org/sources/%{name}/3.27/%{name}-%{version}.tar.xz
# Backported from upstream
Patch0: 0001-tests-fix-some-leaks-under-asan.patch
BuildRequires: gtk-doc BuildRequires: gtk-doc
BuildRequires: meson BuildRequires: meson
BuildRequires: vala BuildRequires: vala
@ -90,6 +87,9 @@ dbus-run-session -- xvfb-run -w 10 ninja test %{__ninja_common_opts} -C %{_vpath
%changelog %changelog
* Sun Jan 28 2018 Kalev Lember <klember@redhat.com> - 3.27.5-1
- Update to 3.27.5
* Tue Dec 19 2017 Kalev Lember <klember@redhat.com> - 3.27.3-1 * Tue Dec 19 2017 Kalev Lember <klember@redhat.com> - 3.27.3-1
- Update to 3.27.3 - Update to 3.27.3
- Set minimum required glib version - Set minimum required glib version

View File

@ -1 +1 @@
SHA512 (libdazzle-3.27.3.tar.xz) = f844ae0d459a822daf4a5198dc1e9284d6004a7039570ef74a1a4ce92a087d35fc68a4bb5948d6aaf988f78c9ee8e98dfa2f00b8d3d15e42bdc0f469079c75b3 SHA512 (libdazzle-3.27.5.tar.xz) = 1dab72f756b777841c8c93590d8506974186e94c2c259b834490ca323cfc54d0140edbfc15b006e3264975bae69a3737a888e7072cb1b0936b3847bc7a434499