[Pkg-kbd-devel] Re: pkg-kbd project on Alioth to maintain kdb Debian package

Anton Zinoviev anton at lml.bas.bg
Wed Oct 5 18:52:49 UTC 2005


On Tue, Oct 04, 2005 at 12:37:03PM +0200, Denis Barbier wrote:
> 
> Hmmm, I did not receive it, but I cannot find my ticket anymore.
> Can you please try to import your files?

Done.  It took me some time before I realised what command I have to use:

svn checkout  svn+ssh://zinoviev@svn.debian.org/svn/pkg-kbd

After that I had to type my password several times before the checkout
operation began. :-)

I've installed the files in people/zinoviev/console-setup.  This is a
package that can serve as a replacement for console-data.  Currently
it is not very well tested.  The user is not prompted for any XKB
options and as a result the non-Latin keyboards can not be switched to
non-Latin mode.  This is because I want to implement something more
user-friendly than simply selecting from the raw list of all XKB
options.

This is the contents of the package:

non-Debian part:
----------------

The ckbcomp utility to generate keymaps for the console.  It expects
to find the XKB files somewhere (in order of preference) in
/etc/console-setup/ckb, /etc/X11/xkb and /usr/X11R6/lib/X11/xkb.

"make all" will build console fonts from BDF sources,
compose.ENCODING.inc files and a Perl-library KeyboardNames.pl with
three hashes listing the available keyboard models, layouts and
variants.  It also gzipes the ACM files in the directory acm/

Debian-part:
------------

I am not sure about the best name of the package.  Currently it is
console-setup.  It contains:

/etc/console-setup/ -- the configuration files of the package
	ckb/ -- a copy of /etc/X11/xkb of XFree86 4.2.  I haven't
		tested the ckbcomp utility with the XKB files from
		Xorg
	compose.*.inc -- keymaps with compose sequences.  One per encoding.
	boottime.kmap.gz -- the same purpose as
		/etc/console/boottime.kmap.gz
	SomeFonts.psf.gz, SomeACMs.acm.gz -- to make possible to setup
		the font even before the /usr is mounted.  This
		however requires to move consolechars, setfont and 
		kbd_mode from /usr/bin to /bin.
/etc/init.d/console-setup -- to setup the console (both font and
	keyboard)
/etc/default/console-setup -- defines shell variables for use by
	/etc/init.d/console-setup.  Can be used also by X
	configurator.  (Currently the Debconf configuration of the
	package doesn't make attempts to preserve the changes in this
	file by the local administrator.)
/usr/bin/ckbcomp -- generator of console keymaps
/usr/share/consolefonts -- all the necessary fonts
/usr/share/consoletrans -- the ACM files (and nothing more)
/usr/share/doc/console-setup -- currently two READMEs

The "config" script is not written in Perl but in Shell to make
possible to use it inside the Debian Installer.

Anton Zinoviev




More information about the Pkg-kbd-devel mailing list