4e6c0086a6
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.
14 lines
365 B
PkgConfig
14 lines
365 B
PkgConfig
prefix=@prefix@
|
|
exec_prefix=@exec_prefix@
|
|
libdir=@libdir@
|
|
includedir=@includedir@
|
|
|
|
xcflags=@X_CFLAGS@
|
|
xlibs=@X_LIBS@
|
|
|
|
Name: ObRender
|
|
Description: Openbox Render Library
|
|
Version: @RR_VERSION@
|
|
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}
|