Index: src/output/cairo.c --- src/output/cairo.c.orig 2023-02-16 23:20:13.000000000 +0100 +++ src/output/cairo.c 2024-01-01 13:07:50.805384000 +0100 @@ -31,7 +31,9 @@ #include #include +#if 0 #include +#endif #include #include @@ -314,12 +316,14 @@ return xr_create (fh, device_type, o, XR_PS); } +#if 0 static struct output_driver * xr_svg_create (struct file_handle *fh, enum settings_output_devices device_type, struct driver_options *o) { return xr_create (fh, device_type, o, XR_SVG); } +#endif static struct output_driver * xr_png_create (struct file_handle *fh, enum settings_output_devices device_type, @@ -440,6 +444,7 @@ cairo_surface_show_page (xr->dest_surface); break; +#if 0 case XR_SVG: { cairo_surface_t *svg = cairo_svg_surface_create ( @@ -449,6 +454,7 @@ cairo_surface_destroy (svg); } break; +#endif case XR_PNG: { @@ -479,6 +485,7 @@ cairo_surface_show_page (xr->dest_surface); break; +#if 0 case XR_SVG: { cairo_surface_t *svg = cairo_svg_surface_create ( @@ -488,6 +495,7 @@ cairo_surface_destroy (svg); } break; +#endif case XR_PNG: xr_report_error (cairo_surface_write_to_png (xr->drawing_surface, @@ -617,8 +625,10 @@ { "pdf", "pspp.pdf", xr_pdf_create }; struct output_driver_factory ps_driver_factory = { "ps", "pspp.ps", xr_ps_create }; +#if 0 struct output_driver_factory svg_driver_factory = { "svg", "pspp.svg", xr_svg_create }; +#endif struct output_driver_factory png_driver_factory = { "png", "pspp.png", xr_png_create }; Index: src/output/driver.c --- src/output/driver.c.orig 2024-01-01 13:06:08.591671000 +0100 +++ src/output/driver.c 2024-01-01 13:08:18.229186000 +0100 @@ -508,7 +508,9 @@ extern const struct output_driver_factory png_driver_factory; extern const struct output_driver_factory ps_driver_factory; extern const struct output_driver_factory spv_driver_factory; +#if 0 extern const struct output_driver_factory svg_driver_factory; +#endif extern const struct output_driver_factory tex_driver_factory; extern const struct output_driver_factory txt_driver_factory; @@ -522,7 +524,9 @@ &spv_driver_factory, &pdf_driver_factory, &ps_driver_factory, +#if 0 &svg_driver_factory, +#endif &png_driver_factory, &tex_driver_factory, NULL