Re: [meta-intel] [PATCH 0/4] mesa build warning fixes

2013-11-14 Thread Tom Zanussi
On Thu, 2013-11-14 at 18:18 -0600, Kamble, Nitin A wrote:
> 
> > -Original Message-
> > From: meta-intel-boun...@yoctoproject.org [mailto:meta-intel-
> > boun...@yoctoproject.org] On Behalf Of Burton, Ross
> > Sent: Thursday, November 14, 2013 2:37 PM
> > To: Zanussi, Tom
> > Cc: meta-intel@yoctoproject.org
> > Subject: Re: [meta-intel] [PATCH 0/4] mesa build warning fixes
> > 
> > On 14 November 2013 22:15,   wrote:
> > > From: Tom Zanussi 
> > >
> > > While build-testing, I found a bunch of BSPs that didn't prefer the a
> > > matching mesa version, resulting in lots of warning spewage.
> > 
> > There's only one version of Mesa in oe-core *and* mesa isn't used by these
> > BSPs anymore (they use mesa-gl).  I recommend deleting these lines.
> > 
> 
> 
> The EMGD driver needs a specific version of mesa. And still we were using the 
> latest mesa. The preferred version lines here were used to track the last 
> mesa version which worked well with EMGD. But so far we have not met with any 
> mesa version issues with these BSPs. So let's go ahead and drop these 
> preferred version lines.
> 

Done in the patchset I posted, and in mut.

Tom

> Nitin
> 
> 
> > Ross
> > ___
> > meta-intel mailing list
> > meta-intel@yoctoproject.org
> > https://lists.yoctoproject.org/listinfo/meta-intel


___
meta-intel mailing list
meta-intel@yoctoproject.org
https://lists.yoctoproject.org/listinfo/meta-intel


Re: [meta-intel] [PATCH 2/4] fri2: Remove mesa PREFERRED_VERSION

2013-11-14 Thread Tom Zanussi
On Thu, 2013-11-14 at 18:26 -0600, Kamble, Nitin A wrote:
> 
> > -Original Message-
> > From: meta-intel-boun...@yoctoproject.org [mailto:meta-intel-
> > boun...@yoctoproject.org] On Behalf Of tom.zanu...@intel.com
> > Sent: Thursday, November 14, 2013 4:26 PM
> > To: meta-intel@yoctoproject.org
> > Cc: Zanussi, Tom
> > Subject: [meta-intel] [PATCH 2/4] fri2: Remove mesa PREFERRED_VERSION
> > 
> > From: Tom Zanussi 
> > 
> > From Ross: "There's only one version of Mesa in oe-core *and* mesa isn't
> > used by these BSPs anymore (they use mesa-gl)."
> > 
> > So remove the preferred version and get rid of warnings such as below:
> > 
> >   NOTE: preferred version 9.1.6 of mesa not available (for item virtual/libg
> 
> Look like cut/paste error. Mesa does not provide virtual/libg.
> This error should have been about virtual/libgl.
> 

Yeah, and there were plenty of others that I didn't copy in -it gives
the idea, which is why I used 'such as'.

Tom

> Nitin
> 
> >   NOTE: versions of mesa available: 2:9.2.2 2:9.2.2+gitAUTOINC+8f0742051e
> > 
> > Signed-off-by: Tom Zanussi 
> > ---
> >  meta-fri2/conf/machine/fri2.conf |1 -
> >  1 file changed, 1 deletion(-)
> > 
> > diff --git a/meta-fri2/conf/machine/fri2.conf b/meta-
> > fri2/conf/machine/fri2.conf
> > index 488a065..4ffdc4e 100644
> > --- a/meta-fri2/conf/machine/fri2.conf
> > +++ b/meta-fri2/conf/machine/fri2.conf
> > @@ -26,7 +26,6 @@ XSERVER ?= "${XSERVER_IA32_BASE} \
> > "
> > 
> >  PREFERRED_VERSION_xserver-xorg ?= "1.9.3"
> > -PREFERRED_VERSION_mesa ?= "9.1.6"
> >  PREFERRED_VERSION_xf86-input-synaptics ?= "1.6.3"
> >  PREFERRED_VERSION_xf86-input-evdev ?= "2.6.0"
> >  PREFERRED_VERSION_emgd-driver-bin ?= "1.18"
> > --
> > 1.7.9.5
> > 
> > ___
> > meta-intel mailing list
> > meta-intel@yoctoproject.org
> > https://lists.yoctoproject.org/listinfo/meta-intel


___
meta-intel mailing list
meta-intel@yoctoproject.org
https://lists.yoctoproject.org/listinfo/meta-intel


Re: [meta-intel] [PATCH 0/4] mesa build warning fixes

2013-11-14 Thread Kamble, Nitin A


> -Original Message-
> From: meta-intel-boun...@yoctoproject.org [mailto:meta-intel-
> boun...@yoctoproject.org] On Behalf Of Burton, Ross
> Sent: Thursday, November 14, 2013 2:37 PM
> To: Zanussi, Tom
> Cc: meta-intel@yoctoproject.org
> Subject: Re: [meta-intel] [PATCH 0/4] mesa build warning fixes
> 
> On 14 November 2013 22:15,   wrote:
> > From: Tom Zanussi 
> >
> > While build-testing, I found a bunch of BSPs that didn't prefer the a
> > matching mesa version, resulting in lots of warning spewage.
> 
> There's only one version of Mesa in oe-core *and* mesa isn't used by these
> BSPs anymore (they use mesa-gl).  I recommend deleting these lines.
> 


The EMGD driver needs a specific version of mesa. And still we were using the 
latest mesa. The preferred version lines here were used to track the last mesa 
version which worked well with EMGD. But so far we have not met with any mesa 
version issues with these BSPs. So let's go ahead and drop these preferred 
version lines.

Nitin


> Ross
> ___
> meta-intel mailing list
> meta-intel@yoctoproject.org
> https://lists.yoctoproject.org/listinfo/meta-intel
___
meta-intel mailing list
meta-intel@yoctoproject.org
https://lists.yoctoproject.org/listinfo/meta-intel


Re: [meta-intel] [PATCH 2/4] fri2: Remove mesa PREFERRED_VERSION

2013-11-14 Thread Kamble, Nitin A


> -Original Message-
> From: meta-intel-boun...@yoctoproject.org [mailto:meta-intel-
> boun...@yoctoproject.org] On Behalf Of tom.zanu...@intel.com
> Sent: Thursday, November 14, 2013 4:26 PM
> To: meta-intel@yoctoproject.org
> Cc: Zanussi, Tom
> Subject: [meta-intel] [PATCH 2/4] fri2: Remove mesa PREFERRED_VERSION
> 
> From: Tom Zanussi 
> 
> From Ross: "There's only one version of Mesa in oe-core *and* mesa isn't
> used by these BSPs anymore (they use mesa-gl)."
> 
> So remove the preferred version and get rid of warnings such as below:
> 
>   NOTE: preferred version 9.1.6 of mesa not available (for item virtual/libg

Look like cut/paste error. Mesa does not provide virtual/libg.
This error should have been about virtual/libgl.

Nitin

>   NOTE: versions of mesa available: 2:9.2.2 2:9.2.2+gitAUTOINC+8f0742051e
> 
> Signed-off-by: Tom Zanussi 
> ---
>  meta-fri2/conf/machine/fri2.conf |1 -
>  1 file changed, 1 deletion(-)
> 
> diff --git a/meta-fri2/conf/machine/fri2.conf b/meta-
> fri2/conf/machine/fri2.conf
> index 488a065..4ffdc4e 100644
> --- a/meta-fri2/conf/machine/fri2.conf
> +++ b/meta-fri2/conf/machine/fri2.conf
> @@ -26,7 +26,6 @@ XSERVER ?= "${XSERVER_IA32_BASE} \
> "
> 
>  PREFERRED_VERSION_xserver-xorg ?= "1.9.3"
> -PREFERRED_VERSION_mesa ?= "9.1.6"
>  PREFERRED_VERSION_xf86-input-synaptics ?= "1.6.3"
>  PREFERRED_VERSION_xf86-input-evdev ?= "2.6.0"
>  PREFERRED_VERSION_emgd-driver-bin ?= "1.18"
> --
> 1.7.9.5
> 
> ___
> meta-intel mailing list
> meta-intel@yoctoproject.org
> https://lists.yoctoproject.org/listinfo/meta-intel
___
meta-intel mailing list
meta-intel@yoctoproject.org
https://lists.yoctoproject.org/listinfo/meta-intel


[meta-intel] [PATCH 0/4] mesa build warning fixes

2013-11-14 Thread tom . zanussi
From: Tom Zanussi 

v2: Remove preferred providers instead of updating.

While build-testing, I found a bunch of BSPs that didn't prefer
the a matching mesa version, resulting in lots of warning spewage.

The following changes since commit 06623c901bd6e8e177f722ce03ffa96574e2e0e2:

  sys940x: linux-yocto-3.10: update kernel srcrevs (2013-11-14 15:58:58 -0600)

are available in the git repository at:

  git://git.yoctoproject.org/meta-intel-contrib.git tzanussi/mut
  http://git.yoctoproject.org/cgit.cgi//log/?h=tzanussi/mut

Tom Zanussi (4):
  crownbay: Remove mesa PREFERRED_VERSION
  fri2: Remove mesa PREFERRED_VERSION
  emenlow: Remove mesa PREFERRED_VERSION
  sys940x: Remove mesa PREFERRED_VERSION

 meta-crownbay/conf/machine/crownbay.conf |1 -
 meta-emenlow/conf/machine/emenlow.conf   |1 -
 meta-fri2/conf/machine/fri2.conf |1 -
 meta-sys940x/conf/machine/sys940x.conf   |1 -
 4 files changed, 4 deletions(-)

-- 
1.7.9.5

___
meta-intel mailing list
meta-intel@yoctoproject.org
https://lists.yoctoproject.org/listinfo/meta-intel


[meta-intel] [PATCH 1/4] crownbay: Remove mesa PREFERRED_VERSION

2013-11-14 Thread tom . zanussi
From: Tom Zanussi 

>From Ross: "There's only one version of Mesa in oe-core *and* mesa
isn't used by these BSPs anymore (they use mesa-gl)."

So remove the preferred version and get rid of warnings such as below:

  NOTE: preferred version 9.1.6 of mesa not available (for item virtual/libgl)
  NOTE: versions of mesa available: 2:9.2.2 2:9.2.2+gitAUTOINC+8f0742051e

Signed-off-by: Tom Zanussi 
---
 meta-crownbay/conf/machine/crownbay.conf |1 -
 1 file changed, 1 deletion(-)

diff --git a/meta-crownbay/conf/machine/crownbay.conf 
b/meta-crownbay/conf/machine/crownbay.conf
index b028782..20fff97 100644
--- a/meta-crownbay/conf/machine/crownbay.conf
+++ b/meta-crownbay/conf/machine/crownbay.conf
@@ -25,7 +25,6 @@ XSERVER ?= "${XSERVER_IA32_BASE} \
"
 
 PREFERRED_VERSION_xserver-xorg ?= "1.9.3"
-PREFERRED_VERSION_mesa ?= "9.1.6"
 PREFERRED_VERSION_xf86-input-synaptics ?= "1.6.3"
 PREFERRED_VERSION_xf86-input-evdev ?= "2.6.0"
 PREFERRED_VERSION_emgd-driver-bin ?= "1.18"
-- 
1.7.9.5

___
meta-intel mailing list
meta-intel@yoctoproject.org
https://lists.yoctoproject.org/listinfo/meta-intel


[meta-intel] [PATCH 3/4] emenlow: Remove mesa PREFERRED_VERSION

2013-11-14 Thread tom . zanussi
From: Tom Zanussi 

>From Ross: "There's only one version of Mesa in oe-core *and* mesa
isn't used by these BSPs anymore (they use mesa-gl)."

So remove the preferred version and get rid of warnings such as below:

  NOTE: preferred version 9.1.6 of mesa not available (for item virtual/libg
  NOTE: versions of mesa available: 2:9.2.2 2:9.2.2+gitAUTOINC+8f0742051e

Signed-off-by: Tom Zanussi 
---
 meta-emenlow/conf/machine/emenlow.conf |1 -
 1 file changed, 1 deletion(-)

diff --git a/meta-emenlow/conf/machine/emenlow.conf 
b/meta-emenlow/conf/machine/emenlow.conf
index 3cbebe5..eeb39d8 100644
--- a/meta-emenlow/conf/machine/emenlow.conf
+++ b/meta-emenlow/conf/machine/emenlow.conf
@@ -25,7 +25,6 @@ XSERVER ?= "${XSERVER_IA32_BASE} \
"
 
 PREFERRED_VERSION_xserver-xorg ?= "1.9.3"
-PREFERRED_VERSION_mesa ?= "9.1.6"
 PREFERRED_VERSION_xf86-input-synaptics ?= "1.6.3"
 PREFERRED_VERSION_xf86-input-evdev ?= "2.6.0"
 PREFERRED_VERSION_emgd-driver-bin ?= "1.18"
-- 
1.7.9.5

___
meta-intel mailing list
meta-intel@yoctoproject.org
https://lists.yoctoproject.org/listinfo/meta-intel


[meta-intel] [PATCH 4/4] sys940x: Remove mesa PREFERRED_VERSION

2013-11-14 Thread tom . zanussi
From: Tom Zanussi 

>From Ross: "There's only one version of Mesa in oe-core *and* mesa
isn't used by these BSPs anymore (they use mesa-gl)."

So remove the preferred version and get rid of warnings such as below:

  NOTE: preferred version 9.1.6 of mesa not available (for item virtual/libg
  NOTE: versions of mesa available: 2:9.2.2 2:9.2.2+gitAUTOINC+8f0742051e

Signed-off-by: Tom Zanussi 
---
 meta-sys940x/conf/machine/sys940x.conf |1 -
 1 file changed, 1 deletion(-)

diff --git a/meta-sys940x/conf/machine/sys940x.conf 
b/meta-sys940x/conf/machine/sys940x.conf
index a84d035..db2d07a 100644
--- a/meta-sys940x/conf/machine/sys940x.conf
+++ b/meta-sys940x/conf/machine/sys940x.conf
@@ -25,7 +25,6 @@ XSERVER ?= "${XSERVER_IA32_BASE} \
"
 
 PREFERRED_VERSION_xserver-xorg ?= "1.9.3"
-PREFERRED_VERSION_mesa ?= "9.1.6"
 PREFERRED_VERSION_xf86-input-synaptics ?= "1.6.3"
 PREFERRED_VERSION_xf86-input-evdev ?= "2.6.0"
 PREFERRED_VERSION_emgd-driver-bin ?= "1.18"
-- 
1.7.9.5

___
meta-intel mailing list
meta-intel@yoctoproject.org
https://lists.yoctoproject.org/listinfo/meta-intel


[meta-intel] [PATCH 2/4] fri2: Remove mesa PREFERRED_VERSION

2013-11-14 Thread tom . zanussi
From: Tom Zanussi 

>From Ross: "There's only one version of Mesa in oe-core *and* mesa
isn't used by these BSPs anymore (they use mesa-gl)."

So remove the preferred version and get rid of warnings such as below:

  NOTE: preferred version 9.1.6 of mesa not available (for item virtual/libg
  NOTE: versions of mesa available: 2:9.2.2 2:9.2.2+gitAUTOINC+8f0742051e

Signed-off-by: Tom Zanussi 
---
 meta-fri2/conf/machine/fri2.conf |1 -
 1 file changed, 1 deletion(-)

diff --git a/meta-fri2/conf/machine/fri2.conf b/meta-fri2/conf/machine/fri2.conf
index 488a065..4ffdc4e 100644
--- a/meta-fri2/conf/machine/fri2.conf
+++ b/meta-fri2/conf/machine/fri2.conf
@@ -26,7 +26,6 @@ XSERVER ?= "${XSERVER_IA32_BASE} \
"
 
 PREFERRED_VERSION_xserver-xorg ?= "1.9.3"
-PREFERRED_VERSION_mesa ?= "9.1.6"
 PREFERRED_VERSION_xf86-input-synaptics ?= "1.6.3"
 PREFERRED_VERSION_xf86-input-evdev ?= "2.6.0"
 PREFERRED_VERSION_emgd-driver-bin ?= "1.18"
-- 
1.7.9.5

___
meta-intel mailing list
meta-intel@yoctoproject.org
https://lists.yoctoproject.org/listinfo/meta-intel


Re: [meta-intel] [PATCH 0/4] mesa build warning fixes

2013-11-14 Thread Burton, Ross
On 14 November 2013 22:15,   wrote:
> From: Tom Zanussi 
>
> While build-testing, I found a bunch of BSPs that didn't prefer
> the a matching mesa version, resulting in lots of warning spewage.

There's only one version of Mesa in oe-core *and* mesa isn't used by
these BSPs anymore (they use mesa-gl).  I recommend deleting these
lines.

Ross
___
meta-intel mailing list
meta-intel@yoctoproject.org
https://lists.yoctoproject.org/listinfo/meta-intel


[meta-intel] [PATCH 1/4] crownbay: Update mesa PREFERRED_VERSION

2013-11-14 Thread tom . zanussi
From: Tom Zanussi 

The mesa version in master was upgraded, so we need to update the
preferred version to it to get rid of warnings such as below:

  NOTE: preferred version 9.1.6 of mesa not available (for item virtual/libgl)
  NOTE: versions of mesa available: 2:9.2.2 2:9.2.2+gitAUTOINC+8f0742051e

Signed-off-by: Tom Zanussi 
---
 meta-crownbay/conf/machine/crownbay.conf |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta-crownbay/conf/machine/crownbay.conf 
b/meta-crownbay/conf/machine/crownbay.conf
index b028782..c9bebc1 100644
--- a/meta-crownbay/conf/machine/crownbay.conf
+++ b/meta-crownbay/conf/machine/crownbay.conf
@@ -25,7 +25,7 @@ XSERVER ?= "${XSERVER_IA32_BASE} \
"
 
 PREFERRED_VERSION_xserver-xorg ?= "1.9.3"
-PREFERRED_VERSION_mesa ?= "9.1.6"
+PREFERRED_VERSION_mesa ?= "9.2.2"
 PREFERRED_VERSION_xf86-input-synaptics ?= "1.6.3"
 PREFERRED_VERSION_xf86-input-evdev ?= "2.6.0"
 PREFERRED_VERSION_emgd-driver-bin ?= "1.18"
-- 
1.7.9.5

___
meta-intel mailing list
meta-intel@yoctoproject.org
https://lists.yoctoproject.org/listinfo/meta-intel


[meta-intel] [PATCH 0/4] mesa build warning fixes

2013-11-14 Thread tom . zanussi
From: Tom Zanussi 

While build-testing, I found a bunch of BSPs that didn't prefer
the a matching mesa version, resulting in lots of warning spewage.

The following changes since commit b74b419f08a040b5170addda5d17026e8c50290f:

  meta-haswell-wc: update linux-yocto_3.10 SRCREV (2013-11-11 21:47:55 -0600)

are available in the git repository at:

  git://git.yoctoproject.org/meta-intel-contrib.git 
tzanussi/preferred-mesa-fixes
  http://git.yoctoproject.org/cgit.cgi//log/?h=tzanussi/preferred-mesa-fixes

Tom Zanussi (4):
  crownbay: Update mesa PREFERRED_VERSION
  fri2: Update mesa PREFERRED_VERSION
  emenlow: Update mesa PREFERRED_VERSION
  sys940x: Update mesa PREFERRED_VERSION

 meta-crownbay/conf/machine/crownbay.conf |2 +-
 meta-emenlow/conf/machine/emenlow.conf   |2 +-
 meta-fri2/conf/machine/fri2.conf |2 +-
 meta-sys940x/conf/machine/sys940x.conf   |2 +-
 4 files changed, 4 insertions(+), 4 deletions(-)

-- 
1.7.9.5

___
meta-intel mailing list
meta-intel@yoctoproject.org
https://lists.yoctoproject.org/listinfo/meta-intel


[meta-intel] [PATCH 3/4] emenlow: Update mesa PREFERRED_VERSION

2013-11-14 Thread tom . zanussi
From: Tom Zanussi 

The mesa version in master was upgraded, so we need to update the
preferred version to it to get rid of warnings such as below:

  NOTE: preferred version 9.1.6 of mesa not available (for item virtual/libg
  NOTE: versions of mesa available: 2:9.2.2 2:9.2.2+gitAUTOINC+8f0742051e

Signed-off-by: Tom Zanussi 
---
 meta-emenlow/conf/machine/emenlow.conf |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta-emenlow/conf/machine/emenlow.conf 
b/meta-emenlow/conf/machine/emenlow.conf
index 3cbebe5..c7ef80d 100644
--- a/meta-emenlow/conf/machine/emenlow.conf
+++ b/meta-emenlow/conf/machine/emenlow.conf
@@ -25,7 +25,7 @@ XSERVER ?= "${XSERVER_IA32_BASE} \
"
 
 PREFERRED_VERSION_xserver-xorg ?= "1.9.3"
-PREFERRED_VERSION_mesa ?= "9.1.6"
+PREFERRED_VERSION_mesa ?= "9.2.2"
 PREFERRED_VERSION_xf86-input-synaptics ?= "1.6.3"
 PREFERRED_VERSION_xf86-input-evdev ?= "2.6.0"
 PREFERRED_VERSION_emgd-driver-bin ?= "1.18"
-- 
1.7.9.5

___
meta-intel mailing list
meta-intel@yoctoproject.org
https://lists.yoctoproject.org/listinfo/meta-intel


[meta-intel] [PATCH 4/4] sys940x: Update mesa PREFERRED_VERSION

2013-11-14 Thread tom . zanussi
From: Tom Zanussi 

The mesa version in master was upgraded, so we need to update the
preferred version to it to get rid of warnings such as below:

  NOTE: preferred version 9.1.6 of mesa not available (for item virtual/libg
  NOTE: versions of mesa available: 2:9.2.2 2:9.2.2+gitAUTOINC+8f0742051e

Signed-off-by: Tom Zanussi 
---
 meta-sys940x/conf/machine/sys940x.conf |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta-sys940x/conf/machine/sys940x.conf 
b/meta-sys940x/conf/machine/sys940x.conf
index a84d035..a3082f4 100644
--- a/meta-sys940x/conf/machine/sys940x.conf
+++ b/meta-sys940x/conf/machine/sys940x.conf
@@ -25,7 +25,7 @@ XSERVER ?= "${XSERVER_IA32_BASE} \
"
 
 PREFERRED_VERSION_xserver-xorg ?= "1.9.3"
-PREFERRED_VERSION_mesa ?= "9.1.6"
+PREFERRED_VERSION_mesa ?= "9.2.2"
 PREFERRED_VERSION_xf86-input-synaptics ?= "1.6.3"
 PREFERRED_VERSION_xf86-input-evdev ?= "2.6.0"
 PREFERRED_VERSION_emgd-driver-bin ?= "1.18"
-- 
1.7.9.5

___
meta-intel mailing list
meta-intel@yoctoproject.org
https://lists.yoctoproject.org/listinfo/meta-intel


[meta-intel] [PATCH 2/4] fri2: Update mesa PREFERRED_VERSION

2013-11-14 Thread tom . zanussi
From: Tom Zanussi 

The mesa version in master was upgraded, so we need to update the
preferred version to it to get rid of warnings such as below:

  NOTE: preferred version 9.1.6 of mesa not available (for item virtual/libg
  NOTE: versions of mesa available: 2:9.2.2 2:9.2.2+gitAUTOINC+8f0742051e

Signed-off-by: Tom Zanussi 
---
 meta-fri2/conf/machine/fri2.conf |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta-fri2/conf/machine/fri2.conf b/meta-fri2/conf/machine/fri2.conf
index 488a065..1ff4e9b 100644
--- a/meta-fri2/conf/machine/fri2.conf
+++ b/meta-fri2/conf/machine/fri2.conf
@@ -26,7 +26,7 @@ XSERVER ?= "${XSERVER_IA32_BASE} \
"
 
 PREFERRED_VERSION_xserver-xorg ?= "1.9.3"
-PREFERRED_VERSION_mesa ?= "9.1.6"
+PREFERRED_VERSION_mesa ?= "9.2.2"
 PREFERRED_VERSION_xf86-input-synaptics ?= "1.6.3"
 PREFERRED_VERSION_xf86-input-evdev ?= "2.6.0"
 PREFERRED_VERSION_emgd-driver-bin ?= "1.18"
-- 
1.7.9.5

___
meta-intel mailing list
meta-intel@yoctoproject.org
https://lists.yoctoproject.org/listinfo/meta-intel


[meta-intel] [PATCH] gstreamer-vaapi: add 0.5.6

2013-11-14 Thread Ross Burton
gstreamer-vaapi 0.5.x supports GStreamer 0.10/1.0/1.2, so add seperate recipes
for 0.10 and 1.0 builds.

This adds a new recipe name so keep the old gstreamer-vaapi_0.4.3 for now until
all users of that have migrated away.

Signed-off-by: Ross Burton 
---
 .../gstreamer/gstreamer-vaapi-0.10_0.5.6.bb|7 
 .../gstreamer/gstreamer-vaapi-1.0_0.5.6.bb |5 +++
 .../gstreamer/gstreamer-vaapi.inc  |   41 
 .../gstreamer/gstreamer-vaapi/install-tests.patch  |   31 +++
 .../gstreamer-vaapi/wayland-compile.patch  |   17 
 5 files changed, 101 insertions(+)
 create mode 100644 
common/recipes-multimedia/gstreamer/gstreamer-vaapi-0.10_0.5.6.bb
 create mode 100644 
common/recipes-multimedia/gstreamer/gstreamer-vaapi-1.0_0.5.6.bb
 create mode 100644 common/recipes-multimedia/gstreamer/gstreamer-vaapi.inc
 create mode 100644 
common/recipes-multimedia/gstreamer/gstreamer-vaapi/install-tests.patch
 create mode 100644 
common/recipes-multimedia/gstreamer/gstreamer-vaapi/wayland-compile.patch

diff --git a/common/recipes-multimedia/gstreamer/gstreamer-vaapi-0.10_0.5.6.bb 
b/common/recipes-multimedia/gstreamer/gstreamer-vaapi-0.10_0.5.6.bb
new file mode 100644
index 000..784e0c5
--- /dev/null
+++ b/common/recipes-multimedia/gstreamer/gstreamer-vaapi-0.10_0.5.6.bb
@@ -0,0 +1,7 @@
+require gstreamer-vaapi.inc
+
+DEPENDS += "gstreamer gst-plugins-base gst-plugins-bad"
+
+SRC_URI += "file://wayland-compile.patch"
+
+GST_API_VERSION = "0.10"
diff --git a/common/recipes-multimedia/gstreamer/gstreamer-vaapi-1.0_0.5.6.bb 
b/common/recipes-multimedia/gstreamer/gstreamer-vaapi-1.0_0.5.6.bb
new file mode 100644
index 000..b8ad2a5
--- /dev/null
+++ b/common/recipes-multimedia/gstreamer/gstreamer-vaapi-1.0_0.5.6.bb
@@ -0,0 +1,5 @@
+require gstreamer-vaapi.inc
+
+DEPENDS += "gstreamer1.0 gstreamer1.0-plugins-base gstreamer1.0-plugins-bad"
+
+GST_API_VERSION = "1.0"
diff --git a/common/recipes-multimedia/gstreamer/gstreamer-vaapi.inc 
b/common/recipes-multimedia/gstreamer/gstreamer-vaapi.inc
new file mode 100644
index 000..9fc3248
--- /dev/null
+++ b/common/recipes-multimedia/gstreamer/gstreamer-vaapi.inc
@@ -0,0 +1,41 @@
+SUMMARY = "VA-API support to GStreamer"
+DESCRIPTION = "gstreamer-vaapi consists of a collection of VA-API \
+based plugins for GStreamer and helper libraries: `vaapidecode', \
+`vaapiconvert', and `vaapisink'."
+
+REALPN = "gstreamer-vaapi"
+FILESPATH = "${@base_set_filespath(["${FILE_DIRNAME}/${REALPN}", 
"${FILE_DIRNAME}/${REALPN}"], d)}"
+
+LICENSE = "LGPLv2.1+"
+LIC_FILES_CHKSUM = "file://COPYING.LIB;md5=4fbd65380cdd255951079008b364516c"
+
+DEPENDS = "libva"
+
+SRC_URI = 
"http://www.freedesktop.org/software/vaapi/releases/${REALPN}/${REALPN}-${PV}.tar.bz2
 \
+   file://install-tests.patch"
+
+SRC_URI[md5sum] = "7b1ede7193bc5a0aca921c490684f7b5"
+SRC_URI[sha256sum] = 
"68e0598456fe17085f6b8b1ce3da066322cc02c363955fb319776a5404d2b0da"
+
+S = "${WORKDIR}/${REALPN}-${PV}"
+
+inherit autotools pkgconfig gtk-doc
+
+PACKAGES =+ "${PN}-tests"
+
+EXTRA_OECONF += "--with-gstreamer-api=${GST_API_VERSION}"
+
+PACKAGECONFIG ??= "drm \
+   ${@base_contains("DISTRO_FEATURES", "opengl x11", "glx", 
"", d)} \
+   ${@base_contains("DISTRO_FEATURES", "wayland", "wayland", 
"", d)} \
+   ${@base_contains("DISTRO_FEATURES", "x11", "x11", "", d)}"
+
+PACKAGECONFIG[drm] = "--enable-drm,--disable-drm,udev libdrm"
+PACKAGECONFIG[glx] = "--enable-glx,--disable-glx,virtual/mesa"
+PACKAGECONFIG[wayland] = "--enable-wayland,--disable-wayland,wayland"
+PACKAGECONFIG[x11] = "--enable-x11,--disable-x11,virtual/libx11 libxrandr 
libxrender"
+
+FILES_${PN} += "${libdir}/gstreamer-*/*.so"
+FILES_${PN}-dbg += "${libdir}/gstreamer-*/.debug"
+FILES_${PN}-dev += "${libdir}/gstreamer-*/*.la ${libdir}/gstreamer-*/*.a"
+FILES_${PN}-tests = "${bindir}/*"
diff --git 
a/common/recipes-multimedia/gstreamer/gstreamer-vaapi/install-tests.patch 
b/common/recipes-multimedia/gstreamer/gstreamer-vaapi/install-tests.patch
new file mode 100644
index 000..9281b04
--- /dev/null
+++ b/common/recipes-multimedia/gstreamer/gstreamer-vaapi/install-tests.patch
@@ -0,0 +1,31 @@
+Install tests.
+
+Upstream-Status: Inappropriate
+Signed-off-by: Ross Burton 
+
+---
+ tests/Makefile.am |4 ++--
+ 1 file changed, 2 insertions(+), 2 deletions(-)
+
+diff --git a/tests/Makefile.am b/tests/Makefile.am
+index 2e7f191..8f65446 100644
+--- a/tests/Makefile.am
 b/tests/Makefile.am
+@@ -1,4 +1,4 @@
+-noinst_PROGRAMS = \
++bin_PROGRAMS = \
+   simple-decoder  \
+   test-decode \
+   test-display\
+@@ -9,7 +9,7 @@ noinst_PROGRAMS = \
+   $(NULL)
+ 
+ if USE_GLX
+-noinst_PROGRAMS += \
++bin_PROGRAMS += \
+   test-textures   \
+   $(NULL)
+ endif
+-- 
+1.7.10.4
+
diff --git 
a/common/recipes-multimedia/gstreamer/gstreamer-vaapi/wayland

[meta-intel] [PATCH] emgd-driver-bin: add missing GLchar typedef to gl2.h

2013-11-14 Thread Ross Burton
GLES2/gl2.h is missing the GLchar typedef, so at least gstreamer1.0-plugins-bad
fails to compile.  Khronos say the typedef should be there so patch it in.

Signed-off-by: Ross Burton 
---
 .../xorg-driver/emgd-driver-bin/glchar.patch  |   17 +
 .../xorg-driver/emgd-driver-bin_1.18.bb   |3 +++
 2 files changed, 20 insertions(+)
 create mode 100644 
common/recipes-graphics/xorg-driver/emgd-driver-bin/glchar.patch

diff --git a/common/recipes-graphics/xorg-driver/emgd-driver-bin/glchar.patch 
b/common/recipes-graphics/xorg-driver/emgd-driver-bin/glchar.patch
new file mode 100644
index 000..2781ec9
--- /dev/null
+++ b/common/recipes-graphics/xorg-driver/emgd-driver-bin/glchar.patch
@@ -0,0 +1,17 @@
+EMGD's gl2.h is missing the GLchar typedef, so add it.
+
+Upstream-Status: Submitted
+Signed-off-by: Ross Burton 
+
+diff --git a/usr/include/GLES2/gl2.h b/usr/include/GLES2/gl2.h
+index 8b83f3f..4fbd12e 100644
+--- a/usr/include/GLES2/gl2.h
 b/usr/include/GLES2/gl2.h
+@@ -21,6 +21,7 @@ typedef unsigned intGLenum;
+ typedef unsigned char   GLboolean;
+ typedef unsigned intGLbitfield;
+ typedef khronos_int8_t   GLbyte;
++typedef charGLchar;
+ typedef short   GLshort;
+ typedef int GLint;
+ typedef int GLsizei;
diff --git a/common/recipes-graphics/xorg-driver/emgd-driver-bin_1.18.bb 
b/common/recipes-graphics/xorg-driver/emgd-driver-bin_1.18.bb
index b3bf0d2..62c3418 100644
--- a/common/recipes-graphics/xorg-driver/emgd-driver-bin_1.18.bb
+++ b/common/recipes-graphics/xorg-driver/emgd-driver-bin_1.18.bb
@@ -41,6 +41,7 @@ SRC_URI = 
"http://downloadmirror.intel.com/22865/eng/LIN_IEMGD_1_18_GOLD_3398.tg
file://egl.pc \
file://gles_cm.pc \
file://glesv2.pc \
+   file://glchar.patch;apply=0 \
   "
 
 SRC_URI[md5sum] = "a165c397866d3fb70ddab318c834e49a"
@@ -127,6 +128,8 @@ do_install () {
 # Khronos development headers needed for EGL, OpenGL-ES, and OpenVG 
development
 ${RPM2CPIO} ${S}/emgd-devel*.rpm | cpio -id
 
+patch -d ${S} -p1 < ${WORKDIR}/glchar.patch
+
 install -d -m 0755${D}${includedir}/EGL
 install -m 0755 ${S}/usr/include/EGL/*.h  
${D}${includedir}/EGL/
 install -d -m 0755
${D}${includedir}/GLES
-- 
1.7.10.4

___
meta-intel mailing list
meta-intel@yoctoproject.org
https://lists.yoctoproject.org/listinfo/meta-intel