Openembedded Core Discussions
 help / color / mirror / Atom feed
From: Martin Jansa <martin.jansa@gmail.com>
To: Robert Yang <liezhi.yang@windriver.com>
Cc: Patches and discussions about the oe-core layer
	<openembedded-core@lists.openembedded.org>
Subject: Re: [PATCH 2/2] clutter-gst-3.0: add --enable/disable-gudev
Date: Thu, 12 Nov 2015 11:25:04 +0100	[thread overview]
Message-ID: <20151112102504.GA2574@jama> (raw)
In-Reply-To: <564456AE.6020909@windriver.com>

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

On Thu, Nov 12, 2015 at 05:06:54PM +0800, Robert Yang wrote:
> 
> 
> On 11/12/2015 05:00 PM, Andreas Müller wrote:
> > On Thu, Nov 12, 2015 at 9:51 AM, Robert Yang <liezhi.yang@windriver.com> wrote:
> >> Fix dangling dependns on gudev, and systemd doesn't provide libgudev, so
> >> it can't be enabled when systemd either.
> >>
> >> Fixed:
> >> libtool: error: cannot find the library 'tmp/sysroots/qemuarm64/usr/lib64/libgudev-1.0.la' or unhandled argument
> >> 'tmp/sysroots/qemuarm64/usr/lib64/libgudev-1.0.la'
> >>
> >> Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
> >> ---
> >>   meta/recipes-graphics/clutter/clutter-gst-3.0.inc  |   15 ++++++-
> >>   .../0001-configure.ac-add-enable-gudev.patch       |   45 ++++++++++++++++++++
> >>   2 files changed, 59 insertions(+), 1 deletion(-)
> >>   create mode 100644 meta/recipes-graphics/clutter/clutter-gst-3.0/0001-configure.ac-add-enable-gudev.patch
> >>
> >> diff --git a/meta/recipes-graphics/clutter/clutter-gst-3.0.inc b/meta/recipes-graphics/clutter/clutter-gst-3.0.inc
> >> index d4fed71..c29bc7a 100644
> >> --- a/meta/recipes-graphics/clutter/clutter-gst-3.0.inc
> >> +++ b/meta/recipes-graphics/clutter/clutter-gst-3.0.inc
> >> @@ -4,7 +4,12 @@ LICENSE = "LGPLv2+"
> >>
> >>   inherit clutter
> >>
> >> -SRC_URI += "file://0001-Install-example-binary-needed-for-core-image-clutter.patch"
> >> +SRC_URI += "file://0001-Install-example-binary-needed-for-core-image-clutter.patch \
> >> +            file://0001-configure.ac-add-enable-gudev.patch \
> >> +            "
> >> +
> >> +PACKAGECONFIG ??= ""
> >> +PACKAGECONFIG[gudev] = "--enable-gudev,--disable-gudev,udev"
> >>
> >>   DEPENDS = "gstreamer1.0-plugins-base gstreamer1.0-plugins-bad clutter-1.0"
> >>   RDEPENDS_${PN} += "gstreamer1.0-meta-base"
> >> @@ -12,6 +17,14 @@ PACKAGES  =+ "${PN}-examples"
> >>
> >>   EXTRA_OECONF += "--disable-introspection"
> >>
> >> +python () {
> >> +    if bb.utils.contains('EXTRA_OECONF', '--enable-gudev', True, False, d) and \
> >> +        bb.utils.contains('DISTRO_FEATURES', 'systemd', True, False, d):
> >> +            bb.warn("%s: gudev can't be enabled since systemd doesn't provide libgudev" % \
> >> +                    d.getVar("PN", True))
> >> +            d.appendVar('EXTRA_OECONF', ' --disable-gudev')
> >> +}
> >> +
> > I think this part of the patch is wrong: You have to replace udev by
> > gudev in DEPENDS part of packageconfig above and skip python function
> 
> I think that there is no gudev but udev ? udev provides gudev, but systemd
> only provides udev, no gudev.

There is gudev in meta-oe (for people using systemd):
meta-oe/recipes-gnome/libgudev/libgudev_230.bb

> 
> // Robert
> 
> > complete.
> >
> > Andreas
> >
> -- 
> _______________________________________________
> Openembedded-core mailing list
> Openembedded-core@lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-core

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

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

      parent reply	other threads:[~2015-11-12 10:24 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-11-12  8:51 [PATCH 0/2] meta: fix gdbm and clutter-gst-3.0 Robert Yang
2015-11-12  8:51 ` [PATCH 1/2] gdbm 1.8.3: install libgdbm_compat Robert Yang
2015-11-12  8:51 ` [PATCH 2/2] clutter-gst-3.0: add --enable/disable-gudev Robert Yang
2015-11-12  9:00   ` Andreas Müller
2015-11-12  9:06     ` Robert Yang
2015-11-12  9:17       ` Andreas Müller
2015-11-13  5:54         ` Robert Yang
2015-11-18 23:01           ` Burton, Ross
2015-11-12 10:25       ` Martin Jansa [this message]

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=20151112102504.GA2574@jama \
    --to=martin.jansa@gmail.com \
    --cc=liezhi.yang@windriver.com \
    --cc=openembedded-core@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