All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/2] libmpc: add a GPLv2 recipe
@ 2015-06-18  7:24 Bian Naimeng
  2015-06-18  7:24 ` [PATCH 1/2] libmpc: move 'LICENSE' into version specified recipe Bian Naimeng
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Bian Naimeng @ 2015-06-18  7:24 UTC (permalink / raw)
  To: openembedded-core

Same as other recipe such as bash, we should provide both GPLv3 and !GPLv3 recipe

Bian Naimeng (2):
  libmpc: move 'LICENSE' into version specified recipe
  libmpc: add a GPLv2 recipe

 .../libmpc-0.9/libmpc_fix_for_automake-1.12.patch  | 26 ++++++++++++++++++++++
 meta/recipes-support/libmpc/libmpc.inc             |  1 -
 meta/recipes-support/libmpc/libmpc_0.9.bb          | 16 +++++++++++++
 meta/recipes-support/libmpc/libmpc_1.0.2.bb        |  1 +
 4 files changed, 43 insertions(+), 1 deletion(-)
 create mode 100644 meta/recipes-support/libmpc/libmpc-0.9/libmpc_fix_for_automake-1.12.patch
 create mode 100644 meta/recipes-support/libmpc/libmpc_0.9.bb

-- 
1.9.1



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

* [PATCH 1/2] libmpc: move 'LICENSE' into version specified recipe
  2015-06-18  7:24 [PATCH 0/2] libmpc: add a GPLv2 recipe Bian Naimeng
@ 2015-06-18  7:24 ` Bian Naimeng
  2015-06-18  7:24 ` [PATCH 2/2] libmpc: add libmpc-0.2 which is a GPLv2 version Bian Naimeng
  2015-06-18  8:15 ` [PATCH 0/2] libmpc: add a GPLv2 recipe Richard Purdie
  2 siblings, 0 replies; 4+ messages in thread
From: Bian Naimeng @ 2015-06-18  7:24 UTC (permalink / raw)
  To: openembedded-core

Signed-off-by: Bian Naimeng <biannm@cn.fujitsu.com>
---
 meta/recipes-support/libmpc/libmpc.inc      | 1 -
 meta/recipes-support/libmpc/libmpc_1.0.2.bb | 1 +
 2 files changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta/recipes-support/libmpc/libmpc.inc b/meta/recipes-support/libmpc/libmpc.inc
index b374254..d521954 100644
--- a/meta/recipes-support/libmpc/libmpc.inc
+++ b/meta/recipes-support/libmpc/libmpc.inc
@@ -1,7 +1,6 @@
 SUMMARY = "C library for complex number arithmetic with arbitrary precision and correct rounding"
 DESCRIPTION = "Mpc is a C library for the arithmetic of complex numbers with arbitrarily high precision and correct rounding of the result. It is built upon and follows the same principles as Mpfr"
 HOMEPAGE = "http://www.multiprecision.org/"
-LICENSE = "LGPLv3"
 SECTION = "libs"
 
 inherit autotools texinfo
diff --git a/meta/recipes-support/libmpc/libmpc_1.0.2.bb b/meta/recipes-support/libmpc/libmpc_1.0.2.bb
index 41177eb..9728315 100644
--- a/meta/recipes-support/libmpc/libmpc_1.0.2.bb
+++ b/meta/recipes-support/libmpc/libmpc_1.0.2.bb
@@ -1,5 +1,6 @@
 require libmpc.inc
 
+LICENSE = "LGPLv3"
 DEPENDS = "gmp mpfr"
 
 LIC_FILES_CHKSUM = "file://COPYING.LESSER;md5=e6a600fd5e1d9cbde2d983680233ad02"
-- 
1.9.1



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

* [PATCH 2/2] libmpc: add libmpc-0.2 which is a GPLv2 version
  2015-06-18  7:24 [PATCH 0/2] libmpc: add a GPLv2 recipe Bian Naimeng
  2015-06-18  7:24 ` [PATCH 1/2] libmpc: move 'LICENSE' into version specified recipe Bian Naimeng
@ 2015-06-18  7:24 ` Bian Naimeng
  2015-06-18  8:15 ` [PATCH 0/2] libmpc: add a GPLv2 recipe Richard Purdie
  2 siblings, 0 replies; 4+ messages in thread
From: Bian Naimeng @ 2015-06-18  7:24 UTC (permalink / raw)
  To: openembedded-core

same as other recipe such as bash, we should provide both GPLv3 and !GPLv3 recipe

Signed-off-by: Bian Naimeng <biannm@cn.fujitsu.com>
---
 .../libmpc-0.9/libmpc_fix_for_automake-1.12.patch  | 26 ++++++++++++++++++++++
 meta/recipes-support/libmpc/libmpc_0.9.bb          | 16 +++++++++++++
 2 files changed, 42 insertions(+)
 create mode 100644 meta/recipes-support/libmpc/libmpc-0.9/libmpc_fix_for_automake-1.12.patch
 create mode 100644 meta/recipes-support/libmpc/libmpc_0.9.bb

diff --git a/meta/recipes-support/libmpc/libmpc-0.9/libmpc_fix_for_automake-1.12.patch b/meta/recipes-support/libmpc/libmpc-0.9/libmpc_fix_for_automake-1.12.patch
new file mode 100644
index 0000000..75fa28e
--- /dev/null
+++ b/meta/recipes-support/libmpc/libmpc-0.9/libmpc_fix_for_automake-1.12.patch
@@ -0,0 +1,26 @@
+Upstream-Status: Pending
+
+this fix avoids this error with automake 1.12
+
+| automake: warnings are treated as errors
+| /srv/home/nitin/builds/build-gcc47/tmp/sysroots/x86_64-linux/usr/share/automake-1.12/am/ltlibrary.am: warning: 'libmpc.la': linking libtool libraries using a non-POSIX
+| /srv/home/nitin/builds/build-gcc47/tmp/sysroots/x86_64-linux/usr/share/automake-1.12/am/ltlibrary.am: archiver requires 'AM_PROG_AR' in 'configure.ac'
+
+Signed-Off-By: Nitin A Kamble <nitin.a.kamble@intel.com>
+2012/05/02
+
+Index: mpc-0.8.2/configure.ac
+===================================================================
+--- mpc-0.8.2.orig/configure.ac
++++ mpc-0.8.2/configure.ac
+@@ -86,6 +86,10 @@ AC_PROG_EGREP
+ AC_PROG_SED
+ AC_LANG(C)
+ 
++# automake 1.12 seems to require this, but automake 1.11 doesn't recognize it
++m4_pattern_allow([AM_PROG_AR])
++AM_PROG_AR
++
+ dnl Check for GMP CFLAGS in gmp.h
+ if test -z "$user_redefine_cc" ; then
+    MPC_GMP_CC_CFLAGS
diff --git a/meta/recipes-support/libmpc/libmpc_0.9.bb b/meta/recipes-support/libmpc/libmpc_0.9.bb
new file mode 100644
index 0000000..7069725
--- /dev/null
+++ b/meta/recipes-support/libmpc/libmpc_0.9.bb
@@ -0,0 +1,16 @@
+require libmpc.inc
+
+DEPENDS = "gmp mpfr"
+LICENSE = "LGPLv2.1"
+
+LIC_FILES_CHKSUM = "file://COPYING.LIB;md5=7fbc338309ac38fefcd64b04bb903e34"
+
+SRC_URI = "http://www.multiprecision.org/mpc/download/mpc-${PV}.tar.gz \
+           file://libmpc_fix_for_automake-1.12.patch"
+
+SRC_URI[md5sum] = "0d6acab8d214bd7d1fbbc593e83dd00d"
+SRC_URI[sha256sum] = "fd3efe422f0d454592059e80f2c00d1a2e381bf2beda424c5094abd4deb049ac"
+
+S = "${WORKDIR}/mpc-${PV}"
+BBCLASSEXTEND = "native nativesdk"
+
-- 
1.9.1



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

* Re: [PATCH 0/2] libmpc: add a GPLv2 recipe
  2015-06-18  7:24 [PATCH 0/2] libmpc: add a GPLv2 recipe Bian Naimeng
  2015-06-18  7:24 ` [PATCH 1/2] libmpc: move 'LICENSE' into version specified recipe Bian Naimeng
  2015-06-18  7:24 ` [PATCH 2/2] libmpc: add libmpc-0.2 which is a GPLv2 version Bian Naimeng
@ 2015-06-18  8:15 ` Richard Purdie
  2 siblings, 0 replies; 4+ messages in thread
From: Richard Purdie @ 2015-06-18  8:15 UTC (permalink / raw)
  To: Bian Naimeng; +Cc: openembedded-core

On Thu, 2015-06-18 at 15:24 +0800, Bian Naimeng wrote:
> Same as other recipe such as bash, we should provide both GPLv3 and !GPLv3 recipe

libmpc is not really the same class of recipe as bash. Its mainly used
by gcc and we don't have GPLv2 versions of gcc so this doesn't make much
sense. 

Why do you need a GPLv2 version of libmpc?

Cheers,

Richard



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

end of thread, other threads:[~2015-06-18  8:16 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-06-18  7:24 [PATCH 0/2] libmpc: add a GPLv2 recipe Bian Naimeng
2015-06-18  7:24 ` [PATCH 1/2] libmpc: move 'LICENSE' into version specified recipe Bian Naimeng
2015-06-18  7:24 ` [PATCH 2/2] libmpc: add libmpc-0.2 which is a GPLv2 version Bian Naimeng
2015-06-18  8:15 ` [PATCH 0/2] libmpc: add a GPLv2 recipe Richard Purdie

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.