Xkb vs gxdraw

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Xkb vs gxdraw

James Cloos-3
I just noticed that -DNO_XKB is in the CFLAGS during the compilation.

Configure looks for XkbQueryExtension in libxkbui, fails to find it,
and determines that xkb is not available.  On my laptop, however,
XkbQueryExtension is in libX11 (xorg 6.8.99.8).

It looks like the only loss from this is lack of notification of
changed keymaps, but ....

-JimC


-------------------------------------------------------
This SF.Net email is sponsored by: NEC IT Guy Games.  How far can you shotput
a projector? How fast can you ride your desk chair down the office luge track?
If you want to score the big prize, get to know the little guy.  
Play to win an NEC 61" plasma display: http://www.necitguy.com/?r=20
_______________________________________________
Fontforge-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/fontforge-devel
Reply | Threaded
Open this post in threaded view
|

Re: Xkb vs gxdraw (with patch)

James Cloos-3
[SIGH].  Tried to save that and sent it instead....

Anyway, it turns out the problem was that the test .c that configure
compiles requires a -lm to link.  So this patch should do it:


cvs diff: Diffing .
Index: configure.in
===================================================================
RCS file: /cvsroot/fontforge/fontforge/configure.in,v
retrieving revision 1.13
diff -u -d -u -r1.13 configure.in
--- configure.in        12 Mar 2005 04:44:05 -0000      1.13
+++ configure.in        13 Jun 2005 09:51:33 -0000
@@ -214,7 +214,7 @@
  dnl /usr/share/doc/XFree86-doc-4.2.0/Xi/lib.PS

  AC_CHECK_LIB(Xi, XOpenDevice, X_11LIB="-lXi -lX11" ,AC_DEFINE(_NO_XINPUT), $X_LIBS $X_PRE_LIBS $X_EXTRA_LIBS -lX11 )
- AC_CHECK_LIB(xkbui, XkbQueryExtension, X_11LIB="$X_11LIB -lxkbui" ,AC_DEFINE(_NO_XKB), $X_LIBS $X_PRE_LIBS $X_EXTRA_LIBS -lX11 )
+ AC_CHECK_LIB(xkbui, XkbQueryExtension, X_11LIB="$X_11LIB -lxkbui" ,AC_DEFINE(_NO_XKB), $X_LIBS $X_PRE_LIBS $X_EXTRA_LIBS -lX11 -lm )
 fi

 echo -n checking for long long ...

-JimC


-------------------------------------------------------
This SF.Net email is sponsored by: NEC IT Guy Games.  How far can you shotput
a projector? How fast can you ride your desk chair down the office luge track?
If you want to score the big prize, get to know the little guy.  
Play to win an NEC 61" plasma display: http://www.necitguy.com/?r=20
_______________________________________________
Fontforge-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/fontforge-devel