Subject: [bug#39393] [PATCH] gnu: cairo: Add support for XML.

From: Alexandros Theodotou <[email-masked]>
Date: Sun, 02 Feb 2020 16:35:00 +0000

Hi,

This patch adds support for XML surfaces in cairo. It is needed when
using this for example:
https://github.com/tyronx/svg2cairo

It does not seem to require any additional dependencies so I don't see
a reason not to include it by default.

Thanks,
Alex
From 33a5d3fab78c92ef5af0615b7e17acacc792d225 Mon Sep 17 00:00:00 2001
From: Alexandros Theodotou <[email-masked]>
Date: Sun, 2 Feb 2020 16:26:44 +0000
Subject: [PATCH] gnu: cairo: Add support for XML.

* gnu/packages/gtk.scm (cairo): Add enable-xml flag.
---
 gnu/packages/gtk.scm | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/gtk.scm b/gnu/packages/gtk.scm
index f934eabe27..3924f6b122 100644
--- a/gnu/packages/gtk.scm
+++ b/gnu/packages/gtk.scm
@@ -146,7 +146,9 @@ tools have full access to view and control running applications.")
       ("python" ,python-wrapper)))
     (arguments
      `(#:tests? #f  ; see http://lists.gnu.org/archive/html/bug-guix/2013-06/msg00085.html
-       #:configure-flags '("--enable-tee")))  ; needed for GNU Icecat
+       #:configure-flags
+         '("--enable-tee"  ; needed for GNU Icecat
+           "--enable-xml")))  ; for cairo-xml support
    (synopsis "2D graphics library")
    (description
     "Cairo is a 2D graphics library with support for multiple output devices.
-- 
2.25.0