Re: [oi-dev] texlive package

2021-02-19 Thread s...@pandora.be


The Hipster handbook has in its community contributed section now somes notes 
on TeXLive,
which I submitted last week:

http://docs.openindiana.org/handbook/community/texlive/index.html

Although that this is not giving an IPS package that a system "pkg update" will 
update,
it gives an interesting and full (very complete) TeX environment, which can be 
updated with "tlmgr update".

The good thing is that the TeX experts like Karl Berry and Norbert Preining are 
aware now of this.

Other TeX related improvements or contributions are welcome of course in the 
TeX project on OpenIndiana github,
but the above (TeXLive full feature) is nice, because any bugs / support issues 
can go to the TUG / TeX team directly.

Regards,
David Stes

___
oi-dev mailing list
oi-dev@openindiana.org
https://openindiana.org/mailman/listinfo/oi-dev


Re: [oi-dev] texlive package

2021-02-06 Thread s...@pandora.be



I'm creating a "pull request" for the OI documentation,
for some notes on "TeX Live on OpenIndiana", which I've just written.

TeX Live seems to be the most complete distribution,
and the fact that it can be installed is of course excellent.


The first step for a "TeXLive" package is documentation on the current 
possibilities.

If there's other work on TeX on OpenIndiana, or someone who wants to contribute 
something,
it would be still a good idea to put it under the Github "TeX project" on 
OpenIndiana.

Regards,
David Stes

___
oi-dev mailing list
oi-dev@openindiana.org
https://openindiana.org/mailman/listinfo/oi-dev


Re: [oi-dev] texlive package

2021-02-02 Thread s...@pandora.be

- Op 2 feb 2021 om 13:44 schreef Aurélien Larcher 
aurelien.larc...@gmail.com:
> 
> Hi David,
> let me know if you need help with testing.
> 
> Also I added you as a reviewer to the project, you should be able to edit the
> "TeX Project" page.
> 
> Kind regards,

I'll think about adding some documentation about running TeX Live on 
OpenIndiana.

Perhaps in the "Community contributed" section of the OpenIndiana manual,
I'll see whether I can write some notes on it next week.

As Volker Brandt pointed out - using the install-tl Perl script to install TeX 
Live from TUG,
is equivalent to just downloading that script and running it on OpenIndiana.

The support must come then from TUG or TeXlive.

The good news is that the install-tl TeX Live installer works fine.

Also it is possible to update the TeX Live installation with:

   tlmgr update --all

So the TLMGR is a package management solution (cross - platform) from 
TUG/TeXLive to manage TeXLive installations.

Basically I think now that it's mostly about documenting in the OpenIndiana 
manual,
that this works and is possible.

So the TeX Project at github remains valuable but the deliverable is not 
necessarily a package,
but could also be just some documentation.

On the positive side  I think a TLMGR managed installation of TeX Live would be 
ideal for high-end TeX users who want control over their TeX installation.

The TLMGR is a package management solution specifically for managing all sorts 
of TeX packages such as macro packages.

David Stes

___
oi-dev mailing list
oi-dev@openindiana.org
https://openindiana.org/mailman/listinfo/oi-dev


Re: [oi-dev] texlive package

2021-02-02 Thread Aurélien Larcher
On Fri, Jan 29, 2021 at 1:07 PM s...@pandora.be  wrote:

>
> One of the possible ways to install latex is :
>
>   pkg install texlive  (to get the meta-packages/texlive package)
>
> Then run
>
>   install-tl --profile latex.profile
>
> where latex.profile is the profile for LaTeX.
>
> This has the nice feature that it is possible to make "symbolic links"
> from the /usr/texlive/2020 directory to /usr/bin.
> So that you get the /usr/bin/tex, /usr/bin/latex etc.
>
> Another way could be to use:
>
>   pkg install latex
>
> which is built on the build server by the texlive framework;
>
> The build server can run the TeX installer on the prototype area (as build
> user).
>
> There still is a pkgmogrify error but the manifest could be more or less
> OK:
>
>  components/text/latex/Makefile
>  components/text/latex/latex.p5m
>  components/text/latex/latex.profile
>  components/text/latex/manifests/sample-manifest.p5m
>  components/text/latex/texlive.profile
>  make-rules/texlive.mk
>
> where in the latex directory the texlive.profile is used for the
> install-tl.
>
> This way it only downloads the required components, in order to get a
> small latex package.
>

Hi David,
let me know if you need help with testing.

Also I added you as a reviewer to the project, you should be able to edit
the "TeX Project" page.

Kind regards,

Aurélien


> David Stes
>
> ___
> oi-dev mailing list
> oi-dev@openindiana.org
> https://openindiana.org/mailman/listinfo/oi-dev
>


-- 
---
Praise the Caffeine embeddings
___
oi-dev mailing list
oi-dev@openindiana.org
https://openindiana.org/mailman/listinfo/oi-dev


Re: [oi-dev] texlive package

2021-01-29 Thread s...@pandora.be


One of the possible ways to install latex is :

  pkg install texlive  (to get the meta-packages/texlive package)

Then run

  install-tl --profile latex.profile

where latex.profile is the profile for LaTeX.

This has the nice feature that it is possible to make "symbolic links" from the 
/usr/texlive/2020 directory to /usr/bin.
So that you get the /usr/bin/tex, /usr/bin/latex etc.

Another way could be to use:

  pkg install latex

which is built on the build server by the texlive framework;

The build server can run the TeX installer on the prototype area (as build 
user).

There still is a pkgmogrify error but the manifest could be more or less OK:

 components/text/latex/Makefile
 components/text/latex/latex.p5m
 components/text/latex/latex.profile
 components/text/latex/manifests/sample-manifest.p5m
 components/text/latex/texlive.profile
 make-rules/texlive.mk

where in the latex directory the texlive.profile is used for the install-tl.

This way it only downloads the required components, in order to get a small 
latex package.

David Stes

___
oi-dev mailing list
oi-dev@openindiana.org
https://openindiana.org/mailman/listinfo/oi-dev


Re: [oi-dev] texlive package

2021-01-28 Thread s...@pandora.be


I don't question the need to use IPS to deliver binaries;

install-tl and TLMGR although they are in some sense a competing package 
manager,
they are not necessarily a bad thing and 'competitor' to IPS.

The reason why I packaged install-tl is to produce a LaTeX IPS package.

So that I can do a simple : pkg install latex to get the basic binaries that 
are needed.

The choices that install-tl offers are:

 a [ ] full scheme (everything)
 b [ ] medium scheme (small + more packages and languages)
 c [ ] small scheme (basic + xetex, metapost, a few languages)
 d [ ] basic scheme (plain and latex)
 e [X] minimal scheme (plain only)
 f [ ] ConTeXt scheme
 g [ ] GUST TeX Live scheme
 h [ ] infrastructure-only scheme (no TeX at all)
 i [ ] teTeX scheme (more than medium, but nowhere near full)
 j [ ] custom selection of collections

install-tl could be used to fetch the sources.

Instead of building from a downloaded tarball,
install-tl can use as input a install-tl profile file (for a given choice).

Based on the minimal scheme,   a package "tex" can be created.

Based on a basic profile,  a package "latex" can be created.

Then for other historical distributions such as "tetex" the same thing.

David Stes

___
oi-dev mailing list
oi-dev@openindiana.org
https://openindiana.org/mailman/listinfo/oi-dev


Re: [oi-dev] texlive package

2021-01-28 Thread s...@pandora.be


Another step may be to create a new addition to oi-userland.

In the directory make-rules there are various .mk files.

That build framework (oi-userland) can be extended with a texlive.mk set of 
rules.

Those rules use the "install-tl" script for various profiles (minimal, basic, 
full etc.)
to populate the prototype area.

So instead of using install-tl to install into /usr/local,
using install-tl to install into prototype/usr/local

Based on the contents of the prototype/usr/local then various IPS packages can 
be built,
to directory install a minimal, basic, full installation.

I'll check with the mailing list specifically for discussion of TL integration 
in distros
at TUG.

It's perhaps more of a TUG issue, but it also has an IPS/OI dimension to it.

David Stes

___
oi-dev mailing list
oi-dev@openindiana.org
https://openindiana.org/mailman/listinfo/oi-dev


Re: [oi-dev] texlive package

2021-01-28 Thread s...@pandora.be


- Op 28 jan 2021 om 18:23 schreef Volker A. Brandt v...@bb-c.de:

> Absolutely.  As the IPS package includes everything, the TeXlive manager
> will be there as well, and can be run at any time.  It will change some
> files compared to their state in the IPS package database, which will
> create some leftover objects in /var/pkg/lost+found after an update.
> 
> It's not hard to do at all.  The effort is finding someone to do the
> actual work. :-)

Also the install-tl script could be patched to install in /usr,
instead of installing into /usr/local/texlive as it does by default
(this is certainly possible as it allows to change the destination directory). 

Maybe it installs then into the /usr/bin/ directory so that you don't have to 
set the PATH,
after the installation.

At the same time (but this will be a lot of work) an IPS package can be created,
which delivers the binaries, also for /usr/bin .

So that you basically have two package managers running on those binaries ...

Difficult but interesting, and perhaps it can be done.  You are right saying,
that it may create leftover objects and it can then be done (with 
/var/pkg/lost+found).

Most distro's choose for their 'native' package management.

As the webpage http://tug.org/texlive/distro.html says:

"System distributions all have their own packaging systems, so tlmgr is not 
used for TeX-related package updates by any distro that we know of."

However a tlmgr based approach makes sense a lot of sense for the high-end TeX 
users.

They may be hostile to IPS and may want to "own" the texlive distribution 
directories,
and control them themselves with the texlive package manager.

David Stes

___
oi-dev mailing list
oi-dev@openindiana.org
https://openindiana.org/mailman/listinfo/oi-dev


Re: [oi-dev] texlive package

2021-01-28 Thread Volker A. Brandt
Hi David!


Thanks for taking the time to think about TeX for OpenIndiana.

> The use of the TLMGR and TL package manager, may perhaps not be incompatible 
> with IPS.
>
> I've added a pull request on github for a 'texlive' package:
>
> NAME (PUBLISHER)  VERSION
> IFO
> meta-packages/texlive (userland)  1.0-2020.0.1.1 
> i--
>
> After installing that, you get the TeX live scripts to install TeX live:
>
> # pkg contents texlive
> PATH
> usr/share/install-tl-20210128/LICENSE.CTAN
> usr/share/install-tl-20210128/LICENSE.TL
> usr/share/install-tl-20210128/install-tl
> ...
>
> Then to run "perl install-tl" it installs the TeX live system,

I don't see any big win in packaging an installation tool.  There is no
difference to just downloading the installation tool directly, and just
running it on the system where TeX is to be installed.

The point is to have an IPS managed TeXlive environment that can be
installed and removed with a single command, respectively.  I do not
know anyone who updates their TeX installation in between the yearly
TeXlive releases.  If a new one comes out, just install it, then wait
another year.

I would prefer just to install everything as a preconfigured IPS package.
OmniOS already does that, except that it's a single huge package which
brings some disadvantages.

> And it may be possible to provide pre-packaged TeX distributions through IPS,
> (for the various schemes above) that can be maintained with TLMGR as well.

Absolutely.  As the IPS package includes everything, the TeXlive manager
will be there as well, and can be run at any time.  It will change some
files compared to their state in the IPS package database, which will
create some leftover objects in /var/pkg/lost+found after an update.

It's not hard to do at all.  The effort is finding someone to do the
actual work. :-)


Regards -- Volker
-- 

Volker A. BrandtConsulting and Support for Solaris-based Systems
Brandt & Brandt Computer GmbH   WWW: http://www.bb-c.de/
Am Wiesenpfad 6, 53340 Meckenheim, GERMANYEmail: v...@bb-c.de
Handelsregister: Amtsgericht Bonn, HRB 10513  Schuhgröße: 46
Geschäftsführer: Rainer J.H. Brandt und Volker A. Brandt

"When logic and proportion have fallen sloppy dead"

___
oi-dev mailing list
oi-dev@openindiana.org
https://openindiana.org/mailman/listinfo/oi-dev


Re: [oi-dev] texlive package

2021-01-28 Thread s...@pandora.be


The use of the TLMGR and TL package manager, may perhaps not be incompatible 
with IPS.

I've added a pull request on github for a 'texlive' package:

NAME (PUBLISHER)  VERSIONIFO
meta-packages/texlive (userland)  1.0-2020.0.1.1 i--

After installing that, you get the TeX live scripts to install TeX live:

# pkg contents texlive
PATH
usr/share/install-tl-20210128/LICENSE.CTAN
usr/share/install-tl-20210128/LICENSE.TL
usr/share/install-tl-20210128/install-tl
...

Then to run "perl install-tl" it installs the TeX live system,
which offers choices:

 a [ ] full scheme (everything)
 b [ ] medium scheme (small + more packages and languages)
 c [ ] small scheme (basic + xetex, metapost, a few languages)
 d [ ] basic scheme (plain and latex)
 e [X] minimal scheme (plain only)
 f [ ] ConTeXt scheme
 g [ ] GUST TeX Live scheme
 h [ ] infrastructure-only scheme (no TeX at all)
 i [ ] teTeX scheme (more than medium, but nowhere near full)
 j [ ] custom selection of collections

For the basic scheme it uses about 287 MB and for the minimal scheme 79.4 MB.

The TeX distribution needs  TLMGR (which is included) to be upgraded/maintained.

And it may be possible to provide pre-packaged TeX distributions through IPS,
(for the various schemes above) that can be maintained with TLMGR as well.

David Stes


___
oi-dev mailing list
oi-dev@openindiana.org
https://openindiana.org/mailman/listinfo/oi-dev


Re: [oi-dev] texlive package

2021-01-28 Thread s...@pandora.be


The texlive package could be in the "meta-packages" folder.

COMPONENT_NAME= texlive
COMPONENT_FMRI= metapackages/texlive

If the user then runs : pkg install texlive

You will get the install-tl script from TUG (for the tlpkg and tlmgr).

This then allows to run the installer for the TeX Live package manager.

If you use the "default" install directory and set the selected set of packages 
to "basic",
it ends up about :

# du -sh /usr/local/texlive/
287M/usr/local/texlive

So 287 MB is still acceptable for a basic install which has about all I need (I 
think).

David Stes

- Op 28 jan 2021 om 14:29 schreef Udo Grabowski (IMK) udo.grabow...@kit.edu:

> The average user will update his texlive installation about every
> two years since TeX is already very stable and doesn't need many
> fixes, so a one shot installer is the right choice here.
> 
> 
> ___
> oi-dev mailing list
> oi-dev@openindiana.org
> https://openindiana.org/mailman/listinfo/oi-dev

___
oi-dev mailing list
oi-dev@openindiana.org
https://openindiana.org/mailman/listinfo/oi-dev


Re: [oi-dev] texlive package

2021-01-28 Thread Udo Grabowski (IMK)

On 28.01.21 12:25, s...@pandora.be wrote:

...

I'll submit a PR (pull request) on github for the install-tl script.
...
The idea is that with their package manager (TLMGR) you can update and install 
texlive.

So basically with something like:

pkg install install-texlive

you use IPS to install a package that can install the texlive (via the network).
...
But since TeX with TUG and CTAN are very big communities, they claim to have / 
host 5000+ packages,
an approach which uses the TLMGR package manager may be the good approach,
so that you do not duplicate all of the TUG/CTAN packages in the OI repository.

The reason is that the TLMGR will then later support both advanced users and 
basic users (like myself).

Also I like the fact that the support of the texlive installation,
is then done by the TLMGR team, not by the OpenIndiana team.


Excellent idea ! I can confirm that the tlmgr installer works
like a charm on OI, and the combination of choices that advanced
users can produce are far too many to be handled with packages in OI.
The average user will update his texlive installation about every
two years since TeX is already very stable and doesn't need many
fixes, so a one shot installer is the right choice here.



smime.p7s
Description: S/MIME Cryptographic Signature
___
oi-dev mailing list
oi-dev@openindiana.org
https://openindiana.org/mailman/listinfo/oi-dev


Re: [oi-dev] texlive package

2021-01-28 Thread s...@pandora.be


- Op 27 jan 2021 om 19:13 schreef Andreas Wacknitz a.wackn...@gmx.de:

>> Would it be possible for someone who has the necessary permissions,
>> to open a project on github oi-userland called TeX ?
> Done.
> Now you have to fill it with (tex)life :D

I'll submit a PR (pull request) on github for the install-tl script.

Perhaps on Github it is possible to create Github "workflows" or Github 
'actions',
within the TeX project, to organize the Github TeX project.

The idea is that with their package manager (TLMGR) you can update and install 
texlive.

So basically with something like:

   pkg install install-texlive

you use IPS to install a package that can install the texlive (via the network).

You can then select either a full scheme, which requires 7 GB

 40 collections out of 41, disk space required: 7117 MB

or you can install a basic scheme

 a [ ] full scheme (everything)
 b [ ] medium scheme (small + more packages and languages)
 c [ ] small scheme (basic + xetex, metapost, a few languages)
 d [X] basic scheme (plain and latex)
 e [ ] minimal scheme (plain only)
 f [ ] ConTeXt scheme


The difficulty will be to then later see how IPS interoperates with TLMGR.

Basically you have 2 package managers : IPS and TL (texlive).

But since TeX with TUG and CTAN are very big communities, they claim to have / 
host 5000+ packages,
an approach which uses the TLMGR package manager may be the good approach,
so that you do not duplicate all of the TUG/CTAN packages in the OI repository.

The reason is that the TLMGR will then later support both advanced users and 
basic users (like myself).

Also I like the fact that the support of the texlive installation,
is then done by the TLMGR team, not by the OpenIndiana team.

David Stes

___
oi-dev mailing list
oi-dev@openindiana.org
https://openindiana.org/mailman/listinfo/oi-dev


Re: [oi-dev] texlive package

2021-01-27 Thread s...@pandora.be


Some people already said that they have their TeX packages;
maybe they can contribute them.

Also the Debian Linux "Sciences" team may have Perl scripts (or other scripts)
to classify the files.

Also for example at Slackware

https://mirrors.slackware.com/slackware/slackware64-current/slackware64/t/

in the t  (tex) series they have a 76 MB package.

https://mirrors.slackware.com/slackware/slackware64-current/slackware64/t/texlive-2020.200608-x86_64-3.txt

texlive: This package contains binaries, support files, TeX formats and
texlive: packages, and other files included in the TeXLive TeX distribution.
texlive: Included are input files for TeX, runtime configuration files,
texlive: hyphenation tables, manpages, and the computer modern fonts.
texlive:
texlive: SlackBuilds.org has more texmf files and documentation in the
texlive: texlive-extra and texlive-docs packages.


So basically the entire TeXlive distribution must be divided in smaller 
packages,
like texlive-extra , texlive-docs, etc.

In order to have a small package to start with for casual TeX users,
and also provide additional full installs for advanced users.

David Stes

- Op 27 jan 2021 om 19:13 schreef Andreas Wacknitz a.wackn...@gmx.de:

> Am 27.01.21 um 17:19 schrieb s...@pandora.be:
>> I have the impression that there is interest in a tex or texlive package,
>> in the OI repository.
>>
>> Also there were already several IPS packages created apparently,
>> in the past, such as the OmniOS and/or many others,
>> and there's likely to be advanced TeX users reading this list.
>>
>> This is not so strange, as TeX programming is quite advanced,
>> I think many users compile their own TeX from sources (as I do),
>> and TeX also has a "full set of tools" to "program" TeX,
>> and Perl programs to convert all sorts of formats into/from TeX.
>>
>> I don't think it requires testing to see whether TeX or TeXlive builds,
>> compiles and/or works on OI.
>>
>> The question is rather whether the OI repository has to offer it,
>> and whether someone who would work on it,
>> is not doing the work to then find out the pull request would be rejected.
>>
>> Note that offering OpenIndiana tex or texlive is not obvious,
>> as then it requires storage (space) and,
>> someone to support TeX in the future, although the last issue,
>> is probably not that hard, since TeX is very mature, or very stable.
>>
>> It may be a better choice to have an independent source or repository,
>> outside of OpenIndiana, offering the package
>>
>> Such as https://www.opencsw.org/
>>
>> In fact if OI would carry TeX in its repository, that version would likely
>> "compete" in some sense with the opencsw version,
> To my knowledge opencsw provides packages for Solaris 10 and earlier.
> Having our own TeXLive packages would be a big win. We already have a
> package that
> depends on libsynctex which we added separately.
> 
>> as OI users would then have an easy way to install TeX from the OI repo.
>>
>> Currently on the github page of OpenIndiana I see one project:
>>
>> https://github.com/OpenIndiana/oi-userland/projects
>>
>> there is one project called GCC
>>
>> Would it be possible for someone who has the necessary permissions,
>> to open a project on github oi-userland called TeX ?
> Done.
> Now you have to fill it with (tex)life :D
> 
> Andreas
> 
> ___
> oi-dev mailing list
> oi-dev@openindiana.org
> https://openindiana.org/mailman/listinfo/oi-dev

___
oi-dev mailing list
oi-dev@openindiana.org
https://openindiana.org/mailman/listinfo/oi-dev


Re: [oi-dev] texlive package

2021-01-27 Thread Andreas Wacknitz

Am 27.01.21 um 17:19 schrieb s...@pandora.be:

I have the impression that there is interest in a tex or texlive package,
in the OI repository.

Also there were already several IPS packages created apparently,
in the past, such as the OmniOS and/or many others,
and there's likely to be advanced TeX users reading this list.

This is not so strange, as TeX programming is quite advanced,
I think many users compile their own TeX from sources (as I do),
and TeX also has a "full set of tools" to "program" TeX,
and Perl programs to convert all sorts of formats into/from TeX.

I don't think it requires testing to see whether TeX or TeXlive builds,
compiles and/or works on OI.

The question is rather whether the OI repository has to offer it,
and whether someone who would work on it,
is not doing the work to then find out the pull request would be rejected.

Note that offering OpenIndiana tex or texlive is not obvious,
as then it requires storage (space) and,
someone to support TeX in the future, although the last issue,
is probably not that hard, since TeX is very mature, or very stable.

It may be a better choice to have an independent source or repository,
outside of OpenIndiana, offering the package

Such as https://www.opencsw.org/

In fact if OI would carry TeX in its repository, that version would likely
"compete" in some sense with the opencsw version,

To my knowledge opencsw provides packages for Solaris 10 and earlier.
Having our own TeXLive packages would be a big win. We already have a
package that
depends on libsynctex which we added separately.


as OI users would then have an easy way to install TeX from the OI repo.

Currently on the github page of OpenIndiana I see one project:

https://github.com/OpenIndiana/oi-userland/projects

there is one project called GCC

Would it be possible for someone who has the necessary permissions,
to open a project on github oi-userland called TeX ?

Done.
Now you have to fill it with (tex)life :D

Andreas

___
oi-dev mailing list
oi-dev@openindiana.org
https://openindiana.org/mailman/listinfo/oi-dev