no way to compare when less than two revisions
Differences
This shows you the differences between two versions of the page.
| — | en:scratchbook:xorg [2011/04/23 21:17] (current) – copy from old wiki domcox | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| + | ====== How-to Xorg - Modular graphical server ====== | ||
| + | |||
| + | Note SliTaz uses the Xvesa server provided by XFree86 and Xorg libraries, this page describes the compilation of Xorg libraries used by SliTaz. This document is primarily aimed at developers and contributors to the project, but it may be useful to all those seeking to rebuild Xorg and Xlib libraries from source generating a minimum of dependencies. | ||
| + | |||
| + | ===== Build Xorg automatically with Tazwok ===== | ||
| + | |||
| + | On SliTaz, if you have Tazwok installed, you can rebuild Xorg with a few commands. The wok contains a package called " | ||
| + | |||
| + | # tazpkg get-install slitaz-dev-pkgs | ||
| + | |||
| + | Then you can start to cook (if everything is ready, wok and development packages, etc), starting with the protos' | ||
| + | |||
| + | # tazwok cook xorg-dev-proto | ||
| + | # tazwok cook xorg | ||
| + | # tazwok cook xorg-dev | ||
| + | |||
| + | ===== Download Xorg (7.2) using wget ===== | ||
| + | |||
| + | Xorg is distributed in the form of modules, which is handy because you can only install what you want, but it takes a lot of downloads. To help, we have created a small script that downloads the minimum required for SliTaz; you can find the script " | ||
| + | |||
| + | # cd .. | ||
| + | # mkdir Xorg && cd Xorg | ||
| + | # cp slitaz-tools-1.1/ | ||
| + | # ./ | ||
| + | |||
| + | ===== Compile Xorg by hand ===== | ||
| + | |||
| + | Compiling Xorg can take a long time, there are many packages. To commence you need to compile the downloaded proto packages. You can use the command "make DESTDIR=$PWD/ | ||
| + | |||
| + | # cd proto | ||
| + | # tar xzf xproto-X11R7.2-7.0.10.tar.gz | ||
| + | # cd xproto-X11R7.2-7.0.10 | ||
| + | # ./configure --prefix=/ | ||
| + | | ||
| + | | ||
| + | # make | ||
| + | # make install | ||
| + | |||
| + | Compile libraries by taking again the options used by proto. Example using the package to compile xtrans, remember to run " | ||
| + | |||
| + | # cd .. && cd lib | ||
| + | # tar xzf xtrans-X11R7.2-1.0.3.tar.gz | ||
| + | # cd xtrans-X11R7.2-1.0.3 | ||
| + | # ./configure --prefix=/ | ||
| + | | ||
| + | | ||
| + | # make | ||
| + | # make install | ||
| + | # ldconfig | ||
| + | |||
| + | Once all the packaged libraries are compiled, you can begin to compile X applications such as the graphical terminal Xterm. Note: SliTaz uses the RGB package containing the / | ||
| + | |||
| + | # cd .. && cd app | ||
| + | # tar xzf xsetroot-$VERSION.tar.gz | ||
| + | # cd xsetroot-$VERSION | ||
| + | # ./configure --prefix=/ | ||
| + | | ||
| + | | ||
| + | # make && make install | ||