From: Richard Purdie <richard.purdie@linuxfoundation.org>
To: Daniel Stone <daniel@fooishbar.org>
Cc: openembedded-core <openembedded-core@lists.openembedded.org>
Subject: Re: [PATCH] libdrm: Explicitly disable the cairo dependency
Date: Mon, 08 Oct 2012 09:01:26 +0100 [thread overview]
Message-ID: <1349683286.15658.91.camel@ted> (raw)
In-Reply-To: <CAPj87rM0BH_eU+6j66Gq7+mrPs2JbrwDZdu58gqwJ_34vNeKmg@mail.gmail.com>
On Mon, 2012-10-08 at 16:44 +1100, Daniel Stone wrote:
> On 7 October 2012 12:10, Daniel Stone <daniel@fooishbar.org> wrote:
> > On 5 October 2012 21:47, Richard Purdie
> > <richard.purdie@linuxfoundation.org> wrote:
> >> We don't want the cairo dependency. Unfortunately simply checking whether its present
> >> isn't good enough. If its not in DEPENDS, it can disappear half way through building.
> >> We therefore need to explicitly disable it.
> >
> > I've done roughly the same thing in this commit:
> > http://cgit.collabora.com/git/user/daniels/poky.git/commit/?id=96a6e8e9eb7c086be3fcbde6a38ac3b699fca008
> >
> > which has already been submitted upstream:
> > http://lists.freedesktop.org/archives/dri-devel/2012-October/028514.html
Thanks for that, sending something upstream was on my todo list but I
needed to fix the breaking builds more urgently.
> My patch also has the advantage of not trying to link against Cairo if
> it's present but disabled. Without this, if you build libdrm, build
> Cairo, clean libdrm and attempt to rebuild it again, the rebuild will
> fail, because the test still attempts to link with -lcairo, which
> fails as Cairo's .la file references libdrm.
I'm assuming you mean libdrm's .la file references cario?
Since I pass in --disable-cairo, it never runs the pkgconfig test for
cairo and never puts the include/library options into play. I did test
that and just retested and it doesn't reference it.
Cheers,
Richard
next prev parent reply other threads:[~2012-10-08 8:14 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-10-05 11:47 [PATCH] libdrm: Explicitly disable the cairo dependency Richard Purdie
2012-10-05 11:54 ` Phil Blundell
2012-10-05 13:22 ` Richard Purdie
2012-10-05 13:03 ` Otavio Salvador
2012-10-07 1:10 ` Daniel Stone
2012-10-08 5:44 ` Daniel Stone
2012-10-08 8:01 ` Richard Purdie [this message]
2012-10-08 8:32 ` Daniel Stone
2012-10-08 9:19 ` Richard Purdie
2012-10-08 9:22 ` [PATCH 1/3] Revert "libdrm: Explicitly disable the cairo dependency" Daniel Stone
2012-10-08 9:22 ` [PATCH 2/3] DRM: Bump git recipe to latest 2.4.39+ revision Daniel Stone
2012-10-08 9:22 ` [PATCH 3/3] DRM: Add --disable-cairo-tests switch Daniel Stone
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=1349683286.15658.91.camel@ted \
--to=richard.purdie@linuxfoundation.org \
--cc=daniel@fooishbar.org \
--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 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.