← Back to team overview

ubuntu-x-swat team mailing list archive

[Bug 553401] Re: typo in some symbol files in xkb-data

 

I don't know how to generate a debdiff.  You can fix the xkb-data
package as follows:

# Run this in a temporary directory.

aptitude download xkb-data

dpkg --extract xkb-data*.deb xkb-data-old
dpkg --extract xkb-data*.deb xkb-data

pushd xkb-data/usr/share/X11/xkb/symbols
for x in $(grep -l -R "^[[:space:]]*include.*;" .)
do
    echo "$x"
    sed -i -r -e 's/^([[:space:]]*include.*);/\1/g' $x
done
popd

# see what we have done so far:
diff -r xkb-data-old xkb-data

# generate symbols.dir
pushd xkb-data/usr/share/X11/xkb/symbols
xkbcomp -lfhlpR '*' -o ../symbols.dir
popd

# TEST the difference between the generated files:
A="xkb-data-old/usr/share/X11/xkb/symbols.dir"
B="xkb-data/usr/share/X11/xkb/symbols.dir"

sort "$A" > old-symbols.dir
sort "$B" > new-symbols.dir

diff old-symbols.dir new-symbols.dir

-- 
typo in some symbol files in xkb-data
https://bugs.launchpad.net/bugs/553401
You received this bug notification because you are a member of Ubuntu-X,
which is subscribed to xkeyboard-config in ubuntu.



References