Skip to content

Commit

Permalink
Require librsvg >=2.52.
Browse files Browse the repository at this point in the history
  • Loading branch information
brndnmtthws committed Sep 10, 2022
1 parent 5d02762 commit 5d5ee12
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 8 deletions.
2 changes: 1 addition & 1 deletion cmake/ConkyPlatformChecks.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
10 changes: 3 additions & 7 deletions lua/rsvg.pkg
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 5d5ee12

Please sign in to comment.