Hi Michael, I tried it just now ... and no success. Please help me to find what is wrong. I did following actions:
1) cd /usr/src 2) apt-get source kbd 3) apt-get build-dep kbd 4) aptitude install fakeroot 5) aptitude install bison 6) I've prepared patch to changelog (add some lines with new version information) and I've found that Samuel's patch use variable KDSKBDIACRUC so I modify Makefile.in. See final version of patch file: *-*-* --- kbd-1.14.1/src/Makefile.in 2009-04-16 17:10:00.000000000 +0200 +++ kbd-1.14.1-pv/src/Makefile.in 2009-04-16 17:13:00.000000000 +0200 @@ -35,7 +35,7 @@ WARN = -Wall -Wmissing-prototypes -Wstrict-prototypes -Wunused-function \ -Wunused-label -Wunused-variable -Wunused-value -DEFS = -DDATADIR=\"$(DATA_DIR)\" +DEFS = -DDATADIR=\"$(DATA_DIR)\" -DKDSKBDIACRUC=1 .c.o: $(CC) -c $(WARN) $(CFLAGS) $(DEFS) $< --- kbd-1.14.1/debian/changelog 2009-04-16 17:10:00.000000000 +0200 +++ kbd-1.14.1-pv/debian/changelog 2009-04-16 17:29:15.000000000 +0200 @@ -1,3 +1,9 @@ +kbd (1.14.1-4PV) unstable; urgency=medium + + * Patch from Samuel Thibault applied + + -- Michael Schutte <m.schutte...@gmail.com> Thr, 16 Apr 2009 12:45:00 +0200 + kbd (1.14.1-4) unstable; urgency=medium * Read /etc/environment or /etc/default/locale earlier in the init script, *-*-* Well, I think all is prepared to build. 7) dpkg-source -x kbd_1.14.1-4.dsc 8) cd kbd-1.14.1 8) copy my patch and patch from http://bugzilla.kernel.org/attachment.cgi?id=12359 to /usr/src/kbd-1.14.1 9) patch -p1 < my.patch #(my patch) 10) patch -p1 < kbd.patch #(patch from bugzilla) Now I've checked that files are patched ... OK :-) 11) fakeroot debian-rules binary-arch It resulted to 2 packages, kbd_udeb and kbd_1.14.1-4PV_i386.deb. 12) copy kbd_1.14.1-4PV_i386.deb to my local pool of packages and make it visible to aptitude 13) run aptitude, update package kbd Now aptitude reports that my version of package is installed. 14) Reboot computer (to be sure) Then I log in and try to type character "ě" using one key ... it works fine. Then I try to use dead key + "e" key ... wrong. Using echo "ěě" > file.txt (first character is typed using one key, 2nd one using dead key+"e") I've found that character C3 AC is saved instead of right C4 9B. I really do not think that Samuel's patch doesn't work, it seems that package in lenny doesn't contain this patch and I did any mistake during package recompiling, but how can I find my mistake? Is it neccessary to apply any patch to kernel? I use standard lenny kernel 2.6.26-1-686. Please help me, Pavel
pgpU7K6XUcJWp.pgp
Description: PGP signature