From c6c1880a8e8abd5c2b2111bc5e516feb293b0a33 Mon Sep 17 00:00:00 2001 From: Rmys Date: Wed, 27 Jul 2022 17:02:47 +0300 Subject: [PATCH] filezilla ver. bump --- network/ftp/filezilla/actions.py | 3 ++- .../ftp/filezilla/files/wxwidgets-3.2.patch | 27 +++++++++++++++++++ network/ftp/filezilla/pspec.xml | 11 ++++++-- network/library/libfilezilla/pspec.xml | 1 + 4 files changed, 39 insertions(+), 3 deletions(-) create mode 100644 network/ftp/filezilla/files/wxwidgets-3.2.patch diff --git a/network/ftp/filezilla/actions.py b/network/ftp/filezilla/actions.py index 34a90e41f0..dc97a13071 100644 --- a/network/ftp/filezilla/actions.py +++ b/network/ftp/filezilla/actions.py @@ -10,10 +10,11 @@ from pisi.actionsapi import shelltools from pisi.actionsapi import get def setup(): - shelltools.system("sed -i '/^#define/a #include ' src/interface/Mainfrm.h") + #shelltools.system("sed -i '/^#define/a #include ' src/interface/Mainfrm.h") #shelltools.export("WXRC", "/usr/bin/wxrc") #shelltools.export("LDFLAGS", "%s -lpthread" % get.LDFLAGS()) #pisitools.dosed("data/filezilla.desktop", "Icon=filezilla", "Icon=/usr/share/pixmaps/filezilla.png") + autotools.autoreconf("-fiv") autotools.configure("--disable-static \ --disable-manualupdatecheck \ --disable-autoupdatecheck \ diff --git a/network/ftp/filezilla/files/wxwidgets-3.2.patch b/network/ftp/filezilla/files/wxwidgets-3.2.patch new file mode 100644 index 0000000000..d804d5fce2 --- /dev/null +++ b/network/ftp/filezilla/files/wxwidgets-3.2.patch @@ -0,0 +1,27 @@ +diff -ru filezilla-3.60.1.orig/configure.ac filezilla-3.60.1/configure.ac +--- filezilla-3.60.1.orig/configure.ac 2022-07-07 23:16:56.929350754 +0200 ++++ filezilla-3.60.1/configure.ac 2022-07-11 19:02:07.212006501 +0200 +@@ -185,11 +185,6 @@ + equivalent variable and wxWidgets version is $MIN_WX_VERSION or above. + ]) + 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 +- AC_MSG_ERROR([You must use wxWidgets 3.0.x, wxWidgets 3.2 or higher is not yet supported.]) +- fi + + if test "${WX_VERSION_MAJOR}.${WX_VERSION_MINOR}" = "3.0"; then + MAC_REQUIRES_AQUA="YES" +diff -ru filezilla-3.60.1.orig/src/interface/search.h filezilla-3.60.1/src/interface/search.h +--- filezilla-3.60.1.orig/src/interface/search.h 2022-07-07 23:16:56.962684362 +0200 ++++ filezilla-3.60.1/src/interface/search.h 2022-07-11 19:01:24.584985318 +0200 +@@ -13,7 +13,7 @@ + class CSearchDialogFileList; + class CWindowStateManager; + +-class CSearchDialog final : protected CFilterConditionsDialog, public CStateEventHandler ++class CSearchDialog final : public CFilterConditionsDialog, public CStateEventHandler + { + friend class CSearchDialogFileList; + public: diff --git a/network/ftp/filezilla/pspec.xml b/network/ftp/filezilla/pspec.xml index 826a3675cf..72545a3915 100644 --- a/network/ftp/filezilla/pspec.xml +++ b/network/ftp/filezilla/pspec.xml @@ -13,7 +13,7 @@ app:gui Simple FTP Client Easy-to-use FTP Client which also supports SFTP. - https://download.filezilla-project.org/client/FileZilla_3.51.0_src.tar.bz2 + https://download.filezilla-project.org/client/FileZilla_3.60.2_src.tar.bz2 wxGTK3 wxGTK-common @@ -29,7 +29,7 @@ libfilezilla-devel - + wxwidgets-3.2.patch @@ -64,6 +64,13 @@ + + 2022-07-27 + 3.60.2 + Version bump. + Mustafa Cinasal + muscnsl@gmail.com + 2020-12-17 3.51.0 diff --git a/network/library/libfilezilla/pspec.xml b/network/library/libfilezilla/pspec.xml index 8db0f09417..9e01406d6f 100644 --- a/network/library/libfilezilla/pspec.xml +++ b/network/library/libfilezilla/pspec.xml @@ -25,6 +25,7 @@ functionality to build high-performing, platform-independent programs. libfilezilla + gmp libgcc gnutls nettle