This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Next revision Both sides next revision | ||
wiki:development:build-howto-mswin:x2goclient [2018/06/07 06:48] ionic Typos, spelling, formatting, ... |
wiki:development:build-howto-mswin:x2goclient [2019/05/22 20:31] ionic [Creating an NSIS Installer] Update NSIS references and document the switch from NSIS Unicode to NSIS. |
||
---|---|---|---|
Line 152: | Line 152: | ||
< | < | ||
$ copy debian\changelog txt\ | $ copy debian\changelog txt\ | ||
- | git --no-pager log --since "2 years ago" --format=" | + | $ git --no-pager log --since "2 years ago" --format=" |
$ copy ChangeLog.gitlog txt\git-info | $ copy ChangeLog.gitlog txt\git-info | ||
</ | </ | ||
Line 195: | Line 195: | ||
The 2 binaries to copy are: | The 2 binaries to copy are: | ||
- | - x2goclient.exe (from the '' | + | - '' |
- | - x2gohelper.exe (from the '' | + | - '' |
However, you must decide where you wish to copy them. | However, you must decide where you wish to copy them. | ||
Line 205: | Line 205: | ||
==== Pack/ | ==== Pack/ | ||
- | You may want to pack X2Go Client to reduce it size. You can do it with [[http://upx.sourceforge.net/|upx]], which is available for Windows, Linux and Cygwin. | + | You may want to pack X2Go Client to reduce it size. You can do it with [[https://upx.github.io/|upx]], which is available for Windows, Linux and Cygwin. |
- | Official regular builds of X2Go Client are packed. Official debug builds of X2Go Client are not. | + | Official regular builds of X2Go Client are packed. Official debug builds of X2Go Client are not. There is no difference between nightly and release versions - both pack the release binary, while not packing the debug binary. |
It is available in [[http:// | It is available in [[http:// | ||
< | < | ||
- | x2goclient-contrib\upx\3.91_bin\upx.exe | + | x2goclient-contrib\upx\3.95_bin\upx.exe |
</ | </ | ||
The 2 files to pack are: | The 2 files to pack are: | ||
- | - x2goclient.exe | + | - '' |
- | - x2gohelper.exe | + | - '' |
===== Building nxproxy & OpenSSH (Optional) ===== | ===== Building nxproxy & OpenSSH (Optional) ===== | ||
Line 230: | Line 230: | ||
Download and start the [[https:// | Download and start the [[https:// | ||
- | Choose your Cygwin directory. For example | + | Choose your Cygwin directory. For example |
For the X2Go-WinBuilder VM, install to D: | For the X2Go-WinBuilder VM, install to D: | ||
Line 237: | Line 237: | ||
< | < | ||
- | setup-x86.exe -P " | + | $ setup-x86.exe -P " |
</ | </ | ||
Line 244: | Line 244: | ||
* '' | * '' | ||
* '' | * '' | ||
- | * '' | + | * '' |
* '' | * '' | ||
* '' | * '' | ||
Line 260: | Line 260: | ||
For building of OpenSSH Server, you will also need: | For building of OpenSSH Server, you will also need: | ||
- | * libedit-devel | + | * '' |
- | * libncurses-devel | + | * '' |
- | * openssl-devel | + | * '' |
- | * patch | + | * '' |
For OpenSSH you should install both, binary and source packages. Toggle the " | For OpenSSH you should install both, binary and source packages. Toggle the " | ||
Line 292: | Line 292: | ||
If you are doing official builds, install these **source** packages for both nxproxy and openssh: | If you are doing official builds, install these **source** packages for both nxproxy and openssh: | ||
- | * dash | + | * '' |
- | * cygwin | + | * '' |
- | * gcc (select source for: gcc-core) | + | * '' |
- | * libedit (select source for: libedit0) | + | * '' |
- | * libjpeg-turbo (select source for: libjpeg-devel) | + | * '' |
- | * libpng15 (select source for: libpng-devel) (X2Go Client 4.0.3.x) | + | * '' |
- | * libpng (select source for: libpng-devel) (X2Go Client 4.0.4.x+) | + | * '' |
- | * ncurses (select source for: libncurses-devel) | + | * '' |
- | * openssh (source, but not binary) | + | * '' |
- | * openssl | + | * '' |
- | * zlib (select source for: zlib-devel) | + | * '' |
==== Building nxproxy 3.5 ==== | ==== Building nxproxy 3.5 ==== | ||
Line 496: | Line 496: | ||
Open SSH Server binaries are ready. You can copy it into the program packaging folder ('' | Open SSH Server binaries are ready. You can copy it into the program packaging folder ('' | ||
- | * sftp.exe | + | * '' |
- | * sftp-server.exe | + | * '' |
- | * ssh-keygen.exe | + | * '' |
- | * sshd.exe | + | * '' |
For example: | For example: | ||
Line 509: | Line 509: | ||
First, copy these files over without changing their filenames. | First, copy these files over without changing their filenames. | ||
- | * cygcrypto-1.0.0.dll | + | * '' |
- | * cygedit-0.dll | + | * '' |
- | * cyggcc_s-1.dll | + | * '' |
- | * cygncursesw-10.dll | + | * '' |
- | * cygssp-0.dll | + | * '' |
- | * cygwin1.dll | + | * '' |
- | * cygz.dll | + | * '' |
For example: | For example: | ||
Line 588: | Line 588: | ||
=== Libraries === | === Libraries === | ||
- | - Add MinGW 4.8's libraries (copy from '' | + | - Add MinGW 4.8's libraries (copy from '' |
* '' | * '' | ||
- | * '' | + | * '' |
* '' | * '' | ||
- Add OpenSSL libraries (copy from your OpenSSL installation directory) | - Add OpenSSL libraries (copy from your OpenSSL installation directory) | ||
Line 603: | Line 603: | ||
- zlib library for libssh (available [[http:// | - zlib library for libssh (available [[http:// | ||
* '' | * '' | ||
- | - If you want to use X2Go Client on older versions of Windows, you should put the " | + | - If you want to use X2Go Client on older versions of Windows, you should put the " |
* '' | * '' | ||
* '' | * '' | ||
Line 708: | Line 708: | ||
===== Creating an NSIS Installer ===== | ===== Creating an NSIS Installer ===== | ||
- | Install NSIS Unicode | + | Install NSIS (currently, |
+ | |||
+ | Previously, we used NSIS Unicode, but this project is stale and NSIS 3.x nowadays supports Unicode. | ||
Then, edit '' | Then, edit '' |