[Kde-accessibility] Simon and Kubuntu 12.04

Pantelis Koukousoulas pktoss at gmail.com
Wed May 2 10:37:04 UTC 2012


Hi,

I 'd love to play with simon (the version in KDE git) in Kubuntu
12.04. Given that this version
of Kubuntu nearly has all prerequisites (except HTK of course) already
packaged, it should
make a decent platform for using / hacking simon.

Here is what I 've done so far, in case anyone else wants to build
simon in 12.04:

1) Build Dependencies:

sudo apt-get install build-essential cmake gettext gettext-kde
kdeartwork kdelibs5-dev \
                                libxslt1-dev libqt4-sql-sqlite
libphonon-dev libattica-dev libattica0.3 \
                                zlib1g-dev libqwt-dev libasound2-dev
kdepim-dev libxtst-dev libjulius-dev \
                                git

(I hope that is all and I didn't forget to mention anything)

2) Get the source

git clone git://anongit.kde.org/simon

3) Patch & Build

My first build didn't work (couldn't find
libsimonmodelcompilationadapter while building sam).

A git log -p 8d0ec7..4034c25 (to get the patch for the seemingly
relevant commit)
seemed to indicate that simonmodelcompilationadapter was removed from
several places
so I tried this patch:

diff --git a/sam/src/CMakeLists.txt b/sam/src/CMakeLists.txt
index b5a501b..4ae887e 100644
--- a/sam/src/CMakeLists.txt
+++ b/sam/src/CMakeLists.txt
@@ -45,7 +45,7 @@ kde4_add_app_icon(sam_SRCS
 kde4_add_executable(sam ${sam_SRCS})

 target_link_libraries(sam ${QT_LIBRARIES} ${KDE4_KDEUI_LIBS}
${KDE4_KUTILS_LIBS}
-       ${KDE4_KIO_LIBS} simonmodelcompilation simonmodelcompilationadapter
+       ${KDE4_KIO_LIBS} simonmodelcompilation
        simonmodeltest simonsound ${Qwt6_Qt4_LIBRARY}
        simonrecognitionresult simonscenarioui
 )

And sure enough, now simon built fine :)

Was this fix correct? Would you consider merging it?

Cheers,
Pantelis


More information about the kde-accessibility mailing list