wok rev 4421
mesa: split dri driver (mesa-dri-*) and + mesa-demo
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Sun Oct 25 17:27:55 2009 +0100 (2009-10-25) |
parents | bd9869e5f58d |
children | 81c4aa5b1763 |
files | mesa-demos/receipt mesa-dri-ati/receipt mesa-dri-intel/receipt mesa-dri-mga/receipt mesa-dri-savage/receipt mesa-dri-sis/receipt mesa-dri-tdfx/receipt mesa-dri-trident/receipt mesa-dri-unichrome/receipt mesa-dri/receipt mesa/receipt |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/mesa-demos/receipt Sun Oct 25 17:27:55 2009 +0100 1.3 @@ -0,0 +1,17 @@ 1.4 +# SliTaz package receipt. 1.5 + 1.6 +PACKAGE="mesa-demos" 1.7 +VERSION="7.4.4" 1.8 +CATEGORY="development" 1.9 +SHORT_DESC="Mesa GLX demos progs." 1.10 +MAINTAINER="pascal.bellard@slitaz.org" 1.11 +WEB_SITE="http://www.mesa3d.org/" 1.12 +WANTED="mesa" 1.13 + 1.14 +# Rules to gen a SliTaz package suitable for Tazpkg. 1.15 +genpkg_rules() 1.16 +{ 1.17 + mkdir -p $fs/usr/bin 1.18 + cp $src/progs/xdemos/glxinfo $fs/usr/bin 1.19 + cp $src/progs/xdemos/glxgears $fs/usr/bin 1.20 +}
2.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 2.2 +++ b/mesa-dri-ati/receipt Sun Oct 25 17:27:55 2009 +0100 2.3 @@ -0,0 +1,21 @@ 2.4 +# SliTaz package receipt. 2.5 + 2.6 +PACKAGE="mesa-dri-ati" 2.7 +VERSION="7.4.4" 2.8 +CATEGORY="x-window" 2.9 +SHORT_DESC="Mesa DRI drivers for AMD/ATI Radeon and mach64 (include Rage128)." 2.10 +MAINTAINER="pascal.bellard@slitaz.org" 2.11 +WEB_SITE="http://www.mesa3d.org/" 2.12 +DEPENDS="mesa mesa-dri" 2.13 +WANTED="mesa" 2.14 + 2.15 +# Rules to gen a SliTaz package suitable for Tazpkg. 2.16 +genpkg_rules() 2.17 +{ 2.18 + mkdir -p $fs/usr/lib/dri 2.19 + for driver in mach64 radeon r128 r200 r300 2.20 + do 2.21 + cp $_pkg/usr/lib/dri/${driver}_dri.so \ 2.22 + $fs/usr/lib/dri 2.23 + done 2.24 +}
3.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 3.2 +++ b/mesa-dri-intel/receipt Sun Oct 25 17:27:55 2009 +0100 3.3 @@ -0,0 +1,24 @@ 3.4 +# SliTaz package receipt. 3.5 + 3.6 +PACKAGE="mesa-dri-intel" 3.7 +VERSION="7.4.4" 3.8 +CATEGORY="x-window" 3.9 +SHORT_DESC="Mesa DRI drivers for Intel." 3.10 +MAINTAINER="pascal.bellard@slitaz.org" 3.11 +WEB_SITE="http://www.mesa3d.org/" 3.12 +DEPENDS="mesa mesa-dri" 3.13 +WANTED="mesa" 3.14 + 3.15 +# Rules to gen a SliTaz package suitable for Tazpkg. 3.16 +genpkg_rules() 3.17 +{ 3.18 + mkdir -p $fs/usr/lib/dri 3.19 + for driver in i810 i915 i965 3.20 + do 3.21 + cp $_pkg/usr/lib/dri/${driver}_dri.so \ 3.22 + $fs/usr/lib/dri 3.23 + done 3.24 + # Mesa-7.5 3.25 + #cp $_pkg/usr/lib/dri/EGL_i915.so \ 3.26 + # $fs/usr/lib/dri 3.27 +}
4.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 4.2 +++ b/mesa-dri-mga/receipt Sun Oct 25 17:27:55 2009 +0100 4.3 @@ -0,0 +1,21 @@ 4.4 +# SliTaz package receipt. 4.5 + 4.6 +PACKAGE="mesa-dri-mga" 4.7 +VERSION="7.4.4" 4.8 +CATEGORY="x-window" 4.9 +SHORT_DESC="Mesa DRI drivers for Matrox." 4.10 +MAINTAINER="pascal.bellard@slitaz.org" 4.11 +WEB_SITE="http://www.mesa3d.org/" 4.12 +DEPENDS="mesa mesa-dri" 4.13 +WANTED="mesa" 4.14 + 4.15 +# Rules to gen a SliTaz package suitable for Tazpkg. 4.16 +genpkg_rules() 4.17 +{ 4.18 + mkdir -p $fs/usr/lib/dri 4.19 + for driver in mga 4.20 + do 4.21 + cp $_pkg/usr/lib/dri/${driver}_dri.so \ 4.22 + $fs/usr/lib/dri 4.23 + done 4.24 +}
5.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 5.2 +++ b/mesa-dri-savage/receipt Sun Oct 25 17:27:55 2009 +0100 5.3 @@ -0,0 +1,21 @@ 5.4 +# SliTaz package receipt. 5.5 + 5.6 +PACKAGE="mesa-dri-savage" 5.7 +VERSION="7.4.4" 5.8 +CATEGORY="x-window" 5.9 +SHORT_DESC="Mesa DRI drivers for S3 Sraphics/VIA Savage." 5.10 +MAINTAINER="pascal.bellard@slitaz.org" 5.11 +WEB_SITE="http://www.mesa3d.org/" 5.12 +DEPENDS="mesa mesa-dri" 5.13 +WANTED="mesa" 5.14 + 5.15 +# Rules to gen a SliTaz package suitable for Tazpkg. 5.16 +genpkg_rules() 5.17 +{ 5.18 + mkdir -p $fs/usr/lib/dri 5.19 + for driver in savage 5.20 + do 5.21 + cp $_pkg/usr/lib/dri/${driver}_dri.so \ 5.22 + $fs/usr/lib/dri 5.23 + done 5.24 +}
6.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 6.2 +++ b/mesa-dri-sis/receipt Sun Oct 25 17:27:55 2009 +0100 6.3 @@ -0,0 +1,21 @@ 6.4 +# SliTaz package receipt. 6.5 + 6.6 +PACKAGE="mesa-dri-sis" 6.7 +VERSION="7.4.4" 6.8 +CATEGORY="x-window" 6.9 +SHORT_DESC="Mesa DRI drivers for SiS." 6.10 +MAINTAINER="pascal.bellard@slitaz.org" 6.11 +WEB_SITE="http://www.mesa3d.org/" 6.12 +DEPENDS="mesa mesa-dri" 6.13 +WANTED="mesa" 6.14 + 6.15 +# Rules to gen a SliTaz package suitable for Tazpkg. 6.16 +genpkg_rules() 6.17 +{ 6.18 + mkdir -p $fs/usr/lib/dri 6.19 + for driver in sis 6.20 + do 6.21 + cp $_pkg/usr/lib/dri/${driver}_dri.so \ 6.22 + $fs/usr/lib/dri 6.23 + done 6.24 +}
7.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 7.2 +++ b/mesa-dri-tdfx/receipt Sun Oct 25 17:27:55 2009 +0100 7.3 @@ -0,0 +1,21 @@ 7.4 +# SliTaz package receipt. 7.5 + 7.6 +PACKAGE="mesa-dri-tdfx" 7.7 +VERSION="7.4.4" 7.8 +CATEGORY="x-window" 7.9 +SHORT_DESC="Mesa DRI drivers for 3dfx." 7.10 +MAINTAINER="pascal.bellard@slitaz.org" 7.11 +WEB_SITE="http://www.mesa3d.org/" 7.12 +DEPENDS="mesa mesa-dri" 7.13 +WANTED="mesa" 7.14 + 7.15 +# Rules to gen a SliTaz package suitable for Tazpkg. 7.16 +genpkg_rules() 7.17 +{ 7.18 + mkdir -p $fs/usr/lib/dri 7.19 + for driver in tdfx 7.20 + do 7.21 + cp $_pkg/usr/lib/dri/${driver}_dri.so \ 7.22 + $fs/usr/lib/dri 7.23 + done 7.24 +}
8.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 8.2 +++ b/mesa-dri-trident/receipt Sun Oct 25 17:27:55 2009 +0100 8.3 @@ -0,0 +1,21 @@ 8.4 +# SliTaz package receipt. 8.5 + 8.6 +PACKAGE="mesa-dri-trident" 8.7 +VERSION="7.4.4" 8.8 +CATEGORY="x-window" 8.9 +SHORT_DESC="Mesa DRI drivers for Trident." 8.10 +MAINTAINER="pascal.bellard@slitaz.org" 8.11 +WEB_SITE="http://www.mesa3d.org/" 8.12 +DEPENDS="mesa mesa-dri" 8.13 +WANTED="mesa" 8.14 + 8.15 +# Rules to gen a SliTaz package suitable for Tazpkg. 8.16 +genpkg_rules() 8.17 +{ 8.18 + mkdir -p $fs/usr/lib/dri 8.19 + for driver in trident 8.20 + do 8.21 + cp $_pkg/usr/lib/dri/${driver}_dri.so \ 8.22 + $fs/usr/lib/dri 8.23 + done 8.24 +}
9.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 9.2 +++ b/mesa-dri-unichrome/receipt Sun Oct 25 17:27:55 2009 +0100 9.3 @@ -0,0 +1,21 @@ 9.4 +# SliTaz package receipt. 9.5 + 9.6 +PACKAGE="mesa-dri-unichrome" 9.7 +VERSION="7.4.4" 9.8 +CATEGORY="x-window" 9.9 +SHORT_DESC="Mesa DRI drivers for S3 Graphics/VIA Unichrome." 9.10 +MAINTAINER="pascal.bellard@slitaz.org" 9.11 +WEB_SITE="http://www.mesa3d.org/" 9.12 +DEPENDS="mesa mesa-dri" 9.13 +WANTED="mesa" 9.14 + 9.15 +# Rules to gen a SliTaz package suitable for Tazpkg. 9.16 +genpkg_rules() 9.17 +{ 9.18 + mkdir -p $fs/usr/lib/dri 9.19 + for driver in unichrome 9.20 + do 9.21 + cp $_pkg/usr/lib/dri/${driver}_dri.so \ 9.22 + $fs/usr/lib/dri 9.23 + done 9.24 +}
10.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 10.2 +++ b/mesa-dri/receipt Sun Oct 25 17:27:55 2009 +0100 10.3 @@ -0,0 +1,26 @@ 10.4 +# SliTaz package receipt. 10.5 + 10.6 +PACKAGE="mesa-dri" 10.7 +VERSION="7.4.4" 10.8 +CATEGORY="x-window" 10.9 +SHORT_DESC="Mesa DRI drivers." 10.10 +MAINTAINER="pascal.bellard@slitaz.org" 10.11 +WEB_SITE="http://www.mesa3d.org/" 10.12 +WANTED="mesa" 10.13 + 10.14 +# Rules to gen a SliTaz package suitable for Tazpkg. 10.15 +genpkg_rules() 10.16 +{ 10.17 + mkdir -p $fs/usr/lib 10.18 + # Copy everything, remove file while generating splited packages. 10.19 + cp -a $_pkg/usr/lib/dri $fs/usr/lib 10.20 + cd $WOK 10.21 + for pkg in mesa-dri-* 10.22 + do 10.23 + tazwok genpkg $pkg 10.24 + for file in `ls $pkg/taz/*/fs/usr/lib/dri` 10.25 + do 10.26 + rm $WOK/$PACKAGE/taz/*/fs/usr/lib/dri/$file 10.27 + done 10.28 + done 10.29 +}
11.1 --- a/mesa/receipt Sun Oct 25 17:21:00 2009 +0100 11.2 +++ b/mesa/receipt Sun Oct 25 17:27:55 2009 +0100 11.3 @@ -2,11 +2,11 @@ 11.4 11.5 PACKAGE="mesa" 11.6 VERSION="7.4.4" 11.7 -CATEGORY="misc" 11.8 +CATEGORY="x-window" 11.9 SHORT_DESC="3D Graphics Library that is an open-source implementaton of OpenGL." 11.10 MAINTAINER="pascal.bellard@slitaz.org" 11.11 DEPENDS="glibc-base expat libdrm xorg-libX11 xorg-libXau xorg-libXdamage \ 11.12 -xorg-libXdmcp xorg-libXext xorg-libXfixes xorg-libXxf86vm" 11.13 +xorg-libXdmcp xorg-libXext xorg-libXfixes xorg-libXxf86vm libdrm" 11.14 BUILD_DEPENDS="$DEPENDS slitaz-toolchain expat-dev lesstif lesstif-dev libdrm-dev \ 11.15 xorg-dri2proto xorg-glproto xorg-damageproto xorg-xproto xorg-fixesproto xorg-xextproto \ 11.16 xorg-libX11-dev xorg-libXdamage-dev xorg-libXfixes-dev xorg-libXt-dev \ 11.17 @@ -21,7 +21,18 @@ 11.18 compile_rules() 11.19 { 11.20 ln -s $src $PACKAGE-$VERSION 2>/dev/null 11.21 + 11.22 + # Get and untar demo files 11.23 + if [ ! -f $SOURCES_REPOSITORY/MesaDemos-$VERSION.tar.bz2 ]; then 11.24 + wget $SF_MIRROR/mesa3d/MesaDemos-$VERSION.tar.bz2 \ 11.25 + -P $SOURCES_REPOSITORY 11.26 + fi 11.27 + echo -n "Untaring MesaDemos-$VERSION.tar.bz2" 11.28 + tar xjf $SOURCES_REPOSITORY/MesaDemos-$VERSION.tar.bz2 11.29 + status 11.30 + 11.31 cd $src 11.32 + # --with-dri-driverdir=/usr/lib/X11/modules/dri ? 11.33 sed 's@FLAGS=\"-g@FLAGS=\"@' -i configure && 11.34 ./configure \ 11.35 --prefix=/usr \ 11.36 @@ -38,7 +49,9 @@ 11.37 { 11.38 mkdir -p $fs/usr/lib 11.39 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib 11.40 - cp -a $_pkg/usr/lib/dri $fs/usr/lib 11.41 + 11.42 + # DRI drivers are include in the package mesa-dri-* 11.43 + #cp -a $_pkg/usr/lib/dri $fs/usr/lib 11.44 11.45 # libGLU is included in the package libglu-mesa 11.46 rm -r -f $fs/usr/lib/libGLU*