Opened 11 years ago
Closed 11 years ago
#3390 closed enhancement (fixed)
kbd-2.0.0
Reported by: | Owned by: | Matthew Burgess | |
---|---|---|---|
Priority: | normal | Milestone: | 7.5 |
Component: | Book | Version: | SVN |
Severity: | normal | Keywords: | |
Cc: |
Description
New package version, but no changes in ChangeLog, NEWS, etc.
The old patch applies without any error. Built fairly cleanly (some warnings) with:
cd kbd-2.0.0 patch -Np1 -i ../kbd-1.15.5-backspace-1.patch ./configure --prefix=/usr --disable-vlock \ --enable-optional-progs --enable-libkeymap make make DESTDIR=/tmp/kbd install
The seds we use now are not needed. vlock still needs PAM. --disable-static seems to be ignored.
I'm not sure what the optional progs are or whether we need libkeymap.
It would be nice if someone with a non-US keyboard could check this out, but I think the package can wait until after 7.4 is released.
Change History (6)
comment:1 by , 11 years ago
Milestone: | 7.4 → 7.5 |
---|
comment:2 by , 11 years ago
Built it (2.0.0wip tarball) in completed system a couple of weeks ago, and over the weekend with a bison-3.0 system. Didn't seem to install any libs, I think a lot of functionality has been moved to an internal lib - but I might be wrong. Worked fine with Matt's uk setup where he had reported a problem with 1.15.5.
Agree it's not for 7.4 (although I'll probably use it since I've made the changes in my own scripts).
I've got the following changes in my build:
- remove the sed for lex.
- the resizecons sed to remove the manpage now applies to docs/man/man8/Makefile.in
- configure now requires check, which is in /tools, so pass
PKG_CONFIG_PATH=/tools/lib/pkgconfig \
- make check is now present, all tests pass.
- the docs we copy are now at docs/doc/*
Note that check is only used for the testsuite, none of the installed programs referenced andy libs in /tools. Also, for me it seemed to install the same programs as before - I didn't look for any new options to enable things.
comment:3 by , 11 years ago
I didn't try that --enable-libkeymap switch. Note that (according to the release notes) loadkeys and dumpkeys always use libkeymap.
comment:4 by , 11 years ago
I'm now running with --enable-libkeymap, and for comparison I've done a DESTDIR install without it. These are using the 2.0.0 release on LFS-7.4-rc x86_64. The binaries aren't stripped. I don't know if a separate lib is worthwhile (nothing outside kbd will use it for the moment).
binaries With the separate lib
-rwxr-xr-x 1 root root 19280 Aug 20 07:15 /usr/bin/chvt -rwxr-xr-x 1 root root 21062 Aug 20 07:15 /usr/bin/deallocvt -rwxr-xr-x 1 root root 27460 Aug 20 07:15 /usr/bin/dumpkeys -rwxr-xr-x 1 root root 21426 Aug 20 07:15 /usr/bin/fgconsole -rwxr-xr-x 1 root root 22358 Aug 20 07:15 /usr/bin/getkeycodes -rwxr-xr-x 1 root root 24684 Aug 20 07:15 /usr/bin/kbdinfo -rwxr-xr-x 1 root root 21646 Aug 20 07:15 /usr/bin/kbd_mode -rwxr-xr-x 1 root root 23291 Aug 20 07:15 /usr/bin/kbdrate -rwxr-xr-x 1 root root 28581 Aug 20 07:15 /usr/bin/loadkeys -rwxr-xr-x 1 root root 79950 Aug 20 07:15 /usr/bin/loadunimap -rwxr-xr-x 1 root root 44077 Aug 20 07:15 /usr/bin/mapscrn -rwxr-xr-x 1 root root 52997 Aug 20 07:15 /usr/bin/openvt -rwxr-xr-x 1 root root 73455 Aug 20 07:15 /usr/bin/psfxtable -rwxr-xr-x 1 root root 153605 Aug 20 07:15 /usr/bin/setfont -rwxr-xr-x 1 root root 20573 Aug 20 07:15 /usr/bin/setkeycodes -rwxr-xr-x 1 root root 25869 Aug 20 07:15 /usr/bin/setleds -rwxr-xr-x 1 root root 16872 Aug 20 07:15 /usr/bin/setmetamode -rwxr-xr-x 1 root root 25777 Aug 20 07:15 /usr/bin/setvtrgb -rwxr-xr-x 1 root root 48713 Aug 20 07:15 /usr/bin/showconsolefont -rwxr-xr-x 1 root root 29906 Aug 20 07:15 /usr/bin/showkey -rw-r--r-- 1 root root 627216 Aug 20 07:15 /usr/lib/libkeymap.a.hidden -rwxr-xr-x 1 root root 925 Aug 20 07:15 /usr/lib/libkeymap.la.hidden lrwxrwxrwx 1 root root 18 Aug 20 07:15 /usr/lib/libkeymap.so -> libkeymap.so.0.0.0 lrwxrwxrwx 1 root root 18 Aug 20 07:15 /usr/lib/libkeymap.so.0 -> libkeymap.so.0.0.0 -rwxr-xr-x 1 root root 406083 Aug 20 07:15 /usr/lib/libkeymap.so.0.0.0
programs (including symlinks and scripts) without the separate lib:
KBD200/usr/bin: total 1340 -rwxr-xr-x 1 ken users 19096 Aug 20 19:51 chvt -rwxr-xr-x 1 ken users 20838 Aug 20 19:51 deallocvt -rwxr-xr-x 1 ken users 205575 Aug 20 19:51 dumpkeys -rwxr-xr-x 1 ken users 21202 Aug 20 19:51 fgconsole -rwxr-xr-x 1 ken users 22134 Aug 20 19:51 getkeycodes -rwxr-xr-x 1 ken users 24468 Aug 20 19:51 kbdinfo -rwxr-xr-x 1 ken users 21422 Aug 20 19:51 kbd_mode -rwxr-xr-x 1 ken users 23107 Aug 20 19:51 kbdrate -rwxr-xr-x 1 ken users 332372 Aug 20 19:51 loadkeys -rwxr-xr-x 1 ken users 100605 Aug 20 19:51 loadunimap -rwxr-xr-x 1 ken users 64498 Aug 20 19:51 mapscrn -rwxr-xr-x 1 ken users 52773 Aug 20 19:51 openvt lrwxrwxrwx 1 ken users 9 Aug 20 19:51 psfaddtable -> psfxtable lrwxrwxrwx 1 ken users 9 Aug 20 19:51 psfgettable -> psfxtable lrwxrwxrwx 1 ken users 9 Aug 20 19:51 psfstriptable -> psfxtable -rwxr-xr-x 1 ken users 73239 Aug 20 19:51 psfxtable -rwxr-xr-x 1 ken users 173003 Aug 20 19:51 setfont -rwxr-xr-x 1 ken users 20389 Aug 20 19:51 setkeycodes -rwxr-xr-x 1 ken users 25613 Aug 20 19:51 setleds -rwxr-xr-x 1 ken users 16848 Aug 20 19:51 setmetamode -rwxr-xr-x 1 ken users 25553 Aug 20 19:51 setvtrgb -rwxr-xr-x 1 ken users 48689 Aug 20 19:51 showconsolefont -rwxr-xr-x 1 ken users 29882 Aug 20 19:51 showkey -rwxr-xr-x 1 ken users 2425 Aug 20 19:51 unicode_start -rwxr-xr-x 1 ken users 363 Aug 20 19:51 unicode_stop
Whoever picks this up can make the decision, and investigate the "optional progs".
comment:5 by , 11 years ago
Owner: | changed from | to
---|---|
Status: | new → assigned |
Type: | task → enhancement |
I think Ken's done some testing on this already. Certainly too late/big to make it into 7.4 though.