when I upgraded gnome-2.14 to gnome-2.16, gnome-applets failed, the error
message are following:
In file included from gswitchit-config.c:31:
./keyboard-config-registry-client.h:5:28: error: dbus/dbus-glib.h: No such file
or directory
In file included from gswitchit-config.c:31:
./keyboard-config-registry-client.h:17: error: expected ‘)’ before
‘*’ token
./keyboard-config-registry-client.h:23: error: expected ‘)’ before
‘*’ token
./keyboard-config-registry-client.h:26: error: expected ‘)’ before
‘*’ token
./keyboard-config-registry-client.h:43: error: expected ‘=’,
‘,’, ‘;’, ‘asm’ or
‘__attribute__’ before ‘*’ token
gswitchit-config.c: In function
‘gswitchit_config_get_remote_lv_descriptions_utf8’:
gswitchit-config.c:147: error: ‘DBusGProxy’ undeclared (first use
in this function)
gswitchit-config.c:147: error: (Each undeclared identifier is reported only
once
gswitchit-config.c:147: error: for each function it appears in.)
gswitchit-config.c:147: error: ‘proxy’ undeclared (first use in
this function)
gswitchit-config.c:148: error: ‘DBusGConnection’ undeclared (first
use in this function)
gswitchit-config.c:148: error: ‘connection’ undeclared (first use
in this function)
gswitchit-config.c:151: warning: implicit declaration of function
‘dbus_g_bus_get’
gswitchit-config.c:151: error: ‘DBUS_BUS_SESSION’ undeclared (first
use in this function)
gswitchit-config.c:161: warning: implicit declaration of function
‘dbus_g_proxy_new_for_name’
gswitchit-config.c:167: warning: implicit declaration of function
‘org_gnome_KeyboardConfigRegistry_get_current_descriptions_as_utf8’
make[3]: *** [gswitchit-config.o] Error 1
make[3]: Leaving directory
`/home/tmp/portage/gnome-applets-2.16.0.1/work/gnome-applets-2.16.0.1/libgswitchit'
make[2]: *** [all] Error 2
make[2]: Leaving directory
`/home/tmp/portage/gnome-applets-2.16.0.1/work/gnome-applets-2.16.0.1/libgswitchit'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory
`/home/tmp/portage/gnome-applets-2.16.0.1/work/gnome-applets-2.16.0.1'
make: *** [all] Error 2
!!! ERROR: gnome-base/gnome-applets-2.16.0.1 failed.
Call stack:
ebuild.sh, line 1546: Called dyn_compile
ebuild.sh, line 937: Called src_compile
ebuild.sh, line 1255: Called gnome2_src_compile
gnome2.eclass, line 64: Called die
!!! compile failure
!!! If you need support, post the topmost build error, and the call stack if
relevant.
It appears as if the keyboard registry changes done upstream now made dbus
non-optional for gwitchit applet, even if HAL isn't used.
So dbus should be moved out of the hal USE flag conditional, or made dependant
of a dbus USE flag, which in turn would make the gswitchit applet dependant on
dbus USE flag. As dbus is required for gnome-settings-daemon anyway(?), I would
lean towards the former.
yes, I re-emerged gnome-applets wiht "hal" USE, and successed, thx.