On 09/08/2009 12:53 AM, DJ Lucas wrote:
This one might be an xorg problem...anyway, a symlink fixed it, but it
was looking at /opt/X11/lib/X11/xkb/rules instead of
/opt/X11/share/X11/xkb/rules. Okay...really, bed.
Think I've found it. libxklavier is making a bad assumption...
# Check whether --with-xkb_base was given.
if test "${with_xkb_base+set}" = set; then
withval=$with_xkb_base; xkb_base="$withval"
else
if test -z "$x_libraries" ; then
xkb_base="/usr/share/X11/xkb"
else
xkb_base="$x_libraries/X11/xkb"
fi
Need to add '--with-xkb-base=$XORG_PREFIX/share/X11/xkb' to
libxklavier's instructions...or fix that assumption with something like
the attached patch and an autoreconf:
-- DJ Lucas
--
This message has been scanned for viruses and
dangerous content, and is believed to be clean.
--- libxklavier-4.0-orig/configure.in 2009-09-23 22:43:51.000000000 -0500
+++ libxklavier-4.0/configure.in 2009-09-23 22:44:43.000000000 -0500
@@ -49,13 +49,23 @@
jm_LANGINFO_CODESET
AC_CHECK_FUNCS(setlocale)
AC_PATH_XTRA
+PKG_CHECK_MODULES(XKB, xkbfile >= 1.0.0)
+XKB_PREFIX=`$PKG_CONFIG --variable=prefix xkbfile`
AC_ARG_WITH( xkb_base,
[ --with-xkb-base=DIR XKB base path (by default it is
/usr/share/X11/xkb)],
xkb_base="$withval",
if test -z "$x_libraries" ; then
xkb_base="/usr/share/X11/xkb"
else
- xkb_base="$x_libraries/X11/xkb"
+ if test -d "$XKB_PREFIX/lib/X11/xkb/rules" ; then
+ xkb_base="$XKB_PREFIX/lib/X11/xkb"
+ else
+ if test -d "$XKB_PREFIX/share/X11/xkb/rules" ; then
+ xkb_base="$XKB_PREFIX/share/X11/xkb"
+ else dnl Last ditch attempt...
+ xkb_base="$x_libraries/X11/xkb"
+ fi
+ fi
fi )
AC_DEFINE_UNQUOTED(XKB_BASE,"${xkb_base}",Base for XKB configuration)
--
http://linuxfromscratch.org/mailman/listinfo/blfs-dev
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page