public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/libsoup3] rawhide: Update to 3.7.2
@ 2026-08-13 18:16 Luigi Pavan
  0 siblings, 0 replies; only message in thread
From: Luigi Pavan @ 2026-08-13 18:16 UTC (permalink / raw)
  To: git-commits

            A new commit has been pushed.

            Repo   : rpms/libsoup3
            Branch : rawhide
            Commit : b81be5e148950ba48774ea5bdd8c68b4ea5eb3a0
            Author : Luigi Pavan <lpavan@redhat.com>
            Date   : 2026-08-13T12:15:01+02:00
            Stats  : +3/-85 in 4 file(s)
            URL    : https://src.fedoraproject.org/rpms/libsoup3/c/b81be5e148950ba48774ea5bdd8c68b4ea5eb3a0?branch=rawhide

            Log:
            Update to 3.7.2

Drop patches merged upstream:
- soup-body-input-stream-limit-buffer-read-to-the-received-content.patch
- multipart-test-close-base-stream-and-unref-multipart-before-quitting-main-loop.patch

Disable brotli for MinGW build: mingw-brotli is currently at 1.0.7
in Fedora and lacks brotli/shared_dictionary.h, which is required by
the new compression dictionaries feature in libsoup 3.7.2. Updating
mingw-brotli to 1.2.0 would resolve this:
https://bugzilla.redhat.com/show_bug.cgi?id=2401890

Assisted-by: Cursor

---
diff --git a/libsoup3.spec b/libsoup3.spec
index 80bd2d0..6c3cd7f 100644
--- a/libsoup3.spec
+++ b/libsoup3.spec
@@ -7,7 +7,7 @@
 %endif
 
 Name:    libsoup3
-Version: 3.7.1
+Version: 3.7.2
 Release: %autorelease
 Summary: Soup, an HTTP library implementation
 
@@ -21,10 +21,6 @@ Patch:   no-ntlm-in-fips-mode.patch
 # https://gitlab.gnome.org/GNOME/libsoup/-/work_items/530
 Patch:   skip-logger-test-on-32bit.patch
 
-# Fix test failures on aarch64
-# https://gitlab.gnome.org/GNOME/libsoup/-/merge_requests/538
-Patch:   soup-body-input-stream-limit-buffer-read-to-the-received-content.patch
-Patch:   multipart-test-close-base-stream-and-unref-multipart-before-quitting-main-loop.patch
 
 BuildRequires: gcc
 BuildRequires: gettext
@@ -147,6 +143,7 @@ This is the MinGW build of libsoup3
 
 %if %{with_mingw}
 %mingw_meson \
+    -Dbrotli=disabled \
     -Ddocs=disabled \
     -Dintrospection=disabled \
     -Dtests=false \

diff --git a/multipart-test-close-base-stream-and-unref-multipart-before-quitting-main-loop.patch b/multipart-test-close-base-stream-and-unref-multipart-before-quitting-main-loop.patch
deleted file mode 100644
index fb206d1..0000000
--- a/multipart-test-close-base-stream-and-unref-multipart-before-quitting-main-loop.patch
+++ /dev/null
@@ -1,50 +0,0 @@
-From 19b81b655f309026e5c76ddc18aee687f14636e4 Mon Sep 17 00:00:00 2001
-From: Milan Crha <mcrha@redhat.com>
-Date: Tue, 23 Jun 2026 08:47:51 +0200
-Subject: [PATCH] multipart-test: Close base stream and unref multipart before
- quitting main loop
-
-It could happen that the main loop was quit with some pending GSource,
-which prevents free of the session, which causes the test failure. Ensure
-the main context does not have the leftover GSource by closing the base
-stream and by freeing the multipart object before quitting the main loop.
-
-Assisted-by: Claude Opus 4.6
----
- tests/multipart-test.c | 6 +++++-
- 1 file changed, 5 insertions(+), 1 deletion(-)
-
-diff --git a/tests/multipart-test.c b/tests/multipart-test.c
-index 3d85e22..3842943 100644
---- a/tests/multipart-test.c
-+++ b/tests/multipart-test.c
-@@ -310,6 +310,7 @@ multipart_next_part_cb (GObject *source, GAsyncResult *res, gpointer data)
- 	g_assert_no_error (error);
- 	if (error) {
- 		g_clear_error (&error);
-+		g_input_stream_close (G_FILTER_INPUT_STREAM (multipart)->base_stream, NULL, NULL);
- 		g_object_unref (multipart);
- 		g_main_loop_quit (loop);
- 		return;
-@@ -317,6 +318,7 @@ multipart_next_part_cb (GObject *source, GAsyncResult *res, gpointer data)
-
- 	if (!in) {
- 		g_assert_cmpint (passes, ==, 4);
-+		g_input_stream_close (G_FILTER_INPUT_STREAM (multipart)->base_stream, NULL, NULL);
- 		g_object_unref (multipart);
- 		g_main_loop_quit (loop);
- 		return;
-@@ -408,8 +410,10 @@ sync_multipart_handling_cb (GObject *source, GAsyncResult *res, gpointer data)
-
- 	g_assert_cmpint (passes, ==, 4);
-
--	g_main_loop_quit (loop);
-+	g_input_stream_close (G_FILTER_INPUT_STREAM (multipart)->base_stream, NULL, NULL);
- 	g_object_unref (multipart);
-+
-+	g_main_loop_quit (loop);
- }
-
- static void
---
-2.54.0

diff --git a/soup-body-input-stream-limit-buffer-read-to-the-received-content.patch b/soup-body-input-stream-limit-buffer-read-to-the-received-content.patch
deleted file mode 100644
index c599248..0000000
--- a/soup-body-input-stream-limit-buffer-read-to-the-received-content.patch
+++ /dev/null
@@ -1,29 +0,0 @@
-From 72e566d82363ba35cdcf4a8c7b4826029f7190ff Mon Sep 17 00:00:00 2001
-From: Milan Crha <mcrha@redhat.com>
-Date: Tue, 23 Jun 2026 08:44:02 +0200
-Subject: [PATCH] soup-body-input-stream: Limit buffer read to the received
- content
-
-The strstr() could read after the read content in the buffer, where it
-could garbage data not belonging to the buffer.
-
-Assisted-by: Claude Opus 4.6
----
- libsoup/http1/soup-body-input-stream.c | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
-diff --git a/libsoup/http1/soup-body-input-stream.c b/libsoup/http1/soup-body-input-stream.c
-index 6dd0809..ba84d00 100644
---- a/libsoup/http1/soup-body-input-stream.c
-+++ b/libsoup/http1/soup-body-input-stream.c
-@@ -198,7 +198,7 @@ again:
- 		}
-
-                 /* ignore extensions */
--                boundary = strstr (metabuf, ";");
-+                boundary = memchr (metabuf, ';', nread);
-                 if (boundary)
-                         *boundary = '\0';
-                 else
---
-2.54.0

diff --git a/sources b/sources
index ebc9483..d56d967 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (libsoup-3.7.1.tar.xz) = 695f0a62d1e67edd1b7752c3abb7d2a6bb7da8ba045933b45a02c193926af260272dbb781d09fb5324183b035bf3821920b664d09ef27ea9c9eb5463e2b2264a
+SHA512 (libsoup-3.7.2.tar.xz) = 89642fe052557754e151f0d705fa6bca135bc01b1f5e3d2b1f8da67b708a9ffba4b40f923b6a1019a6e2fa28fedb7dc30bed64f98613e4b7139e98dc197fca49

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2026-08-13 18:16 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-08-13 18:16 [rpms/libsoup3] rawhide: Update to 3.7.2 Luigi Pavan

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox