pkgsrc-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
pkg/30012: proposition of mk/ logic for latex, allow to split texmf tree
>Number: 30012
>Category: pkg
>Synopsis: a proposition of mk/ logic for latex, to allow splitting texmf
>tree and manage deps
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: pkg-manager
>State: open
>Class: change-request
>Submitter-Id: net
>Arrival-Date: Wed Apr 20 13:54:00 +0000 2005
>Originator: Antoine Reilles
>Release: NetBSD 3.99.3
>Organization:
>Environment:
System: NetBSD arcelot.loria.fr 3.99.3 NetBSD 3.99.3 (XEN0) #0: Tue Apr 12
14:45:09 CEST 2005
tonio%arcelot.loria.fr@localhost:/usr/obj/sys/arch/i386/compile/XEN0 i386
Architecture: i386
Machine: i386
>Description:
(following a discussion on tech-pkg started at:
http://mail-index.netbsd.org/tech-pkg/2005/04/06/0013.html)
The main idea is to allow splitting texmf.
I want to split texmf in :
share/texmf for teTeX-bin files
share/texmf-dist for teTeX-texmf
and
shate/texmf-local for additional packages seems more flexible than the previous
one, particularly for texmf-local, which could be used for installing
additional packages without messing out with the main tetex distribution.
This could even allow to package newer versions of packages which are included
in tetex2 texmf tree (i'm thinking of latex-beamer).
We could also have a variable like LOCALTEXMF to help packages providing files
for texmf to install in the right place, instead of hardcoding it.
I came out adding a mk/latex.mk file, highly inspired by the emacs.mk one, to
provide dependancy, variables to chose which teTeX to depend on, and variables
to help packaging. I called it latex, and used variables with the name latex
since i'm not sure tetex will be the major (and almost only) latex under unix.
I also modified the teTeX3-texmf package to reflect the texmf layout reommanded
in tetex doc, and modified to test it the bibtex2html and latex2html packages
(only this one is really interesting, as it installs files in the texmf tree).
I have put the diff and the latex.mk file on:
http://www.loria.fr/~reilles/divers/latex.mk
http://www.loria.fr/~reilles/divers/teTeX3-texmf.diff
(this one is big, because the PLIST is huge)
http://www.loria.fr/~reilles/divers/latex2html.diff
http://www.loria.fr/~reilles/divers/bibtex2html.diff
There are many package which hardcode the texmf tree path, so, i will be glad
to help if an adaptation of this proposition is adopted.
Please let me know if you have any
comment or critics.
>How-To-Repeat:
copy the latex.mk file in pkgsrc/mk/
and apply the diff's. Then build latex2html, for example.
>Fix:
>Unformatted:
Home |
Main Index |
Thread Index |
Old Index