kbd
Prepare
Section titled “Prepare”- Check if it builds with
byaccand thatbisonis not a hard dependency (likeflex)
Prepare
Section titled “Prepare”- Depends on
flex; does not supportreflex
Configure
Section titled “Configure”- Code coverage support is disabled by default
werroris disabled by default- Optional programs are disabled by default
libkeymapandlibkfontare disabled by default- Explicitly disable
memcheckasconfigurestill sets it toautoeven whentestsare disabled openvtruns interactive shells on virtual terminalsvlockis enabled by default and it requirespamand disabling it removes/usr/etcconfiguredoes not respect--without-bzip2so we explicitly setac_cv_lib_bz2_BZ2_bzDecompressInit=noand without it:
- with dlopen libbz2: yes...BZIP2_LIBS='-lbz2'...USE_BZIP2_FALSE='#'USE_BZIP2_TRUE=''...#define HAVE_BZIP2 1resizeconsgets built and installed even withRESIZECONS_PROGS=no- Prefer default
datarootdiranddatadir(which is/usr/share) to/usr/share/kbd
Package
Section titled “Package”- Do not create a
/usr/bin/open -> openvtsymlink asopenis ambiguous nowadays - Remove
loadunimapandmapscrnas they are obsolete and their functionality is now part ofsetfont - Remove
getkeycodesand rely onshowkeyandevdevinstead - Remove
psf*as fonts are already pre-built (no need to modify font tables at runtime) - Remove
resizecons - Keep
unicode_startandunicode_stopas they are small wrappers aroundkbd_modeandsetfont
- Alpine’s initramfs uses
busybox’sloadkmapwhich only parses binary keymaps.bmap deallocvtmay be needed for cleaning up after a graphical sessionbkeymapsis an older version ofkbd