author | ar <ar> | 2003-12-08 17:38:55 (UTC) |
---|---|---|
committer | ar <ar> | 2003-12-08 17:38:55 (UTC) |
commit | ac49d8a09fe739ed451c632e154a409f142cefcd (patch) (unidiff) | |
tree | 76859971b814846957aa7d77b680f44e52535528 /README | |
parent | 24cc41da3317445fd2f69a4be429968b447b8276 (diff) | |
download | opie-ac49d8a09fe739ed451c632e154a409f142cefcd.zip opie-ac49d8a09fe739ed451c632e154a409f142cefcd.tar.gz opie-ac49d8a09fe739ed451c632e154a409f142cefcd.tar.bz2 |
add needed librarys and clean up a little bit
-rw-r--r-- | README | 60 |
1 files changed, 38 insertions, 22 deletions
@@ -1,57 +1,49 @@ | |||
1 | How to use the new build system | 1 | 1. How to use the new build system |
2 | =============================== | 2 | =============================== |
3 | There's a great document at: | 3 | There's a great document at: |
4 | 4 | ||
5 | http://www.uv-ac.de/opiedev/opiedev.html | 5 | http://www.uv-ac.de/opiedev/opiedev.html |
6 | 6 | ||
7 | and the API is at: | 7 | and the API is at: |
8 | http://handhelds.org/~zecke/apidocs/index.html | 8 | http://handhelds.org/~zecke/apidocs/index.html |
9 | 9 | ||
10 | 10 | ||
11 | You will need qvfb, designer, and uic from a qt-x11-2.3.2 package. | 11 | You will need qvfb, designer, and uic from a qt-x11-2.3.2 package. |
12 | That means you must download and configure/make it. | 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 | 13 | wget ftp://ftp.trolltech.com/qt/source/qt-x11-2.3.2.tar.gz |
14 | 14 | ||
15 | 15 | ||
16 | Qt embedded is available at: | 16 | The recommended version of Qt embedded is qt-embedded-2.3.7 |
17 | |||
18 | You can get it from: | ||
17 | ftp://ftp.trolltech.com/qt/source/qt-embedded-2.3.7.tar.bz2 | 19 | ftp://ftp.trolltech.com/qt/source/qt-embedded-2.3.7.tar.bz2 |
18 | or in that directory. | 20 | Other version will found in that directory. |
21 | |||
19 | 22 | ||
20 | Set QTDIR to point to your qt/embedded source tree, such as: | 23 | Set QTDIR to point to your qt/embedded source tree, such as: |
21 | 24 | ||
22 | export QTDIR=/opt/qt-2.3.7 | 25 | export QTDIR=/opt/qt-2.3.7 |
23 | 26 | ||
24 | Then you need to do | 27 | Then you need to do |
25 | export OPIEDIR=`pwd` | 28 | export OPIEDIR=`pwd` |
26 | or | 29 | or |
27 | export OPIEDIR=~/projects/sources/opie | 30 | export OPIEDIR=~/projects/sources/opie |
28 | or where ever you placed Opie sources. | 31 | or where ever you placed Opie sources. |
29 | 32 | ||
30 | and then do: | 33 | and then do: |
31 | export LD_LIBRARY_PATH=$OPIEDIR/lib:$QTDIR/lib:$LD_LIBRARY_PATH | 34 | export LD_LIBRARY_PATH=$OPIEDIR/lib:$QTDIR/lib:$LD_LIBRARY_PATH |
32 | 35 | ||
33 | You will want to apply the patches in the $OPIEDIR/qt directory to qt-embedded-2.3.7 | 36 | You 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 |
35 | patch, unless you are compiling for simpad. | 38 | patch, unless you are compiling for simpad. |
36 | 39 | ||
37 | qte234-for-opie091-gfxraster.patch | 40 | cd $QTDIR; cat $OPIEDIR/qt/qte<version>*.patch | patch -p0 |
38 | qte234-for-opie091-listview.patch | ||
39 | qte234-for-opie091-override.patch | ||
40 | qte234-for-opie091-qtoolbutton.patch | ||
41 | qte234-for-opie091-setpalette.patch | ||
42 | qte234-for-opie091-sigsegv.patch | ||
43 | qte234-for-opie091-style.patch | ||
44 | qte234-for-opie091-unpolish.patch | ||
45 | 41 | ||
46 | cd $QTDIR; cat $OPIEDIR/qt/qte234*.patch | patch -p0 | ||
47 | |||
48 | OR just apply the one | ||
49 | cd $QTDIR; cat $OPIEDIR/qt/qte237-all.patch | patch -p0 | ||
50 | 42 | ||
51 | 43 | ||
52 | 44 | ||
53 | Now Qt Embedded is patched and ready to go! You are ready to configure and make qt embedded. | 45 | Now Qt Embedded is patched and ready to go! You are ready to configure and make qt embedded. |
54 | 46 | ||
55 | I run this script to configure qte | 47 | I 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 |
77 | fi | 69 | fi |
78 | 70 | ||
79 | configure_make; | 71 | configure_make; |
80 | 72 | ||
81 | 73 | ||
82 | ------------------- end script | 74 | ------------------- end script |
83 | 75 | ||
84 | Once you have these compiled, be sure to set the PATH to ensure your (cross)compiler | 76 | Once you have these compiled, be sure to set the PATH to ensure your (cross)compiler |
85 | is available. | 77 | is available. |
86 | 78 | ||
87 | Then do the following in the opie source tree: | 79 | Then do the following in the opie source tree: |
88 | 80 | ||
89 | make clean | 81 | make clean |
90 | make menuconfig | 82 | make menuconfig |
91 | 83 | ||
92 | Now you can move through the menu and select or deselect anything.. | 84 | Now 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... | |||
95 | Have fun with it ! | 87 | Have fun with it ! |
96 | 88 | ||
97 | If you get into trouble there are other make's | 89 | If you get into trouble there are other make's |
98 | 90 | ||
99 | make clean-configs | 91 | make clean-configs |
100 | is a useful one. | 92 | is a useful one. |
101 | 93 | ||
102 | 94 | ||
103 | |||
104 | Ciao, Stefan | 95 | Ciao, Stefan |
105 | and ljp <lpotter@trolltech.com> | 96 | and ljp <lpotter@trolltech.com> |
97 | |||
98 | |||
99 | 2. Used Libraries | ||
100 | ================ | ||
101 | |||
102 | The following Libraries are used in Opie. | ||
103 | For a successfull build you must install these librarys and headers. | ||
104 | The versions are known-good versions. If you successfully try newer ones, | ||
105 | commit 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 | |||