From: Joe MacDonald <Joe_MacDonald@mentor.com>
To: Bian Naimeng <biannm@cn.fujitsu.com>
Cc: openembedded-devel@lists.openembedded.org
Subject: Re: [PATCH 6/6] [meta-oe] Port corosync from openembedded and upgrade to 1.4.7
Date: Mon, 24 Nov 2014 14:39:42 -0500 [thread overview]
Message-ID: <20141124193941.GD6210@mentor.com> (raw)
In-Reply-To: <1416811526-54855-7-git-send-email-biannm@cn.fujitsu.com>
[-- Attachment #1: Type: text/plain, Size: 4144 bytes --]
Hi Bian,
[[oe] [PATCH 6/6] [meta-oe] Port corosync from openembedded and upgrade to 1.4.7] On 14.11.24 (Mon 14:45) Bian Naimeng wrote:
> Signed-off-by: Bian Naimeng <biannm@cn.fujitsu.com>
> ---
> meta-oe/recipes-support/corosync/corosync_1.4.7.bb | 31 ++++++++++++++++++++++
> .../corosync/files/config-site.corosync | 4 +++
> meta-oe/recipes-support/corosync/files/groff.patch | 12 +++++++++
> 3 files changed, 47 insertions(+)
> create mode 100644 meta-oe/recipes-support/corosync/corosync_1.4.7.bb
> create mode 100644 meta-oe/recipes-support/corosync/files/config-site.corosync
> create mode 100644 meta-oe/recipes-support/corosync/files/groff.patch
This probably belongs in meta-networking (unless there's strong opinion
it belongs somewhere else). Did you have a look at what has been done
in meta-cgl (git://git.enea.com/linux/meta-cgl) with the recipe to see
if there was anything useful there? I know meta-cgl isn't very well
publicized yet, but it is in the layer index. If you haven't looked at
what's there yet, it may be worth having a look to see if any of it can
save you some time.
For what it's worth, there does seem to be rather a lot more in meta-cgl
and I think at least some of it still applies (eg. the volatiles file).
> diff --git a/meta-oe/recipes-support/corosync/corosync_1.4.7.bb b/meta-oe/recipes-support/corosync/corosync_1.4.7.bb
> new file mode 100644
> index 0000000..a3b8864
> --- /dev/null
> +++ b/meta-oe/recipes-support/corosync/corosync_1.4.7.bb
> @@ -0,0 +1,31 @@
> +SUMMARY = "The Corosync Cluster Engine and Application Programming Interfaces"
> +DESCRIPTION = "This package contains the Corosync Cluster Engine Executive, several default \
> +APIs and libraries, default configuration files, and an init script."
> +HOMEPAGE = "http://corosync.github.io/corosync/"
> +
> +inherit autotools pkgconfig
> +
> +SRC_URI = "http://build.clusterlabs.org/corosync/releases/${BPN}-${PV}.tar.gz \
> + file://config-site.corosync \
> + file://groff.patch \
> + "
Please remove the tab before space above.
> +
> +SRC_URI[md5sum] = "da9b2cf0b55f08ac4cf7cd82ac2f977a"
> +SRC_URI[sha256sum] = "c1d005b2093e9a725abd1dfb2be936114b561c0b3145aca11f58c1a733a05af8"
> +
> +LICENSE = "BSD"
I think this is actually a BSD-3-Clause license, isn't it?
> +LIC_FILES_CHKSUM = "file://LICENSE;md5=25656171d1e4054c636a9893067f8c30"
> +
> +CONFIG_SITE = "${WORKDIR}/config-site.corosync"
> +
> +DEPENDS = "groff-native nss"
> +
> +EXTRA_OECONF += " --enable-nss "
> +CFLAGS_append += " -fPIC "
> +
> +do_compile() {
> + DESCPATH="${STAGING_DATADIR_NATIVE}/groff/`groff -v | awk '{if(NR==1)print $4}'`/font"
> + oe_runmake DESCPATH=${DESCPATH}
> +}
> +
> +FILES_${PN}-dbg += "${libexecdir}/lcrso/.debug"
> diff --git a/meta-oe/recipes-support/corosync/files/config-site.corosync b/meta-oe/recipes-support/corosync/files/config-site.corosync
> new file mode 100644
> index 0000000..3472dec
> --- /dev/null
> +++ b/meta-oe/recipes-support/corosync/files/config-site.corosync
> @@ -0,0 +1,4 @@
> +ac_cv_func_fnmatch_works=yes
> +ac_cv_func_malloc_0_nonnull=yes
> +ac_cv_func_realloc_0_nonnull=yes
> +
> diff --git a/meta-oe/recipes-support/corosync/files/groff.patch b/meta-oe/recipes-support/corosync/files/groff.patch
Can you add a header to this patch please?
Thanks.
-J.
> new file mode 100644
> index 0000000..da1378a
> --- /dev/null
> +++ b/meta-oe/recipes-support/corosync/files/groff.patch
> @@ -0,0 +1,12 @@
> +diff -Nurp corosync-1.3.1.org/man/Makefile.am corosync-1.3.1/man/Makefile.am
> +--- corosync-1.3.1.org/man/Makefile.am 2011-04-25 10:37:50.000000000 +0800
> ++++ corosync-1.3.1/man/Makefile.am 2014-11-24 10:33:36.583426707 +0800
> +@@ -126,7 +126,7 @@ HTML_DOCS = $(dist_man_MANS:%=%.html)
> + INDEX_HTML = index.html
> +
> + %.html: %
> +- $(GROFF) -mandoc -Thtml $^ > $@
> ++ $(GROFF) -F $(DESCPATH) -mandoc -Thtml $^ > $@
> +
> + install-data-local:
> + $(INSTALL) -d $(DESTDIR)/${docdir}/html
> --
> 1.9.1
>
--
-Joe MacDonald.
:wq
[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 501 bytes --]
next prev parent reply other threads:[~2014-11-24 19:39 UTC|newest]
Thread overview: 20+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-11-24 6:45 [PATCH 0/6] Port some recipes from openembedded and upgrade Bian Naimeng
2014-11-24 6:45 ` [PATCH 1/6] [meta-oe] evieext: Port evieext from openembedded Bian Naimeng
2014-11-24 10:32 ` Burton, Ross
2014-11-24 6:45 ` [PATCH 2/6] [meta-oe] fontcacheproto: Port fontcacheproto " Bian Naimeng
2014-11-24 10:39 ` Burton, Ross
2014-11-24 6:45 ` [PATCH 3/6] [meta-oe] libxfontcache: Port libxfontcache " Bian Naimeng
2014-11-24 6:45 ` [PATCH 4/6] [meta-oe] printproto: Port printproto " Bian Naimeng
2014-11-24 10:30 ` Burton, Ross
2014-11-25 1:14 ` Bian, Naimeng
2014-11-25 9:13 ` Burton, Ross
2014-11-25 9:31 ` Bian, Naimeng
2014-11-24 6:45 ` [PATCH 5/6] [meta-oe] libxp: Port libxp " Bian Naimeng
2014-11-24 6:45 ` [PATCH 6/6] [meta-oe] Port corosync from openembedded and upgrade to 1.4.7 Bian Naimeng
2014-11-24 19:39 ` Joe MacDonald [this message]
2014-11-25 0:29 ` Bian, Naimeng
2014-11-25 10:18 ` Alexandru Vaduva
2014-11-26 3:36 ` Bian, Naimeng
2014-11-26 9:17 ` Alexandru Vaduva
2014-11-26 14:08 ` Joe MacDonald
2014-11-26 14:23 ` Alexandru Vaduva
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=20141124193941.GD6210@mentor.com \
--to=joe_macdonald@mentor.com \
--cc=biannm@cn.fujitsu.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 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.