Accepting request 684471 from GNOME:Next

New stable branch.

OBS-URL: https://build.opensuse.org/request/show/684471
OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/glib2?expand=0&rev=382
This commit is contained in:
Bjørn Lie 2019-03-14 10:25:20 +00:00 committed by Git OBS Bridge
parent a33d991629
commit e7d304f214
4 changed files with 171 additions and 52 deletions

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

3
glib-2.60.0.tar.xz Normal file

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

@ -1,3 +1,42 @@
-------------------------------------------------------------------
Mon Mar 4 21:28:16 UTC 2019 - Bjørn Lie <bjorn.lie@gmail.com>
- Update to version 2.60.0:
+ Further fixes to the Happy Eyeballs (RFC 8305) implementation.
+ Add support for the XDG trash portal.
+ Bugs fixed: glgo#GNOME/GLib#1653, glgo#GNOME/GLib#1658,
glgo#GNOME/GLib#1668, glgo#GNOME/GLib#1675,
glgo#GNOME/GLib#1676, glgo#GNOME/GLib#1679,
glgo#GNOME/GLib#1693, glgo#GNOME/GLib#1697,
glgo#GNOME/GLib#1698, glgo#GNOME/GLib!276, glgo#GNOME/GLib!639,
glgo#GNOME/GLib!666, glgo#GNOME/GLib!674, glgo#GNOME/GLib!676,
glgo#GNOME/GLib!677, glgo#GNOME/GLib!686, glgo#GNOME/GLib!688,
glgo#GNOME/GLib!689, glgo#GNOME/GLib!691, glgo#GNOME/GLib!692,
glgo#GNOME/GLib!696, glgo#GNOME/GLib!698, glgo#GNOME/GLib!699,
glgo#GNOME/GLib!702, glgo#GNOME/GLib!703.
+ Updated translations.
-------------------------------------------------------------------
Wed Feb 13 02:59:02 UTC 2019 - bjorn.lie@gmail.com
- Update to version 2.59.2:
+ Fix check on GDBusMessage size when reading it.
+ Add async GIO API: g_file_query_default_handler_async(),
g_app_info_launch_uris_async().
+ Fix some bugs in the Happy Eyeballs implementation.
+ Install a new generated header with enum types for Unicode
enums.
+ Support the XDG trash portal.
+ Bugs fixed: glgo#GNOME/GLib#1224, glgo#GNOME/GLib#1249,
glgo#GNOME/GLib#1347, glgo#GNOME/GLib#1376,
glgo#GNOME/GLib#1642, glgo#GNOME/GLib#1646,
glgo#GNOME/GLib#1649, glgo#GNOME/GLib#1673,
glgo#GNOME/GLib!276, glgo#GNOME/GLib!481, glgo#GNOME/GLib!585,
glgo#GNOME/GLib!593, glgo#GNOME/GLib!609, glgo#GNOME/GLib!619,
glgo#GNOME/GLib!622, glgo#GNOME/GLib!626, glgo#GNOME/GLib!627,
glgo#GNOME/GLib!629, glgo#GNOME/GLib!630.
+ Updated translations.
-------------------------------------------------------------------
Mon Feb 11 14:28:05 UTC 2019 - Dominique Leuenberger <dimstar@opensuse.org>
@ -14,6 +53,99 @@ Tue Jan 29 07:21:15 UTC 2019 - Dominique Leuenberger <dimstar@opensuse.org>
- Conditionalize enabling of systemtap, default disabled: it
creates a build loop.
-------------------------------------------------------------------
Sat Jan 26 17:20:16 UTC 2019 - bjorn.lie@gmail.com
- Update to version 2.59.1:
+ Autotools support is gone.
+ g_format_size() now uses a no-break space to separate digits
and units; translations will need to be updated accordingly.
+ New g_queue_clear_full() API.
+ Fix argument quoting on win32 when spawning subprocesses.
+ Allow polling more than 64 handles on win32 using g_poll().
+ Tag various tests as flaky. These are no longer run routinely
on our upstream CI machines, and downstream packagers may want
to not run them (or not treat those test failures as package
build failures) on their test machines either. They are in the
`flaky` test suite.
+ Add overlay support to g_resources_get_info().
+ Support defaults and locks in the keyfile GSettings backend.
This will be used for flatpaks.
+ Accept unquoted strings in the keyfile GSettings backend to
simplify things for sysadmins.
+ Update our contribution guidelines (`CONTRIBUTING.md`).
+ Add writev() and writev_all() APIs to GOutputStream and
GPollableOutputStream, and provide implementations of them for
many subclasses.
+ Many more bugs fixed, see package NEWS file for full list.
+ Updated translations.
- Remove conditionals for meson build, use meson unconditionally
following upstreams removal of autotools.
- Add new glib2-tests subpackage.
-------------------------------------------------------------------
Mon Jan 21 15:53:14 UTC 2019 - bjorn.lie@gmail.com
- Update to version 2.59.0:
+ This will be the last development release with autotools
support. As our Meson support has been around since 2.56.x, and
was used to release tarballs in 2.58.x, the next development
release (2.59.1) will drop autotools as used to build GLib. The
macros installed for other packages to use will remain.
+ Add `G_TEST_OPTION_ISOLATE_DIRS` to redirect `XDG_*_HOME` to a
temporary directory for each unit test.
+ Support `Property.EmitsChangedSignal` annotations in
`gdbus-codegen`.
+ Add `g_assert_cmpvariant()` API for unit tests.
+ Hide bind mounts from GIO mount listings.
+ Automatically realign data passed to
`g_variant_new_from_bytes()` or `g_variant_new_from_data()` if
it is not correctly aligned. This prevents misaligned accesses
on architectures which dont support them. Callers should still
aim to correctly align data to get higher performance.
+ Support `ld -b binary` (on platforms which support it; i.e.
Linux) to provide large pre-compiled `GResource` resources with
a fast compilation time.
+ Unconditionally install GLib m4 macros, so that projects which
depend on GLib and which still build using autotools can
continue to build even once GLib has ported entirely to Meson.
+ Various fixes to the Meson build.
+ Drop Python 2 support and require Python 3.4+. See discussion
on https://mail.gnome.org/archives/desktop-devel-list/2018-July/msg00004.html.
+ `GHashTable` performance and memory improvements for common
cases. See
https://hpjansson.org/blag/2018/07/24/a-hash-table-re-hash/.
+ Add flags that allow a `GApplication` to signal and replace a
currently running other instance of the same `GApplication`.
This will be used for app upgrades with flatpak.
+ Autostart xdg-desktop-portal when using the network monitor and
proxy monitor portal backends.
+ Add a g_task_set_name() API to allow `GTask`s to be described;
useful for debugging.
+ Enable FreeBSD CI on every commit for upstream GLib.
+ Various GVariant, GMarkup and GDBus fuzzing fixes, including
buffer overflow fixes.
+ Various fixes to eliminate thread races, found by thread
sanitizer (tsan).
+ Deprecate TLS/DTLS rehandshaking, as it has been removed from
the protocol in TLS 1.3.
+ Support reading arguments from a file with `glib-mkenums`,
which is useful for long argument lists due to having deeply
nested build directories, on systems with a low limit on the
command line length.
+ Make `g_environ_*()` case-insensitive on Windows, as the
environment itself is case-insensitive on Windows.
+ Add Application Layer Protocol Negotiation (ALPN) support to
`GTlsConnection` and `GDtlsConnection`, so that higher layer
protocols can be negotiated when setting up a TLS connection,
without additional round trips and latency. This is needed for
eventual HTTP/2 support.
+ Add support for TPM keys in PEM files when loading TLS
certificates.
+ Add a `GRecMutexLocker` auto-pointer wrapper for `GRecMutex`.
+ Many more bugs fixed, see package NEWS file for full list.
+ Updated translations.
-------------------------------------------------------------------
Mon Jan 21 15:53:13 UTC 2019 - bjorn.lie@gmail.com

@ -18,17 +18,14 @@
# systemtap is only offered as build-option, but not enabled, as it causes a build cycle
%bcond_with systemtap
# Meson is still not recommended by upstream and openQA has having many
# suspicious failures that seems to point to Glib.
%bcond_with meson
Name: glib2
Version: 2.58.3
Version: 2.60.0
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: https://download.gnome.org/sources/glib/2.58/glib-%{version}.tar.xz
Source0: https://download.gnome.org/sources/glib/2.60/glib-%{version}.tar.xz
Source1: glib2.sh
Source2: glib2.csh
# Not upstream file. Only proposes upstream packages:
@ -57,6 +54,7 @@ BuildRequires: gcc-c++
BuildRequires: gtk-doc
BuildRequires: libselinux-devel
BuildRequires: m4
BuildRequires: meson
BuildRequires: pkgconfig
BuildRequires: python3-base
# gdbus-codegen is run during the build, so we need python3-xml
@ -71,11 +69,6 @@ BuildRequires: pkgconfig(mount) >= 2.28
BuildRequires: pkgconfig(zlib)
# gtk-doc requires glib2-devel, but we will only be building this here; break up a cycle
#!BuildIgnore: glib2-devel
%if %{with meson}
BuildRequires: meson
%else
BuildRequires: libtool
%endif
%if %{with systemtap}
BuildRequires: systemtap-sdt-devel
%endif
@ -183,10 +176,10 @@ object files (commonly known as 'plug-ins').
%package -n libgio-2_0-0
Summary: A virtual file system library API
Group: System/Libraries
# The tools are useful for people having libgio
# bnc#555605: shared-mime-info is required by libgio to properly detect mime types, but not during build
#!BuildIgnore: shared-mime-info
# The tools are useful for people having libgio
Group: System/Libraries
Requires: %{name}-tools
# bnc#678518: libgio interacts with others by means of dbus-launch
Requires: dbus-launch
@ -242,6 +235,15 @@ a main loop abstraction, and so on.
The GObject library provides an object-oriented framework for C.
%package tests
Summary: Tests for the glib2 package
Group: Development/Libraries/C and C++
Requires: %{name}-devel = %{version}
%description tests
The glib2-tests package contains tests that can be used to verify
the functionality of the installed glib2 package.
%lang_package
%prep
@ -254,55 +256,32 @@ translation-update-upstream
%patch4 -p1
cp -a %{SOURCE1} %{SOURCE2} %{SOURCE5} .
cp -a %{SOURCE4} gnome_defaults.conf
%if !%{with meson}
cp %{_datadir}/gtk-doc/data/gtk-doc.make .
%endif
# replace /usr/bin/env shebangs
# /usr/bin/env @PYTHON@ -> /usr/bin/python3
grep "%{_bindir}/env @PYTHON@" . -rl | xargs sed -i "s|%{_bindir}/env @PYTHON@|%{_bindir}/python3|g"
%build
%if %{with meson}
%meson \
--default-library=both \
-Dselinux=true \
-Dman=true \
-Dgtk_doc=true \
-Dfam=true \
--default-library=both \
-Dselinux=enabled \
-Dman=true \
-Dgtk_doc=true \
-Dfam=true \
%if %{with systemtap}
-Dsystemtap=true \
%endif
-Ddtrace=true \
-Dinternal_pcre=false
%meson_build
-Dsystemtap=true \
-Ddtrace=true \
%else
autoreconf -fi
%configure \
--enable-static \
--enable-selinux \
--enable-gtk-doc \
--enable-man \
--with-python=%{_bindir}/python3 \
%if %{with systemtap}
--enable-systemtap \
%endif
--with-pcre=system
%make_build
%endif
%if %{with meson}
%check
%meson_test
-Dsystemtap=false \
-Ddtrace=false \
%endif
-Dinternal_pcre=false \
-Dinstalled_tests=true \
%{nil}
%meson_build
%install
%if %{with meson}
%meson_install
%else
%make_install
find %{buildroot} -type f -name "*.la" -delete -print
rm %{buildroot}%{_libdir}/gio/modules/libgiofam.a
%endif
%if 0%{?suse_version} <= 1120
rm %{buildroot}%{_datadir}/locale/en@shaw/LC_MESSAGES/*
%endif
@ -353,6 +332,10 @@ EOF
fi
done
%check
### FIXME ### Figure out how to run the "stable tests" only ref info from upstream.
#%%meson_test
%post -n libgmodule-2_0-0 -p /sbin/ldconfig
%post -n libgio-fam
%if 0
@ -510,4 +493,8 @@ done
%files lang -f glib20.lang
%files tests
%{_libexecdir}/installed-tests
%{_datadir}/installed-tests
%changelog