From: Ormund Williams <ormundw@panix.com>
To: buildroot@busybox.net
Subject: [Buildroot] Building Cairo using DirectFB
Date: Tue, 12 Aug 2008 11:54:52 -0400 [thread overview]
Message-ID: <1218556492.25677.8.camel@localhost.localdomain> (raw)
In-Reply-To: <18945810.post@talk.nabble.com>
On Tue, 2008-08-12 at 07:48 -0700, Daniel Laird wrote:
> I have modified it to build for both versions of DirectFB 1.0.x and 1.2.x
> (see bug/features in buildroot bugzilla - cant remember the number):
>
> I have also added package/pixman as a package
> See Files below:
> #package/pixman/pixman.mk
> #############################################################
> #
> # pixman-0.10.0
> #
> #############################################################
> PIXMAN_VERSION = 0.10.0
> PIXMAN_SOURCE = pixman-$(PIXMAN_VERSION).tar.gz
> PIXMAN_SITE = http://www.cairographics.org/releases/
> PIXMAN_AUTORECONF = NO
> PIXMAN_INSTALL_STAGING = YES
> PIXMAN_INSTALL_TARGET = YES
> PIXMAN_INSTALL_STAGING_OPT = DESTDIR=$(STAGING_DIR) install
> PIXMAN_INSTALL_TARGET_OPT = DESTDIR=$(TARGET_DIR) install
>
> ifeq ($(BR2_PREFER_STATIC_LIB),y)
> PIXMAN_CONF_OPT_STATIC = --enable-static
> endif
>
> PIXMAN_CONF_OPT = --target=$(GNU_TARGET_NAME) --host=$(GNU_TARGET_NAME) \
> --build=$(GNU_HOST_NAME) --prefix=/usr \
> --exec-prefix=/usr --bindir=/usr/bin \
> --sbindir=/usr/sbin --libdir=/usr/lib \
> --libexecdir=/usr/lib --sysconfdir=/etc \
> --datadir=/usr/share --localstatedir=/var \
> --includedir=/usr/include --mandir=/usr/man \
> --infodir=/usr/info --enable-shared \
> $(PIXMAN_CONF_OPT_STATIC)
>
> PIXMAN_DEPENDENCIES = uclibc
>
> $(eval $(call AUTOTARGETS,package,pixman))
>
> #package/pixman/Config.in
> config BR2_PACKAGE_PIXMAN
> bool "pixman"
> default n
> depends on BR2_PACKAGE_CAIRO
> help
> pixman is a library that provides low-level pixel manipulation
> features such as image compositing and trapezoid rasterization.
>
> #package/Config.in
> source "package/pixman/Config.in"
>
> Hope this helps, there is a pixman under XORG but this should be moved from
> out of xorg as it is cairo dependent not XORG dependent.
>
The above solved the pixman problem but it still seems that Cairo is
getting the wrong include path for DirectFB. Looking at the directfb.pc
file, I see this line:
Cflags: -D_REENTRANT -I/include/directfb
shouldn't that line be:
Cflags: -D_REENTRANT -I/usr/include/directfb
Can you send me your ..package/directfb/directfb.mk
Thanks
__
Ormund
next prev parent reply other threads:[~2008-08-12 15:54 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-08-11 15:08 [Buildroot] Building Cairo using DirectFB Ormund Williams
2008-08-12 8:48 ` Daniel Laird
2008-08-12 13:40 ` Ormund Williams
2008-08-12 14:48 ` Daniel Laird
2008-08-12 15:54 ` Ormund Williams [this message]
2008-08-13 10:55 ` Daniel Laird
2008-08-21 16:41 ` Ormund Williams
2008-08-22 7:20 ` Daniel Laird
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=1218556492.25677.8.camel@localhost.localdomain \
--to=ormundw@panix.com \
--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 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.