Patchwork cairo: Add tee surface backend option (required by firefox)

login
register
mail settings
Submitter Stefan Fröberg
Date Aug. 9, 2012, 6:58 p.m.
Message ID <50240868.2070709@petroprogram.com>
Download mbox | patch
Permalink /patch/176216/
State Rejected
Headers show

Comments

Stefan Fröberg - Aug. 9, 2012, 6:58 p.m.
Signed-off-by: Stefan Froberg <stefan.froberg@petroprogram.com>
---
 package/cairo/Config.in |    3 +++
 package/cairo/cairo.mk  |    6 ++++++
 2 files changed, 9 insertions(+), 0 deletions(-)
Thomas Petazzoni - Aug. 11, 2012, 6:27 p.m.
Le Thu, 09 Aug 2012 21:58:48 +0300,
Stefan Fröberg <stefan.froberg@petroprogram.com> a écrit :

> Signed-off-by: Stefan Froberg <stefan.froberg@petroprogram.com>

I wanted to apply this, but the patch has apparently been damaged by
Thunderbird. Can you resend it with git send-email please?

Thanks!

Thomas

Patch

diff --git a/package/cairo/Config.in b/package/cairo/Config.in
index 19c4723..398e47f 100644
--- a/package/cairo/Config.in
+++ b/package/cairo/Config.in
@@ -32,4 +32,7 @@  config BR2_PACKAGE_CAIRO_SVG
     select BR2_PACKAGE_CAIRO_PNG
     select BR2_PACKAGE_CAIRO_PDF
 
+config BR2_PACKAGE_CAIRO_TEE
+    bool "tee support"
 endif
+
diff --git a/package/cairo/cairo.mk b/package/cairo/cairo.mk
index 6b456dd..eedb28d 100644
--- a/package/cairo/cairo.mk
+++ b/package/cairo/cairo.mk
@@ -77,4 +77,10 @@  else
     CAIRO_CONF_OPT += --disable-svg
 endif
 
+ifeq ($(BR2_PACKAGE_CAIRO_TEE),y)
+    CAIRO_CONF_OPT += --enable-tee
+else
+    CAIRO_CONF_OPT += --disable-tee
+endif
+
 $(eval $(autotools-package))