Re: Directories named after packages
On Tue, Jan 11, 2011 at 12:44:43AM +0100, Vincent Danjean wrote:
> On 10/01/2011 22:52, Frank Küster wrote:
> > Osamu Aoki <firstname.lastname@example.org> wrote:
> >> 3. Historic/Upstream choice (?): /usr/share/doc/texmf
> >> (Several TeX packages uses this.)
> > That's old-fashioned (or, well, obsolete).
> > I think (without looking at code or our sub-policy) this should be a
> > symlink to /usr/share/texmf/doc - and TeX packages should make sure
> > their documentation is findable both in /usr/share/doc/package (for
> > Debian Policy) and /usr/share/texmf/doc (for the TeX tools).
> > If one package installs it as a directory, might files from other
> > packages also be installed there?
> On my system:
> vdanjean@eyak:~$ ls -ld /usr/share/texmf/doc
> lrwxrwxrwx 1 root root 12 15 déc. 2009 /usr/share/texmf/doc -> ../doc/texmf
$ ls -ld /usr/share/texmf/doc
lrwxrwxrwx 1 root root 12 Oct 2 11:03 /usr/share/texmf/doc -> ../doc/texmf
$ ls -ld /usr/share/doc/texmf
drwxr-xr-x 8 root root 4096 Oct 3 21:44 /usr/share/doc/texmf
> This symlink should have been created by a Debian package, probably
> vdanjean@eyak:~$ dlocate /usr/share/texmf/doc
> tex-common: /usr/share/texmf/doc
> vdanjean@eyak:~$ dlocate /usr/share/doc/texmf
> [lots of packages]
$ dpkg -S /usr/share/doc/texmf
tex-common, luatex, feynmf, latex-xcolor, pgf, lmodern, preview-latex-style, latex-cjk-common, thailatex: /usr/share/doc/texmf
$ dpkg -S /usr/share/texmf/doc
So at least 8 tex packages using it and symlink is the other way.