public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Florian Schmaus" <flow@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-texlive/texlive-context/
Date: Tue, 23 Apr 2024 12:02:16 +0000 (UTC)	[thread overview]
Message-ID: <1713873704.492806073fd9e8d93c1623c824e222a24800309a.flow@gentoo> (raw)

commit:     492806073fd9e8d93c1623c824e222a24800309a
Author:     Florian Schmaus <flow <AT> gentoo <DOT> org>
AuthorDate: Tue Apr 23 10:49:56 2024 +0000
Commit:     Florian Schmaus <flow <AT> gentoo <DOT> 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 <flow <AT> 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,


             reply	other threads:[~2024-04-23 12:02 UTC|newest]

Thread overview: 34+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-04-23 12:02 Florian Schmaus [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-12-09  5:44 [gentoo-commits] repo/gentoo:master commit in: dev-texlive/texlive-context/ Arthur Zamarin
2024-12-06  9:13 Florian Schmaus
2024-11-29 11:46 Florian Schmaus
2024-08-10  5:27 Michał Górny
2024-08-09 18:07 Arthur Zamarin
2024-08-09  8:57 Sam James
2024-08-06  1:46 Sam James
2024-08-06  1:46 Sam James
2024-08-05 20:42 Sam James
2024-08-05 20:42 Sam James
2024-07-24  8:58 Florian Schmaus
2024-06-16  1:14 Sam James
2024-06-16  0:43 Sam James
2024-06-16  0:43 Sam James
2024-06-16  0:30 Sam James
2024-06-16  0:30 Sam James
2024-06-16  0:30 Sam James
2024-06-09  9:49 WANG Xuerui
2024-03-29 17:19 Florian Schmaus
2024-03-01 10:15 Florian Schmaus
2022-12-08  7:38 WANG Xuerui
2021-12-13 18:37 Arthur Zamarin
2021-04-15 19:29 Mikle Kolyada
2020-04-20  8:58 Mikle Kolyada
2020-01-19 17:56 Mikle Kolyada
2019-07-21 19:10 Mikle Kolyada
2018-07-21 12:25 Alexis Ballier
2018-03-25 11:45 Sergei Trofimovich
2018-03-21 22:15 Matt Turner
2018-03-15 17:18 Mikle Kolyada
2018-02-15  9:26 Jason Zaman
2017-06-08 15:21 Alexis Ballier
2015-12-06 20:02 Markus Meier

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1713873704.492806073fd9e8d93c1623c824e222a24800309a.flow@gentoo \
    --to=flow@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox