PaulHowarth/Blog/2009-09-03

Thursday 3rd September 2009

Fedora Project

Today I noticed that the recently-updated redhat-rpm-config package contained the file /usr/lib/rpm/redhat/macros.orig, which looked suspiciously like a patch backup file, and upon looking in CVS, that's exactly what it turned out to be. Rather than raising a bug about it, I decided to just fix it myself, first in Rawhide including a rebuild, and then in F-11 and F-10 (CVS only, no rebuilds as I didn't think the change warranted an update). Whilst I was at it I fixed up a few trivial issues with the specs such as missing %build sections, unescaped macros in the changelogs, and summaries ending with periods. When I got to the F-10 version, I found that there was another patch there creating a macros.orig file, that had been reported in Bugzilla and fixed in F-11 onwards (Bug #500316). Not only that, but the patch to include the automatic provides and requires filtering hadn't actually been applied in the F-10 version. That one warranted a rebuild so I tagged and built it and created a update for it.

I also got round to reviewing and approving Ben Boeckel's trac-accountmanager-plugin package at last.

Local Packages

Got a response back from Greg Roelofs, de facto upstream maintainer of xv these days, about the patches I sent him last month. He's busy at the moment but has queued them up to look at with a view to including them in the next release, along with a performance patch he's been working on. It's probably time to try merging my patches into the RPM Fusion version now.

XKB Error

Ever since updating to Fedora 11, I've been getting this error message popping up after logging into a Gnome session:

Error activating XKB configuration.
It can happen under various circumstances:
- a bug in libxklavier library
- a bug in X server (xkbcomp, xmodmap utilities)
- X server with incompatible libxkbfile implementation

X server version data:
The X.Org Foundation
10601901

If you report this situation as a bug, please include:
- The result of xprop -root | grep XKB
- The result of gconftool-2 -R /desktop/gnome/peripherals/keyboard/kbd

The output of those commands was as follows:

$ xprop -root | grep XKB
_XKB_RULES_NAMES_BACKUP(STRING) = "evdev", "evdev", "us", "", "terminate:ctrl_alt_bksp"
_XKB_RULES_NAMES(STRING) = "evdev", "evdev", "gb", "", ""

$ gconftool-2 -R /desktop/gnome/peripherals/keyboard/kbd
 layouts = [uk]
 options = []
 model = sp_inet

The problem turned out to be the bogus uk layout, which should have been gb - a hangover from previous releases where it hadn't been a problem. I ran gnome-keyboard-properties and replaced the existing layout with the United Kingdom layout, which changed the gconftool output as follows:

$ gconftool-2 -R /desktop/gnome/peripherals/keyboard/kbd
 model = sp_inet
 options = [terminate   terminate:ctrl_alt_bksp,grp     grp:shift_caps_toggle]
 layouts = [gb]

After logging out and back in again, the problem was gone :-)


Recent