Compare commits

..

4 Commits

Author SHA256 Message Date
2df551cde5 Use webkit2gtk-4.1 2024-10-07 16:16:27 +02:00
Markéta Calábková
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
Christian Boltz
96fa1f9078 Add textfiletest-fix-file-exists.diff (s390 build fix) 2024-08-21 08:49:31 +02:00
8 changed files with 121 additions and 62 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

48
doxygen111.patch Normal file
View File

@ -0,0 +1,48 @@
From 2d79dfc7a2a8dd42021ff0ea3dcc8ed05f7c23ef Mon Sep 17 00:00:00 2001
From: Scott Talbert <swt@techie.net>
Date: Mon, 16 Sep 2024 22:38:13 -0400
Subject: [PATCH] Fix docs generation for datetime with doxygen 1.11.0
References: https://github.com/wxWidgets/wxWidgets/pull/24814
It seems that as of the below commit, doxygen changed its handling of
parsing backticks in comments such that it now fails to properly
generate documentation for the entire datetime.h file. Fix this by
closing the open backtick.
Also update the actual, non-documentation, header to match for
consistency, even if non-matching backticks are not a problem there.
See: https://github.com/doxygen/doxygen/commit/f18767307be20ca8d2ca81f74cc1f3446205282b
Closes #24814.
---
include/wx/datetime.h | 2 +-
interface/wx/datetime.h | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/include/wx/datetime.h b/include/wx/datetime.h
index 445c3dbb3929..55292f008408 100644
--- a/include/wx/datetime.h
+++ b/include/wx/datetime.h
@@ -149,7 +149,7 @@ class WXDLLIMPEXP_BASE wxDateTime
Local,
// zones from GMT (= Greenwich Mean Time): they're guaranteed to be
- // consequent numbers, so writing something like `GMT0 + offset' is
+ // consequent numbers, so writing something like `GMT0 + offset` is
// safe if abs(offset) <= 12
// underscore stands for minus
diff --git a/interface/wx/datetime.h b/interface/wx/datetime.h
index ea3df2323338..1a0222435565 100644
--- a/interface/wx/datetime.h
+++ b/interface/wx/datetime.h
@@ -96,7 +96,7 @@ class wxDateTime
///@{
/// zones from GMT (= Greenwich Mean Time): they're guaranteed to be
- /// consequent numbers, so writing something like `GMT0 + offset' is
+ /// consequent numbers, so writing something like `GMT0 + offset` is
/// safe if abs(offset) <= 12
// underscore stands for minus

View File

@ -1,26 +1,31 @@
From: Jan Engelhardt <jengelh@inai.de> From: Jan Engelhardt <jengelh@inai.de>
Date: 2014-11-07 10:41:58.650412802 +0100 Date: 2014-11-07 10:41:58.650412802 +0100
Because it is so easy to change the ABI with just one configure option, https://github.com/wxWidgets/wxWidgets/releases/tag/v3.2.6 claims
explicitly mark our build with a vendor tag. it's ABI compatible with 3.2.5, but then you see virtual function
(We do the same in windows:mingw: where this issue is even more pressing.) changes...
In addition, because wxWidgets changes the ABI midway (for example, - virtual void SetupMouseEvent(wxMouseEvent &wxevent, NSEvent * nsEvent);
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. + using MouseEvents = std::vector<wxMouseEvent>;
+ virtual MouseEvents TranslateMouseEvent(NSEvent * nsEvent);
One needs to look at the diff between versions. If in doubt, just So their promise means nothing.
always bump, specifically(!) the SO major.
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 +++-- Makefile.in | 5 +++--
build/aclocal/bakefile.m4 | 3 +-- build/aclocal/bakefile.m4 | 3 +--
2 files changed, 4 insertions(+), 4 deletions(-) 2 files changed, 4 insertions(+), 4 deletions(-)
Index: wxWidgets-3.2.5/Makefile.in Index: wxWidgets-3.2.6/Makefile.in
=================================================================== ===================================================================
--- wxWidgets-3.2.5.orig/Makefile.in --- wxWidgets-3.2.6.orig/Makefile.in
+++ wxWidgets-3.2.5/Makefile.in +++ wxWidgets-3.2.6/Makefile.in
@@ -2225,6 +2225,7 @@ LOCALE_LINGUAS = ca cs da de el es fi fr @@ -2225,6 +2225,7 @@ LOCALE_LINGUAS = ca cs da de el es fi fr
@COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1@WXCOMPILER = _gcc @COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1@WXCOMPILER = _gcc
@COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1@WXCOMPILER \ @COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1@WXCOMPILER \
@ -39,18 +44,18 @@ Index: wxWidgets-3.2.5/Makefile.in
COND_wxUSE_REGEX_builtin___wxregex___depname = \ COND_wxUSE_REGEX_builtin___wxregex___depname = \
$(LIBDIRNAME)/$(LIBPREFIX)wxregex$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)-$(WX_RELEASE)$(HOST_SUFFIX)$(LIBEXT) $(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 @@ -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) @COND_PLATFORM_MACOSX_1_USE_SOVERSION_1@ = .0.3.0.$(SO_SUFFIX)
@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).11.0.0 +@COND_USE_SOVERSION_1_USE_SOVERSOLARIS_1@dll___targetsuf3 = .$(SO_SUFFIX).12.0.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 \
Index: wxWidgets-3.2.5/build/aclocal/bakefile.m4 Index: wxWidgets-3.2.6/build/aclocal/bakefile.m4
=================================================================== ===================================================================
--- wxWidgets-3.2.5.orig/build/aclocal/bakefile.m4 --- wxWidgets-3.2.6.orig/build/aclocal/bakefile.m4
+++ wxWidgets-3.2.5/build/aclocal/bakefile.m4 +++ wxWidgets-3.2.6/build/aclocal/bakefile.m4
@@ -408,8 +408,7 @@ AC_DEFUN([AC_BAKEFILE_SHARED_VERSIONS], @@ -408,8 +408,7 @@ AC_DEFUN([AC_BAKEFILE_SHARED_VERSIONS],
SONAME_FLAG="-Wl,-soname," SONAME_FLAG="-Wl,-soname,"
fi fi

View File

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

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

Binary file not shown.

View File

@ -1,3 +1,31 @@
-------------------------------------------------------------------
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> Tue Aug 20 19:05:50 UTC 2024 - Christian Boltz <suse-beta@cboltz.de>

View File

@ -65,10 +65,10 @@ wxString and instead rely on the wxChar pointer API.
# At most one Name: line to not confuse quilt(1) # At most one Name: line to not confuse quilt(1)
%define base_name wxWidgets-3_2 %define base_name wxWidgets-3_2
%define wx_minor 3.2 %define wx_minor 3.2
%define psonum 11_0_0 %define psonum 12_0_0
%define sonum 11.0.0 %define sonum 12.0.0
Name: %this_spec Name: %this_spec
Version: 3.2.5 Version: 3.2.6
Release: 0 Release: 0
Summary: C++ Library for Cross-Platform Development Summary: C++ Library for Cross-Platform Development
License: LGPL-2.1-or-later WITH WxWindows-exception-3.1 License: LGPL-2.1-or-later WITH WxWindows-exception-3.1
@ -83,6 +83,7 @@ Source6: wxpython-mkdiff.sh
Patch0: soversion.diff Patch0: soversion.diff
Patch1: autoconf-2_72.diff Patch1: autoconf-2_72.diff
Patch2: textfiletest-fix-file-exists.diff Patch2: textfiletest-fix-file-exists.diff
Patch3: doxygen111.patch
%if "%{flavor}" == "doc" %if "%{flavor}" == "doc"
BuildRequires: doxygen BuildRequires: doxygen
BuildRequires: fdupes BuildRequires: fdupes
@ -108,7 +109,7 @@ BuildRequires: pkgconfig(gtk+-2.0)
%if "%toolkit" == "gtk3" %if "%toolkit" == "gtk3"
BuildRequires: pkgconfig(gtk+-3.0) BuildRequires: pkgconfig(gtk+-3.0)
%if %{with webview} %if %{with webview}
BuildRequires: pkgconfig(webkit2gtk-4.0) BuildRequires: pkgconfig(webkit2gtk-4.1)
%endif %endif
%endif %endif
%if "%toolkit" == "qt" %if "%toolkit" == "qt"
@ -467,38 +468,22 @@ export WX_TEST_WEBREQUEST_URL=0
# ./test_gui -l || true # ./test_gui -l || true
%endif %endif
%post -n libwx_baseu-%variant%psonum -p /sbin/ldconfig %ldconfig_scriptlets -n libwx_baseu-%variant%psonum
%postun -n libwx_baseu-%variant%psonum -p /sbin/ldconfig %ldconfig_scriptlets -n libwx_baseu_net-%variant%psonum
%post -n libwx_baseu_net-%variant%psonum -p /sbin/ldconfig %ldconfig_scriptlets -n libwx_baseu_xml-%variant%psonum
%postun -n libwx_baseu_net-%variant%psonum -p /sbin/ldconfig %ldconfig_scriptlets -n libwx_%{toolkit}u_adv-%variant%psonum
%post -n libwx_baseu_xml-%variant%psonum -p /sbin/ldconfig %ldconfig_scriptlets -n libwx_%{toolkit}u_aui-%variant%psonum
%postun -n libwx_baseu_xml-%variant%psonum -p /sbin/ldconfig %ldconfig_scriptlets -n libwx_%{toolkit}u_core-%variant%psonum
%post -n libwx_%{toolkit}u_adv-%variant%psonum -p /sbin/ldconfig %ldconfig_scriptlets -n libwx_%{toolkit}u_gl-%variant%psonum
%postun -n libwx_%{toolkit}u_adv-%variant%psonum -p /sbin/ldconfig %ldconfig_scriptlets -n libwx_%{toolkit}u_html-%variant%psonum
%post -n libwx_%{toolkit}u_aui-%variant%psonum -p /sbin/ldconfig %ldconfig_scriptlets -n libwx_%{toolkit}u_media-%variant%psonum
%postun -n libwx_%{toolkit}u_aui-%variant%psonum -p /sbin/ldconfig %ldconfig_scriptlets -n libwx_%{toolkit}u_propgrid-%variant%psonum
%post -n libwx_%{toolkit}u_core-%variant%psonum -p /sbin/ldconfig %ldconfig_scriptlets -n libwx_%{toolkit}u_qa-%variant%psonum
%postun -n libwx_%{toolkit}u_core-%variant%psonum -p /sbin/ldconfig %ldconfig_scriptlets -n libwx_%{toolkit}u_ribbon-%variant%psonum
%post -n libwx_%{toolkit}u_gl-%variant%psonum -p /sbin/ldconfig %ldconfig_scriptlets -n libwx_%{toolkit}u_richtext-%variant%psonum
%postun -n libwx_%{toolkit}u_gl-%variant%psonum -p /sbin/ldconfig %ldconfig_scriptlets -n libwx_%{toolkit}u_stc-%variant%psonum
%post -n libwx_%{toolkit}u_html-%variant%psonum -p /sbin/ldconfig %ldconfig_scriptlets -n libwx_%{toolkit}u_webview-%variant%psonum
%postun -n libwx_%{toolkit}u_html-%variant%psonum -p /sbin/ldconfig %ldconfig_scriptlets -n libwx_%{toolkit}u_xrc-%variant%psonum
%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
%if "%{flavor}" == "doc" %if "%{flavor}" == "doc"
%files xml %files xml