[poky] [PATCH 1/1] xserver-xf86-dri-lite: rename it to xserver-xorg
Tom Zanussi
tom.zanussi at intel.com
Wed Oct 12 06:11:01 PDT 2011
On Wed, 2011-10-12 at 05:12 -0700, Martin Jansa wrote:
> On Wed, Oct 12, 2011 at 03:34:56PM +0800, Cui, Dexuan wrote:
> > Martin Jansa wrote on 2011-10-12:
> > > On Wed, Oct 12, 2011 at 09:22:54AM +0200, Martin Jansa wrote:
> > >> On Wed, Oct 12, 2011 at 03:17:53PM +0800, Dexuan Cui wrote:
> > >>> Recently poky's commit c09f0eb561a53b97a769dd0744076af7d904eafb
> > >>> (xserver-xf86(-dri)-lite: rename to xserver-xorg and
> > >>> xserver-xorg-lite) breaks BSP building.
> > >>> This patch makes changes accordingly.
> > >>> common/recipes-graphics/xorg-xserver/{xserver-xf86-dri-lite =>
> > >>> xserver-xorg}/nodolt.patch (100%) rename
> > >>> common/recipes-graphics/xorg-xserver/{xserver-xf86-dri-lite_1.9.3.
> > >>> bb
> > >>> => xserver-xorg_1.11.1.bb} (87%)
> > >>
> > >> just curious, why there is whole xserver-xorg_1.11.1.bb recipe and
> > >> patches not just small .bbappend?
> > Yes, it seems strange to me, too.
> > I suppose Tom may know the history?
>
> Maybe it's because of extra
> --enable-dga which is by default disabled in xserver-xorg-common, but
> maybe we can enable it by default and keep it disabled only for
> xserver-xorg-lite as in attached patch (which would need PR bump too).
>
The reason it's there is that 1.9.3 is required for EMGD, used by the
meta-intel BSPS. EMGD is very particular about versions and won't work
with e.g. 1.11.1.
Tom
> Regards,
>
> From b5bbb8e8860708c9e07370595176c52a57ddc18e Mon Sep 17 00:00:00 2001
> From: Martin Jansa <Martin.Jansa at gmail.com>
> Date: Wed, 12 Oct 2011 14:10:16 +0200
> Subject: [PATCH] xserver-xorg: disable DGA only in -lite version, and force
> it enabled in xserver-xorg
>
> Signed-off-by: Martin Jansa <Martin.Jansa at gmail.com>
> ---
> .../xorg-xserver/xserver-xorg-common.inc | 1 -
> .../xorg-xserver/xserver-xorg-lite.inc | 1 +
> .../recipes-graphics/xorg-xserver/xserver-xorg.inc | 1 +
> 3 files changed, 2 insertions(+), 1 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..4d82d79 100644
> --- a/meta/recipes-graphics/xorg-xserver/xserver-xorg-common.inc
> +++ b/meta/recipes-graphics/xorg-xserver/xserver-xorg-common.inc
> @@ -98,7 +98,6 @@ EXTRA_OECONF += "--with-fop=no \
> --disable-acfb \
> --disable-ccfb \
> --disable-mcfb \
> - --disable-dga \
> --disable-xinerama \
> --disable-xf86misc \
> --disable-xorgcfg \
> diff --git a/meta/recipes-graphics/xorg-xserver/xserver-xorg-lite.inc b/meta/recipes-graphics/xorg-xserver/xserver-xorg-lite.inc
> index be84e9e..57615f5 100644
> --- a/meta/recipes-graphics/xorg-xserver/xserver-xorg-lite.inc
> +++ b/meta/recipes-graphics/xorg-xserver/xserver-xorg-lite.inc
> @@ -3,4 +3,5 @@ require xserver-xorg-common.inc
> EXTRA_OECONF += "\
> --disable-dri \
> --disable-glx \
> + --disable-dga \
> "
> diff --git a/meta/recipes-graphics/xorg-xserver/xserver-xorg.inc b/meta/recipes-graphics/xorg-xserver/xserver-xorg.inc
> index 01cdd68..0f34c1a 100644
> --- a/meta/recipes-graphics/xorg-xserver/xserver-xorg.inc
> +++ b/meta/recipes-graphics/xorg-xserver/xserver-xorg.inc
> @@ -8,6 +8,7 @@ require ../mesa/glx-use-tls.inc
> EXTRA_OECONF += "\
> --enable-dri \
> --enable-dri2 \
> + --enable-dga \
> --with-pic \
> --with-int10=x86emu \
> "
More information about the poky
mailing list