Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 323909 - gnome-base/gnome-settings-daemon-2.28.2 fails to build with x11-libs/libxklavier-5.0
Summary: gnome-base/gnome-settings-daemon-2.28.2 fails to build with x11-libs/libxklav...
Status: RESOLVED WORKSFORME
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] GNOME (show other bugs)
Hardware: All Linux
: High normal
Assignee: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard:
Keywords:
: 323925 (view as bug list)
Depends on:
Blocks:
 
Reported: 2010-06-14 09:23 UTC by Märt Bakhoff
Modified: 2010-10-14 17:23 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Märt Bakhoff 2010-06-14 09:23:42 UTC
after upgrading to libxklavier-5, gnome-settings-daemon no longer builds:

gsd-keyboard-xkb.c: In function 'gsd_keyboard_xkb_shutdown':
gsd-keyboard-xkb.c:548: error: too few arguments to function 'xkl_engine_stop_listen'

libxklavier seems to have changed api (libxklavier/xkl_engine.h):
libxklavier-4:
extern gint xkl_engine_stop_listen(XklEngine * engine);
libxklavier-5:
extern gint xkl_engine_stop_listen(XklEngine * engine, guint flags);

valid flags should be:
typedef enum {
	XKLL_MANAGE_WINDOW_STATES = 0x01,
	XKLL_TRACK_KEYBOARD_STATE = 0x02,
	XKLL_MANAGE_LAYOUTS = 0x04
} XklEngineListenModes;

http://library.gnome.org/devel/libxklavier/unstable/libxklavier-XklEngine.html#XklEngineListenModes

not much documentation is available and i'm not really sure which of the flags are missing. any ideas? 

Reproducible: Always

Steps to Reproduce:
1. upgrade to x11-libs/libxklavier-5
2. try to build gnome-base/gnome-settings-manager-2.28.2
Comment 1 Pacho Ramos gentoo-dev 2010-06-14 09:30:11 UTC
It is known to fail, you need to use 2.30.1 instead
Comment 2 Märt Bakhoff 2010-06-14 10:18:58 UTC
thanks for answering that quickly

2.30.1 is only available from gnome-overlay, right? 

libxklavier-5 is in the main tree right now and breaks 2.28.2 which is the latest gnome-settings-daemon available non-overlay. is using overlays the only way to successfully build gnome at the moment? i'm a little confused.. 
Comment 3 Pacho Ramos gentoo-dev 2010-06-14 12:08:58 UTC
Ups, I prepared it locally on my CVS but finally forgot to commit. Just committed new 2.30.1-r1
+*gnome-settings-daemon-2.30.1-r1 (14 Jun 2010)
+
+  14 Jun 2010; Pacho Ramos <pacho@gentoo.org>
+  +files/gnome-settings-daemon-2.30.0-gst-vol-control-support.patch,
+  +gnome-settings-daemon-2.30.1-r1.ebuild,
+  +files/gnome-settings-daemon-2.30.1-XF86Display.patch,
+  +files/gnome-settings-daemon-2.30.1-baobob-check.patch,
+  +files/gnome-settings-daemon-2.30.1-osd-icons.patch:
+  Add new version for Gnome 2.30.
Comment 4 Pacho Ramos gentoo-dev 2010-06-14 12:09:53 UTC
*** Bug 323925 has been marked as a duplicate of this bug. ***
Comment 5 Greg Trigg 2010-10-14 17:23:58 UTC
ppc64 is still at 2.26.1-r2, hence I am now running into this bug.  Using keyword ~ppc64 I was able to build 2.30.2-r1