Accepting request 935589 from GNOME:Next

OBS-URL: https://build.opensuse.org/request/show/935589
OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/glib2?expand=0&rev=468
This commit is contained in:
Bjørn Lie 2021-12-07 10:21:24 +00:00 committed by Git OBS Bridge
parent e57fc17ad1
commit 248e60ca0d
5 changed files with 43 additions and 61 deletions

View File

@ -16,15 +16,4 @@ libgmodule-2_0-0
libgio-2_0-0
libgthread-2_0-0
libgobject-2_0-0
libgio-fam
requires "glib2-tools-<targettype>"
post "%if "%_lib" == "lib64""
post "<prefix>%{_bindir}/gio-querymodules-64 <prefix>%{_libdir}/gio/modules"
post "%else"
post "<prefix>%{_bindir}/gio-querymodules <prefix>%{_libdir}/gio/modules"
post "%endif"
postun "%if "%_lib" == "lib64""
postun "<prefix>%{_bindir}/gio-querymodules-64 <prefix>%{_libdir}/gio/modules"
postun "%else"
postun "<prefix>%{_bindir}/gio-querymodules <prefix>%{_libdir}/gio/modules"
postun "%endif"

View File

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

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

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

View File

@ -1,3 +1,40 @@
-------------------------------------------------------------------
Fri Dec 3 18:48:54 UTC 2021 - Bjørn Lie <bjorn.lie@gmail.com>
- Update to version 2.70.2:
+ Fix use of the default log writer with journald namespaces
+ Fix hang in `dbus-daemon` under `GTestDBus` when
`G_MESSAGES_DEBUG=all` is set
+ Speed up `g_canonicalize_filename()` to avoid pathogenic cases
with `..`
+ Fix URI for pcre subproject as its moved upstream
+ Fix storing GSettings dictionaries on macOS
+ Speed up remove dot segments algorithm in `GUri` to avoid
pathogenic cases with `..`
+ Fix infinite loops in D-Bus message parsing for truncated
inputs
+ Improve correctness of version information returned by
`g_get_os_info()` for Windows 10/Server 2019+
+ Bugs fixed: glgo#GNOME/GLib#2400, glgo#GNOME/GLib#2426,
glgo#GNOME/GLib#2528, glgo#GNOME/GLib#2530,
glgo#GNOME/GLib#2537, glgo#GNOME/GLib#2541,
glgo#GNOME/GLib!2312, glgo#GNOME/GLib!2313,
glgo#GNOME/GLib!2314, glgo#GNOME/GLib!2316,
glgo#GNOME/GLib!2320, glgo#GNOME/GLib!2335,
glgo#GNOME/GLib!2337, glgo#GNOME/GLib!2340,
glgo#GNOME/GLib!2344, glgo#GNOME/GLib!2356,
glgo#GNOME/GLib!2359, glgo#GNOME/GLib!2361,
glgo#GNOME/GLib!2363, glgo#GNOME/GLib!2366,
glgo#GNOME/GLib!2375, glgo#GNOME/GLib!2383.
+ Updated translations.
-------------------------------------------------------------------
Wed Nov 10 19:41:49 UTC 2021 - Bjørn Lie <bjorn.lie@gmail.com>
- Stop passing fam=true to meson and drop gamin-devel
BuildRequires, following upstream default. Following this, drop
libgio-fam sub-package.
-------------------------------------------------------------------
Thu Oct 28 14:20:39 UTC 2021 - Bjørn Lie <bjorn.lie@gmail.com>

View File

@ -19,7 +19,7 @@
%bcond_without systemtap
%bcond_without gtk_doc
Name: glib2
Version: 2.70.1
Version: 2.70.2
Release: 0
Summary: General-Purpose Utility Library
License: LGPL-2.1-or-later
@ -47,9 +47,9 @@ Patch2: glib2-suppress-schema-deprecated-path-warning.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
Patch4: glib2-gdbus-codegen-version.patch
BuildRequires: docbook-xsl-stylesheets
BuildRequires: fdupes
BuildRequires: gamin-devel
BuildRequires: gcc-c++
BuildRequires: libselinux-devel
BuildRequires: m4
@ -208,21 +208,6 @@ a main loop abstraction, and so on.
GIO provides a modern, easy-to-use VFS API.
%package -n libgio-fam
Summary: GIO module to use FAM
# we need gio-querymodules in %%post/%%postun
Group: System/Libraries
Requires(post): %{name}-tools
Requires(postun):%{name}-tools
Supplements: (libgio-2_0-0 and fam)
%description -n libgio-fam
GLib is a general-purpose utility library, which provides many useful
data types, macros, type conversions, string utilities, file utilities,
a main loop abstraction, and so on.
This packages provides a GIO module to use FAM for file monitoring.
%package -n %{libgthread}
Summary: Portable API from glib wrapping system threads
Group: System/Libraries
@ -287,7 +272,6 @@ sed -i "s/1.32.1/1.32/" docs/reference/meson.build
%if %{with gtk_doc}
-Dgtk_doc=true \
%endif
-Dfam=true \
%if %{with systemtap}
-Dsystemtap=true \
-Ddtrace=true \
@ -363,36 +347,12 @@ done
%post -n libgmodule-2_0-0 -p /sbin/ldconfig
%post -n libgio-fam
%if 0
###############################################################################
# Note: when updating this scriptlet, don't forget to also update baselibs.conf
###############################################################################
%endif
%if "%{_lib}" == "lib64"
%{_bindir}/gio-querymodules-64 %{_libdir}/gio/modules
%else
%{_bindir}/gio-querymodules %{_libdir}/gio/modules
%endif
%postun -n %{libglib} -p %{ldconfig}
%postun -n %{libgobject} -p %{ldconfig}
%postun -n %{libgthread} -p %{ldconfig}
%postun -n %{libgio} -p %{ldconfig}
%postun -n %{libgmodule} -p %{ldconfig}
%postun -n libgio-fam
%if 0
###############################################################################
# Note: when updating this scriptlet, don't forget to also update baselibs.conf
###############################################################################
%endif
%if "%{_lib}" == "lib64"
[ -x %{_bindir}/gio-querymodules-64 ] && %{_bindir}/gio-querymodules-64 %{_libdir}/gio/modules || :
%else
[ -x %{_bindir}/gio-querymodules ] && %{_bindir}/gio-querymodules %{_libdir}/gio/modules || :
%endif
%files tools
%license COPYING
%{_bindir}/gapplication
@ -463,10 +423,6 @@ done
%ghost %{_localstatedir}/cache/gio-2.0/lxde-mimeapps.list
%ghost %{_localstatedir}/cache/gio-2.0/pantheon-mimeapps.list
%files -n libgio-fam
%license COPYING
%{_libdir}/gio/modules/libgiofam.so
%files devel
%license COPYING
%doc HACKING README.rationale