Xorg libraries for Linuxbrew users
brew tap linuxbrew/homebrew-xorg &&
brew install xorg
This will install (all) Xorg libraries. To see the progress of the installation, enable verbose messaging by providing the -v
(--verbose
) flag:
brew install -v xorg
You can also install individual libraries/packages provided in this tap by running
brew install <formula-name>
Main dependencies of the Xorg libraries are:
pkg-config
: to build packages from sourcefontconfig
: required bylibxft
freetype
: required bylibxfont
python
: required byxcb-proto
To build documentation (enabled with --with-docs
flag), the following packages are required:
xorg-sgml-doctools
xmlto
fop
1libxslt
asciidoc
w3m
2
1: reciprocal dependency is not resolved at the present time but it does not affect the build process
2: Not used at the moment
Installation proceeds according to the instructions from Linux From Scratch
To build documentation, use --with-docs
flag, i.e.:
brew install xorg --with-docs
This will install xorg-docs
package and enable the following dependencies: fop
, libxslt
, xmlto
.
There is an additional dependency on asciidoc
for inputproto
and libxi
packages.
To see the list of optional flags when compiling libraries with documentation, use:
brew info xorg --with-docs
To use python3
when building xcb-proto
package, use --with-python3
flag, i.e.:
brew install xorg --with-python3
When building packages from source code, compile-time tests are enabled by default.
To skip then, use --without-test
flag, i.e.:
brew install xorg --build-from-source --without-test
You can also build static libraries (though, this is neither required nor recommended) using --with-static
flag, i.e.:
brew install xorg --with-static
You can combine (all) of the above options (flags), i.e.:
brew install xorg --with-docs --with-python3
- Reciprocal dependency with
fop
is not resolved. As a result, not all documentation might be built. - Provide other Xorg packages