ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: "amano.kenji via ntg-context" <ntg-context@ntg.nl>
To: Bruce Horrocks <ntg@scorecrow.com>
Cc: "amano.kenji" <amano.kenji@proton.me>,
	ntg-context mailing list <ntg-context@ntg.nl>
Subject: Re: How can I make a Gentoo Linux package for ConTeXt LMTX?
Date: Tue, 16 Aug 2022 11:43:46 +0000	[thread overview]
Message-ID: <ygT8fbfXeaBT9I-XVko3k3Cz9yhOeJkkVSwC_T920fq-j8KraOikLkp-NDCMm_XVKWPHyNTomU4SditRjC-5yHnPBzzA1DIenUeRnx5LS8A=@proton.me> (raw)
In-Reply-To: <C1B50DDC-442B-44C7-8A2B-1B071C99EC11@scorecrow.com>

Even if I put the installation in an archive and make a linux package that installs the archive, I still have to modify contextcnf.lua which isn't intended to handle differing system-wide installation paths of various POSIX-like operating systems.

And, I don't really know

* what the variables in contextcnf.lua mean and do.
* whether there is a way to override certain variables in contextcnf.lua with another file. A separate override file is going to make it easy for linux distributions to override certain variables in contextcnf.lua.

------- Original Message -------
On Monday, August 15th, 2022 at 5:00 PM, Bruce Horrocks <ntg@scorecrow.com> wrote:


> > On 15 Aug 2022, at 13:19, amano.kenji amano.kenji@proton.me wrote:
> >
> > I was trying to translate instructions in install.sh and dependencies of install.sh into shell commands in a Gentoo Linux package.
> >
> > Gentoo Linux downloads all dependencies and builds a package in a network namespace where there is no internet access.
>
>
> If you must use a Linux that makes life hard... ;-)
>
> I'm guessing you're trying to prepare ConTeXt for use in a private repository on a LAN so that your users can install it without needing Internet access?
>
> ConTeXt only depends on glibc (iirc) - and it assumes it is present already. So do an install on a machine that does have Internet access and everything you need will then be self-contained in the directory you chose to install into. Zip up that directory and use it for subsequent installs as many times as you want just by unzipping it - no further Internet access required.
>
> You'll need to set up the PATH for where you unzipped the file - but the install.sh file has the necessary information towards the end.
>
> Try it and see - it's not like typical modern bloatware that pulls down 100's of Gbytes of dependencies willy-nilly.
>
> > Thus, install.sh cannot be directly used in a gentoo linux package. I have to translate instructions used in install.sh into shell commands.
> >
> > How can I do that? Can I somehow execute mtx-install.lua, mtxrun.lua, or mtxrun in a way that doesn't require internet access?
> >
> > ------- Original Message -------
> > On Monday, August 15th, 2022 at 12:12 PM, Bruce Horrocks ntg@scorecrow.com wrote:
> >
> > > > On 15 Aug 2022, at 13:03, amano.kenji via ntg-context ntg-context@ntg.nl wrote:
> > > >
> > > > TexLive has texmfcnf.lua that doesn't really work with texlive-context installed by linux distributions.
> > > >
> > > > Arch Linux has its own patched version of texmfcnf.lua.
> > > >
> > > > It seems I'd be better off with a linux package for ConTeXt LMTX.
> > > >
> > > > How can I build and install ConTeXt LMTX on Gentoo Linux or any linux distribution?
> > > >
> > > > I wish it was as simple as ./configure, make, and make install.
> > >
> > > Install instructions for LMTX on Linux are here:
> > > https://wiki.contextgarden.net/Installation
> > >
> > > It's pre-built so there are no make steps.
> > >
> > > Try it and ask again if you have problems. :-)
> > >
> > > —
> > > Bruce Horrocks
> > > Hampshire, UK
>
>
> —
> Bruce Horrocks
> Hampshire, UK
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / https://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : https://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : https://contextgarden.net
___________________________________________________________________________________

  reply	other threads:[~2022-08-16 11:43 UTC|newest]

Thread overview: 40+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-08-15 12:03 amano.kenji via ntg-context
2022-08-15 12:12 ` Bruce Horrocks via ntg-context
2022-08-15 12:19   ` amano.kenji via ntg-context
2022-08-15 17:00     ` Bruce Horrocks via ntg-context
2022-08-16 11:43       ` amano.kenji via ntg-context [this message]
2022-08-16 16:02         ` Hans Hagen via ntg-context
2022-08-17 13:09           ` amano.kenji via ntg-context
2022-08-17 15:42             ` Hans Hagen via ntg-context
2022-08-18 12:32               ` amano.kenji via ntg-context
2022-08-18 12:56               ` amano.kenji via ntg-context
2022-08-18 13:16               ` Alan via ntg-context
2022-08-18 13:44                 ` amano.kenji via ntg-context
2022-08-18 13:53                 ` amano.kenji via ntg-context
2022-08-22 22:52                   ` Alan via ntg-context
2022-08-18 14:08                 ` amano.kenji via ntg-context
2022-08-18 17:16                   ` Hans Hagen via ntg-context
2022-08-19 12:51                     ` amano.kenji via ntg-context
2022-08-19 13:06                       ` Hans Hagen via ntg-context
2022-08-19 13:03                     ` amano.kenji via ntg-context
2022-08-19 13:11                       ` Hans Hagen via ntg-context
2022-08-19 13:18                         ` amano.kenji via ntg-context
2022-08-20  7:31                           ` Hans Hagen via ntg-context
2022-08-15 13:54   ` amano.kenji via ntg-context
2022-08-15 18:46     ` Alan Braslau via ntg-context
2022-08-16 11:35       ` amano.kenji via ntg-context
2022-08-21 19:13 ` Michal Vlasák via ntg-context
2022-08-22  9:41   ` amano.kenji via ntg-context
2022-08-23  1:11     ` Max Chernoff via ntg-context
2022-08-23 10:15       ` amano.kenji via ntg-context
2022-08-23 10:25       ` amano.kenji via ntg-context
2022-08-24 20:21       ` Michal Vlasák via ntg-context
2022-08-24 21:32         ` Hans Hagen via ntg-context
2022-08-25  0:00           ` Michal Vlasák via ntg-context
2022-08-23 19:13     ` Aditya Mahajan via ntg-context
2022-08-24 12:30       ` amano.kenji via ntg-context
2022-08-15 21:56 Max Chernoff via ntg-context
2022-08-16 11:28 ` amano.kenji via ntg-context
2022-08-18  0:51 Max Chernoff via ntg-context
2022-08-18  7:31 ` Hans Hagen via ntg-context
2022-08-18 12:00 ` Henning Hraban Ramm via ntg-context

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='ygT8fbfXeaBT9I-XVko3k3Cz9yhOeJkkVSwC_T920fq-j8KraOikLkp-NDCMm_XVKWPHyNTomU4SditRjC-5yHnPBzzA1DIenUeRnx5LS8A=@proton.me' \
    --to=ntg-context@ntg.nl \
    --cc=amano.kenji@proton.me \
    --cc=ntg@scorecrow.com \
    /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;
as well as URLs for NNTP newsgroup(s).