Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Daniel Laird <daniel.j.laird@nxp.com>
To: buildroot@busybox.net
Subject: [Buildroot] Building Cairo using DirectFB
Date: Tue, 12 Aug 2008 07:48:37 -0700 (PDT)	[thread overview]
Message-ID: <18945810.post@talk.nabble.com> (raw)
In-Reply-To: <1218548459.6402.6.camel@localhost.localdomain>


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.

Many thanks
Daniel Laird

-- 
View this message in context: http://www.nabble.com/Building-Cairo-using-DirectFB-tp18927643p18945810.html
Sent from the BuildRoot mailing list archive at Nabble.com.

  reply	other threads:[~2008-08-12 14:48 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 [this message]
2008-08-12 15:54       ` Ormund Williams
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=18945810.post@talk.nabble.com \
    --to=daniel.j.laird@nxp.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox