From beccaf82e2b1366885a9cf9959cf1a457d76a6a7 Mon Sep 17 00:00:00 2001 From: Scott Talbert Date: Jul 25 2022 23:37:29 +0000 Subject: Update to new upstream release 3.2.0 (#2101974) --- diff --git a/.gitignore b/.gitignore index 1686daf..2572008 100644 --- a/.gitignore +++ b/.gitignore @@ -3,3 +3,4 @@ /wxWidgets-3.1.5.tar.bz2 /wxWidgets-3.1.6.tar.bz2 /wxWidgets-3.1.7.tar.bz2 +/wxWidgets-3.2.0.tar.bz2 diff --git a/sources b/sources index f2f9757..5a8d44b 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (wxWidgets-3.1.7.tar.bz2) = 1e81ac2ac9f762fb2820521b858ee5e8431003fa5a2ca5dab6b13fa60937aef2396cd9ddb6cb003d13c97183cb938185090adbe2fa76bed75cf4e4ade396fd6c +SHA512 (wxWidgets-3.2.0.tar.bz2) = e55e7c5ac7abcacf2ecff7c22e367db17ff5a077d3d5d2aa7589e8ba7cc6695cfa48c0f00bcfdffeda8dc4f974f97a857fb61b4b300a724f7687d710fbb23967 diff --git a/wx-config b/wx-config index 6f65808..30f2a00 100644 --- a/wx-config +++ b/wx-config @@ -5,7 +5,7 @@ # Usage: wx-config [--arch ] # -version=3.1 +version=3.2 if [ $# -ge 2 ]; then if [ $1 = "--arch" ]; then diff --git a/wxGTK.spec b/wxGTK.spec index 63eda3b..8cbfa9b 100644 --- a/wxGTK.spec +++ b/wxGTK.spec @@ -1,11 +1,11 @@ %global srcname wxWidgets %global wxbasename wxBase %global gtk3dir bld_gtk3 -%global sover 7 +%global sover 0 Name: wxGTK -Version: 3.1.7 -Release: 2%{?dist} +Version: 3.2.0 +Release: 1%{?dist} Summary: GTK port of the wxWidgets GUI library License: wxWidgets URL: https://www.wxwidgets.org/ @@ -39,6 +39,7 @@ BuildRequires: graphviz BuildRequires: libsecret-devel BuildRequires: libcurl-devel # For Tests +BuildRequires: glibc-langpack-en BuildRequires: mesa-dri-drivers BuildRequires: xclock BuildRequires: xorg-x11-server-Xvfb @@ -164,7 +165,7 @@ This package provides documentation for the %{srcname} library. %autosetup -n %{srcname}-%{version} -p1 # patch some installed files to avoid conflicts with 2.8.* -sed -i -e 's|aclocal)|aclocal/wxwin31.m4)|' Makefile.in +sed -i -e 's|aclocal)|aclocal/wxwin32.m4)|' Makefile.in # fix plugin dir for 64-bit sed -i -e 's|/usr/lib\b|%{_libdir}|' wx-config.in configure @@ -203,19 +204,19 @@ rm %{buildroot}%{_bindir}/wx-config ##Install new and symlink install -p -D -m 755 %{SOURCE10} %{buildroot}%{_libexecdir}/%{name}/wx-config sed -i -e 's|=/usr|=%{_prefix}|' %{buildroot}%{_libexecdir}/%{name}/wx-config -ln -s ../..%{_libexecdir}/%{name}/wx-config %{buildroot}%{_bindir}/wx-config-3.1 +ln -s ../..%{_libexecdir}/%{name}/wx-config %{buildroot}%{_bindir}/wx-config-3.2 touch %{buildroot}%{_bindir}/wx-config #Alternatives setup with wxrc mv %{buildroot}%{_bindir}/wxrc* %{buildroot}%{_libexecdir}/%{name} -ln -s ../..%{_libexecdir}/%{name}/wxrc-3.1 %{buildroot}%{_bindir}/wxrc-3.1 +ln -s ../..%{_libexecdir}/%{name}/wxrc-3.2 %{buildroot}%{_bindir}/wxrc-3.2 touch %{buildroot}%{_bindir}/wxrc # move bakefiles to avoid conflicts with 2.8.* -mkdir %{buildroot}%{_datadir}/bakefile/presets/wx31 -mv %{buildroot}%{_datadir}/bakefile/presets/*.* %{buildroot}%{_datadir}/bakefile/presets/wx31 +mkdir %{buildroot}%{_datadir}/bakefile/presets/wx32 +mv %{buildroot}%{_datadir}/bakefile/presets/*.* %{buildroot}%{_datadir}/bakefile/presets/wx32 -%find_lang wxstd-3.1 +%find_lang wxstd-3.2 %check pushd %{gtk3dir}/tests @@ -271,26 +272,26 @@ fi %files -n %{wxbasename}-devel %ghost %{_bindir}/wx-config %ghost %{_bindir}/wxrc -%{_bindir}/wxrc-3.1 -%{_bindir}/wx-config-3.1 -%{_includedir}/wx-3.1 +%{_bindir}/wxrc-3.2 +%{_bindir}/wx-config-3.2 +%{_includedir}/wx-3.2 %{_libdir}/libwx_baseu*.so %dir %{_libdir}/wx %dir %{_libdir}/wx/config %dir %{_libdir}/wx/include -%{_datadir}/aclocal/wxwin31.m4 -%{_datadir}/bakefile/presets/wx31 +%{_datadir}/aclocal/wxwin32.m4 +%{_datadir}/bakefile/presets/wx32 %{_libexecdir}/%{name} %files devel %{_libdir}/libwx_gtk3u_*.so -%{_libdir}/wx/config/gtk3-unicode-3.1 -%{_libdir}/wx/include/gtk3-unicode-3.1 +%{_libdir}/wx/config/gtk3-unicode-3.2 +%{_libdir}/wx/include/gtk3-unicode-3.2 %files gl %{_libdir}/libwx_gtk3u_gl-*.so.%{sover}* -%files i18n -f wxstd-3.1.lang +%files i18n -f wxstd-3.2.lang %files media %{_libdir}/libwx_gtk3u_media-*.so.%{sover}* @@ -298,7 +299,7 @@ fi %files webview %{_libdir}/libwx_gtk3u_webview-*.so.%{sover}* %dir %{_libdir}/wx -%{_libdir}/wx/%{version} +%{_libdir}/wx/3.2 %files -n %{wxbasename} %doc docs/changes.txt docs/readme.txt @@ -312,6 +313,9 @@ fi %doc html %changelog +* Mon Jul 25 2022 Scott Talbert - 3.2.0-1 +- Update to new upstream release 3.2.0 (#2101974) + * Sat Jul 23 2022 Fedora Release Engineering - 3.1.7-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild