Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 677666 - media-libs/openimageio-1.8.17 should use font.eclass
Summary: media-libs/openimageio-1.8.17 should use font.eclass
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Graphics Project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 679858
  Show dependency tree
 
Reported: 2019-02-10 16:02 UTC by Petr Cerny [:hrosik]
Modified: 2019-07-31 08:10 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Petr Cerny [:hrosik] 2019-02-10 16:02:34 UTC
media-libs/openimageio-1.8.17 doesn't run mkfontdir / mkfontscale on font directory it provides (/usr/share/fonts/OpenColorIO). The missing fonts.dir and fonts.scale files makes processes trying perform some font-relate actions to generate these. When this happens while emerging a package under sandbox, the emerge fails. Example of such package is dev-python/matplotlib with the 'doc' useflag on.

Solution: mkfontdir ${D}/usr/share/fonts/OpenImageIO && mkfontscale /usr/share/fonts/OpenImageIO - or something similar - before tarring up the temporary install tree or after installation (I don't know what is the right way of going about this is).
Comment 1 Sebastian Pipping gentoo-dev 2019-05-01 16:56:38 UTC
Could this be causing bug #679858?
Comment 2 Andreas Sturmlechner gentoo-dev 2019-07-07 17:47:22 UTC
This is no blocker because?
Comment 3 Larry the Git Cow gentoo-dev 2019-07-16 15:14:43 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c4f955e56cab7f4b309bd8efa40a9c84752de42f

commit c4f955e56cab7f4b309bd8efa40a9c84752de42f
Author:     Andreas Sturmlechner <asturm@gentoo.org>
AuthorDate: 2019-07-16 14:27:08 +0000
Commit:     Andreas Sturmlechner <asturm@gentoo.org>
CommitDate: 2019-07-16 15:14:19 +0000

    media-libs/openimageio: Disable installing bundled media-fonts/droid
    
    Closes: https://bugs.gentoo.org/677666
    Closes: https://bugs.gentoo.org/662118
    Package-Manager: Portage-2.3.69, Repoman-2.3.16
    Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>

 media-libs/openimageio/openimageio-1.8.17-r1.ebuild | 5 +++++
 1 file changed, 5 insertions(+)
Comment 4 Pacho Ramos gentoo-dev 2019-07-31 08:10:59 UTC
(In reply to Andreas Sturmlechner from comment #2)
> This is no blocker because?

the fonts handling was the same with the older stable version