1
1. How to use the Opie build system
2
====================================
3
There's a tutorial document at:
4
http://www.uv-ac.de/opiedev/opiedev.html
5
6
The API reference currently is at:
7
http://handhelds.org/~zecke/apidocs/index.html
8
9
You will need qvfb, uic and
10
(if you want to develop applications) designer
11
compiled and linked against Qt/X11.
12
That means you must download and configure/make it:
13
wget ftp://ftp.trolltech.com/qt/source/qt-x11-2.3.2.tar.gz
14
(Alternatively, you can get static binaries from http://www.vanille.de/tools)
15
16
You will need Qt/Embedded 2.3.10. Note that we don't support any
17
other Qt/Embedded version anymore. Qt/Embedded 2.3.12 is not recommended atm.
18
19
You can get it from:
20
ftp://ftp.trolltech.com/qt/source/qt-embedded-2.3.10-free.tar.gz
21
22
Set QTDIR to point to your qt/embedded source tree, such as:
23
export QTDIR=/opt/qt-2.3.10
24
25
You need to do set the OPIEDIR environment variable:
26
export OPIEDIR=`pwd`
27
or
28
export OPIEDIR=~/projects/sources/opie
29
or wherever you placed the Opie sources.
30
31
You need to adjust your runtime library search path,
32
so that the Qt/Embedded and Opie libraries can be found:
33
export LD_LIBRARY_PATH=$OPIEDIR/lib:$QTDIR/lib:$LD_LIBRARY_PATH
34
35
You have to apply the patches corresponding to your Qt/Embedded version
36
and copy the qconfig-qpe.h file to $QTDIR/src/tools:
37
cd $QTDIR; cat $OPIEDIR/qt/qt-<version>.patch/qte<version>-all.patch | patch -p1
38
cp $OPIEDIR/qt/qconfig-qpe.h $QTDIR/src/tools
39
40
You are now ready to configure and build Qt/Embedded
41
42
cd $QTDIR
43
echo 'yes' | ./configure -qconfig qpe -depths 4,16,24,32 -system-jpeg -system-libpng -system-zlib -no-xkb -no-sm -no-xft -qvfb
44
make
45
46
Note that the above command ( -qvfb ) compiles in the Virtual 
47
Framebuffer and is mostly meant for development on your host system.
48
For cross compiling, you will need to use the -xplatform switch.
49
See ./configure --help for details about the possible options.
50
51
Once you have these compiled, be sure to set the PATH to ensure your (cross)compiler
52
is available.
53
54
Then do the following in the opie source tree:
55
56
make clean
57
make menuconfig
58
59
Now you can move through the menu and select or deselect anything..
60
Exit and save the configuration and enter "make" to build everything selected.
61
62
Have fun!
63
64
2. Required Libraries
65
=====================
66
67
For a successful Opie build, you need to install the following libraries and headers:
68
69
* libsdl >= 1.2.0
70
  http://www.libsdl.org/download-1.2.php
71
72
* libxine >= 1.0 && <= 1.1
73
  http://prdownloads.sourceforge.net/xine/
74
75
* libpcap >= 0.7.2
76
  http://www.tcpdump.org/release/
77
78
* libetpan >= 0.34
79
  http://prdownloads.sourceforge.net/libetpan/
80
81
* libsqlite >= 3.0.0
82
  http://www.sqlite.org/download.html
83
84
* libipk >= 138
85
  ftp://handhelds.org/linux/packages/ipkg
86
87
* libobexftp >= 0.19
88
  http://triq.net/obexftp.html
89
90
* libsword >= 1.5.8
91
  http://www.crossfire.org/sword
92
93
* libbluez >= 2.25
94
  http://www.bluez.org
95
96
* libfreetype6 >= 2.21
97
  http://www.freetype.org
98
99
3. Required Programs
100
====================
101
102
For a successful usage of Opie, you should install the following programs:
103
104
* obexftpd
105
* obextool
106
107
4. Supported Devices
108
====================
109
110
Sharp Zaurus SL-5x00, SL-B500, SL-Cxx0, SL-Cxx00, SL-6000
111
112
HP iPAQ h36xx, h37xx, h38xx, h39xx, h54xx, h55xx, h22xx, h191x, h194x, h4xxx, hx4700
113
114
SIEMENS SIMpad CL4, SL4, SLC, T-SinusPAD
115
116
MasterIA Beagle, Tradesquare.NL Tuxpad 1
117
118
GMate Yopy 3x00
119
120
Motorola EZX A780, E680
121
122
Palm Tungsten T/T2/T3/T5/C/E/E2, LifeDrive, TX, Zire 71/72, Treo 600/650/680/700w/700p/750/755p, Foleo
123
124
HTC Universal