diff options
authorMart Raudsepp <>2020-08-02 11:24:55 +0300
committerMart Raudsepp <>2020-08-02 11:26:24 +0300
commitf089c65c66018d722857a2f1aacc6dd8b02d9d44 (patch)
tree0de3de9030350c3976a6ad20a6ad1d5cb1ae69d6 /x11-themes/adwaita-icon-theme
parentpackage.mask: Last rite dev-python/mox (diff)
x11-themes/adwaita-icon-theme: add warning when building against old librsvg
Building with old non-rust librsvg will result in broken symbolic PNG files being generated at buildtime, and many broken scalable icons at runtime. However hard requiring a newer librsvg would enter a big de-keywording cascade for architectures without rust - so warn instead for now and prefer broken-looking icons instead of losing it completely for these architectures, at least for the time being. Bug: Package-Manager: Portage-2.3.84, Repoman-2.3.20 Signed-off-by: Mart Raudsepp <>
Diffstat (limited to 'x11-themes/adwaita-icon-theme')
1 files changed, 8 insertions, 0 deletions
diff --git a/x11-themes/adwaita-icon-theme/adwaita-icon-theme-3.36.1.ebuild b/x11-themes/adwaita-icon-theme/adwaita-icon-theme-3.36.1.ebuild
index e203c8b5257..8628545b95a 100644
--- a/x11-themes/adwaita-icon-theme/adwaita-icon-theme-3.36.1.ebuild
+++ b/x11-themes/adwaita-icon-theme/adwaita-icon-theme-3.36.1.ebuild
@@ -51,5 +51,13 @@ src_prepare() {
src_configure() {
+ # less than 2.45 being a problem is just a guess, but we didn't carry anything between 2.40 and 2.48 in main tree
+ if has_version '<gnome-base/librsvg-2.45:2'; then
+ ewarn "You are building ${CATEGORY}/${PN} against an older"
+ ewarn "gnome-base/librsvg, which will result in various broken symbolic icons until"
+ ewarn "rebuild with newer librsvg, and misrendering of scalable icons at runtime"
+ ewarn "until gnome-base/librsvg is upgraded!"
+ fi
gnome2_src_configure GTK_UPDATE_ICON_CACHE=$(type -P true)