[OE-core] [PATCH] libdrm: Remove Cairo dependency

Martin Jansa martin.jansa at gmail.com
Mon Oct 1 12:02:03 UTC 2012


On Mon, Oct 01, 2012 at 12:56:09PM +0100, Ross Burton wrote:
> From: Daniel Stone <daniel at fooishbar.org>
> 
> This causes a build loop, when DRM depends on Cairo depends on Mesa
> depends on DRM.  We can safely remove it as it's only one libdrm example
> program which uses Cairo, which we won't be needing.  At least it's not
> worth the build loop.
> 
> Signed-off-by: Daniel Stone <daniel at fooishbar.org>
> Signed-off-by: Ross Burton <ross.burton at intel.com>
> ---
>  meta/recipes-graphics/drm/libdrm.inc |    4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/meta/recipes-graphics/drm/libdrm.inc b/meta/recipes-graphics/drm/libdrm.inc
> index 5ddab85..cc09791 100644
> --- a/meta/recipes-graphics/drm/libdrm.inc
> +++ b/meta/recipes-graphics/drm/libdrm.inc
> @@ -9,9 +9,9 @@ LICENSE = "MIT"
>  LIC_FILES_CHKSUM = "file://xf86drm.c;beginline=9;endline=32;md5=c8a3b961af7667c530816761e949dc71"
>  SRC_URI = "http://dri.freedesktop.org/libdrm/libdrm-${PV}.tar.bz2"
>  PROVIDES = "drm"
> -DEPENDS = "libpthread-stubs udev cairo"
> +DEPENDS = "libpthread-stubs udev"
>  
> -INC_PR = "r2"
> +INC_PR = "r3"
>  
>  #libpciaccess is required starting from libdrm 2.4.26
>  DEPENDS += " libpciaccess"

shouldn't we disable that example explicitly, so that the output is not
different when cairo gets built before libdrm?

Cheers,

-- 
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: 198 bytes
Desc: Digital signature
URL: <http://lists.openembedded.org/pipermail/openembedded-core/attachments/20121001/b7c0924f/attachment-0002.sig>


More information about the Openembedded-core mailing list