Re: [OE-core] [PATCH] mesa: move crypto configs to versioned recipe

2016-06-30 Thread Belal, Awais
Jussi,

Your observation is correct but the warning is reproducible with the git recipe 
that is available in oe-core. I'm only updating the SRCREV in my layers.

BR,
Awais

From: Jussi Kukkonen [jussi.kukko...@intel.com]
Sent: Thursday, June 30, 2016 6:02 PM
To: Belal, Awais
Cc: Patches and discussions about the oe-core layer
Subject: Re: [OE-core] [PATCH] mesa: move crypto configs to versioned recipe

On 30 June 2016 at 15:40, Awais Belal 
<awais_be...@mentor.com<mailto:awais_be...@mentor.com>> wrote:
Fixes
WARNING: mesa-2_11.0.8+gitAUTOINC+b9b19162ee-r0 do_configure: QA Issue: mesa: 
configure was passed unrecognised options: --with-sha1 
[unknown-configure-option]
for git based recipe as it is on an older version of mesa
which does not support crypto configs.

I was about to suggest removing the git recipe (or at least bumping the 
revision) instead... but mesa-2_11.0.8 is actually not a oe-core recipe/version 
at all?

 Jussi

Signed-off-by: Awais Belal 
<awais_be...@mentor.com<mailto:awais_be...@mentor.com>>
---
 meta/recipes-graphics/mesa/mesa.inc   | 6 --
 meta/recipes-graphics/mesa/mesa_11.2.2.bb<http://mesa_11.2.2.bb> | 6 ++
 2 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/meta/recipes-graphics/mesa/mesa.inc 
b/meta/recipes-graphics/mesa/mesa.inc
index 1d084c0..b227abc 100644
--- a/meta/recipes-graphics/mesa/mesa.inc
+++ b/meta/recipes-graphics/mesa/mesa.inc
@@ -64,12 +64,6 @@ PACKAGECONFIG[gallium-llvm] = "--enable-gallium-llvm 
--enable-llvm-shared-libs,
 export WANT_LLVM_RELEASE = "${MESA_LLVM_RELEASE}"
 PACKAGECONFIG[xa]  = "--enable-xa, --disable-xa"

-# Mesa requires one of the following crypto implementation, pick one of them
-MESA_CRYPTO ??= "openssl"
-PACKAGECONFIG[openssl] = "--with-sha1=libcrypto,,openssl"
-PACKAGECONFIG[nettle] = "--with-sha1=libnettle,,nettle"
-PACKAGECONFIG[gcrypt] = "--with-sha1=libgcrypt,,libgcrypt"
-
 # llvmpipe is slow if compiled with -fomit-frame-pointer (e.g. -O2)
 FULL_OPTIMIZATION_append = " -fno-omit-frame-pointer"

diff --git a/meta/recipes-graphics/mesa/mesa_11.2.2.bb<http://mesa_11.2.2.bb> 
b/meta/recipes-graphics/mesa/mesa_11.2.2.bb<http://mesa_11.2.2.bb>
index a864b54..87c12c8 100644
--- a/meta/recipes-graphics/mesa/mesa_11.2.2.bb<http://mesa_11.2.2.bb>
+++ b/meta/recipes-graphics/mesa/mesa_11.2.2.bb<http://mesa_11.2.2.bb>
@@ -1,5 +1,11 @@
 require ${BPN}.inc

+# Mesa requires one of the following crypto implementation, pick one of them
+MESA_CRYPTO ??= "openssl"
+PACKAGECONFIG[openssl] = "--with-sha1=libcrypto,,openssl"
+PACKAGECONFIG[nettle] = "--with-sha1=libnettle,,nettle"
+PACKAGECONFIG[gcrypt] = "--with-sha1=libgcrypt,,libgcrypt"
+
 SRC_URI = "ftp://ftp.freedesktop.org/pub/mesa/${PV}/mesa-${PV}.tar.xz \
file://replace_glibc_check_with_linux.patch \
 "
--
1.9.1

--
___
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org<mailto:Openembedded-core@lists.openembedded.org>
http://lists.openembedded.org/mailman/listinfo/openembedded-core


-- 
___
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-core


Re: [OE-core] [PATCH] mesa: move crypto configs to versioned recipe

2016-06-30 Thread Jussi Kukkonen
On 30 June 2016 at 15:40, Awais Belal  wrote:

> Fixes
> WARNING: mesa-2_11.0.8+gitAUTOINC+b9b19162ee-r0 do_configure: QA Issue:
> mesa: configure was passed unrecognised options: --with-sha1
> [unknown-configure-option]
> for git based recipe as it is on an older version of mesa
> which does not support crypto configs.
>

I was about to suggest removing the git recipe (or at least bumping the
revision) instead... but mesa-2_11.0.8 is actually not a oe-core
recipe/version at all?

 Jussi

Signed-off-by: Awais Belal 
> ---
>  meta/recipes-graphics/mesa/mesa.inc   | 6 --
>  meta/recipes-graphics/mesa/mesa_11.2.2.bb | 6 ++
>  2 files changed, 6 insertions(+), 6 deletions(-)
>
> diff --git a/meta/recipes-graphics/mesa/mesa.inc
> b/meta/recipes-graphics/mesa/mesa.inc
> index 1d084c0..b227abc 100644
> --- a/meta/recipes-graphics/mesa/mesa.inc
> +++ b/meta/recipes-graphics/mesa/mesa.inc
> @@ -64,12 +64,6 @@ PACKAGECONFIG[gallium-llvm] = "--enable-gallium-llvm
> --enable-llvm-shared-libs,
>  export WANT_LLVM_RELEASE = "${MESA_LLVM_RELEASE}"
>  PACKAGECONFIG[xa]  = "--enable-xa, --disable-xa"
>
> -# Mesa requires one of the following crypto implementation, pick one of
> them
> -MESA_CRYPTO ??= "openssl"
> -PACKAGECONFIG[openssl] = "--with-sha1=libcrypto,,openssl"
> -PACKAGECONFIG[nettle] = "--with-sha1=libnettle,,nettle"
> -PACKAGECONFIG[gcrypt] = "--with-sha1=libgcrypt,,libgcrypt"
> -
>  # llvmpipe is slow if compiled with -fomit-frame-pointer (e.g. -O2)
>  FULL_OPTIMIZATION_append = " -fno-omit-frame-pointer"
>
> diff --git a/meta/recipes-graphics/mesa/mesa_11.2.2.bb
> b/meta/recipes-graphics/mesa/mesa_11.2.2.bb
> index a864b54..87c12c8 100644
> --- a/meta/recipes-graphics/mesa/mesa_11.2.2.bb
> +++ b/meta/recipes-graphics/mesa/mesa_11.2.2.bb
> @@ -1,5 +1,11 @@
>  require ${BPN}.inc
>
> +# Mesa requires one of the following crypto implementation, pick one of
> them
> +MESA_CRYPTO ??= "openssl"
> +PACKAGECONFIG[openssl] = "--with-sha1=libcrypto,,openssl"
> +PACKAGECONFIG[nettle] = "--with-sha1=libnettle,,nettle"
> +PACKAGECONFIG[gcrypt] = "--with-sha1=libgcrypt,,libgcrypt"
> +
>  SRC_URI = "ftp://ftp.freedesktop.org/pub/mesa/${PV}/mesa-${PV}.tar.xz \
> file://replace_glibc_check_with_linux.patch \
>  "
> --
> 1.9.1
>
> --
> ___
> Openembedded-core mailing list
> Openembedded-core@lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-core
>
>
-- 
___
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-core


[OE-core] [PATCH] mesa: move crypto configs to versioned recipe

2016-06-30 Thread Awais Belal
Fixes
WARNING: mesa-2_11.0.8+gitAUTOINC+b9b19162ee-r0 do_configure: QA Issue: mesa: 
configure was passed unrecognised options: --with-sha1 
[unknown-configure-option]
for git based recipe as it is on an older version of mesa
which does not support crypto configs.

Signed-off-by: Awais Belal 
---
 meta/recipes-graphics/mesa/mesa.inc   | 6 --
 meta/recipes-graphics/mesa/mesa_11.2.2.bb | 6 ++
 2 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/meta/recipes-graphics/mesa/mesa.inc 
b/meta/recipes-graphics/mesa/mesa.inc
index 1d084c0..b227abc 100644
--- a/meta/recipes-graphics/mesa/mesa.inc
+++ b/meta/recipes-graphics/mesa/mesa.inc
@@ -64,12 +64,6 @@ PACKAGECONFIG[gallium-llvm] = "--enable-gallium-llvm 
--enable-llvm-shared-libs,
 export WANT_LLVM_RELEASE = "${MESA_LLVM_RELEASE}"
 PACKAGECONFIG[xa]  = "--enable-xa, --disable-xa"
 
-# Mesa requires one of the following crypto implementation, pick one of them
-MESA_CRYPTO ??= "openssl"
-PACKAGECONFIG[openssl] = "--with-sha1=libcrypto,,openssl"
-PACKAGECONFIG[nettle] = "--with-sha1=libnettle,,nettle"
-PACKAGECONFIG[gcrypt] = "--with-sha1=libgcrypt,,libgcrypt"
-
 # llvmpipe is slow if compiled with -fomit-frame-pointer (e.g. -O2)
 FULL_OPTIMIZATION_append = " -fno-omit-frame-pointer"
 
diff --git a/meta/recipes-graphics/mesa/mesa_11.2.2.bb 
b/meta/recipes-graphics/mesa/mesa_11.2.2.bb
index a864b54..87c12c8 100644
--- a/meta/recipes-graphics/mesa/mesa_11.2.2.bb
+++ b/meta/recipes-graphics/mesa/mesa_11.2.2.bb
@@ -1,5 +1,11 @@
 require ${BPN}.inc
 
+# Mesa requires one of the following crypto implementation, pick one of them
+MESA_CRYPTO ??= "openssl"
+PACKAGECONFIG[openssl] = "--with-sha1=libcrypto,,openssl"
+PACKAGECONFIG[nettle] = "--with-sha1=libnettle,,nettle"
+PACKAGECONFIG[gcrypt] = "--with-sha1=libgcrypt,,libgcrypt"
+
 SRC_URI = "ftp://ftp.freedesktop.org/pub/mesa/${PV}/mesa-${PV}.tar.xz \
file://replace_glibc_check_with_linux.patch \
 "
-- 
1.9.1

-- 
___
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-core