kbd-1.14.1
Greg Schafer
diy-linux-dev@diy-linux.org
Tue, 30 Sep 2008 08:27:59 +1000
Hi List,
I install this package but don't really use it. There appears to be a bunch
of Makefile problems with this release:
1. man pages for the optional progs are installed no matter what
2. data files (consolefonts etc) are installed into /usr/share instead of
/usr/share/kbd
3. locale file are not installed (nls is disabled by default)
4. getkeycodes, setkeycodes and resizecons are not installed
5. loadkeys is installed into /usr/bin instead of /bin
Here are the fixes I'll use:
1. sed -i.bak 's/ifdef OPTIONAL_PROGS/ifeq ($(OPTIONAL_PROGS),yes)/' man/Makefile.in
2. sed -i.bak 's,@datadir@,&/kbd,' {src,data}/Makefile.in
NOTE: using --datadir=/usr/share/kbd (or --datarootdir) is NOT correct
because it adversely affects locale files location. See next item.
3. ./configure --enable-nls
4. make KEYCODES_PROGS=yes RESIZECONS_PROGS=yes
make KEYCODES_PROGS=yes RESIZECONS_PROGS=yes DESTDIR=$PM_DEST install
5. Actually, I won't bother fixing this. AFAICS, console/keyboard init
scripts tend to be called way late in the boot process, ie: long after
/usr is mounted. So what's the point of having it on / ? Please correct
me if I'm missing something.
After browsing the upstream git repo, it appears at least some of the above
items have been fixed.
Regards
Greg