-
Notifications
You must be signed in to change notification settings - Fork 49
/
INSTALL.local
48 lines (30 loc) · 1.5 KB
/
INSTALL.local
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
LOCAL BUILD, INSTALL AND RUN
Gtk+ paths and executable names may differ between distros and
architectures, check them on your own.
The description below was tested on Fedora 15 (Lovelock) 64-bit.
# framework build
1. export GCONF_CONFIG_SOURCE="xml:merged:$HOME/.gconf/gconf.xml.defaults"
2. cd maliit-framework
3. qmake-qt4 -r CONFIG+=local-install PREFIX="$HOME/maliit-local" LIBDIR="$HOME/maliit-local/lib64" CONFIG+=disable-gtk-cache-update
4. make -j4
# framework install
5. make install
6. export LD_LIBRARY_PATH="$HOME/maliit-local/lib64"
7. GTK_PATH="$HOME/maliit-local/lib64/gtk-2.0" /usr/bin/gtk-query-immodules-2.0-64 >"$HOME/maliit-local/lib64/gtk-2.0/2.10.0/gtk.immodules"
8. GTK_PATH="$HOME/maliit-local/lib64/gtk-3.0" /usr/bin/gtk-query-immodules-3.0-64 >"$HOME/maliit-local/lib64/gtk-3.0/3.0.0/gtk.immodules"
# plugins build
9. cd ../maliit-plugins
10. export QMAKEFEATURES="$HOME/maliit-local/mkspecs/features"
11. qmake-qt4 -r
12. make -j4
# plugins install
13. make install
# server run
14. "$HOME/maliit-local/bin/maliit-server" &
# qt app run
15. export QT_PLUGIN_PATH="$HOME/maliit-local/plugins"
16. QT_IM_MODULE=Maliit "$HOME/maliit-local/bin/maliit-exampleapp-plainqt"
# gtk2 app run
17. GTK_IM_MODULE_FILE="$HOME/maliit-local/lib64/gtk-2.0/2.10.0/gtk.immodules" GTK_IM_MODULE=Maliit "$HOME/maliit-local/bin/maliit-exampleapp-gtk2"
# gtk3 app run
18. GTK_IM_MODULE_FILE="$HOME/maliit-local/lib64/gtk-3.0/3.0.0/gtk.immodules" GTK_IM_MODULE=Maliit "$HOME/maliit-local/bin/maliit-exampleapp-gtk3"