http://hg.slitaz.org/wok/raw-rev/4dcbd1550531
# HG changeset patch
# User Antoine Bodin
# Date 1296361361 -3600
# Node ID 4dcbd15505312753f7b2b39e25ed75d7b3b1c681
# Parent 776b389d3075090b41f5b10c6ad192cb407267c6
Fix: pack swrast drivers into mesa-dri
--- a/mesa-dri/receipt Sat Jan 29 22:47:27 2011 +0000
+++ b/mesa-dri/receipt Sun Jan 30 05:22:41 2011 +0100
@@ -12,7 +12,12 @@
# Rules to gen a SliTaz package suitable for Tazpkg.
genpkg_rules()
{
- mkdir -p $fs/usr/lib
+ mkdir -p $fs/usr/lib/dri
+ for driver in swrast swrastg
+ do
+ cp $_pkg/usr/lib/dri/${driver}_dri.so \
+ $fs/usr/lib/dri
+ done
mkdir -p $fs/etc/X11/xorg.conf.d
cp -a stuff/*.conf $fs/etc/X11/xorg.conf.d
root@slitaz:~# tazpkg list-files mesa-dri
Installed files with: mesa-dri
================================================================================
/etc/X11/xorg.conf.d/90-DRI.conf
/usr/lib/dri/swrast_dri.so
/usr/lib/dri/swrastg_dri.so
================================================================================
3 files installed with mesa-dri.
root@slitaz:~# glxinfo | grep render
direct rendering: Yes
OpenGL renderer string: Software Rasterizer
GL_NV_conditional_render, GL_NV_depth_clamp, GL_NV_fragment_program,
root@slitaz:~#
------
1.
root@slitaz:~# glxinfo
name of display: :0.0
Error: couldn't find RGB GLX visual or fbconfig
root@slitaz:~# glxgears
Error: couldn't get an RGB, Double-buffered visual
root@slitaz:~#
2.
root@slitaz:~# cat /var/log/Xorg.0.log | grep EE
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[ 2023.872] (II) Loading extension MIT-SCREEN-SAVER
[ 2024.020] (EE) AIGLX error: dlopen of /usr/lib/dri/swrast_dri.so failed (/usr/lib/dri/swrast_dri.so: cannot open shared object file: No such file or directory)
[ 2024.020] (EE) GLX: could not load software renderer
root@slitaz:~#
3.
root@slitaz:~# tazpkg search-file swrast_dri.so
Search result for file swrast_dri.so
================================================================================
0 file found for: swrast_dri.so
root@slitaz:~#
4.
http://mirror.slitaz.org/packages/experimental/
[..]
mesa-7.10.tazpkg 2011-Jan-30 23:01:05 86.4K application/x-tazpkg
mesa-dev-7.10.tazpkg 2011-Jan-30 23:01:15 124.2K application/x-tazpkg
mesa-dri-7.10.tazpkg 2011-Jan-30 23:01:00 1.0M application/x-tazpkg
http://mirror.slitaz.org/packages/cooking/
[..]
mesa-7.10.tazpkg 2011-Jan-25 02:01:09 86.0K application/x-tazpkg
mesa-demos-8.0.1.tazpkg 2011-Jan-22 05:01:04 15.5K application/x-tazpkg
mesa-dev-7.10.tazpkg 2011-Jan-25 02:01:59 126.0K application/x-tazpkg
mesa-dri-7.10.tazpkg 2011-Jan-25 02:01:08 2.0K application/x-tazpkg