summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPacho Ramos <pacho@gentoo.org>2023-06-24 19:18:32 +0200
committerPacho Ramos <pacho@gentoo.org>2023-06-24 19:18:32 +0200
commitc7123582933445c4c4b9b9854652eb96793bb0e8 (patch)
treedb772bbcf2bf1283e353dde44b98795b898560d1 /app-office/lyx
parentsci-chemistry/pymol: Drop dev-libs/msgpack[cxx(-)] to workaround portage bug (diff)
downloadgentoo-c7123582933445c4c4b9b9854652eb96793bb0e8.tar.gz
gentoo-c7123582933445c4c4b9b9854652eb96793bb0e8.tar.bz2
gentoo-c7123582933445c4c4b9b9854652eb96793bb0e8.zip
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@gentoo.org>
Diffstat (limited to 'app-office/lyx')
-rw-r--r--app-office/lyx/lyx-2.3.7.ebuild9
1 files changed, 9 insertions, 0 deletions
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