Subject: Re: overwriting part of a package with another?
To: Min Sik Kim <minskim@NetBSD.org>
From: Steven M. Bellovin <email@example.com>
Date: 04/11/2006 18:04:04
On Tue, 11 Apr 2006 14:42:56 -0700, Min Sik Kim <minskim@NetBSD.org> wrote:
> On Feb 20, 2006, at 10:54 AM, Antoine Reilles wrote:
> > On Mon, Feb 20, 2006 at 02:24:47PM -0500, Steven M. Bellovin wrote:
> >> I'm putting together a package for 'powerdot', a LaTeX presentation
> >> package. However, it requires a newer version of the xkeyval macro
> >> package than occurs in teTeX3. What is the best way to handle that?
> >> We do have the latest version of teTeX, so it's not just a matter of
> >> waiting for an update.
> > I don't think we currently have something to solve this issue.
> > However, the tex.buildlink3.mk stuff could help to make it easier.
> > Currently, we install all tex files in the same texmf tree. Since
> > tetex3, it is possible to split this tree, by using
> > texmf-dist (for the tetex distributed files), texmf and texmf-local
> > for
> > additional packages.
> > mk/tex.buildlink3.mk defines PKG_LOCALTEXMFPREFIX and PKG_TEXMFPREFIX
> > as being equal. For tetex3, i want to separate them, to allow the
> > installation in PKG_LOCALTEXMFPREFIX of newer versions and additional
> > packages. However, it will require some testing to get this working
> > right
> Now teTeX3 installs the texmf tree in share/texmf-dist, and all tex-*
> packages install their files into share/texmf-local. Since texmf-
> local precedes texmf-dist in teTeX's search order, individual
> packages will override those included in teTeX3.
> So, to use a newer version of xkeyval in powerdot, just create tex-
> xkeyval and tex-powerdot packages, and let the latter depend on the
That sounds like a good idea; thanks.
--Steven M. Bellovin, http://www.cs.columbia.edu/~smb