All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] collectd: fix build failure with libnotify in sysroot
@ 2013-05-16 10:55 Paul Eggleton
  2013-05-16 11:07 ` Paul Eggleton
  0 siblings, 1 reply; 2+ messages in thread
From: Paul Eggleton @ 2013-05-16 10:55 UTC (permalink / raw)
  To: openembedded-devel

If libnotify is in the sysroot, collectd will try to use it and then
fail at do_compile because gtk/gtk.h can't be found. Since this is
functionality that's not likely to be needed in the embedded context as
far as collectd goes, just disable it.

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
---
 meta-oe/recipes-extended/collectd/collectd_5.2.2.bb | 1 +
 1 file changed, 1 insertion(+)

diff --git a/meta-oe/recipes-extended/collectd/collectd_5.2.2.bb b/meta-oe/recipes-extended/collectd/collectd_5.2.2.bb
index a508840..8641530 100644
--- a/meta-oe/recipes-extended/collectd/collectd_5.2.2.bb
+++ b/meta-oe/recipes-extended/collectd/collectd_5.2.2.bb
@@ -26,6 +26,7 @@ EXTRA_OECONF = " \
                 ${FPLAYOUT} \
                 --disable-perl --with-libperl=no --with-perl-bindings=no \
                 --with-libgcrypt=${STAGING_BINDIR_CROSS}/libgcrypt-config \
+                --disable-notify_desktop \
 "
 
 do_install_append() {
-- 
1.8.1.2




^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] collectd: fix build failure with libnotify in sysroot
  2013-05-16 10:55 [PATCH] collectd: fix build failure with libnotify in sysroot Paul Eggleton
@ 2013-05-16 11:07 ` Paul Eggleton
  0 siblings, 0 replies; 2+ messages in thread
From: Paul Eggleton @ 2013-05-16 11:07 UTC (permalink / raw)
  To: openembedded-devel

On Thursday 16 May 2013 11:55:01 Paul Eggleton wrote:
> If libnotify is in the sysroot, collectd will try to use it and then
> fail at do_compile because gtk/gtk.h can't be found. Since this is
> functionality that's not likely to be needed in the embedded context as
> far as collectd goes, just disable it.
> 
> Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
> ---
>  meta-oe/recipes-extended/collectd/collectd_5.2.2.bb | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/meta-oe/recipes-extended/collectd/collectd_5.2.2.bb
> b/meta-oe/recipes-extended/collectd/collectd_5.2.2.bb index
> a508840..8641530 100644
> --- a/meta-oe/recipes-extended/collectd/collectd_5.2.2.bb
> +++ b/meta-oe/recipes-extended/collectd/collectd_5.2.2.bb
> @@ -26,6 +26,7 @@ EXTRA_OECONF = " \
>                  ${FPLAYOUT} \
>                  --disable-perl --with-libperl=no --with-perl-bindings=no \
>                  --with-libgcrypt=${STAGING_BINDIR_CROSS}/libgcrypt-config \
> +                --disable-notify_desktop \
>  "
> 
>  do_install_append() {

I missed out the subject prefix, sorry, this is meant for the meta-oe layer in 
case it wasn't obvious.

Cheers,
Paul

-- 

Paul Eggleton
Intel Open Source Technology Centre



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2013-05-16 11:26 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-05-16 10:55 [PATCH] collectd: fix build failure with libnotify in sysroot Paul Eggleton
2013-05-16 11:07 ` Paul Eggleton

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.