]> hackdaworld.org Git - hdw-linux/hdw-linux.git/commitdiff
xdirectfb fixes
authorhackbard <hackbard>
Thu, 11 Aug 2005 13:13:29 +0000 (13:13 +0000)
committerhackbard <hackbard>
Thu, 11 Aug 2005 13:13:29 +0000 (13:13 +0000)
doc/CHANGELOG
packages/hackbard/xdirectfb/xdirectfb

index f8b0cd54536cc55ff6359a0b7525af5768e9297d..eee898f671613a8c9d62f395b0483d43fa7b2118 100644 (file)
@@ -1,6 +1,7 @@
-*) 2005-08-07
+*) 2005-08-11
 
 - several package updates (stage 4)
+- xdirectfb changes (adapted from malis notebook)
 
 *) 2005-08-07
 
index 27504648371fb0da9136388e4f2fb1c42f0a58af..50a6edd9c8b2ad06840ca9e2c1b5afc088da752c 100644 (file)
@@ -5,18 +5,40 @@
 # [V] cvs
 # [S] 3-5
 # [D] XDirectFB.tar.bz2 cvs:anonymous:directfb.org:cvs/directfb:XDirectFB
-# [D] xc.tar.bz2 sshcvs:anoncvs:anoncvs.xfree86.org:cvs:xc
+## [D] xc.tar.bz2 sshcvs:anoncvs:anoncvs.xfree86.org:cvs:xc
+# [D] X11R6.8.2-src1.tar.gz http://ftp.gwdg.de/pub/x11/x.org/pub/X11R6.8.2/src/
+# [D] X11R6.8.2-src2.tar.gz http://ftp.gwdg.de/pub/x11/x.org/pub/X11R6.8.2/src/
+# [D] X11R6.8.2-src3.tar.gz http://ftp.gwdg.de/pub/x11/x.org/pub/X11R6.8.2/src/
+# [D] X11R6.8.2-src4.tar.gz http://ftp.gwdg.de/pub/x11/x.org/pub/X11R6.8.2/src/
+# [D] X11R6.8.2-src5.tar.gz http://ftp.gwdg.de/pub/x11/x.org/pub/X11R6.8.2/src/
+# [D] X11R6.8.2-src6.tar.gz http://ftp.gwdg.de/pub/x11/x.org/pub/X11R6.8.2/src/
+# [D] X11R6.8.2-src7.tar.gz http://ftp.gwdg.de/pub/x11/x.org/pub/X11R6.8.2/src/
 
+xver="6.8.2"; xtype="xorg"
 srcdir="XDirectFB-$ver"
 [ "$ver" = "cvs" ] && srcdir="XDirectFB"
 
 build_main()   {
-       echo "extracting xfree86 xc source ..."
-       tar --use-compress-program=bzip2 -xf $archdir/xc.tar.bz2 -C ../
+
+        if [ "$xtype" = "xorg" ] ; then
+               for i in 1 2 3 4 5 6 7; do
+                       echo "extracting $xtype $xver package $i ..."
+                       tar --use-compress-program=gzip -C ../ \
+                               -xf $archdir/X11R${xver}-src${i}.tar.gz
+               done
+       else 
+               echo "extracting xfree86 xc source ..."
+               tar --use-compress-program=bzip2 -xf $archdir/xc.tar.bz2 -C ../
+       fi
 
        echo "applying xdirectfb patch ..."
        cd ../xc &&
-       patch -Nfp0 < ../${srcdir}/xc-directfb.diff &&
+
+       if [ "$xtype" = "xorg" ] ; then
+               patch -Nfp0 < ../${srcdir}/xc-directfb-xorg.diff
+       else
+               patch -Nfp0 < ../${srcdir}/xc-directfb.diff
+       fi
 
        echo "copying over files ..."
        cp -a ../${srcdir}/programs/Xserver/hw/directfb \
@@ -31,5 +53,5 @@ build_main()  {
        mv t~ config/cf/host.def
 
        echo "building rootless xserver now ..."
-       make World && make install
+       make World && make && make install
                }