SHA256
1
0
forked from pool/libsoup

Accepting request 1004823 from GNOME:Factory

OBS-URL: https://build.opensuse.org/request/show/1004823
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libsoup?expand=0&rev=137
This commit is contained in:
Dominique Leuenberger 2022-09-21 12:40:56 +00:00 committed by Git OBS Bridge
commit 278cdcf908
4 changed files with 66 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.2.0.tar.xz Normal file
View File

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

View File

@ -1,3 +1,48 @@
-------------------------------------------------------------------
Thu Sep 15 06:10:48 UTC 2022 - Bjørn Lie <bjorn.lie@gmail.com>
- Update to version 3.2.0:
+ No changes, stable bump only.
-------------------------------------------------------------------
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> 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 %define api_version 3.0
Name: libsoup Name: libsoup
Version: 3.0.8 Version: 3.2.0
Release: 0 Release: 0
Summary: HTTP client/server library for GNOME Summary: HTTP client/server library for GNOME
License: LGPL-2.1-or-later License: LGPL-2.1-or-later
Group: Development/Libraries/GNOME Group: Development/Libraries/GNOME
URL: https://wiki.gnome.org/Projects/libsoup 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.2/%{name}-%{version}.tar.xz
Source99: baselibs.conf Source99: baselibs.conf
BuildRequires: glib-networking BuildRequires: glib-networking
BuildRequires: meson >= 0.53 BuildRequires: meson >= 0.53
BuildRequires: pkgconfig BuildRequires: pkgconfig
BuildRequires: pkgconfig(gi-docgen)
BuildRequires: pkgconfig(gio-2.0) >= 2.69.1 BuildRequires: pkgconfig(gio-2.0) >= 2.69.1
BuildRequires: pkgconfig(glib-2.0) >= 2.69.1 BuildRequires: pkgconfig(glib-2.0) >= 2.69.1
BuildRequires: pkgconfig(gnutls) >= 3.6.0 BuildRequires: pkgconfig(gnutls) >= 3.6.0
BuildRequires: pkgconfig(gobject-2.0) >= 2.69.1 BuildRequires: pkgconfig(gobject-2.0) >= 2.69.1
BuildRequires: pkgconfig(gobject-introspection-1.0) >= 0.9.5 BuildRequires: pkgconfig(gobject-introspection-1.0) >= 0.9.5
BuildRequires: pkgconfig(gtk-doc) >= 1.20
BuildRequires: pkgconfig(krb5) BuildRequires: pkgconfig(krb5)
BuildRequires: pkgconfig(libbrotlidec) BuildRequires: pkgconfig(libbrotlidec)
BuildRequires: pkgconfig(libnghttp2) BuildRequires: pkgconfig(libnghttp2)
@ -118,28 +119,30 @@ Features:
%build %build
%meson \ %meson \
-Dgssapi=enabled \ -D gssapi=enabled \
-Dkrb5_config="$(which krb5-config)" \ -D krb5_config="$(which krb5-config)" \
-Dvapi=enabled \ -D vapi=enabled \
-Dgtk_doc=true \ -D docs=enabled \
-Dntlm=disabled \ -D ntlm=disabled \
-Dsysprof=disabled \ -D sysprof=disabled \
-Dautobahn=disabled \ -D autobahn=disabled \
-Dhttp2_tests=disabled \ %{nil}
%{nil}
%meson_build %meson_build
%install %install
%meson_install %meson_install
%find_lang %{name}-3.0 %{?no_lang_C} %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 %check
# Run the regression tests using GnuTLS NORMAL priority # Run the regression tests using GnuTLS NORMAL priority
export G_TLS_GNUTLS_PRIORITY=NORMAL export G_TLS_GNUTLS_PRIORITY=NORMAL
%meson_test %meson_test
%post 3_0-0 -p /sbin/ldconfig %ldconfig_scriptlets 3_0-0
%postun 3_0-0 -p /sbin/ldconfig
%files 3_0-0 %files 3_0-0
%license COPYING %license COPYING
@ -151,10 +154,10 @@ export G_TLS_GNUTLS_PRIORITY=NORMAL
%files devel %files devel
%doc AUTHORS README %doc AUTHORS README
%doc %{_docdir}/%{name}-%{api_version}
%{_includedir}/libsoup-%{api_version} %{_includedir}/libsoup-%{api_version}
%{_libdir}/*.so %{_libdir}/*.so
%{_libdir}/pkgconfig/*.pc %{_libdir}/pkgconfig/*.pc
%doc %{_datadir}/gtk-doc/html/libsoup-%{api_version}
%{_datadir}/gir-1.0/Soup-%{api_version}.gir %{_datadir}/gir-1.0/Soup-%{api_version}.gir
%dir %{_datadir}/vala/vapi/ %dir %{_datadir}/vala/vapi/
%{_datadir}/vala/vapi/libsoup-%{api_version}.vapi %{_datadir}/vala/vapi/libsoup-%{api_version}.vapi