commit: c7123582933445c4c4b9b9854652eb96793bb0e8 Author: Pacho Ramos <pacho <AT> gentoo <DOT> org> AuthorDate: Sat Jun 24 17:18:32 2023 +0000 Commit: Pacho Ramos <pacho <AT> gentoo <DOT> org> CommitDate: Sat Jun 24 17:18:32 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c7123582
app-office/lyx: Warn people upgrading from stable about new optional dep Otherwise they will likely get the dep depcleaned and start seeing some files failing to compile due to missing fonts. Bug: https://bugs.gentoo.org/907288 Signed-off-by: Pacho Ramos <pacho <AT> gentoo.org> app-office/lyx/lyx-2.3.7.ebuild | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/app-office/lyx/lyx-2.3.7.ebuild b/app-office/lyx/lyx-2.3.7.ebuild index b0c0d78d5162..a032dc4b7911 100644 --- a/app-office/lyx/lyx-2.3.7.ebuild +++ b/app-office/lyx/lyx-2.3.7.ebuild @@ -154,6 +154,15 @@ src_install() { fi } +pkg_preinst() { + # Workaround https://bugs.gentoo.org/907288 + if has_version "<${CATEGORY}/${PN}-2.3.7"; then + ewarn "dev-texlive/texlive-fontsextra is now an optional dependency" + ewarn "If you need these fonts, you will need to manually install" + ewarn "them." + fi +} + pkg_postinst() { font_pkg_postinst xdg_icon_cache_update
