diff -u xkeyboard-config-1.3/debian/patches/series xkeyboard-config-1.3/debian/patches/series --- xkeyboard-config-1.3/debian/patches/series +++ xkeyboard-config-1.3/debian/patches/series @@ -17,0 +18 @@ +us-mac.diff diff -u xkeyboard-config-1.3/debian/changelog xkeyboard-config-1.3/debian/changelog --- xkeyboard-config-1.3/debian/changelog +++ xkeyboard-config-1.3/debian/changelog @@ -1,3 +1,11 @@ +xkeyboard-config (1.3-1ubuntu2) intrepid; urgency=low + + [ Daniel Gimpelevich ] + * debian/patches/us-mac.diff: + + Fix for the USA - Macintosh layout. (Closes: #246834) + + -- Артём Попов Wed, 09 Jul 2008 14:25:18 +0700 + xkeyboard-config (1.3-1ubuntu1) intrepid; urgency=low [ Артём Попов ] only in patch2: unchanged: --- xkeyboard-config-1.3.orig/debian/patches/us-mac.diff +++ xkeyboard-config-1.3/debian/patches/us-mac.diff @@ -0,0 +1,72 @@ +Index: xkeyboard-config-1.3/symbols/us +=================================================================== +--- xkeyboard-config-1.3.orig/symbols/us 2008-07-09 14:14:24.000000000 +0700 ++++ xkeyboard-config-1.3/symbols/us 2008-07-09 14:14:35.000000000 +0700 +@@ -601,8 +601,66 @@ + partial alphanumeric_keys + xkb_symbols "mac" { + +- include "us" ++ include "us(basic)" + name[Group1]= "USA - Macintosh"; ++ key.type[group1]="FOUR_LEVEL"; ++ ++ // Slightly improvised from http://homepage.mac.com/thgewecke/kblayout.jpg ++ key { [ section, plusminus, section, plusminus ] }; ++ key { [ grave, asciitilde, dead_grave, dead_horn ] }; ++ key { [ 1, exclam, exclamdown, U2044 ] }; ++ key { [ 2, at, trademark, EuroSign ] }; ++ key { [ 3, numbersign, sterling, U2039 ] }; ++ key { [ 4, dollar, cent, U203A ] }; ++ key { [ 5, percent, infinity, UFB01 ] }; ++ key { [ 6,asciicircum, section, UFB02 ] }; ++ key { [ 7, ampersand, paragraph, doubledagger ] }; ++ key { [ 8, asterisk, enfilledcircbullet, degree ] }; ++ key { [ 9, parenleft, ordfeminine, periodcentered ] }; ++ key { [ 0, parenright, masculine,singlelowquotemark] }; ++ key { [ minus, underscore, endash, emdash ] }; ++ key { [ equal, plus, notequal, plusminus ] }; ++ ++ key { [ q, Q, oe, OE ] }; ++ key { [ w, W, U2211,doublelowquotemark] }; ++ key { [ e, E, dead_acute, acute ] }; ++ key { [ r, R, registered, U2030 ] }; ++ key { [ t, T, dagger, dead_caron ] }; ++ key { [ y, Y, yen, onequarter ] }; ++ key { [ u, U, dead_diaeresis, diaeresis ] }; ++ key { [ i, I, dead_circumflex, U02C6 ] }; ++ key { [ o, O, oslash, Ooblique ] }; ++ key { [ p, P, Greek_pi, U220F ] }; ++ key { [ bracketleft, braceleft, leftdoublequotemark, rightdoublequotemark ] }; ++ key { [bracketright, braceright, leftsinglequotemark, rightsinglequotemark ] }; ++ key { [ backslash, bar, guillemotleft, guillemotright ] }; ++ ++ key { [ a, A, aring, Aring ] }; ++ key { [ s, S, ssharp, dead_stroke ] }; ++ key { [ d, D, partialderivative, eth ] }; ++ key { [ f, F, function, dead_hook ] }; ++ key { [ g, G, copyright, dead_doubleacute ] }; ++ key { [ h, H, dead_abovedot, dead_belowdot ] }; ++ key { [ j, J, U2206, onehalf ] }; ++ key { [ k, K,dead_abovering, UF8FF ] }; ++ ++ key { [ l, L, notsign, THORN ] }; ++ key { [ semicolon, colon, U2026, thorn ] }; ++ key { [apostrophe, quotedbl, ae, AE ] }; ++ ++ key { [ z, Z, Greek_OMEGA, dead_cedilla ] }; ++ key { [ x, X, U2248, dead_ogonek ] }; ++ // unclear whether "approxeq" is 2248 or 2245 ++ key { [ c, C, ccedilla, Ccedilla ] }; ++ key { [ v, V, squareroot, U25CA ] }; ++ key { [ b, B, integral, idotless ] }; ++ key { [ n, N, dead_tilde, U02DC ] }; ++ key { [ m, M, mu, threequarters ] }; ++ key { [ comma, less, lessthanequal, dead_macron ] }; ++ key { [ period, greater, greaterthanequal, dead_breve ] }; ++ key { [ slash, question, division, questiondown ] }; ++ ++ include "level3(ralt_switch)" + }; + + // Colemak symbols for xkb on X.Org Server 7.x