Git-Url: 
http://git.frugalware.org/gitweb/gitweb.cgi?p=frugalware-current.git;a=commitdiff;h=3453bc3f05d72a8c0feb80da63b5fe22ece1d262

commit 3453bc3f05d72a8c0feb80da63b5fe22ece1d262
Author: crazy <[email protected]>
Date:   Sun Feb 26 21:32:47 2017 +0100

filezilla-3.24.1-1-x86_64
* Version bump
* well added an patch to build against wx 3.1.x ..
* we should just remove all the wx* crap from the repos

diff --git a/source/xapps-extra/filezilla/FrugalBuild 
b/source/xapps-extra/filezilla/FrugalBuild
index 4499031..8d3cfa8 100644
--- a/source/xapps-extra/filezilla/FrugalBuild
+++ b/source/xapps-extra/filezilla/FrugalBuild
@@ -3,7 +3,7 @@
# Contributor: PacMiam <[email protected]>

pkgname=filezilla
-pkgver=3.22.2.2
+pkgver=3.24.1
pkgrel=1
pkgdesc="a fast and reliable cross-platform FTP, FTPS and SFTP client"
url="https://filezilla-project.org/";
@@ -24,9 +24,19 @@ _F_sourceforge_dirname="$pkgname"
_F_sourceforge_name="FileZilla"
_F_sourceforge_sep="_"
_F_gnome_iconcache="y"
-Finclude sourceforge gnome-scriptlet
+Finclude sourceforge
up2date="lynx -dump 
http://sourceforge.net/projects/filezilla/files/FileZilla_Client/ | grep 
'http.*filezilla/.*FileZilla_Client/.*/$'|sed 's|.*/\(.*\)/|\1|;q' "
-#source=(${source[@]} fix_wxtimer.patch)
-sha1sums=('2173f57f395ed736482b5ba71ac3a9399b464967')
+source+=(compile-with-wx-3.1.patch)
+sha1sums=('cee06df166d998abd0e5e12b4a90c959d5e05b35' \
+          'd2070477f47b776a1611f7e29e4cb0d9a8ee912e')
+_Fbuild_no_patch=yes
+
+build() {
+
+       Fcd
+       Fpatchall
+       Fautoreconf
+       Fbuild
+}

# optimization OK
diff --git a/source/xapps-extra/filezilla/compile-with-wx-3.1.patch 
b/source/xapps-extra/filezilla/compile-with-wx-3.1.patch
new file mode 100644
index 0000000..c6af0a4
--- /dev/null
+++ b/source/xapps-extra/filezilla/compile-with-wx-3.1.patch
@@ -0,0 +1,15 @@
+diff -Naur filezilla-3.24.1/configure.ac filezilla-3.24.1-p/configure.ac
+--- filezilla-3.24.1/configure.ac      2017-02-21 22:01:46.000000000 +0100
++++ filezilla-3.24.1-p/configure.ac    2017-02-26 21:18:55.056478244 +0100
+@@ -177,11 +177,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
+
+   # --universal=no doesn't work correctly, it still accepts universal builds. 
Reject it manually here.
+   if echo "$WX_CPPFLAGS" | grep __WXUNIVERSAL__ > /dev/null; then
_______________________________________________
Frugalware-git mailing list
[email protected]
http://frugalware.org/mailman/listinfo/frugalware-git

Reply via email to