[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#232725: missing dependency on dialog|whiptail



Frank Küster <frank@debian.org> wrote:

> Lars Brueckner <brueckner@ito.tu-darmstadt.de> schrieb:
>
>> Maybe initex could be modified to give a clear error message and 
>> fail/complete it's task more gracefully.
>
> It's the texconfig script that fails, and it _has_ a check and a clear
> error message. It seems we are missing a dependency on a dialog
> program. 

I would prefer to change our postinst in order to not require any dialog
binary, instead of adding an additional dependency.

What texconfig does is essentially the following:

- check the existence of lots of files, using kpathsea and default
  values, and assign their names to internal variables. Most of these
  files are not needed for texconfig init, and none of the variable
  assignments is needed

- call "fmtutil --all" and "texlinks --multiplatform"

- exit 0

No special care is taken about error handling. So I guess the reasons
why we use texconfig and not some initex call, given by Atsuhito in a
mail on Bug #235401:

,----
| In old days when LaTeX2e had been released in every 6 month,
| generating latex.fmt failed if it had passed more than one
| year (? could be one year and a half) after released day 
| so the above feature was necessary, as far as I remembered.
`----

can also be fulfilled with 

fmtutil --all
texlinks

(we don't need multiplatform, of course). So, if nobody protests, I will
do my first CVS commit and change postinst accordingly. 

Regards, Frank
-- 
Frank Küster, Biozentrum der Univ. Basel
Abt. Biophysikalische Chemie




Reply to: