# hdw-linux xorg extensions # author: hackbard@hackdaworld.dyndns.org # [V] 6.8.1 # [S] 3-3 # [D] X11R6.8.1-src1.tar.gz http://ftp.gwdg.de/pub/x11/x.org/pub/X11R6.8.1/src/ # [D] X11R6.8.1-src2.tar.gz http://ftp.gwdg.de/pub/x11/x.org/pub/X11R6.8.1/src/ # [D] X11R6.8.1-src3.tar.gz http://ftp.gwdg.de/pub/x11/x.org/pub/X11R6.8.1/src/ # [D] X11R6.8.1-src4.tar.gz http://ftp.gwdg.de/pub/x11/x.org/pub/X11R6.8.1/src/ # [D] X11R6.8.1-src5.tar.gz http://ftp.gwdg.de/pub/x11/x.org/pub/X11R6.8.1/src/ # [D] X11R6.8.1-src6.tar.gz http://ftp.gwdg.de/pub/x11/x.org/pub/X11R6.8.1/src/ # [D] X11R6.8.1-src7.tar.gz http://ftp.gwdg.de/pub/x11/x.org/pub/X11R6.8.1/src/ custmain="1" custmain() { # extracting sources for i in 1 2 3 4 5 6 7; do echo "extracting xorg $ver package $i ..." tar --use-compress-program=gzip \ -xf $archdir/X11R${ver}-src${i}.tar.gz done # change to build directory cd xc # patching if [ -f $confdir/*.patch ] ; then for i in $confdir/*.patch; do echo "applying patch .." patch -Nfp1 < $i done fi for file in `grep '' -lr ./`; do echo "patching file $file ..." sed "s%#include %/* & */%g" $file > ${file}.tmp mv ${file}.tmp $file done # build $ install make World && make install && make install.man && # add entry to /etc/ld.so.conf [ -z `grep 'X11' $root/etc/ld.so.conf` ] && \ echo "/usr/X11R6/lib" >> $root/etc/ld.so.conf # add xdm + default config file (yes "" | xf86config ??) # symlink ln -svf X11R6 $root/usr/X11 }