Re: tex-common release
On 24.11.05 Frank Küster (frank@debian.org) wrote:
> Hilmar Preusse <hille42@web.de> wrote:
> > On 17.11.05 Frank Küster (frank@debian.org) wrote:
Hi Frank,
[Policy additions]
> >> I have now written a short section. The diff is at
> >>
> >> http://lists.alioth.debian.org/pipermail/pkg-tetex-commits/2005-November/000318.html
> >>
> > tex-common 0.11 is already out so my reaction comes to late. Sorry!
> >
> > The only thing I've found: You write: "subsequently create the
> > format with fmtutil --byfmt format.". Perhaps it would be a
> > better idea to call "fmtutil --missing" at this point to make
> > sure all formats defined in the new fmtutil.cnf are created. Yes,
> > eventually it will create formats required by other package than
> > the package actually getting installed.
>
> I am not sure that this is a good idea. We (the teTeX maintainers)
> are already getting bug reports when a format we do not provide
> fails to build - e.g. jadetex. But we know how to handle this, and
> more often than not it was a change in teTeX/tex-common that caused
> the format to fail.
>
OK, so the "must" is probably not a good idea. One could write
something like: "It is recommendable to call fmtutil-sys with the
option --missing to make sure all formats (required by recently
installed packages) are in place. It *may* happen, that the
configuration of your package fails, cause another package wrote a
buggy line into fmtutil.cnf and you get bug reports without being
guilty. Feel free to ignore this recommendation.".
However I think a policy should say, what the packagers have to do,
but not what they could do...
Frank, the policy reads in 4.2.3:
Packages that provide additional formats should put a configuration
file according to fmtutil.cnf(5) into /etc/texmf/fmt.d/, run
update-fmtutil and subsequently create the format with fmtutil
--byfmt format.
. Shouldn't fmtutil be replaced by fmtutil-sys at this place?
> > Further we should mention anywhere, that a package should remove the
> > format files it has created upon purge (or remove?).
>
> Yes, I forgot this. And I would even say the should be removed
> upon package removal, because it will have to be regenerated anyway
> if the package is installed again.
>
Thanks for adding!
H.
--
A pound of salt will not sweeten a single cup of tea.
http://www.hilmar-preusse.de.vu/
Reply to: