Require librsvg >=2.52.

This commit is contained in:
Brenden Matthews
2022-09-10 11:58:27 -05:00
parent 5d02762903
commit 5d5ee12c67
2 changed files with 4 additions and 8 deletions

View File

@@ -387,7 +387,7 @@ if(BUILD_X11)
${X11_INCLUDE_DIR})
endif(BUILD_LUA_IMLIB2)
if(BUILD_LUA_RSVG)
pkg_check_modules(RSVG REQUIRED librsvg-2.0>=2.46)
pkg_check_modules(RSVG REQUIRED librsvg-2.0>=2.52)
set(luarsvg_libs ${RSVG_LIBRARIES} ${LUA_LIBRARIES})
set(luarsvg_includes ${RSVG_INCLUDE_DIRS} ${LUA_INCLUDE_DIRS})
endif(BUILD_LUA_RSVG)

View File

@@ -87,13 +87,9 @@ typedef struct _RsvgRectangle {
const char *rsvg_handle_get_base_uri (RsvgHandle * handle);
void rsvg_handle_set_base_uri (RsvgHandle * handle, const char *base_uri);
/* BM: this function is temporarily disabled until I figure out a better way to
* handle the librsvg deprecated changes.
*
* gboolean rsvg_handle_get_intrinsic_size_in_pixels (RsvgHandle *handle,
* gdouble *out_width,
* gdouble *out_height);
*/
gboolean rsvg_handle_get_intrinsic_size_in_pixels (RsvgHandle *handle,
gdouble *out_width,
gdouble *out_height);
gboolean rsvg_handle_get_geometry_for_layer(RsvgHandle *handle,
const char *id,