All of lore.kernel.org
 help / color / mirror / Atom feed
From: Khem Raj <raj.khem@gmail.com>
To: "openembedded-devel@lists.openembedded.org"
	<openembedded-devel@lists.openembedded.org>
Subject: Re: [meta-oe++/master 03/11] glibmm: merge glibmm.inc into recipe - and stylize a bit
Date: Sun, 19 May 2013 12:58:28 -0700	[thread overview]
Message-ID: <CAMKF1soZP1zxrEtopAdi6dTPuRcb5CMnSapgfOE8KCD5t6a-Ow@mail.gmail.com> (raw)
In-Reply-To: <1368959233-28288-4-git-send-email-schnitzeltony@googlemail.com>

Why merge inc ? Generally its helpful in writing recipes in other layers we
can share common code

On Sunday, May 19, 2013, Andreas Müller <schnitzeltony@googlemail.com>
wrote:
> Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com>
> ---
>  meta-oe/recipes-core/glib-2.0/glibmm.inc       |   28
-----------------------
>  meta-oe/recipes-core/glib-2.0/glibmm_2.28.2.bb |   29
+++++++++++++++++++++--
>  2 files changed, 26 insertions(+), 31 deletions(-)
>  delete mode 100644 meta-oe/recipes-core/glib-2.0/glibmm.inc
>
> diff --git a/meta-oe/recipes-core/glib-2.0/glibmm.inc
b/meta-oe/recipes-core/glib-2.0/glibmm.inc
> deleted file mode 100644
> index bdb6ff8..0000000
> --- a/meta-oe/recipes-core/glib-2.0/glibmm.inc
> +++ /dev/null
> @@ -1,28 +0,0 @@
> -DESCRIPTION = "C++ bindings for the glib library."
> -HOMEPAGE = "http://www.gtkmm.org/"
> -SECTION = "libs"
> -
> -LICENSE = "LGPLv2.1 & GPLv2"
> -LIC_FILES_CHKSUM = "file://COPYING;md5=d8045f3b8f929c1cb29a1e3fd737b499 \
> -
 file://COPYING.tools;md5=751419260aa954499f7abaabaa882bbe"
> -
> -DEPENDS = "mm-common glib-2.0 libsigc++-2.0"
> -SHRT_VER =
"${@d.getVar('PV',1).split('.')[0]}.${@d.getVar('PV',1).split('.')[1]}"
> -
> -SRC_URI = "
ftp://ftp.gnome.org/pub/GNOME/sources/glibmm/${SHRT_VER}/glibmm-${PV}.tar.bz2;name=archive
"
> -
> -inherit autotools pkgconfig
> -
> -do_install_append() {
> -    install -d ${D}${datadir}/glibmm-2.4
> -    install -d ${D}${datadir}/aclocal
> -
> -    install -m 0644 glib/glibmmconfig.h ${D}${datadir}/glibmm-2.4/
> -    install -m 0644 scripts/glibmm_check_perl.m4 ${D}${datadir}/aclocal/
|| true
> -}
> -
> -FILES_${PN} = "${libdir}/lib*.so.*"
> -FILES_${PN}-dev += "${datadir}/glibmm-* ${libdir}/glibmm-2.4/include/
${libdir}/glibmm-2.4/proc/ ${libdir}/giomm-2.4/include/"
> -
> -LIBV = "2.4.0"
> -
> diff --git a/meta-oe/recipes-core/glib-2.0/glibmm_2.28.2.bbb/meta-oe/recipes-core/glib-2.0/
glibmm_2.28.2.bb
> index c864153..0bdaa80 100644
> --- a/meta-oe/recipes-core/glib-2.0/glibmm_2.28.2.bb
> +++ b/meta-oe/recipes-core/glib-2.0/glibmm_2.28.2.bb
> @@ -1,9 +1,32 @@
> -require glibmm.inc
> +DESCRIPTION = "C++ bindings for the glib library."
> +HOMEPAGE = "http://www.gtkmm.org/"
> +SECTION = "libs"
> +LICENSE = "LGPLv2.1 & GPLv2"
> +LIC_FILES_CHKSUM = "file://COPYING;md5=d8045f3b8f929c1cb29a1e3fd737b499 \
> +
 file://COPYING.tools;md5=751419260aa954499f7abaabaa882bbe"
> +
> +DEPENDS = "mm-common glib-2.0 libsigc++-2.0"
> +inherit autotools pkgconfig
>
>  PR = "r3"
>
> +SHRT_VER =
"${@d.getVar('PV',1).split('.')[0]}.${@d.getVar('PV',1).split('.')[1]}"
> +
> +SRC_URI = " \
> +
ftp://ftp.gnome.org/pub/GNOME/sources/glibmm/${SHRT_VER}/glibmm-${PV}.tar.bz2\
> +    file://remove-examples.patch \
> +    file://glib-2.32.patch \
> +"
>  SRC_URI[archive.md5sum] = "cf33d1861d09fb2952a6a1d69e0502e3"
>  SRC_URI[archive.sha256sum] =
"7b67178363f8494c94f8b3dd704a4c8db7ad75a253fc84a4ad229e5e179ec192"
>
> -SRC_URI += " file://remove-examples.patch \
> -             file://glib-2.32.patch"
> +do_install_append() {
> +    install -d ${D}${datadir}/glibmm-2.4
> +    install -d ${D}${datadir}/aclocal
> +
> +    install -m 0644 glib/glibmmconfig.h ${D}${datadir}/glibmm-2.4/
> +    install -m 0644 scripts/glibmm_check_perl.m4 ${D}${datadir}/aclocal/
|| true
> +}
> +
> +FILES_${PN} = "${libdir}/lib*.so.*"
> +FILES_${PN}-dev += "${datadir}/glibmm-* ${libdir}/glibmm-2.4/include/
${libdir}/glibmm-2.4/proc/ ${libdir}/giomm-2.4/include/"
> --
> 1.7.4.4
>
>
> _______________________________________________
> Openembedded-devel mailing list
> Openembedded-devel@lists.openembedded.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
>


  reply	other threads:[~2013-05-19 20:17 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-05-19 10:27 [meta-oe++/master 00/11] fixes and updates Andreas Müller
2013-05-19 10:27 ` [meta-oe++/master 01/11] mm-common: update to 0.9.6 Andreas Müller
2013-05-19 19:55   ` Khem Raj
2013-05-20  8:43     ` Paul Eggleton
2013-05-19 10:27 ` [meta-oe++/master 02/11] libsigc++-2.0: update to 2.2.11 Andreas Müller
2013-05-19 10:27 ` [meta-oe++/master 03/11] glibmm: merge glibmm.inc into recipe - and stylize a bit Andreas Müller
2013-05-19 19:58   ` Khem Raj [this message]
2013-05-21  7:51     ` Andreas Müller
2013-05-21 14:30       ` Khem Raj
2013-05-19 10:27 ` [meta-oe++/master 04/11] glibmm: update to 2.36.2 Andreas Müller
2013-05-19 10:27 ` [meta-oe++/master 05/11] pangomm: update to 2.34.0 Andreas Müller
2013-05-19 10:27 ` [meta-oe++/master 06/11] gtkmm: merge gtkmm.inc into recipe - and cleanup a bit Andreas Müller
2013-05-19 10:27 ` [meta-oe++/master 07/11] atkmm: initial add 2.22.7 Andreas Müller
2013-05-19 10:27 ` [meta-oe++/master 08/11] gtkmm: update to 2.24.3 Andreas Müller
2013-05-19 10:27 ` [meta-oe++/master 09/11] gtkhtml2: fix build with glib 2.36 Andreas Müller
2013-05-19 10:27 ` [meta-oe++/master 10/11] evince: fix build with gcc 4.8 Andreas Müller
2013-05-19 10:27 ` [meta-oe++/master 11/11] gnome-system-monitor: fix build after gtkmm update Andreas Müller

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=CAMKF1soZP1zxrEtopAdi6dTPuRcb5CMnSapgfOE8KCD5t6a-Ow@mail.gmail.com \
    --to=raj.khem@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 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.