TeX Live and LyX; Changes to the boot code

Blog post by jessicah on Sat, 2015-06-06 06:15

As of hrev49248, TeX Live 2014 and LyX 2.1.3 have been added to the Haiku Ports repository!

A word of warning: TeX Live is a mammoth 823MB package, and LyX, whilst not massive, is another 20MB or so. These will undoubtedly take some time to download for installation. Also, upon first launch of LyX, it will appear to not open any windows. This is normal, as LyX is generating a whole bunch of data it needs, which will be stored at ~/config/settings/lyx. Subsequent launches of LyX should be fairly quick.

Another update is better support for installing to GPT partitions. This includes changes to makebootable, writembr, and the anyboot images as of hrev49242. These changes will allow you to install and boot Haiku on a GPT partitioned disk without any hacks or workarounds (e.g. no need for icky hybrid MBRs).

Many thanks goes out to Anarchos, who did the initial work on a TeX Live recipe; and also to Adrien and Ingo who helped me figure out all my issues with my Jamfiles!

Comments

Re: TeX Live and LyX; Changes to the boot code

Is a post-install phase possible for LyX data generation? This would avoid the first launch slowdown.

Re: TeX Live and LyX; Changes to the boot code

It seems that invoking LyX -batch indeed triggers the data generation prior to exiting with an error of no filename provided, so this should be sufficient for a post-install script.

However, I'll look into trying to fix luatex first, as that appears to be consistently crashing, and would make for a less than pleasant install experience.

Re: TeX Live and LyX; Changes to the boot code

Thanks Jessica and Anarchos for tackling that beast of TexLive. For days/weeks we watched your struggle on IRC; I'm glad you came out the winners. :) If anyone wants to see the haikuporter recipe, or better "cookbook", check it out. Imagine we didn't have haikuporter and its recipes and people would have to investigate how to build the monster every few months/years for an update...

jessicah wrote:

It seems that invoking LyX -batch indeed triggers the data generation prior to exiting with an error of no filename provided, so this should be sufficient for a post-install script.

Don't forget Haiku's "notify" when doing lengthy post-install data generation.

Regards,
Humdinger

Re: TeX Live and LyX; Changes to the boot code

I can now boot my 2010 MacMini from an USB Stick plus Refit. Previously this was not possible.
Good work. Thank you very much.

Re: TeX Live and LyX; Changes to the boot code

FYI, luroh reported that these can't be installed from HaikuDepot due to my provides not adding the secondary arch suffix.

However, they can still be installed from the Terminal:

~> pkgman install texlive
~> pkgman install lyx

Re: TeX Live and LyX; Changes to the boot code

It's a port I can use! Downloaded it a couple days ago. It works wonderfully. It would have been nice to have a native GUI - but I'll take it anyway, even with QT! Beggars can't be choosy. Thanks for this one.