[meta-lts-mixins][scarthgap/rust][PATCH 23/35] librsvg: remove dependency on liberation-fonts

Scott Murray <[email protected]> Fri, 31 Jul 2026 07:32:53 -0400
Newsgroups org.yoctoproject.lists.yocto-patches
Message-ID <fc173c6a4c355e6939d6bf1a4ee8a6b2cd2c74cf.1785496469.git.scott.murray@konsulko.com>
From: Ross Burton <[email protected]>

librsvg 2.42 onwards[1] from 2018 ship the fonts they need for the test
suite instead of assuming the system has the right fonts, so we don't
need to depend on liberation-fonts for the tests.

[1] librsvg ec3353e89 ("Use a hard-coded font file to render test images,
    for predictable font rendering")

Signed-off-by: Ross Burton <[email protected]>
Signed-off-by: Mathieu Dubois-Briand <[email protected]>
Signed-off-by: Richard Purdie <[email protected]>
(adapted from oe-core commit 8b7c17ea76be679ca3f1ecf7d06ffc3ccaffcee8)
Signed-off-by: Scott Murray <[email protected]>
---
 recipes-gnome/librsvg/librsvg_2.61.3.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/recipes-gnome/librsvg/librsvg_2.61.3.bb b/recipes-gnome/librsvg/librsvg_2.61.3.bb
index a7494ac..cf8b1b6 100644
--- a/recipes-gnome/librsvg/librsvg_2.61.3.bb
+++ b/recipes-gnome/librsvg/librsvg_2.61.3.bb
@@ -11,7 +11,7 @@ LIC_FILES_CHKSUM = "file://COPYING.LIB;md5=4fbd65380cdd255951079008b364516c"
 
 SECTION = "x11/utils"
 DEPENDS = "cairo gdk-pixbuf glib-2.0 libxml2 pango python3-docutils-native cargo-native cargo-c-native"
-RDEPENDS:${PN}-ptest += "rsvg liberation-fonts"
+RDEPENDS:${PN}-ptest += "rsvg"
 BBCLASSEXTEND = "native nativesdk"
 
 inherit cargo_common gnomebase pixbufcache gobject-introspection rust vala gi-docgen cargo-update-recipe-crates ptest-cargo
-- 
2.55.0