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

Bug#164799: Small typo in generated XF86Config-4



On Wed, Oct 16, 2002 at 12:42:38AM +0200, Svante Signell wrote:
> Can you please give some more information (or a pointer to) how
> xserver-xfree86, debconf and dexconf are working together to create
> the XFree86-4 file.

Sure:

$ man 7 debconf
$ man dexconf
$ sensible-pager /var/lib/dpkg/info/xserver-xfree86.config
$ sensible-pager /var/lib/dpkg/info/xserver-xfree86.templates

> Every time I install a new version of the xserver, a new XF86Config-4
> is created, this error occurs (on more than one computer).

It's not an error.  You can tell the xserver-xfree86 package not to do
that.

> Is the old XF86Config-4 taken into account at all when creating a new
> one?

No.  It's too hard to parse the file reliably.  I've asked for code to
do it; no one has the time and/or courage.

> The new file also introduces other differences compared to the
> one (fully functional) already there before. The new file has to be
> corrected manually after installation.

See above.  You have a couple of choices:

1) Tell the xserver-xfree86 package not to do that.
2) Follow the instructions at the top of the XF86Config-4 file.

>  > 1) xserver-xfree86/config/inputdevice/keyboard/layout is a string type,
>  >    not a select;
> I cannot find this file on my computer.

It's not a file, it's a debconf template.

$ sensible-pager /var/lib/dpkg/info/xserver-xfree86.templates

> Is the debconf database file /var/cache/debconf/config.dat. There the
> file you mention is referred to.

It's not a file, it's a debconf template.

>  > 2) this template defaults to "us", not "sv"
>  > 3) So if it says "sv", that's because you put it there.
> What do you mean, me personally?

Yes.  There is no other likely way the string "sv" could have gotten
there.

> By setting up debconf?

Yes.

> Yes, maybe I did, dpkg-reconfigure xserver-xferr86 showed that.

So you can change the "sv" to "se" in whatever debconf frontend you are
using

>  > 5) There is no Swedish translation for this template.  Perhaps someone
>  >    would be so kind as to update the Swedish template translations?
> Where to find this file. Maybe I can help here if the text is not too long.

$ apt-get source xfree86
$ sensible-editor xfree86-4.2.1/debian/xserver-xfree86.templates.sv

-- 
G. Branden Robinson                |    If a man ate a pound of pasta and a
Debian GNU/Linux                   |    pound of antipasto, would they
branden@debian.org                 |    cancel out, leaving him still
http://people.debian.org/~branden/ |    hungry?              -- Scott Adams

Attachment: pgpf2yIOP9Jt6.pgp
Description: PGP signature


Reply to: