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 [2020/02/05 11:15] ionic Add initial instructions for building libssh from source. Currently just unpacking and patching. |
wiki:development:build-howto-mswin:x2goclient [2023/05/08 22:20] (current) orion [Copying the nxproxy binaries] Use nxproxy\src\.libs\nxproxy.exe |
||
---|---|---|---|
Line 167: | Line 167: | ||
Move the patches to the respective source directory and apply them in order. | 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 460: | Line 516: | ||
- nx-libs 3.5: From '' | - nx-libs 3.5: From '' | ||
- nx-libs 3.5: From '' | - nx-libs 3.5: From '' | ||
- | - nx-libs 3.6: From '' | + | - nx-libs 3.6: From '' |
- nx-libs 3.6: From '' | - nx-libs 3.6: From '' | ||
Line 469: | Line 525: | ||
* '' | * '' | ||
* '' | * '' | ||
- | * '' | + | * '' |
* '' | * '' | ||
* '' | * '' | ||
Line 628: | Line 684: | ||
- libssh library ([[wiki: | - libssh library ([[wiki: | ||
* '' | * '' | ||
- | - libzip library (available [[http:// | ||
- | * '' | ||
- | - zlib library for libzip (available [[http:// | ||
- | * '' | ||
- zlib library for libssh (available [[http:// | - zlib library for libssh (available [[http:// | ||
* '' | * '' |