3 | | JHBuild |
| 4 | = X.Org - Build Instructions for JURECA |
| 5 | [[PageOutline]] |
| 6 | |
| 7 | |
| 8 | '''X.Org''' is free, open-source software. It provides an open source implementation of the X Window System. The development work is being done in conjunction with the freedesktop.org community. |
| 9 | |
| 10 | * [https://www.x.org X.Org] |
| 11 | * [https://www.freedesktop.org FreeDesktop.org] |
| 12 | |
| 13 | The best place to get X is from your operating system or distribution vendor. X.Org currently provides no binaries. |
| 14 | But if one wants to profit from recent updates and new features it makes sense to build X.Org from source. |
| 15 | |
| 16 | There are two maintained build processes you can use. One is based on a simple Bourne script (build.sh) and one is a customization of the Gnome JHBuild process. |
| 17 | '''We use the Gnome JHBuild process here.''' |
| 18 | |
| 19 | == 1. Preliminaries == |
| 20 | * General build instructions can be found here: |
| 21 | * https://www.x.org/wiki/Building_the_X_Window_System |
| 22 | * https://www.x.org/wiki/JhBuildInstructions |
| 23 | |
| 24 | {{{ #!sh |
| 25 | # set a build directory for X.org |
| 26 | export BASE=$(pwd) |
| 27 | |
| 28 | # load module environment for compiler |
| 29 | module load gcc/5.4.0 |
| 30 | }}} |
| 31 | |
| 32 | === JHBuild === |
| 33 | |
5 | | https://wiki.gnome.org/action/show/Projects/Jhbuild |
| 35 | * https://wiki.gnome.org/action/show/Projects/Jhbuild |
| 36 | |
| 37 | {{{ #!sh |
| 38 | ## build jhbuild and install in ~/.local/bin |
| 39 | cd ${BASE} |
| 40 | git clone https://git.gnome.org/browse/jhbuild |
| 41 | cd jhbuild |
| 42 | ./autogen.sh --simple-install |
| 43 | make |
| 44 | make install |
| 45 | }}} |
| 46 | |
| 47 | === Third-Party libs |
| 48 | |
| 49 | Some of the !ThirdParty packages need to be built first. These third party sources are required, but are not bundled. |
| 50 | * [https://www.gnu.org/software/gperf gperf] - version 3.1 works. |
| 51 | * [https://www.freetype.org FreeType] - version 2.4.0 works. |
| 52 | |
| 53 | {{{ #!sh |
| 54 | export PATH=${GPERF_ROOT}/bin:$PATH |
| 55 | export PKG_CONFIG_PATH=${FREETYPE_ROOT}/lib/pkgconfig:$PKG_CONFIG_PATH |
| 56 | }}} |
| 57 | |
| 58 | == 2. Setup X.Org Build Process == |
| 59 | Source packages are downloaded by JHBuild automatically. What is required is a |
| 60 | * xorg.modules file -> examples: https://cgit.freedesktop.org/xorg/util/modular/plain/xorg.modules |
| 61 | * xorg.jhbuildrc file -> example: https://cgit.freedesktop.org/xorg/util/modular/plain/jhbuildrc |
| 62 | |
| 63 | |
| 64 | |
| 65 | |