After installing libxklavier-4.0 : # emerge libgnomekbd [...] libtool: compile: x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I.. -Wall -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng12 -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -DORBIT2=1 -pthread -I/usr/include/gconf/2 -I/usr/include/orbit-2.0 -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/libxml2 -I../intl -DSYS_PLUGIN_DIR=\"/usr/lib64/gnomekbd/\" -DG_LOG_DOMAIN=\"GnomeKbdIndicator\" -DGLADEDIR=\"\" -DDATADIR=\"/usr/share\" -DSYSCONFDIR=\"/etc\" -DLIBDIR=\"/usr/lib64\" -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng12 -march=native -O2 -pipe -MT libgnomekbdui_la-gkbd-indicator.lo -MD -MP -MF .deps/libgnomekbdui_la-gkbd-indicator.Tpo -c gkbd-indicator.c -fPIC -DPIC -o .libs/libgnomekbdui_la-gkbd-indicator.o gkbd-indicator.c: In function 'gkbd_indicator_global_init': gkbd-indicator.c:720: error: too few arguments to function 'xkl_config_registry_load' make[3]: *** [libgnomekbdui_la-gkbd-indicator.lo] Error 1 make[3]: Leaving directory `/var/tmp/portage/gnome-base/libgnomekbd-2.26.0/work/libgnomekbd-2.26.0/libgnomekbd' make[2]: *** [all] Error 2 make[2]: Leaving directory `/var/tmp/portage/gnome-base/libgnomekbd-2.26.0/work/libgnomekbd-2.26.0/libgnomekbd' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/gnome-base/libgnomekbd-2.26.0/work/libgnomekbd-2.26.0' make: *** [all] Error 2 * * ERROR: gnome-base/libgnomekbd-2.26.0 failed.
also fail: gnome-base/gdm-2.26.1 gnome-base/gnome-control-center-2.26.0 with similar errors.
The patch is here: http://www.openmamba.org/showfile.html?file=/pub/openmamba/devel/patches/libgnomekbd-2.26.0-libxklavier-4.0.patch
Created attachment 198524 [details, diff] libgnomekbd-2.26.0-libxklavier-4.0.patch Patch from comment #2
Created attachment 198527 [details, diff] libgnomekbd-2.26.0.ebuild.diff Ebuild change to apply patch.
Created attachment 198542 [details, diff] libgnomekbd-2.26.0-libxklavier-4.0-supports.patch Update the patch by optional loading of extras from upstream,gnome-control-center-2.26.0 also needed.
Created attachment 198544 [details, diff] libgnomekbd-2.26.0.ebuild.diff
Created attachment 198547 [details, diff] gnome-control-center-2.26.0-libxklavier-4.0-supports.patch (In reply to comment #1) > also fail: > gnome-base/gdm-2.26.1 > gnome-base/gnome-control-center-2.26.0 > with similar errors. > The patch for gnome-control-center-2.26.0 libxklavier-4.0 support.
I guess I can confirm this, I'll attach my log.
Created attachment 198551 [details] Log
It would be nicer if those patch could handle both pre libxklavier-4 and libxklavier 4. Otherwise we will have to be careful when stabilizing.
Comment on attachment 198524 [details, diff] libgnomekbd-2.26.0-libxklavier-4.0.patch Simple and competent
Comment on attachment 198547 [details, diff] gnome-control-center-2.26.0-libxklavier-4.0-supports.patch --- gnome-control-center-2.26.0.orig/capplets/keyboard/gnome-keyboard-properties-xkb.c 2008-11-05 00:09:47.000000000 +0800 +++ gnome-control-center-2.26.0/capplets/keyboard/gnome-keyboard-properties-xkb.c 2009-07-20 19:11:53.000000000 +0800 @@ -155,7 +155,7 @@ engine = xkl_engine_get_instance (GDK_DISPLAY ()); config_registry = xkl_config_registry_get_instance (engine); - xkl_config_registry_load (config_registry); + xkl_config_registry_load (config_registry,FALSE); gkbd_keyboard_config_init (&initial_config, xkb_gconf_client, engine);
wait, if upstream already commited a patch, we will take this one if possible, and avoid ourselves the pain of having a less functional patch.
(In reply to comment #13) > wait, if upstream already commited a patch, we will take this one if possible, > and avoid ourselves the pain of having a less functional patch. > http://mail.gnome.org/archives/gnome-announce-list/2009-June/msg00059.html Apparently,that new feature is unnecessary for current gnome-2.26.
it just says 2.26 can't use it, it doesn't mean the patch with the gconf changes doesn't make it immediately useful for 2.26 (which I think it does).
Same patch used in Fedora 2.27.4, http://cvs.fedoraproject.org/viewvc/rpms/libgnomekbd/devel/libxklavier4.patch?view=markup
Fixed and kept compatibility with older libxklavier. Thanks for reporting and pointing to patches.