Just upgraded xkeyboard-config-0.9_3 to xkeybxkeyboard-config-1.0.. Got " Couldn't load XKB keymap, falling back to pre-XKB keymap" in /var/log/Xorg.0.log. Unable to use special characters with my french keyboard. Seems that dir /usr/local/lib/X11/xkb/compiled is needed. Fix: Workaround, as root # mkdir /usr/local/lib/X11/xkb/compiled
Responsible Changed From-To: freebsd-ports-bugs->freebsd-x11 Over to maintainer
Hi, >>>>> On Wed, 25 Jul 2007 00:17:57 GMT >>>>> Antoine Vu-Ngoc <antoine@cleopatre.homeip.net> said: antoine> Just upgraded xkeyboard-config-0.9_3 to xkeybxkeyboard-config-1.0.. antoine> Got " Couldn't load XKB keymap, falling back to pre-XKB keymap" in /var/log/Xorg.0.log. antoine> Unable to use special characters with my french keyboard. I met this problem with my jp106 keyboard, too. antoine> Seems that dir /usr/local/lib/X11/xkb/compiled is needed. antoine> Workaround, as root antoine> # mkdir /usr/local/lib/X11/xkb/compiled This doesn't help, but `mkdir /usr/local/share/X11/xkb/compiled' seems solve this problem for me. Sincerely, -- Hajimu UMEMOTO @ Internet Mutual Aid Society Yokohama, Japan ume@mahoroba.org ume@{,jp.}FreeBSD.org http://www.imasy.org/~ume/
hello, Hajimu > This doesn't help, but `mkdir /usr/local/share/X11/xkb/compiled' seems solve this problem for me. It worked for me because of a previous link made during investigation. ls -l /usr/local/lib/X11/xkb lrwxr-xr-x 1 root wheel 24 24 jul 10:29 xkb -> /usr/local/share/X11/xkb My mistake. Hajimu is right. Rgds.
Here is a patch for making the port create that directory on installation: diff -urp /usr/ports/x11/xkeyboard-config/Makefile x11/xkeyboard-config/Makefile --- /usr/ports/x11/xkeyboard-config/Makefile 2007-07-24 16:11:49.000000000 +0200 +++ x11/xkeyboard-config/Makefile 2007-07-26 15:19:29.000000000 +0200 @@ -7,6 +7,7 @@ PORTNAME= xkeyboard-config PORTVERSION= 1.0 +PORTREVISION= 1 CATEGORIES= x11 MASTER_SITES= http://xlibs.freedesktop.org/xkbdesc/ DISTNAME= xkeyboard-config-${PORTVERSION} @@ -31,5 +32,6 @@ CONFIGURE_ARGS+= --with-xkb-base=${PREFI post-install: ${MKDIR} /var/lib/xkb + ${MKDIR} ${PREFIX}/share/X11/xkb/compiled .include <bsd.port.mk> diff -urp /usr/ports/x11/xkeyboard-config/pkg-plist x11/xkeyboard-config/pkg-plist --- /usr/ports/x11/xkeyboard-config/pkg-plist 2007-07-24 16:11:49.000000000 +0200 +++ x11/xkeyboard-config/pkg-plist 2007-07-26 15:28:57.000000000 +0200 @@ -289,7 +289,9 @@ share/X11/xkb/types/pc share/X11/xkb/types/README share/X11/xkb/xkbcomp @exec mkdir -p /var/lib/xkb +@exec mkdir -p %D/share/X11/xkb/compiled @dirrm share/X11/xkb/compat +@dirrm share/X11/xkb/compiled @dirrm share/X11/xkb/geometry/digital_vndr @dirrm share/X11/xkb/geometry/sgi_vndr @dirrm share/X11/xkb/geometry -- Henrik Brix Andersen <henrik@brixandersen.dk>
Hello, The patch works correctly for me. By the way, man page setxkbmap(1) says that all the stuff is in "/usr/local/lib/X11/xkb". Should be corrected to "/usr/local/share/X11/xkb". Thanks a lot. Antoine Vu-Ngoc
Responsible Changed From-To: freebsd-x11->pav Take
State Changed From-To: open->closed Fixed in 1.0_1, thanks for report
pav 2007-07-27 09:51:20 UTC FreeBSD ports repository Modified files: x11/xkeyboard-config Makefile pkg-plist Log: - Install a symlink from PREFIX/share/xkb/compiled to /var/lib/compiled. Fixes a lot of runtime problems for a lot of people PR: ports/114876, ports/114924 Submitted by: Henrik Brix Andersen <henrik@brixandersen.dk> Reported by: Craig Boston <craig@yekse.gank.org>, Antoine Vu-Ngoc <antoine@cleopatre.homeip.net> and many more Revision Changes Path 1.4 +2 -0 ports/x11/xkeyboard-config/Makefile 1.4 +1 -0 ports/x11/xkeyboard-config/pkg-plist _______________________________________________ cvs-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/cvs-all To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"