media-sound/denemo installs fonts without global fontcache updating results in sandbox violations on installation of some packages. Please, refer comment https://bugs.gentoo.org/812401#c10 from issue https://bugs.gentoo.org/812401 Proposed solution: inherit font.eclass to call implicitly update of global fontcache within pkg_postinst(). Reproducible: Always
I've fixed this, but found, that, when uninstalling the package, the font directories aren't properly cleaned. The .uuid files aren't deleted and therefore the non-empty directories not removed. Is this a bug in font.eclass?
(In reply to Bernd from comment #1) > I've fixed this, but found, that, when uninstalling the package, the font > directories aren't properly cleaned. The .uuid files aren't deleted and > therefore the non-empty directories not removed. Is this a bug in > font.eclass? Haven't looked in-depth but believe it is. Has code to remove (any) directories in postrm with "only generated files" but does not consider .uuid a generated file.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ab6037bafea4249cc2d7dfb41b045e2c3dd3e512 commit ab6037bafea4249cc2d7dfb41b045e2c3dd3e512 Author: Bernd Waibel <waebbl-gentoo@posteo.net> AuthorDate: 2021-11-02 19:51:39 +0000 Commit: Joonas Niilola <juippis@gentoo.org> CommitDate: 2021-11-12 13:03:56 +0000 media-sound/denemo: fix updating font-cache generation Calls fc-cache implicitly to update global fontcache for the installed truetype fonts. Closes: https://bugs.gentoo.org/821079 Package-Manager: Portage-3.0.28, Repoman-3.0.3 Signed-off-by: Bernd Waibel <waebbl-gentoo@posteo.net> Signed-off-by: Joonas Niilola <juippis@gentoo.org> media-sound/denemo/denemo-2.5.0-r1.ebuild | 123 ++++++++++++++++++++++++++++++ 1 file changed, 123 insertions(+)