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-macos:x2goclient [2013/09/26 08:53] sunweaver |
wiki:development:build-howto-macos:x2goclient [2015/08/27 01:43] (current) ionic Fix QMAKE_MAX_SDK => QMAKE_MAC_SDK typo. |
||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== | + | ====== |
- | ===== Build X2Go Client using Mac Ports ===== | + | ===== Build X2Go Client using MacPorts |
- | As X2Go Client is already in Mac Ports (thanks to Clemens Lang) it is possible | + | X2Go Client is available from MacPorts, maintained by Clemens Lang, who currently also builds the official X2Go Client DMGs. |
+ | |||
+ | If you just want to get a working version of X2Go Client you can just run '' | ||
+ | |||
+ | If you want to build a re-distributable DMG image such as the one available from the website, follow these steps (assuming you already have MacPorts installed): | ||
**Steps summarized: | **Steps summarized: | ||
- | - Install | + | - Install |
- | - Take a look at the dependency | + | - Install |
- | - And install those dependencies | + | |
- Get X2Go Client from X2Go Git | - Get X2Go Client from X2Go Git | ||
- | - Build X2Go Client | + | - Build X2Go Client |
- | So, first install the X2Go Client dependencies: | + | So, first install the X2Go Client dependencies |
< | < | ||
- | $ port echo depof: | + | $ sudo port install depof: |
- | $ sudo port install depof: | + | |
</ | </ | ||
- | Once the dependencies are installed, | + | Once the dependencies are installed, tweak some file permissions: |
< | < | ||
- | $ sudo port install dylibbundler | ||
$ sudo chmod u+w / | $ sudo chmod u+w / | ||
</ | </ | ||
- | If you omit the file permission tweak, dylibbundler will fail. | + | If you omit the file permission tweak, dylibbundler will fail to bundle OpenSSL with X2Go Client. |
At last, checkout X2Go Client from Git: | At last, checkout X2Go Client from Git: | ||
Line 35: | Line 36: | ||
If you want to build a specific version of X2Go Client, select that version with '' | If you want to build a specific version of X2Go Client, select that version with '' | ||
- | | + | |
- | In the X2Go Client source directory, simply run the '' | + | In the X2Go Client source directory, simply run the '' |
< | < | ||
Line 42: | Line 43: | ||
</ | </ | ||
+ | to generate '' | ||
- | ===== Build X2Go Client | + | ===== Build/ |
- | | + | |
+ | X2Go Client and it's dependencies are already formulated in Homebrew | ||
+ | |||
+ | We assume you've already installed Homebrew. | ||
+ | If not, please visit the [[http:// | ||
+ | |||
+ | It is possible to install X2Go Client in one command: < | ||
+ | |||
+ | |||
+ | ===== Build X2Go Client from Scratch | ||
==== Variables ==== | ==== Variables ==== | ||
Line 55: | Line 67: | ||
| $X2GO_DIST_INST | Installation directory of x2goclient dependencies | $X2GO_DIST_SRC/ | | $X2GO_DIST_INST | Installation directory of x2goclient dependencies | $X2GO_DIST_SRC/ | ||
| $NX_BASE_DIR | Common NX directory | /usr/src/NX | | | $NX_BASE_DIR | Common NX directory | /usr/src/NX | | ||
- | | $NX_LIBS_SRC | Directory containing the NX libs source tree | $NX_BASE_DIR/ | + | | $NX_LIBS_SRC | Directory containing the NX libs source tree | $NX_BASE_DIR/ |
| $NX_DIST_SRC | Directory containing NX libs dependencies source trees | $NX_BASE_DIR/ | | $NX_DIST_SRC | Directory containing NX libs dependencies source trees | $NX_BASE_DIR/ | ||
| $NX_DIST_INST | Installation directory of NX libs dependencies | $NX_DIST_SRC/ | | $NX_DIST_INST | Installation directory of NX libs dependencies | $NX_DIST_SRC/ | ||
Line 96: | Line 108: | ||
< | < | ||
- | # git clone git:// | + | $ wget http:// |
+ | $ tar xzf nx-libs-< | ||
+ | $ mv nx-libs-< | ||
</ | </ | ||