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 36FD1158064 for ; Tue, 30 Apr 2024 08:53:55 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id C56B9E2A31; Tue, 30 Apr 2024 08:53:53 +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)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 9BBBAE2A32 for ; Tue, 30 Apr 2024 08:53:53 +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 ACFCA343026 for ; Tue, 30 Apr 2024 08:53:52 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 043971797 for ; Tue, 30 Apr 2024 08:53:51 +0000 (UTC) From: "Florian Schmaus" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Florian Schmaus" Message-ID: <1714467099.3712036188bab4a9c8cbb5734879a8f573a31b3e.flow@gentoo> Subject: [gentoo-commits] proj/tex-overlay:main commit in: eclass/ X-VCS-Repository: proj/tex-overlay X-VCS-Files: eclass/texlive-module.eclass X-VCS-Directories: eclass/ X-VCS-Committer: flow X-VCS-Committer-Name: Florian Schmaus X-VCS-Revision: 3712036188bab4a9c8cbb5734879a8f573a31b3e X-VCS-Branch: main Date: Tue, 30 Apr 2024 08:53:51 +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: 3a244244-51fd-4b36-a0ea-2ecf4beaf2b1 X-Archives-Hash: b1daeeed18cf57feb619be17cc145e72 commit: 3712036188bab4a9c8cbb5734879a8f573a31b3e Author: Florian Schmaus gentoo org> AuthorDate: Tue Apr 30 08:51:25 2024 +0000 Commit: Florian Schmaus gentoo org> CommitDate: Tue Apr 30 08:51:39 2024 +0000 URL: https://gitweb.gentoo.org/proj/tex-overlay.git/commit/?id=37120361 texlive-module.eclass: install man pages in right location The TeX Live packages under dev-texlive/* currently do not install the man pages in the right location. They are under /usr/share/texmf-dist/doc/man. Install them at the right location using doman. Signed-off-by: Florian Schmaus gentoo.org> eclass/texlive-module.eclass | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/eclass/texlive-module.eclass b/eclass/texlive-module.eclass index 401b75b..11d869a 100644 --- a/eclass/texlive-module.eclass +++ b/eclass/texlive-module.eclass @@ -79,7 +79,7 @@ esac if [[ -z ${_TEXLIVE_MODULE_ECLASS} ]]; then _TEXLIVE_MODULE_ECLASS=1 -inherit texlive-common +inherit estack texlive-common HOMEPAGE="https://www.tug.org/texlive/" @@ -359,6 +359,16 @@ texlive-module_src_install() { if [[ -d texmf-doc ]]; then cp -pR texmf-doc "${ED}/usr/share/" || die fi + + if ver_test -ge 2023 && [[ ${CATEGORY} == dev-texlive ]]; then + eshopts_push -s nullglob + local man_page + for man_page in texmf-dist/doc/man/man[1-8]/*.[1-8]; do + doman "${man_page}" + rm "${man_page}" || die + done + eshopts_pop + fi else if [[ -d texmf-dist/doc ]]; then rm -rf texmf-dist/doc || die