Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 717380 - x11-libs/pango missing dependencies
Summary: x11-libs/pango missing dependencies
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Linux Gnome Desktop Team
URL: https://gitlab.gnome.org/GNOME/pango
Whiteboard:
Keywords: EBUILD
Depends on:
Blocks: 712374
  Show dependency tree
 
Reported: 2020-04-14 01:43 UTC by Othremgliz
Modified: 2021-11-01 20:41 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
test pango-view both before/after USE=harfbuzz applied (pango1.png,2.40 KB, image/png)
2021-07-16 05:36 UTC, Luke-Jr
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Othremgliz 2020-04-14 01:43:09 UTC
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.
Comment 1 Matt Turner gentoo-dev 2021-07-04 18:10:02 UTC
Thanks for figuring that out!
Comment 2 Larry the Git Cow gentoo-dev 2021-07-04 18:24:32 UTC
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(-)
Comment 3 Luke-Jr 2021-07-16 05:36:17 UTC
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?
Comment 4 Larry the Git Cow gentoo-dev 2021-11-01 20:41:20 UTC
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(-)