summaryrefslogtreecommitdiff
path: root/README
Unidiff
Diffstat (limited to 'README') (more/less context) (ignore whitespace changes)
-rw-r--r--README60
1 files changed, 38 insertions, 22 deletions
diff --git a/README b/README
index 38d334b..2d04968 100644
--- a/README
+++ b/README
@@ -1,57 +1,49 @@
1How to use the new build system 11. How to use the new build system
2=============================== 2===============================
3There's a great document at: 3There's a great document at:
4 4
5http://www.uv-ac.de/opiedev/opiedev.html 5http://www.uv-ac.de/opiedev/opiedev.html
6 6
7and the API is at: 7and the API is at:
8http://handhelds.org/~zecke/apidocs/index.html 8http://handhelds.org/~zecke/apidocs/index.html
9 9
10 10
11You will need qvfb, designer, and uic from a qt-x11-2.3.2 package. 11You will need qvfb, designer, and uic from a qt-x11-2.3.2 package.
12That means you must download and configure/make it. 12That means you must download and configure/make it.
13wget ftp://ftp.trolltech.com/qt/source/qt-x11-2.3.2.tar.gz 13wget ftp://ftp.trolltech.com/qt/source/qt-x11-2.3.2.tar.gz
14 14
15 15
16Qt embedded is available at: 16The recommended version of Qt embedded is qt-embedded-2.3.7
17
18You can get it from:
17ftp://ftp.trolltech.com/qt/source/qt-embedded-2.3.7.tar.bz2 19ftp://ftp.trolltech.com/qt/source/qt-embedded-2.3.7.tar.bz2
18or in that directory. 20Other version will found in that directory.
21
19 22
20Set QTDIR to point to your qt/embedded source tree, such as: 23Set QTDIR to point to your qt/embedded source tree, such as:
21 24
22export QTDIR=/opt/qt-2.3.7 25export QTDIR=/opt/qt-2.3.7
23 26
24Then you need to do 27Then you need to do
25export OPIEDIR=`pwd` 28export OPIEDIR=`pwd`
26or 29or
27export OPIEDIR=~/projects/sources/opie 30export OPIEDIR=~/projects/sources/opie
28or where ever you placed Opie sources. 31or where ever you placed Opie sources.
29 32
30and then do: 33and then do:
31export LD_LIBRARY_PATH=$OPIEDIR/lib:$QTDIR/lib:$LD_LIBRARY_PATH 34export LD_LIBRARY_PATH=$OPIEDIR/lib:$QTDIR/lib:$LD_LIBRARY_PATH
32 35
33You will want to apply the patches in the $OPIEDIR/qt directory to qt-embedded-2.3.7 36You will want to apply the patches in the $OPIEDIR/qt directory to qt-embedded
34*NOTE* You can skip the qte234-for-opie091-simpad.patch 37*NOTE* You can skip the qte234-for-opie091-simpad.patch
35patch, unless you are compiling for simpad. 38patch, unless you are compiling for simpad.
36 39
37qte234-for-opie091-gfxraster.patch 40cd $QTDIR; cat $OPIEDIR/qt/qte<version>*.patch | patch -p0
38qte234-for-opie091-listview.patch
39qte234-for-opie091-override.patch
40qte234-for-opie091-qtoolbutton.patch
41qte234-for-opie091-setpalette.patch
42qte234-for-opie091-sigsegv.patch
43qte234-for-opie091-style.patch
44qte234-for-opie091-unpolish.patch
45 41
46cd $QTDIR; cat $OPIEDIR/qt/qte234*.patch | patch -p0
47
48OR just apply the one
49cd $QTDIR; cat $OPIEDIR/qt/qte237-all.patch | patch -p0
50 42
51 43
52 44
53Now Qt Embedded is patched and ready to go! You are ready to configure and make qt embedded. 45Now Qt Embedded is patched and ready to go! You are ready to configure and make qt embedded.
54 46
55I run this script to configure qte 47I run this script to configure qte
56------------------- start script 48------------------- start script
57#!/bin/bash 49#!/bin/bash
@@ -76,17 +68,17 @@ if [ ! -e $QTDIR/src/tools/qconfig-qpe.h ]; then
76 cp $OPIEDIR/qt/qconfig-qpe.h $QTDIR/src/tools 68 cp $OPIEDIR/qt/qconfig-qpe.h $QTDIR/src/tools
77fi 69fi
78 70
79configure_make; 71configure_make;
80 72
81 73
82------------------- end script 74------------------- end script
83 75
84Once you have these compiled, be sure to set the PATH to ensure your (cross)compiler 76Once you have these compiled, be sure to set the PATH to ensure your (cross)compiler
85is available. 77is available.
86 78
87Then do the following in the opie source tree: 79Then do the following in the opie source tree:
88 80
89make clean 81make clean
90make menuconfig 82make menuconfig
91 83
92Now you can move through the menu and select or deselect anything.. 84Now you can move through the menu and select or deselect anything..
@@ -95,11 +87,35 @@ Exit and save the configuration and enter "make" to create opie...
95Have fun with it ! 87Have fun with it !
96 88
97If you get into trouble there are other make's 89If you get into trouble there are other make's
98 90
99make clean-configs 91make clean-configs
100is a useful one. 92is a useful one.
101 93
102 94
103
104Ciao, Stefan 95Ciao, Stefan
105and ljp <lpotter@trolltech.com> 96and ljp <lpotter@trolltech.com>
97
98
992. Used Libraries
100================
101
102The following Libraries are used in Opie.
103For a successfull build you must install these librarys and headers.
104The versions are known-good versions. If you successfully try newer ones,
105commit a new README or send mail to opie-devel@handhelds.org
106
107* libsdl 1.2
108 http://www.libsdl.org/download-1.2.php
109
110* libxine 1.0 beta 11
111 http://prdownloads.sourceforge.net/xine/
112
113* libpcap 0.7.2
114 http://www.tcpdump.org/release/
115
116* libetpan 0.30 + patch (in CVS)
117 http://prdownloads.sourceforge.net/libetpan/
118
119* libsqlite 2.8.6
120 http://www.sqlite.org/download.html
121