From 4e6c0086a657399d989f2e4849f7b397d7d4efbc Mon Sep 17 00:00:00 2001 From: Dana Jansens Date: Sat, 10 Aug 2013 20:46:27 -0400 Subject: Add support for loading SVG icons using librsvg. This adds a configure option --disable-librsvg, but defaults to using the library if it is present during configure. When enabled, Openbox will attempt to load svg image files using the library, similar to how Imlib2 is used for other image formats. Since librsvg uses the libXml2 library, their errors end up in the same global namespace as Openbox config file parsing. To avoid this, we reset the libXml current error whenever we start loading a file, and save the last error that occurred when we are finished, by storing the error in the ObtXmlInst. --- obrender/obrender-3.5.pc.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'obrender/obrender-3.5.pc.in') diff --git a/obrender/obrender-3.5.pc.in b/obrender/obrender-3.5.pc.in index 2c8a4357..8057a017 100644 --- a/obrender/obrender-3.5.pc.in +++ b/obrender/obrender-3.5.pc.in @@ -9,6 +9,6 @@ xlibs=@X_LIBS@ Name: ObRender Description: Openbox Render Library Version: @RR_VERSION@ -Requires: obt-3.5 glib-2.0 xft pangoxft @PKG_CONFIG_IMLIB@ +Requires: obt-3.5 glib-2.0 xft pangoxft @PKG_CONFIG_IMLIB@ @PKG_CONFIG_LIBRSVG@ Libs: -L${libdir} -lobrender ${xlibs} Cflags: -I${includedir}/openbox/@RR_VERSION@ ${xcflags} -- cgit v1.2.3