<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=ISO-8859-1">
</head>
<body bgcolor="#ffffff" text="#000000">
<font size="-1">While putting some notes together how to get started
with the gsoc2012 proposal for porting focus tracking to atspi2 I
had to upgrade my devel-setup and made a small step-by-step list
what I did. Now rather then sharing that only with my potential
gsoc-student I think sharing it with everybody makes sense. here
we go.<br>
<br>
My setup is a fresh OpenSuse 12.1 running in a vmware-player 4 (I
do most development in vm's this days if possible to protect my
productive system).<br>
<br>
1) In Opensuse 12.1 install libatspi0 and python-atspi and
at-spi2-core-devel from the suse repositories. You may need to add
some community-repositories to be able to do so.<br>
2) Add a file ~/a11y with following content;<br>
gconftool-2 --set /desktop/gnome/interface/at-spi-dbus --type bool
true<br>
gconftool-2 --set /desktop/gnome/interface/at-spi-corba --type
bool false<br>
export QT_ACCESSIBILITY=1<br>
export GTK_MODULES=gail:atk-bridge<br>
3) Start Konsole and "source ~/a11y". That konsole session is now
ready for hacking :)<br>
4) Start "qdbusviewer &" and in the search-field add "a11y".
Very likely nothing will be shown since atspi isn't started yet.<br>
5) Start atspi with "/usr/lib/at-spi2/at-spi2-registryd" and
repeat 4. Now there should be a "org.a11yBus" at the session bus.<br>
6) You need to upgrade your used Qt-version to 4.8. Use Yast for
that (repository is
<a class="moz-txt-link-freetext" href="http://download.opensuse.org/repositories/KDE:/Qt/openSUSE_12.1/">http://download.opensuse.org/repositories/KDE:/Qt/openSUSE_12.1/</a>
).<br>
7) Install qt-atspi by building it from the sources (
<a class="moz-txt-link-freetext" href="http://gitorious.org/qt-at-spi">http://gitorious.org/qt-at-spi</a> ). Do not use distributor packages
since they are outdated! For compile-instruction see also
<a class="moz-txt-link-freetext" href="http://techbase.kde.org/Development/Tutorials/Accessibility/Screen_Reader_Setup#How_to_test_at-spi2_with_Qt">http://techbase.kde.org/Development/Tutorials/Accessibility/Screen_Reader_Setup#How_to_test_at-spi2_with_Qt</a><br>
8) For testing execute those "tst_qt-atspi" program that is
shipped with qt-at-spi. If everything wents fine you have now a
full devel setup :)<br>
<br>
</font>
</body>
</html>