[oe-commits] org.oe.dev xserver-common: Add the enhanced and very nicely commented xmodmap by Jeroen Hoek for SL-Cxx00 devices, closes bug 2404, deprecates at-fix-slcxxxx.patch and softkeys-slcxxxx-xmodmap.patch. Thanks Jeroen!

coredump2 commit openembedded-commits at lists.openembedded.org
Tue Jun 5 03:37:20 UTC 2007


xserver-common: Add the enhanced and very nicely commented xmodmap by Jeroen Hoek for SL-Cxx00 devices, closes bug 2404, deprecates at-fix-slcxxxx.patch and softkeys-slcxxxx-xmodmap.patch. Thanks Jeroen!

Author: coredump2 at openembedded.org
Branch: org.openembedded.dev
Revision: 2056e2a00d07d1834da9e1289d840a3b4e576d66
ViewMTN: http://monotone.openembedded.org/revision.psp?id=2056e2a00d07d1834da9e1289d840a3b4e576d66
Files:
1
packages/xserver-common/files/sl-cxx00-modmap.patch
packages/xserver-common/xserver-common_1.16.bb
packages/xserver-common/xserver-common_svn.bb
Diffs:

#
# mt diff -rff99d101149898714bcc4d5fe388b11c6ac5a031 -r2056e2a00d07d1834da9e1289d840a3b4e576d66
#
# 
# 
# add_file "packages/xserver-common/files/sl-cxx00-modmap.patch"
#  content [ccb48cbc7313d17c580c7eac8c5fce0ac7c35b43]
# 
# patch "packages/xserver-common/xserver-common_1.16.bb"
#  from [d1abe1688f64090876798bf1435be309392d3bef]
#    to [6b44ed9375b3f12356d847a9f85bbbd73d634875]
# 
# patch "packages/xserver-common/xserver-common_svn.bb"
#  from [a67738f7f01abf16584247c29788d6b2e6af5b0e]
#    to [4a13a693c4ab8488b63d6fdec190d0b2e6c83871]
# 
============================================================
--- packages/xserver-common/files/sl-cxx00-modmap.patch	ccb48cbc7313d17c580c7eac8c5fce0ac7c35b43
+++ packages/xserver-common/files/sl-cxx00-modmap.patch	ccb48cbc7313d17c580c7eac8c5fce0ac7c35b43
@@ -0,0 +1,113 @@
+--- xserver-common-1.16/X11/slcXXXX.xmodmap.orig	2007-06-05 01:31:20.000000000 +0000
++++ xserver-common-1.16/X11/slcXXXX.xmodmap	2007-06-05 01:31:29.000000000 +0000
+@@ -1,5 +1,106 @@
+-keycode 88 = XF86Calendar
+-keycode 89 = telephone
+-keycode 40 = XF86Start
+-keycode 90 = XF86Mail
++! Modmap for Sharp Zaurus clamshells:
++!   SL-C1000 (Akita)
++!   SL-C3000 (Spitz)
++!   SL-C3100 (Borzoi)
++!   SL-C3200 (Terrier)
++!
++! Changelog:
++!   version: 30 May 2007
++!     Initial version
++!
++! This modmap adds an Alt_L and a compose key (Multi_Key)
++!   at the Kana/Hira and Zen/Han keys. Users can set these to their
++!   original Japanese functions if desired, but as a default putting at
++!   least one Alt on the keyboard is a polite thing to do.
++!
++! Adds:
++!   Fn + q           = ` (grave)
++!   Fn + - (minus)   = @ (at)
++!   Fn + 5           = € (Euro)
++!   Fn + k           = ¥ (Yen)
++!   Fn + d           = ・ (nakaten)
++!   Fn + Backspace   = Delete
++!
++! Currently unset:
++!   Fn + Kana/Hira (カナ/ひら)
++!   Fn + Zen/Han (全/半)
++!   Fn + Space bar (音訓)
++! These should be bound to Japanese keysims for use with Japanese
++! IME's at a later date.
++! =======================================================================
+ 
++! The Euro character is not printed as a label, but as
++!   the 5 doesn't have a blue Fn label, this is a nice extra
++!   as a normal European keyboard has it on the 5 as third level
++!   character
++keycode  14 = 5 percent EuroSign
++
++keycode  20 = minus minus at
++keycode  22 = BackSpace BackSpace Delete
++
++! The grave is not printed as a label, but is missing
++!   so this is a nice place to add it, not too far from where it
++!   is on a normal keyboard.
++keycode  24 = q Q grave
++
++! The nakaten character
++keycode  40 = d D kana_conjunctive
++
++! The Yen character
++keycode  45 = k K yen
++
++! This is the Kana/Hira key, right from "Ctrl"
++keycode  64 = Alt_L
++
++! Turn the Zen/Han key (left of minus) into the compose key
++keycode 105 = Multi_key
++
++! Control_R is gone, so clear out and reload control:
++clear control
++add control = Control_L
++
++! These are the 11 fields that generate keycodes
++!   On the edge of the touchscreen. Every second one
++!   (87, 89, 84, 79, 81) has a label, the rest doesn't,
++!   but can be used as button nontheless, the size of the
++!   eleven fields is the same.
++! These are mapped to F20..F30.
++! These buttons with Fn or Shift generate the F1..F11 keys.
++
++! No icon
++keycode  90 = F20 F1 F1
++! "Home" icon:
++keycode  87 = F21 F2 F2
++! No icon
++keycode  88 = F22 F3 F3
++! "Mail" icon:
++keycode  89 = F23 F4 F4
++! No icon
++keycode  83 = F24 F5 F5
++! "Address" icon:
++keycode  84 = F25 F6 F6
++! No icon
++keycode  85 = F26 F7 F7
++! "Calendar" icon:
++keycode  79 = F27 F8 F8
++! No icon
++keycode  80 = F28 F9 F9
++! "Book" icon:
++keycode  81 = F29 F10 F10
++! No icon
++keycode  86 = F30 F11 F11
++
++! These are the five buttons below the inbuilt keyboard
++!   These are mapped to F13..F19
++!   The Menu key generates F12 when pressed with Fn or Shift.
++
++! "Calendar" label and icon, "Sync" label beneath it:
++keycode  67 = F13 F14 F14
++! "Address" label and icon:
++keycode  68 = F15 F15 F15
++! "Mail" label and icon, "Check" label beneath it:
++keycode  76 = F16 F17 F17
++! "Home" label and icon:
++keycode 107 = F18 F18 F18
++! "Menu" label and icon:
++keycode  96 = F19 F12 F12
============================================================
--- packages/xserver-common/xserver-common_1.16.bb	d1abe1688f64090876798bf1435be309392d3bef
+++ packages/xserver-common/xserver-common_1.16.bb	6b44ed9375b3f12356d847a9f85bbbd73d634875
@@ -1,8 +1,8 @@ RDEPENDS_${PN} = "xmodmap xrandr xdpyinf
 DESCRIPTION = "Common X11 scripts and support files"
 LICENSE = "GPL"
 SECTION = "x11"
 RDEPENDS_${PN} = "xmodmap xrandr xdpyinfo"
-PR = "r4"
+PR = "r5"
 
 PACKAGE_ARCH = "all"
 
@@ -12,11 +12,10 @@ SRC_URI_append = " file://setDPI.sh \
 SRC_URI_append = " file://setDPI.sh \
                    file://xserver-imageon.patch;patch=1 \
                    file://calibrate-only-if-ts.patch;patch=1 \
-		   file://softkeys-slcxxxx-xmodmap.patch;patch=1 \
 		   file://softkeys-c7x0.patch;patch=1 \
-		   file://at-fix-slcxxxx.patch;patch=1 \
 		   file://load-xmodmap-k26.patch;patch=1 \
 		   file://Xserver-udev-input-helper.patch;patch=1 \
+		   file://sl-cxx00-modmap.patch;patch=1 \
 		   "
 
 do_install_append() {
============================================================
--- packages/xserver-common/xserver-common_svn.bb	a67738f7f01abf16584247c29788d6b2e6af5b0e
+++ packages/xserver-common/xserver-common_svn.bb	4a13a693c4ab8488b63d6fdec190d0b2e6c83871
@@ -6,16 +6,15 @@ S = "${WORKDIR}/xserver-common"
 PV = "1.12+svn${SRCDATE}"
 S = "${WORKDIR}/xserver-common"
 
-PR = "r1"
+PR = "r2"
 
 SRC_URI = "${GPE_SVN} \
             file://Makefile.translation \
             file://Makefile.dpkg_ipkg \
 	    file://svn_makefiles.patch;patch=1 \
-	    file://keyboardless-buttonmap.patch;patch=1 \
-	    file://softkeys-slcxxxx-xmodmap.patch;patch=1 \
+	    file://keyboardless-buttonmap.patch;patch=1 \	   
 	    file://softkeys-c7x0.patch;patch=1 \
-	    file://at-fix-slcxxxx.patch;patch=1 \
+ 	    file://sl-cxx00-modmap.patch;patch=1 \
 	    file://load-xmodmap-k26.patch;patch=1 \
 	    file://Xserver-udev-input-helper.patch;patch=1"
 	    






More information about the Openembedded-commits mailing list