New Ticket     Wiki     Browse Source     Timeline     Roadmap     Ticket Reports     Search

Ticket #16492 (new update)

Opened 18 months ago

Last modified 3 weeks ago

UPDATE: TexLive 2007 to newer version

Reported by: luis.beca@… Owned by: milosh@…
Priority: Normal Milestone:
Component: ports Version:
Keywords: Cc: ram@…, Damien.Pollet@…, tim.lahey@…, vext01@…, nathan@…, software@…, mcalhoun@…, jasper@…, loshea@…, aetherknight@…, vinc17@…, bcbarnes@…, patrickrose@…, nbader@…, and.damore@…, earcar@…, mroman@…, raphael@…, dports@…, mirimiri66@…, robink@…, singingwolfboy@…, lhorner@…, jabronson@…, aslakr@…
Port: texlive

Description

Please update TexLive 2007 (and related packages) to the just released 2008 distribution.

Attachments

dports.tar.bz2 Download (13.1 KB) - added by milosh@… 15 months ago.
preliminary tentative for an update
tex.tar.bz2 Download (3.9 KB) - added by milosh@… 4 months ago.
texlive 2009
tex.tar.2.bz2 Download (4.0 KB) - added by raphael@… 4 months ago.
tex.diff Download (5.0 KB) - added by raphael@… 4 months ago.

Change History

  Changed 18 months ago by luis.beca@…

  • cc luis.beca@… added

Cc Me!

  Changed 18 months ago by ram@…

  • owner changed from macports-tickets@… to milosh@…
  • cc ram@… added; milosh@…, luis.beca@… removed

assign to maintainer, reporter is automatically cc'd

follow-up: ↓ 7   Changed 18 months ago by jmr@…

Note that the MacPorts version of texlive is based on the OpenBSD version, which has not yet been updated.

  Changed 18 months ago by Damien.Pollet@…

  • cc Damien.Pollet@… added

Cc Me!

  Changed 18 months ago by tim.lahey@…

  • cc tim.lahey@… added

Cc Me!

  Changed 18 months ago by vext01@…

  • cc vext01@… added

Cc Me!

in reply to: ↑ 3   Changed 18 months ago by vext01@…

Replying to jmr@…:

Note that the MacPorts version of texlive is based on the OpenBSD version, which has not yet been updated.

Hi,

I am the guy working on this on the OpenBSD side. I am having problems on amd64 at the moment.

I will let you guys know when I have a stable build.

  Changed 18 months ago by nathan@…

  • cc nathan@… added

Cc Me!

  Changed 17 months ago by andrew@…

  • cc andrew@… added

Cc Me!

  Changed 17 months ago by Damien.Pollet@…

Any news ? Is the BSD AMD build important for updating the port here ?

  Changed 17 months ago by software@…

  • cc software@… added

Cc Me!

  Changed 17 months ago by mcalhoun@…

  • cc mcalhoun@… added

Cc Me!

  Changed 17 months ago by jasper@…

  • cc jasper@… added

Cc Me!

  Changed 17 months ago by loshea@…

  • cc loshea@… added

Cc Me!

Changed 15 months ago by milosh@…

preliminary tentative for an update

  Changed 15 months ago by milosh@…

I tried updating the texlive port, but no longer having a mac makes it difficult to test it. With help from some testers, I have eliminated some of the problems, but there are still problems that I don't understand:

  • even though the --without-ps2eps switch is put, it seems to try to install ps2eps and conflicts with print/ps2eps
  • strangely, texlive_base tries to put some files in /opt/local/texmf and /opt/local/texmf-dist instead of /opt/local/share/{texmf,texmf-dist}
  • no more minimal variant (sadly)
  • not sure tex works after install
  • what about tlmgr?
  • is the universal_build working (#17555)

If any beta-tester/portfile developper can help, please do.

  Changed 15 months ago by aetherknight@…

  • cc aetherknight@… added

Cc Me!

  Changed 12 months ago by vinc17@…

  • cc vinc17@… added

Cc Me!

  Changed 11 months ago by jmr@…

  • type changed from enhancement to update

  Changed 11 months ago by anonymous

  • milestone Port Updates deleted

Milestone Port Updates deleted

  Changed 10 months ago by ram@…

  • cc bcbarnes@… added

  Changed 10 months ago by patrickrose@…

  • cc patrickrose@… added

Cc Me!

  Changed 9 months ago by nbader@…

  • cc nbader@… added

Cc Me!

  Changed 6 months ago by and.damore@…

  • cc and.damore@… added

Cc Me!

  Changed 5 months ago by earcar@…

  • cc earcar@… added

Cc Me!

  Changed 5 months ago by earcar@…

Texlive 2009 is already in prerelease test  http://www.tug.org/texlive/pretest.html

  Changed 5 months ago by vext01@…

yup, and I am working it on it as we speak. You can take the OpenBSD port as a reference after it's done.

follow-up: ↓ 28   Changed 5 months ago by mroman@…

maybe the port should base on gentoo texlive ebuild?

in reply to: ↑ 27   Changed 5 months ago by milosh@…

Replying to mroman@…:

maybe the port should base on gentoo texlive ebuild?

My opinion is no. If you are able to do it, do it. Otherwise, I advise to stick with the "easy" solution (keep the current layout, not creating dozens of new ports, trust openbsd's version to honor destroot).

in reply to: ↑ description   Changed 5 months ago by jbolden1517@…

CC Me!

  Changed 5 months ago by vext01@…

Just a note to say, I have not forgotten about the 2009 update (for OpenBSD), I am still awaiting an official release.

Thanks

Edd

  Changed 4 months ago by mroman@…

  • cc mroman@… added

Cc Me!

follow-up: ↓ 33   Changed 4 months ago by earcar@…

@edd: TeX Live 2009 and MacTeX 2009 have been released. :)

in reply to: ↑ 32   Changed 4 months ago by vext01@…

Replying to earcar@…:

@edd: TeX Live 2009 and MacTeX 2009 have been released. :)

Yup, I'm working on it at the moment, but the real world keeps getting in the way.

Changed 4 months ago by milosh@…

texlive 2009

follow-ups: ↓ 35 ↓ 37   Changed 4 months ago by milosh@…

I managed to compile texlive 2009 on a powerbook leopard. The attached file tex.tar.bz2 contains the said hierarchy. Notes:

  • xz (needed to uncompress) conflicts with lzmautils
  • texlive fails to build with macports' icu
  • I only tested no_x11 variant

Some CC=gcc in Makefiles trouble me (afraid they will reopen bug #16916) such as texk/web2c/luatexdir/luamd5/Makefile:CC = gcc

Could someone test it and report status for other configurations?

in reply to: ↑ 34   Changed 4 months ago by milosh@…

Replying to milosh@…:

Mistake in texlive_base/Portfile: --without-ps2eps should be --disable-ps2eps

  Changed 4 months ago by raphael@…

  • cc raphael@… added

Cc Me!

in reply to: ↑ 34   Changed 4 months ago by raphael@…

Replying to milosh@…:

Could someone test it and report status for other configurations?

I tested your TeXLive port on a similar configuration (PM G5, Mac OS X 10.5.8) and it compiled fine but pdflatex was unusable. A new version of the portfiles (and a diff from your version) that produces a working pdflatex binary for me is attached.

The problems I solved are as follows:

  • pdflatex tried to look for its configuration files in the wrong directory. (Solution: patch for texmf.cnf)
  • Some configure arguments were still wrong and the hashes in front of the icu related arguments were passed to configure so that configure ignored all following arguments.
  • At least one format file was wrong. (Solution: call fmtutil-sys --all in post activate phase)

I also tried to compile TeXLive with xindy (therefore I added clisp and ffcall dependencies) but I cannot find any binary belonging to xindy in the result.

Comments and further tests are welcome.

Changed 4 months ago by raphael@…

Changed 4 months ago by raphael@…

  Changed 4 months ago by vext01@…

Hi Guys,

FYI, I posted a patch for OpenBSD today. There is an issue with package updates, which you may not affect you depending upon how macports deals with collisions and upon which order it will update packages.

This is tested on i386, PPC, SGI, ARM and sparc64.

Note that xindy can only run on i386 and amd64 for OpenBSD due to clisp. You may find this does not affect you.

 http://marc.info/?l=openbsd-ports&m=125960231528532&w=2

I think it is a good thing that we are sharing code and I would be grateful if you report back to me bugs you may find etc.

Thanks

Edd

  Changed 3 months ago by vext01@…

TeX Live 2009 is now in OpenBSD CVS.

  Changed 3 months ago by dports@…

  • cc dports@… added

Cc Me!

  Changed 3 months ago by mirimiri66@…

  • cc mirimiri66@… added

Cc Me!

  Changed 2 months ago by dports@…

Well, it's 2010 -- about time to have a working TexLive 2009 package, right? ;-)

I'm currently working on this and hope to have some form of a patch soon. Of course, it all depends on how much time I can shake loose in the next week or two, and just how horrible texlive winds up being.

Ideally I am hoping to divide things up into a few more packages than simply texmf-minimal/full like OpenBSD, though that is always a fallback option.

  Changed 7 weeks ago by robink@…

  • cc robink@… added

Cc Me!

  Changed 6 weeks ago by singingwolfboy@…

  • cc singingwolfboy@… added

Cc Me!

  Changed 4 weeks ago by macsforever2000@…

  • cc lhorner@… added

Cc reporter of dup #23692.

  Changed 4 weeks ago by jmr@…

  • summary changed from UPDATE: TexLive 2007 to 2008 to UPDATE: TexLive 2007 to newer version

follow-up: ↓ 49   Changed 4 weeks ago by dports@…

Let me say a few words about what I'm working on with the texlive port so that people know what's going on -- looks like there's been a lot of interest in a more recent TeXLive lately.

For background, texlive is a large and lumbering monstrosity. It includes a giant pile of source code (complete with all of its dependent libraries), an even more giant pile of TeX packages, and its own package manager. I believe texlive 2009 is divided into over 3000 packages, which are grouped into about 80 "collections", and further grouped into 10 "schemes".

The version currently in MacPorts is 2007, which IIRC predates TexLive's package management system. So there's a texlive_base port that installs the binaries, a texlive_texmf-full and a texlive_texmf-minimal that install some or all of the tex files, s texlive_texmf-docs port, and a texlive metaport.

This organization doesn't really work for TL 2009, because there's no "minimal" texmf tree anymore and it's not really clear exactly what we'd want to put in a "minimal" install anyway. And I would really rather not support only a full install of texlive, because that's about a gig of distfiles and probably over 2GB installed. Instead, I'd like to provide finer granularity so that users can choose what they want installed.

So my plan is to create the following ports:

  • texlive-common, which contains support scripts and files required for building and installing the others (e.g. texmf.cnf)
  • texlive-bin, which contains everything built from source (not too different from today's texlive_base)
  • one port per texlive collection, e.g. texlive-basic, texlive-latex-recommended, texlive-lang-african

I'm leaning toward one port per collection because I think this is the only option with a decent granularity and a reasonable number of ports. It would wind up creating 80-90 ports, which is a lot, but not totally unreasonable to me. (Note that 30 of these are language-specific packages for 30 languages, and another 24 are documentation in different languages.) This is basically the approach that Debian takes.

The other alternatives are one port per package, which would be great in that you could install exactly the packages you need, but require 3000+ ports, which would be a nightmare. One port per scheme (there are 10 of them) would also be a decent option, except that the schemes overlap, so the ports would conflict. I think one port per collection is the way to go.

I've done a lot of the work necessary for this, including getting the binaries to build and the giant distfile carved up into more manageable collections. I can provide more details if anyone is interested, and I hope to have a patch soon once I get it into reasonably usable shape.

This has been even more of a painful mess than I expected it to be!

  Changed 4 weeks ago by singingwolfboy@…

Wow, sounds like a lot of work! dports, if you'd like any help, let me know and I'm more than willing to do what I can. Thanks for working on this!

in reply to: ↑ 47   Changed 4 weeks ago by vext01@…

The version currently in MacPorts is 2007, which IIRC predates TexLive's package management system. So there's a texlive_base port that installs the binaries, a texlive_texmf-full and a texlive_texmf-minimal that install some or all of the tex files, s texlive_texmf-docs port, and a texlive metaport.

Hi,

I am the OpenBSD TeX Live maintainer, you inherited your original 2007 port from me.

The package manager format did change from 2007 to 2008 from an RDF based format to a text based one. All I had to do was re-write my script which generated the packing lists and I was OK to continue using _base, _texmf-minimal, _texmf-full and _texmf-docs. This is the way I packaged 2008 and 2009 for OpenBSD and it seems to work just fine.

You could probably save yourself some time by stealing my packing lists?

 http://www.openbsd.org/cgi-bin/cvsweb/ports/print/texlive/

Perhaps useful, if not, never mind :)

follow-up: ↓ 54   Changed 4 weeks ago by luis.beca@…

How would tlmgr work with this TexLive installation? Would it be able to upgrade packages? Or we'll only be able to upgrade with the usual port mechanism? Thanks

  Changed 3 weeks ago by jabronson@…

  • cc jabronson@… added

Cc Me!

  Changed 3 weeks ago by adfernandes@…

  • cc andrew@… removed

  Changed 3 weeks ago by aslakr@…

  • cc aslakr@… added

Cc Me!

in reply to: ↑ 50 ; follow-up: ↓ 55   Changed 3 weeks ago by dports@…

Replying to luis.beca@…:

How would tlmgr work with this TexLive installation? Would it be able to upgrade packages? Or we'll only be able to upgrade with the usual port mechanism? Thanks

I don't think this will (or should be) supported -- having two competing package managers trying to upgrade the same package sounds like a recipe for chaos. This is much like how p5-* ports should be used for perl modules rather than CPAN, etc.

It's perhaps conceivable that you could set up a separate texmf tree that uses tlmgr, but I haven't thought about it.

Were you looking for updates more often than yearly? Or finer-granularity packages? Or something else?

in reply to: ↑ 54   Changed 3 weeks ago by luis.beca@…

Were you looking for updates more often than yearly? Or finer-granularity packages? Or something else?

I just got used to TeX Live Utility ( http://code.google.com/p/mactlmgr/) which came with the MacTeX distribution and would like to keep using it to stay up to date.

Note: See TracTickets for help on using tickets.