From 2bef8669bc992f06300464d72d8c4ea4bef8a479 Mon Sep 17 00:00:00 2001 From: Emmanuele Bassi Date: Sat, 4 Feb 2023 11:36:25 +0100 Subject: Remove XML surface According to the Debian code search tool, nothing uses it as part of the Cairo public API, and it has been disabled for a long time with nobody complaining about it. --- meson.build | 10 ---------- 1 file changed, 10 deletions(-) (limited to 'meson.build') diff --git a/meson.build b/meson.build index 12512d115..ee55aa03c 100644 --- a/meson.build +++ b/meson.build @@ -595,15 +595,6 @@ if zlib_dep.found() conf.set('CAIRO_HAS_INTERPRETER', 1) endif -if zlib_dep.found() and png_dep.found() and get_option('xml').enabled() - feature_conf.set('CAIRO_HAS_XML_SURFACE', 1) - built_features += [{ - 'name': 'cairo-xml', - 'description': 'XML surface backend', - 'deps': [zlib_dep], - }] -endif - bfd_dep = cc.find_library('bfd', has_headers: ['bfd.h'], required: get_option('symbol-lookup')) if bfd_dep.found() and \ cc.has_function('bfd_openr', dependencies: [bfd_dep]) and \ @@ -839,7 +830,6 @@ summary({ 'Observer': true, 'Mime': true, 'Tee': feature_conf.get('CAIRO_HAS_TEE_SURFACE', 0) == 1, - 'XML': feature_conf.get('CAIRO_HAS_XML_SURFACE', 0) == 1, 'Xlib': feature_conf.get('CAIRO_HAS_XLIB_SURFACE', 0) == 1, 'Xlib Xrender': feature_conf.get('CAIRO_HAS_XLIB_XRENDER_SURFACE', 0) == 1, 'Quartz': feature_conf.get('CAIRO_HAS_QUARTZ_SURFACE', 0) == 1, -- cgit v1.2.1