Ticket #43969: FileZilla_3.8.1_2014-06-12.Portfile.diff
File FileZilla_3.8.1_2014-06-12.Portfile.diff, 4.9 KB (added by mojca (Mojca Miklavec), 10 years ago) |
---|
-
Portfile
6 6 7 7 name FileZilla 8 8 version 3.8.1 9 set nightly_date 2014-06-12 10 revision 1 9 11 categories www aqua 10 12 platforms darwin 11 13 maintainers strasweb.fr:rudloff openmaintainer … … 18 20 and an intuitive graphical user interface. 19 21 20 22 homepage https://filezilla-project.org/ 21 master_sites sourceforge:project/filezilla/FileZilla_Client/${version} 23 # master_sites sourceforge:project/filezilla/FileZilla_Client/${version} 24 master_sites https://filezilla-project.org/nightlies/${nightly_date} 22 25 23 checksums rmd160 6a1692fc1b6ca73b878d8b9c2dd147b1885cacf0\24 sha256 66bc9c082843ffdcb915c7902900b92bdf921ed7310f2a40ff6b96b03cfa1e4f26 checksums rmd160 2c4cc5cda84a012345dd487ad7239003e7424533 \ 27 sha256 109e2eb9fb3b0e07bfb369bb59ca577c2d668e7097d0d479fab8f823f3d7ae0b 25 28 26 29 depends_build port:pkgconfig 27 30 31 wxWidgets.use wxWidgets-3.0 32 28 33 depends_lib port:dbus \ 29 34 port:gettext \ 30 35 port:gmp \ … … 35 40 port:libidn \ 36 41 port:nettle \ 37 42 port:sqlite3 \ 38 port:xdg-utils 43 port:xdg-utils \ 44 port:${wxWidgets.port} 39 45 40 distname ${name}_${version}_src 46 # distname ${name}_${version}_src 47 # TODO: just for the nightly 48 distname FileZilla3-src 49 dist_subdir ${name}/${nightly_date} 50 41 51 use_bzip2 yes 42 52 worksrcdir filezilla-${version} 43 53 44 # http://trac.filezilla-project.org/ticket/ 827245 patchfiles patch- wxWidgets-3.0.diff54 # http://trac.filezilla-project.org/ticket/9578 55 patchfiles patch-src-interface-viewheader.cpp.diff 46 56 47 57 # http://trac.filezilla-project.org/ticket/5473 48 58 # http://sourceforge.net/p/tinyxml/patches/51/ 49 59 configure.args --with-tinyxml=builtin \ 50 60 --disable-manualupdatecheck \ 51 --disable-autoupdatecheck 61 --disable-autoupdatecheck \ 62 --with-wxdir=${wxWidgets.wxdir} 52 63 53 variant wxwidgets30 conflicts wxgtk28 wxwidgets28 description {Use wxWidgets 3.0 (not fully functional yet)} { 54 wxWidgets.use wxWidgets-3.0 55 depends_lib-append port:${wxWidgets.port} 56 configure.args-append --with-wxdir=${wxWidgets.wxdir} 57 configure.env-append WXRC=${wxWidgets.wxrc} 58 destroot { copy ${worksrcpath}/FileZilla.app ${destroot}${applications_dir} } 59 } 64 configure.env-append \ 65 WXRC=${wxWidgets.wxrc} 60 66 61 variant wxwidgets28 conflicts wxgtk28 wxwidgets30 description {Use 32-bit Carbon-based wxWidgets 2.8} { 62 wxWidgets.use wxWidgets-2.8 63 depends_lib-append port:${wxWidgets.port} 64 configure.args-append --with-wxdir=${wxWidgets.wxdir} 65 configure.env-append WXRC=${wxWidgets.wxrc} 66 destroot { copy ${worksrcpath}/FileZilla.app ${destroot}${applications_dir} } 67 destroot { 68 copy ${worksrcpath}/FileZilla.app ${destroot}${applications_dir} 67 69 } 68 70 69 # TODO: when FileZilla is built against wxGTK, it doesn't create an app; this needs (possibly an upstream) fix70 variant wxgtk28 conflicts wxwidgets28 wxwidgets30 description {Use wxWidgets 2.8 with GTK} {71 wxWidgets.use wxGTK-2.872 depends_lib-append port:${wxWidgets.port}73 configure.args-append --with-wxdir=${wxWidgets.wxdir}74 configure.env-append WXRC=${wxWidgets.wxrc}75 }76 77 if {![variant_isset wxwidgets30] && ![variant_isset wxwidgets28] && ![variant_isset wxgtk28]} {78 if {[vercmp $xcodeversion 4.4] >= 0} {79 default_variants +wxgtk2880 } else {81 default_variants +wxwidgets2882 }83 }84 85 71 livecheck.type regex 86 72 livecheck.url ${homepage}download.php?type=client 87 73 livecheck.regex /${name}_(\[0-9.\]+) -
files/patch-src-interface-viewheader.cpp.diff
1 http://trac.filezilla-project.org/ticket/9578 2 3 --- src/interface/viewheader.cpp.orig 4 +++ src/interface/viewheader.cpp 5 @@ -25,7 +25,12 @@ class CComboBoxEx : public wxComboBox 6 { 7 public: 8 CComboBoxEx(CViewHeader* parent) 9 - : wxComboBox(parent, wxID_ANY, _T(""), wxDefaultPosition, wxDefaultSize, wxArrayString(), wxCB_DROPDOWN | wxTE_PROCESS_ENTER | wxCB_SORT) 10 + : wxComboBox(parent, wxID_ANY, _T(""), wxDefaultPosition, wxDefaultSize, wxArrayString(), wxCB_DROPDOWN | wxTE_PROCESS_ENTER 11 +// http://trac.wxwidgets.org/ticket/12419 12 +#ifndef __WXOSX__ 13 + | wxCB_SORT 14 +#endif 15 + ) 16 { 17 m_parent = parent; 18 }