- Windows 10:
- Follow the instructions at Compiling FileZilla 3 under Windows upto (and excluding) "Setting up the environment" section
- Execute the following commands for setting up the environment:
$ mkdir ~/prefix $ echo 'export PATH="$HOME/prefix/bin:$HOME/prefix/lib:/mingw64/bin:/mingw32/bin:$PATH"' >> ~/.profile $ echo 'export PKG_CONFIG_PATH="$HOME/prefix/lib/pkgconfig"' >> ~/.profile $ echo 'export PATH="$HOME/prefix/bin:$HOME/prefix/lib:/mingw64/bin:/mingw32/bin:$PATH"' >> ~/.bash_profile $ echo 'export PKG_CONFIG_PATH="$HOME/prefix/lib/pkgconfig"' >> ~/.bash_profile
- Restart the MSYS2 MINGW64 shell.
- Follow the instructions at Building dependencies upto (and excluding) "Building libfilezilla" section
- Execute the following commands for building libfilezilla:
$ cd ~ $ curl -O https://download.filezilla-project.org/libfilezilla/libfilezilla-0.20.2.tar.bz2 $ tar xf libfilezilla-0.20.2.tar.bz2 $ cd libfilezilla-0.20.2 $ autoreconf -i $ ./configure --prefix="$HOME/prefix" --enable-shared --disable-static $ make && make install
- Please ensure there are no empty spaces in any folder name!
- Download FileZilla source from the bitbucket:
$ cd ~ $ git clone https://github.com/utropicmedia/storj-filezilla.git filezilla
- Generate C binding library files for Storj (RC-v1.0.1) management:
- Please ensure golang is installed
- storj-uplink-c go package
$ go get storj.io/uplink-c
- Copy the uplinkc_custom.go file (to be found in just downloaded filezilla/go/ folder) within the $HOME/go/src/storj.io/uplink-c/ folder at your local computer
- Generate the C binding:
$ go build -o libuplinkc.a -buildmode=c-archive
- Copy the generated libuplinkc.h, libuplinkc.a, and uplink_definitions.h files to the filezilla/src/storj/ folder in MSYS2
- Build FileZilla from source with Storj feature enable:
$ cd ~/filezilla $ autoreconf -i $ ./configure --with-pugixml=builtin --enable-storj $ make
- Follow the instructions at Stripping debug symbols upto "Compile the installer script" section
[INFO] List of softwares, packages, libraries, and dependencies to build FileZilla with Storj (RC-v1.0.1) on Windows (64-bit)
-
autoconf
-
automake
-
libtool
-
make
-
git
-
svn
-
gmp
- v6.2.0
-
nettle
- v3.5.1
-
zlib
- v1.2.11
-
gnutls
- v3.6.13
-
sqlite
- v3.25.3
-
wxWidgets
- v3.0.5
-
libfilezilla
- v0.20.2
-
Storj (RC-v1.0.1) Dependencies
- The repository already contains certain libraries (libuplinkc.a, libuplinkc.h) and header files (uplink_definitions.h), generated/taken from the following:
-
Mac OS X:
-
Follow the instructions at Compiling FileZilla 3 under Mac OS X upto (and excluding) "GnuTLS" section
-
Execute the following commands for building GnuTLS:
$ cd ~/src $ curl -OL ftp://ftp.gnutls.org/gcrypt/gnutls/v3.6/gnutls-3.6.7.1.tar.xz $ tar xvf gnutls-3.6.7.1.tar.xz $ cd gnutls-3.6.7 $ ./configure --prefix="$HOME/prefix" --enable-shared --disable-static --with-included-libtasn1 --without-p11-kit --disable-doc --enable-local-libopts --disable-nls --with-included-unistring --disable-guile $ make
- Note: It would show various errors. Just ignore these errors and perform further steps as follows:
$ cd lib $ make install
-
Follow the instructions from Compile SQLite upto (and excluding) "Compile wxWidgets" section
-
Execute the following commands for building wxWidgets:
$ cd ~/src $ curl -OL https://github.com/wxWidgets/wxWidgets/releases/download/v3.0.4/wxWidgets-3.0.4.tar.bz2 $ tar xvf wxWidgets-3.0.4.tar.bz2 $ sed -i '' "s/std::auto_ptr<CaseFolder> pcf(CaseFolderForEncoding());/std::unique_ptr<CaseFolder> pcf(CaseFolderForEncoding());/g" ~/src/wxWidgets-3.0.4/src/stc/scintilla/src/Editor.cxx $ cd wxWidgets-3.0.4 $ ./configure --prefix="$HOME/prefix" --enable-shared --disable-static --disable-webkit --disable-webview --with-macosx-version-min=10.11 $ make $ make install
-
- Execute the following commands for building libfilezilla:
$ cd ~/src $ curl -OL https://download.filezilla-project.org/libfilezilla/libfilezilla-0.20.2.tar.bz2 $ tar xf libfilezilla-0.20.2.tar.bz2 $ cd libfilezilla-0.20.2 $ ./configure --prefix="$HOME/prefix" --enable-shared --disable-static $ make $ make install
- Please ensure there are no empty spaces in any folder name!
-
Download FileZilla source from the bitbucket:
$ cd ~ $ git clone https://github.com/utropicmedia/storj-filezilla.git filezilla
-
Generate C binding library files for Storj (RC-v1.0.1) management:
- Please ensure golang is installed
- storj-uplink-c go package
$ go get storj.io/uplink-c
- Copy the uplinkc_custom.go file (to be found in just downloaded filezilla/go/ folder) within the $HOME/go/src/storj.io/uplink-c/ folder at your local computer
- Generate the C binding:
$ go build -o libuplinkc.a -buildmode=c-archive
- Copy the generated libuplinkc.h, libuplinkc.a, and uplink_definitions.h files to the filezilla/src/storj/ folder
-
Build FileZilla from source with Storj feature enable:
$ cd ~/src/filezilla $ find . -name \*.m4|xargs dos2unix $ find . -name \*.ac|xargs dos2unix $ find . -name \*.am|xargs dos2unix $ dos2unix data/dylibcopy.sh $ autoreconf -i $ ./configure --with-pugixml=builtin --enable-storj
- NOTE: In Mac OS X, it may be required to allow execution of data/dylibcop.sh. Hence, please execute the following on the command prompt:
$ cd data && chmod 777 dylibcopy.sh && cd .. $ sudo make
- The generated FileZilla.app application is found within the current 'filezilla' folder itself
- Copy the FileZilla.app within an empty folder
- Create a disk image (.dmg) file from this folder, by following instructions at Create a disk image from a folder or connected device
- This disk image (.dmg file) can be shared with other Mac users
[INFO] List of softwares, packages, libraries, and dependencies to build FileZilla with Storj (RC-v1.0.1) on MAC OS (64-bit)
- Xcode
- pkg-config
- v0.29.2
- libidn
- v1.35
- GMP
- v6.1.2
- Nettle
- v3.4.1
- GnuTLS
- v3.6.7.1
- SQLite
- v3.26.0
- gettext
- v0.19.8
- wxWidgets
- v3.0.4
- libfilezilla
- v0.20.2
- Compiling FileZilla 3 under Windows
- Compiling FileZilla 3 under macOS
- Create a disk image from a folder or connected device
- About Storj connection with FileZilla
- Storj (RC-v1.0.1) uplink-c
-
The project has been tested on the following operating systems:
-
Windows 10 Pro
- Processor: Intel(R) Core(TM) i3-5005U CPU @ 2.00GHz 2.00GHz
-
macOS Catalina
- Version: 10.15.4
- Processor: 2.5 GHz Dual-Core Intel Core i5