commit c5b95370f11d9a5066faa235179316e9356d55127b5b7fa841c6f1e80ae72f79 Author: Jan Engelhardt Date: Wed Aug 21 06:49:29 2024 +0000 - Add textfiletest-fix-file-exists.diff to fix a wrong skip condition in the test (fixes the build on s390x) OBS-URL: https://build.opensuse.org/package/show/X11:wxWidgets/wxWidgets-3_2?expand=0&rev=127 diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..9b03811 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,23 @@ +## Default LFS +*.7z filter=lfs diff=lfs merge=lfs -text +*.bsp filter=lfs diff=lfs merge=lfs -text +*.bz2 filter=lfs diff=lfs merge=lfs -text +*.gem filter=lfs diff=lfs merge=lfs -text +*.gz filter=lfs diff=lfs merge=lfs -text +*.jar filter=lfs diff=lfs merge=lfs -text +*.lz filter=lfs diff=lfs merge=lfs -text +*.lzma filter=lfs diff=lfs merge=lfs -text +*.obscpio filter=lfs diff=lfs merge=lfs -text +*.oxt filter=lfs diff=lfs merge=lfs -text +*.pdf filter=lfs diff=lfs merge=lfs -text +*.png filter=lfs diff=lfs merge=lfs -text +*.rpm filter=lfs diff=lfs merge=lfs -text +*.tbz filter=lfs diff=lfs merge=lfs -text +*.tbz2 filter=lfs diff=lfs merge=lfs -text +*.tgz filter=lfs diff=lfs merge=lfs -text +*.ttf filter=lfs diff=lfs merge=lfs -text +*.txz filter=lfs diff=lfs merge=lfs -text +*.whl filter=lfs diff=lfs merge=lfs -text +*.xz filter=lfs diff=lfs merge=lfs -text +*.zip filter=lfs diff=lfs merge=lfs -text +*.zst filter=lfs diff=lfs merge=lfs -text diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..57affb6 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.osc diff --git a/README.SUSE b/README.SUSE new file mode 100644 index 0000000..9f5ea28 --- /dev/null +++ b/README.SUSE @@ -0,0 +1,17 @@ +wxWidgets in SUSE +================= + +There are many possible wxWidgets configurations that can be built +from a single source spec file. Depending on what options have been +chosing, the ABI changes in incompatible fashion, yet the library +filenames do not. + +To counter running a program with an incompatible variant of +wxWidgets, we chose to make use of the vendor tagging mechanism. +Programs built against the SUSE wxWidgets explicitly require the +library by our name and therefore cannot inadvertently be run with an +incompatible wxWidgets from another distribution. + +To run a foreign program, you will need to use the LD_LIBRARY_PATH +mechanism to point it to a directory which contains the matching +third-party wxWidgets variant. diff --git a/_constraints b/_constraints new file mode 100644 index 0000000..4496146 --- /dev/null +++ b/_constraints @@ -0,0 +1,7 @@ + + + + 5 + + + diff --git a/_multibuild b/_multibuild new file mode 100644 index 0000000..6f050c6 --- /dev/null +++ b/_multibuild @@ -0,0 +1,6 @@ + + GTK3 + GTK3-nostl + Qt + doc + diff --git a/autoconf-2_72.diff b/autoconf-2_72.diff new file mode 100644 index 0000000..1d3e745 --- /dev/null +++ b/autoconf-2_72.diff @@ -0,0 +1,21 @@ +From: Jan Engelhardt +Date: 2023-12-26 15:16:01.213214373 +0100 + +wxWidgets stupidly uses $EGREP near the end of configure.in without ever setting it. + +--- + configure.in | 1 + + 1 file changed, 1 insertion(+) + +Index: wxWidgets-3.2.4/configure.in +=================================================================== +--- wxWidgets-3.2.4.orig/configure.in ++++ wxWidgets-3.2.4/configure.in +@@ -8712,6 +8712,7 @@ dnl MAKE_SET will be replaced with "MAKE + dnl itself (this macro is required if SUBDIRS variable is used in Makefile.am + dnl - and we do use it) + AC_PROG_MAKE_SET ++AC_PROG_EGREP + + + AC_CONFIG_HEADERS([lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in]) diff --git a/soversion.diff b/soversion.diff new file mode 100644 index 0000000..433107c --- /dev/null +++ b/soversion.diff @@ -0,0 +1,63 @@ +From: Jan Engelhardt +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.) + +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. + +One needs to look at the diff between versions. If in doubt, just +always bump, specifically(!) the SO major. + +--- + Makefile.in | 5 +++-- + build/aclocal/bakefile.m4 | 3 +-- + 2 files changed, 4 insertions(+), 4 deletions(-) + +Index: wxWidgets-3.2.5/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 + @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) ++VENDORTAG = -$(VENDOR) + @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 + @COND_PLATFORM_WIN32_0@WXDLLNAMEPREFIXGUI = wx_$(PORTNAME)$(WXUNIVNAME) + @COND_PLATFORM_WIN32_1@WXDLLNAMEPREFIXGUI = \ + @COND_PLATFORM_WIN32_1@ wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT) +-@COND_PLATFORM_WIN32_0@WXDLLVERSIONTAG = -$(WX_RELEASE) ++@COND_PLATFORM_WIN32_0@WXDLLVERSIONTAG = + @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) + @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_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 +=================================================================== +--- wxWidgets-3.2.5.orig/build/aclocal/bakefile.m4 ++++ wxWidgets-3.2.5/build/aclocal/bakefile.m4 +@@ -408,8 +408,7 @@ AC_DEFUN([AC_BAKEFILE_SHARED_VERSIONS], + SONAME_FLAG="-Wl,-soname," + fi + USE_SOVERSION=1 +- USE_SOVERLINUX=1 +- USE_SOTWOSYMLINKS=1 ++ USE_SOVERSOLARIS=1 + ;; + + *-*-solaris2* ) diff --git a/textfiletest-fix-file-exists.diff b/textfiletest-fix-file-exists.diff new file mode 100644 index 0000000..ec43389 --- /dev/null +++ b/textfiletest-fix-file-exists.diff @@ -0,0 +1,29 @@ +https://github.com/wxWidgets/wxWidgets/pull/24768 + + +From 2d943fd8f34816b3ad16b532132992a2523179e2 Mon Sep 17 00:00:00 2001 +From: Christian Boltz +Date: Tue, 20 Aug 2024 23:28:27 +0200 +Subject: [PATCH] textfiletest: fix skip condition + +... so that condition and skip message match. + +As a side effect, it also prevents a test failure if /sys/power/state +doesn't exist. +--- + tests/textfile/textfiletest.cpp | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/tests/textfile/textfiletest.cpp b/tests/textfile/textfiletest.cpp +index 646d6818c90c..1a1347e85475 100644 +--- a/tests/textfile/textfiletest.cpp ++++ b/tests/textfile/textfiletest.cpp +@@ -342,7 +342,7 @@ TEST_CASE("wxTextFile::Special", "[textfile][linux][special-file]") + + SECTION("/sys") + { +- if ( wxFile::Exists("/sys/power/state") ) ++ if ( !wxFile::Exists("/sys/power/state") ) + { + WARN("/sys/power/state doesn't exist, skipping test"); + return; diff --git a/wxWidgets-3.2.5.tar.bz2 b/wxWidgets-3.2.5.tar.bz2 new file mode 100644 index 0000000..65005bf --- /dev/null +++ b/wxWidgets-3.2.5.tar.bz2 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:0ad86a3ad3e2e519b6a705248fc9226e3a09bbf069c6c692a02acf7c2d1c6b51 +size 27539152 diff --git a/wxWidgets-3_2-rpmlintrc b/wxWidgets-3_2-rpmlintrc new file mode 100644 index 0000000..4ed5e47 --- /dev/null +++ b/wxWidgets-3_2-rpmlintrc @@ -0,0 +1,4 @@ +# Project name just starts with lowercase. +addFilter("summary-not-capitalized") +# rpmlint does not detect dates matching SOURCE_DATE_EPOCH +addFilter("wxWidgets-3_2-doc-html.noarch:.*file-contains-date-and-time /usr/share/doc/packages/wxWidgets-3_2-doc-html/.*.html") diff --git a/wxWidgets-3_2.changes b/wxWidgets-3_2.changes new file mode 100644 index 0000000..dc5f150 --- /dev/null +++ b/wxWidgets-3_2.changes @@ -0,0 +1,1433 @@ +------------------------------------------------------------------- +Tue Aug 20 19:05:50 UTC 2024 - Christian Boltz + +- Add textfiletest-fix-file-exists.diff to fix a wrong skip + condition in the test (fixes the build on s390x) + +------------------------------------------------------------------- +Thu May 16 13:40:01 UTC 2024 - Jan Engelhardt + +- Update to release 3.2.5 + * Add support for "%F" format specifier to wxDateTime + * Support dates > 2038 if time_t is 64-bit + * Restore possible ABI incompatibility with wx < 3.2.3 in wxString + * Fix division-by-zero in wxRichTextCtrl + * Fix crash in wxImage::InitAlpha() if image is invalid + * Fix copying/pasting text under Wayland + * Fix crash with GTK3 if console program is using a GUI wxApp class +- Delete wxWidgets-3_2-Fix-test-suite-on-Linux-s390x-architectures.patch + (merged) + +------------------------------------------------------------------- +Sun Jan 21 09:21:37 UTC 2024 - Cliff Zhao + +- Add wxWidgets-3_2-Fix-test-suite-on-Linux-s390x-architectures.patch: + Backporting e2cc16ef from upstream, Fix test suite on Linux/s390x + and maybe other architectures. +- Drop wxWidgets-3_2-fix-building-fault-S390.patch: + Patch has been merged by upstream,and they did this modification + during accept. + (bsc#1217026) + +------------------------------------------------------------------- +Thu Dec 28 08:21:30 UTC 2023 - Cliff Zhao + +- Add wxWidgets-3_2-fix-building-fault-S390.patch: + Fix wxWidgets-3_2 building check fault on S390 platform: + /sys/power/state doesn't exist in SLE S390 platform and certain + types of containers, so check the file exist before run the + test case. + (bsc#1217026) + +------------------------------------------------------------------- +Tue Dec 26 14:28:08 UTC 2023 - Jan Engelhardt + +- Add autoconf-2_72.diff + +------------------------------------------------------------------- +Sat Nov 11 17:38:28 UTC 2023 - Jan Engelhardt + +- Update to release 3.2.4 + * Allow creating wxArrays from std::initializer_list + * Fix regression in wxTranslations::AddCatalog() return value + * Fix possible crash when dragging pages in wxAuiNotebook + * Don't crash in console apps linked with GUI libraries + * Fix possible crash and too high CPU use when using EGL + * Fix losing clipboard contents when clearing a different selection + +------------------------------------------------------------------- +Fri Nov 3 09:54:45 UTC 2023 - Jan Engelhardt + +- Update to release 3.2.3 + * Add move ctor and assignment operator to wxString + * Enable large file support in Unix CMake builds + * Make wxSocket::Peek() work with UDP too + * Fix infinite loop in wxFTP::GetFilesList() + * Add wxUILocale::GetMonthName() and GetWeekDayName() + * Add EVT_FULLSCREEN event macro + * Fix crash when deleting selected item in wxGenericListCtrl + +------------------------------------------------------------------- +Wed May 24 09:29:25 UTC 2023 - Jan Engelhardt + +- Use more pkgconfig(..) in BuildRequires +- Remove pre-SLE15 building blocks + +------------------------------------------------------------------- +Thu Apr 27 22:50:58 UTC 2023 - Antoine Belvire + +- Enable wxWebRequest. + +------------------------------------------------------------------- +Tue Apr 18 13:54:45 UTC 2023 - Antoine Belvire + +- Update to version 3.2.2.1: + * Corrects a regression in 3.2.2 which resulted in not drawing any + icons for the non-root item of wxGenericTreeCtrl in this release + (gh#wxWidgets/wxWidgets#23255). +- Changes of version 3.2.2: + * Fix regression in saving TIFF images that could end up truncated + * Fix long standing bug in parsing wxHTTP responses. + * Fix memory leak when destroying wxThread + * Allow 'T' separator in wxDateTime::ParseDateTime() + * Add Serbian translations. + * Fix MT-safety problem in wxZipInputStream + * Add wxUILocale::GetSystemLocaleId() replacing GetSystemLocale() + * Fail when setting unsupported "mixed" locale under Unix + * Improve wxWebView::RunScriptAsync() performance + * Fix data race when processing events generated in a worker thread. + * Fix wxGeneric{List,Tree}Ctrl high DPI icons + * Add macros for event tables for missing wxWebView events + * Improve month selection in wxGenericCalendarCtrl + * Fix maximum length of wxPropertyGrid editors + * Add support for Caps/Num/Scroll Lock to wxGetKeyState() + * Fix wxToolBar::GetToolBitmapSize() in high DPI under non-MSW + * Fix resizing wxGLCanvas with EGL and Wayland + * Fix display artefacts when using AUI without compositor under X11 + * Allow selecting and copying text in wxMessageDialog + * Fix initial size of top-level window on Wayland + * Improve size and behaviour of in-place editor in wxTreeCtrl + * wxQt: Fix creating wxFont using fractional point size + +------------------------------------------------------------------- +Tue Oct 4 21:15:18 UTC 2022 - Bjørn Lie + +- Update to version 3.2.1: + * Coming soon after 3.2.0, this is mostly a bug fix release, with + just one noteworthy new feature: the addition of + wxFileDialog::AddShortcut() function. + * However it fixes some important regressions and other problems: + - Fix crash in applications calling g_log_set_writer_func() + with recent glib. + - Several fixes to alpha channel handling in wxMSW bitmaps. + - Generate key and focus events for wxSearchCtrl in wxOSX. + - Fix creating wxRadioBox without any items in wxOSX. + - Fix regression with AUI floating pane positioning. + - Avoid new warnings given by gcc 12. + - Fix building with MSVS 2022 standard-conforming preprocessor. + - Work around MSVS 2022 optimizer bug that broke wxImage + resizing. + - NetBSD build fixes. +- Rebase soversion.diff with quilt. + +------------------------------------------------------------------- +Thu Jul 7 09:40:20 UTC 2022 - Paolo Stivanin + +- Update to version 3.2.0: + All: + * Build fixes for Unix systems using older Cairo or glibc versions. + * Fix wxFileName::ReplaceHomeDir() when HOME=="/". + * Fix wxLocale::IsAvailable(wxLANGUAGE_DEFAULT) regression. + * Provide CMake config file for the library. + * Add a 'revision' component to wxVersionInfo (Ronny Krüger). + All (GUI): + * Make loading bitmaps using BI_BITFIELDS work again. + * Fix wxGenericListCtrl::GetColumnCount() for wxLC_LIST (Kvaz1r). + * Fix refresh after calling wxGenericListCtrl::EnsureVisible() (taler21). + * Add wxMenuItem::GetBitmapBundle(). + * Support additional wxWizard properties in XRC (Randalphwa). + wxGTK: + * Fix wxDC::Blit() and wxBitmap::GetSubBitmap() with HiDPI bitmaps. + * Fix TAB navigation in wxSimplebook (Adrian Lopez). + * Support wxINVERT logical operation on wxDC with white source colour. + * Don't assert in wxGtkImage (used in e.g. wxToolBar) when bitmap is missing. + * Fix wxListBox selection colors with non-default background (alilie). + * Fix wxCURSOR_SIZING with Wayland. + * Recognize modern versions of GNOME in GetDesktopEnvironment() (Ulrich Telle). +- Drop 0001-Add-new-wx-filedlgcustomize.h-to-the-list-of-files.patch + +------------------------------------------------------------------- +Sun Jun 26 17:37:54 UTC 2022 - Stefan Brüns + +- Install missing header added in 3.1.7, add + 0001-Add-new-wx-filedlgcustomize.h-to-the-list-of-files.patch + +------------------------------------------------------------------- +Sat Jun 25 01:11:47 UTC 2022 - Stefan Brüns + +- Add doc generation using _multibuild +- Enable non-gui tests + +------------------------------------------------------------------- +Tue Jun 7 20:20:58 UTC 2022 - Antoine Belvire + +- Update to version 3.1.7: + * CMake build system improvements (better precompiled headers + support). + * Many updated translations and new wxTRANSLATE_IN_CONTEXT(). + * Several previously missing attributes added to multiple XRC + handlers. + * Row reordering by dragging and UI enhancements in wxGrid. + * Ability to suppress selected (or all) GTK warning messages in + wxGTK. + * And many bugs fixes, including for the regressions in 3.1.6. +- Remove wxWidgets-3.1.6-fix-wxDVC-not-showing-empty-cells.patch: + Fixed upstream. + +------------------------------------------------------------------- +Sun May 8 09:56:40 UTC 2022 - Antoine Belvire + +- Add wxWidgets-3.1.6-fix-wxDVC-not-showing-empty-cells.patch + (gh#wxWidgets/wxWidgets#22359). +- Remove _service file: Unused. +- Fix some rpmlint warnings: + * Remove unused rpmlintrc filters. + * Remove non-breaking spaces. + +------------------------------------------------------------------- +Wed Apr 13 16:45:53 UTC 2022 - Ferdinand Thiessen + +- Update to 3.1.6 + * Many bug fixes for Wayland-specific problem. + * Add wxUILocale: CompareStrings(), GetLocalizedName() + * Add support for std::string_view to wxPrintf() + * Add wxString::ToInt() and ToUInt() + * Add wxGetNativeCpuArchitectureName() + * Add wxSecureZeroMemory(), wxThread::SetName() + * Significantly speed up wxMBConv iconv-based implementation + * Support searching from end in wxArrayString in STL build + * Several improvements to parsing dates in wxDateTime + * Add support for using native spell checking in wxTextCtrl + * Add support for style to wxWizard XRC handler + * Implement drawing splines in wxSVGFileDC + * Improve wxSpinCtrlDouble significant digits handling. + * wxGTK: + * Fix missing mouse events after enabling touch events + * Allow suppressing GTK diagnostics + * Fix getting key events from wxDataViewCtrl. + * Fix getting wxPrintData from the print dialog. + * Fix wxMediaCtrl support when using Wayland + * Generate wxKeyEvents for GDK_KEY_LaunchX keys +- Remove wxWidgets-3.1.5-fix-wxIcon-wxDVC-columns.patch: + This update already include the patch. +- Remove wxWidgets-3_2-Create-our-own-socket-file-for-socket-file-test.patch: + This update already include the patch. + (bsc#1217026) + +------------------------------------------------------------------- +Tue Apr 12 12:45:12 UTC 2022 - Cliff Zhao + +- Add wxWidgets-3_2-Create-our-own-socket-file-for-socket-file-test.patch: + Backporting f172f53a from upstream to fix building check fault: + Create our own socket file for socket file test, /dev/log doesn't + exist in certain types of containers. + (bsc#1217026) + +------------------------------------------------------------------- +Fri Feb 11 14:53:40 UTC 2022 - Bjørn Lie + +- Drop gnome-vfs2-devel BuildRequires, and no longer pass + with-gnomevfs to configure, gnome-vfs2 is deprecated many many + years ago, and slated for removal from openSUSE Factory. It is + currently only used for associating MIME types (in wxWidgets), + and we can live without that. + +------------------------------------------------------------------- +Sat Aug 21 16:20:30 UTC 2021 - Atri Bhattacharya + +- Disable building with EGL support: glew is not ready for EGL yet + and this causes wxWidgets based OpenGL apps (e.g. hugin) to + crash. See boo#1188519, boo#1189524. + +------------------------------------------------------------------- +Fri Jun 25 10:41:40 UTC 2021 - Antoine Belvire + +- Add wxWidgets-3.1.5-fix-wxIcon-wxDVC-columns.patch (boo#1187712). + +------------------------------------------------------------------- +Sun Jun 6 11:09:48 UTC 2021 - Antoine Belvire + +- Update to version 3.1.5: + * New wxWebRequest and related classes provide a simple way to + use HTTPS and HTTP/2 from wxWidgets applications using native + libraries or libcurl. + * Support EGL in wxGLCanvas and Wayland in wxMediaCtrl under + Linux. + * Many appearance and other fixes for macOS 11. + * More improvements to wxGrid UI, API and performance. + * wxImage improvements: add alpha support in Paste() and + clipboard support. + * API additions: wxPersistentComboBox, wxFileName::ResolveLink(), + wxFileHistory::SetMenuPathStyle(), wxString::utf8_string(), + wxEVT_FULLSCREEN. + * Improvements: wxConfig now supports 64-bit integers, wxLog uses + millisecond resolution in timestamps, XRC files can be loaded + from URLs. + * Yet more bug fixes, fixes for API inconsistencies and + optimizations, notably in wxDataViewCtrl, wxListCtrl, + wxPropertyGrid. +- Remove patches fixed upstream: + * 0001-Don-t-use-wxASCII_STR-inside-wxART_MAKE_XXX_ID-macro.patch. + * 0002-Fix-documented-type-of-wxART_XXX-constants.patch. + +------------------------------------------------------------------- +Mon Nov 16 14:02:11 UTC 2020 - Jan Engelhardt + +- Fix an rpmlint warning by moving libwx_base symlinks to their + own -devel subpackage which is then required by + (wxWidgets-devel, wxGTK3-devel). + +------------------------------------------------------------------- +Fri Oct 9 16:48:47 UTC 2020 - Jan Engelhardt + +- Change wxGTK2 flavor to be the main (unnamed) flavor. + +------------------------------------------------------------------- +Fri Oct 9 13:48:14 UTC 2020 - Stefan Brüns + +- Fix unquoted bareword comparisons for RPM 4.16 compatibility + +------------------------------------------------------------------- +Wed Sep 30 17:39:01 UTC 2020 - Stefan Brüns + +- Fix wxPython compatibility issue: + Add 0001-Don-t-use-wxASCII_STR-inside-wxART_MAKE_XXX_ID-macro.patch + Add 0002-Fix-documented-type-of-wxART_XXX-constants.patch + +------------------------------------------------------------------- +Wed Aug 19 18:01:10 UTC 2020 - Stefan Brüns + +- Use _multibuild to avoid changes and spec files of the variants + getting out of sync. + +------------------------------------------------------------------- +Sun Jul 26 07:45:42 UTC 2020 - Stefan Brüns + +- Do not disable debugging completely, only recommended for + constrained environments and breaks wxPython tests +- Correct base_packages flag for nostl variant, it can not use the + base libraries of the regular variant +- Build base libraries from wxGTK3 build, wxWidgets (GTK2) is no + longer used by any Factory package. + +------------------------------------------------------------------- +Sat Jul 25 15:20:26 UTC 2020 - Stefan Brüns + +- Update to new upstream release 3.1.4: + * Incompatible to 3.1.3: CMake library targets were renamed and + now start with 'wx'. In addition, aliases for the libraries + have been added using the 'wx::' namespace. For example, the + core library is now named wxcore and has alias wx::core. + * Add natural sort functions. + * Add wxTempFFile class (Dummy). + * Fix bug with multiple leading ".." in wxFileName::Normalize(). + * Improve brush transparency support in wxSVGFileDC. + * Optionally forbid implicit wxString/char* conversions. + * Add support for wxGenericAnimationCtrl to XRC. + * Add wxDD_SHOW_HIDDEN and wxDD_MULTIPLE wxDirDialog flags. + * Add wxWebView::SetZoomFactor(float). + * Add wxWindow::DisableFocusFromKeyboard(). + * Allow overriding wxDataViewModal::HasValue(). + * Call wxAuiManager::UnInit() automatically now. + * Fix crash and layout problem in wxGenericDirCtrl + * wxQt: Fix build with Qt 5.15 + * GTK backend: + * Add native wxSearchCtrl implementation. + * Implement wxBU_EXACTFIT support in wxButton. + * Fix a regression with crashes when using wxBufferedPaintDC. + * Fix drawing bitmaps with masks using wxGraphicsContext under + GTK2. + * Fix position of popup menus on non-primary display. + * Make wxUIActionSimulator much more reliable + * Fix caret colour in wxTextCtrl with custom colours. +- Drop obsolete patches: + * 0001-Add-missing-QPainterPath-include-required-with-Qt-5..patch + * 0002-Make-the-wxUIActionSimulator-Text-implementation-mat.patch + +------------------------------------------------------------------- +Tue Jun 16 10:04:20 UTC 2020 - Dave Plater + +- Build nostl package against gtk3, audacity crashes with gtk2 + +------------------------------------------------------------------- +Tue Jun 9 12:05:18 UTC 2020 - Dave Plater + +- Add nostl package for audacity + +------------------------------------------------------------------- +Mon Jun 1 12:39:06 UTC 2020 - Stefan Brüns + +- Fix wxQt build with Qt 5.15, add + 0001-Add-missing-QPainterPath-include-required-with-Qt-5..patch +- Make liblzma build dependency explicit, to have the same feature + set on all flavors. +- Fix wrong function signature causing build failures in + python-wxPython, add: + 0002-Make-the-wxUIActionSimulator-Text-implementation-mat.patch + +------------------------------------------------------------------- +Fri May 29 22:21:35 UTC 2020 - Stefan Brüns + +- Add explicit libXtst build dependency, required for Leap 15.1 + (already implicit on Leap 15.2 and TW). + +------------------------------------------------------------------- +Thu May 28 22:51:52 UTC 2020 - Stefan Brüns + +- Update to new upstream release 3.1.3 + For a detailed changelog, see + https://raw.githubusercontent.com/wxWidgets/wxWidgets/v3.1.3/docs/changes.txt + * Support for per-monitor DPI and dynamic DPI changes under MSW. + * More generally, many fixes for various controls appearance in high DPI. + * Long requested support for freezing rows and/or columns in wxGrid. + * New XRC handlers for wxDataViewCtrl, wxInfoBar. + * It is now possible to use gradients when creating wxGraphicsPen. + * Extended compiler (MSVS 2019) and platforms (macOS 10.14+) support. + * Significant improvements to the (still experimental) wxQt port. + * Important bug fixes for focus handling in wxOSX port. +- Cleanup spec file +- Enable reproducible-build option +- Use SDL2 instead of SDL1 (only used by sound plugin) + +------------------------------------------------------------------- +Mon Apr 15 08:55:06 UTC 2019 - Jan Engelhardt + +- Update to new snapshot 3.1.3~g673 (6cc1d63d) + * Graphics context methods for the Qt platform +- Enabled webkit2 backend for wxWebView (wxGTK3 only) [boo#1107337] + +------------------------------------------------------------------- +Fri Jan 11 20:13:45 UTC 2019 - martin.koegler@chello.at + +- Update to new upstream release 3.1.2 + * Support for non-integer font sizes and arbitrary font + weights. + * New wxLZMA{Input,Output}Stream classes. + * Add wxDataViewToggleRenderer::ShowAsRadio(), + wxDisplay::GetPPI(), wxGrid::SetCornerLabelValue(), + wxHtmlEasyPrinting::SetPromptMode(), + wxJoystickEvent::GetButtonOrdinal(), + wxToolbook::EnablePage(). +- Remove wxqt-compile.diff (no longer needed) + +------------------------------------------------------------------- +Tue Apr 17 10:48:16 UTC 2018 - jengelh@inai.de + +- Update soversion.diff to use the package version, not some + incremental integer. + +------------------------------------------------------------------- +Mon Feb 19 00:24:12 UTC 2018 - jengelh@inai.de + +- Update to new upstream release 3.1.1 + * wxRibbonButtonBar::DeleteButton() now deletes and not just + removes the button. + * Using invalid flags with wxBoxSizer or wxGridSizer items now + triggers asserts + * wxWS_EX_VALIDATE_RECURSIVELY is now the default behaviour. + * wxListCtrl::HasCheckboxes() and EnableCheckboxes(), which + were added in 3.1.0, have been renamed to HasCheckBoxes and + EnableCheckBoxes respectively for consistency with wxCheckBox + naming. + * wxZipOutputStream will now automatically convert filenames to + UTF-8, if the wxMBConv used when calling the constructor + supports UTF-8 encoding. + +------------------------------------------------------------------- +Sat Feb 17 10:31:37 UTC 2018 - martin.koegler@chello.at + +- Update to 3.1.1-rc (3.1.1~2807) + +------------------------------------------------------------------- +Wed Jan 24 09:07:47 UTC 2018 - jengelh@inai.de + +- Rework provides/conflicts between -devel variants. +- Update to new development snapshot 3.1.1~2640 + * Support for multi-touch gestures + * Implement persistence for wxDataViewListCtrl + * Rename all objects to "DataViewCtrl" and "DVC" instead of + "DataViewListCtrl" and "DVLC" to reflect the change of + implementation at the base class. + +------------------------------------------------------------------- +Fri Dec 15 18:26:37 UTC 2017 - jengelh@inai.de + +- Add a recommends from the wx base library to the language package. + +------------------------------------------------------------------- +Sat Oct 21 10:39:27 UTC 2017 - martin.koegler@chello.at + +- Unify packaging +- Drop webkit as in wx3.0 packages +- Fix Qt build errors + +------------------------------------------------------------------- +Sun Oct 15 11:33:14 UTC 2017 - kamikazow@opensuse.org + +- Disable WebView for TW and upcoming Leap 15. + +------------------------------------------------------------------- +Fri Jul 22 17:25:44 UTC 2016 - mailaender@opensuse.org + +- Update to new upstream development release 3.1.0 +* Many improvements for high DPI monitors support, notably XRC now interprets + all pixel values as being in resolution-independent pixels. +* wxQt branch implementing Qt5-based port of wxWidgets API was merged into + the trunk (Mariano Reingart, Google Summer of Code project). +* Added wxNativeWindow allowing to embed native widgets in wxWidgets programs. +* Improve wxGLCanvas to be more type safe and better support modern OpenGL. + +------------------------------------------------------------------- +Fri Nov 7 09:05:48 UTC 2014 - jengelh@inai.de + +- Update to new upstream release 3.0.2 +* Fix silent data loss in wx[F]File::Write(wxString) if conversion + fails. +* Make wxString::FromCDouble() work when the global C++ locale is + not the C one. +* Fix mouse handling in wxNotebook containing wxListCtrl. +- Bump SONAME due to changed ABI, add soversion.diff. +- Don't let wxGTK3-3_0.spec build the SDL plugin (already done + by wxWidgets-3_0.spec) + +------------------------------------------------------------------- +Thu Nov 6 13:35:08 UTC 2014 - jengelh@inai.de + +- Restore libwx_base*.so devel symlinks [boo#904098] + +------------------------------------------------------------------- +Wed Nov 5 09:51:01 UTC 2014 - jengelh@inai.de + +- Replace broad Requires: Mesa-devel by pkgconfig(gl) + [Mesa-libGL-devel] + +------------------------------------------------------------------- +Thu Jul 31 16:16:35 UTC 2014 - dimstar@opensuse.org + +- Rename rpmlintrc to %{name}-rpmlintrc. + Follow the packaging guidelines. + +------------------------------------------------------------------- +Wed Jul 16 16:16:26 UTC 2014 - jengelh@inai.de + +- Remove the mechanism to support different variants, as it does + not support concurrent presence of multiple variants. +- Remove wxWidgets-3_0-config-force-rpath.patch, + wxWidgets-find-wx-provides-bash3.patch (no longer needed) + +------------------------------------------------------------------- +Mon Jun 16 19:30:11 UTC 2014 - jengelh@inai.de + +- Update to new upstream release 3.0.1 +* wxHTML displays tables much faster now. +* Double clicking wxGrid columns does not make them too small + any more. +* Fix bugs when dragging columns in wxGrid with hidden columns. +* Loading ICO files with PNG data is now supported. +* Mouse wheel scrolling in wxListCtrl works again. +* wxStaticBoxSizer contents is not truncated any more. +* AUI panels may now be re-docked after floating them. +- Remove wxWidgets-3_0-fixGTK3-build.patch (no longer needed) + +------------------------------------------------------------------- +Wed Jun 11 10:56:19 UTC 2014 - fcrozat@suse.com + +- Add _constraints file to ensure enough disk space is available + for build. + +------------------------------------------------------------------- +Mon Jun 9 10:57:47 UTC 2014 - jengelh@inai.de + +- Revert the GTK3 change (there are rendering problems). + wxWidgets-3_0(-devel) is now wxGTK2 again, and the wxGTK3 backend + is available in wxGTK3(-devel). + +------------------------------------------------------------------- +Fri Jun 6 19:44:52 UTC 2014 - jengelh@inai.de + +- Continue to provide a wxGTK2 build in parallel to wxGTK3 + (new specfile wxGTK2-3_0.spec; use BuildRequire wxGTK2-devel) +- Remove unused wxcontainer and wxcontainer26c subpackage logic + plus spec files +- Let /usr/lib(64)/wx be owned by packages that put files there + +------------------------------------------------------------------- +Fri Jun 6 09:11:11 UTC 2014 - fcrozat@suse.com + +- Switch build to GTK3 for SLE12 and openSUSE > 13.1 +- Add wxWidgets-3_0-fixGTK3-build.patch: fix build with recent GTK3 + (from upstream) +- Remove libgnomeprintui dependencies, GTK printing support is now + used. +- Disable gnomevfs support when building GTK3 version. +- Add/fix missing BuildRequires: xorg-x11-libSM-devel, + libnotify-devel. +- Do not build webview on SLE10 and SLE11 + +------------------------------------------------------------------- +Thu Jun 5 12:54:26 UTC 2014 - jengelh@inai.de + +- Use system libraries instead of bundled versions: + libjpeg, libpng, zlib +- Enable use of libSM + +------------------------------------------------------------------- +Fri Apr 25 21:53:59 UTC 2014 - jengelh@inai.de + +- Remove unused "ansi" configuration: wxWidgets 3 in Unicode mode + supports both char* and wchar_t*. + +------------------------------------------------------------------- +Tue Mar 11 09:48:36 UTC 2014 - jengelh@inai.de + +- Exclude libwx_webview from SLE11 build + +------------------------------------------------------------------- +Mon Feb 17 14:21:18 UTC 2014 - seiler@b1-systems.de + +- added baselibs.conf to provide *-32bit packages + +------------------------------------------------------------------- +Fri Feb 7 18:42:38 UTC 2014 - jengelh@inai.de + +- Remove seemingly pointless patch wxGTK-enable-wxrc.patch. + wxrc is built and installed in any case. + +------------------------------------------------------------------- +Thu Jan 30 13:57:06 UTC 2014 - jengelh@inai.de + +- Patches wxGTK-enable-wxrc.patch, + wxWidgets-3_0-config-force-rpath.patch, + wxWidgets-find-wx-provides-bash3.patch were inherited from + wxWidgets-2_8 package but never mentioned in any package. + Here is a mention. + +------------------------------------------------------------------- +Thu Nov 14 05:56:09 UTC 2013 - jengelh@inai.de + +- Update to new upstream release 3.0.0 +* wxWidgets is now always built with Unicode support but provides + the same simple (i.e. "char *"-tolerant) API as was available + in ANSI build in the past. +* wxWidgets may now use either wchar_t (UTF-16/32) or UTF-8 + internally, depending on what is optimal for the target + platform. +* New webview library, implementing wxWebView: a wrapper for the + native platform web engine with full support for HTML and + JavaScript. +* New propgrid library containing wxPropertyGrid and related + classes. +* New ribbon library for advanced toolbars. +* Event loops, timers and sockets can now be used in wxBase, + without GUI. +* Events can now be connected to any functor, not necessarily a + method of wxEvtHandler-derived class. The compile-time safety + was also improved. +* Documentation for wxWidgets has been converted from LaTex to + C++ headers with Doxygen comments and significantly improved in + the process (screenshots of various controls were added, more + identifiers are now linked to their definition &c). +* Support for persistent objects automatically saving and + restoring their state was added. +- Drop wxWidgets-to-wxpython-2.9.4.0.patch (merged upstream) + +------------------------------------------------------------------- +Thu Aug 22 13:38:01 UTC 2013 - jengelh@inai.de + +- Use %_smp_mflags for parallel build and better make install call. + +------------------------------------------------------------------- +Thu Apr 11 11:37:23 UTC 2013 - fisiu@opensuse.org + +- Build wxWidgets with webview support. + +------------------------------------------------------------------- +Thu Oct 25 20:35:35 CEST 2012 - sbrabec@suse.cz + +- Provide wxWidgets-3_0*-devel for future compatibility. +- Add "API version" in %description. +- Backported fixes from 2.8 branch. +- Included post-release fixes from wxpython. + +------------------------------------------------------------------- +Thu Sep 20 08:42:17 UTC 2012 - coolo@suse.com + +- add explicit buildrequire on pkgconfig(glu) + +------------------------------------------------------------------- +Mon Jul 23 16:18:10 CEST 2012 - sbrabec@suse.cz + +- Fixed wx-config symlink (bnc#772528). + +------------------------------------------------------------------- +Thu Jul 19 17:21:47 CEST 2012 - sbrabec@suse.cz + +- Update to version 2.9.4. + +------------------------------------------------------------------- +Fri Apr 27 18:37:40 CEST 2012 - sbrabec@suse.cz + +- Backported fixes of the dependency generator from 2.8 branch + (bnc#757124, bnc#759287#c3). + +------------------------------------------------------------------- +Thu Apr 19 17:08:50 CEST 2012 - sbrabec@suse.cz + +- Added support for Fedora compatible 24c variants (bnc#660438). +- Change name of compat-lib-config virtual provide to not clash + with package name, fix requires/provides generator (bnc#757124). + +------------------------------------------------------------------- +Mon Apr 2 16:21:37 CEST 2012 - sbrabec@suse.cz + +- Update to version 2.9.3. + +------------------------------------------------------------------- +Wed Dec 21 13:55:09 UTC 2011 - coolo@suse.com + +- own aclocal directory, there is no other reason to buildrequire + automake + +------------------------------------------------------------------- +Mon Oct 17 09:11:21 UTC 2011 - coolo@suse.com + +- fix whitespace of spec file + +------------------------------------------------------------------- +Wed Aug 3 17:33:36 CEST 2011 - sbrabec@suse.cz + +- Updated to version 2.9.2. + +------------------------------------------------------------------- +Tue Jul 26 08:01:48 UTC 2011 - aj@suse.de + +- Recommend instead of require lang package. + +------------------------------------------------------------------- +Tue May 17 20:24:51 CEST 2011 - sbrabec@suse.cz + +- Create synthetic .la files to work-around libtool failures when + linking third level libraries or binaries (bnc#690952). + +------------------------------------------------------------------- +Fri Apr 8 14:27:33 CEST 2011 - sbrabec@suse.cz + +- Do not use bash coproc on system with bash-3. + +------------------------------------------------------------------- +Tue Mar 29 19:35:10 CEST 2011 - sbrabec@suse.cz + +- Fixed find-wx-requires to check directories instead of library + name. Provide find-wx-provides. (bnc#681409) + +------------------------------------------------------------------- +Thu Dec 23 19:29:12 CET 2010 - sbrabec@suse.cz + +- Updated to version 2.9.1. +- Rename package to wxWidgets to follow upstream base name. +- Split wxPython documentation to a separate package. +- Build Unicode/ANSI, standard/debug and STL/wx container versions + separately. +- Spec file completely rewritten. + +------------------------------------------------------------------- +Sun Aug 15 00:15:52 UTC 2010 - termim@gmail.com + +- Updated to version 2.8.11.0 + Adds Python 2.7 builds, PySlices, new pubsub implementation, + lots of updates to AGW, and lots of bugs fixed. +- Removed wxGTK-GSocket-clash.patch and wxGTK-editra-ebmlib.patch + as already fixed. + +------------------------------------------------------------------- +Tue Jun 15 16:15:11 CEST 2010 - sbrabec@suse.cz + +- Added --enable-graphics_ctx to fix Editra (bnc#580060). +- Added ebmlib file required by Editra (bnc#580060, + patch from Salix). + +------------------------------------------------------------------- +Mon Feb 22 14:58:36 UTC 2010 - crrodriguez@opensuse.org + +- build with PIC + +------------------------------------------------------------------- +Thu Jan 28 17:17:47 CET 2010 - sbrabec@suse.cz + +- Enabled media libraries (bnc#565039). + +------------------------------------------------------------------- +Fri Sep 25 17:53:00 CEST 2009 - sbrabec@suse.cz + +- Disabled STL (bnc#530027). See also + http://lists.opensuse.org/opensuse-factory/2009-09/msg00386.html +- Removed obsolete RPATH. +- The GSocket symbol clash fix replaced by the upstream one. + +------------------------------------------------------------------- +Thu Sep 17 18:33:20 CEST 2009 - matejcik@suse.cz + +- fixed pth file to point to platlib + +------------------------------------------------------------------- +Sat Sep 5 11:52:46 CEST 2009 - sbrabec@suse.cz + +- Fixed for the latest python package. + +------------------------------------------------------------------- +Fri Aug 7 16:51:39 CEST 2009 - sbrabec@suse.cz + +- Updated to version 2.8.10.1: + * Incompatible change in wxTreeCtrl behaviour! + * Added several functions forward compatible with wxWidgets 3.0. + * Add wxBU_EXACTFIT support to wxToggleButton XRC handler. + * wxHashMap::insert() doesn't update the value if it didn't + insert the element any more. + * Correct bug in wxTimeSpan::Format() for negative spans. + * Correct several bugs in wxList using end() iterators. + * Translation updates. + * Fix wxURL::GetInputStream() for URLs with special characters in + credentials. + * Fix wxURI::GetUser() for URIs without password. + * Correct wxDateTime DST computation for 2006 and later. + * wxRTC: fixed a problem with HTML list generation. + * wxRTC: no longer deletes a character when content is selected + before pressing Delete. + * wxRTC: fixed inability to select no superscript and no + subscript in formatting dialog. + * wxRTC: fixed centering and right-justification when combined + with left indentation. + * wxRTC: fixed lack of right margin when centering or + right-justifying. + * wxRTC: fixed wrong descent when wrapping lines with different + font sizes. + * wxRTC: fixed wrapping problem for long lines. + * wxRTC: all buffer margins now respected. + * wxRTC: Added wxRE_CENTRE_CARET to centre the caret line + vertically. + * Fixed wxHTML's pagebreaks computation in tables. + * Fixed wxHtmlWindow::SelectionToText() to correctly insert + newlines after single-cell paragraphs. + * Fixed wxHTML's line breaks handling in
 blocks.
+  * wxHTML: don't include extra whitespace in table cells.
+  * Implemented wxWindow::DragAcceptFiles() on all platforms.
+  * Added wxAUI_MGR_LIVE_RESIZE flag to wxAuiManager.
+  * Use bitmap mask in wxSplashScreen.
+  * Translate "(c)" and "(C)" to the real copyright sign in
+    wxAboutBox.
+  * Fix painting of highlight border for merged cells in wxGrid.
+  * Fix handling of long lines in wxGridCellAutoWrapStringRenderer.
+  * Return false from wxSingleInstanceChecker::IsAnotherRunning()
+    if an error occurred while opening or reading the lock file.
+  * Fixed printing to use fonts sizes adjustment consistent with
+    wxMSW.
+  * Make colours used by list, tree and status bar controls more
+    consistent with the system theme settings.
+  * Worked around bug in GTK+ < 2.14 where enabling some controls
+    such as wxButton didn't re-enable sensitivity until the mouse
+    was moved.
+
+-------------------------------------------------------------------
+Thu Jun 18 19:16:27 CEST 2009 - sbrabec@suse.cz
+
+- Worked-around GSocket name conflict with GIO.
+
+-------------------------------------------------------------------
+Tue Feb 17 17:29:57 CET 2009 - crrodriguez@suse.de
+
+- build require libexpat-devel so we dont use the bundled one
+
+-------------------------------------------------------------------
+Wed Feb  4 13:58:35 CET 2009 - pth@suse.de
+
+- Disable the use of precompiled headers as the way wxWidgets uses
+  them is not supported by current GCC.
+
+-------------------------------------------------------------------
+Tue Feb  3 13:03:20 CET 2009 - pth@suse.de
+
+- Update to 2.8.9.1:
+  * Optimize wxString::Replace() for single character arguments.
+  * Updated Hindi translation.
+  * Use tr1::unordered_{map,set} for wxHash{Map,Set} implementation if available
+    in STL build; in particular do not use deprecated hash_{map,set} which
+    results in a lot of warnings from newer g++.
+  * Added support for reading alpha channel in BMP format.
+  * Fixed help viewer bug whereby the splitter sash in wxHtmlHelpWindow could
+    go underneath the left-hand pane, permanently, after resizing the
+    help window.
+  * Fixed wxHTML default font size for printing to be 12pt regardless of the
+    platform, instead of depending on GUI toolkit's screen configuration.
+  * Support wxDP_ALLOWNONE style in generic wxDatePickerCtrl version.
+  * Set wxKeyEvent::m_uniChar correctly in the events generated by generic
+    wxListCtrl.
+  * Fix changing size of merged cells in wxGrid.
+  * Fixed wrapping bug in wxRichTextCtrl when there were images present;
+    now sets the cursor to the next line after pressing Shift+Enter.
+  * Fixed Cmd+Back, Cmd+Del word deletion behaviour in wxRichTextCtrl.
+  * Fix crash when reading malformed PCX images.
+  * Fix bug with wrong transparency in GIF animations.
+  * Store palette information for XPM images in wxImage.
+  * Fixed selection bugs and auto list numbering in wxRichTextCtrl.
+  * Significantly optimize wxGrid::BlockToDeviceRect() for large grids.
+  * Introduced new wxAuiToolBar class for better integration and look-and-feel.
+  * Fix a crash in wxAuiFrameManager when Update() was called in between mouse-up
+    and mouse-down events
+  * wxAUI: added various NULL-ptr asserts.
+  * Fixed problem with Floatable(false) not working in wxAuiFrameManager.
+  * Fixed maximize bug in wxAUI.
+  * Allow period in link anchors in wxHTML.
+  * Fixed memory corruption in wxHTML when parsing "&;" in the markup.
+  * Fixed event type in EVT_GRID_CMD_COL_MOVE and EVT_GRID_COL_MOVE.
+  * wxGrid doesn't steal focus when hiding editor any more.
+  * MIME types reading fixed when running under GNOME, reading .desktop
+    files and also the default application list.
+  * Added filesys.no-mimetypesmanager system option so that applications that
+    must load an XRC file at program startup don't have to incur the
+    mime types manager initialization penalty.
+  * Fixed masking of disabled bitmaps in wxMenuItem and wxStaticBitmap.
+  * Fixed generation of events for an initially empty wxDirPickerCtrl.
+  * Fixed detection of Meta key state so that NumLock isn't misdetected
+    as Meta (requires GTK+ 2.10).
+  * Fix changing font/colour of label in buttons with images.
+- Make funtion return a value.
+
+-------------------------------------------------------------------
+Wed Sep  3 17:38:50 CEST 2008 - sbrabec@suse.cz
+
+- Updated to version 2.8.8.1:
+  * many API-compatible fixes and improvements, see
+    docs/changes.txt for complete list
+
+-------------------------------------------------------------------
+Mon Sep  1 15:16:05 CEST 2008 - sbrabec@suse.cz
+
+- Dropped obsolete ODBC support (bnc#397044).
+
+-------------------------------------------------------------------
+Fri May  2 12:36:23 CEST 2008 - sbrabec@suse.cz
+
+- Don't unload libgnomevfs-2.so.0 on exit (bnc#380267).
+- Removed obsolete configure options (bnc#380267#c7).
+
+-------------------------------------------------------------------
+Fri Mar 28 15:19:40 CET 2008 - sbrabec@suse.cz
+
+- Updated to version 2.8.7.1:
+  * many API-compatible crash fixes, improvements and other fixes,
+    see docs/changes.txt for complete list
+
+-------------------------------------------------------------------
+Tue Oct  2 15:54:24 CEST 2007 - sbrabec@suse.cz
+
+- Updated to version 2.8.6.0:
+  * many API-compatible crash fixes, improvements and orger fixes,
+    see docs/changes.txt for complete list
+  * fixed bugs and inconsistencies in wxWidgets and wxPython
+
+-------------------------------------------------------------------
+Thu Sep 13 11:35:14 CEST 2007 - prusnak@suse.cz
+
+- corrected last patch (gtk_border_free.patch) [#294693]
+
+-------------------------------------------------------------------
+Wed Sep  5 11:22:52 CEST 2007 - bwalle@suse.de
+
+- fix crash on startup on x86_64 (#294693)
+
+-------------------------------------------------------------------
+Wed Aug 29 15:26:22 CEST 2007 - prusnak@suse.cz
+
+- pack non-unicode libraries as wxGTK-compat package (again)
+- run ldconfig in post/postun scriptlets
+
+-------------------------------------------------------------------
+Wed May 23 17:37:12 CEST 2007 - prusnak@suse.cz
+
+- update to 2.8.4.0
+  * changes are too numerous to list, see changes.txt for full list
+- drop non-unicode libraries (not used anymore)
+- cleaned spec file
+
+-------------------------------------------------------------------
+Mon Mar  5 15:11:38 CET 2007 - pth@suse.de
+
+- Don't hardcode lib64 in .spec file.
+- Replace contrib/samples/applet/monitors.c once again (see #203607).
+
+-------------------------------------------------------------------
+Thu Mar  1 13:57:40 CET 2007 - pth@suse.de
+
+- Update to 2.8.1.1. Changes are too numerous to list, see
+  changes.txt for a full list.
+- fix use of uninitialised variables wxPython_int.h
+- Correct spelling in README.unicode
+
+-------------------------------------------------------------------
+Mon Dec 11 15:37:59 CET 2006 - sbrabec@suse.cz
+
+- Source code cleanup (#226403).
+
+-------------------------------------------------------------------
+Tue Sep  5 16:56:14 CEST 2006 - sbrabec@suse.cz
+
+- Repackaged without undistributable monitors.c (#203607).
+
+-------------------------------------------------------------------
+Mon Aug  7 17:08:36 CEST 2006 - sbrabec@suse.cz
+
+  - Updated to version 2.6.3.3 (#162198):
+  * Fixed crash when loading message catalogs in Unicode build.
+  * Fixed crash in wxList code when building with wxUSE_STL=1
+  * Spurious error message from wxLaunchDefaultBrowser fixed.
+  * Compilation fixes for (more strict) g++ 4.1
+  * Speed improvements to wxRegEx
+  * Fix regerror and regfree name conficts
+  * wxCondition::WaitTimeout() now returns correct value
+  * Bug in wxLogStream::DoLogString in Unicode builds fixed
+  * wxFileName now also looks for TMPDIR on Unix
+  * Fixed occasional wxThread cleanup crash
+  * wxImage::Copy() forgot the alpha channel
+  * Fixed wxSocketBase::InterruptWait on wxBase
+  * wxSocket::_Read continues reading from socket after exhausting
+    pushback buffer
+  * Fixed abort() on loading invalid PNG image
+  * Added space after list item number in wxHTML
+  * wxCalendarCtrl drawing, positioning and hit-testing fixes
+  * More checking of image validity before loading into wxImage
+  * Added double-buffering to wxVListBox and fixed scrolling
+  * More than one filter allowed in in wxDocTemplate filter
+  * Fixed infinite loop in tab traversal code with wxUSE_STL==1
+  * In wxScrolledWindow:DoGetBestSize, no longer adds difference
+    between client and total size
+  * Fixed problem with zoom setting in print preview
+  * Fixed problem with choice editor in wxGrid
+  * Fixed problem trying to print from a preview
+  * Polygon and line drawing speeded up if there is no scaling
+  * Fixed problems with CJK input method (reverted)
+  * Fixed wxNotebook::HitTest when the leftmost visible tab is not
+    the actual first tab
+  * Send wxSetCursorEvent
+  * Fix RequestMore for idle events
+  * Implement user dashes for PS and GNOME printing
+  * Correct update region code
+  * Change wxMimeTypesManager code to just read the MIME-types
+  * Speed up reading MIME database
+  * wxClipboard fixes
+  * Support underlined fonts in wxTextCtrl
+  * wxWindow and wxScrolledWindow now generate all scroll events
+  * Implemented wxToggleButton
+  * Fixed wxDb::DBMS() indicating DB2 dBase databases
+  * Fixed buffer overflow problem in Unicode builds
+- Fixed slash typo patch.
+- Do not delete no more generated doslex.c.
+
+-------------------------------------------------------------------
+Mon Jul 17 16:20:55 CEST 2006 - mkudlvasr@suse.cz
+
+- fixed a problem in makefiles.in and configure.in. In many cases
+  the variable top_builddir was not separated by a slash. This caused
+  many 'file not found' errors.
+
+-------------------------------------------------------------------
+Fri Apr  7 14:04:51 CEST 2006 - mmarek@suse.cz
+
+- fix array subscript out of range in src/common/db.cpp
+
+-------------------------------------------------------------------
+Thu Mar  9 18:23:47 CET 2006 - bk@suse.de
+
+- Add esound-devel to BuildRequires (was implicily by SDL-devel)
+- Add explicit gcc-c++ to BuildRequires (was implicit by SDL-devel)
+
+-------------------------------------------------------------------
+Tue Feb 28 16:46:04 CET 2006 - jmatejek@suse.cz
+
+- updated to reflect python changes due to #149809
+
+-------------------------------------------------------------------
+Wed Feb 22 13:36:24 CET 2006 - sbrabec@suse.cz
+
+- Moved pywxrc to python-wxGTK (Andreas Hanke, #152573).
+
+-------------------------------------------------------------------
+Sun Feb 19 17:51:18 CET 2006 - aj@suse.de
+
+- Reduce BuildRequires.
+
+-------------------------------------------------------------------
+Wed Jan 25 21:42:54 CET 2006 - mls@suse.de
+
+- converted neededforbuild to BuildRequires
+
+-------------------------------------------------------------------
+Fri Jan 20 15:17:47 CET 2006 - sbrabec@suse.cz
+
+- Package wxrc (#143258, Andreas Hanke).
+- Updated README.unicode (#144090, Andreas Hanke).
+- Moved bakefile to devel subpackage (#144094, Andreas Hanke).
+
+-------------------------------------------------------------------
+Mon Jan 16 19:49:40 CET 2006 - sbrabec@suse.cz
+
+- Updated to version 2.6.2.1.
+
+-------------------------------------------------------------------
+Mon Sep 19 17:40:25 CEST 2005 - sbrabec@suse.cz
+
+- Force re-creating the old lex code in doslex.c.
+
+-------------------------------------------------------------------
+Fri Aug 19 16:01:57 CEST 2005 - sbrabec@suse.cz
+
+- Removed references to no more provided PangoRenderX calls.
+
+-------------------------------------------------------------------
+Mon Aug  1 18:11:20 CEST 2005 - sbrabec@suse.cz
+
+- Updated to version 2.6.1.0.
+
+-------------------------------------------------------------------
+Sat May 14 12:21:23 CEST 2005 - schwab@suse.de
+
+- Fix undefined operation.
+
+-------------------------------------------------------------------
+Wed Apr 27 16:39:04 CEST 2005 - mcihar@suse.cz
+
+- update to 2.6.0.0
+
+-------------------------------------------------------------------
+Fri Apr 15 14:50:44 CEST 2005 - mcihar@suse.de
+
+- build with system libtiff
+- enabled SDL and sound support
+
+-------------------------------------------------------------------
+Wed Apr 13 17:18:22 CEST 2005 - mcihar@suse.cz
+
+- fix filelist
+- fix build on 64-bit machines
+
+-------------------------------------------------------------------
+Tue Apr 12 19:15:16 CEST 2005 - mcihar@suse.cz
+
+- disable SDL support, it seems to be broken in this version
+
+-------------------------------------------------------------------
+Tue Apr 12 17:21:49 CEST 2005 - mcihar@suse.cz
+
+- update to 2.5.5.1
+
+-------------------------------------------------------------------
+Fri Feb  4 19:02:20 CET 2005 - tiwai@suse.de
+
+- fixed the confliction of ATTRIBUTE_PRINTF* macros.
+
+-------------------------------------------------------------------
+Wed Dec 22 15:38:30 CET 2004 - mcihar@suse.cz
+
+- fix python-wxGTK requires
+
+-------------------------------------------------------------------
+Fri Nov 19 12:31:21 CET 2004 - mcihar@suse.cz
+
+- update to 2.5.3.1
+
+-------------------------------------------------------------------
+Wed Oct 20 19:34:23 CEST 2004 - mcihar@suse.cz
+
+- fixed file conflict between python-wxGTK and wxGTK-devel
+
+-------------------------------------------------------------------
+Fri Sep 17 15:21:08 CEST 2004 - mcihar@suse.cz
+
+- really build wxPython version against unicode wxGTK (bug #45539)
+
+-------------------------------------------------------------------
+Tue Aug 31 15:57:44 CEST 2004 - mcihar@suse.cz
+
+- update to 2.5.2.8
+
+-------------------------------------------------------------------
+Mon Aug 16 18:36:53 CEST 2004 - mcihar@suse.cz
+
+- update to 2.5.2.7
+
+-------------------------------------------------------------------
+Fri Jul 30 10:32:13 CEST 2004 - mcihar@suse.cz
+
+- also build non unicode libraries and ship them in wxGTK-compat package
+  to allow compilation of application, that weren't written in respect
+  to unicode possibility
+
+-------------------------------------------------------------------
+Wed Jun 02 12:23:24 CEST 2004 - mcihar@suse.cz
+
+- add missing wxPython licenses
+
+-------------------------------------------------------------------
+Thu Apr 22 12:06:31 CEST 2004 - mcihar@suse.cz
+
+- ${prefix} was intentional
+
+-------------------------------------------------------------------
+Wed Apr 21 15:27:49 CEST 2004 - mcihar@suse.cz
+
+- correct libdir on lib64
+
+-------------------------------------------------------------------
+Tue Apr 20 14:46:39 CEST 2004 - mcihar@suse.cz
+
+- solved conflict between wxGTK-devel and python-wxGTK
+
+-------------------------------------------------------------------
+Wed Apr 14 15:38:40 CEST 2004 - mcihar@suse.cz
+
+- moved sound_sdl-2.5.1.so from devel package
+
+-------------------------------------------------------------------
+Wed Apr 14 11:44:58 CEST 2004 - mcihar@suse.cz
+
+- build with -fPIC
+- add libmspack support (enables access to MS HTML help files - *.chm)
+
+-------------------------------------------------------------------
+Tue Apr 13 17:44:56 CEST 2004 - mcihar@suse.cz
+
+- update to 2.5.1.5
+- enable unicode support
+- enabled build of contrib libraries
+
+-------------------------------------------------------------------
+Thu Mar 18 09:26:59 CET 2004 - mcihar@suse.cz
+
+- make files in bin executable (bug #36331)
+
+-------------------------------------------------------------------
+Fri Mar 05 09:43:25 CET 2004 - mcihar@suse.cz
+
+- little spec file cleanup, debug build can be enabled
+
+-------------------------------------------------------------------
+Wed Mar  3 18:11:38 CET 2004 - tiwai@suse.de
+
+- fixed wxwin.m4 for the recent autoconf.
+- moved wxwin.m4 to devel subpackage.
+
+-------------------------------------------------------------------
+Tue Jan 13 16:41:53 CET 2004 - mcihar@suse.cz
+
+- enabled build with GTK 2
+
+-------------------------------------------------------------------
+Thu Oct 16 16:54:22 CEST 2003 - mcihar@suse.cz
+
+- do not build as root
+- remove orig and rej files that should not be installed
+
+-------------------------------------------------------------------
+Wed Oct 15 13:35:24 CEST 2003 - mcihar@suse.cz
+
+- update to 2.4.2.4
+
+-------------------------------------------------------------------
+Fri Aug 29 18:40:00 CEST 2003 - tiwai@suse.de
+
+- fixed the segfault on 64bit architectures.
+
+-------------------------------------------------------------------
+Sat Aug 23 18:37:04 CEST 2003 - ro@suse.de
+
+- fix build on lib64
+
+-------------------------------------------------------------------
+Wed Aug 20 18:54:38 CEST 2003 - mcihar@suse.cz
+
+- now builds together with wxPython
+- created patch for DESTDIR support
+- now lives in /usr and not /usr/X11
+- build all python bindings (fixes #26138 and #27349)
+
+-------------------------------------------------------------------
+Wed Jul 30 15:37:58 CEST 2003 - adrian@suse.de
+
+- update to version 2.4.1
+- add %run_ldconfig
+
+-------------------------------------------------------------------
+Tue May 13 16:39:09 CEST 2003 - mmj@suse.de
+
+- Package forgotten files
+
+-------------------------------------------------------------------
+Tue Mar  4 11:21:34 CET 2003 - mmj@suse.de
+
+- Add patch to have wxFileConfigGroup::DeleteSubgroup() not seg-
+  fault with pGroup == 0. Triggered by audacity but might affect
+  other wxGTK programs. [#24401]
+
+-------------------------------------------------------------------
+Tue Feb 25 10:03:50 CET 2003 - hhetter@suse.de
+
+- devel package requires gtk-devel (Bug Id#22479)
+
+-------------------------------------------------------------------
+Mon Feb 17 11:48:02 CET 2003 - hhetter@suse.de
+
+- package gl-header files too ( Bug Id#23094 )
+
+-------------------------------------------------------------------
+Wed Jan 22 16:13:32 CET 2003 - meissner@suse.de
+
+- Fixed for lib64 platforms.
+
+-------------------------------------------------------------------
+Tue Jan 14 10:33:22 CET 2003 - hhetter@suse.de
+
+- updated to version 2.4.0
+- updated documentation to 2.4.0 revision
+- remove all outdated patches
+
+-------------------------------------------------------------------
+Tue Nov 12 16:30:54 CET 2002 - tcrhak@suse.cz
+
+- fixed for bison 1.75: end rules with semicolons
+
+-------------------------------------------------------------------
+Mon Aug 12 12:45:30 MEST 2002 - garloff@suse.de
+
+- Fix multiple delete[] in wxHtmlTagsModule::OnExit().
+
+-------------------------------------------------------------------
+Fri Jul 26 23:14:16 CEST 2002 - adrian@suse.de
+
+- fix neededforbuild
+
+-------------------------------------------------------------------
+Wed May  1 15:48:59 CEST 2002 - kukuk@suse.de
+
+- Remove superfluous libmpeg from neededforbuild
+
+-------------------------------------------------------------------
+Fri Apr 26 16:40:37 CEST 2002 - coolo@suse.de
+
+- use %_libdir
+
+-------------------------------------------------------------------
+Mon Apr 15 19:20:13 CEST 2002 - tiwai@suse.de
+
+- fixed build with gcc 3.1.
+
+-------------------------------------------------------------------
+Tue Feb 19 14:23:36 CET 2002 - hhetter@suse.de
+
+- applied the real patch for the wxgtk-mutex performance problem
+
+-------------------------------------------------------------------
+Fri Feb 15 08:39:08 CET 2002 - hhetter@suse.de
+
+- configure with --enable-std_iostreams for better support
+  for C++ sources using C++ iostreams
+- apply patch to fix perfomance problem with multithreaded apps
+  (accepted and already in the wxGTK CVS)
+
+-------------------------------------------------------------------
+Fri Feb  1 00:26:05 CET 2002 - ro@suse.de
+
+- changed neededforbuild  to 
+
+-------------------------------------------------------------------
+Thu Jan 24 16:43:14 CET 2002 - tiwai@suse.de
+
+- updated to version 2.2.9.
+- fixed neededforbuild for libwx_gtk_gl.
+- added locale files to filelist.
+- added --enable-soname to ensure the correct linking.
+- clean up the spec file.
+
+-------------------------------------------------------------------
+Tue May  8 01:59:29 CEST 2001 - mfabian@suse.de
+
+- bzip2 source
+
+-------------------------------------------------------------------
+Fri Mar 30 16:09:21 CEST 2001 - pthomas@suse.de
+
+- Update to 2.2.6
+- Renamed to wxGTK
+- Split off devel package.
+- Build the OpenGl add-on lib.
+- Install sample code in docdir.
+- Change Makefiles to use DESTDIR.
+- Include both HTML and PDF Versions of the manuals.
+- Eliminate warnings in C++ code.
+- Build with -W -Wall -Wstrict-prototypes -Wpointer-aritth
+
+-------------------------------------------------------------------
+Fri Jan 26 08:42:40 CET 2001 - hhetter@suse.de
+
+- Update to 2.2.4
+
+-------------------------------------------------------------------
+Sat Dec  9 06:10:12 CET 2000 - mfabian@suse.de
+
+- Add /usr/X11R6/bin/wxgtk-config to filelist
+
+-------------------------------------------------------------------
+Mon Nov  6 00:07:29 CET 2000 - ro@suse.de
+
+- fixed neededforbuild
+
+-------------------------------------------------------------------
+Fri Jun  9 08:40:03 CEST 2000 - ro@suse.de
+
+- up to 2.1.16
+
+-------------------------------------------------------------------
+Mon Feb 21 19:13:50 CET 2000 - uli@suse.de
+
+- now builds with RPM_OPT_FLAGS
+
+-------------------------------------------------------------------
+Mon Feb 21 08:15:21 CET 2000 - ro@suse.de
+
+- update to 2.1.13
+- use suse_update_config macro
+- patch to compile with newest gtk
+
+-------------------------------------------------------------------
+Fri Jan 14 16:08:20 MET 2000 - freitag@suse.de
+
+- update to 2.1.12, URL, doc in seperate tarball
+
+-------------------------------------------------------------------
+Mon Sep 13 17:23:57 CEST 1999 - bs@suse.de
+
+- ran old prepare_spec on spec file to switch to new prepare_spec.
+
+-------------------------------------------------------------------
+Thu Aug 19 16:24:47 MEST 1999 - kukuk@suse.de
+
+- Add /usr/X11R6/bin/wx-config to filelist
+
+-------------------------------------------------------------------
+Tue Jul 13 12:42:22 MEST 1999 - bs@suse.de
+
+- use gtk and glib instead of gtkn and glibn
+
+-------------------------------------------------------------------
+Mon May 31 14:00:45 MEST 1999 - ray@suse.de
+
+- new package
+
diff --git a/wxWidgets-3_2.spec b/wxWidgets-3_2.spec
new file mode 100644
index 0000000..e6e24ef
--- /dev/null
+++ b/wxWidgets-3_2.spec
@@ -0,0 +1,603 @@
+#
+# spec file for package wxWidgets-3_2
+#
+# Copyright (c) 2024 SUSE LLC
+#
+# All modifications and additions to the file contributed by third parties
+# remain the property of their copyright owners, unless otherwise agreed
+# upon. The license for this file, and modifications and additions to the
+# file, is the same license as for the pristine package itself (unless the
+# license for the pristine package is not an Open Source License, in which
+# case the license is the MIT License). An "Open Source License" is a
+# license that conforms to the Open Source Definition (Version 1.9)
+# published by the Open Source Initiative.
+
+# Please submit bugfixes or comments via https://bugs.opensuse.org/
+#
+
+
+%global flavor @BUILD_FLAVOR@%nil
+%if "%flavor" == ""
+# default flavor is GTK2
+%define this_spec wxWidgets-3_2
+%define variant suse
+%define gtk_version 2
+%define toolkit gtk%gtk_version
+%define base_packages 0
+%bcond_with webview
+%endif
+
+%if "%{flavor}" == "doc"
+%define this_spec wxWidgets-3_2-doc
+%define variant %{nil}
+%define toolkit %{nil}
+%endif
+
+%if "%flavor" == "GTK3"
+%define this_spec wxGTK3-3_2
+%define variant suse
+%define gtk_version 3
+%define toolkit gtk%gtk_version
+%define base_packages 1
+%bcond_without webview
+%endif
+
+%if "%flavor" == "GTK3-nostl"
+%define this_spec wxWidgets-3_2-nostl
+%define variant suse-nostl
+%define gtk_version 3
+%define toolkit gtk%gtk_version
+%define base_packages 1
+%bcond_with webview
+%define extra_description This variant of wxWidgets is built without STL types (such as \
+std::string), and is provided for old programs which fail to use e.g. \
+wxString and instead rely on the wxChar pointer API.
+%endif
+
+%if "%flavor" == "Qt"
+%define this_spec wxQt-3_2
+%define variant suse
+%define toolkit qt
+%define base_packages 0
+%bcond_with webview
+%endif
+
+# 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
+Name:           %this_spec
+Version:        3.2.5
+Release:        0
+Summary:        C++ Library for Cross-Platform Development
+License:        LGPL-2.1-or-later WITH WxWindows-exception-3.1
+Group:          Development/Libraries/C and C++
+URL:            https://www.wxwidgets.org/
+Source:         https://github.com/wxWidgets/wxWidgets/releases/download/v%version/wxWidgets-%version.tar.bz2
+Source2:        README.SUSE
+Source5:        wxWidgets-3_2-rpmlintrc
+# This script is not used during build, but it makes possible to
+# identify and backport wxPython fixes to wxWidgets.
+Source6:        wxpython-mkdiff.sh
+Patch0:         soversion.diff
+Patch1:         autoconf-2_72.diff
+Patch2:         textfiletest-fix-file-exists.diff
+%if "%{flavor}" == "doc"
+BuildRequires:  doxygen
+BuildRequires:  fdupes
+BuildRequires:  graphviz
+%else
+BuildRequires:  autoconf
+BuildRequires:  cppunit-devel
+BuildRequires:  gcc-c++
+BuildRequires:  libexpat-devel
+BuildRequires:  libjpeg-devel
+BuildRequires:  libpng-devel
+BuildRequires:  libtiff-devel
+BuildRequires:  zlib-devel
+BuildRequires:  pkgconfig(gstreamer-1.0)
+BuildRequires:  pkgconfig(gstreamer-plugins-base-1.0)
+BuildRequires:  pkgconfig(libcurl)
+BuildRequires:  pkgconfig(libmspack)
+BuildRequires:  pkgconfig(libnotify)
+BuildRequires:  pkgconfig(sm)
+%if "%toolkit" == "gtk2"
+BuildRequires:  pkgconfig(gtk+-2.0)
+%endif
+%if "%toolkit" == "gtk3"
+BuildRequires:  pkgconfig(gtk+-3.0)
+%if %{with webview}
+BuildRequires:  pkgconfig(webkit2gtk-4.0)
+%endif
+%endif
+%if "%toolkit" == "qt"
+BuildRequires:  pkgconfig(Qt5Core) >= 5.2.1
+BuildRequires:  pkgconfig(Qt5Gui) >= 5.2.1
+BuildRequires:  pkgconfig(Qt5OpenGL) >= 5.2.1
+BuildRequires:  pkgconfig(Qt5Test) >= 5.2.1
+BuildRequires:  pkgconfig(Qt5Widgets) >= 5.2.1
+BuildRequires:  pkgconfig(cairo)
+%endif
+BuildRequires:  pkgconfig(glu)
+BuildRequires:  pkgconfig(liblzma)
+BuildRequires:  pkgconfig(sdl2)
+BuildRequires:  pkgconfig(xtst)
+%endif
+# Use default debug level, enabling exceptions
+# Other valid values: yes/no/max
+%define wx_debug %nil
+
+%description
+wxWidgets is a C++ library abstraction layer for a number of GUI
+backends. Applications can be created for different GUIs (GTK+,
+Motif, MS Windows, MacOS X, Windows CE, GPE) from the same source
+code.
+
+%package -n libwx_base-%variant-devel
+Summary:        Development files for %name
+Group:          Development/Libraries/C and C++
+Requires:       libwx_baseu-%variant%psonum = %version
+Requires:       libwx_baseu_net-%variant%psonum = %version
+Requires:       libwx_baseu_xml-%variant%psonum = %version
+Provides:       libwx_base-devel
+Conflicts:      libwx_base-devel
+
+%description -n libwx_base-%variant-devel
+wxWidgets is a C++ library abstraction layer for a number of GUI
+backends.
+This package is a build artifact and need not be manually installed.
+
+%package -n libwx_baseu-%variant%psonum
+Summary:        wxWidgets base library
+# Name up to openSUSE 11.3 and up to wxGTK-2.8:
+Group:          System/Libraries
+Obsoletes:      wxGTK <= %version.0
+# Third party base package name:
+Obsoletes:      wxWidgets < %version
+Provides:       wxWidgets = %version
+Recommends:     wxWidgets-lang >= 3.0
+
+%description -n libwx_baseu-%variant%psonum
+Every wxWidgets application must link against this library. It
+contains mandatory classes that any wxWidgets code depends on (e.g.
+wxString) and portability classes that abstract differences between
+platforms. wxBase can be used to develop console-only applications.
+%{?extra_description}
+
+%package -n libwx_baseu_net-%variant%psonum
+Summary:        wxWidgets networking library
+Group:          System/Libraries
+
+%description -n libwx_baseu_net-%variant%psonum
+Classes for network access with wxWidgets.
+
+%package -n libwx_baseu_xml-%variant%psonum
+Summary:        wxWidgets XML parser library
+Group:          System/Libraries
+
+%description -n libwx_baseu_xml-%variant%psonum
+This library contains classes for parsing XML documents.
+
+%package -n libwx_%{toolkit}u_adv-%variant%psonum
+Summary:        wxWidgets advanced widgets and rarely-used widgets
+Group:          System/Libraries
+
+%description -n libwx_%{toolkit}u_adv-%variant%psonum
+Advanced or rarely-used GUI classes for wxWidgets.
+
+%package -n libwx_%{toolkit}u_aui-%variant%psonum
+Summary:        wxWidgets advanced user interface docking library
+Group:          System/Libraries
+
+%description -n libwx_%{toolkit}u_aui-%variant%psonum
+The Advanced User Interface docking library of wxWidgets.
+
+%package -n libwx_%{toolkit}u_core-%variant%psonum
+Summary:        wxWidgets basic GUI class library
+Group:          System/Libraries
+
+%description -n libwx_%{toolkit}u_core-%variant%psonum
+Basic GUI classes such as GDI classes or controls are in this
+library. All wxWidgets GUI applications must link against this
+library, only console mode applications need not.
+
+%package -n libwx_%{toolkit}u_gl-%variant%psonum
+Summary:        wxWidgets OpenGL integration library
+Group:          System/Libraries
+
+%description -n libwx_%{toolkit}u_gl-%variant%psonum
+This library contains the wxGLCanvas class for integration of OpenGL
+with wxWidgets.
+
+%package -n libwx_%{toolkit}u_html-%variant%psonum
+Summary:        wxWidgets HTML parser and renderer library
+Group:          System/Libraries
+
+%description -n libwx_%{toolkit}u_html-%variant%psonum
+The wxHTML library provides classes for parsing and displaying HTML.
+It is not intended to be a high-end HTML browser. wxHTML can be used
+as a generic rich text viewer – for example, to display an About Box
+or the result of a database search.
+%{?extra_description}
+
+%package -n libwx_%{toolkit}u_media-%variant%psonum
+Summary:        wxWidgets media class library
+Group:          System/Libraries
+
+%description -n libwx_%{toolkit}u_media-%variant%psonum
+wxMediaCtrl is a class for displaying types of media, such as videos,
+audio files, natively through native codecs.
+
+%package -n libwx_%{toolkit}u_propgrid-%variant%psonum
+Summary:        wxWidgets property grid class library
+Group:          System/Libraries
+
+%description -n libwx_%{toolkit}u_propgrid-%variant%psonum
+wxPropertyGrid is a specialized grid for editing properties, in other
+words, name=value pairs.
+
+%package -n libwx_%{toolkit}u_qa-%variant%psonum
+Summary:        wxWidgets quality assurance class library
+Group:          System/Libraries
+
+%description -n libwx_%{toolkit}u_qa-%variant%psonum
+This is the library containing extra classes for quality
+assurance, containing the wxDebugReport class. wxDebugReport is
+used to generate a debug report, containing information about the
+program current state.
+
+%package -n libwx_%{toolkit}u_ribbon-%variant%psonum
+Summary:        wxWidgets's ribbon user interface library
+Group:          System/Libraries
+
+%description -n libwx_%{toolkit}u_ribbon-%variant%psonum
+The wxRibbon library is a set of classes for writing a ribbon user
+interface.
+
+%package -n libwx_%{toolkit}u_richtext-%variant%psonum
+Summary:        wxWidgets Rich Text editor class library
+Group:          System/Libraries
+
+%description -n libwx_%{toolkit}u_richtext-%variant%psonum
+wxRichTextCtrl provides a generic implementation of a rich text
+editor that can handle different character styles, paragraph
+formatting, and images. It is intended for "natural" text in the
+sense that source code is better served by wxStyledTextCtrl.
+
+%package -n libwx_%{toolkit}u_stc-%variant%psonum
+Summary:        wxWidgets styled text class library
+Group:          System/Libraries
+
+%description -n libwx_%{toolkit}u_stc-%variant%psonum
+A wxWidgets implementation of the Scintilla source code editing component.
+
+%package -n libwx_%{toolkit}u_webview-%variant%psonum
+Summary:        wxWidgets HTML/browser class library
+Group:          System/Libraries
+
+%description -n libwx_%{toolkit}u_webview-%variant%psonum
+Library for a wxWidgets control that can be used to render web
+(HTML / CSS / JavaScript) documents.
+
+%package -n libwx_%{toolkit}u_xrc-%variant%psonum
+Summary:        wxWidgets's XML-based resource system
+Group:          System/Libraries
+
+%description -n libwx_%{toolkit}u_xrc-%variant%psonum
+The XML-based resource system of wxWidgets, known as XRC, allows user
+interface elements such as dialogs, menu bars and toolbars, to be
+stored in text files and loaded into the application at run-time.
+
+%package -n %{base_name}-plugin-sound_sdlu-3_2
+Summary:        wxWidgets SDL Plugin
+Group:          System/Libraries
+
+%description -n %{base_name}-plugin-sound_sdlu-3_2
+SDL based sound plugin for the wxWidgets cross-platform GUI.
+
+%package devel
+Summary:        Development files for %name
+Group:          Development/Libraries/C and C++
+%if "%toolkit" == "gtk2"
+Requires:       gtk2-devel
+%endif
+%if "%toolkit" == "gtk3"
+Requires:       pkgconfig(gtk+-3.0)
+%endif
+%if "%toolkit" == "qt"
+Requires:       pkgconfig(Qt5OpenGL) >= 5.2.1
+Requires:       pkgconfig(Qt5Widgets) >= 5.2.1
+%endif
+Requires:       libwx_%{toolkit}u_adv-%variant%psonum = %version
+Requires:       libwx_%{toolkit}u_aui-%variant%psonum = %version
+Requires:       libwx_%{toolkit}u_core-%variant%psonum = %version
+Requires:       libwx_%{toolkit}u_gl-%variant%psonum = %version
+Requires:       libwx_%{toolkit}u_html-%variant%psonum = %version
+Requires:       libwx_%{toolkit}u_media-%variant%psonum = %version
+Requires:       libwx_%{toolkit}u_propgrid-%variant%psonum = %version
+Requires:       libwx_%{toolkit}u_qa-%variant%psonum = %version
+Requires:       libwx_%{toolkit}u_ribbon-%variant%psonum = %version
+Requires:       libwx_%{toolkit}u_richtext-%variant%psonum = %version
+Requires:       libwx_%{toolkit}u_stc-%variant%psonum = %version
+%if %{with webview}
+Requires:       libwx_%{toolkit}u_webview-%variant%psonum = %version
+%endif
+Requires:       libwx_%{toolkit}u_xrc-%variant%psonum = %version
+Requires:       libwx_base-%variant-devel = %version
+Requires:       pkgconfig(gl)
+Requires:       pkgconfig(glu)
+Provides:       wxWidgets-any-devel
+Conflicts:      wxWidgets-any-devel
+%if "%toolkit" == "gtk2"
+Provides:       wxGTK2-devel = %version-%release
+Provides:       wxWidgets-devel = %version-%release
+# Name up to openSUSE 11.3 and up to wxGTK-2.8.x:
+Provides:       wxGTK-devel = %version-%release
+Obsoletes:      wxGTK-devel < %version-%release
+%endif
+%if "%toolkit" == "gtk3"
+%if "%flavor" != "GTK3-nostl"
+Provides:       wxGTK3-devel = %version-%release
+%endif
+%endif
+%if "%toolkit" == "qt"
+Provides:       wxQt-devel = %version-%release
+%endif
+
+%description devel
+wxWidgets is a C++ library abstraction layer for a number of GUI
+backends. Applications can be created for different GUIs (GTK+,
+Motif, MS Windows, MacOS X, Windows CE, GPE) from the same source
+code.
+
+This package contains all files needed for developing with %name.
+%{?extra_description}
+
+Note: wxWidgets variant devel packages are mutually exclusive. Please
+read %_docdir/%name/README.SUSE to pick a correct variant.
+
+%package xml
+Summary:        wxWidgets interface description
+Group:          Development/Libraries/C and C++
+BuildArch:      noarch
+
+%description xml
+wxWidgets is a C++ library abstraction layer for a number of GUI
+backends. Applications can be created for different GUIs (GTK+,
+Motif, MS Windows, MacOS X, Windows CE, GPE) from the same source
+code.
+
+This package contains the interface description in XML format,
+useful for generating bindings.
+
+%package html
+Summary:        wxWidgets API documentation
+Group:          Development/Libraries/C and C++
+BuildArch:      noarch
+
+%description html
+wxWidgets is a C++ library abstraction layer for a number of GUI
+backends. Applications can be created for different GUIs (GTK+,
+Motif, MS Windows, MacOS X, Windows CE, GPE) from the same source
+code.
+
+This package contains the API documentation in HTML format.
+
+%prep
+%autosetup -n wxWidgets-%version -p1
+cp %{S:2} .
+
+%build
+%if "%{flavor}" == "doc"
+pushd  docs/doxygen
+echo "DOT_IMAGE_FORMAT = svg" >> Doxyfile
+WX_SKIP_DOXYGEN_VERSION_CHECK=1 ./regen.sh xml
+WX_SKIP_DOXYGEN_VERSION_CHECK=1 ./regen.sh html
+
+%else
+autoconf -f -i
+# NOTE: gnome-vfs is deprecated. Disabled by default upstream.
+#
+# With 2.9.1:
+# --enable-accessibility is currently supported only in msw
+# --enable-extended_rtti does not compile
+
+%configure \
+	--enable-vendor=%variant \
+%if "%toolkit" == "qt"
+	--with-qt \
+%else
+	--with-gtk=%gtk_version \
+%endif
+	--enable-unicode \
+	--with-opengl \
+	--with-libmspack \
+	--with-sdl \
+	--enable-ipv6 \
+	--enable-mediactrl \
+	--enable-optimise \
+	%{wx_debug:--enable-debug=%{wx_debug}} \
+        --enable-repro-build \
+        --disable-glcanvasegl \
+        --enable-webrequest \
+%if "%flavor" == "GTK3-nostl"
+	--disable-stl \
+	--disable-plugins
+%else
+	--enable-stl \
+	--enable-plugins
+%endif
+
+%make_build
+%endif
+
+%install
+%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/
+
+%else
+
+export VENDORTAG='-$variant' # only needed for non-MSW
+%make_install
+%if !%base_packages
+# Drop libraries already supplied by another packages
+rm -fv "%buildroot/%_libdir"/libwx_baseu*.so* \
+	"%buildroot/%_libdir/wx/%wx_minor"/sound_sdlu-*.so
+%endif
+rm -Rfv %buildroot/%_datadir/locale
+
+# HACK: Fix wx-config symlink (bug introduced in 2.9.4).
+ln -sf $(echo %buildroot/%_libdir/wx/config/* | sed "s%%%buildroot%%%%") %buildroot/%_bindir/wx-config
+%endif
+
+%check
+%if "%{flavor}" != "doc"
+%make_build -C tests all
+pushd tests
+# Disable webrequest tests requiring network access
+export WX_TEST_WEBREQUEST_URL=0
+# Non-gui tests
+./test -l || true
+# ExecTestCase depends on xclock, and is fragile
+./test exclude:ExecTestCase exclude:[.]
+# Tests depending on a running X server
+# ./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
+
+%if "%{flavor}" == "doc"
+%files xml
+%doc docs/doxygen/out/xml/*.{xml,xslt}
+
+%files html
+%doc docs/doxygen/out/html/*.css
+%doc docs/doxygen/out/html/*.html
+%doc docs/doxygen/out/html/*.js
+%doc docs/doxygen/out/html/*.png
+%doc docs/doxygen/out/html/*.svg
+%doc docs/doxygen/out/html/generic
+%doc docs/doxygen/out/html/search
+
+%else
+
+%if %base_packages
+%files -n libwx_base-%variant-devel
+%_libdir/libwx_baseu*.so
+
+%files -n libwx_baseu-%variant%psonum
+%_libdir/libwx_baseu-%variant.so.%{sonum}*
+
+%files -n libwx_baseu_net-%variant%psonum
+%_libdir/libwx_baseu_net-%variant.so.%{sonum}*
+
+%files -n libwx_baseu_xml-%variant%psonum
+%_libdir/libwx_baseu_xml-%variant.so.%{sonum}*
+%endif
+
+%files -n libwx_%{toolkit}u_adv-%variant%psonum
+%_libdir/libwx_%{toolkit}u_adv-%variant.so.%{sonum}*
+
+%files -n libwx_%{toolkit}u_aui-%variant%psonum
+%_libdir/libwx_%{toolkit}u_aui-%variant.so.%{sonum}*
+
+%files -n libwx_%{toolkit}u_core-%variant%psonum
+%_libdir/libwx_%{toolkit}u_core-%variant.so.%{sonum}*
+
+%files -n libwx_%{toolkit}u_gl-%variant%psonum
+%_libdir/libwx_%{toolkit}u_gl-%variant.so.%{sonum}*
+
+%files -n libwx_%{toolkit}u_html-%variant%psonum
+%_libdir/libwx_%{toolkit}u_html-%variant.so.%{sonum}*
+
+%files -n libwx_%{toolkit}u_media-%variant%psonum
+%_libdir/libwx_%{toolkit}u_media-%variant.so.%{sonum}*
+
+%files -n libwx_%{toolkit}u_propgrid-%variant%psonum
+%_libdir/libwx_%{toolkit}u_propgrid-%variant.so.%{sonum}*
+
+%files -n libwx_%{toolkit}u_qa-%variant%psonum
+%_libdir/libwx_%{toolkit}u_qa-%variant.so.%{sonum}*
+
+%files -n libwx_%{toolkit}u_ribbon-%variant%psonum
+%_libdir/libwx_%{toolkit}u_ribbon-%variant.so.%{sonum}*
+
+%files -n libwx_%{toolkit}u_richtext-%variant%psonum
+%_libdir/libwx_%{toolkit}u_richtext-%variant.so.%{sonum}*
+
+%files -n libwx_%{toolkit}u_stc-%variant%psonum
+%_libdir/libwx_%{toolkit}u_stc-%variant.so.%{sonum}*
+
+%if %{with webview}
+%files -n libwx_%{toolkit}u_webview-%variant%psonum
+%_libdir/libwx_%{toolkit}u_webview-%variant.so.%{sonum}*
+%dir %_libdir/wx
+%dir %_libdir/wx/%wx_minor
+%_libdir/wx/%wx_minor/web-extensions/
+%endif
+
+%files -n libwx_%{toolkit}u_xrc-%variant%psonum
+%_libdir/libwx_%{toolkit}u_xrc-%variant.so.%{sonum}*
+
+%if %base_packages
+%if "%flavor" != "GTK3-nostl"
+%files -n %{base_name}-plugin-sound_sdlu-3_2
+%dir %_libdir/wx
+%dir %_libdir/wx/%wx_minor
+%_libdir/wx/%wx_minor/sound_sdlu-%wx_minor.so
+%endif
+%endif
+
+%files devel
+# Complete documentation is available in the docs packages.
+%doc docs/*.txt README.SUSE
+%_bindir/wxrc
+%_bindir/wxrc-%wx_minor
+%_bindir/*-config*
+%_datadir/aclocal
+%_datadir/bakefile
+%_includedir/wx-%wx_minor
+%_libdir/*.so
+%if %base_packages
+%exclude %_libdir/libwx_baseu*
+%endif
+%dir %_libdir/wx
+%_libdir/wx/config
+%_libdir/wx/include
+%endif
+
+%changelog
diff --git a/wxpython-mkdiff.sh b/wxpython-mkdiff.sh
new file mode 100644
index 0000000..13614da
--- /dev/null
+++ b/wxpython-mkdiff.sh
@@ -0,0 +1,12 @@
+#!/bin/sh
+
+# This script helps to find important differences between
+# wxWidgets/wxGTK and wxWidgets instance embedded in wxPython-src.
+
+VER=2.9.4
+PYREL=0
+find wxWidgets-${VER} wxPython-src-${VER}.${PYREL} -type f | while read ; do tr -d '\r' <"$REPLY" >"$REPLY".new ; mv "$REPLY".new "$REPLY" ; done
+find wxWidgets-${VER} wxPython-src-${VER}.${PYREL} -type f -exec sed -i /RCS-ID:/d {} \;
+find wxWidgets-${VER} wxPython-src-${VER}.${PYREL} -type f -exec sed -i /\$Id/d {} \;
+find wxWidgets-${VER} wxPython-src-${VER}.${PYREL} -name '*.wat' -exec rm {} \;
+LANG=C diff -ur wxWidgets-${VER} wxPython-src-${VER}.${PYREL} | grep -v ^Only >wxWidgets-to-wxpython-${VER}.${PYREL}.patch