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 363661581E7 for ; Tue, 23 Apr 2024 12:02:20 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 81F1BE29ED; Tue, 23 Apr 2024 12:02:19 +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 642DAE29ED for ; Tue, 23 Apr 2024 12:02:19 +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 4785C34328F for ; Tue, 23 Apr 2024 12:02:18 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 94BF3171D for ; Tue, 23 Apr 2024 12:02:16 +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: <1713873704.492806073fd9e8d93c1623c824e222a24800309a.flow@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-texlive/texlive-context/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-texlive/texlive-context/texlive-context-2023_p69108-r1.ebuild dev-texlive/texlive-context/texlive-context-2023_p69108-r2.ebuild X-VCS-Directories: dev-texlive/texlive-context/ X-VCS-Committer: flow X-VCS-Committer-Name: Florian Schmaus X-VCS-Revision: 492806073fd9e8d93c1623c824e222a24800309a X-VCS-Branch: master Date: Tue, 23 Apr 2024 12:02:16 +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: ee789549-a150-41c6-b001-27905e1489b5 X-Archives-Hash: ba843faca992e8cd2dd4c56a043dc8ad commit: 492806073fd9e8d93c1623c824e222a24800309a Author: Florian Schmaus gentoo org> AuthorDate: Tue Apr 23 10:49:56 2024 +0000 Commit: Florian Schmaus gentoo org> CommitDate: Tue Apr 23 12:01:44 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=49280607 dev-texlive/texlive-context: install context scripts Closes: https://bugs.gentoo.org/930400 Signed-off-by: Florian Schmaus gentoo.org> ...build => texlive-context-2023_p69108-r2.ebuild} | 26 ++++++++++++++++++++++ 1 file changed, 26 insertions(+) diff --git a/dev-texlive/texlive-context/texlive-context-2023_p69108-r1.ebuild b/dev-texlive/texlive-context/texlive-context-2023_p69108-r2.ebuild similarity index 78% rename from dev-texlive/texlive-context/texlive-context-2023_p69108-r1.ebuild rename to dev-texlive/texlive-context/texlive-context-2023_p69108-r2.ebuild index 2619f7d82809..3c02f6e2eb0c 100644 --- a/dev-texlive/texlive-context/texlive-context-2023_p69108-r1.ebuild +++ b/dev-texlive/texlive-context/texlive-context-2023_p69108-r2.ebuild @@ -74,12 +74,38 @@ DEPEND=" >=app-text/texlive-core-2023[xetex,luajittex?] " +TEXLIVE_MODULE_BINSCRIPTS=" + texmf-dist/scripts/context/stubs-mkiv/unix/contextjit + texmf-dist/scripts/context/stubs-mkiv/unix/luatools + texmf-dist/scripts/context/stubs-mkiv/unix/mtxrunjit + + texmf-dist/scripts/context/stubs/unix/texexec + texmf-dist/scripts/context/stubs/unix/texmfstart +" + src_prepare() { default # No need to install these .exe rm -rf texmf-dist/scripts/context/stubs/{mswin,win64} || die } +src_install() { + texlive-module_src_install + + local mtxrun=/usr/share/texmf-dist/scripts/context/lua/mtxrun.lua + fperms 755 "${mtxrun}" + newbin - mtxrun <<-EOF + #!/bin/sh + export TEXMF_DIST="${EPREFIX}/usr/share/texmf-dist" + exec ${mtxrun} "\$@" +EOF + + newbin - context <<-EOF + #!/bin/sh + exec mtxrun --script context "\$@" +EOF +} + TL_MODULE_INFORMATION="For using ConTeXt mkII simply use 'texexec' to generate your documents. If you plan to use mkIV and its 'context' command to generate your documents,