From ad8993bf1a7b70a62074f0a966f57fc877df4b27 Mon Sep 17 00:00:00 2001 From: Scott McCreary Date: Mon, 18 Oct 2010 23:06:26 +0000 Subject: [PATCH] Updated cairo to 1.10.0, still broken though. Further patches welcome. --- x11-libs/cairo/cairo-1.10.0.bep | 34 +++++++++++++++++++++++ x11-libs/cairo/patches/cairo-1.10.0.patch | 15 ++++++++++ 2 files changed, 49 insertions(+) create mode 100644 x11-libs/cairo/cairo-1.10.0.bep create mode 100644 x11-libs/cairo/patches/cairo-1.10.0.patch diff --git a/x11-libs/cairo/cairo-1.10.0.bep b/x11-libs/cairo/cairo-1.10.0.bep new file mode 100644 index 000000000..36c359c48 --- /dev/null +++ b/x11-libs/cairo/cairo-1.10.0.bep @@ -0,0 +1,34 @@ +DESCRIPTION="Cairo is a 2D graphics library with support for multiple output devices." +HOMEPAGE="http://cairographics.org" +SRC_URI="http://cairographics.org/releases/cairo-1.10.0.tar.gz" +REVISION="1" +STATUS_HAIKU="broken" +DEPEND="freetype >= 2.3.11 + fontconfig >= 2.8.0 + pixman >= 0.18.4" +CHECKSUM_MD5="70a2ece66cf473d976e2db0f75bf199e" +BUILD { + cd cairo-1.10.0 + libtoolize --force --copy --install + aclocal -I build + autoconf + automake + ./configure --prefix=/boot/common --enable-beos + make +} + +INSTALL { + cd cairo-1.10.0 + make install +} + +LICENSE="GNU LGPL v2.1 + MPL v1.1" +COPYRIGHT="2000, 2002, 2004-2007 Keith Packard + 2002-2003 University of Southern California + 2004-2010 Red Hat, Inc. + 2005-2010 Mozilla Corporation + 2006-2009 Adrian Johnson + 2007-2009 Chris Wilson + 2009-2010 Intel Corporation + 2002-2010 many others" diff --git a/x11-libs/cairo/patches/cairo-1.10.0.patch b/x11-libs/cairo/patches/cairo-1.10.0.patch new file mode 100644 index 000000000..e0779ea42 --- /dev/null +++ b/x11-libs/cairo/patches/cairo-1.10.0.patch @@ -0,0 +1,15 @@ +diff -urN cairo-1.10.0/configure.ac cairo-1.10.0-haiku/configure.ac +--- cairo-1.10.0/configure.ac 2010-02-19 18:38:03.064487424 +0000 ++++ cairo-1.10.0-haiku/configure.ac 2010-06-19 08:32:47.591134720 +0000 +@@ -148,6 +148,11 @@ + AC_CHECK_LIB(be,main,beos_LIBS="$beos_LIBS -lbe") + AC_CHECK_LIB(zeta,main,beos_LIBS="$beos_LIBS -lzeta") + ;; ++ *-*-haiku) ++ beos_LIBS="" ++ AC_CHECK_LIB(be,main,beos_LIBS="$beos_LIBS -lbe") ++ AC_CHECK_LIB(network,main,beos_LIBS="$beos_LIBS -lnetwork") ++ ;; + *) + use_beos="no (requires a BeOS platform)" + ;;