Accepting request 1002678 from GNOME:Next

GNOME 43.rc - let's get this into Staging to see what we break (e.g meson:test seems to be an issue already)

OBS-URL: https://build.opensuse.org/request/show/1002678
OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/libsoup?expand=0&rev=271
This commit is contained in:
Dominique Leuenberger 2022-09-13 07:36:13 +00:00 committed by Git OBS Bridge
parent a4eed9201e
commit 5dde163af4
4 changed files with 60 additions and 18 deletions

View File

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

3
libsoup-3.1.4.tar.xz Normal file
View File

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

View File

@ -1,3 +1,42 @@
-------------------------------------------------------------------
Mon Sep 5 19:22:41 UTC 2022 - Bjørn Lie <bjorn.lie@gmail.com>
- Update to version 3.1.4:
+ Numerous improvements to HTTP/2 reliablity.
+ Fix `http` proxy authentication with default proxy resolver.
+ Fix undefined ``ssize_t`` with MSVC.
-------------------------------------------------------------------
Sun Sep 4 09:47:47 UTC 2022 - Dominique Leuenberger <dimstar@opensuse.org>
- Update to version 3.1.3:
+ Fix compile error when `SOUP_VERSION_MAX_ALLOWED` is defined.
- Changes from version 3.1.2:
+ Replace HTTP/2 tests using Quart with internal HTTP/2 server
tests.
+ Improve version macros including adding ability to define
`SOUP_DISABLE_DEPRECATION_WARNINGS`.
- Drop -D http2_tests=disabled meson paramter: no longer supported.
- Drop 299.patch: merged upstream.
-------------------------------------------------------------------
Sat Sep 3 13:46:54 UTC 2022 - Bjørn Lie <bjorn.lie@gmail.com>
- Update to version 3.1.1:
+ Reintroduce some thread-safety to SoupSession (see
https://libsoup.org/libsoup-3.0/client-thread-safety.html)
+ Add SoupServerMessage:tls-peer-certificate and
SoupServerMessage:tls-peer-certificate-errors
+ Port docs to gi-docgen
+ Update documentation.
- Replace pkgconfig(gtk-doc) with pkgconfig(gi-docgen)
BuildRequires (and update options passed to meson) following
upstreams port.
- Add 299.patch: multithread-test: show error information in case
of request failure. multithread-test: skip proxy tests if apache
is not available.
- Use ldconfig_scriptlets for post(un) handling.
-------------------------------------------------------------------
Fri Sep 2 18:35:57 UTC 2022 - Bjørn Lie <bjorn.lie@gmail.com>

View File

@ -18,23 +18,24 @@
%define api_version 3.0
Name: libsoup
Version: 3.0.8
Version: 3.1.4
Release: 0
Summary: HTTP client/server library for GNOME
License: LGPL-2.1-or-later
Group: Development/Libraries/GNOME
URL: https://wiki.gnome.org/Projects/libsoup
Source0: https://download.gnome.org/sources/libsoup/3.0/%{name}-%{version}.tar.xz
Source0: https://download.gnome.org/sources/libsoup/3.1/%{name}-%{version}.tar.xz
Source99: baselibs.conf
BuildRequires: glib-networking
BuildRequires: meson >= 0.53
BuildRequires: pkgconfig
BuildRequires: pkgconfig(gi-docgen)
BuildRequires: pkgconfig(gio-2.0) >= 2.69.1
BuildRequires: pkgconfig(glib-2.0) >= 2.69.1
BuildRequires: pkgconfig(gnutls) >= 3.6.0
BuildRequires: pkgconfig(gobject-2.0) >= 2.69.1
BuildRequires: pkgconfig(gobject-introspection-1.0) >= 0.9.5
BuildRequires: pkgconfig(gtk-doc) >= 1.20
BuildRequires: pkgconfig(krb5)
BuildRequires: pkgconfig(libbrotlidec)
BuildRequires: pkgconfig(libnghttp2)
@ -118,28 +119,30 @@ Features:
%build
%meson \
-Dgssapi=enabled \
-Dkrb5_config="$(which krb5-config)" \
-Dvapi=enabled \
-Dgtk_doc=true \
-Dntlm=disabled \
-Dsysprof=disabled \
-Dautobahn=disabled \
-Dhttp2_tests=disabled \
%{nil}
-D gssapi=enabled \
-D krb5_config="$(which krb5-config)" \
-D vapi=enabled \
-D docs=enabled \
-D ntlm=disabled \
-D sysprof=disabled \
-D autobahn=disabled \
%{nil}
%meson_build
%install
%meson_install
%find_lang %{name}-3.0 %{?no_lang_C}
# Make default docdir ref openSUSE standard
mkdir -p %{buildroot}%{_docdir}/%{name}-%{api_version}
# Move docs from upstream docdir to openSUSE docdir standard
mv %{buildroot}%{_datadir}/doc/%{name}-%{api_version} %{buildroot}%{_docdir}
%check
# Run the regression tests using GnuTLS NORMAL priority
export G_TLS_GNUTLS_PRIORITY=NORMAL
%meson_test
%post 3_0-0 -p /sbin/ldconfig
%postun 3_0-0 -p /sbin/ldconfig
%ldconfig_scriptlets 3_0-0
%files 3_0-0
%license COPYING
@ -151,10 +154,10 @@ export G_TLS_GNUTLS_PRIORITY=NORMAL
%files devel
%doc AUTHORS README
%doc %{_docdir}/%{name}-%{api_version}
%{_includedir}/libsoup-%{api_version}
%{_libdir}/*.so
%{_libdir}/pkgconfig/*.pc
%doc %{_datadir}/gtk-doc/html/libsoup-%{api_version}
%{_datadir}/gir-1.0/Soup-%{api_version}.gir
%dir %{_datadir}/vala/vapi/
%{_datadir}/vala/vapi/libsoup-%{api_version}.vapi