Openembedded Devel Discussions
 help / color / mirror / Atom feed
From: Martin Jansa <martin.jansa@gmail.com>
To: openembedded-devel@lists.openembedded.org
Subject: Re: [meta-oe][PATCH] libmemcached: add 1.0.15 and 1.0.7 versions
Date: Fri, 15 Feb 2013 22:40:48 +0100	[thread overview]
Message-ID: <20130215214048.GP3300@jama> (raw)
In-Reply-To: <1360928765-24039-1-git-send-email-marcin.juszkiewicz@linaro.org>

[-- Attachment #1: Type: text/plain, Size: 5019 bytes --]

On Fri, Feb 15, 2013 at 12:46:05PM +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>
> ---
>  .../libmemcached/files/crosscompile.patch          | 30 ++++++++++++++++++++++
>  .../recipes-support/libmemcached/libmemcached.inc  | 10 ++++++++
>  .../libmemcached/libmemcached_1.0.15.bb            |  6 +++++
>  .../libmemcached/libmemcached_1.0.7.bb             |  8 ++++++
>  .../recipes-support/libunwind/files/aarch64.patch  |  8 ++++++

does this one belong here?

>  5 files changed, 62 insertions(+)
>  create mode 100644 meta-networking/recipes-support/libmemcached/files/crosscompile.patch
>  create mode 100644 meta-networking/recipes-support/libmemcached/libmemcached.inc
>  create mode 100644 meta-networking/recipes-support/libmemcached/libmemcached_1.0.15.bb
>  create mode 100644 meta-networking/recipes-support/libmemcached/libmemcached_1.0.7.bb
> 
> diff --git a/meta-networking/recipes-support/libmemcached/files/crosscompile.patch b/meta-networking/recipes-support/libmemcached/files/crosscompile.patch
> new file mode 100644
> index 0000000..63511bf
> --- /dev/null
> +++ b/meta-networking/recipes-support/libmemcached/files/crosscompile.patch
> @@ -0,0 +1,30 @@
> + libmemcached/backtrace.cc |    3 ++-
> + 1 file changed, 2 insertions(+), 1 deletion(-)
> +
> +--- libmemcached-1.0.15.orig/libmemcached/backtrace.cc
> ++++ libmemcached-1.0.15/libmemcached/backtrace.cc
> +@@ -75,10 +75,11 @@ void custom_backtrace(void)
> +     {
> +       for (int x= 0; x < stack_frames; x++) 
> +       {
> +         bool was_demangled= false;
> + 
> ++#if USE_DEMANGLE == 1
> +         if (USE_DEMANGLE)
> +         {
> + #ifdef HAVE_DLFCN_H
> +           Dl_info dlinfo;
> +           if (dladdr(backtrace_buffer[x], &dlinfo))
> +@@ -107,11 +108,11 @@ void custom_backtrace(void)
> +                       dlinfo.dli_fname);
> +             }
> +           }
> + #endif
> +         }
> +-
> ++#endif
> +         if (was_demangled == false)
> +         {
> +           fprintf(stderr, "?%d  %p in %s\n", x, backtrace_buffer[x], symbollist[x]);
> +         }
> +       }
> diff --git a/meta-networking/recipes-support/libmemcached/libmemcached.inc b/meta-networking/recipes-support/libmemcached/libmemcached.inc
> new file mode 100644
> index 0000000..448a15d
> --- /dev/null
> +++ b/meta-networking/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-networking/recipes-support/libmemcached/libmemcached_1.0.15.bb b/meta-networking/recipes-support/libmemcached/libmemcached_1.0.15.bb
> new file mode 100644
> index 0000000..18232b4
> --- /dev/null
> +++ b/meta-networking/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-networking/recipes-support/libmemcached/libmemcached_1.0.7.bb b/meta-networking/recipes-support/libmemcached/libmemcached_1.0.7.bb
> new file mode 100644
> index 0000000..0aa3050
> --- /dev/null
> +++ b/meta-networking/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.1.2
> 
> 
> _______________________________________________
> Openembedded-devel mailing list
> Openembedded-devel@lists.openembedded.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel

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

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 205 bytes --]

  reply	other threads:[~2013-02-15 21:57 UTC|newest]

Thread overview: 32+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-02-07 10:50 Some recipes from my work on HipHopVM Marcin Juszkiewicz
2013-02-07 10:50 ` [meta-oe][PATCH 1/8] google-glog: added svn version Marcin Juszkiewicz
2013-02-16  5:18   ` Martin Jansa
2013-02-07 10:50 ` [meta-oe][PATCH 2/8] tbb: add 4.1-20121003 version with preliminary AArch64 support Marcin Juszkiewicz
2013-02-16  5:16   ` Martin Jansa
2013-02-07 10:50 ` [meta-oe][PATCH 3/8] oniguruma: add 5.9.3 version Marcin Juszkiewicz
2013-02-07 10:50 ` [meta-oe][PATCH 4/8] memcached: add 1.4.15 Marcin Juszkiewicz
2013-02-18 22:52   ` Martin Jansa
2013-04-23  8:43     ` [meta-oe][PATCH v2] " Marcin Juszkiewicz
2013-02-07 10:51 ` [meta-oe][PATCH 5/8] libunwind: add 1.1 with preliminary aarch64 patch Marcin Juszkiewicz
2013-02-16  5:21   ` Martin Jansa
2013-02-18  9:08     ` Marcin Juszkiewicz
2013-02-07 10:51 ` [meta-oe][PATCH 6/8] libmemcached: add 1.0.15 and 1.0.7 versions Marcin Juszkiewicz
2013-02-15  7:11   ` Martin Jansa
2013-02-15 11:46     ` [meta-oe][PATCH] " Marcin Juszkiewicz
2013-02-15 21:40       ` Martin Jansa [this message]
2013-02-18  7:52         ` [meta-oe][PATCH 8/8] " Marcin Juszkiewicz
2013-04-23  8:44           ` [meta-oe][PATCH v5] " Marcin Juszkiewicz
2013-02-07 10:51 ` [meta-oe][PATCH 7/8] libmemcrypt: add 2.5.8 Marcin Juszkiewicz
2013-02-16  5:17   ` Martin Jansa
2013-02-07 10:51 ` [meta-oe][PATCH 8/8] google-perftools: add 2.0 Marcin Juszkiewicz
2013-02-16  5:23   ` Martin Jansa
2013-02-19  4:09     ` Martin Jansa
2013-02-25 10:55       ` [meta-oe][PATCH] gperftools: " Marcin Juszkiewicz
2013-02-08  9:34 ` Some recipes from my work on HipHopVM Paul Eggleton
2013-02-08 17:16   ` [meta-oe][PATCH 6/8] libmemcached: add 1.0.15 and 1.0.7 versions Marcin Juszkiewicz
2013-02-08 17:16     ` [meta-oe][PATCH 4/8] memcached: add 1.4.15 Marcin Juszkiewicz
2013-02-24  7:53       ` Khem Raj
2013-02-08 17:06 ` [meta-oe][PATCH] cyrus-sasl2: add 2.1.26 Marcin Juszkiewicz
2013-02-08 17:13   ` Paul Eggleton
2013-02-08 17:27     ` Marcin Juszkiewicz
2013-02-18 22:55   ` Martin Jansa

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20130215214048.GP3300@jama \
    --to=martin.jansa@gmail.com \
    --cc=openembedded-devel@lists.openembedded.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox