Require librsvg >=2.52.
This commit is contained in:
@@ -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)
|
||||
|
10
lua/rsvg.pkg
10
lua/rsvg.pkg
@@ -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,
|
||||
|
Reference in New Issue
Block a user