How to create a keyboard layout: Difference between revisions

From OLPC
Jump to navigation Jump to search
No edit summary
No edit summary
 
Line 1: Line 1:
''Taken from Bernie Innocenti's response to Sayamindu Dasgupta on the devel mailing list, 5/24/08. Please expand these instructions, include links, clarify, cleanup, test, and improve.''
''Taken from Bernie Innocenti's response to Sayamindu Dasgupta on the devel mailing list, 5/24/08. Please expand these instructions, include links, clarify, cleanup, test, and improve.'' (modified by Walter on 5/17/11)

<pre>


> > I'm not sure about the workflow for adding new keyboards - do I add
> > I'm not sure about the workflow for adding new keyboards - do I add
Line 9: Line 7:
Both me and Arjun did it in the past. It's not complicated:
Both me and Arjun did it in the past. It's not complicated:


- checkout the Freedesktop xkeyboard-config CVS
* checkout the Freedesktop xkeyboard-config CVS (See http://freedesktop.org/wiki/Software/XKeyboardConfig/Development)
http://freedesktop.org/wiki/Software/XKeyboardConfig/Development
git clone git://anongit.freedesktop.org/git/xkeyboard-config
- read the rules for submitting xkeyboard-config patches:
* read the rules for submitting xkeyboard-config patches: http://freedesktop.org/wiki/Software/XKeyboardConfig/Rules
* apply your changes there
http://freedesktop.org/wiki/Software/XKeyboardConfig/Rules
* diff to obtain a patch
- apply your changes there
git commit <your changes> -m <your commit message>
- diff to obtain a patch
git format-patch HEAD^
- open a bug in Freedesktop's bugzilla with the patch attached
* open a bug in Freedesktop's bugzilla with the patch attached (be sure to CC svu)
- wait for Sergey Udaltsov to apply it
* wait for Sergey Udaltsov to give you feedback and to apply it once you have it right.

Note: You will likely be needing to update both a symbols file and the rules/base.extras.xml.in.


In parallel, you can add the patch to the package:
In parallel, you can add the patch to the package:


- obtain a Fedora account if you do not have one already
* obtain a Fedora account if you do not have one already
- checkout Fedora CVS for xkeyboard-config
* checkout Fedora CVS for xkeyboard-config
- go to the OLPC-2 branch (check with dgilmore if you also need OLPC-3)
* go to the OLPC-2 branch (check with dgilmore if you also need OLPC-3)
- add your patch (see how the others were done)
* add your patch (see how the others were done)
- commit your changes
* commit your changes
- rebuild in Koji
* rebuild in Koji
- your changes will appear in the next joyride build
* your changes will appear in the next joyride build



</pre>


Also see [[keyboard_list]] for creating the artwork.
Also see [[keyboard_list]] for creating the artwork.

Latest revision as of 14:40, 17 May 2011

Taken from Bernie Innocenti's response to Sayamindu Dasgupta on the devel mailing list, 5/24/08. Please expand these instructions, include links, clarify, cleanup, test, and improve. (modified by Walter on 5/17/11)

> > I'm not sure about the workflow for adding new keyboards - do I add > > the relevant changes to xkeyboard-config and start a build in Koji ? > > Thanks,

Both me and Arjun did it in the past. It's not complicated:

git clone git://anongit.freedesktop.org/git/xkeyboard-config
git commit <your changes> -m <your commit message>
git format-patch HEAD^
  • open a bug in Freedesktop's bugzilla with the patch attached (be sure to CC svu)
  • wait for Sergey Udaltsov to give you feedback and to apply it once you have it right.

Note: You will likely be needing to update both a symbols file and the rules/base.extras.xml.in.

In parallel, you can add the patch to the package:

  • obtain a Fedora account if you do not have one already
  • checkout Fedora CVS for xkeyboard-config
  • go to the OLPC-2 branch (check with dgilmore if you also need OLPC-3)
  • add your patch (see how the others were done)
  • commit your changes
  • rebuild in Koji
  • your changes will appear in the next joyride build


Also see keyboard_list for creating the artwork.