From: Peter Korsgaard <jacmet@uclibc.org>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH 11/12] directfb: allow SVG support
Date: Sat, 13 Sep 2014 09:23:13 +0200 [thread overview]
Message-ID: <87sijw9e72.fsf@dell.be.48ers.dk> (raw)
In-Reply-To: <1410537011-29662-12-git-send-email-jezz@sysmic.org> ("Jérôme Pouiller"'s message of "Fri, 12 Sep 2014 17:50:10 +0200")
>>>>> "J?r?me" == J?r?me Pouiller <jezz@sysmic.org> writes:
> DirectFB SVG support rely on Cairo and Cairo depends on DirectFB.
> Since Cairo DirectFB backend is marked as experimental, this patch choose to
> disable this backend when DirectFB SVG support is enable.
> In add, this patch may solve some tricky situations between DirectFB and Cairo
> (see http://sysmic.org/~jezz/results/c2f11fc0) and improve build reproducibility.
> Signed-off-by: J?r?me Pouiller <jezz@sysmic.org>
> ---
> package/cairo/cairo.mk | 5 ++++-
> package/directfb/Config.in | 5 +++++
> package/directfb/directfb.mk | 7 +++++++
> 3 files changed, 16 insertions(+), 1 deletion(-)
> diff --git a/package/cairo/cairo.mk b/package/cairo/cairo.mk
> index a4c71b6..bcc0c26 100644
> --- a/package/cairo/cairo.mk
> +++ b/package/cairo/cairo.mk
> @@ -48,7 +48,10 @@ CAIRO_CONF_OPT = \
> CAIRO_DEPENDENCIES = host-pkgconf fontconfig pixman
> -ifeq ($(BR2_PACKAGE_DIRECTFB),y)
> +# DirectFB svg support rely on Cairo and Cairo DirectFB support depends on
> +# DirectFB. Break circular dependency by disabling DirectFB support in Cairo
> +# (which is experimental)
> +ifeq ($(BR2_PACKAGE_DIRECTFB)x$(BR2_PACKAGE_DIRECTFB_SVG),yx)
> CAIRO_CONF_OPT += --enable-directfb
> CAIRO_DEPENDENCIES += directfb
> else
> diff --git a/package/directfb/Config.in b/package/directfb/Config.in
> index e3c93a1..dc01228 100644
> --- a/package/directfb/Config.in
> +++ b/package/directfb/Config.in
> @@ -125,6 +125,11 @@ config BR2_PACKAGE_DIRECTFB_PNG
> default y
> select BR2_PACKAGE_LIBPNG
> +config BR2_PACKAGE_DIRECTFB_SVG
> + bool "enable SVG support"
> + default y
> + select BR2_PACKAGE_CAIRO
cairo depends on BR2_ARCH_HAS_ATOMICS, so this should also do so.
I suspect this also needs the SVG backend of cairo. From config.log:
configure:19926: checking for libsvg-cairo >= 0.1.6
configure:19936: result: not found
configure:19939: WARNING:
*** SVG-Cairo at least 0.1.6 not found -- SVG image provider will not be built.
So it actually needs libsvg-cairo (which pulls in cairo and the svg
backend of cairo).
It also needs some help to find the cairo includes:
make[5]: Entering directory '/home/peko/source/buildroot/output/build/directfb-1.6.3/interfaces/IDirectFBImageProvider'
CC idirectfbimageprovider_dfiff.lo
CC idirectfbimageprovider_bmp.lo
CC idirectfbimageprovider_pnm.lo
CC idirectfbimageprovider_svg.lo
CC idirectfbimageprovider_mpeg2.lo
idirectfbimageprovider_svg.c:46:19: fatal error: cairo.h: No such file or directory
compilation terminated.
Makefile:817: recipe for target 'idirectfbimageprovider_svg.lo' failed
make[5]: *** [idirectfbimageprovider_svg.lo] Error 1
make[5]: *** Waiting for unfinished jobs....
Committed with that fixed, thanks.
--
Bye, Peter Korsgaard
next prev parent reply other threads:[~2014-09-13 7:23 UTC|newest]
Thread overview: 28+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-09-12 15:49 [Buildroot] Fix some build issues Jérôme Pouiller
2014-09-12 15:50 ` [Buildroot] [PATCH 01/12] xdriver_xf86-video-vmware: only avaiblable on x86 Jérôme Pouiller
2014-09-12 21:15 ` Peter Korsgaard
2014-09-12 15:50 ` [Buildroot] [PATCH 02/12] xapp_xkbevd: depends on MMU Jérôme Pouiller
2014-09-12 21:21 ` Peter Korsgaard
2014-09-12 15:50 ` [Buildroot] [PATCH 03/12] xapp_xinit: " Jérôme Pouiller
2014-09-12 21:19 ` Peter Korsgaard
2014-09-13 5:59 ` Jérôme Pouiller
2014-09-12 15:50 ` [Buildroot] [PATCH 04/12] xapp_xsm: " Jérôme Pouiller
2014-09-12 21:15 ` Peter Korsgaard
2014-09-12 15:50 ` [Buildroot] [PATCH 05/12] xapp_xmh: " Jérôme Pouiller
2014-09-12 21:16 ` Peter Korsgaard
2014-09-12 15:50 ` [Buildroot] [PATCH 06/12] xapp_xdm: " Jérôme Pouiller
2014-09-12 21:20 ` Peter Korsgaard
2014-09-12 15:50 ` [Buildroot] [PATCH 07/12] xterm: " Jérôme Pouiller
2014-09-12 21:16 ` Peter Korsgaard
2014-09-12 15:50 ` [Buildroot] [PATCH 08/12] xfsprogs: " Jérôme Pouiller
2014-09-12 21:20 ` Peter Korsgaard
2014-09-12 15:50 ` [Buildroot] [PATCH 09/12] ltp-testsuite: " Jérôme Pouiller
2014-09-12 21:20 ` Peter Korsgaard
2014-09-12 15:50 ` [Buildroot] [PATCH 10/12] sdl: remove dga support in no MMU Jérôme Pouiller
2014-09-12 21:31 ` Peter Korsgaard
2014-09-12 15:50 ` [Buildroot] [PATCH 11/12] directfb: allow SVG support Jérôme Pouiller
2014-09-13 7:23 ` Peter Korsgaard [this message]
2014-09-12 15:50 ` [Buildroot] [PATCH 12/12] libffi and python: need threads support Jérôme Pouiller
2014-09-13 7:39 ` Peter Korsgaard
2014-09-13 7:57 ` Thomas Petazzoni
2014-09-14 6:42 ` Jérôme Pouiller
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=87sijw9e72.fsf@dell.be.48ers.dk \
--to=jacmet@uclibc.org \
--cc=buildroot@busybox.net \
/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