1
0

Accepting request 1083535 from home:1Antoine1:branches:X11:wxWidgets

Enable wxWebRequest. From 3.1.5 changelog:

> New wxWebRequest and related classes provide a simple way to
> use HTTPS and HTTP/2 from wxWidgets applications using native
> libraries or libcurl.

Introduced in 3.1.5 but wasn't built until now. Apparently, no package in Factory depend on it yet.

Noticed this when trying to update package golly (not in Factory, just in Education) whose last version seems to use this feature.

Not sure if I correctly updated the soversion, please let me know if something's wrong. The new symbols are in libwx_baseu_net-suse.

OBS-URL: https://build.opensuse.org/request/show/1083535
OBS-URL: https://build.opensuse.org/package/show/X11:wxWidgets/wxWidgets-3_2?expand=0&rev=103
This commit is contained in:
Jan Engelhardt 2023-05-04 07:44:14 +00:00 committed by Git OBS Bridge
parent 1db9135a12
commit a41a4de1c4
3 changed files with 12 additions and 3 deletions

View File

@ -52,7 +52,7 @@ Index: wxWidgets-3.2.1/Makefile.in
@COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1@dll___targetsuf3 = -0.$(SO_SUFFIX) @COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1@dll___targetsuf3 = -0.$(SO_SUFFIX)
@COND_USE_SOVERSION_0@dll___targetsuf3 = .$(SO_SUFFIX) @COND_USE_SOVERSION_0@dll___targetsuf3 = .$(SO_SUFFIX)
-@COND_USE_SOVERSION_1_USE_SOVERSOLARIS_1@dll___targetsuf3 = .$(SO_SUFFIX).0 -@COND_USE_SOVERSION_1_USE_SOVERSOLARIS_1@dll___targetsuf3 = .$(SO_SUFFIX).0
+@COND_USE_SOVERSION_1_USE_SOVERSOLARIS_1@dll___targetsuf3 = .$(SO_SUFFIX).8.0.0 +@COND_USE_SOVERSION_1_USE_SOVERSOLARIS_1@dll___targetsuf3 = .$(SO_SUFFIX).8.1.0
@COND_TOOLKIT_MSW@__RCDEFDIR_p = --include-dir \ @COND_TOOLKIT_MSW@__RCDEFDIR_p = --include-dir \
@COND_TOOLKIT_MSW@ $(LIBDIRNAME)/wx/include/$(TOOLCHAIN_FULLNAME) @COND_TOOLKIT_MSW@ $(LIBDIRNAME)/wx/include/$(TOOLCHAIN_FULLNAME)
@COND_USE_GUI_1_wxUSE_LIBTIFF_builtin@__LIB_TIFF_p \ @COND_USE_GUI_1_wxUSE_LIBTIFF_builtin@__LIB_TIFF_p \

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Thu Apr 27 22:50:58 UTC 2023 - Antoine Belvire <antoine.belvire@opensuse.org>
- Enable wxWebRequest.
------------------------------------------------------------------- -------------------------------------------------------------------
Tue Apr 18 13:54:45 UTC 2023 - Antoine Belvire <antoine.belvire@opensuse.org> Tue Apr 18 13:54:45 UTC 2023 - Antoine Belvire <antoine.belvire@opensuse.org>

View File

@ -67,8 +67,8 @@ Name: wxQt-3_2
# Use default debug level, enabling exceptions # Use default debug level, enabling exceptions
# Other valid values: yes/no/max # Other valid values: yes/no/max
%define wx_debug %nil %define wx_debug %nil
%define psonum 8_0_0 %define psonum 8_1_0
%define sonum 8.0.0 %define sonum 8.1.0
Version: 3.2.2.1 Version: 3.2.2.1
Release: 0 Release: 0
%define wx_minor 3.2 %define wx_minor 3.2
@ -94,6 +94,7 @@ BuildRequires: gcc-c++
BuildRequires: gstreamer-devel BuildRequires: gstreamer-devel
BuildRequires: gstreamer-plugins-base-devel BuildRequires: gstreamer-plugins-base-devel
BuildRequires: libSM-devel BuildRequires: libSM-devel
BuildRequires: libcurl-devel
BuildRequires: libexpat-devel BuildRequires: libexpat-devel
BuildRequires: libjpeg-devel BuildRequires: libjpeg-devel
BuildRequires: libmspack-devel BuildRequires: libmspack-devel
@ -420,6 +421,7 @@ autoconf -f -i
%{wx_debug:--enable-debug=%{wx_debug}} \ %{wx_debug:--enable-debug=%{wx_debug}} \
--enable-repro-build \ --enable-repro-build \
--disable-glcanvasegl \ --disable-glcanvasegl \
--enable-webrequest \
%if "%flavor" == "GTK3-nostl" %if "%flavor" == "GTK3-nostl"
--disable-stl \ --disable-stl \
--disable-plugins --disable-plugins
@ -456,6 +458,8 @@ ln -sf $(echo %buildroot/%_libdir/wx/config/* | sed "s%%%buildroot%%%%") %buildr
%if "%{flavor}" != "doc" %if "%{flavor}" != "doc"
%make_build -C tests all %make_build -C tests all
pushd tests pushd tests
# Disable webrequest tests requiring network access
export WX_TEST_WEBREQUEST_URL=0
# Non-gui tests # Non-gui tests
./test -l || true ./test -l || true
# ExecTestCase depends on xclock, and is fragile # ExecTestCase depends on xclock, and is fragile