xkbcommon 0.0.0 → 0.0.1
raw patch · 2 files changed
+21/−12 lines, 2 filesdep ~base
Dependency ranges changed: base
Files
- tests/keyseq.hs +18/−2
- xkbcommon.cabal +3/−10
tests/keyseq.hs view
@@ -205,13 +205,29 @@ (keycode_leftshift, Up, keysym_Caps_Lock), (keycode_capslock, Up, keysym_ISO_Level3_Shift), (keycode_rightalt, Down, keysym_ISO_Level5_Shift),+ -- see 0c8e9e0c in libxkbcommon+ -- (keycode_5, Both, keysym_periodcentered),+ -- (keycode_e, Both, keysym_Up),+ -- (keycode_space, Both, keysym_KP_0),+ -- (keycode_kp8, Both, keysym_KP_Up),+ (keycode_esc, Both, keysym_Escape),+ (keycode_rightalt, Up, keysym_ISO_Level5_Shift),+ (keycode_v, Both, keysym_p)]++ km1a <- liftM fromJust $ newKeymapFromNames ctx (RMLVO+ (Just "evdev")+ (Just "")+ (Just "de")+ (Just "neo")+ (Just ""))+ testKeySeq km1a [+ (keycode_rightalt, Down, keysym_ISO_Level5_Shift), (keycode_5, Both, keysym_periodcentered), (keycode_e, Both, keysym_Up), (keycode_space, Both, keysym_KP_0), (keycode_kp8, Both, keysym_KP_Up), (keycode_esc, Both, keysym_Escape),- (keycode_rightalt, Up, keysym_ISO_Level5_Shift),- (keycode_v, Both, keysym_p)]+ (keycode_rightalt, Up, keysym_ISO_Level5_Shift)] km2 <- liftM fromJust $ newKeymapFromNames ctx (RMLVO (Just "evdev")
xkbcommon.cabal view
@@ -2,7 +2,7 @@ -- documentation, see http://haskell.org/cabal/users-guide/ name: xkbcommon-version: 0.0.0+version: 0.0.1 synopsis: Haskell bindings for libxkbcommon description: Wrapper library for libxkbcommon, which is the new alternative for the X11 XKB.h keyboard input@@ -54,8 +54,9 @@ Text.XkbCommon.ParseDefines, Text.XkbCommon.InternalTypes -- other-modules:- build-depends: base ==4.6.*, transformers, storable-record, process, cpphs, template-haskell, text, bytestring, data-flags, filepath+ build-depends: base <5, transformers, storable-record, process, cpphs, template-haskell, text, bytestring, data-flags, filepath -- build-tools: c2hs+ extra-libraries: xkbcommon -- this is actually not a test but a benchmark Benchmark bench-key-proc@@ -64,7 +65,6 @@ other-modules: Common main-is: bench-key-proc.hs build-depends : base, xkbcommon, random, vector, time- extra-libraries: xkbcommon Test-Suite context type: exitcode-stdio-1.0@@ -72,7 +72,6 @@ other-modules: Common main-is: context.hs build-depends : base, xkbcommon- extra-libraries: xkbcommon Test-Suite filecomp type: exitcode-stdio-1.0@@ -80,7 +79,6 @@ other-modules: Common main-is: filecomp.hs build-depends : base, xkbcommon- extra-libraries: xkbcommon Test-Suite keyseq type: exitcode-stdio-1.0@@ -88,7 +86,6 @@ other-modules: Common main-is: keyseq.hs build-depends : base, xkbcommon- extra-libraries: xkbcommon Test-Suite keysym type: exitcode-stdio-1.0@@ -96,7 +93,6 @@ other-modules: Common main-is: keysym.hs build-depends : base, xkbcommon- extra-libraries: xkbcommon Test-Suite rulescomp type: exitcode-stdio-1.0@@ -104,7 +100,6 @@ other-modules: Common main-is: rulescomp.hs build-depends : base, xkbcommon, unix- extra-libraries: xkbcommon Test-Suite state type: exitcode-stdio-1.0@@ -112,7 +107,6 @@ other-modules: Common main-is: state.hs build-depends : base, xkbcommon- extra-libraries: xkbcommon Test-Suite stringcomp type: exitcode-stdio-1.0@@ -120,4 +114,3 @@ other-modules: Common main-is: stringcomp.hs build-depends : base, xkbcommon- extra-libraries: xkbcommon