Changes between Version 1 and Version 2 of Software/X.Org


Ignore:
Timestamp:
03/02/17 14:33:11 (7 years ago)
Author:
Jens Henrik Goebbert
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Software/X.Org

    v1 v2  
    1 https://www.mesa3d.org/
     1''' !!! WORK IN PROGRESS    !!! '''\\
     2Last Update 03.2017, Authors: Jens Henrik Göbbert, ...
    23
    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
     13The best place to get X is from your operating system or distribution vendor. X.Org currently provides no binaries.
     14But if one wants to profit from recent updates and new features it makes sense to build X.Org from source.
     15
     16There 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
     26export BASE=$(pwd)
     27
     28# load module environment for compiler
     29module load gcc/5.4.0
     30}}}
     31
     32=== JHBuild ===
     33
    434JHBuild allows you to automatically download and compile modules for a complete rebuild of GNOME - this includes X.Org.
    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
     39cd ${BASE}
     40git clone https://git.gnome.org/browse/jhbuild
     41cd jhbuild
     42./autogen.sh --simple-install
     43make
     44make install
     45}}}
     46
     47=== Third-Party libs
     48
     49Some 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
     54export PATH=${GPERF_ROOT}/bin:$PATH
     55export PKG_CONFIG_PATH=${FREETYPE_ROOT}/lib/pkgconfig:$PKG_CONFIG_PATH
     56}}}
     57
     58== 2. Setup X.Org Build Process ==
     59Source 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