Bug 174361
Summary: | "Error activating XKB configuration" on modular Xorg | ||||||||
---|---|---|---|---|---|---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Ilya Konstantinov <ilya.konstantinov> | ||||||
Component: | libxklavier | Assignee: | Ray Strode [halfline] <rstrode> | ||||||
Status: | CLOSED RAWHIDE | QA Contact: | Mike McLean <mikem> | ||||||
Severity: | medium | Docs Contact: | |||||||
Priority: | medium | ||||||||
Version: | rawhide | CC: | bugs, sergey_udaltsov | ||||||
Target Milestone: | --- | ||||||||
Target Release: | --- | ||||||||
Hardware: | All | ||||||||
OS: | Linux | ||||||||
Whiteboard: | |||||||||
Fixed In Version: | Doc Type: | Bug Fix | |||||||
Doc Text: | Story Points: | --- | |||||||
Clone Of: | Environment: | ||||||||
Last Closed: | 2006-03-13 05:35:17 UTC | Type: | --- | ||||||
Regression: | --- | Mount Type: | --- | ||||||
Documentation: | --- | CRM: | |||||||
Verified Versions: | Category: | --- | |||||||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||||
Cloudforms Team: | --- | Target Upstream Version: | |||||||
Embargoed: | |||||||||
Attachments: |
|
Description
Ilya Konstantinov
2005-11-28 14:59:24 UTC
I've narrowed down one problem: It stems from the fact that /usr/X11R6/lib/X11/xkb has moved to /usr/share/X11/xkb, and libxklavier's autoconf script doesn't detect it. Also, libxklavier doesn't support a file layout where /usr/share/X11/xkb only contains the data and the 'xkbcomp' executable resides in a different place. I'll be sending a patch once everything is ready. Created attachment 122582 [details]
Add XKB_BIN_BASE define
Patches the code to run xkbcomp from XKB_BIN_BASE/xkbcomp, and patches the
autoconf scripts to generate that define in config.h.
The actual files (configure and config.h) are provided as well within the
patch, since rpmbuild doesn't call autoconf/autoheader. If the patch goes
upstream, omit those files.
Created attachment 122583 [details]
Patch libxklavier.spec to include my patch
With this patch, the GNOME Keyboard Indicator applet still sees a very small selection of layout options. Also, I'm unable to make it use more than one layout... but at least it eliminates the error messages, so I guess we're getting somewhere. Sergey, please have a look. Well, this patch makes sense to me, generally. The only thing is that it includes changes to the "configure" script which is autogenerated;) I'll apply it ASAP. Except for .spec file - I think most people still use nonmodular Xorg... Committed. The spec is intended for Fedora. I didn't look at your spec. While in Fedora's spec I allowed myself to hardcode the X directories, you should probably improve configure.in to autodetect those values better; right now, $x_libraries was simply not defined in my configure run (but I didn't research further into it). Re autogenerated configure, I also included the configure.in file, which's what you should take. The autogenerated one is for Fedora's consumption. This has apparently been fixed in rawhide since Dec 27th. Closing... Thanks for the patch Ilya! |