Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 92279 - gnome-applets-2.8.2 failed to compile with libxklavier-2.0 (gswitchit applet trouble)
Summary: gnome-applets-2.8.2 failed to compile with libxklavier-2.0 (gswitchit applet ...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 91329
  Show dependency tree
 
Reported: 2005-05-11 11:40 UTC by Dmitry Petrov
Modified: 2005-06-05 06:46 UTC (History)
0 users

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


Attachments
ebuild & patch that fixes gswitchit applet problem with libxklavier-2.0 (gnome-applets-2.8.2-r1.tar.bz2,1.93 KB, application/x-bzip-compressed-tar)
2005-05-11 11:44 UTC, Dmitry Petrov
Details

Note You need to log in before you can comment on or make changes to this bug.
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.