Navigation

Accessibility: BuildingProviderSide

From Mono

Table of contents

Building the UIA Provider Stack

Building the provider side of our UIA implementation currently requires a bunch of cool code from SVN. If you want to get started messing around with this stuff, here's what you need to do (and it won't even mess up your current install):

Prerequisites

  • MonoDevelop 1.0 or greater (but wait...)
  • A bunch of bleeding edge stuff in your GAC. Easiest way to do that is to set up Parallel Mono Environments.
    • Follow the wiki page exactly, installing mono/gtk-sharp/etc from latest SVN (not from tarballs).
    • Follow the same instructions but for the Olive project.
      • You will need to apply the patch in uia2atk/src/patches/olive-uia-pc.patch before building Olive. A better patch is awaiting review on the mono-olive list. Once accepted, it will be committed to Olive and no patching will be necessary.
    • Install Mono.Addins 0.3.1 from tarball (http://www.go-mono.com/sources/mono-addins/mono-addins-0.3.1.tar.bz2) in the parallel environment.
    • Install MonoDevelop (1.0 or SVN trunk) in the parallel environment.
      • If building from SVN, your best bet is to build with --profile=core.
      • If you have trouble starting your new MD, you may need to delete your old addin configuration by doing `rm -rf ~/.config/MonoDevelop/addin*`.
    • Whenever you deal with mono-a11y stuff, make sure you're running in the parallel environment! You do this by doing everything from a terminal that has run `source ~/mono-dev-env` (replace ~/mono-dev-env with the location of your parallel mono environment script).

Build Instructions

Check out required source code

You'll need olive and uia2atk (plus all of the other stuff mentioned in the Prerequisites for the parallel mono...but olive and uia2atk actually contain our code and get updated fairly frequently, so make sure they are up-to-date).

svn co svn+ssh://[yournamehere]@mono-cvs.ximian.com/source/trunk/uia2atk
or
svn co svn://anonsvn.mono-project.com/source/trunk/uia2atk

Open uia2atk solution

source ~/mono-dev-env
monodevelop uia2atk/src/Uia2Atk.mds

Build and run FormTest

The FormTest project depends on all of the cutting-edge stuff listed in the Prerequisites being installed correctly. After opening the Uia2Atk solution in MonoDevelop, you should be able to right-click the FormTest project and choose "Run" to see our test forms show up. Open Accerciser (http://live.gnome.org/Accerciser) and they should be listed there!

FormTestInAccerciser.png