Patchwork [meta-oe,6/8] libmemcached: add 1.0.15 and 1.0.7 versions

login
register
mail settings
Submitter Marcin Juszkiewicz
Date Feb. 7, 2013, 10:51 a.m.
Message ID <1360234263-18278-7-git-send-email-marcin.juszkiewicz@linaro.org>
Download mbox | patch
Permalink /patch/44247/
State Superseded, archived
Headers show

Comments

Marcin Juszkiewicz - Feb. 7, 2013, 10:51 a.m.
1.0.15 is latest
1.0.7 is required by HipHopVM

Signed-off-by: Marcin Juszkiewicz <marcin.juszkiewicz@linaro.org>
---
 meta-oe/recipes-support/libmemcached/libmemcached.inc       | 10 ++++++++++
 meta-oe/recipes-support/libmemcached/libmemcached_1.0.15.bb |  6 ++++++
 meta-oe/recipes-support/libmemcached/libmemcached_1.0.7.bb  |  8 ++++++++
 meta-oe/recipes-support/libunwind/files/aarch64.patch       |  8 ++++++++
 4 files changed, 32 insertions(+)
 create mode 100644 meta-oe/recipes-support/libmemcached/libmemcached.inc
 create mode 100644 meta-oe/recipes-support/libmemcached/libmemcached_1.0.15.bb
 create mode 100644 meta-oe/recipes-support/libmemcached/libmemcached_1.0.7.bb
Martin Jansa - Feb. 15, 2013, 7:11 a.m.
On Thu, Feb 07, 2013 at 11:51:01AM +0100, Marcin Juszkiewicz wrote:
> 1.0.15 is latest
> 1.0.7 is required by HipHopVM
> 
> Signed-off-by: Marcin Juszkiewicz <marcin.juszkiewicz@linaro.org>
> ---
>  meta-oe/recipes-support/libmemcached/libmemcached.inc       | 10 ++++++++++
>  meta-oe/recipes-support/libmemcached/libmemcached_1.0.15.bb |  6 ++++++
>  meta-oe/recipes-support/libmemcached/libmemcached_1.0.7.bb  |  8 ++++++++
>  meta-oe/recipes-support/libunwind/files/aarch64.patch       |  8 ++++++++
>  4 files changed, 32 insertions(+)
>  create mode 100644 meta-oe/recipes-support/libmemcached/libmemcached.inc
>  create mode 100644 meta-oe/recipes-support/libmemcached/libmemcached_1.0.15.bb
>  create mode 100644 meta-oe/recipes-support/libmemcached/libmemcached_1.0.7.bb
> 
> diff --git a/meta-oe/recipes-support/libmemcached/libmemcached.inc b/meta-oe/recipes-support/libmemcached/libmemcached.inc
> new file mode 100644
> index 0000000..448a15d
> --- /dev/null
> +++ b/meta-oe/recipes-support/libmemcached/libmemcached.inc
> @@ -0,0 +1,10 @@
> +DESCRIPTION = "open source C/C++ client library and tools for the memcached server"
> +DEPENDS = "libevent util-linux"
> +LICENSE = "BSD"
> +LIC_FILES_CHKSUM = "file://COPYING;md5=865490941c91ba790f0ea78dec93bd60"
> +
> +SRC_URI = "http://launchpad.net/libmemcached/1.0/${PV}/+download/libmemcached-${PV}.tar.gz"
> +
> +TARGET_LDFLAGS += "-luuid"
> +
> +inherit autotools gettext pkgconfig
> diff --git a/meta-oe/recipes-support/libmemcached/libmemcached_1.0.15.bb b/meta-oe/recipes-support/libmemcached/libmemcached_1.0.15.bb
> new file mode 100644
> index 0000000..18232b4
> --- /dev/null
> +++ b/meta-oe/recipes-support/libmemcached/libmemcached_1.0.15.bb
> @@ -0,0 +1,6 @@
> +require libmemcached.inc
> +
> +SRC_URI += "file://crosscompile.patch"

Where do you hide crosscompile.patch? Looks like older/newer name for
aarch64.patch which is not used in recipe?

WARNING: Unable to get checksum for libmemcached SRC_URI entry
crosscompile.patch: file could not be found

> +
> +SRC_URI[md5sum] = "616297a1aedefc52b3f6922eda5d559a"
> +SRC_URI[sha256sum] = "dd7e9560029835bddf761a5b4c2339d9e5c7374558659b6c11b2c95e7d3a4325"
> diff --git a/meta-oe/recipes-support/libmemcached/libmemcached_1.0.7.bb b/meta-oe/recipes-support/libmemcached/libmemcached_1.0.7.bb
> new file mode 100644
> index 0000000..0aa3050
> --- /dev/null
> +++ b/meta-oe/recipes-support/libmemcached/libmemcached_1.0.7.bb
> @@ -0,0 +1,8 @@
> +require libmemcached.inc
> +
> +SRC_URI[md5sum] = "d59a462a92d296f76bff2d9bc72b2516"
> +SRC_URI[sha256sum] = "3efa86c9733eaad55d7119cb16769424e2aa6c22b3392e8f973946fce6678d81"
> +
> +do_configure_prepend_aarch64() {
> +    export ac_cv_c_endian=little
> +}
> diff --git a/meta-oe/recipes-support/libunwind/files/aarch64.patch b/meta-oe/recipes-support/libunwind/files/aarch64.patch
> index 9ea8d83..bb19747 100644
> --- a/meta-oe/recipes-support/libunwind/files/aarch64.patch
> +++ b/meta-oe/recipes-support/libunwind/files/aarch64.patch
> @@ -1,3 +1,11 @@
> +Author: Marcin Juszkiewicz <marcin.juszkiewicz@linaro.org>
> +
> +Upstream-Status: unsuitable
> +
> +We need to port it for AArch64 first. This patch just makes it die during
> +compilation.
> +
> +https://bugs.launchpad.net/linaro-aarch64/+bug/1099810
>  ---
>   configure.ac |    2 +-
>   1 file changed, 1 insertion(+), 1 deletion(-)
> -- 
> 1.8.0
> 
> 
> _______________________________________________
> Openembedded-devel mailing list
> Openembedded-devel@lists.openembedded.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel

Patch

diff --git a/meta-oe/recipes-support/libmemcached/libmemcached.inc b/meta-oe/recipes-support/libmemcached/libmemcached.inc
new file mode 100644
index 0000000..448a15d
--- /dev/null
+++ b/meta-oe/recipes-support/libmemcached/libmemcached.inc
@@ -0,0 +1,10 @@ 
+DESCRIPTION = "open source C/C++ client library and tools for the memcached server"
+DEPENDS = "libevent util-linux"
+LICENSE = "BSD"
+LIC_FILES_CHKSUM = "file://COPYING;md5=865490941c91ba790f0ea78dec93bd60"
+
+SRC_URI = "http://launchpad.net/libmemcached/1.0/${PV}/+download/libmemcached-${PV}.tar.gz"
+
+TARGET_LDFLAGS += "-luuid"
+
+inherit autotools gettext pkgconfig
diff --git a/meta-oe/recipes-support/libmemcached/libmemcached_1.0.15.bb b/meta-oe/recipes-support/libmemcached/libmemcached_1.0.15.bb
new file mode 100644
index 0000000..18232b4
--- /dev/null
+++ b/meta-oe/recipes-support/libmemcached/libmemcached_1.0.15.bb
@@ -0,0 +1,6 @@ 
+require libmemcached.inc
+
+SRC_URI += "file://crosscompile.patch"
+
+SRC_URI[md5sum] = "616297a1aedefc52b3f6922eda5d559a"
+SRC_URI[sha256sum] = "dd7e9560029835bddf761a5b4c2339d9e5c7374558659b6c11b2c95e7d3a4325"
diff --git a/meta-oe/recipes-support/libmemcached/libmemcached_1.0.7.bb b/meta-oe/recipes-support/libmemcached/libmemcached_1.0.7.bb
new file mode 100644
index 0000000..0aa3050
--- /dev/null
+++ b/meta-oe/recipes-support/libmemcached/libmemcached_1.0.7.bb
@@ -0,0 +1,8 @@ 
+require libmemcached.inc
+
+SRC_URI[md5sum] = "d59a462a92d296f76bff2d9bc72b2516"
+SRC_URI[sha256sum] = "3efa86c9733eaad55d7119cb16769424e2aa6c22b3392e8f973946fce6678d81"
+
+do_configure_prepend_aarch64() {
+    export ac_cv_c_endian=little
+}
diff --git a/meta-oe/recipes-support/libunwind/files/aarch64.patch b/meta-oe/recipes-support/libunwind/files/aarch64.patch
index 9ea8d83..bb19747 100644
--- a/meta-oe/recipes-support/libunwind/files/aarch64.patch
+++ b/meta-oe/recipes-support/libunwind/files/aarch64.patch
@@ -1,3 +1,11 @@ 
+Author: Marcin Juszkiewicz <marcin.juszkiewicz@linaro.org>
+
+Upstream-Status: unsuitable
+
+We need to port it for AArch64 first. This patch just makes it die during
+compilation.
+
+https://bugs.launchpad.net/linaro-aarch64/+bug/1099810
 ---
  configure.ac |    2 +-
  1 file changed, 1 insertion(+), 1 deletion(-)