ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Re: How can I make a Gentoo Linux package for ConTeXt LMTX?
@ 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
  0 siblings, 2 replies; 40+ messages in thread
From: Max Chernoff via ntg-context @ 2022-08-18  0:51 UTC (permalink / raw)
  To: ntg-context; +Cc: Max Chernoff

> 
Hi Amano(?), Hans

> > Can you make it easier to make an OS package for ConTeXt LMTX by
> > releasing versioned (source) archives, including BUILD/INSTALL
> > instructions in the versioned archives, and so on? I wish I could just
> > extract a versioned binary archive into certain locations or use GNU
> > autotools or use meson build system which is far better than GNU
> > autotools.
> 
> there is a github repository for the tex stuff 

For reference, the GitHub repository is at:

   https://github.com/contextgarden/context-mirror/
   
It's semi-official mirror, but the authoritative source is the zips hosted
by Pragma. 

> and have no experience 
> with all that versioning / release / os packaging stuff (couldn't test
> it anyway and continuously adapt to teh subtle differences in 
> distributions and os's) ... we just post zips (already for decades) but 
> anyone is free to come up with such instructions (e.g. aditya did some
> for arch)
> 
> anyway, lmtx is still kind of experimental and at some point 
> installation will move to the garden (not much is needed, just a web 
> server) and the packaging scripts are / will be in the distribution  .. 
> there are no dependencies (and we keep it that way: self contained bins)
> 
> sorry, i just can't spent time on all the possible variant ways of 
> installation .. that is up to volunteers

I think all that Amano is asking for is for older versions of the
zips/binaries to be kept available. Right now, the only files available
for download that I'm aware of are the latest versions.

This is problematic from a reproducibility standpoint, since if you have
multiple people, say, writing a large textbook, it would make sense that
they wouldn't want to upgrade their systems constantly in case something
breaks. These people can easily just avoid upgrades, but if someone new
joins the team, they can only download the newest version. However, that
won't necessarily match the older version that everyone else has, which
can lead to problems.

Having older versions available would also help in the case of major
short-term regressions, since users would be able to (manually)
downgrade to an older version if necessary. 

An easy solution to this would be the following: instead of overwriting
the whole "/install-lmtx/" tree on every update, you would install all
the new files to something like "/install-lmtx-2022-08-07/", then have
"/install-lmtx/" be a symlink to the latest "/install-lmtx-YYYY-MM-DD/".
I don't think that this would be very hard to implement from a technical
perspective, and the only downside that I can think of would be extra
disk space used. This is a fairly common implementation among other
software.

One other solution would be to have "dl.contextgarden.net" mirror a
zip/binary combo once every few months or so. These would often be out
of date, but they would provide a stable archive that would be useful in
cases like this.

This is just a suggestion though; it's not something that I personally
need, although I see how it could be potentially valuable for others.

Thanks,
-- Max
___________________________________________________________________________________
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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 40+ messages in thread
* Re: How can I make a Gentoo Linux package for ConTeXt LMTX?
@ 2022-08-15 21:56 Max Chernoff via ntg-context
  2022-08-16 11:28 ` amano.kenji via ntg-context
  0 siblings, 1 reply; 40+ messages in thread
From: Max Chernoff via ntg-context @ 2022-08-15 21:56 UTC (permalink / raw)
  To: ntg-context; +Cc: Max Chernoff

Okay, I'm seeing a few separate issues here.

1. Gentoo expects to compile everything from source.

   This isn't an option here since LuaMetaTeX doesn't have any source
   available (yet). So for the time being, you'll need to use the provided
   binaries. These support pretty much every architecture, so this
   shouldn't really be a problem.

2. You want to install ConTeXt LMTX system-wide.

   This is doable with the standard Linux installer script. Just make sure
   to run the script as root and install the files in /opt/context. This is
   what I've done on my system, and it works quite well. 
   
      $ ls -l $(type -p context)
      lrwxrwxrwx. 1 root root 10 Jul 28 00:33 /opt/context/tex/texmf-linux-64/bin/context -> luametatex*
      
3. You want to install ConTeXt without any network access.

   The easiest way to do this would be to install on a system with
   internet, then just copy over the files. 
   
   If you want to use the "original" installer files, it shouldn't be
   impossible, but probably not too easy either. (All steps below are
   untested)
   
   The platform-independent stuff is all in one big zip, located at:
   
      http://lmtx.pragma-ade.nl/install-lmtx/texmf-context.zip
      
   Unzip this file as "<context root>/tex/texmf-context/".
      
   Then you also need to download all of the binaries. You will need to
   download all of the paths listed in this file:
   
      http://lmtx.pragma-ade.nl/install-lmtx/tex/texmf-linux-64.tma
      
   All of those files need to be placed in "<context root>/tex/texmf-linux-
   64/bin".
   
   Then to finish installing you'll need to run "mtxrun --generate" and
   "context --make". There are probably a bunch of other steps that I'm
   missing, but this should get you close.
   
   Again, probably easier to just use the regular installer.

4. ConTeXt is really picky about texmfcnf stuff.

   This is an issue that I've had too:
   
      https://github.com/latex3/l3build/issues/232
   
   Pretty much any modification of anything texmfcnf-related with ConTeXt
   will completely prevent it from running. There's a thread discussing the
   problem (but with no real solutions) here:
   
      https://tug.org/pipermail/tex-live/2020-September/046099.html
      
   And a Wiki page here:
   
      https://wiki.contextgarden.net/Custom_Configuration
      
   I agree that this texmfcnf stuff makes it really difficult to install or
   use ConTeXt with any kind of custom paths. Does anyone know how to
   properly configure a texmfcnf with custom paths?
   
Hopefully this is of some help.
-- Max
___________________________________________________________________________________
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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 40+ messages in thread
* How can I make a Gentoo Linux package for ConTeXt LMTX?
@ 2022-08-15 12:03 amano.kenji via ntg-context
  2022-08-15 12:12 ` Bruce Horrocks via ntg-context
  2022-08-21 19:13 ` Michal Vlasák via ntg-context
  0 siblings, 2 replies; 40+ messages in thread
From: amano.kenji via ntg-context @ 2022-08-15 12:03 UTC (permalink / raw)
  To: mailing list for ConTeXt users; +Cc: amano.kenji

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.
___________________________________________________________________________________
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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 40+ messages in thread

end of thread, other threads:[~2022-08-25  0:00 UTC | newest]

Thread overview: 40+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-08-18  0:51 How can I make a Gentoo Linux package for ConTeXt LMTX? 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
  -- strict thread matches above, loose matches on Subject: below --
2022-08-15 21:56 Max Chernoff via ntg-context
2022-08-16 11:28 ` amano.kenji via ntg-context
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
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

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).