[OE-core] [PATCH] sysprof: Creats x11 PACKAGECONFIG.

Martin Jansa martin.jansa at gmail.com
Tue Sep 30 15:49:31 UTC 2014


On Tue, Sep 30, 2014 at 07:25:04PM +0500, Noor, Ahsan wrote:
> From: Noor <noor_ahsan at mentor.com>
> 
> * gtk+ and libglade is required to have graphical version of sysprof.
>   Created x11 packageconfig and added these two packages in that config
>   and removed from DEPENDS.
> 
> Signed-off-by: Noor Ahsan <noor_ahsan at mentor.com>
> ---
>  meta/recipes-kernel/sysprof/sysprof_git.bb |    7 +++++--
>  1 file changed, 5 insertions(+), 2 deletions(-)
> 
> diff --git a/meta/recipes-kernel/sysprof/sysprof_git.bb b/meta/recipes-kernel/sysprof/sysprof_git.bb
> index ef1e270..d3fb97a 100644
> --- a/meta/recipes-kernel/sysprof/sysprof_git.bb
> +++ b/meta/recipes-kernel/sysprof/sysprof_git.bb
> @@ -2,8 +2,6 @@ SUMMARY = "System-wide Performance Profiler for Linux"
>  LICENSE = "GPLv2"
>  LIC_FILES_CHKSUM = "file://COPYING;md5=94d55d512a9ba36caa9b7df079bae19f"
>  
> -DEPENDS = "gtk+ libglade"
> -
>  SRCREV = "cd44ee6644c3641507fb53b8a2a69137f2971219"
>  PV = "1.2.0+git${SRCPV}"
>  
> @@ -18,3 +16,8 @@ SRC_URI_append_mips64 = " file://rmb-mips.patch"
>  S = "${WORKDIR}/git"
>  
>  inherit autotools pkgconfig
> +
> +PACKAGECONFIG ?= "${@bb.utils.contains('DISTRO_FEATURES', 'x11', 'x11', '', d)}"
> +
> +PACKAGECONFIG[x11] = ",,gtk+ libglade"

Is this deterministic? I don't think so, You need to add option to
explicitly disable it even when gtk+ and libglade get built because of
some other recipe (or user just having them in sysroot from earlier
builds).

> +
> -- 
> 1.7.9.5
> 
> -- 
> _______________________________________________
> Openembedded-core mailing list
> Openembedded-core at lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-core

-- 
Martin 'JaMa' Jansa     jabber: Martin.Jansa at gmail.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: Digital signature
URL: <http://lists.openembedded.org/pipermail/openembedded-core/attachments/20140930/bb7022e5/attachment-0002.sig>


More information about the Openembedded-core mailing list