wok-current rev 16172
Add mesa-wayland
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Sun Mar 30 16:38:04 2014 +0200 (2014-03-30) |
parents | 2a3776157b63 |
children | 4e42c89bafc6 |
files | mesa-wayland-dev/receipt mesa-wayland/receipt mesa-wayland/stuff/nouveau-fix-header.patch |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/mesa-wayland-dev/receipt Sun Mar 30 16:38:04 2014 +0200 1.3 @@ -0,0 +1,20 @@ 1.4 +# SliTaz package receipt. 1.5 + 1.6 +PACKAGE="mesa-wayland-dev" 1.7 +VERSION="1.4.0" 1.8 +CATEGORY="development" 1.9 +SHORT_DESC="Wayland X server devel files." 1.10 +MAINTAINER="pankso@slitaz.org" 1.11 +LICENSE="MIT" 1.12 +WANTED="mesa-wayland" 1.13 +WEB_SITE="http://www.mesa3d.org/" 1.14 + 1.15 +# Rules to gen a SliTaz package suitable for Tazpkg. 1.16 +genpkg_rules() 1.17 +{ 1.18 + mkdir -p $fs/usr/lib/dri 1.19 + cp -a $install/usr/include $fs/usr 1.20 + cp -a $install/usr/lib/*.*a $fs/usr/lib 1.21 + cp -a $install/usr/lib/dri/*.*a $fs/usr/lib/dri 1.22 + cp -a $install/usr/lib/pkgconfig $fs/usr/lib 1.23 +}
2.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 2.2 +++ b/mesa-wayland/receipt Sun Mar 30 16:38:04 2014 +0200 2.3 @@ -0,0 +1,58 @@ 2.4 +# SliTaz package receipt. 2.5 + 2.6 +PACKAGE="mesa-wayland" 2.7 +VERSION="9.1.3" 2.8 +CATEGORY="x-window" 2.9 +SHORT_DESC="3D Graphics Library that is an open-source implementaton of OpenGL." 2.10 +MAINTAINER="pascal.bellard@slitaz.org" 2.11 +LICENSE="MIT" 2.12 +SUGGESTED="nvidia" 2.13 +SOURCE="Mesa" 2.14 +TARBALL="${SOURCE}Lib-$VERSION.tar.bz2" 2.15 +WEB_SITE="http://www.mesa3d.org/" 2.16 +WGET_URL="ftp://ftp.freedesktop.org/pub/mesa/$VERSION/$TARBALL" 2.17 + 2.18 +# Have Wayland support by default ? 2.19 +PROVIDE="libgl libegl-mesa libglw-mesa libglu-mesa" 2.20 + 2.21 +DEPENDS="expat libdrm xorg-libXdamage xorg-libXxf86vm xorg-libXt udev \ 2.22 +wayland" 2.23 +BUILD_DEPENDS="expat-dev libdrm-dev xorg-libXdamage-dev pkg-config \ 2.24 +xorg-libXxf86vm-dev xorg-libXt-dev xorg-dri2proto xorg-glproto \ 2.25 +talloc xorg-makedepend lesstif libxml2-python xorg-imake lesstif-dev \ 2.26 +xorg-server-dev udev-dev file libdrm-nouveau llvm libtool automake \ 2.27 +autoconf libpthread-stubs-dev wayland-dev" 2.28 + 2.29 +# Rules to configure and make the package. 2.30 +compile_rules() 2.31 +{ 2.32 + ./autogen.sh \ 2.33 + --prefix=/usr \ 2.34 + --sysconfdir=/etc/X11/${PACKAGE} \ 2.35 + --enable-gles2 \ 2.36 + --disable-gallium-egl \ 2.37 + --with-egl-platforms=x11,wayland,drm \ 2.38 + --enable-gbm \ 2.39 + --enable-shared-glapi \ 2.40 + --with-gallium-drivers=r300,r600,swrast,nouveau \ 2.41 + $CONFIGURE_ARGS && 2.42 + make $MAKEFLAGS && make install 2.43 +} 2.44 + 2.45 +# Rules to gen a SliTaz package suitable for Tazpkg. 2.46 +genpkg_rules() 2.47 +{ 2.48 + mkdir -p $fs/usr/lib/dri 2.49 + cp -a $install/etc $fs 2.50 + cp -a $install/usr/lib/*.so* $fs/usr/lib 2.51 + cp -a $install/usr/lib/dri/*.so* $fs/usr/lib/dri 2.52 + 2.53 + # libGLU is included in the package libglu-mesa 2.54 + #rm -r -f $fs/usr/lib/libGLU* 2.55 + 2.56 + #libGLw is included in the package libglw-mesa 2.57 + #rm -r -f $fs/usr/lib/libGLw* 2.58 + 2.59 + #libEGL is included in the package libegl-mesa 2.60 + #rm -r -f $fs/usr/lib/libEGL* 2.61 +}
3.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 3.2 +++ b/mesa-wayland/stuff/nouveau-fix-header.patch Sun Mar 30 16:38:04 2014 +0200 3.3 @@ -0,0 +1,86 @@ 3.4 +From 5c102dd94f435e97507213fbd128e50dd15f5f54 Mon Sep 17 00:00:00 2001 3.5 +From: Ben Skeggs <bskeggs@redhat.com> 3.6 +Date: Mon, 20 Dec 2010 03:39:36 +0000 3.7 +Subject: nouveau: fix includes for latest libdrm 3.8 + 3.9 +Signed-off-by: Ben Skeggs <bskeggs@redhat.com> 3.10 +--- 3.11 +diff --git a/src/gallium/drivers/nouveau/nouveau_winsys.h b/src/gallium/drivers/nouveau/nouveau_winsys.h 3.12 +index ab480ca..747b084 100644 3.13 +--- a/src/gallium/drivers/nouveau/nouveau_winsys.h 3.14 ++++ b/src/gallium/drivers/nouveau/nouveau_winsys.h 3.15 +@@ -10,7 +10,7 @@ 3.16 + #include "nouveau/nouveau_grobj.h" 3.17 + #include "nouveau/nouveau_notifier.h" 3.18 + #include "nouveau/nouveau_resource.h" 3.19 +-#include "nouveau/nouveau_pushbuf.h" 3.20 ++#include "nouveau/nv04_pushbuf.h" 3.21 + 3.22 + #ifndef NV04_PFIFO_MAX_PACKET_LEN 3.23 + #define NV04_PFIFO_MAX_PACKET_LEN 2047 3.24 +diff --git a/src/gallium/drivers/nv50/nv50_surface.c b/src/gallium/drivers/nv50/nv50_surface.c 3.25 +index ce48022..a99df76 100644 3.26 +--- a/src/gallium/drivers/nv50/nv50_surface.c 3.27 ++++ b/src/gallium/drivers/nv50/nv50_surface.c 3.28 +@@ -22,7 +22,7 @@ 3.29 + 3.30 + #define __NOUVEAU_PUSH_H__ 3.31 + #include <stdint.h> 3.32 +-#include "nouveau/nouveau_pushbuf.h" 3.33 ++#include "nouveau/nv04_pushbuf.h" 3.34 + #include "nv50_context.h" 3.35 + #include "nv50_resource.h" 3.36 + #include "pipe/p_defines.h" 3.37 +diff --git a/src/gallium/drivers/nvfx/nv04_2d.c b/src/gallium/drivers/nvfx/nv04_2d.c 3.38 +index e0e65e7..e2fadd3 100644 3.39 +--- a/src/gallium/drivers/nvfx/nv04_2d.c 3.40 ++++ b/src/gallium/drivers/nvfx/nv04_2d.c 3.41 +@@ -34,11 +34,11 @@ 3.42 + #include <stdio.h> 3.43 + #include <stdint.h> 3.44 + #include <nouveau/nouveau_device.h> 3.45 +-#include <nouveau/nouveau_pushbuf.h> 3.46 + #include <nouveau/nouveau_channel.h> 3.47 + #include <nouveau/nouveau_bo.h> 3.48 + #include <nouveau/nouveau_notifier.h> 3.49 + #include <nouveau/nouveau_grobj.h> 3.50 ++#include <nouveau/nv04_pushbuf.h> 3.51 + #include "nv04_2d.h" 3.52 + 3.53 + #include "nouveau/nv_object.xml.h" 3.54 +diff --git a/src/gallium/drivers/nvfx/nvfx_vbo.c b/src/gallium/drivers/nvfx/nvfx_vbo.c 3.55 +index 597664e..339b317 100644 3.56 +--- a/src/gallium/drivers/nvfx/nvfx_vbo.c 3.57 ++++ b/src/gallium/drivers/nvfx/nvfx_vbo.c 3.58 +@@ -9,8 +9,7 @@ 3.59 + #include "nvfx_resource.h" 3.60 + 3.61 + #include "nouveau/nouveau_channel.h" 3.62 +- 3.63 +-#include "nouveau/nouveau_pushbuf.h" 3.64 ++#include "nouveau/nv04_pushbuf.h" 3.65 + 3.66 + static inline unsigned 3.67 + util_guess_unique_indices_count(unsigned mode, unsigned indices) 3.68 +diff --git a/src/mesa/drivers/dri/nouveau/nouveau_driver.h b/src/mesa/drivers/dri/nouveau/nouveau_driver.h 3.69 +index 8036b18..c5ac128 100644 3.70 +--- a/src/mesa/drivers/dri/nouveau/nouveau_driver.h 3.71 ++++ b/src/mesa/drivers/dri/nouveau/nouveau_driver.h 3.72 +@@ -38,7 +38,6 @@ 3.73 + #include <assert.h> 3.74 + 3.75 + #include "nouveau_device.h" 3.76 +-#include "nouveau_pushbuf.h" 3.77 + #include "nouveau_grobj.h" 3.78 + #include "nouveau_channel.h" 3.79 + #include "nouveau_bo.h" 3.80 +@@ -46,6 +45,7 @@ 3.81 + #include "nouveau_screen.h" 3.82 + #include "nouveau_state.h" 3.83 + #include "nouveau_surface.h" 3.84 ++#include "nv04_pushbuf.h" 3.85 + 3.86 + #define DRIVER_DATE "20091015" 3.87 + #define DRIVER_AUTHOR "Nouveau" 3.88 +-- 3.89 +cgit v0.8.3-6-g21f6