Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 175179

Summary: sys-apps/kbd support for binary dumps
Product: Gentoo Linux Reporter: Natanael Copa <natanael.copa>
Component: New packagesAssignee: Gentoo's Team for Core System packages <base-system>
Status: RESOLVED FIXED    
Severity: enhancement CC: gladkov.alexey
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
URL: http://mstempin.free.fr/index.php?2005/08/08/14-generating-busybox-binary-keymaps
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: kbd-bkeymap.patch
files/kbd-1.13-bkeymap.patch

Description Natanael Copa 2007-04-19 07:32:31 UTC
There is a patch for a -b option to loadkeys to generate binary dumps of the keymaps that can be used with busybox.

http://mstempin.free.fr/downloads/kbd-bkeymap.patch

Would be very nice if this patch could be applied to sys-apps/kbd.

Thanks!
Comment 1 Natanael Copa 2007-08-29 20:45:02 UTC
Does anyone has a copy of this patch available? Link is broken and my copy is gone. Google cant find the patch either. :-(
Comment 2 Alexey Gladkov 2007-08-30 10:44:30 UTC
Created attachment 129613 [details, diff]
kbd-bkeymap.patch

I found this patch.

web.archive.org - rulez! :)
Comment 3 Natanael Copa 2007-08-30 12:17:26 UTC
Created attachment 129619 [details, diff]
files/kbd-1.13-bkeymap.patch

Thanks!

Patch is adapted to work on kbd-1.13-r1.

Changes needed for ebuild is:

--- /usr/portage/sys-apps/kbd/kbd-1.13-r1.ebuild        2007-08-26 21:14:12 +0000
+++ kbd-1.13-r1.ebuild  2007-08-30 12:14:06 +0000
@@ -49,6 +49,9 @@
 
        # cross-compile fails for powerpc targets bug #133856
        epatch "${FILESDIR}"/${PN}-1.12-xcompile.patch
+
+       # Support for binary dums bug #175179
+       epatch "${FILESDIR}"/${P}-bkeymap.patch
 }
 
 src_compile() {
Comment 4 SpanKY gentoo-dev 2008-03-30 17:49:29 UTC
Alexey: were you going to add this upstream then ?
Comment 5 Alexey Gladkov 2008-03-31 14:27:30 UTC
(In reply to comment #4)
> Alexey: were you going to add this upstream then ?

Yes.
Comment 6 SpanKY gentoo-dev 2008-12-01 22:52:17 UTC
should be part of kbd-1.15 then