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)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 7F27315800F for ; Tue, 24 Jan 2023 08:36:36 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 8CD9DE0794; Tue, 24 Jan 2023 08:36:35 +0000 (UTC) Received: from smtp.gentoo.org (mail.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (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 53E38E0794 for ; Tue, 24 Jan 2023 08:36:35 +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 5F0FA335DC1 for ; Tue, 24 Jan 2023 08:36:34 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id AE0F085B for ; Tue, 24 Jan 2023 08:36:32 +0000 (UTC) From: "Viorel Munteanu" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Viorel Munteanu" Message-ID: <1674549222.b05be1a0d5353156fb9463f4274c37b9418f86a7.ceamac@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: app-emulation/virtualbox/ X-VCS-Repository: repo/gentoo X-VCS-Files: app-emulation/virtualbox/virtualbox-7.0.6-r1.ebuild app-emulation/virtualbox/virtualbox-7.0.6.ebuild X-VCS-Directories: app-emulation/virtualbox/ X-VCS-Committer: ceamac X-VCS-Committer-Name: Viorel Munteanu X-VCS-Revision: b05be1a0d5353156fb9463f4274c37b9418f86a7 X-VCS-Branch: master Date: Tue, 24 Jan 2023 08:36:32 +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: ebd84267-76b7-43e9-b54c-5d32116c0243 X-Archives-Hash: d6bdf710077378af101c08076791cbb0 commit: b05be1a0d5353156fb9463f4274c37b9418f86a7 Author: Viorel Munteanu gentoo org> AuthorDate: Tue Jan 24 08:30:10 2023 +0000 Commit: Viorel Munteanu gentoo org> CommitDate: Tue Jan 24 08:33:42 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b05be1a0 app-emulation/virtualbox: Fix built-in help path Closes: https://bugs.gentoo.org/891879 Signed-off-by: Viorel Munteanu gentoo.org> ...{virtualbox-7.0.6.ebuild => virtualbox-7.0.6-r1.ebuild} | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) diff --git a/app-emulation/virtualbox/virtualbox-7.0.6.ebuild b/app-emulation/virtualbox/virtualbox-7.0.6-r1.ebuild similarity index 98% rename from app-emulation/virtualbox/virtualbox-7.0.6.ebuild rename to app-emulation/virtualbox/virtualbox-7.0.6-r1.ebuild index e3ca516962d2..2d0c9076e342 100644 --- a/app-emulation/virtualbox/virtualbox-7.0.6.ebuild +++ b/app-emulation/virtualbox/virtualbox-7.0.6-r1.ebuild @@ -224,6 +224,11 @@ pkg_pretend() { einfo "will have NLS support." fi + if use gui && ! use doc; then + einfo "You have disabled the \"doc\" USE flag. Built-in help" + einfo "will not be available." + fi + # 749273 local d=${ROOT} for i in usr "$(get_libdir)"; do @@ -320,6 +325,9 @@ src_prepare() { -e 's/→/\→/g' \ -e 's/↔/\↔/g' {} \+ || die + # fix help path #891879 + echo -e "\nVBOX_PATH_PACKAGE_DOCS=/usr/share/doc/${PF}" >> LocalConfig.kmk || die + # 489208 # Cannot patch the whole text, many translations. Use sed instead to replace the command find src/VBox/Frontends/VirtualBox/nls -name \*.ts -exec sed -i \ @@ -666,10 +674,8 @@ src_install() { fi if use doc; then - dodoc UserManual.pdf - docompress -x /usr/share/doc/${PF}/qt - docinto qt - dodoc UserManual.q{ch,hc} + dodoc UserManual.pdf UserManual.q{ch,hc} + docompress -x /usr/share/doc/${PF} fi if use python; then