commit:     e08def2de3c9786112288791fb6db4f7188a2827
Author:     Sergey Torokhov <torokhov-s-a <AT> yandex <DOT> ru>
AuthorDate: Thu Sep 30 21:40:56 2021 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sun Oct 31 02:50:05 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e08def2d

dev-texlive/texlive-xetex: Force run fc-cache to populate .uuid files

Force additional run of fc-cache in ppkg_postinst() to populate .uuid files
in non-standard font dirs listed in 09-texlive.conf.

Closes: https://bugs.gentoo.org/812401

Signed-off-by: Sergey Torokhov <torokhov-s-a <AT> yandex.ru>
Closes: https://github.com/gentoo/gentoo/pull/22451
Signed-off-by: Sam James <sam <AT> gentoo.org>

 .../{texlive-xetex-2021.ebuild => texlive-xetex-2021-r1.ebuild}      | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/dev-texlive/texlive-xetex/texlive-xetex-2021.ebuild 
b/dev-texlive/texlive-xetex/texlive-xetex-2021-r1.ebuild
similarity index 90%
rename from dev-texlive/texlive-xetex/texlive-xetex-2021.ebuild
rename to dev-texlive/texlive-xetex/texlive-xetex-2021-r1.ebuild
index 363be158c44..d8f6a34d432 100644
--- a/dev-texlive/texlive-xetex/texlive-xetex-2021.ebuild
+++ b/dev-texlive/texlive-xetex/texlive-xetex-2021-r1.ebuild
@@ -32,6 +32,11 @@ src_install() {
 pkg_postinst() {
        texlive-module_pkg_postinst
        font_pkg_postinst
+
+       # Force additional run of fc-cache to populate .uuid files
+       # in non-standard font dirs listed in 09-texlive.conf
+       # Bug: 812401
+       fc-cache -fs "${EROOT}"/usr/share/texmf-dist/fonts/opentype 
"${EROOT}"/usr/share/texmf-dist/fonts/truetype
 }
 
 pkg_postrm() {

Reply via email to