* [oe-core 19/20] mesa-git: upgrade from 7.7+git to 7.11+git
From: Martin Jansa @ 2011-10-13 11:30 UTC (permalink / raw)
To: openembedded-core
In-Reply-To: <cover.1318505196.git.Martin.Jansa@gmail.com>
* progs package is also gone like in 7.11 (moved to separate recipe)
* uclibc.patch was updated a bit to apply again
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
---
meta/recipes-graphics/mesa/mesa-git.inc | 39 ++----
meta/recipes-graphics/mesa/mesa-git/uclibc.patch | 57 ++++++++
meta/recipes-graphics/mesa/mesa/cross2.patch | 46 ------
meta/recipes-graphics/mesa/mesa/i586/matypes.h | 162 ----------------------
4 files changed, 71 insertions(+), 233 deletions(-)
create mode 100644 meta/recipes-graphics/mesa/mesa-git/uclibc.patch
delete mode 100644 meta/recipes-graphics/mesa/mesa/cross2.patch
delete mode 100644 meta/recipes-graphics/mesa/mesa/i586/matypes.h
diff --git a/meta/recipes-graphics/mesa/mesa-git.inc b/meta/recipes-graphics/mesa/mesa-git.inc
index 2f27ef1..c9b17a9 100644
--- a/meta/recipes-graphics/mesa/mesa-git.inc
+++ b/meta/recipes-graphics/mesa/mesa-git.inc
@@ -1,30 +1,19 @@
-SRC_URI = "git://anongit.freedesktop.org/git/mesa/mesa;protocol=git \
- file://cross2.patch \
- file://matypes.h"
-# file://mesa-DRI2Swapbuffer.patch "
-S = "${WORKDIR}/git"
-
-SRCREV = "1bf94d419805538ac23a4d0b04d31ac5e4487aca"
-PV = "7.7+git${SRCPV}"
-
-PACKAGES =+ "${PN}-xprogs"
+DEPENDS += "mesa-dri-glsl-native"
-FILES_${PN}-xprogs = "${bindir}/glxdemo ${bindir}/glxgears ${bindir}/glxheads ${bindir}/glxinfo"
+SRCREV = "983fa4ad523535debf2e94cf6ac1fd4c5630c0d2"
+PV = "7.11+gitr${SRCPV}"
-do_configure_prepend () {
- cp ${WORKDIR}/matypes.h ${S}/src/mesa/x86
- touch ${S}/src/mesa/x86/matypes.h
-}
+FILESEXTRAPATHS_prepend := "${THISDIR}/mesa-git:"
-do_compile () {
- oe_runmake clean
- oe_runmake -C src/glsl CC='${BUILD_CC}' CFLAGS=""
- mv ${S}/src/glsl/apps/compile ${S}/host_compile
- oe_runmake clean
- oe_runmake GLSL_CL="${S}/host_compile"
-}
+SRC_URI = "git://anongit.freedesktop.org/git/mesa/mesa;protocol=git"
+SRC_URI += "file://uclibc.patch \
+ file://crossfix.patch \
+ "
+S = "${WORKDIR}/git"
-do_install_append () {
- install -d ${D}/usr/bin
- install -m 0755 ${S}/progs/xdemos/{glxdemo,glxgears,glxheads,glxinfo} ${D}/usr/bin/
+do_configure_prepend() {
+ #check for python not python2, because python-native does not stage python2 binary/link
+ sed -i 's/AC_CHECK_PROGS(\[PYTHON2\], \[python2 python\])/AC_CHECK_PROGS(\[PYTHON2\], \[python python\])/g' ${S}/configure.ac
+ # We need builtin_compiler built for buildhost arch instead of target (is provided by mesa-dri-glsl-native)"
+ sed -i "s#\./builtin_compiler#${STAGING_BINDIR_NATIVE}/glsl/builtin_compiler#g" ${S}/src/glsl/Makefile
}
diff --git a/meta/recipes-graphics/mesa/mesa-git/uclibc.patch b/meta/recipes-graphics/mesa/mesa-git/uclibc.patch
new file mode 100644
index 0000000..0b031f9
--- /dev/null
+++ b/meta/recipes-graphics/mesa/mesa-git/uclibc.patch
@@ -0,0 +1,57 @@
+Upstream-Status: Pending
+
+From 904bd5127bd88f45abf4a376676e0a487cfb018a Mon Sep 17 00:00:00 2001
+From: Martin Jansa <Martin.Jansa@gmail.com>
+Date: Thu, 13 Oct 2011 12:46:53 +0200
+Subject: [PATCH] configure: add check HAVE_NEWLOCALE to fix build with uclibc
+
+Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
+---
+ configure.ac | 3 +++
+ src/glsl/strtod.c | 2 +-
+ src/mesa/main/imports.c | 2 +-
+ 3 files changed, 5 insertions(+), 2 deletions(-)
+
+diff --git a/configure.ac b/configure.ac
+index 49e81ad..468cfd7 100644
+--- a/configure.ac
++++ b/configure.ac
+@@ -507,6 +507,9 @@ AC_SUBST([DLOPEN_LIBS])
+ dnl See if posix_memalign is available
+ AC_CHECK_FUNC([posix_memalign], [DEFINES="$DEFINES -DHAVE_POSIX_MEMALIGN"])
+
++dnl See if newlocale is available
++AC_CHECK_FUNCS_ONCE(newlocale)
++
+ dnl SELinux awareness.
+ AC_ARG_ENABLE([selinux],
+ [AS_HELP_STRING([--enable-selinux],
+diff --git a/src/glsl/strtod.c b/src/glsl/strtod.c
+index ff34591..88aa5ef 100644
+--- a/src/glsl/strtod.c
++++ b/src/glsl/strtod.c
+@@ -44,7 +44,7 @@
+ double
+ glsl_strtod(const char *s, char **end)
+ {
+-#if defined(_GNU_SOURCE) && !defined(__CYGWIN__) && !defined(__FreeBSD__)
++#if defined(_GNU_SOURCE) && !defined(__CYGWIN__) && !defined(__FreeBSD__) && defined (HAVE_NEWLOCALE)
+ static locale_t loc = NULL;
+ if (!loc) {
+ loc = newlocale(LC_CTYPE_MASK, "C", NULL);
+diff --git a/src/mesa/main/imports.c b/src/mesa/main/imports.c
+index 345a1c5..493e0fb 100644
+--- a/src/mesa/main/imports.c
++++ b/src/mesa/main/imports.c
+@@ -767,7 +767,7 @@ float
+ _mesa_strtof( const char *s, char **end )
+ {
+ #if defined(_GNU_SOURCE) && !defined(__CYGWIN__) && !defined(__FreeBSD__) && \
+- !defined(ANDROID)
++ !defined(ANDROID) && defined (HAVE_NEWLOCALE)
+ static locale_t loc = NULL;
+ if (!loc) {
+ loc = newlocale(LC_CTYPE_MASK, "C", NULL);
+--
+1.7.7
+
diff --git a/meta/recipes-graphics/mesa/mesa/cross2.patch b/meta/recipes-graphics/mesa/mesa/cross2.patch
deleted file mode 100644
index 264c153..0000000
--- a/meta/recipes-graphics/mesa/mesa/cross2.patch
+++ /dev/null
@@ -1,46 +0,0 @@
-Upstream-Status: Pending
-
-Index: git/configure.ac
-===================================================================
---- git.orig/configure.ac 2009-09-01 16:38:26.000000000 +0100
-+++ git/configure.ac 2009-09-01 16:38:47.000000000 +0100
-@@ -269,15 +269,6 @@
- GLAPI_ASM_SOURCES=""
- AC_MSG_CHECKING([whether to enable assembly])
- test "x$enable_asm" = xno && AC_MSG_RESULT([no])
--# disable if cross compiling on x86/x86_64 since we must run gen_matypes
--if test "x$enable_asm" = xyes && test "x$cross_compiling" = xyes; then
-- case "$host_cpu" in
-- i?86 | x86_64)
-- enable_asm=no
-- AC_MSG_RESULT([no, cross compiling])
-- ;;
-- esac
--fi
- # check for supported arches
- if test "x$enable_asm" = xyes; then
- case "$host_cpu" in
-Index: git/src/mesa/x86/Makefile
-===================================================================
---- git.orig/src/mesa/x86/Makefile 2009-09-01 16:40:02.000000000 +0100
-+++ git/src/mesa/x86/Makefile 2009-09-01 16:40:13.000000000 +0100
-@@ -14,19 +14,6 @@
- -I../tnl
-
-
--default: gen_matypes matypes.h
--
--clean:
-- -rm -f matypes.h gen_matypes
--
--
--gen_matypes: gen_matypes.c
-- $(HOST_CC) $(ARCH_FLAGS) $(INCLUDE_DIRS) $(HOST_CFLAGS) gen_matypes.c -o gen_matypes
--
--# need some special rules here, unfortunately
--matypes.h: ../main/mtypes.h ../tnl/t_context.h gen_matypes
-- ./gen_matypes > matypes.h
--
- common_x86_asm.o: matypes.h
- 3dnow_normal.o: matypes.h
- 3dnow_xform1.o: matypes.h
diff --git a/meta/recipes-graphics/mesa/mesa/i586/matypes.h b/meta/recipes-graphics/mesa/mesa/i586/matypes.h
deleted file mode 100644
index 98d2188..0000000
--- a/meta/recipes-graphics/mesa/mesa/i586/matypes.h
+++ /dev/null
@@ -1,162 +0,0 @@
-/*
- * This file is automatically generated from the Mesa internal type
- * definitions. Do not edit directly.
- */
-
-#ifndef __ASM_TYPES_H__
-#define __ASM_TYPES_H__
-
-
-
-/* =============================================================
- * Offsets for GLcontext
- */
-
-#define CTX_DRIVER_CTX 996
-
-#define CTX_LIGHT_ENABLED 39404
-#define CTX_LIGHT_SHADE_MODEL 39408
-#define CTX_LIGHT_COLOR_MAT_FACE 39412
-#define CTX_LIGHT_COLOR_MAT_MODE 39416
-#define CTX_LIGHT_COLOR_MAT_MASK 39420
-#define CTX_LIGHT_COLOR_MAT_ENABLED 39424
-#define CTX_LIGHT_ENABLED_LIST 39432
-#define CTX_LIGHT_NEED_VERTS 43793
-#define CTX_LIGHT_FLAGS 43796
-#define CTX_LIGHT_BASE_COLOR 43800
-
-
-/* =============================================================
- * Offsets for struct vertex_buffer
- */
-
-#define VB_SIZE 0
-#define VB_COUNT 4
-
-#define VB_ELTS 8
-#define VB_OBJ_PTR 12
-#define VB_EYE_PTR 16
-#define VB_CLIP_PTR 20
-#define VB_PROJ_CLIP_PTR 24
-#define VB_CLIP_OR_MASK 28
-#define VB_CLIP_MASK 32
-#define VB_NORMAL_PTR 36
-#define VB_EDGE_FLAG 44
-#define VB_TEX0_COORD_PTR 48
-#define VB_TEX1_COORD_PTR 52
-#define VB_TEX2_COORD_PTR 56
-#define VB_TEX3_COORD_PTR 60
-#define VB_INDEX_PTR 80
-#define VB_COLOR_PTR 88
-#define VB_SECONDARY_COLOR_PTR 96
-#define VB_FOG_COORD_PTR 104
-#define VB_PRIMITIVE 108
-
-
-/*
- * Flags for struct vertex_buffer
- */
-
-#define VERT_BIT_OBJ 0x1
-#define VERT_BIT_NORM 0x4
-#define VERT_BIT_RGBA 0x8
-#define VERT_BIT_SPEC_RGB 0x10
-#define VERT_BIT_FOG_COORD 0x20
-#define VERT_BIT_TEX0 0x100
-#define VERT_BIT_TEX1 0x200
-#define VERT_BIT_TEX2 0x400
-#define VERT_BIT_TEX3 0x800
-
-
-/* =============================================================
- * Offsets for GLvector4f
- */
-
-#define V4F_DATA 0
-#define V4F_START 4
-#define V4F_COUNT 8
-#define V4F_STRIDE 12
-#define V4F_SIZE 16
-#define V4F_FLAGS 20
-
-/*
- * Flags for GLvector4f
- */
-
-#define VEC_MALLOC 0x10
-#define VEC_NOT_WRITEABLE 0x40
-#define VEC_BAD_STRIDE 0x100
-
-#define VEC_SIZE_1 0x1
-#define VEC_SIZE_2 0x3
-#define VEC_SIZE_3 0x7
-#define VEC_SIZE_4 0xf
-
-
-/* =============================================================
- * Offsets for GLmatrix
- */
-
-#define MATRIX_DATA 0
-#define MATRIX_INV 4
-#define MATRIX_FLAGS 8
-#define MATRIX_TYPE 12
-
-
-/* =============================================================
- * Offsets for struct gl_light
- */
-
-#define LIGHT_NEXT 0
-#define LIGHT_PREV 4
-
-#define LIGHT_AMBIENT 8
-#define LIGHT_DIFFUSE 24
-#define LIGHT_SPECULAR 40
-#define LIGHT_EYE_POSITION 56
-#define LIGHT_SPOT_DIRECTION 72
-#define LIGHT_SPOT_EXPONENT 88
-#define LIGHT_SPOT_CUTOFF 92
-#define LIGHT_COS_CUTOFF 100
-#define LIGHT_CONST_ATTEN 104
-#define LIGHT_LINEAR_ATTEN 108
-#define LIGHT_QUADRATIC_ATTEN 112
-#define LIGHT_ENABLED 116
-
-#define LIGHT_FLAGS 120
-
-#define LIGHT_POSITION 124
-#define LIGHT_VP_INF_NORM 140
-#define LIGHT_H_INF_NORM 152
-#define LIGHT_NORM_DIRECTION 164
-#define LIGHT_VP_INF_SPOT_ATTEN 180
-
-#define LIGHT_SPOT_EXP_TABLE 184
-#define LIGHT_MAT_AMBIENT 4280
-#define LIGHT_MAT_DIFFUSE 4304
-#define LIGHT_MAT_SPECULAR 4328
-
-#define SIZEOF_GL_LIGHT 4360
-
-/*
- * Flags for struct gl_light
- */
-
-#define LIGHT_SPOT 0x1
-#define LIGHT_LOCAL_VIEWER 0x2
-#define LIGHT_POSITIONAL 0x4
-
-#define LIGHT_NEED_VERTICES 0x6
-
-
-/* =============================================================
- * Offsets for struct gl_lightmodel
- */
-
-#define LIGHT_MODEL_AMBIENT 0
-#define LIGHT_MODEL_LOCAL_VIEWER 16
-#define LIGHT_MODEL_TWO_SIDE 17
-#define LIGHT_MODEL_COLOR_CONTROL 20
-
-
-#endif /* __ASM_TYPES_H__ */
--
1.7.7
^ permalink raw reply related
* [oe-core 18/20] mesa-git: lower D_P a bit more then all mesa-dri
From: Martin Jansa @ 2011-10-13 11:30 UTC (permalink / raw)
To: openembedded-core
In-Reply-To: <cover.1318505196.git.Martin.Jansa@gmail.com>
* it needs to be done in .bb because mesa-dri.inc is included after
mesa-git.inc
* lower it for mesa-xlib to same value
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
---
meta/recipes-graphics/mesa/mesa-dri_git.bb | 4 ++++
meta/recipes-graphics/mesa/mesa-xlib_git.bb | 4 ++++
2 files changed, 8 insertions(+), 0 deletions(-)
diff --git a/meta/recipes-graphics/mesa/mesa-dri_git.bb b/meta/recipes-graphics/mesa/mesa-dri_git.bb
index 7ba3117..ce1c8c7 100644
--- a/meta/recipes-graphics/mesa/mesa-dri_git.bb
+++ b/meta/recipes-graphics/mesa/mesa-dri_git.bb
@@ -1,4 +1,8 @@
include mesa-common.inc
include mesa-git.inc
include mesa-dri.inc
+
+# this needs to be lower than -1 because all mesa-dri have -1 and git version has highest PV, but shouldn't be default
+DEFAULT_PREFERENCE = "-2"
+
PR = "${INC_PR}.0"
diff --git a/meta/recipes-graphics/mesa/mesa-xlib_git.bb b/meta/recipes-graphics/mesa/mesa-xlib_git.bb
index 7f827a7..97cac51 100644
--- a/meta/recipes-graphics/mesa/mesa-xlib_git.bb
+++ b/meta/recipes-graphics/mesa/mesa-xlib_git.bb
@@ -1,4 +1,8 @@
include mesa-common.inc
include mesa-git.inc
include mesa-xlib.inc
+
+# this needs to be lower than -1 because all mesa-dri have -1 and git version has highest PV, but shouldn't be default
+DEFAULT_PREFERENCE = "-2"
+
PR = "${INC_PR}.0"
--
1.7.7
^ permalink raw reply related
* [oe-core 17/20] mesa-git: move shared parts from mesa-dri_git to mesa-git.inc and add mesa-xlib_git
From: Martin Jansa @ 2011-10-13 11:30 UTC (permalink / raw)
To: openembedded-core
In-Reply-To: <cover.1318505196.git.Martin.Jansa@gmail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
---
meta/recipes-graphics/mesa/mesa-dri_git.bb | 32 +--------------------------
meta/recipes-graphics/mesa/mesa-git.inc | 30 +++++++++++++++++++++++++
meta/recipes-graphics/mesa/mesa-xlib_git.bb | 4 +++
3 files changed, 35 insertions(+), 31 deletions(-)
create mode 100644 meta/recipes-graphics/mesa/mesa-git.inc
create mode 100644 meta/recipes-graphics/mesa/mesa-xlib_git.bb
diff --git a/meta/recipes-graphics/mesa/mesa-dri_git.bb b/meta/recipes-graphics/mesa/mesa-dri_git.bb
index 6a7ab76..7ba3117 100644
--- a/meta/recipes-graphics/mesa/mesa-dri_git.bb
+++ b/meta/recipes-graphics/mesa/mesa-dri_git.bb
@@ -1,34 +1,4 @@
include mesa-common.inc
+include mesa-git.inc
include mesa-dri.inc
-
-SRC_URI = "git://anongit.freedesktop.org/git/mesa/mesa;protocol=git \
- file://cross2.patch \
- file://matypes.h"
-# file://mesa-DRI2Swapbuffer.patch "
-S = "${WORKDIR}/git"
-
-SRCREV = "1bf94d419805538ac23a4d0b04d31ac5e4487aca"
-PV = "7.7+git${SRCPV}"
PR = "${INC_PR}.0"
-
-PACKAGES =+ "${PN}-xprogs"
-
-FILES_${PN}-xprogs = "${bindir}/glxdemo ${bindir}/glxgears ${bindir}/glxheads ${bindir}/glxinfo"
-
-do_configure_prepend () {
- cp ${WORKDIR}/matypes.h ${S}/src/mesa/x86
- touch ${S}/src/mesa/x86/matypes.h
-}
-
-do_compile () {
- oe_runmake clean
- oe_runmake -C src/glsl CC='${BUILD_CC}' CFLAGS=""
- mv ${S}/src/glsl/apps/compile ${S}/host_compile
- oe_runmake clean
- oe_runmake GLSL_CL="${S}/host_compile"
-}
-
-do_install_append () {
- install -d ${D}/usr/bin
- install -m 0755 ${S}/progs/xdemos/{glxdemo,glxgears,glxheads,glxinfo} ${D}/usr/bin/
-}
diff --git a/meta/recipes-graphics/mesa/mesa-git.inc b/meta/recipes-graphics/mesa/mesa-git.inc
new file mode 100644
index 0000000..2f27ef1
--- /dev/null
+++ b/meta/recipes-graphics/mesa/mesa-git.inc
@@ -0,0 +1,30 @@
+SRC_URI = "git://anongit.freedesktop.org/git/mesa/mesa;protocol=git \
+ file://cross2.patch \
+ file://matypes.h"
+# file://mesa-DRI2Swapbuffer.patch "
+S = "${WORKDIR}/git"
+
+SRCREV = "1bf94d419805538ac23a4d0b04d31ac5e4487aca"
+PV = "7.7+git${SRCPV}"
+
+PACKAGES =+ "${PN}-xprogs"
+
+FILES_${PN}-xprogs = "${bindir}/glxdemo ${bindir}/glxgears ${bindir}/glxheads ${bindir}/glxinfo"
+
+do_configure_prepend () {
+ cp ${WORKDIR}/matypes.h ${S}/src/mesa/x86
+ touch ${S}/src/mesa/x86/matypes.h
+}
+
+do_compile () {
+ oe_runmake clean
+ oe_runmake -C src/glsl CC='${BUILD_CC}' CFLAGS=""
+ mv ${S}/src/glsl/apps/compile ${S}/host_compile
+ oe_runmake clean
+ oe_runmake GLSL_CL="${S}/host_compile"
+}
+
+do_install_append () {
+ install -d ${D}/usr/bin
+ install -m 0755 ${S}/progs/xdemos/{glxdemo,glxgears,glxheads,glxinfo} ${D}/usr/bin/
+}
diff --git a/meta/recipes-graphics/mesa/mesa-xlib_git.bb b/meta/recipes-graphics/mesa/mesa-xlib_git.bb
new file mode 100644
index 0000000..7f827a7
--- /dev/null
+++ b/meta/recipes-graphics/mesa/mesa-xlib_git.bb
@@ -0,0 +1,4 @@
+include mesa-common.inc
+include mesa-git.inc
+include mesa-xlib.inc
+PR = "${INC_PR}.0"
--
1.7.7
^ permalink raw reply related
* [oe-core 16/20] mesa-dri: drop COMPATIBLE_HOST, swrast should work for everybody
From: Martin Jansa @ 2011-10-13 11:30 UTC (permalink / raw)
To: openembedded-core
In-Reply-To: <cover.1318505196.git.Martin.Jansa@gmail.com>
* and more machines like om-gta02 have own DRI modules too
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
---
meta/recipes-graphics/mesa/mesa-dri_7.11.bb | 2 --
meta/recipes-graphics/mesa/mesa-dri_git.bb | 2 --
2 files changed, 0 insertions(+), 4 deletions(-)
diff --git a/meta/recipes-graphics/mesa/mesa-dri_7.11.bb b/meta/recipes-graphics/mesa/mesa-dri_7.11.bb
index f9c6d89..5d25127 100644
--- a/meta/recipes-graphics/mesa/mesa-dri_7.11.bb
+++ b/meta/recipes-graphics/mesa/mesa-dri_7.11.bb
@@ -2,5 +2,3 @@ include mesa-common.inc
include mesa-${PV}.inc
include mesa-dri.inc
PR = "${INC_PR}.0"
-
-COMPATIBLE_HOST = '(i.86.*-linux|x86_64.*-linux)'
diff --git a/meta/recipes-graphics/mesa/mesa-dri_git.bb b/meta/recipes-graphics/mesa/mesa-dri_git.bb
index 1485213..6a7ab76 100644
--- a/meta/recipes-graphics/mesa/mesa-dri_git.bb
+++ b/meta/recipes-graphics/mesa/mesa-dri_git.bb
@@ -32,5 +32,3 @@ do_install_append () {
install -d ${D}/usr/bin
install -m 0755 ${S}/progs/xdemos/{glxdemo,glxgears,glxheads,glxinfo} ${D}/usr/bin/
}
-
-COMPATIBLE_HOST = '(i.86|x86_64).*-linux'
--
1.7.7
^ permalink raw reply related
* [oe-core 15/20] mesa-dri: LEAD_SONAME shouldn't be needed now, when we're packaging each lib in separate package
From: Martin Jansa @ 2011-10-13 11:30 UTC (permalink / raw)
To: openembedded-core
In-Reply-To: <cover.1318505196.git.Martin.Jansa@gmail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
---
meta/recipes-graphics/mesa/mesa-dri_7.11.bb | 2 --
meta/recipes-graphics/mesa/mesa-dri_git.bb | 2 --
2 files changed, 0 insertions(+), 4 deletions(-)
diff --git a/meta/recipes-graphics/mesa/mesa-dri_7.11.bb b/meta/recipes-graphics/mesa/mesa-dri_7.11.bb
index 11fdc9b..f9c6d89 100644
--- a/meta/recipes-graphics/mesa/mesa-dri_7.11.bb
+++ b/meta/recipes-graphics/mesa/mesa-dri_7.11.bb
@@ -3,6 +3,4 @@ include mesa-${PV}.inc
include mesa-dri.inc
PR = "${INC_PR}.0"
-LEAD_SONAME = "libGL.so.1"
-
COMPATIBLE_HOST = '(i.86.*-linux|x86_64.*-linux)'
diff --git a/meta/recipes-graphics/mesa/mesa-dri_git.bb b/meta/recipes-graphics/mesa/mesa-dri_git.bb
index aaa3073..1485213 100644
--- a/meta/recipes-graphics/mesa/mesa-dri_git.bb
+++ b/meta/recipes-graphics/mesa/mesa-dri_git.bb
@@ -15,8 +15,6 @@ PACKAGES =+ "${PN}-xprogs"
FILES_${PN}-xprogs = "${bindir}/glxdemo ${bindir}/glxgears ${bindir}/glxheads ${bindir}/glxinfo"
-LEAD_SONAME = "libGL.so.1"
-
do_configure_prepend () {
cp ${WORKDIR}/matypes.h ${S}/src/mesa/x86
touch ${S}/src/mesa/x86/matypes.h
--
1.7.7
^ permalink raw reply related
* [oe-core 14/20] mesa-dri: introduce MACHINE_DRI_MODULES
From: Martin Jansa @ 2011-10-13 11:30 UTC (permalink / raw)
To: openembedded-core
In-Reply-To: <cover.1318505196.git.Martin.Jansa@gmail.com>
* not everybody needs i915, i965
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
---
meta/recipes-graphics/mesa/mesa-dri.inc | 4 ++++
meta/recipes-graphics/mesa/mesa-dri_7.11.bb | 2 --
2 files changed, 4 insertions(+), 2 deletions(-)
diff --git a/meta/recipes-graphics/mesa/mesa-dri.inc b/meta/recipes-graphics/mesa/mesa-dri.inc
index 603438e..be6905c 100644
--- a/meta/recipes-graphics/mesa/mesa-dri.inc
+++ b/meta/recipes-graphics/mesa/mesa-dri.inc
@@ -6,6 +6,10 @@ DEFAULT_PREFERENCE = "-1"
EXTRA_OECONF += "--with-driver=dri --disable-egl --disable-gallium --without-gallium-drivers"
+MACHINE_DRI_MODULES ?= ""
+PACKAGE_ARCH = "${@['${MACHINE_ARCH}','${TUNE_PKGARCH}'][bb.data.getVar('MACHINE_DRI_MODULES',d,1) == '']}"
+EXTRA_OECONF += "--with-dri-drivers=swrast,${MACHINE_DRI_MODULES}"
+
python populate_packages_prepend() {
import os.path
diff --git a/meta/recipes-graphics/mesa/mesa-dri_7.11.bb b/meta/recipes-graphics/mesa/mesa-dri_7.11.bb
index 2cb2e05..11fdc9b 100644
--- a/meta/recipes-graphics/mesa/mesa-dri_7.11.bb
+++ b/meta/recipes-graphics/mesa/mesa-dri_7.11.bb
@@ -5,6 +5,4 @@ PR = "${INC_PR}.0"
LEAD_SONAME = "libGL.so.1"
-EXTRA_OECONF += "--with-dri-drivers=swrast,i915,i965"
-
COMPATIBLE_HOST = '(i.86.*-linux|x86_64.*-linux)'
--
1.7.7
^ permalink raw reply related
* [oe-core 13/20] mesa-dri: move shared options to mesa-dri.inc
From: Martin Jansa @ 2011-10-13 11:30 UTC (permalink / raw)
To: openembedded-core
In-Reply-To: <cover.1318505196.git.Martin.Jansa@gmail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
---
meta/recipes-graphics/mesa/mesa-dri.inc | 20 ++++++++++++++++++++
meta/recipes-graphics/mesa/mesa-dri_7.11.bb | 22 ++--------------------
meta/recipes-graphics/mesa/mesa-dri_git.bb | 19 +------------------
3 files changed, 23 insertions(+), 38 deletions(-)
create mode 100644 meta/recipes-graphics/mesa/mesa-dri.inc
diff --git a/meta/recipes-graphics/mesa/mesa-dri.inc b/meta/recipes-graphics/mesa/mesa-dri.inc
new file mode 100644
index 0000000..603438e
--- /dev/null
+++ b/meta/recipes-graphics/mesa/mesa-dri.inc
@@ -0,0 +1,20 @@
+PROTO_DEPS += "dri2proto"
+LIB_DEPS += "libdrm expat"
+
+# most of our targets do not have DRI so will use mesa-xlib
+DEFAULT_PREFERENCE = "-1"
+
+EXTRA_OECONF += "--with-driver=dri --disable-egl --disable-gallium --without-gallium-drivers"
+
+python populate_packages_prepend() {
+ import os.path
+
+ dri_drivers_root = os.path.join(bb.data.getVar('libdir', d, 1), "dri")
+
+ do_split_packages(d, dri_drivers_root, '^(.*)_dri\.so$', 'mesa-dri-driver-%s', 'Mesa %s DRI driver', extra_depends='')
+}
+
+PACKAGES_DYNAMIC = "mesa-dri-driver-*"
+
+FILES_${PN}-dbg += "${libdir}/dri/.debug/*"
+
diff --git a/meta/recipes-graphics/mesa/mesa-dri_7.11.bb b/meta/recipes-graphics/mesa/mesa-dri_7.11.bb
index 8ab1941..2cb2e05 100644
--- a/meta/recipes-graphics/mesa/mesa-dri_7.11.bb
+++ b/meta/recipes-graphics/mesa/mesa-dri_7.11.bb
@@ -1,28 +1,10 @@
include mesa-common.inc
include mesa-${PV}.inc
-
-PROTO_DEPS += "dri2proto"
-LIB_DEPS += "libdrm expat"
-
+include mesa-dri.inc
PR = "${INC_PR}.0"
-# most of our targets do not have DRI so will use mesa-xlib
-DEFAULT_PREFERENCE = "-1"
-
LEAD_SONAME = "libGL.so.1"
-EXTRA_OECONF += "--with-driver=dri --disable-egl -with-dri-drivers=swrast,i915,i965 --without-gallium-drivers"
-
-python populate_packages_prepend() {
- import os.path
-
- dri_drivers_root = os.path.join(bb.data.getVar('libdir', d, 1), "dri")
-
- do_split_packages(d, dri_drivers_root, '^(.*)_dri\.so$', 'mesa-dri-driver-%s', 'Mesa %s DRI driver', extra_depends='')
-}
+EXTRA_OECONF += "--with-dri-drivers=swrast,i915,i965"
COMPATIBLE_HOST = '(i.86.*-linux|x86_64.*-linux)'
-
-PACKAGES_DYNAMIC = "mesa-dri-driver-*"
-
-FILES_${PN}-dbg += "${libdir}/dri/.debug/*"
diff --git a/meta/recipes-graphics/mesa/mesa-dri_git.bb b/meta/recipes-graphics/mesa/mesa-dri_git.bb
index 10ebd1c..aaa3073 100644
--- a/meta/recipes-graphics/mesa/mesa-dri_git.bb
+++ b/meta/recipes-graphics/mesa/mesa-dri_git.bb
@@ -1,4 +1,5 @@
include mesa-common.inc
+include mesa-dri.inc
SRC_URI = "git://anongit.freedesktop.org/git/mesa/mesa;protocol=git \
file://cross2.patch \
@@ -6,26 +7,16 @@ SRC_URI = "git://anongit.freedesktop.org/git/mesa/mesa;protocol=git \
# file://mesa-DRI2Swapbuffer.patch "
S = "${WORKDIR}/git"
-PROTO_DEPS += "dri2proto"
-LIB_DEPS += "libdrm expat"
-
SRCREV = "1bf94d419805538ac23a4d0b04d31ac5e4487aca"
PV = "7.7+git${SRCPV}"
PR = "${INC_PR}.0"
-# most of our targets do not have DRI so will use mesa-xlib
-DEFAULT_PREFERENCE = "-1"
-
PACKAGES =+ "${PN}-xprogs"
-PACKAGES_DYNAMIC = "mesa-dri-driver-*"
-FILES_${PN}-dbg += "${libdir}/dri/.debug/*"
FILES_${PN}-xprogs = "${bindir}/glxdemo ${bindir}/glxgears ${bindir}/glxheads ${bindir}/glxinfo"
LEAD_SONAME = "libGL.so.1"
-EXTRA_OECONF += "--with-driver=dri --disable-egl --disable-gallium"
-
do_configure_prepend () {
cp ${WORKDIR}/matypes.h ${S}/src/mesa/x86
touch ${S}/src/mesa/x86/matypes.h
@@ -44,12 +35,4 @@ do_install_append () {
install -m 0755 ${S}/progs/xdemos/{glxdemo,glxgears,glxheads,glxinfo} ${D}/usr/bin/
}
-python populate_packages_prepend() {
- import os.path
-
- dri_drivers_root = os.path.join(bb.data.getVar('libdir', d, 1), "dri")
-
- do_split_packages(d, dri_drivers_root, '^(.*)_dri\.so$', 'mesa-dri-driver-%s', 'Mesa %s DRI driver', extra_depends='')
-}
-
COMPATIBLE_HOST = '(i.86|x86_64).*-linux'
--
1.7.7
^ permalink raw reply related
* [oe-core 12/20] mesa-xlib: move shared options to .inc
From: Martin Jansa @ 2011-10-13 11:30 UTC (permalink / raw)
To: openembedded-core
In-Reply-To: <cover.1318505196.git.Martin.Jansa@gmail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
---
meta/recipes-graphics/mesa/mesa-xlib.inc | 1 +
meta/recipes-graphics/mesa/mesa-xlib_7.11.bb | 3 +--
2 files changed, 2 insertions(+), 2 deletions(-)
create mode 100644 meta/recipes-graphics/mesa/mesa-xlib.inc
diff --git a/meta/recipes-graphics/mesa/mesa-xlib.inc b/meta/recipes-graphics/mesa/mesa-xlib.inc
new file mode 100644
index 0000000..b720e14
--- /dev/null
+++ b/meta/recipes-graphics/mesa/mesa-xlib.inc
@@ -0,0 +1 @@
+EXTRA_OECONF += " --with-driver=xlib --without-gallium-drivers"
diff --git a/meta/recipes-graphics/mesa/mesa-xlib_7.11.bb b/meta/recipes-graphics/mesa/mesa-xlib_7.11.bb
index 08277ac..95ff5e8 100644
--- a/meta/recipes-graphics/mesa/mesa-xlib_7.11.bb
+++ b/meta/recipes-graphics/mesa/mesa-xlib_7.11.bb
@@ -1,6 +1,5 @@
include mesa-common.inc
include mesa-${PV}.inc
-
+include mesa-xlib.inc
PR = "${INC_PR}.0"
-EXTRA_OECONF += "--with-driver=xlib --without-gallium-drivers"
--
1.7.7
^ permalink raw reply related
* [oe-core 11/20] mesa: package gl/egl/osmesa to separate packages
From: Martin Jansa @ 2011-10-13 11:30 UTC (permalink / raw)
To: openembedded-core
In-Reply-To: <cover.1318505196.git.Martin.Jansa@gmail.com>
* also install internal GL headers to libgl-dev
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
---
meta/recipes-graphics/mesa/mesa-common.inc | 18 ++++++++++++++++--
1 files changed, 16 insertions(+), 2 deletions(-)
diff --git a/meta/recipes-graphics/mesa/mesa-common.inc b/meta/recipes-graphics/mesa/mesa-common.inc
index 89ef0cf..62d9b24 100644
--- a/meta/recipes-graphics/mesa/mesa-common.inc
+++ b/meta/recipes-graphics/mesa/mesa-common.inc
@@ -40,7 +40,21 @@ require glx-use-tls.inc
# Multiple virtual/gl providers being built breaks staging
EXCLUDE_FROM_WORLD = "1"
-PACKAGES =+ "libglu libglu-dev"
-
+PACKAGES =+ "libegl libegl-dev libegl-dbg libglu libglu-dev libosmesa libosmesa-dev libgl libgl-dev"
+FILES_libegl = "${libdir}/libEGL.so.* ${libdir}/egl/*.so"
+FILES_libgl = "${libdir}/libGL.so.*"
FILES_libglu = "${libdir}/libGLU.so.*"
+FILES_libosmesa = "${libdir}/libOSMesa.so.*"
+
+FILES_libegl-dev = "${libdir}/libEGL.* ${includedir}/EGL"
+FILES_libgl-dev = "${libdir}/libGL.* ${includedir}/GL"
FILES_libglu-dev = "${libdir}/libGLU.* ${includedir}/GL/glu*.h"
+FILES_libosmesa-dev = "${libdir}/libOSMesa.* ${includedir}/osmesa.h"
+
+FILES_${PN}-dbg += "${libdir}/dri/.debug/*"
+FILES_libegl-dbg += "${libdir}/egl/.debug/*"
+
+do_install_append () {
+ install -d ${D}/${includedir}/GL
+ cp -pPr ${S}/include/GL/internal* ${D}/${includedir}/GL
+}
--
1.7.7
^ permalink raw reply related
* [oe-core 10/20] mesa: move shared PROTO_DEPS, LIB_DEPS and DEPENDS to common .inc
From: Martin Jansa @ 2011-10-13 11:30 UTC (permalink / raw)
To: openembedded-core
In-Reply-To: <cover.1318505196.git.Martin.Jansa@gmail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
---
meta/recipes-graphics/mesa/mesa-common.inc | 5 +++++
meta/recipes-graphics/mesa/mesa-dri_7.11.bb | 7 ++-----
meta/recipes-graphics/mesa/mesa-dri_git.bb | 6 ++----
meta/recipes-graphics/mesa/mesa-xlib_7.11.bb | 5 -----
4 files changed, 9 insertions(+), 14 deletions(-)
diff --git a/meta/recipes-graphics/mesa/mesa-common.inc b/meta/recipes-graphics/mesa/mesa-common.inc
index 1596832..89ef0cf 100644
--- a/meta/recipes-graphics/mesa/mesa-common.inc
+++ b/meta/recipes-graphics/mesa/mesa-common.inc
@@ -18,6 +18,11 @@ PE = "2"
SRC_URI = "ftp://ftp.freedesktop.org/pub/mesa/${PV}/MesaLib-${PV}.tar.bz2"
S = "${WORKDIR}/Mesa-${PV}"
+PROTO_DEPS = "xf86driproto glproto"
+LIB_DEPS = "virtual/libx11 libxext libxxf86vm libxdamage libxfixes libxml2-native"
+
+DEPENDS = "makedepend-native python-native ${PROTO_DEPS} ${LIB_DEPS}"
+
PROVIDES = "virtual/libgl"
# for mesa-dri and mesa-xlib
diff --git a/meta/recipes-graphics/mesa/mesa-dri_7.11.bb b/meta/recipes-graphics/mesa/mesa-dri_7.11.bb
index 90873aa..8ab1941 100644
--- a/meta/recipes-graphics/mesa/mesa-dri_7.11.bb
+++ b/meta/recipes-graphics/mesa/mesa-dri_7.11.bb
@@ -1,11 +1,8 @@
include mesa-common.inc
include mesa-${PV}.inc
-PROTO_DEPS = "xf86driproto glproto dri2proto"
-LIB_DEPS = "libdrm virtual/libx11 libxext libxxf86vm libxdamage libxfixes expat \
- libxml2-native"
-
-DEPENDS = "${PROTO_DEPS} ${LIB_DEPS} makedepend-native python-native"
+PROTO_DEPS += "dri2proto"
+LIB_DEPS += "libdrm expat"
PR = "${INC_PR}.0"
diff --git a/meta/recipes-graphics/mesa/mesa-dri_git.bb b/meta/recipes-graphics/mesa/mesa-dri_git.bb
index c50ba15..10ebd1c 100644
--- a/meta/recipes-graphics/mesa/mesa-dri_git.bb
+++ b/meta/recipes-graphics/mesa/mesa-dri_git.bb
@@ -6,10 +6,8 @@ SRC_URI = "git://anongit.freedesktop.org/git/mesa/mesa;protocol=git \
# file://mesa-DRI2Swapbuffer.patch "
S = "${WORKDIR}/git"
-PROTO_DEPS = "xf86driproto glproto dri2proto"
-LIB_DEPS = "libdrm virtual/libx11 libxext libxxf86vm libxdamage libxfixes expat"
-
-DEPENDS = "${PROTO_DEPS} ${LIB_DEPS}"
+PROTO_DEPS += "dri2proto"
+LIB_DEPS += "libdrm expat"
SRCREV = "1bf94d419805538ac23a4d0b04d31ac5e4487aca"
PV = "7.7+git${SRCPV}"
diff --git a/meta/recipes-graphics/mesa/mesa-xlib_7.11.bb b/meta/recipes-graphics/mesa/mesa-xlib_7.11.bb
index 44719a0..08277ac 100644
--- a/meta/recipes-graphics/mesa/mesa-xlib_7.11.bb
+++ b/meta/recipes-graphics/mesa/mesa-xlib_7.11.bb
@@ -1,11 +1,6 @@
include mesa-common.inc
include mesa-${PV}.inc
-PROTO_DEPS = "xf86driproto glproto"
-LIB_DEPS = "virtual/libx11 libxext libxxf86vm libxdamage libxfixes libxml2-native"
-
-DEPENDS = "${PROTO_DEPS} ${LIB_DEPS} makedepend-native"
-
PR = "${INC_PR}.0"
EXTRA_OECONF += "--with-driver=xlib --without-gallium-drivers"
--
1.7.7
^ permalink raw reply related
* [oe-core 09/20] mesa-7.11: move shared DEPENDS, SRC_URI, checksums and do_configure_prepend to shared .inc file
From: Martin Jansa @ 2011-10-13 11:30 UTC (permalink / raw)
To: openembedded-core
In-Reply-To: <cover.1318505196.git.Martin.Jansa@gmail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
---
meta/recipes-graphics/mesa/mesa-7.11.inc | 14 ++++++++++++++
meta/recipes-graphics/mesa/mesa-dri_7.11.bb | 17 +----------------
meta/recipes-graphics/mesa/mesa-xlib_7.11.bb | 16 +---------------
3 files changed, 16 insertions(+), 31 deletions(-)
create mode 100644 meta/recipes-graphics/mesa/mesa-7.11.inc
diff --git a/meta/recipes-graphics/mesa/mesa-7.11.inc b/meta/recipes-graphics/mesa/mesa-7.11.inc
new file mode 100644
index 0000000..746b764
--- /dev/null
+++ b/meta/recipes-graphics/mesa/mesa-7.11.inc
@@ -0,0 +1,14 @@
+DEPENDS += "mesa-dri-glsl-native"
+
+SRC_URI += "file://uclibc.patch \
+ file://crossfix.patch \
+ "
+SRC_URI[md5sum] = "ff03aca82d0560009a076a87c888cf13"
+SRC_URI[sha256sum] = "f8bf37a00882840a3e3d327576bc26a79ae7f4e18fe1f7d5f17a5b1c80dd7acf"
+
+do_configure_prepend() {
+ #check for python not python2, because python-native does not stage python2 binary/link
+ sed -i 's/AC_CHECK_PROGS(\[PYTHON2\], \[python2 python\])/AC_CHECK_PROGS(\[PYTHON2\], \[python python\])/g' ${S}/configure.ac
+ # We need builtin_compiler built for buildhost arch instead of target (is provided by mesa-dri-glsl-native)"
+ sed -i "s#\./builtin_compiler#${STAGING_BINDIR_NATIVE}/glsl/builtin_compiler#g" ${S}/src/glsl/Makefile
+}
diff --git a/meta/recipes-graphics/mesa/mesa-dri_7.11.bb b/meta/recipes-graphics/mesa/mesa-dri_7.11.bb
index 5f14346..90873aa 100644
--- a/meta/recipes-graphics/mesa/mesa-dri_7.11.bb
+++ b/meta/recipes-graphics/mesa/mesa-dri_7.11.bb
@@ -1,22 +1,14 @@
include mesa-common.inc
+include mesa-${PV}.inc
PROTO_DEPS = "xf86driproto glproto dri2proto"
LIB_DEPS = "libdrm virtual/libx11 libxext libxxf86vm libxdamage libxfixes expat \
libxml2-native"
DEPENDS = "${PROTO_DEPS} ${LIB_DEPS} makedepend-native python-native"
-DEPENDS += "mesa-dri-glsl-native"
PR = "${INC_PR}.0"
-SRC_URI = "ftp://ftp.freedesktop.org/pub/mesa/${PV}/MesaLib-${PV}.tar.bz2 \
- file://crossfix.patch \
- file://uclibc.patch \
- "
-
-SRC_URI[md5sum] = "ff03aca82d0560009a076a87c888cf13"
-SRC_URI[sha256sum] = "f8bf37a00882840a3e3d327576bc26a79ae7f4e18fe1f7d5f17a5b1c80dd7acf"
-
# most of our targets do not have DRI so will use mesa-xlib
DEFAULT_PREFERENCE = "-1"
@@ -37,10 +29,3 @@ COMPATIBLE_HOST = '(i.86.*-linux|x86_64.*-linux)'
PACKAGES_DYNAMIC = "mesa-dri-driver-*"
FILES_${PN}-dbg += "${libdir}/dri/.debug/*"
-
-do_configure_prepend() {
- #check for python not python2, because python-native does not stage python2 binary/link
- sed -i 's/AC_CHECK_PROGS(\[PYTHON2\], \[python2 python\])/AC_CHECK_PROGS(\[PYTHON2\], \[python python\])/g' ${S}/configure.ac
- # We need builtin_compiler built for buildhost arch instead of target (is provided by mesa-dri-glsl-native)"
- sed -i "s#\./builtin_compiler#${STAGING_BINDIR_NATIVE}/glsl/builtin_compiler#g" ${S}/src/glsl/Makefile
-}
diff --git a/meta/recipes-graphics/mesa/mesa-xlib_7.11.bb b/meta/recipes-graphics/mesa/mesa-xlib_7.11.bb
index 1e0d821..44719a0 100644
--- a/meta/recipes-graphics/mesa/mesa-xlib_7.11.bb
+++ b/meta/recipes-graphics/mesa/mesa-xlib_7.11.bb
@@ -1,11 +1,5 @@
include mesa-common.inc
-
-SRC_URI = "ftp://ftp.freedesktop.org/pub/mesa/${PV}/MesaLib-${PV}.tar.bz2 \
- file://uclibc.patch \
- "
-
-SRC_URI[md5sum] = "ff03aca82d0560009a076a87c888cf13"
-SRC_URI[sha256sum] = "f8bf37a00882840a3e3d327576bc26a79ae7f4e18fe1f7d5f17a5b1c80dd7acf"
+include mesa-${PV}.inc
PROTO_DEPS = "xf86driproto glproto"
LIB_DEPS = "virtual/libx11 libxext libxxf86vm libxdamage libxfixes libxml2-native"
@@ -15,11 +9,3 @@ DEPENDS = "${PROTO_DEPS} ${LIB_DEPS} makedepend-native"
PR = "${INC_PR}.0"
EXTRA_OECONF += "--with-driver=xlib --without-gallium-drivers"
-
-do_configure_prepend() {
- #check for python not python2, because python-native does not stage python2 binary/link
- sed -i 's/AC_CHECK_PROGS(\[PYTHON2\], \[python2 python\])/AC_CHECK_PROGS(\[PYTHON2\], \[python python\])/g' ${S}/configure.ac
- # We need builtin_compiler built for buildhost arch instead of target (is provided by mesa-dri-glsl-native)"
- sed -i "s#\./builtin_compiler#${STAGING_BINDIR_NATIVE}/glsl/builtin_compiler#g" ${S}/src/glsl/Makefile
-}
-
--
1.7.7
^ permalink raw reply related
* [oe-core 08/20] mesa-common: use glx-use-tls.inc instead of enabling glx-tls every time
From: Martin Jansa @ 2011-10-13 11:30 UTC (permalink / raw)
To: openembedded-core
In-Reply-To: <cover.1318505196.git.Martin.Jansa@gmail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
---
meta/recipes-graphics/mesa/mesa-common.inc | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
diff --git a/meta/recipes-graphics/mesa/mesa-common.inc b/meta/recipes-graphics/mesa/mesa-common.inc
index ee359ba..1596832 100644
--- a/meta/recipes-graphics/mesa/mesa-common.inc
+++ b/meta/recipes-graphics/mesa/mesa-common.inc
@@ -28,7 +28,9 @@ inherit autotools pkgconfig
EXTRA_OECONF = "--enable-glu \
--disable-glw \
--disable-glut \
- --enable-glx-tls"
+ "
+
+require glx-use-tls.inc
# Multiple virtual/gl providers being built breaks staging
EXCLUDE_FROM_WORLD = "1"
--
1.7.7
^ permalink raw reply related
* [oe-core 07/20] mesa-common: MesaDemos is now separate recipes, bump PE, introduce INC_PR
From: Martin Jansa @ 2011-10-13 11:30 UTC (permalink / raw)
To: openembedded-core
In-Reply-To: <cover.1318505196.git.Martin.Jansa@gmail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
---
meta/recipes-graphics/mesa/mesa-common.inc | 5 +++--
meta/recipes-graphics/mesa/mesa-dri_7.11.bb | 2 +-
meta/recipes-graphics/mesa/mesa-dri_git.bb | 2 +-
meta/recipes-graphics/mesa/mesa-xlib_7.11.bb | 3 +--
4 files changed, 6 insertions(+), 6 deletions(-)
diff --git a/meta/recipes-graphics/mesa/mesa-common.inc b/meta/recipes-graphics/mesa/mesa-common.inc
index fb9a216..ee359ba 100644
--- a/meta/recipes-graphics/mesa/mesa-common.inc
+++ b/meta/recipes-graphics/mesa/mesa-common.inc
@@ -12,9 +12,10 @@ SECTION = "x11"
LICENSE = "MIT"
LIC_FILES_CHKSUM = "file://docs/license.html;md5=7a3373c039b6b925c427755a4f779c1d"
-SRC_URI = "ftp://ftp.freedesktop.org/pub/mesa/${PV}/MesaLib-${PV}.tar.bz2;name=mesalib \
- ftp://ftp.freedesktop.org/pub/mesa/${PV}/MesaDemos-${PV}.tar.bz2;name=mesademos "
+INC_PR = "r12"
+PE = "2"
+SRC_URI = "ftp://ftp.freedesktop.org/pub/mesa/${PV}/MesaLib-${PV}.tar.bz2"
S = "${WORKDIR}/Mesa-${PV}"
PROVIDES = "virtual/libgl"
diff --git a/meta/recipes-graphics/mesa/mesa-dri_7.11.bb b/meta/recipes-graphics/mesa/mesa-dri_7.11.bb
index 5f15091..5f14346 100644
--- a/meta/recipes-graphics/mesa/mesa-dri_7.11.bb
+++ b/meta/recipes-graphics/mesa/mesa-dri_7.11.bb
@@ -7,7 +7,7 @@ LIB_DEPS = "libdrm virtual/libx11 libxext libxxf86vm libxdamage libxfixes expat
DEPENDS = "${PROTO_DEPS} ${LIB_DEPS} makedepend-native python-native"
DEPENDS += "mesa-dri-glsl-native"
-PR = "r5"
+PR = "${INC_PR}.0"
SRC_URI = "ftp://ftp.freedesktop.org/pub/mesa/${PV}/MesaLib-${PV}.tar.bz2 \
file://crossfix.patch \
diff --git a/meta/recipes-graphics/mesa/mesa-dri_git.bb b/meta/recipes-graphics/mesa/mesa-dri_git.bb
index 9e32d0a..c50ba15 100644
--- a/meta/recipes-graphics/mesa/mesa-dri_git.bb
+++ b/meta/recipes-graphics/mesa/mesa-dri_git.bb
@@ -13,7 +13,7 @@ DEPENDS = "${PROTO_DEPS} ${LIB_DEPS}"
SRCREV = "1bf94d419805538ac23a4d0b04d31ac5e4487aca"
PV = "7.7+git${SRCPV}"
-PR = "r2"
+PR = "${INC_PR}.0"
# most of our targets do not have DRI so will use mesa-xlib
DEFAULT_PREFERENCE = "-1"
diff --git a/meta/recipes-graphics/mesa/mesa-xlib_7.11.bb b/meta/recipes-graphics/mesa/mesa-xlib_7.11.bb
index 8b83378..1e0d821 100644
--- a/meta/recipes-graphics/mesa/mesa-xlib_7.11.bb
+++ b/meta/recipes-graphics/mesa/mesa-xlib_7.11.bb
@@ -12,8 +12,7 @@ LIB_DEPS = "virtual/libx11 libxext libxxf86vm libxdamage libxfixes libxml2-nativ
DEPENDS = "${PROTO_DEPS} ${LIB_DEPS} makedepend-native"
-PE = "1"
-PR = "r1"
+PR = "${INC_PR}.0"
EXTRA_OECONF += "--with-driver=xlib --without-gallium-drivers"
--
1.7.7
^ permalink raw reply related
* [oe-core 06/20] mesa-common: add common LIC_FILES_CHKSUM for newer mesa versions
From: Martin Jansa @ 2011-10-13 11:30 UTC (permalink / raw)
To: openembedded-core
In-Reply-To: <cover.1318505196.git.Martin.Jansa@gmail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
---
meta/recipes-graphics/mesa/mesa-common.inc | 1 +
meta/recipes-graphics/mesa/mesa-dri_7.11.bb | 2 --
meta/recipes-graphics/mesa/mesa-xlib_7.11.bb | 2 --
3 files changed, 1 insertions(+), 4 deletions(-)
diff --git a/meta/recipes-graphics/mesa/mesa-common.inc b/meta/recipes-graphics/mesa/mesa-common.inc
index b3d1c8f..fb9a216 100644
--- a/meta/recipes-graphics/mesa/mesa-common.inc
+++ b/meta/recipes-graphics/mesa/mesa-common.inc
@@ -10,6 +10,7 @@ HOMEPAGE = "http://mesa3d.org"
BUGTRACKER = "https://bugs.freedesktop.org"
SECTION = "x11"
LICENSE = "MIT"
+LIC_FILES_CHKSUM = "file://docs/license.html;md5=7a3373c039b6b925c427755a4f779c1d"
SRC_URI = "ftp://ftp.freedesktop.org/pub/mesa/${PV}/MesaLib-${PV}.tar.bz2;name=mesalib \
ftp://ftp.freedesktop.org/pub/mesa/${PV}/MesaDemos-${PV}.tar.bz2;name=mesademos "
diff --git a/meta/recipes-graphics/mesa/mesa-dri_7.11.bb b/meta/recipes-graphics/mesa/mesa-dri_7.11.bb
index 6fc8d95..5f15091 100644
--- a/meta/recipes-graphics/mesa/mesa-dri_7.11.bb
+++ b/meta/recipes-graphics/mesa/mesa-dri_7.11.bb
@@ -1,7 +1,5 @@
include mesa-common.inc
-LIC_FILES_CHKSUM = "file://docs/license.html;md5=7a3373c039b6b925c427755a4f779c1d"
-
PROTO_DEPS = "xf86driproto glproto dri2proto"
LIB_DEPS = "libdrm virtual/libx11 libxext libxxf86vm libxdamage libxfixes expat \
libxml2-native"
diff --git a/meta/recipes-graphics/mesa/mesa-xlib_7.11.bb b/meta/recipes-graphics/mesa/mesa-xlib_7.11.bb
index 1e0d95e..8b83378 100644
--- a/meta/recipes-graphics/mesa/mesa-xlib_7.11.bb
+++ b/meta/recipes-graphics/mesa/mesa-xlib_7.11.bb
@@ -7,8 +7,6 @@ SRC_URI = "ftp://ftp.freedesktop.org/pub/mesa/${PV}/MesaLib-${PV}.tar.bz2 \
SRC_URI[md5sum] = "ff03aca82d0560009a076a87c888cf13"
SRC_URI[sha256sum] = "f8bf37a00882840a3e3d327576bc26a79ae7f4e18fe1f7d5f17a5b1c80dd7acf"
-LIC_FILES_CHKSUM = "file://docs/license.html;md5=7a3373c039b6b925c427755a4f779c1d"
-
PROTO_DEPS = "xf86driproto glproto"
LIB_DEPS = "virtual/libx11 libxext libxxf86vm libxdamage libxfixes libxml2-native"
--
1.7.7
^ permalink raw reply related
* [oe-core 05/20] mesa: move common patches which could be used in both mesa-dri and mesa-xlib from mesa-dri to mesa
From: Martin Jansa @ 2011-10-13 11:30 UTC (permalink / raw)
To: openembedded-core
In-Reply-To: <cover.1318505196.git.Martin.Jansa@gmail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
---
meta/recipes-graphics/mesa/mesa-common.inc | 3 +++
meta/recipes-graphics/mesa/mesa-xlib_7.11.bb | 2 --
.../mesa/{mesa-dri => mesa}/cross2.patch | 0
.../mesa/{mesa-dri => mesa}/crossfix.patch | 0
.../mesa/{mesa-dri => mesa}/i586/matypes.h | 0
.../mesa/{mesa-dri => mesa}/uclibc.patch | 0
6 files changed, 3 insertions(+), 2 deletions(-)
rename meta/recipes-graphics/mesa/{mesa-dri => mesa}/cross2.patch (100%)
rename meta/recipes-graphics/mesa/{mesa-dri => mesa}/crossfix.patch (100%)
rename meta/recipes-graphics/mesa/{mesa-dri => mesa}/i586/matypes.h (100%)
rename meta/recipes-graphics/mesa/{mesa-dri => mesa}/uclibc.patch (100%)
diff --git a/meta/recipes-graphics/mesa/mesa-common.inc b/meta/recipes-graphics/mesa/mesa-common.inc
index d8e800e..b3d1c8f 100644
--- a/meta/recipes-graphics/mesa/mesa-common.inc
+++ b/meta/recipes-graphics/mesa/mesa-common.inc
@@ -18,6 +18,9 @@ S = "${WORKDIR}/Mesa-${PV}"
PROVIDES = "virtual/libgl"
+# for mesa-dri and mesa-xlib
+FILESEXTRAPATHS_append := "${THISDIR}/mesa:"
+
inherit autotools pkgconfig
EXTRA_OECONF = "--enable-glu \
diff --git a/meta/recipes-graphics/mesa/mesa-xlib_7.11.bb b/meta/recipes-graphics/mesa/mesa-xlib_7.11.bb
index ea4acc6..1e0d95e 100644
--- a/meta/recipes-graphics/mesa/mesa-xlib_7.11.bb
+++ b/meta/recipes-graphics/mesa/mesa-xlib_7.11.bb
@@ -1,7 +1,5 @@
include mesa-common.inc
-FILESPATH =. "${FILE_DIRNAME}/mesa-dri:"
-
SRC_URI = "ftp://ftp.freedesktop.org/pub/mesa/${PV}/MesaLib-${PV}.tar.bz2 \
file://uclibc.patch \
"
diff --git a/meta/recipes-graphics/mesa/mesa-dri/cross2.patch b/meta/recipes-graphics/mesa/mesa/cross2.patch
similarity index 100%
rename from meta/recipes-graphics/mesa/mesa-dri/cross2.patch
rename to meta/recipes-graphics/mesa/mesa/cross2.patch
diff --git a/meta/recipes-graphics/mesa/mesa-dri/crossfix.patch b/meta/recipes-graphics/mesa/mesa/crossfix.patch
similarity index 100%
rename from meta/recipes-graphics/mesa/mesa-dri/crossfix.patch
rename to meta/recipes-graphics/mesa/mesa/crossfix.patch
diff --git a/meta/recipes-graphics/mesa/mesa-dri/i586/matypes.h b/meta/recipes-graphics/mesa/mesa/i586/matypes.h
similarity index 100%
rename from meta/recipes-graphics/mesa/mesa-dri/i586/matypes.h
rename to meta/recipes-graphics/mesa/mesa/i586/matypes.h
diff --git a/meta/recipes-graphics/mesa/mesa-dri/uclibc.patch b/meta/recipes-graphics/mesa/mesa/uclibc.patch
similarity index 100%
rename from meta/recipes-graphics/mesa/mesa-dri/uclibc.patch
rename to meta/recipes-graphics/mesa/mesa/uclibc.patch
--
1.7.7
^ permalink raw reply related
* [oe-core 04/20] mesa-dri-glsl-native: fix LICENSE
From: Martin Jansa @ 2011-10-13 11:30 UTC (permalink / raw)
To: openembedded-core
In-Reply-To: <cover.1318505196.git.Martin.Jansa@gmail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
---
.../mesa/mesa-dri-glsl-native_7.11.bb | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/meta/recipes-graphics/mesa/mesa-dri-glsl-native_7.11.bb b/meta/recipes-graphics/mesa/mesa-dri-glsl-native_7.11.bb
index 07247d5..07b0761 100644
--- a/meta/recipes-graphics/mesa/mesa-dri-glsl-native_7.11.bb
+++ b/meta/recipes-graphics/mesa/mesa-dri-glsl-native_7.11.bb
@@ -2,7 +2,7 @@ DESCRIPTION = "gl shader language specific build from mesa-dri"
HOMEPAGE = "http://mesa3d.org"
BUGTRACKER = "https://bugs.freedesktop.org"
SECTION = "x11"
-LICENSE = "GPLv3"
+LICENSE = "GPLv3+"
LIC_FILES_CHKSUM = "file://glsl_parser.cpp;beginline=3;endline=33;md5=d078f1cddc2fc355719c090482254bd9"
DEPENDS = "makedepend-native"
--
1.7.7
^ permalink raw reply related
* [oe-core 03/20] xorg-driver-common: bump PE for upgrade path for meta-oe users
From: Martin Jansa @ 2011-10-13 11:30 UTC (permalink / raw)
To: openembedded-core
In-Reply-To: <cover.1318505196.git.Martin.Jansa@gmail.com>
* mostly because of xf86-video-omapfb
Not downgrading package xf86-video-omapfb on root from
1:0.1.1+r16+gitr28c006c94e57ea71df11ec4fff79d7ffcfc4860f-r16 to
1:0.1.1+gitr1+28c006c94e57ea71df11ec4fff79d7ffcfc4860f-r17.5.
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
---
.../xorg-driver/xorg-driver-common.inc | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/meta/recipes-graphics/xorg-driver/xorg-driver-common.inc b/meta/recipes-graphics/xorg-driver/xorg-driver-common.inc
index 097060e..9a474b7 100644
--- a/meta/recipes-graphics/xorg-driver/xorg-driver-common.inc
+++ b/meta/recipes-graphics/xorg-driver/xorg-driver-common.inc
@@ -4,7 +4,7 @@ BUGTRACKER = "https://bugs.freedesktop.org"
SECTION = "x11/drivers"
LICENSE = "MIT-X"
-PE = "1"
+PE = "2"
INC_PR = "r17"
DEPENDS = "virtual/xserver xproto randrproto util-macros"
--
1.7.7
^ permalink raw reply related
* [oe-core 02/20] xserver-xorg: move PE to xserver-xorg-common and bump it
From: Martin Jansa @ 2011-10-13 11:30 UTC (permalink / raw)
To: openembedded-core
In-Reply-To: <cover.1318505196.git.Martin.Jansa@gmail.com>
* to provide upgrade path for meta-oe users, where it had PE = 2 already
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
---
.../xorg-xserver/xserver-xorg-common.inc | 2 ++
.../xorg-xserver/xserver-xorg_1.11.1.bb | 2 --
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/meta/recipes-graphics/xorg-xserver/xserver-xorg-common.inc b/meta/recipes-graphics/xorg-xserver/xserver-xorg-common.inc
index a8c7b0a..2559397 100644
--- a/meta/recipes-graphics/xorg-xserver/xserver-xorg-common.inc
+++ b/meta/recipes-graphics/xorg-xserver/xserver-xorg-common.inc
@@ -12,6 +12,8 @@ PROVIDES = "virtual/xserver-xf86"
# Other packages tend to just care that there is *an* X server:
PROVIDES += "virtual/xserver"
+PE = "2"
+
XORG_PN = "xorg-server"
SRC_URI = "${XORG_MIRROR}/individual/xserver/${XORG_PN}-${PV}.tar.bz2"
SRC_URI += "file://macro_tweak.patch"
diff --git a/meta/recipes-graphics/xorg-xserver/xserver-xorg_1.11.1.bb b/meta/recipes-graphics/xorg-xserver/xserver-xorg_1.11.1.bb
index 8e97888..0f94fe2 100644
--- a/meta/recipes-graphics/xorg-xserver/xserver-xorg_1.11.1.bb
+++ b/meta/recipes-graphics/xorg-xserver/xserver-xorg_1.11.1.bb
@@ -1,4 +1,2 @@
require xserver-xorg.inc
require xserver-xorg-${PV}.inc
-
-PE = "1"
--
1.7.7
^ permalink raw reply related
* [oe-core 01/20] xserver-xorg: drop xorg-minimal-fonts from RDEPENDS
From: Martin Jansa @ 2011-10-13 11:30 UTC (permalink / raw)
To: openembedded-core
In-Reply-To: <cover.1318505196.git.Martin.Jansa@gmail.com>
* as discussed here http://lists.linuxtogo.org/pipermail/openembedded-core/2011-October/010899.html
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
---
.../xorg-xserver/xserver-xorg-1.11.1.inc | 2 ++
.../xorg-xserver/xserver-xorg-common.inc | 1 -
2 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/meta/recipes-graphics/xorg-xserver/xserver-xorg-1.11.1.inc b/meta/recipes-graphics/xorg-xserver/xserver-xorg-1.11.1.inc
index 690de3f..2c5bb0a 100644
--- a/meta/recipes-graphics/xorg-xserver/xserver-xorg-1.11.1.inc
+++ b/meta/recipes-graphics/xorg-xserver/xserver-xorg-1.11.1.inc
@@ -3,5 +3,7 @@ SRC_URI += "file://crosscompile.patch"
# Misc build failure for master HEAD
SRC_URI += "file://fix_open_max_preprocessor_error.patch"
+PR = "r1"
+
SRC_URI[md5sum] = "4cdf54dc569b6a5548257c93a45dcd3d"
SRC_URI[sha256sum] = "c069c177d9a80bca2ee1d49aa1af6d9f996c83e4ff12393cab2ca3f8817276f6"
diff --git a/meta/recipes-graphics/xorg-xserver/xserver-xorg-common.inc b/meta/recipes-graphics/xorg-xserver/xserver-xorg-common.inc
index 0cc3dc0..a8c7b0a 100644
--- a/meta/recipes-graphics/xorg-xserver/xserver-xorg-common.inc
+++ b/meta/recipes-graphics/xorg-xserver/xserver-xorg-common.inc
@@ -60,7 +60,6 @@ PACKAGES =+ "${PN}-security-policy \
${PN}-module-libxf1bpp \
${PN}-module-libxf4bpp"
-RDEPENDS_${PN} += "xorg-minimal-fonts"
RRECOMMENDS_${PN} += "${PN}-security-policy xkeyboard-config rgb xserver-xf86-config"
RDEPENDS_${PN}-xvfb += "xkeyboard-config"
--
1.7.7
^ permalink raw reply related
* [oe-core 00/20] Xorg, mesa changes
From: Martin Jansa @ 2011-10-13 11:30 UTC (permalink / raw)
To: openembedded-core
Mostly cleanup in mesa directory.
Most controversial is
mesa-dri: introduce MACHINE_DRI_MODULES
but maybe we can use it as distro variable and keep it with default arch.
But then we cannot just add ie glamo dri module from meta-openmoko like this:
http://git.shr-project.org/git/?p=meta-smartphone.git;a=commit;h=b50c8d00cf764c276b0792c0623b8eda3d18d343
without distro (setting MACHINE_DRI_MODULES) depending on such bsp layer.
The following changes since commit 5ad1ca59dea6d5045f252ed7b786ad193faced64:
xf86-video-intel: Update 2.15.0 -> 2.16.0 (2011-10-12 22:59:14 +0100)
are available in the git repository at:
git://git.openembedded.org/openembedded-core-contrib jansa/x11-v4
http://cgit.openembedded.org/cgit.cgi/openembedded-core-contrib/log/?h=jansa/x11-v4
Martin Jansa (20):
xserver-xorg: drop xorg-minimal-fonts from RDEPENDS
xserver-xorg: move PE to xserver-xorg-common and bump it
xorg-driver-common: bump PE for upgrade path for meta-oe users
mesa-dri-glsl-native: fix LICENSE
mesa: move common patches which could be used in both mesa-dri and
mesa-xlib from mesa-dri to mesa
mesa-common: add common LIC_FILES_CHKSUM for newer mesa versions
mesa-common: MesaDemos is now separate recipes, bump PE, introduce
INC_PR
mesa-common: use glx-use-tls.inc instead of enabling glx-tls every
time
mesa-7.11: move shared DEPENDS, SRC_URI, checksums and
do_configure_prepend to shared .inc file
mesa: move shared PROTO_DEPS, LIB_DEPS and DEPENDS to common .inc
mesa: package gl/egl/osmesa to separate packages
mesa-xlib: move shared options to .inc
mesa-dri: move shared options to mesa-dri.inc
mesa-dri: introduce MACHINE_DRI_MODULES
mesa-dri: LEAD_SONAME shouldn't be needed now, when we're packaging
each lib in separate package
mesa-dri: drop COMPATIBLE_HOST, swrast should work for everybody
mesa-git: move shared parts from mesa-dri_git to mesa-git.inc and add
mesa-xlib_git
mesa-git: lower D_P a bit more then all mesa-dri
mesa-git: upgrade from 7.7+git to 7.11+git
mesa-git: fix LIC_FILES_CHKSUM
meta/recipes-graphics/mesa/mesa-7.11.inc | 14 ++
meta/recipes-graphics/mesa/mesa-common.inc | 36 ++++-
.../mesa/mesa-dri-glsl-native_7.11.bb | 2 +-
meta/recipes-graphics/mesa/mesa-dri.inc | 24 +++
meta/recipes-graphics/mesa/mesa-dri/cross2.patch | 46 ------
meta/recipes-graphics/mesa/mesa-dri/i586/matypes.h | 162 --------------------
meta/recipes-graphics/mesa/mesa-dri_7.11.bb | 50 +------
meta/recipes-graphics/mesa/mesa-dri_git.bb | 59 +-------
meta/recipes-graphics/mesa/mesa-git.inc | 20 +++
meta/recipes-graphics/mesa/mesa-git/uclibc.patch | 57 +++++++
meta/recipes-graphics/mesa/mesa-xlib.inc | 1 +
meta/recipes-graphics/mesa/mesa-xlib_7.11.bb | 31 +----
meta/recipes-graphics/mesa/mesa-xlib_git.bb | 8 +
.../mesa/{mesa-dri => mesa}/crossfix.patch | 0
.../mesa/{mesa-dri => mesa}/uclibc.patch | 0
.../xorg-driver/xorg-driver-common.inc | 2 +-
.../xorg-xserver/xserver-xorg-1.11.1.inc | 2 +
.../xorg-xserver/xserver-xorg-common.inc | 3 +-
.../xorg-xserver/xserver-xorg_1.11.1.bb | 2 -
19 files changed, 172 insertions(+), 347 deletions(-)
create mode 100644 meta/recipes-graphics/mesa/mesa-7.11.inc
create mode 100644 meta/recipes-graphics/mesa/mesa-dri.inc
delete mode 100644 meta/recipes-graphics/mesa/mesa-dri/cross2.patch
delete mode 100644 meta/recipes-graphics/mesa/mesa-dri/i586/matypes.h
create mode 100644 meta/recipes-graphics/mesa/mesa-git.inc
create mode 100644 meta/recipes-graphics/mesa/mesa-git/uclibc.patch
create mode 100644 meta/recipes-graphics/mesa/mesa-xlib.inc
create mode 100644 meta/recipes-graphics/mesa/mesa-xlib_git.bb
rename meta/recipes-graphics/mesa/{mesa-dri => mesa}/crossfix.patch (100%)
rename meta/recipes-graphics/mesa/{mesa-dri => mesa}/uclibc.patch (100%)
--
1.7.7
^ permalink raw reply
* Re: [PATCH 1/1] distro_tracking_fields.inc: Add maintainer for some packages without maintainer
From: Martin Jansa @ 2011-10-13 11:10 UTC (permalink / raw)
To: Patches and discussions about the oe-core layer
In-Reply-To: <5b2a12b800170740a2f91a17f7f2e4fced3f1b5e.1318503768.git.xiaofeng.yan@windriver.com>
[-- Attachment #1: Type: text/plain, Size: 4272 bytes --]
On Thu, Oct 13, 2011 at 07:07:15PM +0800, Xiaofeng Yan wrote:
> From: Xiaofeng Yan <xiaofeng.yan@windriver.com>
>
> Add the name of maintainer for the following packages:
> bind
> libx11-diet
> qmmp
> libarchive
> xserver-kdrive
> xserver-xorg-lite
> directfb
>
> Signed-off-by: Xiaofeng Yan <xiaofeng.yan@windriver.com>
> ---
> .../conf/distro/include/distro_tracking_fields.inc | 38 ++++++++++++++++++--
> 1 files changed, 35 insertions(+), 3 deletions(-)
>
> diff --git a/meta/conf/distro/include/distro_tracking_fields.inc b/meta/conf/distro/include/distro_tracking_fields.inc
> index b07209e..1023091 100644
> --- a/meta/conf/distro/include/distro_tracking_fields.inc
> +++ b/meta/conf/distro/include/distro_tracking_fields.inc
> @@ -4599,6 +4599,23 @@ RECIPE_MAINTAINER_pn-libx11 = "Dexuan Cui <dexuan.cui@intel.com>"
>
> RECIPE_STATUS_pn-libx11-diet = "green"
> DISTRO_PN_ALIAS_pn-libx11-diet = "Debian=libx11-6 Fedora=libX11 Ubuntu=libx11-6 OpenSuSE=xorg-x11-libX11"
> +RECIPE_LATEST_VERSION_pn-libx11-diet = "1.4.4"
> +RECIPE_LATEST_RELEASE_DATE_pn-libx11-diet = "Dec,2010"
> +RECIPE_LAST_UPDATE_pn-libx11-diet = "Oct 13, 2011"
> +RECIPE_MAINTAINER_pn-libx11-diet = "Xiaofeng Yan <xiaofeng.yan@windriver.com>"
> +
> +RECIPE_STATUS_pn-directfb = "red"
> +RECIPE_MAINTAINER_pn-directfb = "Xiaofeng Yan <xiaofeng.yan@windriver.com>"
> +
> +RECIPE_STATUS_pn-libarchive = "red"
> +RECIPE_MAINTAINER_pn-libarchive = "Xiaofeng Yan <xiaofeng.yan@windriver.com>"
> +
> +RECIPE_STATUS_pn-xserver-kdrive = "red"
> +RECIPE_MAINTAINER_pn-xserver-kdrive = "Xiaofeng Yan <xiaofeng.yan@windriver.com>"
> +
> +RECIPE_STATUS_pn-xserver-xorg-lite = "red"
> +RECIPE_MAINTAINER_pn-xserver-xorg-lite = "Xiaofeng Yan <xiaofeng.yan@windriver.com>"
> +
>
> RECIPE_STATUS_pn-libx11-trim = "green"
> DISTRO_PN_ALIAS_pn-libx11-trim = "Debian=libx11-6 Fedora=libX11 Ubuntu=libx11-6 OpenSuSE=xorg-x11-libX11"
> @@ -5703,10 +5720,27 @@ RECIPE_LAST_UPDATE_pn-libgdata = "Dec 29, 2010"
> RECIPE_MAINTAINER_pn-libgdata = "Zhai Edwin <edwin.zhai@intel.com>"
>
> RECIPE_LATEST_VERSION_pn-man-pages = "3.32"
> -RECIPE_LATEST_VERSION_pn-qmmp = "0.4.3"
> RECIPE_LATEST_VERSION_pn-sysprof = "6b5b8432711ef5c747f8375073cd9af88922d3c6"
> RECIPE_LATEST_VERSION_pn-table = "d42a44938699ee30a998fc42bc149aebf69389db"
>
> +RECIPE_STATUS_pn-qmmp = "green"
> +RECIPE_LATEST_VERSION_pn-qmmp = "0.5.2"
> +RECIPE_LATEST_RELEASE_DATE_pn-qmmp = "Sep 02, 2011"
> +RECIPE_LAST_UPDATE_pn-qmmp = "Oct 13, 2011"
> +RECIPE_MAINTAINER_pn-qmmp = "Xiaofeng Yan <xiaofeng.yan@windriver.com>"
> +
> +RECIPE_STATUS_pn-bind = "green"
> +RECIPE_LATEST_VERSION_pn-bind = "9.8.1"
> +RECIPE_LATEST_RELEASE_DATE_pn-bind = "Aug 31, 2011"
> +RECIPE_LAST_UPDATE_pn-bind = "Oct 13, 2011"
> +RECIPE_MAINTAINER_pn-bind = "Xiaofeng Yan <xiaofeng.yan@windriver.com>"
> +
> +RECIPE_STATUS_pn-xserver-xorg-lite = "green"
> +RECIPE_LATEST_VERSION_pn-xserver-xorg-lite = "1.4.4"
^ this looks like libx11-diet version
> +RECIPE_LATEST_RELEASE_DATE_pn-xserver-xorg-lite = "Aug 31, 2011"
> +RECIPE_LAST_UPDATE_pn-xserver-xorg-lite = "Oct 13, 2011"
> +RECIPE_MAINTAINER_pn-xserver-xorg-lite = "Xiaofeng Yan <xiaofeng.yan@windriver.com>"
> +
> RECIPE_LATEST_VERSION_pn-texinfo = "4.13a"
> RECIPE_LATEST_RELEASE_DATE_pn-texinfo = "Sep 22, 2008"
> RECIPE_LAST_UPDATE_pn-texinfo = "Sep 16, 2011"
> @@ -5715,8 +5749,6 @@ RECIPE_NO_UPDATE_REASON_pn-texinfo = "Checking script parses directory wrong"
>
> RECIPE_LATEST_VERSION_pn-blktrace = "a788dfde86dfaff8f1c277a233f92c1822e06b76"
> RECIPE_LATEST_VERSION_pn-dtc = "37c0b6a0916c31a5eae0a9ddfcc5d0b8fb4569c6"
> -RECIPE_LATEST_VERSION_pn-bind = "9.7.2-P3"
> -RECIPE_NO_UPDATE_REASON_pn-bind = "Latest Stable version, newer versions are Alpha/Beta"
> RECIPE_LATEST_VERSION_pn-man = "1.6f"
> RECIPE_LATEST_VERSION_pn-mc = "4.7.5-pre1"
> RECIPE_MAINTAINER_pn-mc = "Saul Wold <sgw@linux.intel.com>"
> --
> 1.7.0.4
>
>
> _______________________________________________
> Openembedded-core mailing list
> Openembedded-core@lists.openembedded.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core
--
Martin 'JaMa' Jansa jabber: Martin.Jansa@gmail.com
[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 205 bytes --]
^ permalink raw reply
* [PATCH 1/1] distro_tracking_fields.inc: Add maintainer for some packages without maintainer
From: Xiaofeng Yan @ 2011-10-13 11:07 UTC (permalink / raw)
To: openembedded-core
In-Reply-To: <cover.1318503768.git.xiaofeng.yan@windriver.com>
From: Xiaofeng Yan <xiaofeng.yan@windriver.com>
Add the name of maintainer for the following packages:
bind
libx11-diet
qmmp
libarchive
xserver-kdrive
xserver-xorg-lite
directfb
Signed-off-by: Xiaofeng Yan <xiaofeng.yan@windriver.com>
---
.../conf/distro/include/distro_tracking_fields.inc | 38 ++++++++++++++++++--
1 files changed, 35 insertions(+), 3 deletions(-)
diff --git a/meta/conf/distro/include/distro_tracking_fields.inc b/meta/conf/distro/include/distro_tracking_fields.inc
index b07209e..1023091 100644
--- a/meta/conf/distro/include/distro_tracking_fields.inc
+++ b/meta/conf/distro/include/distro_tracking_fields.inc
@@ -4599,6 +4599,23 @@ RECIPE_MAINTAINER_pn-libx11 = "Dexuan Cui <dexuan.cui@intel.com>"
RECIPE_STATUS_pn-libx11-diet = "green"
DISTRO_PN_ALIAS_pn-libx11-diet = "Debian=libx11-6 Fedora=libX11 Ubuntu=libx11-6 OpenSuSE=xorg-x11-libX11"
+RECIPE_LATEST_VERSION_pn-libx11-diet = "1.4.4"
+RECIPE_LATEST_RELEASE_DATE_pn-libx11-diet = "Dec,2010"
+RECIPE_LAST_UPDATE_pn-libx11-diet = "Oct 13, 2011"
+RECIPE_MAINTAINER_pn-libx11-diet = "Xiaofeng Yan <xiaofeng.yan@windriver.com>"
+
+RECIPE_STATUS_pn-directfb = "red"
+RECIPE_MAINTAINER_pn-directfb = "Xiaofeng Yan <xiaofeng.yan@windriver.com>"
+
+RECIPE_STATUS_pn-libarchive = "red"
+RECIPE_MAINTAINER_pn-libarchive = "Xiaofeng Yan <xiaofeng.yan@windriver.com>"
+
+RECIPE_STATUS_pn-xserver-kdrive = "red"
+RECIPE_MAINTAINER_pn-xserver-kdrive = "Xiaofeng Yan <xiaofeng.yan@windriver.com>"
+
+RECIPE_STATUS_pn-xserver-xorg-lite = "red"
+RECIPE_MAINTAINER_pn-xserver-xorg-lite = "Xiaofeng Yan <xiaofeng.yan@windriver.com>"
+
RECIPE_STATUS_pn-libx11-trim = "green"
DISTRO_PN_ALIAS_pn-libx11-trim = "Debian=libx11-6 Fedora=libX11 Ubuntu=libx11-6 OpenSuSE=xorg-x11-libX11"
@@ -5703,10 +5720,27 @@ RECIPE_LAST_UPDATE_pn-libgdata = "Dec 29, 2010"
RECIPE_MAINTAINER_pn-libgdata = "Zhai Edwin <edwin.zhai@intel.com>"
RECIPE_LATEST_VERSION_pn-man-pages = "3.32"
-RECIPE_LATEST_VERSION_pn-qmmp = "0.4.3"
RECIPE_LATEST_VERSION_pn-sysprof = "6b5b8432711ef5c747f8375073cd9af88922d3c6"
RECIPE_LATEST_VERSION_pn-table = "d42a44938699ee30a998fc42bc149aebf69389db"
+RECIPE_STATUS_pn-qmmp = "green"
+RECIPE_LATEST_VERSION_pn-qmmp = "0.5.2"
+RECIPE_LATEST_RELEASE_DATE_pn-qmmp = "Sep 02, 2011"
+RECIPE_LAST_UPDATE_pn-qmmp = "Oct 13, 2011"
+RECIPE_MAINTAINER_pn-qmmp = "Xiaofeng Yan <xiaofeng.yan@windriver.com>"
+
+RECIPE_STATUS_pn-bind = "green"
+RECIPE_LATEST_VERSION_pn-bind = "9.8.1"
+RECIPE_LATEST_RELEASE_DATE_pn-bind = "Aug 31, 2011"
+RECIPE_LAST_UPDATE_pn-bind = "Oct 13, 2011"
+RECIPE_MAINTAINER_pn-bind = "Xiaofeng Yan <xiaofeng.yan@windriver.com>"
+
+RECIPE_STATUS_pn-xserver-xorg-lite = "green"
+RECIPE_LATEST_VERSION_pn-xserver-xorg-lite = "1.4.4"
+RECIPE_LATEST_RELEASE_DATE_pn-xserver-xorg-lite = "Aug 31, 2011"
+RECIPE_LAST_UPDATE_pn-xserver-xorg-lite = "Oct 13, 2011"
+RECIPE_MAINTAINER_pn-xserver-xorg-lite = "Xiaofeng Yan <xiaofeng.yan@windriver.com>"
+
RECIPE_LATEST_VERSION_pn-texinfo = "4.13a"
RECIPE_LATEST_RELEASE_DATE_pn-texinfo = "Sep 22, 2008"
RECIPE_LAST_UPDATE_pn-texinfo = "Sep 16, 2011"
@@ -5715,8 +5749,6 @@ RECIPE_NO_UPDATE_REASON_pn-texinfo = "Checking script parses directory wrong"
RECIPE_LATEST_VERSION_pn-blktrace = "a788dfde86dfaff8f1c277a233f92c1822e06b76"
RECIPE_LATEST_VERSION_pn-dtc = "37c0b6a0916c31a5eae0a9ddfcc5d0b8fb4569c6"
-RECIPE_LATEST_VERSION_pn-bind = "9.7.2-P3"
-RECIPE_NO_UPDATE_REASON_pn-bind = "Latest Stable version, newer versions are Alpha/Beta"
RECIPE_LATEST_VERSION_pn-man = "1.6f"
RECIPE_LATEST_VERSION_pn-mc = "4.7.5-pre1"
RECIPE_MAINTAINER_pn-mc = "Saul Wold <sgw@linux.intel.com>"
--
1.7.0.4
^ permalink raw reply related
* [PATCH 0/1] distro_tracking_fields.inc: Add maintainer for some packages without maintainer
From: Xiaofeng Yan @ 2011-10-13 11:07 UTC (permalink / raw)
To: openembedded-core
From: Xiaofeng Yan <xiaofeng.yan@windriver.com>
Add the name of maintainer for the following packages:
bind
libx11-diet
qmmp
libarchive
xserver-kdrive
xserver-xorg-lite
directfb
Pull URL: git://git.pokylinux.org/poky-contrib.git
Branch: xiaofeng/maintainer
Browse: http://git.pokylinux.org/cgit.cgi/poky-contrib/log/?h=xiaofeng/maintainer
Thanks,
Xiaofeng Yan <xiaofeng.yan@windriver.com>
---
Xiaofeng Yan (1):
distro_tracking_fields.inc: Add maintainer for some packages without
maintainer
.../conf/distro/include/distro_tracking_fields.inc | 38 ++++++++++++++++++--
1 files changed, 35 insertions(+), 3 deletions(-)
^ permalink raw reply
* Re: [oe-core 3/4] conf: machine: includes: add armv6-novfp support
From: Denis 'GNUtoo' Carikli @ 2011-10-13 10:49 UTC (permalink / raw)
To: openembedded-core; +Cc: Phil Blundell
In-Reply-To: <1318454810.3052.9.camel@lenovo.internal.reciva.com>
>This patch doesn't seem to do what it says in the subject line. It
>doesn't add an "armv6-novfp" tune, instead it removes vfp from the
>existing armv6 and armv6t tunes.
yes that's what it does,but it also adds an armv6-vfp.
The commit message is wrong, sorry.
by the way is the content ok? or should I re-do the content too(if so I would
need some indications of what the right way is)?
Denis.
^ permalink raw reply
* Re: [PATCH 1/4] mesa-dri/xlib: use target commands in mklib file
From: Martin Jansa @ 2011-10-13 9:13 UTC (permalink / raw)
To: Patches and discussions about the oe-core layer
In-Reply-To: <57a9134211e3be47d7072ad2b1aa06b443a95927.1318496401.git.kai.kang@windriver.com>
[-- Attachment #1: Type: text/plain, Size: 6733 bytes --]
On Thu, Oct 13, 2011 at 05:05:33PM +0800, Kang Kai wrote:
> the bin/mklib file in mesa-dri/xlib source code uses commands on
> hosts, this may cause build failed on some platform.
>
> Patches are from WindRiver Linux, and CQID are:
> WIND00266791
> WIND00266497
Please check my mesa patchset in
openembedded-core-contrib/jansa/x11-v4
and please test it if it still applies to mesa-git too
And mesa-use-target-commands-in-mklib.patch doesn't have Upstream-Status
Regards,
>
> Signed-off-by: Kang Kai <kai.kang@windriver.com>
> ---
> .../mesa-use-target-commands-in-mklib.patch | 104 ++++++++++++++++++++
> meta/recipes-graphics/mesa/mesa-dri_7.11.bb | 3 +-
> meta/recipes-graphics/mesa/mesa-xlib_7.11.bb | 3 +-
> 3 files changed, 108 insertions(+), 2 deletions(-)
> create mode 100644 meta/recipes-graphics/mesa/mesa-dri/mesa-use-target-commands-in-mklib.patch
>
> diff --git a/meta/recipes-graphics/mesa/mesa-dri/mesa-use-target-commands-in-mklib.patch b/meta/recipes-graphics/mesa/mesa-dri/mesa-use-target-commands-in-mklib.patch
> new file mode 100644
> index 0000000..1bc2a57
> --- /dev/null
> +++ b/meta/recipes-graphics/mesa/mesa-dri/mesa-use-target-commands-in-mklib.patch
> @@ -0,0 +1,104 @@
> +This patch is merged from WindRiver linux commits, and it is to avoid build failed on some platform because of using the commands on host.
> +
> +And original commits are:
> +
> +commit 8d5ccc8113e1b51b0529a00c18a4aba956247e1b
> +Author: Yulong Pei <Yulong.pei@windriver.com>
> +Date: Tue Apr 12 22:14:10 2011 +0800
> +
> + fix mesa-dri build fails on x86-64
> +
> + CQID: WIND00266791
> +
> + 1. mesa-dri uses it's own script (mklib) to generate libraries, and it
> + calls the host's ar/ranlib/gcc/g++. This fixes mklib so that it calls the
> + cross-compiling tools properly.
> +
> + 2. override PYTHON2 with 'python', 'python2' is not available in host-tools python.
> + Only 'python' and 'python2.6' are provided. So force configure to use 'python'.
> +
> + And the above two changes are ported from mesa-xlib.
> +
> + Signed-off-by: Randy MacLeod <Randy.MacLeod@windriver.com>
> +
> +commit 5c4212084b871a0c0fb7d174280ec9a634637deb
> +Author: Bowen <Bowen.zhu@windriver.com>
> +Date: Mon Apr 11 16:25:02 2011 +0800
> +
> + Fix freeglut build failed for mips64_octeon-glibc_std_xapps
> +
> + CQID: 266497
> +
> + freeglut build failed on some hosts, because of mesa-xlib uses host ar command,
> + in some hosts, host ar command can't recognize target library, which will make some
> + symbols in libGL undefined.
> +
> + The fix is modifing mklib script in mesa-xlib, change fixed "ar" command to variable
> + $AR that set by our LDAT.
> +
> +
> +Upstream-Status: Pending
> +
> +Signed-off-by: Kang Kai <kai.kang@windriver.com>
> +
> +--- Mesa-7.10.2/bin/mklib.orig 2011-09-28 16:15:34.170000074 +0800
> ++++ Mesa-7.10.2/bin/mklib 2011-09-28 16:15:42.370000073 +0800
> +@@ -49,8 +49,8 @@
> + /*) ;;
> + *) FILE="$ORIG_DIR/$FILE" ;;
> + esac
> +- MEMBERS=`ar t $FILE`
> +- ar x $FILE
> ++ MEMBERS=`${AR} t $FILE`
> ++ ${AR} x $FILE
> + for MEMBER in $MEMBERS ; do
> + NEWFILES="$NEWFILES $DIR/$MEMBER"
> + done
> +@@ -77,7 +77,7 @@
> + make_ar_static_lib() {
> + OPTS=$1
> + shift;
> +- RANLIB=$1
> ++ USE_RANLIB=$1
> + shift;
> + LIBNAME=$1
> + shift;
> +@@ -87,11 +87,11 @@
> + rm -f ${LIBNAME}
> +
> + # make static lib
> +- ar ${OPTS} ${LIBNAME} ${OBJECTS}
> ++ ${AR} ${OPTS} ${LIBNAME} ${OBJECTS}
> +
> + # run ranlib
> +- if [ ${RANLIB} = 1 ] ; then
> +- ranlib ${LIBNAME}
> ++ if [ ${USE_RANLIB} = 1 ] ; then
> ++ ${RANLIB} ${LIBNAME}
> + fi
> +
> + echo ${LIBNAME}
> +@@ -313,9 +313,9 @@
> + if [ "x$LINK" = "x" ] ; then
> + # -linker was not specified so set default link command now
> + if [ $CPLUSPLUS = 1 ] ; then
> +- LINK=g++
> ++ LINK=$CXX
> + else
> +- LINK=gcc
> ++ LINK=$CC
> + fi
> + fi
> +
> +@@ -531,9 +531,9 @@
> + if [ "x$LINK" = "x" ] ; then
> + # -linker was not specified so set default link command now
> + if [ $CPLUSPLUS = 1 ] ; then
> +- LINK=g++
> ++ LINK=${CXX}
> + else
> +- LINK=gcc
> ++ LINK=${CC}
> + fi
> + fi
> +
> diff --git a/meta/recipes-graphics/mesa/mesa-dri_7.11.bb b/meta/recipes-graphics/mesa/mesa-dri_7.11.bb
> index 6fc8d95..0f026b1 100644
> --- a/meta/recipes-graphics/mesa/mesa-dri_7.11.bb
> +++ b/meta/recipes-graphics/mesa/mesa-dri_7.11.bb
> @@ -9,11 +9,12 @@ LIB_DEPS = "libdrm virtual/libx11 libxext libxxf86vm libxdamage libxfixes expat
> DEPENDS = "${PROTO_DEPS} ${LIB_DEPS} makedepend-native python-native"
> DEPENDS += "mesa-dri-glsl-native"
>
> -PR = "r5"
> +PR = "r6"
>
> SRC_URI = "ftp://ftp.freedesktop.org/pub/mesa/${PV}/MesaLib-${PV}.tar.bz2 \
> file://crossfix.patch \
> file://uclibc.patch \
> + file://mesa-use-target-commands-in-mklib.patch \
> "
>
> SRC_URI[md5sum] = "ff03aca82d0560009a076a87c888cf13"
> diff --git a/meta/recipes-graphics/mesa/mesa-xlib_7.11.bb b/meta/recipes-graphics/mesa/mesa-xlib_7.11.bb
> index ea4acc6..3301068 100644
> --- a/meta/recipes-graphics/mesa/mesa-xlib_7.11.bb
> +++ b/meta/recipes-graphics/mesa/mesa-xlib_7.11.bb
> @@ -4,6 +4,7 @@ FILESPATH =. "${FILE_DIRNAME}/mesa-dri:"
>
> SRC_URI = "ftp://ftp.freedesktop.org/pub/mesa/${PV}/MesaLib-${PV}.tar.bz2 \
> file://uclibc.patch \
> + file://mesa-use-target-commands-in-mklib.patch \
> "
>
> SRC_URI[md5sum] = "ff03aca82d0560009a076a87c888cf13"
> @@ -17,7 +18,7 @@ LIB_DEPS = "virtual/libx11 libxext libxxf86vm libxdamage libxfixes libxml2-nativ
> DEPENDS = "${PROTO_DEPS} ${LIB_DEPS} makedepend-native"
>
> PE = "1"
> -PR = "r1"
> +PR = "r2"
>
> EXTRA_OECONF += "--with-driver=xlib --without-gallium-drivers"
>
> --
> 1.7.5.1.300.gc565c
>
>
> _______________________________________________
> Openembedded-core mailing list
> Openembedded-core@lists.openembedded.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core
--
Martin 'JaMa' Jansa jabber: Martin.Jansa@gmail.com
[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 205 bytes --]
^ permalink raw reply
page: next (older) | prev (newer) | latest
- recent:[subjects (threaded)|topics (new)|topics (active)]
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox