All of lore.kernel.org
 help / color / mirror / Atom feed
* Added new cmake version
@ 2010-06-30  0:43 Joao H. Freitas
  2010-06-30  0:43 ` [PATCH 1/2] add cmake 2.8.1recipes/cmake/cmake-native_2.8.1.bb Joao H. Freitas
  2010-06-30  0:43 ` [PATCH 2/2] replace sdk -> nativesdk Joao H. Freitas
  0 siblings, 2 replies; 9+ messages in thread
From: Joao H. Freitas @ 2010-06-30  0:43 UTC (permalink / raw)
  To: openembedded-devel

[PATCH 1/2] add cmake 2.8.1recipes/cmake/cmake-native_2.8.1.bb
[PATCH 2/2] replace sdk -> nativesdk

Thanks



^ permalink raw reply	[flat|nested] 9+ messages in thread

* [PATCH 1/2] add cmake 2.8.1recipes/cmake/cmake-native_2.8.1.bb
  2010-06-30  0:43 Added new cmake version Joao H. Freitas
@ 2010-06-30  0:43 ` Joao H. Freitas
  2010-06-30  6:55   ` Koen Kooi
  2010-06-30  0:43 ` [PATCH 2/2] replace sdk -> nativesdk Joao H. Freitas
  1 sibling, 1 reply; 9+ messages in thread
From: Joao H. Freitas @ 2010-06-30  0:43 UTC (permalink / raw)
  To: openembedded-devel

---
 recipes/cmake/cmake-sdk_2.8.1.bb |    5 -----
 recipes/cmake/cmake.inc          |    2 ++
 recipes/cmake/cmake_2.8.1.bb     |   11 +++++++++++
 3 files changed, 13 insertions(+), 5 deletions(-)
 delete mode 100644 recipes/cmake/cmake-sdk_2.8.1.bb
 create mode 100644 recipes/cmake/cmake_2.8.1.bb

diff --git a/recipes/cmake/cmake-sdk_2.8.1.bb b/recipes/cmake/cmake-sdk_2.8.1.bb
deleted file mode 100644
index 86356f7..0000000
--- a/recipes/cmake/cmake-sdk_2.8.1.bb
+++ /dev/null
@@ -1,5 +0,0 @@
-inherit sdk
-require cmake.inc
-
-SRC_URI[md5sum] = "feadc2e5ebbfed0efc90178583503725"
-SRC_URI[sha256sum] = "7eae74ab7673974a68e395c211854d318f0af2d320590a670339ee8ee9422242"
diff --git a/recipes/cmake/cmake.inc b/recipes/cmake/cmake.inc
index 631d846..5601ddb 100644
--- a/recipes/cmake/cmake.inc
+++ b/recipes/cmake/cmake.inc
@@ -10,6 +10,8 @@ PR = "r3"
 CMAKE_MAJOR_VERSION = "${@bb.data.getVar('PV',d,1).split('.')[0]}.${@bb.data.getVar('PV',d,1).split('.')[1]}"
 SRC_URI = "http://www.cmake.org/files/v${CMAKE_MAJOR_VERSION}/cmake-${PV}.tar.gz"
 
+BBCLASSEXTEND = "native sdk"
+
 inherit autotools
 
 S = "${WORKDIR}/cmake-${PV}"
diff --git a/recipes/cmake/cmake_2.8.1.bb b/recipes/cmake/cmake_2.8.1.bb
new file mode 100644
index 0000000..845ea7c
--- /dev/null
+++ b/recipes/cmake/cmake_2.8.1.bb
@@ -0,0 +1,11 @@
+require cmake.inc
+
+#inherit cmake
+
+do_configure_append() {
+	sed -i -e 's,HAVE_GLIBC_STRERROR_R__TRYRUN_OUTPUT-ADVANCED:INTERNAL=1,HAVE_GLIBC_STRERROR_R__TRYRUN_OUTPUT-ADVANCED:INTERNAL=0,' CMakeCache.txt
+}
+
+
+SRC_URI[md5sum] = "feadc2e5ebbfed0efc90178583503725"
+SRC_URI[sha256sum] = "7eae74ab7673974a68e395c211854d318f0af2d320590a670339ee8ee9422242"
-- 
1.7.0.2




^ permalink raw reply related	[flat|nested] 9+ messages in thread

* [PATCH 2/2] replace sdk -> nativesdk
  2010-06-30  0:43 Added new cmake version Joao H. Freitas
  2010-06-30  0:43 ` [PATCH 1/2] add cmake 2.8.1recipes/cmake/cmake-native_2.8.1.bb Joao H. Freitas
@ 2010-06-30  0:43 ` Joao H. Freitas
  2010-06-30  6:54   ` Koen Kooi
  1 sibling, 1 reply; 9+ messages in thread
From: Joao H. Freitas @ 2010-06-30  0:43 UTC (permalink / raw)
  To: openembedded-devel

---
 recipes/cmake/cmake.inc      |    2 +-
 recipes/cmake/cmake_2.8.1.bb |    2 --
 2 files changed, 1 insertions(+), 3 deletions(-)

diff --git a/recipes/cmake/cmake.inc b/recipes/cmake/cmake.inc
index 5601ddb..e53cd35 100644
--- a/recipes/cmake/cmake.inc
+++ b/recipes/cmake/cmake.inc
@@ -10,7 +10,7 @@ PR = "r3"
 CMAKE_MAJOR_VERSION = "${@bb.data.getVar('PV',d,1).split('.')[0]}.${@bb.data.getVar('PV',d,1).split('.')[1]}"
 SRC_URI = "http://www.cmake.org/files/v${CMAKE_MAJOR_VERSION}/cmake-${PV}.tar.gz"
 
-BBCLASSEXTEND = "native sdk"
+BBCLASSEXTEND = "native nativesdk"
 
 inherit autotools
 
diff --git a/recipes/cmake/cmake_2.8.1.bb b/recipes/cmake/cmake_2.8.1.bb
index 845ea7c..279495c 100644
--- a/recipes/cmake/cmake_2.8.1.bb
+++ b/recipes/cmake/cmake_2.8.1.bb
@@ -1,7 +1,5 @@
 require cmake.inc
 
-#inherit cmake
-
 do_configure_append() {
 	sed -i -e 's,HAVE_GLIBC_STRERROR_R__TRYRUN_OUTPUT-ADVANCED:INTERNAL=1,HAVE_GLIBC_STRERROR_R__TRYRUN_OUTPUT-ADVANCED:INTERNAL=0,' CMakeCache.txt
 }
-- 
1.7.0.2




^ permalink raw reply related	[flat|nested] 9+ messages in thread

* Re: [PATCH 2/2] replace sdk -> nativesdk
  2010-06-30  0:43 ` [PATCH 2/2] replace sdk -> nativesdk Joao H. Freitas
@ 2010-06-30  6:54   ` Koen Kooi
  2010-06-30  7:03     ` Frans Meulenbroeks
  2010-06-30  7:03     ` Martin Jansa
  0 siblings, 2 replies; 9+ messages in thread
From: Koen Kooi @ 2010-06-30  6:54 UTC (permalink / raw)
  To: openembedded-devel

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi,

Martin and I chatted about nativesdk a bit last week and after rereading
the email thread it seems that 'nativesdk' and 'sdk' should coexist for
awhile, so have both in BBCLASSEXTENDS?

regards,

Koen

On 30-06-10 02:43, Joao H. Freitas wrote:
> ---
>  recipes/cmake/cmake.inc      |    2 +-
>  recipes/cmake/cmake_2.8.1.bb |    2 --
>  2 files changed, 1 insertions(+), 3 deletions(-)
> 
> diff --git a/recipes/cmake/cmake.inc b/recipes/cmake/cmake.inc
> index 5601ddb..e53cd35 100644
> --- a/recipes/cmake/cmake.inc
> +++ b/recipes/cmake/cmake.inc
> @@ -10,7 +10,7 @@ PR = "r3"
>  CMAKE_MAJOR_VERSION = "${@bb.data.getVar('PV',d,1).split('.')[0]}.${@bb.data.getVar('PV',d,1).split('.')[1]}"
>  SRC_URI = "http://www.cmake.org/files/v${CMAKE_MAJOR_VERSION}/cmake-${PV}.tar.gz"
>  
> -BBCLASSEXTEND = "native sdk"
> +BBCLASSEXTEND = "native nativesdk"
>  
>  inherit autotools
>  
> diff --git a/recipes/cmake/cmake_2.8.1.bb b/recipes/cmake/cmake_2.8.1.bb
> index 845ea7c..279495c 100644
> --- a/recipes/cmake/cmake_2.8.1.bb
> +++ b/recipes/cmake/cmake_2.8.1.bb
> @@ -1,7 +1,5 @@
>  require cmake.inc
>  
> -#inherit cmake
> -
>  do_configure_append() {
>  	sed -i -e 's,HAVE_GLIBC_STRERROR_R__TRYRUN_OUTPUT-ADVANCED:INTERNAL=1,HAVE_GLIBC_STRERROR_R__TRYRUN_OUTPUT-ADVANCED:INTERNAL=0,' CMakeCache.txt
>  }

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (Darwin)

iD8DBQFMKuogMkyGM64RGpERAvN7AKCEvgfnOi0yyFdM4TlIUMRURRCz/QCfe8TF
ZqNPtfxlSkMEMv8DajxRUCk=
=4FWY
-----END PGP SIGNATURE-----




^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [PATCH 1/2] add cmake 2.8.1recipes/cmake/cmake-native_2.8.1.bb
  2010-06-30  0:43 ` [PATCH 1/2] add cmake 2.8.1recipes/cmake/cmake-native_2.8.1.bb Joao H. Freitas
@ 2010-06-30  6:55   ` Koen Kooi
  2010-07-01  0:01     ` João Henrique Freitas
  0 siblings, 1 reply; 9+ messages in thread
From: Koen Kooi @ 2010-06-30  6:55 UTC (permalink / raw)
  To: openembedded-devel

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Does 'bitbake cmake' work with this version?

On 30-06-10 02:43, Joao H. Freitas wrote:
> ---
>  recipes/cmake/cmake-sdk_2.8.1.bb |    5 -----
>  recipes/cmake/cmake.inc          |    2 ++
>  recipes/cmake/cmake_2.8.1.bb     |   11 +++++++++++
>  3 files changed, 13 insertions(+), 5 deletions(-)
>  delete mode 100644 recipes/cmake/cmake-sdk_2.8.1.bb
>  create mode 100644 recipes/cmake/cmake_2.8.1.bb
> 
> diff --git a/recipes/cmake/cmake-sdk_2.8.1.bb b/recipes/cmake/cmake-sdk_2.8.1.bb
> deleted file mode 100644
> index 86356f7..0000000
> --- a/recipes/cmake/cmake-sdk_2.8.1.bb
> +++ /dev/null
> @@ -1,5 +0,0 @@
> -inherit sdk
> -require cmake.inc
> -
> -SRC_URI[md5sum] = "feadc2e5ebbfed0efc90178583503725"
> -SRC_URI[sha256sum] = "7eae74ab7673974a68e395c211854d318f0af2d320590a670339ee8ee9422242"
> diff --git a/recipes/cmake/cmake.inc b/recipes/cmake/cmake.inc
> index 631d846..5601ddb 100644
> --- a/recipes/cmake/cmake.inc
> +++ b/recipes/cmake/cmake.inc
> @@ -10,6 +10,8 @@ PR = "r3"
>  CMAKE_MAJOR_VERSION = "${@bb.data.getVar('PV',d,1).split('.')[0]}.${@bb.data.getVar('PV',d,1).split('.')[1]}"
>  SRC_URI = "http://www.cmake.org/files/v${CMAKE_MAJOR_VERSION}/cmake-${PV}.tar.gz"
>  
> +BBCLASSEXTEND = "native sdk"
> +
>  inherit autotools
>  
>  S = "${WORKDIR}/cmake-${PV}"
> diff --git a/recipes/cmake/cmake_2.8.1.bb b/recipes/cmake/cmake_2.8.1.bb
> new file mode 100644
> index 0000000..845ea7c
> --- /dev/null
> +++ b/recipes/cmake/cmake_2.8.1.bb
> @@ -0,0 +1,11 @@
> +require cmake.inc
> +
> +#inherit cmake
> +
> +do_configure_append() {
> +	sed -i -e 's,HAVE_GLIBC_STRERROR_R__TRYRUN_OUTPUT-ADVANCED:INTERNAL=1,HAVE_GLIBC_STRERROR_R__TRYRUN_OUTPUT-ADVANCED:INTERNAL=0,' CMakeCache.txt
> +}
> +
> +
> +SRC_URI[md5sum] = "feadc2e5ebbfed0efc90178583503725"
> +SRC_URI[sha256sum] = "7eae74ab7673974a68e395c211854d318f0af2d320590a670339ee8ee9422242"

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (Darwin)

iD4DBQFMKupfMkyGM64RGpERAoW2AJih+hEVyZFaQ0aPs9UYbrxarQ6HAJ9tr/Jl
QtcrDrBnCAUlWTMJJVGpJw==
=SRkX
-----END PGP SIGNATURE-----




^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [PATCH 2/2] replace sdk -> nativesdk
  2010-06-30  6:54   ` Koen Kooi
@ 2010-06-30  7:03     ` Frans Meulenbroeks
  2010-06-30  8:49       ` Koen Kooi
  2010-06-30  7:03     ` Martin Jansa
  1 sibling, 1 reply; 9+ messages in thread
From: Frans Meulenbroeks @ 2010-06-30  7:03 UTC (permalink / raw)
  To: openembedded-devel

2010/6/30 Koen Kooi <k.kooi@student.utwente.nl>:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Hi,
>
> Martin and I chatted about nativesdk a bit last week and after rereading
> the email thread it seems that 'nativesdk' and 'sdk' should coexist for
> awhile, so have both in BBCLASSEXTENDS?

Care to share the rationale for this?

Wrt the BBCLASSEXTEND:
if we have
BBCLASSEXTEND = "native sdk"
should that imply we also get native_sdk (or sdk_native or something
like that) (so do they extend each other), or should things like
nativesdk be mentioned explicitly?

Frans.
>
> regards,
>
> Koen
>
> On 30-06-10 02:43, Joao H. Freitas wrote:
>> ---
>>  recipes/cmake/cmake.inc      |    2 +-
>>  recipes/cmake/cmake_2.8.1.bb |    2 --
>>  2 files changed, 1 insertions(+), 3 deletions(-)
>>
>> diff --git a/recipes/cmake/cmake.inc b/recipes/cmake/cmake.inc
>> index 5601ddb..e53cd35 100644
>> --- a/recipes/cmake/cmake.inc
>> +++ b/recipes/cmake/cmake.inc
>> @@ -10,7 +10,7 @@ PR = "r3"
>>  CMAKE_MAJOR_VERSION = "${@bb.data.getVar('PV',d,1).split('.')[0]}.${@bb.data.getVar('PV',d,1).split('.')[1]}"
>>  SRC_URI = "http://www.cmake.org/files/v${CMAKE_MAJOR_VERSION}/cmake-${PV}.tar.gz"
>>
>> -BBCLASSEXTEND = "native sdk"
>> +BBCLASSEXTEND = "native nativesdk"
>>
>>  inherit autotools
>>
>> diff --git a/recipes/cmake/cmake_2.8.1.bb b/recipes/cmake/cmake_2.8.1.bb
>> index 845ea7c..279495c 100644
>> --- a/recipes/cmake/cmake_2.8.1.bb
>> +++ b/recipes/cmake/cmake_2.8.1.bb
>> @@ -1,7 +1,5 @@
>>  require cmake.inc
>>
>> -#inherit cmake
>> -
>>  do_configure_append() {
>>       sed -i -e 's,HAVE_GLIBC_STRERROR_R__TRYRUN_OUTPUT-ADVANCED:INTERNAL=1,HAVE_GLIBC_STRERROR_R__TRYRUN_OUTPUT-ADVANCED:INTERNAL=0,' CMakeCache.txt
>>  }
>
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.5 (Darwin)
>
> iD8DBQFMKuogMkyGM64RGpERAvN7AKCEvgfnOi0yyFdM4TlIUMRURRCz/QCfe8TF
> ZqNPtfxlSkMEMv8DajxRUCk=
> =4FWY
> -----END PGP SIGNATURE-----
>
>
> _______________________________________________
> Openembedded-devel mailing list
> Openembedded-devel@lists.openembedded.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
>



^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [PATCH 2/2] replace sdk -> nativesdk
  2010-06-30  6:54   ` Koen Kooi
  2010-06-30  7:03     ` Frans Meulenbroeks
@ 2010-06-30  7:03     ` Martin Jansa
  1 sibling, 0 replies; 9+ messages in thread
From: Martin Jansa @ 2010-06-30  7:03 UTC (permalink / raw)
  To: openembedded-devel

On Wed, Jun 30, 2010 at 08:54:24AM +0200, Koen Kooi wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> Hi,
> 
> Martin and I chatted about nativesdk a bit last week and after rereading
> the email thread it seems that 'nativesdk' and 'sdk' should coexist for
> awhile, so have both in BBCLASSEXTENDS?

Just to explain why I kept only nativesdk in ie libx11 is, that old sdk
doesn't support _virtclass-sdk overrides like nativesdk does and lack of
libxcb-sdk forced me to override it for sdk in libx11.inc.

Override for _virtclass-normal would help me too, but that was IIRC also
proposed a while ago.

Regards,

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



^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [PATCH 2/2] replace sdk -> nativesdk
  2010-06-30  7:03     ` Frans Meulenbroeks
@ 2010-06-30  8:49       ` Koen Kooi
  0 siblings, 0 replies; 9+ messages in thread
From: Koen Kooi @ 2010-06-30  8:49 UTC (permalink / raw)
  To: openembedded-devel

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 30-06-10 09:03, Frans Meulenbroeks wrote:
> 2010/6/30 Koen Kooi <k.kooi@student.utwente.nl>:
> Hi,
> 
> Martin and I chatted about nativesdk a bit last week and after rereading
> the email thread it seems that 'nativesdk' and 'sdk' should coexist for
> awhile, so have both in BBCLASSEXTENDS?
> 
>> Care to share the rationale for this?
> 
>> Wrt the BBCLASSEXTEND:
>> if we have
>> BBCLASSEXTEND = "native sdk"
>> should that imply we also get native_sdk (or sdk_native or something
>> like that) (so do they extend each other), or should things like
>> nativesdk be mentioned explicitly?

You misunderstands how bbclass extend works, it just adds an 'inherit
<foo>' for each entry, it doesn't combine entries.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (Darwin)

iD8DBQFMKwUsMkyGM64RGpERAiRfAJ9mccFByrea0a7RrKC7n6w903liUQCgqq9f
nQdQZPOsIotHD6ym9FWvYHk=
=qEEI
-----END PGP SIGNATURE-----




^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [PATCH 1/2] add cmake 2.8.1recipes/cmake/cmake-native_2.8.1.bb
  2010-06-30  6:55   ` Koen Kooi
@ 2010-07-01  0:01     ` João Henrique Freitas
  0 siblings, 0 replies; 9+ messages in thread
From: João Henrique Freitas @ 2010-07-01  0:01 UTC (permalink / raw)
  To: openembedded-devel

Hi,

I think  'bitbake cmake' will not run if the host can't run the 'cmake' binary.

cmake is a tool wich is not to be cross compiled but cmake can be used
to cross compile programs.


-- 
-----------------------------------------------------------
João Henrique Freitas - joaohf_at_gmail.com
Campinas-SP-Brasil
BSD051283
LPI 1
http://www.joaohfreitas.eti.br



^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2010-07-01  0:06 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-06-30  0:43 Added new cmake version Joao H. Freitas
2010-06-30  0:43 ` [PATCH 1/2] add cmake 2.8.1recipes/cmake/cmake-native_2.8.1.bb Joao H. Freitas
2010-06-30  6:55   ` Koen Kooi
2010-07-01  0:01     ` João Henrique Freitas
2010-06-30  0:43 ` [PATCH 2/2] replace sdk -> nativesdk Joao H. Freitas
2010-06-30  6:54   ` Koen Kooi
2010-06-30  7:03     ` Frans Meulenbroeks
2010-06-30  8:49       ` Koen Kooi
2010-06-30  7:03     ` Martin Jansa

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.