Rebuild with wxWidgets 3.2

This commit is contained in:
Scott Talbert 2022-08-04 20:04:27 -04:00
commit 35e9b2e94a
2 changed files with 18 additions and 3 deletions

11
xmlcopyeditor-wx3.2.patch Normal file
View file

@ -0,0 +1,11 @@
diff -up xmlcopyeditor-1.2.1.3/src/xmlcopyeditor.cpp.wx32 xmlcopyeditor-1.2.1.3/src/xmlcopyeditor.cpp
--- xmlcopyeditor-1.2.1.3/src/xmlcopyeditor.cpp.wx32 2014-09-05 21:54:53.000000000 -0400
+++ xmlcopyeditor-1.2.1.3/src/xmlcopyeditor.cpp 2022-08-04 19:57:04.794351751 -0400
@@ -276,7 +276,6 @@ bool MyApp::OnInit()
case wxLANGUAGE_SPANISH_GUATEMALA:
case wxLANGUAGE_SPANISH_HONDURAS:
case wxLANGUAGE_SPANISH_MEXICAN:
- case wxLANGUAGE_SPANISH_MODERN:
case wxLANGUAGE_SPANISH_NICARAGUA:
case wxLANGUAGE_SPANISH_PANAMA:
case wxLANGUAGE_SPANISH_PARAGUAY:

View file

@ -1,22 +1,23 @@
Name: xmlcopyeditor
Version: 1.2.1.3
Release: 19%{?dist}
Release: 20%{?dist}
Summary: A fast, free, validating XML editor
License: GPLv2
URL: http://xml-copy-editor.sourceforge.net/
Source0: http://downloads.sourceforge.net/xml-copy-editor/%name-%version.tar.gz
Patch0: xmlcopyeditor-wx3.2.patch
BuildRequires: make
BuildRequires: gcc gcc-c++
BuildRequires: wxGTK3-devel pcre-devel aspell-devel boost-devel intltool
BuildRequires: wxGTK-devel pcre-devel aspell-devel boost-devel intltool
BuildRequires: xerces-c-devel libxslt-devel expat-devel desktop-file-utils libappstream-glib
%description
XML Copy Editor is a fast, free, validating XML editor.
%prep
%setup -q
%autosetup -p1
find src -type f -print0 | xargs -0 chmod a-x
tr -d '\r' < src/copying/gpl.txt > COPYING
chmod a-x AUTHORS COPYING NEWS
@ -46,6 +47,9 @@ appstream-util validate-relax --nonet %{buildroot}/%{_datadir}/appdata/%{name}.a
%{_mandir}/man1/%{name}*
%changelog
* Thu Aug 04 2022 Scott Talbert <swt@techie.net> - 1.2.1.3-20
- Rebuild with wxWidgets 3.2
* Sat Jul 23 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.1.3-19
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild