From a2a65120d090cbd57a650f95e0595df185299f14 Mon Sep 17 00:00:00 2001 From: Scott Talbert Date: Jan 20 2023 00:53:40 +0000 Subject: Rebuild with wxWidgets 3.2 --- diff --git a/filezilla.spec b/filezilla.spec index df6683b..7ab1e48 100644 --- a/filezilla.spec +++ b/filezilla.spec @@ -1,18 +1,19 @@ # Enable (1 = enabled/0 = disabled) if configure regeneration etc. is required. -%define run_autogen 0 +%define run_autogen 1 # Needs not yet packaged storj/uplink-c %bcond_with storj Name: filezilla Version: 3.62.2 -Release: 2%{?dist} +Release: 3%{?dist} Summary: FTP, FTPS and SFTP client License: GPLv2+ URL: https://filezilla-project.org/ Source0: https://download.filezilla-project.org/FileZilla_%{version}_src.tar.bz2 #Patch0: appdata.patch +Patch1: wxwidgets3.2.patch %if 0%{?rhel} == 8 # libuv-devel not present on s390x on EL-8 @@ -41,7 +42,7 @@ BuildRequires: golang-storj-uplink-c-devel BuildRequires: nettle-devel BuildRequires: pugixml-devel >= 1.7 BuildRequires: sqlite-devel -BuildRequires: wxGTK3-devel >= 3.0.4 +BuildRequires: wxGTK-devel BuildRequires: xdg-utils BuildRequires: make @@ -67,7 +68,7 @@ autoreconf -if %build # For wxGTK3 - needed to find wxrc -export WXRC=%{_bindir}/wxrc-3.0 +export WXRC=%{_bindir}/wxrc-3.2 # Do not use '--enable-buildtype=official' in configure. That option enables the # "check for updates" dialog to download new binaries from the official website. @@ -76,7 +77,7 @@ export WXRC=%{_bindir}/wxrc-3.0 --enable-locales \ --disable-manualupdatecheck \ --with-pugixml=system \ - --with-wx-config=wx-config-3.0 \ + --with-wx-config=wx-config-3.2 \ --with-dbus \ --enable-gnutlssystemciphers \ %if %{with storj} @@ -148,6 +149,9 @@ rm -rf $RPM_BUILD_ROOT%{_datadir}/%{name}/docs %{_libdir}/libfzclient-commonui* %changelog +* Thu Jan 19 2023 Scott Talbert - 3.62.2-3 +- Rebuild with wxWidgets 3.2 + * Thu Jan 19 2023 Fedora Release Engineering - 3.62.2-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild diff --git a/wxwidgets3.2.patch b/wxwidgets3.2.patch new file mode 100644 index 0000000..c462444 --- /dev/null +++ b/wxwidgets3.2.patch @@ -0,0 +1,15 @@ +--- filezilla-3.62.2/configure.ac 2022/12/01 09:54:16 10806 ++++ filezilla-3.62.2/configure.ac 2022/12/01 10:22:53 10807 +@@ -179,11 +179,7 @@ + ]) + fi + if test "${WX_VERSION_MAJOR}.${WX_VERSION_MINOR}" = "3.1"; then +- AC_MSG_ERROR([You must use wxWidgets 3.0.x, development versions of wxWidgets are not supported.]) +- elif test "${WX_VERSION_MAJOR}.${WX_VERSION_MINOR}" != "3.0"; then +- if ! echo "$WX_CPPFLAGS" | grep __WXMAC__ > /dev/null; then +- AC_MSG_ERROR([You must use wxWidgets 3.0.x, wxWidgets 3.2 or higher is not yet supported.]) +- fi ++ AC_MSG_ERROR([You must use wxWidgets 3.0.x, or 3.2.x, development versions of wxWidgets are not supported.]) + fi + + if test "${WX_VERSION_MAJOR}.${WX_VERSION_MINOR}" = "3.0"; then