author | eilers <eilers> | 2003-12-11 08:35:30 (UTC) |
---|---|---|
committer | eilers <eilers> | 2003-12-11 08:35:30 (UTC) |
commit | 80609c01b79375083dd007c49eeff1721a2c6097 (patch) (unidiff) | |
tree | 5af2627dd7d4d90c06abcd3cc61b996a3ee5ce9a /development/macosx/README_MACOSX | |
parent | e29d867078550b6859e3a0253e38febea8880ea1 (diff) | |
download | opie-80609c01b79375083dd007c49eeff1721a2c6097.zip opie-80609c01b79375083dd007c49eeff1721a2c6097.tar.gz opie-80609c01b79375083dd007c49eeff1721a2c6097.tar.bz2 |
config-files to compile Qt-2.3.2 and QT/E 2.3.7 was not included into
the diffs.. Therefore I added these files here, until I have an idea how
to add new files to patches..
Diffstat (limited to 'development/macosx/README_MACOSX') (more/less context) (ignore whitespace changes)
-rw-r--r-- | development/macosx/README_MACOSX | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/development/macosx/README_MACOSX b/development/macosx/README_MACOSX index 877e2f8..bc21548 100644 --- a/development/macosx/README_MACOSX +++ b/development/macosx/README_MACOSX | |||
@@ -1,93 +1,95 @@ | |||
1 | Information about porting Opie to MacOS-X (eilers) | 1 | Information about porting Opie to MacOS-X (eilers) |
2 | ================================================== | 2 | ================================================== |
3 | 3 | ||
4 | Credits: | 4 | Credits: |
5 | -------- | 5 | -------- |
6 | 6 | ||
7 | Special thanks to Andreas Junghans (webmaster@lucid-cake.net) for its patches for qt-X11 (2.3.2), | 7 | Special thanks to Andreas Junghans (webmaster@lucid-cake.net) for its patches for qt-X11 (2.3.2), |
8 | QT/E (2.3.5) and qtopia (1.6.1). | 8 | QT/E (2.3.5) and qtopia (1.6.1). |
9 | Without them, I wouldn't be able to provide the port for OPIE to MacOS-X that fast.. | 9 | Without them, I wouldn't be able to provide the port for OPIE to MacOS-X that fast.. |
10 | 10 | ||
11 | Status: | 11 | Status: |
12 | ------- | 12 | ------- |
13 | The basic system works quite well. But a lot of applications and plugins, | 13 | The basic system works quite well. But a lot of applications and plugins, |
14 | which are platform specific, need some work to be compileable. | 14 | which are platform specific, need some work to be compileable. |
15 | 15 | ||
16 | What is ready: | 16 | What is ready: |
17 | 17 | ||
18 | libqpe | 18 | libqpe |
19 | libopie1 | 19 | libopie1 |
20 | libopie2/opiedb | 20 | libopie2/opiedb |
21 | pim-applications (addressbook, todolist, datebook, today) | 21 | pim-applications (addressbook, todolist, datebook, today) |
22 | A lot of applications and plugins which are not platform specific. | 22 | A lot of applications and plugins which are not platform specific. |
23 | 23 | ||
24 | What will follow soon: | 24 | What will follow soon: |
25 | 25 | ||
26 | libopie2 | 26 | libopie2 |
27 | 27 | ||
28 | 28 | ||
29 | How to compile Opie for MacOS-X: | 29 | How to compile Opie for MacOS-X: |
30 | ------------------------------- | 30 | ------------------------------- |
31 | 31 | ||
32 | Before compiling for MacOS-X, you need the following: | 32 | Before compiling for MacOS-X, you need the following: |
33 | 33 | ||
34 | 1. X11-Server+X11SDK (Provided by Apple) | 34 | 1. X11-Server+X11SDK (Provided by Apple) |
35 | 2. QT-2.3.2 for X11 (Provided by Trolltech) | 35 | 2. QT-2.3.2 for X11 (Provided by Trolltech) |
36 | 3. QT/E-2.3.7 (Provided by Trolltech) | 36 | 3. QT/E-2.3.7 (Provided by Trolltech) |
37 | 4. Patches for QT-2.3.2 for MacOSX (take the one in this directory !) | 37 | 4. Patches for QT-2.3.2 for MacOSX (take the one in this directory !) |
38 | 5. Patches for QT/E-2.3.7 for MacOSX (take the one, provided in $OPIEDIR/qt) | 38 | 5. Patches for QT/E-2.3.7 for MacOSX (take the one, provided in $OPIEDIR/qt) |
39 | 39 | ||
40 | The Patch for QT/E for Opie, including all other opie-patches is available in the | 40 | The Patch for QT/E for Opie, including all other opie-patches is available in the |
41 | qt-directory ($OPIEDIR/qt) and is called "qte237-all-macosx.patch". | 41 | qt-directory ($OPIEDIR/qt) and is called "qte237-all-macosx.patch". |
42 | To be able to compile, you have to copy the file from the directory "./config-files/qte-2.3.7" | ||
43 | into the directory "configs" within the base directory of qt/e. | ||
42 | 44 | ||
43 | The Patch for QT-2.3.2 is provided in this directory and is called "qt232-X11.patch". | 45 | The Patch for QT-2.3.2 is provided in this directory and is called "qt232-X11.patch". |
44 | ATTENTION: The patch does not contain the darwin config file. Please copy the file | 46 | Please copy the file "darwin-g++-shared" from the directory "./config-files/qt-2.3.2" into the directory "configs" |
45 | "darwin-g++-shared" into the directory "configs" within the qt-2.3.2 directory !! | 47 | within the qt-2.3.2 directory !! |
46 | 48 | ||
47 | If your buildsystem is working correctly, you should be able to build | 49 | If your buildsystem is working correctly, you should be able to build |
48 | opie. | 50 | opie. |
49 | 51 | ||
50 | HOWTO COMPILE: | 52 | HOWTO COMPILE: |
51 | ------------- | 53 | ------------- |
52 | 54 | ||
53 | Compile QT-2.3.2: | 55 | Compile QT-2.3.2: |
54 | 56 | ||
55 | Got to into the basic directory of qt-2.3.2 and enter | 57 | Got to into the basic directory of qt-2.3.2 and enter |
56 | export QTDIR=`pwd` | 58 | export QTDIR=`pwd` |
57 | export DYLD_LIBRARY_PATH=$QTDIR/lib | 59 | export DYLD_LIBRARY_PATH=$QTDIR/lib |
58 | ./configure -no-xft -platform darwin-g++ | 60 | ./configure -no-xft -platform darwin-g++ |
59 | make | 61 | make |
60 | After compiling successful (I hope) you need qvfb: | 62 | After compiling successful (I hope) you need qvfb: |
61 | cd tools/qvfb | 63 | cd tools/qvfb |
62 | make | 64 | make |
63 | 65 | ||
64 | Compile QT/E-2.3.7: | 66 | Compile QT/E-2.3.7: |
65 | 67 | ||
66 | Got to into the basic directory of qt-2.3.2 and enter | 68 | Got to into the basic directory of qt-2.3.2 and enter |
67 | export QTDIR=`pwd` | 69 | export QTDIR=`pwd` |
68 | export QPEDIR=$QTDIR | 70 | export QPEDIR=$QTDIR |
69 | export DYLD_LIBRARY_PATH=$QTDIR/lib | 71 | export DYLD_LIBRARY_PATH=$QTDIR/lib |
70 | ./configure -platform darwin-generic-g++ -qconfig qpe -qvfb -depths 4,8,16,32 | 72 | ./configure -platform darwin-generic-g++ -qconfig qpe -qvfb -depths 4,8,16,32 |
71 | make | 73 | make |
72 | 74 | ||
73 | Compile OPIE: | 75 | Compile OPIE: |
74 | Set your environment | 76 | Set your environment |
75 | (You may use the script "set_vars.sh" to set your variables successfully ! | 77 | (You may use the script "set_vars.sh" to set your variables successfully ! |
76 | BUT: You have to customize this script for YOUR needs !!) | 78 | BUT: You have to customize this script for YOUR needs !!) |
77 | Go into the basic directory of Opie | 79 | Go into the basic directory of Opie |
78 | make menuconfig" | 80 | make menuconfig" |
79 | set "Build Parameters"->"Target Machine"->"Mac OS X (DARWIN)" to activate the platform specific changes. | 81 | set "Build Parameters"->"Target Machine"->"Mac OS X (DARWIN)" to activate the platform specific changes. |
80 | save and exit the menuconfig app | 82 | save and exit the menuconfig app |
81 | make | 83 | make |
82 | 84 | ||
83 | You will see that a lot of applications and plugins/applets will not compile | 85 | You will see that a lot of applications and plugins/applets will not compile |
84 | successfully, due to the fact that they are not ported to this platform. | 86 | successfully, due to the fact that they are not ported to this platform. |
85 | You may disable them to be able to compile the rest. | 87 | You may disable them to be able to compile the rest. |
86 | 88 | ||
87 | Remember: A lot of configuration-settings are not tested and might fail to compile. | 89 | Remember: A lot of configuration-settings are not tested and might fail to compile. |
88 | If you want to avoid misconfigurations, you may want to start with | 90 | If you want to avoid misconfigurations, you may want to start with |
89 | the config-file in this directory. Just copy "config_macosx" to $OPIEDIR/.config | 91 | the config-file in this directory. Just copy "config_macosx" to $OPIEDIR/.config |
90 | to get a working configuration to start with. | 92 | to get a working configuration to start with. |
91 | 93 | ||
92 | (The missing apps/plugins will be ported on demand.) | 94 | (The missing apps/plugins will be ported on demand.) |
93 | 95 | ||