A month ago, I filed bug https://bugs.gentoo.org/712374 , which is still UNCONFIRMED. According to https://gitlab.gnome.org/GNOME/pango/-/blob/master/README.md : To use the Free Software stack backend, Pango depends on the following libraries: - [FontConfig](https://www.fontconfig.org) for font discovery, - [FreeType](https://www.freetype.org) for font access, - [HarfBuzz](http://www.harfbuzz.org) for complex text shaping - [fribidi](http://fribidi.org) for bidirectional text handling but media-libs/freetype ebuild has optional harfbuzz support. I believe x11-libs/pango should have media-libs/freetype[harfbuzz,png,${MULTILIB_USEDEP}] in DEPEND or otherwise bad things happen. This solves bug 712374.
Thanks for figuring that out!
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=390b2d03f557be7f6e8f45bfc1a6b7fe25aaf049 commit 390b2d03f557be7f6e8f45bfc1a6b7fe25aaf049 Author: Matt Turner <mattst88@gentoo.org> AuthorDate: 2021-07-04 17:57:53 +0000 Commit: Matt Turner <mattst88@gentoo.org> CommitDate: 2021-07-04 18:13:00 +0000 x11-libs/pango: Version bump to 1.48.7 * Depend on media-libs/freetype with USE="harfbuzz png" (bugs #712374, #717380) Closes: https://bugs.gentoo.org/712374 Closes: https://bugs.gentoo.org/717380 Signed-off-by: Matt Turner <mattst88@gentoo.org> profiles/arch/riscv/package.use.mask | 1 - x11-libs/pango/Manifest | 1 + x11-libs/pango/pango-1.48.7.ebuild | 83 ++++++++++++++++++++++++++++++++++++ 3 files changed, 84 insertions(+), 1 deletion(-)
Created attachment 724105 [details] test pango-view both before/after USE=harfbuzz applied Seems wrong to me. I get the same image both before and after changing the USE flag... and due to WINE needing 32-bit pango, now I have to also have 32-bit of all these additional deps too :/ It'd be one thing if it was actually required, but is there any reason to think that?
The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0aa556416160e9ad6bafd733a64789627f36f1b2 commit 0aa556416160e9ad6bafd733a64789627f36f1b2 Author: Andreas K. Hüttel <dilfridge@gentoo.org> AuthorDate: 2021-11-01 20:40:54 +0000 Commit: Andreas K. Hüttel <dilfridge@gentoo.org> CommitDate: 2021-11-01 20:41:08 +0000 x11-libs/pango: Do NOT depend on freetype[harfbuzz,png] anymore This caused ugly circular dependencies between harfbuzz and freetype on just about every initial installation. Minor font rendering issues accompanied by a warning are an acceptable tradeoff. Discussed in detail in releng team Bug: https://bugs.gentoo.org/712374 Bug: https://bugs.gentoo.org/717380 Bug: https://bugs.gentoo.org/813504 Package-Manager: Portage-3.0.28, Repoman-3.0.3 Signed-off-by: Andreas K. Hüttel <dilfridge@gentoo.org> .../pango/{pango-1.48.10.ebuild => pango-1.48.10-r1.ebuild} | 11 ++++++++++- .../pango/{pango-1.48.7-r1.ebuild => pango-1.48.7-r2.ebuild} | 11 ++++++++++- 2 files changed, 20 insertions(+), 2 deletions(-)