16 Commits

Author SHA256 Message Date
d336ff7a50 Update CVE-2024-58249 bugID. 2025-06-10 20:26:37 +08:00
eac178af84 Really remove doxygen111.patch
It was already removed from the spec file, and the removal
was mentioned in the changelog but the file was left behind
which causes factory-auto to complain in SLFO
(https://build.suse.de/request/show/378788)
2025-06-01 21:14:53 +02:00
af5365366b Synchronize Leap and TW experience 2025-05-30 02:02:11 +02:00
08e3098154 Add missing %endif 2025-05-30 01:04:53 +02:00
accc639084 Do not build the Qt flavor in SLE16
Qt5 will not be available in SLE16 so we have to disable the Qt flavor
(which can be built in Leap). Also, wxWidgets 3.3 (currently in rc1)
will have Qt6 support, so we can enable it back when 3.3 is released.
2025-05-29 19:13:08 +02:00
b80324c47b wxWidgets 3.2.8 2025-05-03 01:04:55 +02:00
0c4e48f77e Add security bugID to the 3.2.7 update to record fix history. 2025-04-16 18:35:08 +08:00
842b67f926 wxWidgets 3.2.7 2025-03-20 14:50:35 +01:00
5af5487f2a Build with --enable-secretstore 2025-03-10 01:05:22 +01:00
fd86d0bbda Bump SO version since the base for wxGLCanvas had changed. 2025-03-08 00:23:23 +01:00
4f73079cf2 Enable EGL-based wxGLCanvas 2025-03-01 10:42:46 +01:00
79cfb31c27 Run spec-beautifier 2025-03-01 10:11:18 +01:00
2df551cde5 Use webkit2gtk-4.1 2024-10-07 16:16:27 +02:00
241650b413 add patch doxygen111.patch 2024-10-01 13:55:03 +02:00
071d574776 wxWidgets 3.2.6 2024-09-09 18:47:10 +02:00
96fa1f9078 Add textfiletest-fix-file-exists.diff (s390 build fix) 2024-08-21 08:49:31 +02:00
7 changed files with 142 additions and 78 deletions

View File

@ -1,4 +0,0 @@
mtime: 1724222971
commit: 96fa1f90786bdfcd1066e09e103da11d7b6e96d1ed56f0d708e3690fd5c7b733
url: https://src.opensuse.org/jengelh/wxWidgets-3_2
revision: master

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:48d51243ad79928cd8ddbb40834759ce5acb6a5238dd6e89546f9f8609e8c3d3
size 256

View File

@ -1,27 +1,32 @@
From: Jan Engelhardt <jengelh@inai.de>
Date: 2014-11-07 10:41:58.650412802 +0100
Because it is so easy to change the ABI with just one configure option,
explicitly mark our build with a vendor tag.
(We do the same in windows:mingw: where this issue is even more pressing.)
https://github.com/wxWidgets/wxWidgets/releases/tag/v3.2.6 claims
it's ABI compatible with 3.2.5, but then you see virtual function
changes...
In addition, because wxWidgets changes the ABI midway (for example,
did so between 3.0.1 and 3.0.2) without changing the SONAME, we have
to do it. As we have a vendor suffix, no filename conflicts can occur.
- virtual void SetupMouseEvent(wxMouseEvent &wxevent, NSEvent * nsEvent);
+
+ using MouseEvents = std::vector<wxMouseEvent>;
+ virtual MouseEvents TranslateMouseEvent(NSEvent * nsEvent);
One needs to look at the diff between versions. If in doubt, just
always bump, specifically(!) the SO major.
So their promise means nothing.
It is also possible for distributions to accidentally cause ABI
changes with the flick of a configure option (e.g. enable-stl), since
that can change the set of class bases, members or member function
signatures.
---
Makefile.in | 5 +++--
build/aclocal/bakefile.m4 | 3 +--
2 files changed, 4 insertions(+), 4 deletions(-)
Index: wxWidgets-3.2.5/Makefile.in
Index: wxWidgets-3.2.8/Makefile.in
===================================================================
--- wxWidgets-3.2.5.orig/Makefile.in
+++ wxWidgets-3.2.5/Makefile.in
@@ -2225,6 +2225,7 @@ LOCALE_LINGUAS = ca cs da de el es fi fr
--- wxWidgets-3.2.8.orig/Makefile.in
+++ wxWidgets-3.2.8/Makefile.in
@@ -2226,6 +2226,7 @@ LOCALE_LINGUAS = af an ar ca ca@valencia
@COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1@WXCOMPILER = _gcc
@COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1@WXCOMPILER \
@COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1@ = _gcc$(COMPILER_VERSION)
@ -29,7 +34,7 @@ Index: wxWidgets-3.2.5/Makefile.in
@COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1@VENDORTAG = _$(VENDOR)
@COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1@VENDORTAG =
@COND_BUILD_debug@WXDEBUGFLAG = d
@@ -2236,7 +2237,7 @@ LOCALE_LINGUAS = ca cs da de el es fi fr
@@ -2237,7 +2238,7 @@ LOCALE_LINGUAS = af an ar ca ca@valencia
@COND_PLATFORM_WIN32_0@WXDLLNAMEPREFIXGUI = wx_$(PORTNAME)$(WXUNIVNAME)
@COND_PLATFORM_WIN32_1@WXDLLNAMEPREFIXGUI = \
@COND_PLATFORM_WIN32_1@ wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)
@ -38,19 +43,19 @@ Index: wxWidgets-3.2.5/Makefile.in
@COND_PLATFORM_WIN32_1@WXDLLVERSIONTAG =
COND_wxUSE_REGEX_builtin___wxregex___depname = \
$(LIBDIRNAME)/$(LIBPREFIX)wxregex$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)-$(WX_RELEASE)$(HOST_SUFFIX)$(LIBEXT)
@@ -13982,7 +13983,7 @@ COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE
@COND_PLATFORM_MACOSX_1_USE_SOVERSION_1@ = .0.2.3.$(SO_SUFFIX)
@@ -13984,7 +13985,7 @@ COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE
@COND_PLATFORM_MACOSX_1_USE_SOVERSION_1@ = .0.4.1.$(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_1_USE_SOVERSOLARIS_1@dll___targetsuf3 = .$(SO_SUFFIX).0
+@COND_USE_SOVERSION_1_USE_SOVERSOLARIS_1@dll___targetsuf3 = .$(SO_SUFFIX).11.0.0
+@COND_USE_SOVERSION_1_USE_SOVERSOLARIS_1@dll___targetsuf3 = .$(SO_SUFFIX).16.0.0
@COND_TOOLKIT_MSW@__RCDEFDIR_p = --include-dir \
@COND_TOOLKIT_MSW@ $(LIBDIRNAME)/wx/include/$(TOOLCHAIN_FULLNAME)
@COND_USE_GUI_1_wxUSE_LIBTIFF_builtin@__LIB_TIFF_p \
Index: wxWidgets-3.2.5/build/aclocal/bakefile.m4
Index: wxWidgets-3.2.8/build/aclocal/bakefile.m4
===================================================================
--- wxWidgets-3.2.5.orig/build/aclocal/bakefile.m4
+++ wxWidgets-3.2.5/build/aclocal/bakefile.m4
--- wxWidgets-3.2.8.orig/build/aclocal/bakefile.m4
+++ wxWidgets-3.2.8/build/aclocal/bakefile.m4
@@ -408,8 +408,7 @@ AC_DEFUN([AC_BAKEFILE_SHARED_VERSIONS],
SONAME_FLAG="-Wl,-soname,"
fi

View File

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

BIN
wxWidgets-3.2.8.tar.bz2 (Stored with Git LFS) Normal file

Binary file not shown.

View File

@ -1,3 +1,80 @@
-------------------------------------------------------------------
Thu May 29 17:11:39 UTC 2025 - Antonio Larrosa <alarrosa@suse.com>
- Do not build the Qt flavor in SLE16 where Qt5 will not be
available.
-------------------------------------------------------------------
Mon Apr 28 09:39:40 UTC 2025 - Jan Engelhardt <jengelh@inai.de>
- Update to release 3.2.8
* Fix crash in wxPropertyGrid with wxGTK3 after recent change.
* Fix key codes in WXK_NUMPADx events in wxGTK.
* Add wxVector(std::initializer_list<U> list) constructor.
* Add mouse scrolling support to generic wxSpinCtrl.
* Compute wxStaticText best size ourselves if GTK does it wrongly.
-------------------------------------------------------------------
Thu Mar 20 12:11:36 UTC 2025 - Jan Engelhardt <jengelh@inai.de>
- Update to release 3.2.7
* Fix crash in wxWebRequestCURL when connection was refused
* Fix buffer read overflow when compiling RE ending with
backslash
* Fix crash in wxWebRequest::Close() with recent libcurl
* Improve wxPropGrid checkboxes in high DPI
* Many fixes to key event generation (#25053, #25199, #25200)
* Fix copy-pasting text under more Wayland compositors (Weston,
kwin)
* Don't consume Ctrl-C when using SDL-based wxSound
* Avoid repaint problems when using wxWindow::Update() with
Wayland
* Fix crash when connection is refused in wxWebRequestCURL
(gh#wxWidgets/wxWidgets#24885, CVE-2024-58249, bsc#1239902)
- Delete doxygen111.patch (merged)
-------------------------------------------------------------------
Sun Mar 9 22:04:26 UTC 2025 - Jan Engelhardt <jengelh@inai.de>
- Build with --enable-secretstore [boo#1239137].
-------------------------------------------------------------------
Sat Mar 1 09:12:56 UTC 2025 - Jan Engelhardt <jengelh@inai.de>
- Build with --enable-glcanvasegl [boo#1235150]. This turns off GLX
and enables EGL instead. Sibling toolkits need to do this at the
same time for this to work, e.g. hugin needs both wx and GLEW to
be built for EGL.
- Bump SO version since the base for wxGLCanvas changed. [boo#1239101]
-------------------------------------------------------------------
Mon Oct 7 14:14:45 UTC 2024 - Jan Engelhardt <jengelh@inai.de>
- Use webkit2gtk-4.1 pkgconfig file instead of 4.0
-------------------------------------------------------------------
Tue Oct 1 09:33:13 UTC 2024 - Markéta Machová <mmachova@suse.com>
- Add upstream doxygen111.patch to fix the docs with new doxygen
-------------------------------------------------------------------
Mon Sep 9 16:24:15 UTC 2024 - Jan Engelhardt <jengelh@inai.de>
- Update to release 3.2.6
* Add wxTranslations::AddAvailableCatalog() overload with msgid
language
* Dark mode appearance fixes for wxActivityIndicator,
wxHyperlinkCtrl, etc.
* Improve wxWizard appearance in high DPI
* Fix wxPropertyGrid row height in high DPI
* Fix possible crash during drag-and-drop
* Fix wxListBox minimum size regression introduced in 3.2.5
* Fix wxBitmapComboBox bitmaps scaling in high DPI
* Allow positioning wxDialog at specified position, at least
under X11
* Fix incorrect handling of ligatures in wxStyledTextCtrl
* Fix using wrong keyboard layout in key events
-------------------------------------------------------------------
Tue Aug 20 19:05:50 UTC 2024 - Christian Boltz <suse-beta@cboltz.de>

View File

@ -1,7 +1,7 @@
#
# spec file for package wxWidgets-3_2
#
# Copyright (c) 2024 SUSE LLC
# Copyright (c) 2025 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -27,10 +27,10 @@
%bcond_with webview
%endif
%if "%{flavor}" == "doc"
%if "%flavor" == "doc"
%define this_spec wxWidgets-3_2-doc
%define variant %{nil}
%define toolkit %{nil}
%define variant %nil
%define toolkit %nil
%endif
%if "%flavor" == "GTK3"
@ -65,10 +65,10 @@ wxString and instead rely on the wxChar pointer API.
# At most one Name: line to not confuse quilt(1)
%define base_name wxWidgets-3_2
%define wx_minor 3.2
%define psonum 11_0_0
%define sonum 11.0.0
%define psonum 16_0_0
%define sonum 16.0.0
Name: %this_spec
Version: 3.2.5
Version: 3.2.8
Release: 0
Summary: C++ Library for Cross-Platform Development
License: LGPL-2.1-or-later WITH WxWindows-exception-3.1
@ -83,7 +83,7 @@ Source6: wxpython-mkdiff.sh
Patch0: soversion.diff
Patch1: autoconf-2_72.diff
Patch2: textfiletest-fix-file-exists.diff
%if "%{flavor}" == "doc"
%if "%flavor" == "doc"
BuildRequires: doxygen
BuildRequires: fdupes
BuildRequires: graphviz
@ -101,6 +101,7 @@ BuildRequires: pkgconfig(gstreamer-plugins-base-1.0)
BuildRequires: pkgconfig(libcurl)
BuildRequires: pkgconfig(libmspack)
BuildRequires: pkgconfig(libnotify)
BuildRequires: pkgconfig(libsecret-1)
BuildRequires: pkgconfig(sm)
%if "%toolkit" == "gtk2"
BuildRequires: pkgconfig(gtk+-2.0)
@ -108,7 +109,7 @@ BuildRequires: pkgconfig(gtk+-2.0)
%if "%toolkit" == "gtk3"
BuildRequires: pkgconfig(gtk+-3.0)
%if %{with webview}
BuildRequires: pkgconfig(webkit2gtk-4.0)
BuildRequires: pkgconfig(webkit2gtk-4.1)
%endif
%endif
%if "%toolkit" == "qt"
@ -118,6 +119,9 @@ BuildRequires: pkgconfig(Qt5OpenGL) >= 5.2.1
BuildRequires: pkgconfig(Qt5Test) >= 5.2.1
BuildRequires: pkgconfig(Qt5Widgets) >= 5.2.1
BuildRequires: pkgconfig(cairo)
%if 0%{?suse_version} >= 1600
ExclusiveArch: donotbuild
%endif
%endif
BuildRequires: pkgconfig(glu)
BuildRequires: pkgconfig(liblzma)
@ -389,7 +393,7 @@ This package contains the API documentation in HTML format.
cp %{S:2} .
%build
%if "%{flavor}" == "doc"
%if "%flavor" == "doc"
pushd docs/doxygen
echo "DOT_IMAGE_FORMAT = svg" >> Doxyfile
WX_SKIP_DOXYGEN_VERSION_CHECK=1 ./regen.sh xml
@ -417,10 +421,11 @@ autoconf -f -i
--enable-ipv6 \
--enable-mediactrl \
--enable-optimise \
%{wx_debug:--enable-debug=%{wx_debug}} \
--enable-repro-build \
--disable-glcanvasegl \
--enable-webrequest \
%{wx_debug:--enable-debug=%wx_debug} \
--enable-repro-build \
--enable-glcanvasegl \
--enable-webrequest \
--enable-secretstore \
%if "%flavor" == "GTK3-nostl"
--disable-stl \
--disable-plugins
@ -433,7 +438,7 @@ autoconf -f -i
%endif
%install
%if "%{flavor}" == "doc"
%if "%flavor" == "doc"
find docs/doxygen/out/xml/ -iname \*.png -print -delete
find docs/doxygen/out/html/ -iname \*.dot -print -delete
%fdupes -s docs/doxygen/out/html/
@ -454,7 +459,7 @@ ln -sf $(echo %buildroot/%_libdir/wx/config/* | sed "s%%%buildroot%%%%") %buildr
%endif
%check
%if "%{flavor}" != "doc"
%if "%flavor" != "doc"
%make_build -C tests all
pushd tests
# Disable webrequest tests requiring network access
@ -467,40 +472,24 @@ export WX_TEST_WEBREQUEST_URL=0
# ./test_gui -l || true
%endif
%post -n libwx_baseu-%variant%psonum -p /sbin/ldconfig
%postun -n libwx_baseu-%variant%psonum -p /sbin/ldconfig
%post -n libwx_baseu_net-%variant%psonum -p /sbin/ldconfig
%postun -n libwx_baseu_net-%variant%psonum -p /sbin/ldconfig
%post -n libwx_baseu_xml-%variant%psonum -p /sbin/ldconfig
%postun -n libwx_baseu_xml-%variant%psonum -p /sbin/ldconfig
%post -n libwx_%{toolkit}u_adv-%variant%psonum -p /sbin/ldconfig
%postun -n libwx_%{toolkit}u_adv-%variant%psonum -p /sbin/ldconfig
%post -n libwx_%{toolkit}u_aui-%variant%psonum -p /sbin/ldconfig
%postun -n libwx_%{toolkit}u_aui-%variant%psonum -p /sbin/ldconfig
%post -n libwx_%{toolkit}u_core-%variant%psonum -p /sbin/ldconfig
%postun -n libwx_%{toolkit}u_core-%variant%psonum -p /sbin/ldconfig
%post -n libwx_%{toolkit}u_gl-%variant%psonum -p /sbin/ldconfig
%postun -n libwx_%{toolkit}u_gl-%variant%psonum -p /sbin/ldconfig
%post -n libwx_%{toolkit}u_html-%variant%psonum -p /sbin/ldconfig
%postun -n libwx_%{toolkit}u_html-%variant%psonum -p /sbin/ldconfig
%post -n libwx_%{toolkit}u_media-%variant%psonum -p /sbin/ldconfig
%postun -n libwx_%{toolkit}u_media-%variant%psonum -p /sbin/ldconfig
%post -n libwx_%{toolkit}u_propgrid-%variant%psonum -p /sbin/ldconfig
%postun -n libwx_%{toolkit}u_propgrid-%variant%psonum -p /sbin/ldconfig
%post -n libwx_%{toolkit}u_qa-%variant%psonum -p /sbin/ldconfig
%postun -n libwx_%{toolkit}u_qa-%variant%psonum -p /sbin/ldconfig
%post -n libwx_%{toolkit}u_ribbon-%variant%psonum -p /sbin/ldconfig
%postun -n libwx_%{toolkit}u_ribbon-%variant%psonum -p /sbin/ldconfig
%post -n libwx_%{toolkit}u_richtext-%variant%psonum -p /sbin/ldconfig
%postun -n libwx_%{toolkit}u_richtext-%variant%psonum -p /sbin/ldconfig
%post -n libwx_%{toolkit}u_stc-%variant%psonum -p /sbin/ldconfig
%postun -n libwx_%{toolkit}u_stc-%variant%psonum -p /sbin/ldconfig
%post -n libwx_%{toolkit}u_webview-%variant%psonum -p /sbin/ldconfig
%postun -n libwx_%{toolkit}u_webview-%variant%psonum -p /sbin/ldconfig
%post -n libwx_%{toolkit}u_xrc-%variant%psonum -p /sbin/ldconfig
%postun -n libwx_%{toolkit}u_xrc-%variant%psonum -p /sbin/ldconfig
%ldconfig_scriptlets -n libwx_baseu-%variant%psonum
%ldconfig_scriptlets -n libwx_baseu_net-%variant%psonum
%ldconfig_scriptlets -n libwx_baseu_xml-%variant%psonum
%ldconfig_scriptlets -n libwx_%{toolkit}u_adv-%variant%psonum
%ldconfig_scriptlets -n libwx_%{toolkit}u_aui-%variant%psonum
%ldconfig_scriptlets -n libwx_%{toolkit}u_core-%variant%psonum
%ldconfig_scriptlets -n libwx_%{toolkit}u_gl-%variant%psonum
%ldconfig_scriptlets -n libwx_%{toolkit}u_html-%variant%psonum
%ldconfig_scriptlets -n libwx_%{toolkit}u_media-%variant%psonum
%ldconfig_scriptlets -n libwx_%{toolkit}u_propgrid-%variant%psonum
%ldconfig_scriptlets -n libwx_%{toolkit}u_qa-%variant%psonum
%ldconfig_scriptlets -n libwx_%{toolkit}u_ribbon-%variant%psonum
%ldconfig_scriptlets -n libwx_%{toolkit}u_richtext-%variant%psonum
%ldconfig_scriptlets -n libwx_%{toolkit}u_stc-%variant%psonum
%ldconfig_scriptlets -n libwx_%{toolkit}u_webview-%variant%psonum
%ldconfig_scriptlets -n libwx_%{toolkit}u_xrc-%variant%psonum
%if "%{flavor}" == "doc"
%if "%flavor" == "doc"
%files xml
%doc docs/doxygen/out/xml/*.{xml,xslt}