From: Martin Jansa <martin.jansa@gmail.com>
To: Patches and discussions about the oe-core layer
<openembedded-core@lists.openembedded.org>
Subject: Re: [PATCH 07/12] mesa: enable GLESv2
Date: Wed, 1 Aug 2012 14:44:55 +0200 [thread overview]
Message-ID: <20120801124455.GE16306@jama.jama.net> (raw)
In-Reply-To: <6d27974b9045ca97ce135095a9d48715ac5bdc6c.1343823907.git.ross.burton@intel.com>
[-- Attachment #1: Type: text/plain, Size: 3376 bytes --]
On Wed, Aug 01, 2012 at 01:31:13PM +0100, Ross Burton wrote:
> Patch originally by Damien Lespiau <damien.lespiau@intel.com>.
>
> Signed-off-by: Ross Burton <ross.burton@intel.com>
> ---
> meta/recipes-graphics/mesa/mesa-common.inc | 7 +++++--
> meta/recipes-graphics/mesa/mesa-dri.inc | 1 +
> 2 files changed, 6 insertions(+), 2 deletions(-)
>
> diff --git a/meta/recipes-graphics/mesa/mesa-common.inc b/meta/recipes-graphics/mesa/mesa-common.inc
> index 01eb5b3..d9758b9 100644
> --- a/meta/recipes-graphics/mesa/mesa-common.inc
> +++ b/meta/recipes-graphics/mesa/mesa-common.inc
> @@ -12,7 +12,7 @@ SECTION = "x11"
> LICENSE = "MIT"
> LIC_FILES_CHKSUM = "file://docs/license.html;md5=03ccdc4c379c4289aecfb8892c546f67"
>
> -INC_PR = "r0"
> +INC_PR = "r1"
> PE = "2"
>
>
> @@ -21,7 +21,7 @@ LIB_DEPS = "virtual/libx11 libxext libxxf86vm libxdamage libxfixes libxml2-nativ
>
> DEPENDS = "makedepend-native python-native flex-native bison-native ${PROTO_DEPS} ${LIB_DEPS}"
>
> -PROVIDES = "virtual/libgl"
> +PROVIDES = "virtual/libgl virtual/libgles2"
Shouldn't be this provided only for opengles2 in DISTRO_FEATURES?
> # for mesa-dri and mesa-xlib
> FILESEXTRAPATHS_append := "${THISDIR}/mesa:"
> @@ -46,10 +46,12 @@ PACKAGES =+ "libegl libegl-dev libegl-dbg \
> libgl libgl-dev \
> libglapi libglapi-dev libglapi-dbg\
> libgbm libgbm-dev libgbm-dbg \
> + libgles2 libgles2-dev \
> "
>
> FILES_libegl = "${libdir}/libEGL.so.* ${libdir}/egl/*.so"
> FILES_libgbm = "${libdir}/libgbm.so.*"
> +FILES_libgles2 = "${libdir}/libGLESv2.so.*"
> FILES_libgl = "${libdir}/libGL.so.*"
> FILES_libglapi = "${libdir}/libglapi.so.*"
> FILES_libglu = "${libdir}/libGLU.so.*"
> @@ -59,6 +61,7 @@ FILES_libegl-dev = "${libdir}/libEGL.* ${includedir}/EGL"
> FILES_libgbm-dev = "${libdir}/libgbm* ${libdir}/pkgconfig/gbm.pc ${includedir}/gbm.h"
> FILES_libgl-dev = "${libdir}/libGL.* ${includedir}/GL ${libdir}/pkgconfig/gl.pc"
> FILES_libglapi-dev = "${libdir}/libglapi.*"
> +FILES_libgles2-dev = "${libdir}/libGLESv2.* ${includedir}/GLES2 ${libdir}/pkgconfig/glesv2.pc"
> FILES_libglu-dev = "${libdir}/libGLU.* ${includedir}/GL/glu*.h ${libdir}/pkgconfig/glu.pc"
> FILES_libosmesa-dev = "${libdir}/libOSMesa.* ${includedir}/osmesa.h"
>
> diff --git a/meta/recipes-graphics/mesa/mesa-dri.inc b/meta/recipes-graphics/mesa/mesa-dri.inc
> index f8f1fff..1d325eb 100644
> --- a/meta/recipes-graphics/mesa/mesa-dri.inc
> +++ b/meta/recipes-graphics/mesa/mesa-dri.inc
> @@ -10,6 +10,7 @@ DRIDRIVERS_append_x86-64 = ",i915,i965"
>
> EXTRA_OECONF += "--disable-gallium --without-gallium-drivers"
> EXTRA_OECONF += "--enable-dri --with-dri-drivers=${DRIDRIVERS}"
> +EXTRA_OECONF += "${@base_contains('DISTRO_FEATURES', 'opengles2', '--enable-gles2', '', d)}"
and maybe explicitly disable when isn't if posible or use PACKAGECONFIG?
> EXTRA_OECONF += "--disable-egl --enable-gbm"
>
> python populate_packages_prepend() {
> --
> 1.7.10
>
>
> _______________________________________________
> 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 --]
next prev parent reply other threads:[~2012-08-01 12:56 UTC|newest]
Thread overview: 32+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-08-01 12:31 [PATCH 00/12] Mesa upgrade/improvements Ross Burton
2012-08-01 12:31 ` [PATCH 01/12] mesa: format the packages list nicely Ross Burton
2012-08-01 12:31 ` [PATCH 02/12] mesa: move glu.pc to libglu-dev Ross Burton
2012-08-01 12:31 ` [PATCH 03/12] mesa: add --enable-shared-glapi, and package it in libglapi Ross Burton
2012-08-01 12:31 ` [PATCH 04/12] mesa: enable the Graphic Buffer Manager library Ross Burton
2012-08-01 12:31 ` [PATCH 05/12] mesa: Update to 8.0.4 (latest stable version) Ross Burton
2012-08-01 12:35 ` Martin Jansa
2012-08-01 12:37 ` Burton, Ross
2012-08-01 12:50 ` Martin Jansa
2012-08-01 12:31 ` [PATCH 06/12] mesa: Use 'require' instead of 'include' Ross Burton
2012-08-01 12:31 ` [PATCH 07/12] mesa: enable GLESv2 Ross Burton
2012-08-01 12:44 ` Martin Jansa [this message]
2012-08-01 14:53 ` Burton, Ross
2012-08-01 15:14 ` Koen Kooi
2012-08-01 15:15 ` Burton, Ross
2012-08-01 12:31 ` [PATCH 08/12] mesa: enable EGL, with DRM and X11 platforms Ross Burton
2012-08-01 12:31 ` [PATCH 09/12] mesa: respect x11 DISTRO_FEATURE Ross Burton
2012-08-01 12:47 ` Martin Jansa
2012-08-01 12:31 ` [PATCH 10/12] poky: add EGL and OpenGLESv2 features Ross Burton
2012-08-01 12:31 ` [PATCH 11/12] mesa: no need to depend on python-native, the class does that Ross Burton
2012-08-01 12:31 ` [PATCH 12/12] mesa-demos: fix GLES2 build Ross Burton
2012-08-01 12:48 ` Martin Jansa
2012-08-01 13:32 ` [PATCH 00/12] Mesa upgrade/improvements Koen Kooi
2012-08-01 13:41 ` Burton, Ross
2012-08-01 14:33 ` Koen Kooi
2012-08-01 14:34 ` Burton, Ross
2012-08-01 14:54 ` Koen Kooi
2012-08-01 15:17 ` Burton, Ross
2012-08-01 14:38 ` Damien Lespiau
2012-08-01 14:54 ` Koen Kooi
2012-08-01 14:57 ` Burton, Ross
2012-08-01 15:54 ` Koen Kooi
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20120801124455.GE16306@jama.jama.net \
--to=martin.jansa@gmail.com \
--cc=openembedded-core@lists.openembedded.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox