Openembedded Core Discussions
 help / color / mirror / Atom feed
* [PATCH 0/3] Various Fixes
@ 2011-11-23  5:55 nitin.a.kamble
  2011-11-23  5:55 ` [PATCH 1/3] gmp: also generate the libgmpcxx library nitin.a.kamble
                   ` (3 more replies)
  0 siblings, 4 replies; 6+ messages in thread
From: nitin.a.kamble @ 2011-11-23  5:55 UTC (permalink / raw)
  To: openembedded-core

From: Nitin A Kamble <nitin.a.kamble@intel.com>

This set has fixes for gmp, at & site/x86-64-linux

- Nitin

The following changes since commit 40fe6457d5ca49fe113bc26c60d5add59d85b34f:

  matchbox-wm: Fix variable type in _NET_WORKAREA setting (2011-11-22 15:13:26 +0000)

are available in the git repository at:
  git://git.pokylinux.org/poky-contrib nitin/misc
  http://git.pokylinux.org/cgit.cgi/poky-contrib/log/?h=nitin/misc

Nitin A Kamble (3):
  gmp: also generate the libgmpcxx library
  at: update the upstream-status of patches
  site/x86_64-linux: add cvs config variables

 .../at/at-3.1.12/configure-add-enable-pam.patch    |    5 +++++
 meta/recipes-extended/at/at-3.1.12/pam.conf.patch  |    3 +++
 .../at/files/file_replacement_with_gplv2.patch     |    2 ++
 .../at/files/nonstripbinaries.patch                |    1 +
 meta/recipes-extended/at/files/use-ldflags.patch   |    5 +++++
 meta/recipes-support/gmp/gmp.inc                   |    4 ++++
 meta/recipes-support/gmp/gmp_4.2.1.bb              |    2 +-
 meta/recipes-support/gmp/gmp_5.0.2.bb              |    2 +-
 meta/site/x86_64-linux                             |    3 +++
 9 files changed, 25 insertions(+), 2 deletions(-)

-- 
1.7.6.4




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

* [PATCH 1/3] gmp: also generate the libgmpcxx library
  2011-11-23  5:55 [PATCH 0/3] Various Fixes nitin.a.kamble
@ 2011-11-23  5:55 ` nitin.a.kamble
  2011-11-23 10:12   ` Phil Blundell
  2011-11-23  5:55 ` [PATCH 2/3] at: update the upstream-status of patches nitin.a.kamble
                   ` (2 subsequent siblings)
  3 siblings, 1 reply; 6+ messages in thread
From: nitin.a.kamble @ 2011-11-23  5:55 UTC (permalink / raw)
  To: openembedded-core

From: Nitin A Kamble <nitin.a.kamble@intel.com>

configure runs few checks to make sure c++ compiler and runtime are working as expected
with the --enable-cxx=detect option.

Added a LEAD_SONAME line to avoid change in generated package names.

Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com>
---
 meta/recipes-support/gmp/gmp.inc      |    4 ++++
 meta/recipes-support/gmp/gmp_4.2.1.bb |    2 +-
 meta/recipes-support/gmp/gmp_5.0.2.bb |    2 +-
 3 files changed, 6 insertions(+), 2 deletions(-)

diff --git a/meta/recipes-support/gmp/gmp.inc b/meta/recipes-support/gmp/gmp.inc
index 66349e6..10c3b9d 100644
--- a/meta/recipes-support/gmp/gmp.inc
+++ b/meta/recipes-support/gmp/gmp.inc
@@ -14,3 +14,7 @@ ARM_INSTRUCTION_SET = "arm"
 acpaths = ""
 
 BBCLASSEXTEND = "native nativesdk"
+
+EXTRA_OECONF += " --enable-cxx=detect"
+
+LEAD_SONAME = "libgmp.so"
diff --git a/meta/recipes-support/gmp/gmp_4.2.1.bb b/meta/recipes-support/gmp/gmp_4.2.1.bb
index 74da6b8..97ac4b2 100644
--- a/meta/recipes-support/gmp/gmp_4.2.1.bb
+++ b/meta/recipes-support/gmp/gmp_4.2.1.bb
@@ -6,7 +6,7 @@ LICENSE = "LGPLv2.1+"
 LIC_FILES_CHKSUM = "file://COPYING;md5=892f569a555ba9c07a568a7c0c4fa63a \
                     file://COPYING.LIB;md5=fbc093901857fcd118f065f900982c24 \
                     file://gmp-h.in;startline=6;endline=21;md5=5e25ffd16996faba8c1cd27b04b16099"
-PR = "r0"
+PR = "r1"
 
 SRC_URI = "${GNU_MIRROR}/gmp/${BP}.tar.bz2 \
            file://disable-stdc.patch"
diff --git a/meta/recipes-support/gmp/gmp_5.0.2.bb b/meta/recipes-support/gmp/gmp_5.0.2.bb
index 16bdcbc..873fc3e 100644
--- a/meta/recipes-support/gmp/gmp_5.0.2.bb
+++ b/meta/recipes-support/gmp/gmp_5.0.2.bb
@@ -2,7 +2,7 @@ require gmp.inc
 LICENSE="LGPLv3&GPLv3"
 LIC_FILES_CHKSUM = "file://COPYING;md5=d32239bcb673463ab874e80d47fae504 \
 		    file://version.c;endline=18;md5=d8c56b52b9092346b9f93b4da65ef790"
-PR = "r1"
+PR = "r2"
 
 SRC_URI_append += "file://sh4-asmfix.patch \
                    file://use-includedir.patch "
-- 
1.7.6.4




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

* [PATCH 2/3] at: update the upstream-status of patches
  2011-11-23  5:55 [PATCH 0/3] Various Fixes nitin.a.kamble
  2011-11-23  5:55 ` [PATCH 1/3] gmp: also generate the libgmpcxx library nitin.a.kamble
@ 2011-11-23  5:55 ` nitin.a.kamble
  2011-11-23  5:55 ` [PATCH 3/3] site/x86_64-linux: add cvs config variables nitin.a.kamble
  2011-11-24 22:47 ` [PATCH 0/3] Various Fixes Richard Purdie
  3 siblings, 0 replies; 6+ messages in thread
From: nitin.a.kamble @ 2011-11-23  5:55 UTC (permalink / raw)
  To: openembedded-core

From: Nitin A Kamble <nitin.a.kamble@intel.com>

Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com>
---
 .../at/at-3.1.12/configure-add-enable-pam.patch    |    5 +++++
 meta/recipes-extended/at/at-3.1.12/pam.conf.patch  |    3 +++
 .../at/files/file_replacement_with_gplv2.patch     |    2 ++
 .../at/files/nonstripbinaries.patch                |    1 +
 meta/recipes-extended/at/files/use-ldflags.patch   |    5 +++++
 5 files changed, 16 insertions(+), 0 deletions(-)

diff --git a/meta/recipes-extended/at/at-3.1.12/configure-add-enable-pam.patch b/meta/recipes-extended/at/at-3.1.12/configure-add-enable-pam.patch
index 1f73cdd..a6b7969 100644
--- a/meta/recipes-extended/at/at-3.1.12/configure-add-enable-pam.patch
+++ b/meta/recipes-extended/at/at-3.1.12/configure-add-enable-pam.patch
@@ -1,3 +1,8 @@
+Upstream-Status: Pending
+
+Signed-Off-By: Nitin A Kamble <nitin.a.kamble@intel.com>
+2011/11/21
+
 --- at-3.1.12/configure.ac	2011-06-23 14:51:03.653572945 +0800
 +++ at-3.1.12/configure.ac.new	2011-06-27 16:12:14.903572945 +0800
 @@ -81,10 +81,18 @@
diff --git a/meta/recipes-extended/at/at-3.1.12/pam.conf.patch b/meta/recipes-extended/at/at-3.1.12/pam.conf.patch
index dfe76d7..f616cea 100644
--- a/meta/recipes-extended/at/at-3.1.12/pam.conf.patch
+++ b/meta/recipes-extended/at/at-3.1.12/pam.conf.patch
@@ -2,6 +2,9 @@ oe doesn't support "@include", use the concrete directive instead.
 
 Upstream-Status: Pending
 
+Signed-Off-By: Nitin A Kamble <nitin.a.kamble@intel.com>
+2011/11/21
+
 Signed-off-by: Wenzong Fan <wenzong.fan@windriver.com>
 --- at-3.1.12/pam.conf.orig	2009-11-23 23:11:52.000000000 +0800
 +++ at-3.1.12/pam.conf	2011-07-15 11:14:04.132818950 +0800
diff --git a/meta/recipes-extended/at/files/file_replacement_with_gplv2.patch b/meta/recipes-extended/at/files/file_replacement_with_gplv2.patch
index 249902c..d5ef003 100644
--- a/meta/recipes-extended/at/files/file_replacement_with_gplv2.patch
+++ b/meta/recipes-extended/at/files/file_replacement_with_gplv2.patch
@@ -1,3 +1,5 @@
+Upstream-Status: Inappropriate [licensing]
+
 posixtm.[ch] files are replaced with gplv2 version from these locations:
 
 http://git.savannah.gnu.org/gitweb/?p=gnulib.git;a=blob;f=lib/posixtm.c;hb=5661ab9d49512b4cf3c19caa11bb581d8ce561ba
diff --git a/meta/recipes-extended/at/files/nonstripbinaries.patch b/meta/recipes-extended/at/files/nonstripbinaries.patch
index a1aee5f..2b251db 100644
--- a/meta/recipes-extended/at/files/nonstripbinaries.patch
+++ b/meta/recipes-extended/at/files/nonstripbinaries.patch
@@ -1,3 +1,4 @@
+Upstream-Status: Pending
 #Because remove nonrootinstall patch, the stripping of the binaries can not
 #be handled.
 #This patch is to handle the stripping of the binaries.
diff --git a/meta/recipes-extended/at/files/use-ldflags.patch b/meta/recipes-extended/at/files/use-ldflags.patch
index 7d3d91a..b533598 100644
--- a/meta/recipes-extended/at/files/use-ldflags.patch
+++ b/meta/recipes-extended/at/files/use-ldflags.patch
@@ -1,6 +1,11 @@
+Upstream-Status: Pending
+
 # Ensure use of $LDFLAGS during build
 # Derived from an OE patch for at-3.1.8
 
+Signed-Off-By: Nitin A Kamble <nitin.a.kamble@intel.com>
+2011/11/21
+
 --- at-3.1.12.orig/Makefile.in	2009-11-23 07:11:52.000000000 -0800
 +++ at-3.1.12/Makefile.in	2010-07-20 16:28:04.000000000 -0700
 @@ -65,13 +65,13 @@
-- 
1.7.6.4




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

* [PATCH 3/3] site/x86_64-linux: add cvs config variables
  2011-11-23  5:55 [PATCH 0/3] Various Fixes nitin.a.kamble
  2011-11-23  5:55 ` [PATCH 1/3] gmp: also generate the libgmpcxx library nitin.a.kamble
  2011-11-23  5:55 ` [PATCH 2/3] at: update the upstream-status of patches nitin.a.kamble
@ 2011-11-23  5:55 ` nitin.a.kamble
  2011-11-24 22:47 ` [PATCH 0/3] Various Fixes Richard Purdie
  3 siblings, 0 replies; 6+ messages in thread
From: nitin.a.kamble @ 2011-11-23  5:55 UTC (permalink / raw)
  To: openembedded-core

From: Nitin A Kamble <nitin.a.kamble@intel.com>

configure of cvs packages was failing on the meta-toolchain for a x86_64 target.

Configure error reported:
checking whether printf supports %p... configure: error: cannot run test program while cross compiling

This fixes [YOCTO #1781]

Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com>
---
 meta/site/x86_64-linux |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/meta/site/x86_64-linux b/meta/site/x86_64-linux
index 3fa8f1e..a0a9362 100644
--- a/meta/site/x86_64-linux
+++ b/meta/site/x86_64-linux
@@ -118,3 +118,6 @@ ac_cv_func___lshrdi3=no
 ac_cv_func___trampoline_setup=no
 ac_cv_func___ucmpdi2=no
 ac_cv_func__restgpr_14_x=no
+
+# cvs
+cvs_cv_func_printf_ptr=${cvs_cv_func_printf_ptr=yes}
-- 
1.7.6.4




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

* Re: [PATCH 1/3] gmp: also generate the libgmpcxx library
  2011-11-23  5:55 ` [PATCH 1/3] gmp: also generate the libgmpcxx library nitin.a.kamble
@ 2011-11-23 10:12   ` Phil Blundell
  0 siblings, 0 replies; 6+ messages in thread
From: Phil Blundell @ 2011-11-23 10:12 UTC (permalink / raw)
  To: Patches and discussions about the oe-core layer

On Tue, 2011-11-22 at 21:55 -0800, nitin.a.kamble@intel.com wrote:
> diff --git a/meta/recipes-support/gmp/gmp.inc b/meta/recipes-support/gmp/gmp.inc
> index 66349e6..10c3b9d 100644
> --- a/meta/recipes-support/gmp/gmp.inc
> +++ b/meta/recipes-support/gmp/gmp.inc
> @@ -14,3 +14,7 @@ ARM_INSTRUCTION_SET = "arm"
>  acpaths = ""
>  
>  BBCLASSEXTEND = "native nativesdk"
> +
> +EXTRA_OECONF += " --enable-cxx=detect"
> +
> +LEAD_SONAME = "libgmp.so"

I think it would be better to put the C++ libraries in a separate
package, otherwise you will waste on-target space for the people who
don't need them (which, presumably, is everyone who was using gmp prior
to your patch).  LEAD_SONAME is almost never a good thing to use.

p.





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

* Re: [PATCH 0/3] Various Fixes
  2011-11-23  5:55 [PATCH 0/3] Various Fixes nitin.a.kamble
                   ` (2 preceding siblings ...)
  2011-11-23  5:55 ` [PATCH 3/3] site/x86_64-linux: add cvs config variables nitin.a.kamble
@ 2011-11-24 22:47 ` Richard Purdie
  3 siblings, 0 replies; 6+ messages in thread
From: Richard Purdie @ 2011-11-24 22:47 UTC (permalink / raw)
  To: Patches and discussions about the oe-core layer

On Tue, 2011-11-22 at 21:55 -0800, nitin.a.kamble@intel.com wrote:
> From: Nitin A Kamble <nitin.a.kamble@intel.com>
> 
> This set has fixes for gmp, at & site/x86-64-linux
> 
> - Nitin
> 
> The following changes since commit 40fe6457d5ca49fe113bc26c60d5add59d85b34f:
> 
>   matchbox-wm: Fix variable type in _NET_WORKAREA setting (2011-11-22 15:13:26 +0000)
> 
> are available in the git repository at:
>   git://git.pokylinux.org/poky-contrib nitin/misc
>   http://git.pokylinux.org/cgit.cgi/poky-contrib/log/?h=nitin/misc
> 
> Nitin A Kamble (3):
>   gmp: also generate the libgmpcxx library

This one needs the C++ piece split into a separate package please.

>   at: update the upstream-status of patches
>   site/x86_64-linux: add cvs config variables

These two have merged, thanks!

Richard




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

end of thread, other threads:[~2011-11-24 22:54 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-11-23  5:55 [PATCH 0/3] Various Fixes nitin.a.kamble
2011-11-23  5:55 ` [PATCH 1/3] gmp: also generate the libgmpcxx library nitin.a.kamble
2011-11-23 10:12   ` Phil Blundell
2011-11-23  5:55 ` [PATCH 2/3] at: update the upstream-status of patches nitin.a.kamble
2011-11-23  5:55 ` [PATCH 3/3] site/x86_64-linux: add cvs config variables nitin.a.kamble
2011-11-24 22:47 ` [PATCH 0/3] Various Fixes Richard Purdie

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox