Accepting request 718195 from GNOME:Next

New stable release

OBS-URL: https://build.opensuse.org/request/show/718195
OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/glib2?expand=0&rev=400
This commit is contained in:
Bjørn Lie 2019-07-24 15:46:39 +00:00 committed by Git OBS Bridge
parent 631cef8ca0
commit e05c68c805
5 changed files with 16 additions and 37 deletions

View File

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

3
glib-2.60.6.tar.xz Normal file
View File

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

View File

@ -1,30 +0,0 @@
From 953f23f13ced4002834f7622b21da1703a323047 Mon Sep 17 00:00:00 2001
From: Matthias Clasen <mclasen@redhat.com>
Date: Wed, 10 Jul 2019 11:14:03 -0400
Subject: [PATCH] key file: Handle filename being NULL
This happens when we are default-constructed
without explicit arguments.
Closes: https://gitlab.gnome.org/GNOME/glib/issues/1825
---
gio/gkeyfilesettingsbackend.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/gio/gkeyfilesettingsbackend.c b/gio/gkeyfilesettingsbackend.c
index 3bc392351..b33a4ad69 100644
--- a/gio/gkeyfilesettingsbackend.c
+++ b/gio/gkeyfilesettingsbackend.c
@@ -740,7 +740,8 @@ g_keyfile_settings_backend_set_property (GObject *object,
case PROP_FILENAME:
/* Construct only. */
g_assert (kfsb->file == NULL);
- kfsb->file = g_file_new_for_path (g_value_get_string (value));
+ if (g_value_get_string (value))
+ kfsb->file = g_file_new_for_path (g_value_get_string (value));
break;
case PROP_ROOT_PATH:
--
2.21.0

View File

@ -1,3 +1,15 @@
-------------------------------------------------------------------
Wed Jul 24 11:38:32 UTC 2019 - Bjørn Lie <bjorn.lie@gmail.com>
- Update to version 2.60.6:
+ Fix various bugs with use of the `GKeyfileSettingsBackend`
within flatpaks (glgo#GNOME/GLib!984, glgo#GNOME/GLib!985,
glgo#GNOME/GLib#1825).
+ Bugs fixed: glgo#GNOME/GLib!993, glgo#GNOME/GLib!984,
glgo#GNOME/GLib!985.
- Drop glib2-keyfile-handle-filename-being-null.patch: Fixed
upstream.
------------------------------------------------------------------- -------------------------------------------------------------------
Sat Jul 13 18:23:31 UTC 2019 - Bjørn Lie <bjorn.lie@gmail.com> Sat Jul 13 18:23:31 UTC 2019 - Bjørn Lie <bjorn.lie@gmail.com>

View File

@ -19,7 +19,7 @@
# systemtap is only offered as build-option, but not enabled, as it causes a build cycle # systemtap is only offered as build-option, but not enabled, as it causes a build cycle
%bcond_with systemtap %bcond_with systemtap
Name: glib2 Name: glib2
Version: 2.60.5 Version: 2.60.6
Release: 0 Release: 0
Summary: General-Purpose Utility Library Summary: General-Purpose Utility Library
License: LGPL-2.1-or-later License: LGPL-2.1-or-later
@ -47,8 +47,6 @@ Patch2: glib2-suppress-schema-deprecated-path-warning.patch
Patch3: glib2-dbus-socket-path.patch Patch3: glib2-dbus-socket-path.patch
# PATCH-FIX-OPENSUSE glib2-gdbus-codegen-version.patch olaf@aepfle.de -- Remove version string from files generated by gdbus-codegen # PATCH-FIX-OPENSUSE glib2-gdbus-codegen-version.patch olaf@aepfle.de -- Remove version string from files generated by gdbus-codegen
Patch4: glib2-gdbus-codegen-version.patch Patch4: glib2-gdbus-codegen-version.patch
# PATCH-FIX-UPSTREAM glib2-keyfile-handle-filename-being-null.patch -- key file: Handle filename being NULL
Patch5: glib2-keyfile-handle-filename-being-null.patch
BuildRequires: docbook-xsl-stylesheets BuildRequires: docbook-xsl-stylesheets
BuildRequires: fdupes BuildRequires: fdupes
@ -257,7 +255,6 @@ translation-update-upstream
%patch2 -p1 %patch2 -p1
%patch3 -p1 %patch3 -p1
%patch4 -p1 %patch4 -p1
%patch5 -p1
cp -a %{SOURCE1} %{SOURCE2} %{SOURCE5} . cp -a %{SOURCE1} %{SOURCE2} %{SOURCE5} .
cp -a %{SOURCE4} gnome_defaults.conf cp -a %{SOURCE4} gnome_defaults.conf
# replace /usr/bin/env shebangs # replace /usr/bin/env shebangs