Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 92279

Summary: gnome-applets-2.8.2 failed to compile with libxklavier-2.0 (gswitchit applet trouble)
Product: Gentoo Linux Reporter: Dmitry Petrov <inferno.com>
Component: New packagesAssignee: Gentoo Linux Gnome Desktop Team <gnome>
Status: RESOLVED FIXED    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 91329    
Attachments: ebuild & patch that fixes gswitchit applet problem with libxklavier-2.0

Description Dmitry Petrov 2005-05-11 11:40:43 UTC
Compile fails on two files:
libgswitchit/gswitchit_config.c
gswitchit/gswitchit-applet.c

Reproducible: Always
Steps to Reproduce:
emerge =gnome-applets-2.8.2
(I use portage snapshot from 05 May, 2005 where this ebuild not masked in any way)
Actual Results:  
gswitchit_config.c: In function `_GSwitchItXkbConfigDoWithSettings':
gswitchit_config.c:396: error: too many arguments to function `XklConfigActivate'
  and
gswitchit-applet.c: In function `GSwitchItAppletStartListen':
gswitchit-applet.c:712: error: too few arguments to function `XklStartListen'


Expected Results:  
Compile successfully :)

I've made appropriate patch and ebuild gnome-applets-2.8.2-r1 that allows
successful compilation for libxklaview 2.0. But I'm a newbie to ebuilds so I
could make something wrong but it worked perfectly for me.
Comment 1 Dmitry Petrov 2005-05-11 11:44:19 UTC
Created attachment 58683 [details]
ebuild & patch that fixes gswitchit applet problem with libxklavier-2.0

Just unpack to gnome-base/gnome-applets, make digest and emerge.
Comment 2 foser (RETIRED) gentoo-dev 2005-06-05 06:46:20 UTC
I opted for the other solution to fix <2.10 applets dep on libxklavier 1.0*,
that should fix this as well.

Thanks for the report.