From 7e51909ef57423ef3f627505a97d14b596608928 Mon Sep 17 00:00:00 2001 From: Gabriel Valcazar Date: Thu, 9 Jan 2025 11:32:54 +0100 Subject: [PATCH] adwaita-icon-theme: remove outdated dependency with librsvg-native The dependency was added in the recipe for adwaita-icon-theme v3.30.1, back in poky commit 2ad84e129652, because that version of the package required librsvg to convert SVG files to PNG. In recent versions, this is no longer the case, and removing the dependency has no effect on the package's contents (they are identical with or without the dependency). Since librsvg-native is the only package in our ccimx6ul/x11 images that depends on rust, remove this dependency to prevent bitbake from generating the rust compiler, reducing build overhead. Signed-off-by: Gabriel Valcazar --- .../recipes-gnome/gnome/adwaita-icon-theme_%.bbappend | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/meta-digi-dey/recipes-gnome/gnome/adwaita-icon-theme_%.bbappend b/meta-digi-dey/recipes-gnome/gnome/adwaita-icon-theme_%.bbappend index 29d871b05..48d9cea95 100644 --- a/meta-digi-dey/recipes-gnome/gnome/adwaita-icon-theme_%.bbappend +++ b/meta-digi-dey/recipes-gnome/gnome/adwaita-icon-theme_%.bbappend @@ -1,4 +1,4 @@ -# Copyright (C) 2019, Digi International Inc. +# Copyright (C) 2019-2025, Digi International Inc. do_install:append() { # We don't use the scalable icons anywhere and they take up over @@ -7,3 +7,10 @@ do_install:append() { } FILES:${PN}-symbolic:remove = "${prefix}/share/icons/Adwaita/scalable/*/*-symbolic*.svg" + +# librsvg-native was needed in previous versions of adwaita-icon-theme, which +# used gtk-encode-symbolic-svg to create PNG versions of SVG files. This is no +# longer the case and the dependency can be removed without consequence. +# In turn, this removes the only dependency with Rust in ccimx6ul/x11 images, +# reducing build time overhead. +DEPENDS:remove = "librsvg-native"