summaryrefslogtreecommitdiff
path: root/README
authorar <ar>2003-12-08 17:38:55 (UTC)
committer ar <ar>2003-12-08 17:38:55 (UTC)
commitac49d8a09fe739ed451c632e154a409f142cefcd (patch) (unidiff)
tree76859971b814846957aa7d77b680f44e52535528 /README
parent24cc41da3317445fd2f69a4be429968b447b8276 (diff)
downloadopie-ac49d8a09fe739ed451c632e154a409f142cefcd.zip
opie-ac49d8a09fe739ed451c632e154a409f142cefcd.tar.gz
opie-ac49d8a09fe739ed451c632e154a409f142cefcd.tar.bz2
add needed librarys and clean up a little bit
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,61 +1,53 @@
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
58## this file is for easy configuring of qt embedded for Qtopia development, on x86 50## this file is for easy configuring of qt embedded for Qtopia development, on x86
59 51
60configure_make () { 52configure_make () {
61 if configure_qt; then 53 if configure_qt; then
@@ -72,34 +64,58 @@ configure_qt () {
72 64
73# default configuration of Qt embedded for Opie 65# default configuration of Qt embedded for Opie
74echo "Configuring Qt Embedded for Opie development...."; 66echo "Configuring Qt Embedded for Opie development....";
75if [ ! -e $QTDIR/src/tools/qconfig-qpe.h ]; then 67if [ ! -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..
93Exit and save the configuration and enter "make" to create opie... 85Exit and save the configuration and enter "make" to create opie...
94 86
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