Hey Matthias,

On 03/06/07, Matthias Kilian <[EMAIL PROTECTED]> wrote:
On Sat, Jun 02, 2007 at 05:07:47PM +0100, Edd Barrett wrote:
> Am I going to assume that the size of the package is acceptable and
> continue with a texlive_texmf-full package, which will be an "all the
> rest" kind of affair?

I'm fine with the size. 316 MB compared to the teTeX thing (217 MB)
isn't too bad.

Excellent!


However some notes (on texmf-minimal, I'll look on the base stuff
later):

- Don't just move away the stuff from WRKDIST to PREFIX/share, copy it
  over, i.e. something like

        umask 022 && cp -r ${WRKDIST}/texmf* ${PREFIX}/share

I used to copy before, but I favored moving because it is far quicker.
I later learned that it makes it annoying to re-run make fake.  I
agree, in other words!


- Moving the manpages during do-install and then removing them using a
  script is silly. Just omit this and @comment the bogus manpages in the
  PLIST. That means, go with the above mentioned command line for
  do-install, then make update-plist (should be done anyway, since
  there appear to be some more files missing from your PLIST), then
  @comment share/texmf/doc/man/man1 and also change all the @man
  tags to @comment.

Ok, I am unaware of any files missing. I will re-generate a new PLIST
and diff them.


- For post-install, I've to see the texmf-full thing first. This may be
  a case for @exec/@unexec.

Yes there will be some @exec/unexec to put a different config file in
place of the minimal one. See _base where i copy the default
fmtutil.cnf and use sed on it. I will use exec to put the full config
file back in place.


> I can't really carry on if the minimal package is subject to change.

That complicated? I don't know (yet) what the implications of moving
stuff around between texmf-minimal and texmf-full,



Complicated... no.

Untarring / retarring large 300MB distfiles for example takes ages and
I will waste time going back to change things. Also the python script
that calculates the deps takes a while as it does an 'insert sort'  on
the file lists for the thousands of files on the texlive DVD (The
lists are stored in 'sets', so there is no duplication) = really slow.

but you should
really work towards *one* port with subpackages, e.g.:

Thats what I'm doing. Perhaps a misunderstanding?

I plan 3 SUBDIRS:

base - binaries
texmf-minimal - small texmf
texmf-full - the rest of the texmf

As noted, files that need to be tweaked when adding/deleting
texmf-full (such as fmtutil.cnf and updmap.cfg, or just ls-R) may
be dealt with using @exec/@unexec tags in the PLIST.

Already done in base. Updmap only becomes available when base is
installed, and base requires a texmf to build and install.

Also note that because updmap now needs to be re-run and overwrite
files that cannot be accounted for in PLISTS (md5 mismatches will
occur etc), no lndir is used anymore.

Thanks for your time. I'm glad the size if the package is acceptable,
this was my greatest concern.

I'll start on this soon.

--
Best Regards

Edd

---------------------------------------------------
http://students.dec.bournemouth.ac.uk/ebarrett

Reply via email to