[arch-commits] Commit in xorg-xkbcomp/repos/extra-x86_64 (3 files)

Andreas Radke andyrtr at archlinux.org
Fri Jun 8 18:40:51 UTC 2018


    Date: Friday, June 8, 2018 @ 18:40:51
  Author: andyrtr
Revision: 326494

archrelease: copy trunk to extra-x86_64

Added:
  xorg-xkbcomp/repos/extra-x86_64/PKGBUILD
    (from rev 326493, xorg-xkbcomp/trunk/PKGBUILD)
Deleted:
  xorg-xkbcomp/repos/extra-x86_64/0001-Ignore-xkb_keycodes.maximum-of-255.patch
  xorg-xkbcomp/repos/extra-x86_64/PKGBUILD

-----------------------------------------------+
 0001-Ignore-xkb_keycodes.maximum-of-255.patch |   51 ----------------
 PKGBUILD                                      |   74 ++++++++++--------------
 2 files changed, 33 insertions(+), 92 deletions(-)

Deleted: 0001-Ignore-xkb_keycodes.maximum-of-255.patch
===================================================================
--- 0001-Ignore-xkb_keycodes.maximum-of-255.patch	2018-06-08 18:40:38 UTC (rev 326493)
+++ 0001-Ignore-xkb_keycodes.maximum-of-255.patch	2018-06-08 18:40:51 UTC (rev 326494)
@@ -1,51 +0,0 @@
-From 52195d453cae1369a90b4fd08793df9bb0869192 Mon Sep 17 00:00:00 2001
-From: Peter Hutterer <peter.hutterer at who-t.net>
-Date: Thu, 7 Jun 2018 11:25:01 +1000
-Subject: [PATCH xkbcomp] Ignore xkb_keycodes.maximum of > 255
-
-Continuation from 7fdfabd75 "keycodes: Ignore high keycodes"
-
-A keymap with a key > 255 will have a xkb_keycodes.maximum of that keycode.
-Let's not throw a fatal error on that, just crop it back to the maximum of
-255. This doesn't set the "high_keycode_warned" on purpose so we get this for
-the first key that actually matters.
-
-Reproducible with xkeyboard-config 2.24 which has a maximum of 374.
-
-Signed-off-by: Peter Hutterer <peter.hutterer at who-t.net>
----
- keycodes.c | 10 +++++++++-
- 1 file changed, 9 insertions(+), 1 deletion(-)
-
-diff --git a/keycodes.c b/keycodes.c
-index d5ac762..c21f7c4 100644
---- a/keycodes.c
-+++ b/keycodes.c
-@@ -663,7 +663,7 @@ HandleKeyNameVar(VarDef * stmt, KeyNamesInfo * info)
-         ACTION1("Assignment to field %s ignored\n", field.str);
-         return 0;
-     }
--    if ((tmp.ival < XkbMinLegalKeyCode) || (tmp.ival > XkbMaxLegalKeyCode))
-+    if ((tmp.ival < XkbMinLegalKeyCode))
-     {
-         ERROR3
-             ("Illegal keycode %d (must be in the range %d-%d inclusive)\n",
-@@ -671,6 +671,14 @@ HandleKeyNameVar(VarDef * stmt, KeyNamesInfo * info)
-         ACTION1("Value of \"%s\" not changed\n", field.str);
-         return 0;
-     }
-+    if ((tmp.ival > XkbMaxLegalKeyCode))
-+    {
-+        WARN2("Unsupported maximum keycode %d, clipping.\n", tmp.ival);
-+        ACTION2("X11 cannot support keycodes above 255.\n");
-+        info->explicitMax = XkbMaxLegalKeyCode;
-+        info->effectiveMax = XkbMaxLegalKeyCode;
-+        return 1;
-+    }
-     if (which == MIN_KEYCODE_DEF)
-     {
-         if ((info->explicitMax > 0) && (info->explicitMax < tmp.ival))
--- 
-2.14.4
-
-

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2018-06-08 18:40:38 UTC (rev 326493)
+++ PKGBUILD	2018-06-08 18:40:51 UTC (rev 326494)
@@ -1,41 +0,0 @@
-# $Id$
-# Maintainer: Jan de Groot <jgc at archlinux.org>
-# Maintainer: Andreas Radke <andyrtr at archlinux.org>
-
-pkgname=xorg-xkbcomp
-pkgver=1.4.1
-pkgrel=2
-pkgdesc="X Keyboard description compiler"
-arch=(x86_64)
-url="https://xorg.freedesktop.org/"
-license=('custom')
-depends=('libxkbfile')
-makedepends=('xorg-util-macros')
-groups=('xorg-apps' 'xorg')
-source=(${url}/releases/individual/app/xkbcomp-${pkgver}.tar.bz2{,.sig}
-        0001-Ignore-xkb_keycodes.maximum-of-255.patch)
-sha512sums=('443397e112f67e2ebc5150ec0dbf0f4a072ea39585d964d2c7cbd0569b7e0ce7d8bed0bc2c2d886343fdb060c941e65b42aac16adf189c66e90849029e278f23'
-            'SKIP'
-            '4005d187a3d585fd4165254c2a4a17cd381d9cf04dfef649de47ecb26dfbe1442e42b1c87e4aa9a3d7f45054393a5371299167a8c089d50e981a74b764e7353c')
-validpgpkeys=('3C2C43D9447D5938EF4551EBE23B7E70B467F0BF') # Peter Hutterer (Who-T) <office at who-t.net>
-validpgpkeys+=('A66D805F7C9329B4C5D82767CCC4F07FAC641EFF') # "Daniel Stone <daniels at collabora.com>"
-validpgpkeys+=('DD38563A8A8224537D1F90E45B8A2D50A0ECD0D3') # "Adam Jackson <ajax at benzedrine.nwnk.net>"
-
-prepare() {
-  cd xkbcomp-${pkgver}
-  # FS58908; https://bugzilla.redhat.com/show_bug.cgi?id=1587998
-  patch -Np1 -i ../0001-Ignore-xkb_keycodes.maximum-of-255.patch
-}
-
-build() {
-  cd xkbcomp-${pkgver}
-  ./configure --prefix=/usr
-  make
-}
-
-package() {
-  cd xkbcomp-${pkgver}
-  make DESTDIR="${pkgdir}" install
-  install -m755 -d "${pkgdir}/usr/share/licenses/${pkgname}"
-  install -m644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/"
-}

Copied: xorg-xkbcomp/repos/extra-x86_64/PKGBUILD (from rev 326493, xorg-xkbcomp/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2018-06-08 18:40:51 UTC (rev 326494)
@@ -0,0 +1,33 @@
+# $Id$
+# Maintainer: Jan de Groot <jgc at archlinux.org>
+# Maintainer: Andreas Radke <andyrtr at archlinux.org>
+
+pkgname=xorg-xkbcomp
+pkgver=1.4.2
+pkgrel=1
+pkgdesc="X Keyboard description compiler"
+arch=(x86_64)
+url="https://xorg.freedesktop.org/"
+license=('custom')
+depends=('libxkbfile')
+makedepends=('xorg-util-macros')
+groups=('xorg-apps' 'xorg')
+source=(${url}/releases/individual/app/xkbcomp-${pkgver}.tar.bz2{,.sig})
+sha512sums=('b00d1eb08c19be86044418c8ea3bfc3c3973406c481878270138a70ed9dab348acb8e4d0af8678879598ffbd7df1c640a63d0abad3d7481758be99af8dd7734e'
+            'SKIP')
+validpgpkeys=('3C2C43D9447D5938EF4551EBE23B7E70B467F0BF') # Peter Hutterer (Who-T) <office at who-t.net>
+validpgpkeys+=('A66D805F7C9329B4C5D82767CCC4F07FAC641EFF') # "Daniel Stone <daniels at collabora.com>"
+validpgpkeys+=('DD38563A8A8224537D1F90E45B8A2D50A0ECD0D3') # "Adam Jackson <ajax at benzedrine.nwnk.net>"
+
+build() {
+  cd xkbcomp-${pkgver}
+  ./configure --prefix=/usr
+  make
+}
+
+package() {
+  cd xkbcomp-${pkgver}
+  make DESTDIR="${pkgdir}" install
+  install -m755 -d "${pkgdir}/usr/share/licenses/${pkgname}"
+  install -m644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/"
+}



More information about the arch-commits mailing list