Re: Bug#231235: arabtex font installation is broken
Florent Rougon <f.rougon@free.fr> schrieb:
> BTW, there is a rather ugly thing done at this point of the postinst:
Ugly indeed.
> Something like:
>
> if [ -x "$TEXCONFIG_P" ] && [ -r /usr/share/texmf/web2c/fmtutil.cnf ] \
> && grep -v '^[[:blank:]]*%' /usr/share/texmf/web2c/texmf.cnf | grep \
> '^[[:blank:]]*TEXMFMAIN[[:blank:]]*=[[:blank:]]*/usr/share/texmf[[:blank:]]*$'
> then
> ...
>
> would be more robust... But it wouldn't work if the variable is set
> indirectly (like the HOMETEXMF = $HOME/texmf).
Which it usually is. This is why I didn't critizise the code - I don't
really have a good idea.
>> 5. Make links from /etc/texmf/dvips/{psfonts,pdftex,dvipdfm}.map to the
>> respective files.
>>
>> If I understood correctly, these are also the output files of
>> updmap. Thus these configuration actions are not needed to run
>> updmap, but the files generated by updmap will be overridden if it is
>> a fresh install of tetex-base (>=2 ?).
>
> No:
You're right, I missed that.
>> It seems, calling updmap with tetex-{base,bin} being unpacked, but
>> unconfigured is safe. At least with respect to tetex-base, I didn't
>> investigate tetex-bin in detail.
>
> I am not saying it will not work (in the current state of things), but I
> think it is wrong for a package like arabtex not to depend on
> tetex-base, simply because only tetex-base provides
> /etc/texmf/updmap.d/00updmap.cfg.
But tetex-bin depends on tetex-base, and arabtex on tetex-bin. You might
say that arabtex shouldn't rely on tetex-bin's dependencies. That's
right, but then also it can't rely on tetex-base providing
00updmap.cfg. If we (the tetex-maintainers) change one thing, we might
as well change the other.
Perhaps we should really take up your proposal and write a tetex
policy. But first we should ask which changes Thomas Esser is planning
for next tetex...
Regards, Frank
--
Frank Küster, Biozentrum der Univ. Basel
Abt. Biophysikalische Chemie
Reply to: