From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 5F32E158009 for ; Sat, 24 Jun 2023 17:44:22 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 9B5E6E087A; Sat, 24 Jun 2023 17:44:21 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 7BFF9E07F2 for ; Sat, 24 Jun 2023 17:44:21 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 56A693408F9 for ; Sat, 24 Jun 2023 17:44:20 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 857D3A9E for ; Sat, 24 Jun 2023 17:44:18 +0000 (UTC) From: "Pacho Ramos" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Pacho Ramos" Message-ID: <1687627112.c7123582933445c4c4b9b9854652eb96793bb0e8.pacho@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: app-office/lyx/ X-VCS-Repository: repo/gentoo X-VCS-Files: app-office/lyx/lyx-2.3.7.ebuild X-VCS-Directories: app-office/lyx/ X-VCS-Committer: pacho X-VCS-Committer-Name: Pacho Ramos X-VCS-Revision: c7123582933445c4c4b9b9854652eb96793bb0e8 X-VCS-Branch: master Date: Sat, 24 Jun 2023 17:44:18 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 6d467e17-d748-4700-9401-d01bc5560f79 X-Archives-Hash: c48bc31e053eda77eca542969faa3a3d commit: c7123582933445c4c4b9b9854652eb96793bb0e8 Author: Pacho Ramos gentoo org> AuthorDate: Sat Jun 24 17:18:32 2023 +0000 Commit: Pacho Ramos gentoo 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 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