Date: Thursday, January 19, 2012 @ 04:59:40 Author: bluewind Revision: 146922
upgpkg: xkeyboard-config 2.4.1-3 remove debugging keys References: https://mailman.archlinux.org/pipermail/arch-general/2012-January/024292.html Modified: xkeyboard-config/trunk/PKGBUILD ----------+ PKGBUILD | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) Modified: PKGBUILD =================================================================== --- PKGBUILD 2012-01-19 08:17:01 UTC (rev 146921) +++ PKGBUILD 2012-01-19 09:59:40 UTC (rev 146922) @@ -2,7 +2,7 @@ # Maintainer: Jan de Groot <j...@archlinux.org> pkgname=xkeyboard-config pkgver=2.4.1 -pkgrel=2 +pkgrel=3 pkgdesc="X keyboard configuration files" arch=(any) license=('custom') @@ -20,6 +20,15 @@ build() { cd "${srcdir}/${pkgname}-${pkgver}" patch -Np1 -i "${srcdir}/git-fixes.patch" + + # remove debugging bindings from default mappings + find symbols -type f -exec sed \ + -e 's/XF86_Ungrab/NoSymbol/g' \ + -e 's/XF86_ClearGrab/NoSymbol/g' \ + -e 's/XF86_LogWindowTree/NoSymbol/g' \ + -e 's/XF86_LogGrabInfo/NoSymbol/g' \ + -i {} + + ./configure --prefix=/usr \ --with-xkb-base=/usr/share/X11/xkb \ --with-xkb-rules-symlink=xorg \