This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
wiki:development:build-howto-mswin:x2goclient [2016/01/21 14:54] mikedep333 [Copying OpenSSH Server binaries] List the 3 possible folders to copy them to |
wiki:development:build-howto-mswin:x2goclient [2023/05/08 22:20] (current) orion [Copying the nxproxy binaries] Use nxproxy\src\.libs\nxproxy.exe |
||
---|---|---|---|
Line 13: | Line 13: | ||
===== Overview of third-party components ===== | ===== Overview of third-party components ===== | ||
- | X2Go Client for Windows needs several 3rd-party | + | X2Go Client for Windows needs several 3rd-party |
- | * [[wiki: | + | * [[wiki: |
- | * [[wiki: | + | * [[wiki: |
* [[wiki: | * [[wiki: | ||
- | * [[wiki: | + | * [[wiki: |
+ | |||
+ | * [[wiki: | ||
* [[wiki: | * [[wiki: | ||
- | All these programmes, as well as many of the libraries, can now be downloaded from [[http:// | + | All these programs, as well as many of the libraries, can now be downloaded from [[http:// |
They can also be built from source, or downloaded from their project sites. However, this howto only explains how to build nxproxy and OpenSSH. | They can also be built from source, or downloaded from their project sites. However, this howto only explains how to build nxproxy and OpenSSH. | ||
Line 34: | Line 36: | ||
===== Build Utilities ===== | ===== Build Utilities ===== | ||
- | For building X2Go Client, we highly recommend to install [[http:// | + | For building X2Go Client, we highly recommend to install [[http:// |
MSysGit provides a Unix-like shell (bash) environment, | MSysGit provides a Unix-like shell (bash) environment, | ||
Line 46: | Line 48: | ||
==== Installing MinGW ==== | ==== Installing MinGW ==== | ||
- | MinGW is a gcc compiler for Windows. You need it to build X2Go Client. | + | MinGW includes the GCC compiler |
Since X2Go Client 4.0.3.0, X2Go Client uses Qt 4.8.6 specifically. Qt 4.8.6 uses MinGW 4.8.x. Qt 4.8.6 for Windows recommends this specific build of MinGW, so it is this specific build that you should use. | Since X2Go Client 4.0.3.0, X2Go Client uses Qt 4.8.6 specifically. Qt 4.8.6 uses MinGW 4.8.x. Qt 4.8.6 for Windows recommends this specific build of MinGW, so it is this specific build that you should use. | ||
Line 70: | Line 72: | ||
=== Providing OpenSSL support in Qt === | === Providing OpenSSL support in Qt === | ||
- | As X2Go Client needs a Qt with SSL support you must install OpenSSL for MS Windows. OpenSSL depends on the [[http:// | + | As X2Go Client needs Qt built with SSL support you must install OpenSSL for MS Windows. OpenSSL depends on the [[https:// |
Download the OpenSSL installer for Windows by browsing [[http:// | Download the OpenSSL installer for Windows by browsing [[http:// | ||
Line 85: | Line 87: | ||
It is recommended to configure Qt to build statically linked applications. | It is recommended to configure Qt to build statically linked applications. | ||
- | This is how official X2Go Client builds are done | + | This is how official X2Go Client builds are done. |
It will take some time to reconfigure Qt for static builds. You surely can skip this step, but in this case you must provide Qt libraries with your X2Go Client binary. | It will take some time to reconfigure Qt for static builds. You surely can skip this step, but in this case you must provide Qt libraries with your X2Go Client binary. | ||
Line 98: | Line 100: | ||
Rebuild Qt: | Rebuild Qt: | ||
< | < | ||
- | $ make sub-src | + | $ make -j3 sub-src |
</ | </ | ||
Line 114: | Line 116: | ||
Rebuild Qt: | Rebuild Qt: | ||
< | < | ||
- | $ make sub-src | + | $ make -j3 sub-src |
</ | </ | ||
+ | |||
==== Installing libssh ==== | ==== Installing libssh ==== | ||
You need libssh to build X2Go Client. | You need libssh to build X2Go Client. | ||
- | X2Go Client 4.0.4.0 and later use libssh 0.7.x with pageant support. | + | X2Go Client 4.1.2.2 and later use libssh 0.9.x with pageant support. |
+ | |||
+ | === Pre-built Binaries === | ||
Get the **library** package built with MinGW 4.8.x (currently 4.8.2) from [[http:// | Get the **library** package built with MinGW 4.8.x (currently 4.8.2) from [[http:// | ||
Line 137: | Line 142: | ||
x2goclient-contrib\libssh\0.6.3-762055b-pageant-support-mingw482_bin\lib\*.* -> d: | x2goclient-contrib\libssh\0.6.3-762055b-pageant-support-mingw482_bin\lib\*.* -> d: | ||
</ | </ | ||
+ | |||
+ | === Building From Source === | ||
+ | |||
+ | If you want to rebuild the library (e.g., to backport fixes) or update it as part of the release process, follow these steps. | ||
+ | |||
+ | == Preparation == | ||
+ | |||
+ | Download the tarball from [[https:// | ||
+ | |||
+ | Unpack it as usually. The X2Go Project keeps libssh source code at '' | ||
+ | |||
+ | Adapt any required patches so that they apply cleanup, build and work correctly. | ||
+ | |||
+ | We currently patch libssh to include support for PuTTY' | ||
+ | |||
+ | To rebase patches, the X2Go Project uses the private git repository at '' | ||
+ | * update the repository: < | ||
+ | * check out new release tag (or branch or whatever you intend to build later on): < | ||
+ | * create new branch based on the tag/ | ||
+ | * cherry-pick specific X2Go-related commits from older branches, one '' | ||
+ | * fix any merge conflicts, pull in other upstream code etc. | ||
+ | * update the commit message! | ||
+ | * when done, create patch files: < | ||
+ | |||
+ | Move the patches to the respective source directory and apply them in order. | ||
+ | |||
+ | If needed, install or update '' | ||
+ | |||
+ | == Configuration == | ||
+ | |||
+ | Open a terminal window. Crucially, this must **not** be a '' | ||
+ | |||
+ | Make sure that the MinGW toolchain that was used to build Qt (and will be used to build X2Go CLient later on) is part of the %PATH% variable. On the X2Go Windows Builder, a session spawned via '' | ||
+ | |||
+ | Go to the unpacked source directory: < | ||
+ | |||
+ | Create and switch to a build subdirectory: | ||
+ | |||
+ | The pre-built libssh versions in '' | ||
+ | |||
+ | Call '' | ||
+ | |||
+ | == Build == | ||
+ | |||
+ | Build the software like any other, append '' | ||
+ | |||
+ | < | ||
+ | |||
+ | == Install == | ||
+ | |||
+ | It's recommended to make sure that the install staging area is clean (fully deleted or at least empty) before installing/ | ||
+ | |||
+ | This ensures that old/removed files won't linger around and that changes will not remain undetected. | ||
+ | |||
+ | < | ||
+ | " | ||
+ | |||
+ | Afterwards, clean and install the newly built files into the MinGW prefix: | ||
+ | |||
+ | Header files: | ||
+ | |||
+ | < | ||
+ | rm -rf " | ||
+ | cp -av " | ||
+ | </ | ||
+ | |||
+ | < | ||
+ | |||
+ | As such, it is important to keep these static DLL import libraries around on Windows, even if library is supposed to be used in a dynamically-linked fashion.</ | ||
+ | |||
+ | |||
+ | Library files: | ||
+ | |||
+ | < | ||
+ | for /R " | ||
+ | D: | ||
+ | cd " | ||
+ | for %I in (libssh*) do cp -av " | ||
+ | </ | ||
+ | |||
+ | Afterwards, optionally bundle the new libssh source and binaries in x2goclient-contrib. Explicitly document the command line invocation in a file named '' | ||
===== Build X2Go Client ===== | ===== Build X2Go Client ===== | ||
Line 151: | Line 237: | ||
< | < | ||
$ 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 170: | Line 255: | ||
X2Go Client binaries (x2goclient.exe & x2gohelper.exe) are in d: | X2Go Client binaries (x2goclient.exe & x2gohelper.exe) are in d: | ||
+ | |||
==== Build X2Go Client from source (debug build) ==== | ==== Build X2Go Client from source (debug build) ==== | ||
Repeat the instructions for "Build X2Go Client from source", | Repeat the instructions for "Build X2Go Client from source", | ||
Line 176: | Line 262: | ||
- Edit nsis\x2goclient.nsi so that the following lines: | - Edit nsis\x2goclient.nsi so that the following lines: | ||
- | * CreateShortCut " | + | < |
- | | + | |
- | | + | CreateShortCut " |
+ | CreateShortCut " | ||
+ | </ | ||
Are replaced with the following: | Are replaced with the following: | ||
- | * CreateShortCut " | + | < |
- | | + | |
- | | + | CreateShortCut " |
+ | CreateShortCut " | ||
+ | </ | ||
==== Copy the X2Go Client binaries to the desired folder ==== | ==== Copy the X2Go Client binaries to the desired folder ==== | ||
Line 189: | Line 280: | ||
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. | ||
- | - If you wish to run x2goclient from a folder without creating and running the NSIS installer , copy them to the '' | + | - If you wish to run x2goclient from a folder without creating and running the NSIS installer, copy them to the '' |
- | - If you wish to create an x2goclient NSIS installer, create the '' | + | - If you wish to create an x2goclient NSIS installer, create the '' |
==== 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 217: | Line 309: | ||
Official X2Go project builds usually rebuild nxproxy and OpenSSH if there are desired updates to those components, or if the cygwin libraries have been updated. | Official X2Go project builds usually rebuild nxproxy and OpenSSH if there are desired updates to those components, or if the cygwin libraries have been updated. | ||
- | Official X2Go project builds are kept under the x2goclient-contrib git repository under a folder like " | + | Official X2Go project builds are kept under the x2goclient-contrib git repository under a folder like " |
==== Installing Cygwin ==== | ==== Installing Cygwin ==== | ||
- | Download and start the [[https:// | + | Download and start the [[https:// |
- | Choose your cygwin | + | Choose your Cygwin |
For the X2Go-WinBuilder VM, install to D: | For the X2Go-WinBuilder VM, install to D: | ||
Line 229: | Line 322: | ||
< | < | ||
- | setup-x86.exe -P " | + | $ setup-x86.exe -P " |
</ | </ | ||
- | on installer page " | + | on installer page " |
* '' | * '' | ||
* '' | * '' | ||
* '' | * '' | ||
- | * '' | + | * '' |
* '' | * '' | ||
+ | * '' | ||
* '' | * '' | ||
* '' | * '' | ||
* '' | * '' | ||
- | * '' | + | * '' |
* '' | * '' | ||
+ | * '' | ||
* '' | * '' | ||
* '' | * '' | ||
* '' | * '' | ||
- | <note tip>By installing the '' | + | <note tip>By installing the '' |
- | 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 | + | For OpenSSH |
If you are updating the X2Go Windows build VM, X2Go-WinBuilder, | If you are updating the X2Go Windows build VM, X2Go-WinBuilder, | ||
Line 280: | Line 375: | ||
* '' | * '' | ||
* '' | * '' | ||
+ | * '' | ||
+ | * '' | ||
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 ==== | + | |
+ | ==== Building nxproxy | ||
+ | |||
+ | X2Go Client for Windows is currently built with nxproxy 3.5. | ||
- | * Open a cygwin shell and change to your build directory. In this example | + | * Open a cygwin shell and change to your build directory. In this example |
< | < | ||
$ cd / | $ cd / | ||
</ | </ | ||
- | * Download and extract the latest nx-libs-lite tarball from http:// | + | * Download and extract the latest nx-libs-lite tarball from [[http:// |
<note warning> | <note warning> | ||
Line 373: | Line 473: | ||
$ cp -p nxproxy.exe nxproxy.exe.unstripped | $ cp -p nxproxy.exe nxproxy.exe.unstripped | ||
$ strip nxproxy.exe | $ strip nxproxy.exe | ||
+ | $ cd .. | ||
+ | </ | ||
+ | |||
+ | ==== Building nxproxy 3.6 ==== | ||
+ | |||
+ | <note tip>X2Go Client for Windows is currently shipped with nxproxy 3.5, not 3.6. However, it should be safe to use 3.6.</ | ||
+ | <note important> | ||
+ | |||
+ | * Open a Cygwin shell and change to your build directory. In this example '' | ||
+ | < | ||
+ | $ cd / | ||
+ | </ | ||
+ | * Download [[nx-libs from Arctica on GitHub|https:// | ||
+ | < | ||
+ | git clone https:// | ||
+ | cd nx-libs | ||
+ | git checkout 3.6.x | ||
+ | </ | ||
+ | * Build nxcomp | ||
+ | < | ||
+ | $ cd nxcomp | ||
+ | $ autoreconf -vfi | ||
+ | $ ./configure | ||
+ | $ make | ||
+ | $ cd .. | ||
+ | </ | ||
+ | * Build nxproxy | ||
+ | < | ||
+ | $ cd nxproxy | ||
+ | $ autreoconf -vfi | ||
+ | $ ./configure | ||
+ | $ make | ||
+ | $ cp -p src/ | ||
+ | $ strip src/ | ||
$ cd .. | $ cd .. | ||
</ | </ | ||
Line 379: | Line 513: | ||
==== Copying the nxproxy binaries ==== | ==== Copying the nxproxy binaries ==== | ||
- | Now the nxproxy binary (nxproxy.exe) is ready. You can copy it into the programme | + | Now the nxproxy binary (nxproxy.exe) is ready. You can copy it into the program |
- | - From nxproxy directory (d: | + | - nx-libs 3.5: From '' |
- | - From nxcomp directory (d: | + | - nx-libs 3.5: From '' |
+ | - nx-libs 3.6: From '' | ||
+ | - nx-libs 3.6: From '' | ||
You must also copy required libraries into that folder. | You must also copy required libraries into that folder. | ||
- | - From cygwin directory (c: | + | - From cygwin directory ('' |
* '' | * '' | ||
* '' | * '' | ||
* '' | * '' | ||
- | * '' | + | * '' |
- | * '' | + | * '' |
* '' | * '' | ||
* '' | * '' | ||
Line 394: | Line 531: | ||
If you wish to facilitate debugging, or if you are updating x2goclient-contrib, | If you wish to facilitate debugging, or if you are updating x2goclient-contrib, | ||
- | - From nxproxy directory (d: | + | - nx-libs 3.5: From '' |
- | - From nxcomp directory (d: | + | - nx-libs 3.5: From '' |
* '' | * '' | ||
* '' | * '' | ||
+ | - nx-libs 3.6: From '' | ||
+ | - nx-libs 3.6: From '' | ||
+ | * '' | ||
+ | * '' | ||
+ | |||
+ | |||
==== Building OpenSSH Server ==== | ==== Building OpenSSH Server ==== | ||
- | Copy the source folder (downloaded and extracted from a tarball by cygwin) to your build directory. In this example | + | Copy the source folder (downloaded and extracted from a tarball by Cygwin) to your build directory. In this example |
< | < | ||
- | $cp -pr / | + | $ cp -pr / |
</ | </ | ||
- | cd to the openssh source directory, extract the upstream (openssh.com) tarball within, and cd to the lower-level source directory | + | '' |
< | < | ||
- | $cd / | + | $ cd / |
- | $tar -xzvf openssh-6.6p1.tar.gz | + | $ tar -xzvf openssh-6.6p1.tar.gz |
- | $cd openssh-6.6p1 | + | $ cd openssh-6.6p1 |
</ | </ | ||
- | Apply any patches that cygwin | + | Apply any patches that Cygwin |
< | < | ||
- | $patch < ../ | + | $ patch < ../ |
</ | </ | ||
Get and apply the X2Go patch, which enables use of the Open SSH Server with X2Go Client | Get and apply the X2Go patch, which enables use of the Open SSH Server with X2Go Client | ||
< | < | ||
- | $wget http:// | + | $ wget http:// |
- | $patch.exe < ../ | + | $ patch.exe < ../ |
</ | </ | ||
Build Open SSH Server | Build Open SSH Server | ||
< | < | ||
- | $./ | + | $ ./configure --libexecdir=/ |
- | $make | + | $ make |
- | $strip *.exe | + | $ strip *.exe |
</ | </ | ||
- | < | + | < |
+ | |||
+ | < | ||
+ | |||
+ | < | ||
==== Copying OpenSSH Server binaries ==== | ==== Copying OpenSSH Server binaries ==== | ||
- | Open SSH Server binaries are ready. You can copy it into the programme | + | Open SSH Server binaries are ready. You can copy it into the program |
- | *sftp.exe | + | * '' |
- | *sftp-server.exe | + | * '' |
- | *ssh-keygen.exe | + | * '' |
- | *sshd.exe | + | * '' |
- | To be able to run Open SSH Server you should also copy needed programs and libraries from cygwin directory (c:\cygwin\bin). | + | For example: |
+ | < | ||
+ | $ cp --preserve=time sftp.exe sftp-server.exe ssh-keygen.exe sshd.exe / | ||
+ | </ | ||
+ | To be able to run Open SSH Server you should also copy needed programs and libraries from the Cygwin directory (c: | ||
- | 1st, 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 | + | * '' |
- | 2nd, copy the Dash executable over and rename it: | + | For example: |
+ | < | ||
+ | $ cd /bin | ||
+ | $ cp --preserve=time cygcrypto-1.0.0.dll cygedit-0.dll cyggcc_s-1.dll cygncursesw-10.dll cygssp-0.dll cygwin1.dll cygz.dll / | ||
+ | </ | ||
+ | |||
+ | Then, copy the dash executable over and rename it: | ||
< | < | ||
ash.exe -> sh.exe | ash.exe -> sh.exe | ||
+ | </ | ||
+ | |||
+ | For example: | ||
+ | < | ||
+ | $ cp --preserve=time ash.exe / | ||
</ | </ | ||
Line 460: | Line 623: | ||
< | < | ||
- | |||
===== Copying 3rd-party libraries and components ===== | ===== Copying 3rd-party libraries and components ===== | ||
Line 483: | Line 645: | ||
You can then install all of them by using the '' | You can then install all of them by using the '' | ||
- | 1st, clone [[http:// | + | First, clone [[http:// |
- | 2nd, update | + | Now run the script |
- | * Do a find & replace in the script to replace | + | * '' |
- | * Do a find & replace in the script to replace | + | * '' |
- | + | * '' | |
- | Now run the script, telling it to copy to the '' | + | |
< | < | ||
- | cd x2goclient | + | $ cd x2goclient |
- | copy-deps-win32.bat dist | + | $ copy-deps-win32.bat |
</ | </ | ||
or to the '' | or to the '' | ||
< | < | ||
- | cd x2goclient | + | $ cd x2goclient |
- | copy-deps-win32.bat nsis\x2goclient | + | $ copy-deps-win32.bat nsis\x2goclient |
</ | </ | ||
Line 506: | Line 667: | ||
However, at the end: | However, at the end: | ||
- | - View the copy-deps-win32.bat file to determine the location of the cygwin | + | - View the '' |
- | - From the cygwin | + | - From the Cygwin |
- Replace nxproxy.exe with nxproxy.exe.unstripped | - Replace nxproxy.exe with nxproxy.exe.unstripped | ||
Line 514: | Line 675: | ||
=== Libraries === | === Libraries === | ||
- | - Add MinGW 4.8' | + | - Add MinGW 4.8' |
* '' | * '' | ||
- | * '' | + | * '' |
- | * libwinpthread-1.dll | + | * '' |
- Add OpenSSL libraries (copy from your OpenSSL installation directory) | - Add OpenSSL libraries (copy from your OpenSSL installation directory) | ||
* '' | * '' | ||
Line 523: | Line 684: | ||
- libssh library ([[wiki: | - libssh library ([[wiki: | ||
* '' | * '' | ||
- | | + | - zlib library for libssh (available [[http:// |
- | * '' | + | |
- | - zlib library for libzip (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 " |
- | * '' | + | * '' |
- | * '' | + | * '' |
- | * '' | + | * '' |
- | * '' | + | |
=== nxproxy === | === nxproxy === | ||
- | The latest version is available in [[http:// | + | The latest version is available in [[http:// |
You can download older versions, including their libraries, from here [[http:// | You can download older versions, including their libraries, from here [[http:// | ||
Line 549: | Line 706: | ||
Older builds do not have nxproxy.exe.unstripped; | Older builds do not have nxproxy.exe.unstripped; | ||
- | === OpenSSH | + | === OpenSSH |
X2Go Client for Windows uses a modified Cygwin OpenSSH Server for file sharing. | X2Go Client for Windows uses a modified Cygwin OpenSSH Server for file sharing. | ||
- | The latest version is available in [[http:// | + | The latest version is available in [[http:// |
You can download older versions from [[http:// | You can download older versions from [[http:// | ||
Line 567: | Line 724: | ||
Note that the files must be installed to the '' | Note that the files must be installed to the '' | ||
- | Even older Windows builds are available from [[http:// | + | Even older Windows builds are available from [[http:// |
=== VcXsrv - XP Compatible === | === VcXsrv - XP Compatible === | ||
Line 577: | Line 734: | ||
Note that the files must be installed to the '' | Note that the files must be installed to the '' | ||
- | Building VcXsrv from source is not the part of this Howto. However, it is documented | + | Building VcXsrv from source is not the part of this howto. However, it is documented |
All official X2Go Project builds use the 32-bit builds of VcXsrv. 64-bit builds are probably compatible with the 32-bit X2Go Client, but have not been tested. Furthermore, | All official X2Go Project builds use the 32-bit builds of VcXsrv. 64-bit builds are probably compatible with the 32-bit X2Go Client, but have not been tested. Furthermore, | ||
- | |||
- | If you are doing an official X2Go Project build of X2Go Client 4.0.3.x, use the version: 1.15.2.3+xp-vc2013+x2go1 | ||
- | The " | ||
If you do install VcXsrv via the setup installer, and you are building X2Go Client 4.0.3.x or later, select to install the fonts. They will be an optional component of X2Go Client for Windows in its installer. | If you do install VcXsrv via the setup installer, and you are building X2Go Client 4.0.3.x or later, select to install the fonts. They will be an optional component of X2Go Client for Windows in its installer. | ||
Line 589: | Line 743: | ||
Also, if you are doing an official X2Go Project build, remove these files that X2Go Client does not need and would take up extra space: | Also, if you are doing an official X2Go Project build, remove these files that X2Go Client does not need and would take up extra space: | ||
- | *iconv.dll | + | * '' |
- | *libgcc-s-sjlj-1.dll | + | * '' |
- | *libiconv-2.dll | + | * '' |
- | *libwinpthread-1.dll | + | * '' |
- | *libxml2.dll | + | * '' |
- | *libxml2-2.dll | + | * '' |
- | *plink.exe | + | * '' |
- | *uninstall.exe | + | * '' |
- | *xauth.exe | + | * '' |
- | *XCalc | + | * '' |
- | *xcalc.exe | + | * '' |
- | *XCalc-color | + | * '' |
- | *XClock | + | * '' |
- | *xclock.exe | + | * '' |
- | *XClock-color | + | * '' |
- | *Xcms.txt | + | * '' |
- | *xhost.exe | + | * '' |
- | *xlaunch.exe | + | * '' |
- | *xrdb.exe | + | * '' |
- | *xwininfo.exe | + | |
- | Also, if you are doing an official X2Go Project build, create this file in the VcXsrv folder: | + | Also, if you are doing an official X2Go Project build, before importing it into x2goclient-contrib, |
- | *vcxsrv-version.txt | + | Using Debian' |
- | And specify the version string of VcXsrv in it. The version string should be the only contents | + | < |
+ | $ cd / | ||
+ | $ find . -iname ' | ||
+ | </ | ||
+ | If you are doing an official X2Go Project build, create this file in the VcXsrv folder: | ||
+ | * '' | ||
+ | And specify the version string of VcXsrv in it. The version string should be the only content | ||
1.15.2.3+xp-vc2013+x2go1 | 1.15.2.3+xp-vc2013+x2go1 | ||
+ | |||
+ | If you are doing an official X2Go Project build, copy the project' | ||
+ | * '' | ||
+ | |||
+ | === x3270-fonts ==== | ||
+ | |||
+ | For IBM x3270 compatibility, | ||
+ | |||
+ | Note that versions prior to 3.6 are classified non-free by major distributions due to their custom, restrictive license. Do **not** use and (re-)distribute older versions than 3.6 with X2Go Client. | ||
+ | |||
+ | ==== Updating x3270 Fonts Package ==== | ||
+ | |||
+ | * Check the current licensing situation. Do **not** update the package if it becomes non-free again. | ||
+ | * Build the x3270 package, download a complete precompiled one or just fetch a binary fonts package. Debian conveniently offers one named [[https:// | ||
+ | * Create a new versioned subdirectory in the '' | ||
+ | * Extract the binary fonts. | ||
+ | * Make sure that all binary font files are located in one single directory called '' | ||
+ | * Get copyright and licensing information and place them into a file called '' | ||
+ | * Use Debian' | ||
+ | < | ||
+ | $ find misc -iname ' | ||
+ | </ | ||
+ | * For official builds, create timestamps script: | ||
+ | < | ||
+ | $ cd .. | ||
+ | $ ../ | ||
+ | </ | ||
+ | * For official builds, call the timestamps script in x2goclient-contrib' | ||
+ | * For official builds, update the [[https:// | ||
+ | |||
=== PuTTY === | === PuTTY === | ||
- | you can download PuTTY for Windows from [[http:// | + | You can download PuTTY for Windows from [[https:// |
These are the only binaries you need from PuTTY. Copy them directly into the '' | These are the only binaries you need from PuTTY. Copy them directly into the '' | ||
- | *plink.exe | + | * '' |
- | *pscp.exe | + | * '' |
+ | |||
+ | Out of courtesy, we also ship the following additional, not strictly needed binaries: | ||
+ | |||
+ | * '' | ||
+ | * '' | ||
+ | |||
===== 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 nsis/ | + | Then, edit '' |
- | Then, open nsis\x2goclient.nsi with NSIS Unicode. It will build an installer (*-setup.exe) | + | Then, open '' |
If you wish to build via the command-line, | If you wish to build via the command-line, | ||
< | < | ||
- | " | + | $ " |
</ | </ | ||
(Adjust path if on 32-bit Windows.) | (Adjust path if on 32-bit Windows.) |