[X2Go-Commits] [[X2Go Wiki]] page changed: wiki:development:build-howto-mswin:x2goclient

wiki-admin at x2go.org wiki-admin at x2go.org
Wed Feb 5 12:15:09 CET 2020

A page in your DokuWiki was added or changed. Here are the details:

Date        : 2020/02/05 11:15
Browser     : Mozilla/5.0 (X11; Linux x86_64; rv:71.0) Gecko/20100101 Firefox/71.0
IP-Address  :
Hostname    :
Old Revision: https://wiki.x2go.org/doku.php/wiki:development:build-howto-mswin:x2goclient?rev=1580897729
New Revision: https://wiki.x2go.org/doku.php/wiki:development:build-howto-mswin:x2goclient
Edit Summary: Add initial instructions for building libssh from source. Currently just unpacking and patching.
User        : ionic

@@ -121,8 +121,10 @@
  ==== Installing libssh ====
  You need libssh to build X2Go Client.
  X2Go Client 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://code.x2go.org/gitweb?p=x2goclient-contrib.git;a=tree;hb=HEAD | x2goclient-contrib.git]]
@@ -138,8 +140,33 @@
For MinGW 4.8:
  x2goclient-contrib\libssh\0.6.3-762055b-pageant-support-mingw482_bin\lib\*.* -> d:\i686-4.8.2-release-posix-dwarf-rt_v3-rev3\mingw32\i686-w64-mingw32\lib\
+ === 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://www.libssh.org/get-it/|the libssh website]].
+ Unpack it as usually. The X2Go Project keeps libssh source code at ''D:\Build\libssh\''.
+ Adapt any required patches so that they apply cleanup, build and work correctly.
+ We currently patch libssh to include support for PuTTY's Pageant ssh agent.
+ To rebase patches, the X2Go Project uses the private git repository at ''D:\Build\libssh\libssh-git'':
+   * update the repository: <code>git fetch origin</code>
+   * check out new release tag (or branch or whatever you intend to build later on): <code>git checkout
... (e.g., libssh-0.9.3)</code>
+   * create new branch based on the tag/commit/branch/...: <code>git branch ...-win32 (e.g., libssh-0.9.3-win32)</code>
+   * cherry-pick specific X2Go-related commits from older branches, one ''cherry-pick'' command per commit to be ported: <code>git cherry-pick ...-win32 (e.g., libssh-0.7.4-win32)</code>
+   * fix any merge conflicts, pull in other upstream code etc.
+   * update the commit message!
+   * when done, create patch files: <code>git format-patch HEAD~ (for one patch, use ~~ for two patches etc.)</code>
+ Move the patches to the respective source directory and apply them in order.
  ===== Build X2Go Client =====
  ==== Build X2Go Client from source ====

This mail was generated by DokuWiki at

More information about the x2go-commits mailing list