All of lore.kernel.org
 help / color / mirror / Atom feed
From: Martin Jansa <martin.jansa@gmail.com>
To: Patches and discussions about the oe-core layer
	<openembedded-core@lists.openembedded.org>
Subject: Re: [oe-core 11/20] mesa: package gl/egl/osmesa to separate packages
Date: Fri, 14 Oct 2011 16:02:06 +0200	[thread overview]
Message-ID: <20111014140205.GI3542@jama.jama.net> (raw)
In-Reply-To: <1318600723.2342.17.camel@ted>

[-- Attachment #1: Type: text/plain, Size: 3818 bytes --]

On Fri, Oct 14, 2011 at 02:58:34PM +0100, Richard Purdie wrote:
> On Fri, 2011-10-14 at 15:32 +0200, Koen Kooi wrote:
> > Op 14 okt. 2011, om 13:19 heeft Martin Jansa het volgende geschreven:
> > 
> > > On Fri, Oct 14, 2011 at 12:12:11PM +0100, Richard Purdie wrote:
> > >> On Thu, 2011-10-13 at 13:30 +0200, Martin Jansa wrote:
> > >>> * 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
> > >>> +}
> > >> 
> > >> This last do_install_append is wrong. Things should only be using
> > >> installed header files, not internal uninstalled ones. If the need
> > >> anything else there is a bug. I know the intel video driver had issues
> > >> in this area but those were fixed in the driver.
> > > 
> > > checking from where we got this in meta-oe I've found really old commit
> > > http://git.openembedded.org/openembedded/commit/packages/mesa/mesa-common.inc?id=523eeb1062797a8562446fbefe9413a59540816b
> > > so you're right, I'll try to rebuild without this and drop this part
> > > from patchset.
> > > 
> > >> What other issues are people seeing without this piece?
> > > 
> > > Unless someone else knows about still broken driver :).
> > 
> > 
> > | glxdriswrast.c:39:39: fatal error: GL/internal/dri_interface.h: No such file or directory
> > | compilation terminated.
> > | glxdricommon.c:36:39: fatal error: GL/internal/dri_interface.h: No such file or directory
> > | compilation terminated.
> > | make[1]: *** [glxdricommon.lo] Error 1
> > | make[1]: *** Waiting for unfinished jobs....
> > | make[1]: *** [glxdriswrast.lo] Error 1
> > | make[1]: Leaving directory `/OE/tentacle/build/tmp-angstrom_2010_x-eglibc/work/armv7a-angstrom-linux-gnueabi/xserver-xorg-2_1.11.1-r1/xorg-server-1.11.1/glx'
> > 
> > Xorg requires 'mesa-dri', which doesn't build anymore due to the COMPATIBLE_HOST :(
> 
> This means the swrast dri backend should be installing that file...
> 
> Hmm, so does the xserver now require the dri backend and the xlib one is
> now defunct?

I'm using mesa-xlib with xserver-xorg-lite and mesa-dri with
xserver-xorg, but in both cases with this do_install_append..

Regards,
-- 
Martin 'JaMa' Jansa     jabber: Martin.Jansa@gmail.com

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 205 bytes --]

  reply	other threads:[~2011-10-14 14:08 UTC|newest]

Thread overview: 40+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-10-13 11:30 [oe-core 00/20] Xorg, mesa changes Martin Jansa
2011-10-13 11:30 ` [oe-core 01/20] xserver-xorg: drop xorg-minimal-fonts from RDEPENDS Martin Jansa
2011-10-13 11:30 ` [oe-core 02/20] xserver-xorg: move PE to xserver-xorg-common and bump it Martin Jansa
2011-10-13 11:30 ` [oe-core 03/20] xorg-driver-common: bump PE for upgrade path for meta-oe users Martin Jansa
2011-10-13 11:30 ` [oe-core 04/20] mesa-dri-glsl-native: fix LICENSE Martin Jansa
2011-10-13 11:30 ` [oe-core 05/20] mesa: move common patches which could be used in both mesa-dri and mesa-xlib from mesa-dri to mesa Martin Jansa
2011-10-13 11:30 ` [oe-core 06/20] mesa-common: add common LIC_FILES_CHKSUM for newer mesa versions Martin Jansa
2011-10-13 11:30 ` [oe-core 07/20] mesa-common: MesaDemos is now separate recipes, bump PE, introduce INC_PR Martin Jansa
2011-10-13 23:45   ` Khem Raj
2011-10-14  6:45     ` Martin Jansa
2011-10-13 11:30 ` [oe-core 08/20] mesa-common: use glx-use-tls.inc instead of enabling glx-tls every time Martin Jansa
2011-10-13 11:30 ` [oe-core 09/20] mesa-7.11: move shared DEPENDS, SRC_URI, checksums and do_configure_prepend to shared .inc file Martin Jansa
2011-10-13 11:30 ` [oe-core 10/20] mesa: move shared PROTO_DEPS, LIB_DEPS and DEPENDS to common .inc Martin Jansa
2011-10-13 11:30 ` [oe-core 11/20] mesa: package gl/egl/osmesa to separate packages Martin Jansa
2011-10-14 11:12   ` Richard Purdie
2011-10-14 11:19     ` Martin Jansa
2011-10-14 13:32       ` Koen Kooi
2011-10-14 13:58         ` Richard Purdie
2011-10-14 14:02           ` Martin Jansa [this message]
2011-10-13 11:30 ` [oe-core 12/20] mesa-xlib: move shared options to .inc Martin Jansa
2011-10-13 11:30 ` [oe-core 13/20] mesa-dri: move shared options to mesa-dri.inc Martin Jansa
2011-10-13 11:30 ` [oe-core 14/20] mesa-dri: introduce MACHINE_DRI_MODULES Martin Jansa
2011-10-13 13:23   ` Richard Purdie
2011-10-13 13:32     ` Martin Jansa
2011-10-13 13:56       ` Richard Purdie
2011-10-13 14:07         ` Martin Jansa
2011-10-14 16:04           ` Richard Purdie
2011-10-13 14:32         ` Otavio Salvador
2011-10-14 11:29           ` Richard Purdie
2011-10-14 13:19             ` Otavio Salvador
2011-10-14 23:46               ` Richard Purdie
2011-10-13 11:30 ` [oe-core 15/20] mesa-dri: LEAD_SONAME shouldn't be needed now, when we're packaging each lib in separate package Martin Jansa
2011-10-13 11:30 ` [oe-core 16/20] mesa-dri: drop COMPATIBLE_HOST, swrast should work for everybody Martin Jansa
2011-10-13 11:30 ` [oe-core 17/20] mesa-git: move shared parts from mesa-dri_git to mesa-git.inc and add mesa-xlib_git Martin Jansa
2011-10-13 11:30 ` [oe-core 18/20] mesa-git: lower D_P a bit more then all mesa-dri Martin Jansa
2011-10-13 11:30 ` [oe-core 19/20] mesa-git: upgrade from 7.7+git to 7.11+git Martin Jansa
2011-10-13 11:30 ` [oe-core 20/20] mesa-git: fix LIC_FILES_CHKSUM Martin Jansa
2011-10-13 11:39 ` [oe-core 00/20] Xorg, mesa changes Koen Kooi
2011-10-14 11:26 ` Richard Purdie
2011-10-14 11:39   ` Martin Jansa

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=20111014140205.GI3542@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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.