Package: console-setup
Version: 1.15
Severity: wishlist
Tags: patch

It would be useful to ship KeyboardNames.pl and kbdnames-maker; the
Kickstart user interface in Ubuntu relies on these to be able to display
a menu of keyboard choices that can be selected in the installer.

I realise that kbdnames-maker is really an internal helper program, but
it's much easier for a Python program like system-config-kickstart to
parse its output directly rather than trying to parse KeyboardNames.pl
directly; any sane attempt at the latter would probably end up just
reinventing something very much like kbdnames-maker, so shipping it
seems reasonable enough. (I guess an alternative would be to ship its
output, but that's less convenient for Perl programs.)

Patch attached.

Thanks,

-- 
Colin Watson                                       [EMAIL PROTECTED]
--- console-setup.orig/Makefile	2007-03-14 19:46:05.000000000 +0000
+++ console-setup/Makefile	2007-04-24 22:37:45.000000000 +0100
@@ -20,6 +20,9 @@
 	install -m 644 Fonts/*.psf.gz $(prefix)/share/consolefonts/
 	install -d $(prefix)/share/consoletrans
 	install -m 644 Keyboard/acm/*.acm.gz $(prefix)/share/consoletrans
+	install -d $(prefix)/share/console-setup
+	install -m 644 Keyboard/MyKeyboardNames.pl $(prefix)/share/console-setup/KeyboardNames.pl
+	install Keyboard/kbdnames-maker $(prefix)/share/console-setup
 	install -d  $(prefix)/bin/
 	install Keyboard/ckbcomp $(prefix)/bin/
 	install -d  $(bootprefix)/bin/

Reply via email to