Bug#209395: teTeX: language.dat mislinked
On 17.10.03 Atsuhito Kohda (kohda@pm.tokushima-u.ac.jp) wrote:
> From: Hilmar Preusse <hille42@web.de>
> Subject: Bug#209395: teTeX: language.dat mislinked
> Date: Thu, 16 Oct 2003 11:47:46 +0200
Hi,
> > > >The language.dat is from now on maintained using debconf (if you
> > > >answered that question with yes, which is the default). Hence
> > > >language.dat is sitting in /var/lib and everything is OK.
> > >
> > > I am mainly concern with backup:
> > > Is there a `debconf' data file for `language.dat'
> > > somewhere in `/etc' ?
> > >
> > No, it's maintained by debconf, which helds it's data in /var/cache.
> > Sorry, my statement yesterday was wrong: language.dat should be in
> > /etc. I made actually a fresh tetex-installation in my UML and I've
> > seen language.dat in /etc/texmf. So everything is correct. Sorry to
> > debian-tetex-maint for the confusion.
>
> Hmm, I was confused. I don't know what "debconf data"
> means
>
I mean, deconf asks questions and the answers are stored anywhere. I
believed that whould be anywhere in /var/cache/debconf/.
> but conserning language.dat your previous statement was correct
> AFAIK. Did you check
>
> ls -l /usr/share/texmf/tex/generic/config/language.dat
>
> I guess it would be something like
>
> kohda@nsx:~$ ls -l /usr/share/texmf/tex/generic/config/language.dat
> lrwxrwxrwx 1 root root 27 2003-09-04 23:28 /usr/share/texmf/tex/generic/config/language.dat -> /var/lib/texmf/language.dat
>
(none):/var/cache# ls -l /usr/share/texmf/tex/generic/config/language.dat
lrwxrwxrwx 1 root root 27 Aug 22 17:11
/usr/share/texmf/tex/generic/config/language.dat -> /var/lib/texmf/language.dat
(none):/var/cache# ls -l /var/lib/texmf/lang*
total 192
-rw-r--r-- 1 root root 3707 Aug 22 17:11 language.dat
(none):/var/cache#
Sorry again...
> But it is true that there is also /etc/texmf/language.dat which is
> not necessary in a standard case and I noticed it caused confusion.
> And I plan to fix this, please see
>
> From: Atsuhito Kohda <kohda@pm.tokushima-u.ac.jp>
> Subject: Re: plan of next upload
> Date: Mon, 13 Oct 2003 21:25:21 +0900 (JST)
>
> > +# rename unused language.dat
> > + if [ -f ${ELDAT} ]; then mv -f ${ELDAT} ${ELDAT}.dpkg-old; fi
>
> (Further, please everbody check this patch!)
>
As soon as I have time.
> The reason of /etc/texmf/language.dat is; there might be
> hyphenation pattern not included in teTeX because of license
> problem etc. In this case, one can't add such hyphenation patter
> with the current tetex-bin's mechanism so /etc/texmf/language.dat
> might help such user.
>
I generally I think it is a better idea to have config files, which
are not completely generated out of others, in /etc. e.g. XF86Config
can be handeled using debconfig but is sitting anyway in /etc.
* /etc/texmf/language.dat was a configuration file and not a conffile,
and now it could be handled automatically with debconf with the new
tetex-bin (>> 2.0.1-2). [kohda]
-- Atsuhito KOHDA <kohda@debian.org> Fri, 28 Feb 2003 07:57:31 +0900
Was is that time, when you moved language.dat into /var?
> If fact, swedish hyphenation seemed removed from the upstream.
> Please see
> http://www.mail-archive.com/tetex%40informatik.uni-hannover.de/msg01878.html
>
(none):/usr/share/texmf/tex/generic/hyphen# grep -i swedish *
(none):/usr/share/texmf/tex/generic/hyphen#
Hmm.
Hilmar
--
sigmentation fault
Reply to: