From 5dde163af4cb3f4c44301419b8e49362d014410ce035978c7afeab96977dd015 Mon Sep 17 00:00:00 2001 From: Dominique Leuenberger Date: Tue, 13 Sep 2022 07:36:13 +0000 Subject: [PATCH] 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 --- libsoup-3.0.8.tar.xz | 3 --- libsoup-3.1.4.tar.xz | 3 +++ libsoup.changes | 39 +++++++++++++++++++++++++++++++++++++++ libsoup.spec | 33 ++++++++++++++++++--------------- 4 files changed, 60 insertions(+), 18 deletions(-) delete mode 100644 libsoup-3.0.8.tar.xz create mode 100644 libsoup-3.1.4.tar.xz diff --git a/libsoup-3.0.8.tar.xz b/libsoup-3.0.8.tar.xz deleted file mode 100644 index 929d07a..0000000 --- a/libsoup-3.0.8.tar.xz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:c8739dc1c23c2b1e3b816d7598b3fa1764a3e1a2a2f5257b1bc4466d867caced -size 1535496 diff --git a/libsoup-3.1.4.tar.xz b/libsoup-3.1.4.tar.xz new file mode 100644 index 0000000..b8f117f --- /dev/null +++ b/libsoup-3.1.4.tar.xz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:0415993fc99746bb0fca9549004a828080b1b936213540f297c290059570b554 +size 1527180 diff --git a/libsoup.changes b/libsoup.changes index 1598c31..7b0715b 100644 --- a/libsoup.changes +++ b/libsoup.changes @@ -1,3 +1,42 @@ +------------------------------------------------------------------- +Mon Sep 5 19:22:41 UTC 2022 - Bjørn Lie + +- 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 + +- 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 + +- 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 diff --git a/libsoup.spec b/libsoup.spec index 2dc1a39..9206b81 100644 --- a/libsoup.spec +++ b/libsoup.spec @@ -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