1 # hdw-linux xorg extensions
3 # author: hackbard@hackdaworld.dyndns.org
8 # [D] X11R6.8.1-src1.tar.gz http://ftp.gwdg.de/pub/x11/x.org/pub/X11R6.8.1/src/
9 # [D] X11R6.8.1-src2.tar.gz http://ftp.gwdg.de/pub/x11/x.org/pub/X11R6.8.1/src/
10 # [D] X11R6.8.1-src3.tar.gz http://ftp.gwdg.de/pub/x11/x.org/pub/X11R6.8.1/src/
11 # [D] X11R6.8.1-src4.tar.gz http://ftp.gwdg.de/pub/x11/x.org/pub/X11R6.8.1/src/
12 # [D] X11R6.8.1-src5.tar.gz http://ftp.gwdg.de/pub/x11/x.org/pub/X11R6.8.1/src/
13 # [D] X11R6.8.1-src6.tar.gz http://ftp.gwdg.de/pub/x11/x.org/pub/X11R6.8.1/src/
14 # [D] X11R6.8.1-src7.tar.gz http://ftp.gwdg.de/pub/x11/x.org/pub/X11R6.8.1/src/
19 for i in 1 2 3 4 5 6 7; do
20 echo "extracting xorg $ver package $i ..."
21 tar --use-compress-program=gzip \
22 -xf $archdir/X11R${ver}-src${i}.tar.gz
25 # change to build directory
29 if [ -f $confdir/*.patch ] ; then
30 for i in $confdir/*.patch; do
31 echo "applying patch .."
35 for file in `grep '<linux/config.h>' -lr ./`; do
36 echo "patching file $file ..."
37 sed "s%#include <linux/config.h>%/* & */%g" $file > ${file}.tmp
42 make World && make install && make install.man &&
44 # add entry to /etc/ld.so.conf
45 [ -z `grep 'X11' $root/etc/ld.so.conf` ] && \
46 echo "/usr/X11R6/lib" >> $root/etc/ld.so.conf
48 # add xdm + default config file (yes "" | xf86config ??)
51 ln -svf X11R6 $root/usr/X11