Accepting request 848135 from GNOME:Factory

- Disable sysprof integration: this causes a nasty build cycle.
  + Pass -Dsysprof=disabled to meson.
  + Remove pkgconfig(sysprof-4) and pkgconfig(sysprof-capture-4),
    as well as pkgconfig(sysprof-4) in the devel project. (forwarded request 848134 from dimstar)

OBS-URL: https://build.opensuse.org/request/show/848135
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libsoup?expand=0&rev=125
This commit is contained in:
Dominique Leuenberger 2020-11-19 10:57:51 +00:00 committed by Git OBS Bridge
commit bff9a93060
5 changed files with 44 additions and 39 deletions

View File

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

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

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

View File

@ -1,32 +0,0 @@
From 3058a0ed3aaf0a54058a96f884b0a73b0cc578a8 Mon Sep 17 00:00:00 2001
From: Simon McVittie <smcv@debian.org>
Date: Wed, 11 Mar 2020 09:16:50 +0000
Subject: [PATCH] test-utils: Clarify meaning of an environment variable
SOUP_TESTS_IN_MAKE_CHECK used to be used for the Autotools build system.
I mistakenly thought it was a way to skip the Apache-dependent tests
during `make check`, but in fact the Autotools build system used to
start a single instance of Apache, then run all the tests against that
single instance, and finally shut it down.
This mechanism is currently unused, but resurrecting it might be one way
to avoid GNOME/libsoup#175.
---
tests/test-utils.c | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
Index: libsoup-2.70.0/tests/test-utils.c
===================================================================
--- libsoup-2.70.0.orig/tests/test-utils.c
+++ libsoup-2.70.0/tests/test-utils.c
@@ -189,7 +189,9 @@ apache_cmd (const char *cmd)
void
apache_init (void)
{
- if (g_getenv ("SOUP_TESTS_IN_MAKE_CHECK"))
+ /* Set this environment variable if you are already running a
+ * suitably-configured Apache server */
+ if (g_getenv ("SOUP_TESTS_ALREADY_RUNNING_APACHE"))
return;
if (!apache_cmd ("start")) {

View File

@ -1,3 +1,41 @@
-------------------------------------------------------------------
Thu Nov 12 14:30:45 UTC 2020 - Dominique Leuenberger <dimstar@opensuse.org>
- Disable sysprof integration: this causes a nasty build cycle.
+ Pass -Dsysprof=disabled to meson.
+ Remove pkgconfig(sysprof-4) and pkgconfig(sysprof-capture-4),
as well as pkgconfig(sysprof-4) in the devel project.
-------------------------------------------------------------------
Mon Sep 14 10:10:43 UTC 2020 - dimstar@opensuse.org
- Update to version 2.72.0:
+ Fix critical after cancelling a message that failed auth.
+ Updated translations.
-------------------------------------------------------------------
Sat Sep 5 22:59:02 UTC 2020 - Dominique Leuenberger <dimstar@opensuse.org>
- Update to version 2.71.1:
+ Add support for 308 Premanent Redirect.
+ Add basic sysprof profiling for HTTP messages.
+ Various build fixes.
+ Updated translations.
- Add pkgconfig(sysprof-4) and pkgconfig(sysprof-capture-4)
BuildRequires: new dependencies.
-------------------------------------------------------------------
Fri Sep 4 10:05:57 UTC 2020 - dimstar@opensuse.org
- Update to version 2.71.0:
+ Redesign directory list returned for `file://` requests.
+ Add `SOUP_COOKIE_JAR_ACCEPT_GRANDFATHERED_THIRD_PARTY` policy.
+ Add soup_message_is_feature_disabled() API.
+ Fix potential leak when setting SoupSession:tls-interaction.
+ Fix building with Visual Studio.
+ Updated translations.
- Drop libsoup-test-utils-fix.patch: fixed upstream.
-------------------------------------------------------------------
Mon May 11 13:27:15 UTC 2020 - Dominique Leuenberger <dimstar@opensuse.org>

View File

@ -17,19 +17,17 @@
Name: libsoup
Version: 2.70.0
Version: 2.72.0
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/2.70/%{name}-%{version}.tar.xz
Source0: https://download.gnome.org/sources/libsoup/2.72/%{name}-%{version}.tar.xz
Source99: baselibs.conf
# PATCH-FIX-OPENSUSE libsoup-disable-hsts-tests.patch mgorse@suse.com -- disable hsts tests.
Patch0: libsoup-disable-hsts-tests.patch
# PATCH-FIX-UPSTREAM libsoup-test-utils-fix.patch -- test-utils: Clarify meaning of an environment variable
Patch1: libsoup-test-utils-fix.patch
# PATCH-FIX-OPENSUSE libsoup-disable-ssl-tests.patch glgo#GNOME/libsoup#188 -- Disable ssl tests
Patch2: libsoup-disable-ssl-tests.patch
@ -131,6 +129,7 @@ translation-update-upstream po libsoup
-Dvapi=enabled \
-Dgtk_doc=true \
-Dntlm=disabled \
-Dsysprof=disabled \
%{nil}
%meson_build