pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/emulators/retroarch



Module Name:    pkgsrc
Committed By:   nia
Date:           Sat May 18 14:58:53 UTC 2019

Modified Files:
        pkgsrc/emulators/retroarch: Makefile distinfo
Added Files:
        pkgsrc/emulators/retroarch/patches:
            patch-input_include_xfree86__keycodes.h

Log Message:
retroarch: Add a patch to fix keyboard input (arrow keys) on NetBSD.

This worked fine before someone replaced the portable X11 input driver
with this monstrosity. This workaround is hopefully temporary since it
probably causes problems on other X11 implementations (using evdev)...

Bump PKGREVISION.


To generate a diff of this commit:
cvs rdiff -u -r1.22 -r1.23 pkgsrc/emulators/retroarch/Makefile
cvs rdiff -u -r1.13 -r1.14 pkgsrc/emulators/retroarch/distinfo
cvs rdiff -u -r0 -r1.1 \
    pkgsrc/emulators/retroarch/patches/patch-input_include_xfree86__keycodes.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/emulators/retroarch/Makefile
diff -u pkgsrc/emulators/retroarch/Makefile:1.22 pkgsrc/emulators/retroarch/Makefile:1.23
--- pkgsrc/emulators/retroarch/Makefile:1.22    Sat May 18 12:27:47 2019
+++ pkgsrc/emulators/retroarch/Makefile Sat May 18 14:58:53 2019
@@ -1,8 +1,8 @@
-# $NetBSD: Makefile,v 1.22 2019/05/18 12:27:47 nia Exp $
+# $NetBSD: Makefile,v 1.23 2019/05/18 14:58:53 nia Exp $
 
 PKGNAME=       retroarch-${RETROARCH_VERSION}
 DISTNAME=      RetroArch-${RETROARCH_VERSION}
-PKGREVISION=   2
+PKGREVISION=   3
 CATEGORIES=    emulators
 MASTER_SITES=  ${MASTER_SITE_GITHUB:=libretro/RetroArch/releases/download/v${RETROARCH_VERSION}/}
 EXTRACT_SUFX=  .tar.xz

Index: pkgsrc/emulators/retroarch/distinfo
diff -u pkgsrc/emulators/retroarch/distinfo:1.13 pkgsrc/emulators/retroarch/distinfo:1.14
--- pkgsrc/emulators/retroarch/distinfo:1.13    Sat May 18 12:27:47 2019
+++ pkgsrc/emulators/retroarch/distinfo Sat May 18 14:58:53 2019
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.13 2019/05/18 12:27:47 nia Exp $
+$NetBSD: distinfo,v 1.14 2019/05/18 14:58:53 nia Exp $
 
 SHA1 (RetroArch-1.7.7.tar.xz) = 32288d3cc23319280c80968e9f0446e00f24db19
 RMD160 (RetroArch-1.7.7.tar.xz) = e019c8a6486706e076878adc0510178e5c8d5d81
@@ -8,4 +8,5 @@ SHA1 (patch-Makefile) = a4dd20cf34724f79
 SHA1 (patch-audio_drivers_audioio.c) = 50820a7f3fbf7685098efdb794dd4efa485df806
 SHA1 (patch-configuration.c) = 58873db839f8f0ed2e011d4c4c75b00e6293c239
 SHA1 (patch-frontend_drivers_platform__unix.c) = e81ba53af2bdd4cecc4007cc9556f06446bf3b3f
+SHA1 (patch-input_include_xfree86__keycodes.h) = cd3b59122e9075a96fccb01bce2110dfa9cc160e
 SHA1 (patch-qb_config.libs.sh) = 0ec6ab7d49cdcd59c5938276517df1ee0212868e

Added files:

Index: pkgsrc/emulators/retroarch/patches/patch-input_include_xfree86__keycodes.h
diff -u /dev/null pkgsrc/emulators/retroarch/patches/patch-input_include_xfree86__keycodes.h:1.1
--- /dev/null   Sat May 18 14:58:53 2019
+++ pkgsrc/emulators/retroarch/patches/patch-input_include_xfree86__keycodes.h  Sat May 18 14:58:53 2019
@@ -0,0 +1,87 @@
+$NetBSD: patch-input_include_xfree86__keycodes.h,v 1.1 2019/05/18 14:58:53 nia Exp $
+
+Support non-evdev special keys...
+
+--- input/include/xfree86_keycodes.h.orig      2019-05-08 06:06:23.000000000 +0000
++++ input/include/xfree86_keycodes.h
+@@ -101,8 +101,8 @@ enum xfvk_key
+    XFVK_LALT           = 64,
+    XFVK_LCTL           = 37,
+    XFVK_SPCE           = 65,
+-   XFVK_RCTL           = 105,
+-   XFVK_RALT           = 108,
++   XFVK_RCTL           = 109,
++   XFVK_RALT           = 113,
+ 
+    XFVK_PRSC           = 107,
+    /* SYRQ                = 107, */
+@@ -110,20 +110,20 @@ enum xfvk_key
+    XFVK_PAUS           = 127,
+    /* BRK                 = 419, */
+ 
+-   XFVK_INS            = 118,
+-   XFVK_HOME           = 110,
+-   XFVK_PGUP           = 112,
+-   XFVK_DELE           = 119,
+-   XFVK_END            = 115,
+-   XFVK_PGDN           = 117,
+-
+-   XFVK_UP             = 111,
+-   XFVK_LEFT           = 113,
+-   XFVK_DOWN           = 116,
+-   XFVK_RGHT           = 114,
++   XFVK_INS            = 106,
++   XFVK_HOME           = 97,
++   XFVK_PGUP           = 99,
++   XFVK_DELE           = 107,
++   XFVK_END            = 103,
++   XFVK_PGDN           = 105,
++
++   XFVK_UP             = 98,
++   XFVK_LEFT           = 100,
++   XFVK_DOWN           = 104,
++   XFVK_RGHT           = 102,
+ 
+    XFVK_NMLK           = 77,
+-   XFVK_KPDV           = 106,
++   XFVK_KPDV           = 112,
+    XFVK_KPMU           = 63,
+    XFVK_KPSU           = 82,
+ 
+@@ -139,26 +139,26 @@ enum xfvk_key
+    XFVK_KP1            = 87,
+    XFVK_KP2            = 88,
+    XFVK_KP3            = 89,
+-   XFVK_KPEN           = 104,
++   XFVK_KPEN           = 108,
+ 
+    XFVK_KP0            = 90,
+    XFVK_KPDL           = 91,
+-   XFVK_KPEQ           = 125,
++   XFVK_KPEQ           = 126,
+ 
+    /* Microsoft keyboard extra keys */
+-   XFVK_LWIN           = 133,
+-   XFVK_RWIN           = 134,
++   XFVK_LWIN           = 115,
++   XFVK_RWIN           = 116,
+    XFVK_COMP           = 135,
+-   XFVK_MENU           = XFVK_COMP,
++   XFVK_MENU           = 117,
+ 
+    /* Extended keys */
+    XFVK_CALC           = 148,
+ 
+-   XFVK_FK13           = 191,
+-   XFVK_FK14           = 192,
+-   XFVK_FK15           = 193,
+-   XFVK_FK16           = 194,
+-   XFVK_FK17           = 195,
++   XFVK_FK13           = 118,
++   XFVK_FK14           = 119,
++   XFVK_FK15           = 120,
++   XFVK_FK16           = 121,
++   XFVK_FK17           = 122,
+    XFVK_FK18           = 196,
+    XFVK_FK19           = 197,
+    XFVK_FK20           = 198,



Home | Main Index | Thread Index | Old Index