Accepting request 795599 from GNOME:Factory

Push forgotten glib2 update

OBS-URL: https://build.opensuse.org/request/show/795599
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/glib2?expand=0&rev=223
This commit is contained in:
Dominique Leuenberger 2020-04-23 16:28:43 +00:00 committed by Git OBS Bridge
commit 00cb304992
5 changed files with 98 additions and 22 deletions

View File

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

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

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

View File

@ -1,17 +1,8 @@
Index: glib-2.56.2/gio/gdbus-2.0/codegen/codegen.py
Index: glib-2.63.5/gio/gdbus-2.0/codegen/codegen.py
===================================================================
--- glib-2.56.2.orig/gio/gdbus-2.0/codegen/codegen.py 2018-08-17 02:03:20.000000000 +0200
+++ glib-2.56.2/gio/gdbus-2.0/codegen/codegen.py 2018-08-17 10:46:31.576471772 +0200
@@ -29,7 +29,7 @@ from . import dbustypes
from .utils import print_error
LICENSE_STR = '''/*
- * Generated by gdbus-codegen {!s} from {!s}. DO NOT EDIT.
+ * Generated by gdbus-codegen. DO NOT EDIT.
*
* The license of this code is the same as for the D-Bus interface description
* it was derived from.
@@ -67,8 +67,7 @@ class HeaderCodeGenerator:
--- glib-2.63.5.orig/gio/gdbus-2.0/codegen/codegen.py
+++ glib-2.63.5/gio/gdbus-2.0/codegen/codegen.py
@@ -76,8 +76,7 @@ class HeaderCodeGenerator:
# ----------------------------------------------------------------------------------------------------
def generate_header_preamble(self):
@ -21,7 +12,7 @@ Index: glib-2.56.2/gio/gdbus-2.0/codegen/codegen.py
self.outfile.write('\n')
if self.use_pragma:
@@ -627,8 +626,7 @@ class CodeGenerator:
@@ -690,8 +689,7 @@ class InterfaceInfoBodyCodeGenerator:
# ----------------------------------------------------------------------------------------------------
def generate_body_preamble(self):

View File

@ -1,3 +1,89 @@
-------------------------------------------------------------------
Fri Apr 10 11:26:29 UTC 2020 - Bjørn Lie <bjorn.lie@gmail.com>
- Update to version 2.64.2:
+ Bugs fixed: glgo#GNOME/GLib#2067, glgo#GNOME/GLib#2081,
glgo#GNOME/GLib!1421, glgo#GNOME/GLib!1438,
glgo#GNOME/GLib!1424, glgo#GNOME/GLib!1428,
glgo#GNOME/GLib!1429, glgo#GNOME/GLib !1431,
glgo#GNOME/GLib!1432, glgo#GNOME/GLib!1435,
glgo#GNOME/GLib!1447.
+ Updated translations.
-------------------------------------------------------------------
Sat Mar 28 03:04:01 UTC 2020 - bjorn.lie@gmail.com
- Update to version 2.64.1:
+ Fix memory monitor tests to only be installed if
installed-tests are enabled, and to be skipped if
GObject-Introspection is too old.
+ Bugs fixed: glgo#GNOME/GLib#1986, glgo#GNOME/GLib#1988,
glgo#GNOME/GLib!1407, glgo#GNOME/GLib!1412.
+ Updated translations.
-------------------------------------------------------------------
Sat Mar 28 03:04:00 UTC 2020 - Bjørn Lie <bjorn.lie@gmail.com>
- Update to version 2.64.0:
+ Use `posix_spawn()` to speed up launching test D-Bus instances.
+ Bugs fixed: glgo#GNOME/GLib#1783, glgo#GNOME/GLib#2049,
glgo#GNOME/GLib!1384, glgo#GNOME/GLib!1386,
glgo#GNOME/GLib!1387, glgo#GNOME/GLib!1388,
glgo#GNOME/GLib!1389.
+ Updated translations.
-------------------------------------------------------------------
Sat Mar 28 03:03:06 UTC 2020 - Bjørn Lie <bjorn.lie@gmail.com>
- Update to version 2.63.6:
+ Fix potential relative read when calling g_printerr(), which
could lead to a denial of service from a setuid-root process
being used to block access to the TTY for another user.
+ Fix SOCKS proxy resolver sometimes not being used when
resolving addresses via Happy Eyeballs (CVE-2020-6750).
+ Several other Happy Eyeballs fixes for address resolution.
+ Various race fixes in `GDBusConnection` and its unit tests.
+ Fix a race condition with D-Bus name ownership.
+ Drop `gio-launch-desktop` helper application in favour of
calling `sh` directly.
+ Fix win32 exception handling with C# exceptions.
+ Fix thread safety of `GUnixMountMonitor`.
+ Additional fixes to new thread pool attribute behaviour from
GLib 2.63.4 to check if sched_setattr() is allowed by system
policies before depending on it.
+ Fix memory leaks and corruption when freeing `GSource`s while
freeing a `GMainContext`.
+ Drop inappropriate installation of object manager example
documentation.
+ Varioius other bugs and fixes.
+ Updated translations.
-------------------------------------------------------------------
Sat Mar 28 03:03:05 UTC 2020 - dimstar@opensuse.org
- Update to version 2.63.5:
+ Fix behaviour of `g_file_move()` fallback code to not follow
symlinks.
+ Rename `--glib-min-version` argument of `gdbus-codegen` to
`--glib-min-required`.
+ Add gtk-doc checks to CI and fix a number of documentation
issues.
+ Add a debug message if `g_setenv()` or `g_unsetenv()` are used
after any threads have been spawned — this will be upgraded to
a warning in future.
+ Skip memory monitor tests if xdg-desktop-portal or dbusmock are
not available.
+ Change the `libmount` configure option from a boolean to a
Meson `feature`.
+ Do not return `target-uri` from `g_file_peek_path()` when
called on trash/recent files.
+ Drop new TLS certificate API for PKCS #11 backed certificates,
as the implementation is not ready yet (this is not an API
break as the API was added earlier in the 2.63 cycle).
+ Updated translations.
+ For changes from earlier in the dev cycle see the NEWS file.
- Rebase glib2-gdbus-codegen-version.patch.
-------------------------------------------------------------------
Wed Mar 18 16:18:00 UTC 2020 - Bjørn Lie <bjorn.lie@gmail.com>

View File

@ -18,13 +18,13 @@
%bcond_without systemtap
Name: glib2
Version: 2.62.6
Version: 2.64.2
Release: 0
Summary: General-Purpose Utility Library
License: LGPL-2.1-or-later
Group: Development/Libraries/C and C++
URL: https://wiki.gnome.org/Projects/GLib
Source0: http://download.gnome.org/sources/glib/2.62/glib-%{version}.tar.xz
Source0: https://download.gnome.org/sources/glib/2.64/glib-%{version}.tar.xz
Source1: glib2.sh
Source2: glib2.csh
# Not upstream file. Only proposes upstream packages:
@ -51,12 +51,12 @@ BuildRequires: docbook-xsl-stylesheets
BuildRequires: fdupes
BuildRequires: gamin-devel
BuildRequires: gcc-c++
BuildRequires: gtk-doc
BuildRequires: gtk-doc >= 1.32
BuildRequires: libselinux-devel
BuildRequires: m4
BuildRequires: meson >= 0.49.2
BuildRequires: pkgconfig
BuildRequires: python3-base
BuildRequires: python3-base >= 3.5
# gdbus-codegen is run during the build, so we need python3-xml
BuildRequires: python3-xml
BuildRequires: translation-update-upstream
@ -391,7 +391,6 @@ done
%{_bindir}/gapplication
%{_bindir}/gdbus
%{_bindir}/gio
%{_bindir}/gio-launch-desktop
%{_bindir}/gio-querymodules*
%{_bindir}/glib-compile-schemas
%{_bindir}/gresource