author | eilers <eilers> | 2003-11-17 16:06:48 (UTC) |
---|---|---|
committer | eilers <eilers> | 2003-11-17 16:06:48 (UTC) |
commit | 2296f8ea6926e8de45bcb2d5f78f709557fac21a (patch) (unidiff) | |
tree | 14bd0eabca26a8f6be3d86d6a95aabc01067f1eb /development | |
parent | d7bc4cb1af3ef107b3acc30fb6b4da36b7bdffea (diff) | |
download | opie-2296f8ea6926e8de45bcb2d5f78f709557fac21a.zip opie-2296f8ea6926e8de45bcb2d5f78f709557fac21a.tar.gz opie-2296f8ea6926e8de45bcb2d5f78f709557fac21a.tar.bz2 |
Changes for Panther and some more information
-rw-r--r-- | development/macosx/README_MACOSX | 81 | ||||
-rw-r--r-- | development/macosx/config_macosx | 1 |
2 files changed, 60 insertions, 22 deletions
diff --git a/development/macosx/README_MACOSX b/development/macosx/README_MACOSX index e58aa8a..864f486 100644 --- a/development/macosx/README_MACOSX +++ b/development/macosx/README_MACOSX | |||
@@ -18,4 +18,5 @@ What is ready: | |||
18 | libqpe | 18 | libqpe |
19 | libopie1 | 19 | libopie1 |
20 | libopie2/opiedb | ||
20 | pim-applications (addressbook, todolist, datebook, today) | 21 | pim-applications (addressbook, todolist, datebook, today) |
21 | A lot of applications and plugins which are not platform specific. | 22 | A lot of applications and plugins which are not platform specific. |
@@ -23,13 +24,6 @@ A lot of applications and plugins which are not platform specific. | |||
23 | What will follow soon: | 24 | What will follow soon: |
24 | 25 | ||
25 | libopie2 | 26 | libopie2 |
26 | 27 | ||
27 | Remember: A lot of configuration-settings are not tested (as for instance | ||
28 | the quicklauncher) and might fail to compile. | ||
29 | If you want to avoid misconfigurations, you may want to start with | ||
30 | the config-file in this directory. Just copy "config_macosx" to $OPIEDIR/.config | ||
31 | to get a working configuration to start with. | ||
32 | |||
33 | (The missing apps/plugins will be ported on demand.) | ||
34 | 28 | ||
35 | How to compile Opie for MacOS-X: | 29 | How to compile Opie for MacOS-X: |
@@ -38,22 +32,49 @@ How to compile Opie for MacOS-X: | |||
38 | Before compiling for MacOS-X, you need the following: | 32 | Before compiling for MacOS-X, you need the following: |
39 | 33 | ||
40 | 1. X11-Server (Provided by Apple) | 34 | 1. X11-Server+X11SDK (Provided by Apple) |
41 | 2. QT-2.3.2 for X11 | 35 | 2. QT-2.3.2 for X11 (Provided by Trolltech) |
42 | 3. QT/E-2.3.7 | 36 | 3. QT/E-2.3.7 (Provided by Trolltech) |
43 | 4. Patches for QT-2.3.2 for MacOSX | 37 | 4. Patches for QT-2.3.2 for MacOSX (take the one in this directory !) |
44 | 5. Patches for QT/E-2.3.7 for MacOSX | 38 | 5. Patches for QT/E-2.3.7 for MacOSX (take the one, provided in $OPIEDIR/qt) |
45 | 39 | ||
46 | Please follow the instructions by http://www.lucid-cake.net/osx_qpe/index_de.html | ||
47 | how to create a buildsystem for your Mac. | ||
48 | What is different to the previous desciption: | ||
49 | You don't need Qtopia ! | ||
50 | It is recommended to use QT/E in version 2.3.7 instead of 2.3.5 as described. | ||
51 | 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 |
52 | qt-directory ($OPIEDIR/qt) and is called "qte237-all-macosx.patch". | 41 | qt-directory ($OPIEDIR/qt) and is called "qte237-all-macosx.patch". |
42 | The Patch for QT-2.3.2 is provided in this directory.. | ||
53 | 43 | ||
54 | If your buildsystem is working correctly, you should be able to build | 44 | If your buildsystem is working correctly, you should be able to build |
55 | opie. You have to enter "make menuconfig" and set | 45 | opie. |
56 | "Build Parameters"->"Target Machine"->"Mac OS X (DARWIN)" | 46 | |
57 | activate the platform specific changes. | 47 | HOWTO COMPILE: |
48 | ------------- | ||
49 | |||
50 | Compile QT-2.3.2: | ||
51 | |||
52 | Got to into the basic directory of qt-2.3.2 and enter | ||
53 | export QTDIR=`pwd` | ||
54 | export DYLD_LIBRARY_PATH=$QTDIR/lib | ||
55 | ./configure -no-xft -platform darwin-g++ | ||
56 | make | ||
57 | After compiling successful (I hope) you need qvfb: | ||
58 | cd tools/qvfb | ||
59 | make | ||
60 | |||
61 | Compile QT/E-2.3.7: | ||
62 | |||
63 | Got to into the basic directory of qt-2.3.2 and enter | ||
64 | export QTDIR=`pwd` | ||
65 | export QPEDIR=$QTDIR | ||
66 | export DYLD_LIBRARY_PATH=$QTDIR/lib | ||
67 | ./configure -platform darwin-generic-g++ -qconfig qpe -qvfb -depths 4,8,16,32 | ||
68 | make | ||
69 | |||
70 | Compile OPIE: | ||
71 | Set your environment | ||
72 | (You may use the script "set_vars.sh" to set your variables successfully ! | ||
73 | BUT: You have to customize this script for YOUR needs !!) | ||
74 | Go into the basic directory of Opie | ||
75 | make menuconfig" | ||
76 | set "Build Parameters"->"Target Machine"->"Mac OS X (DARWIN)" to activate the platform specific changes. | ||
77 | save and exit the menuconfig app | ||
78 | make | ||
58 | 79 | ||
59 | You will see that a lot of applications and plugins/applets will not compile | 80 | You will see that a lot of applications and plugins/applets will not compile |
@@ -61,4 +82,20 @@ successfully, due to the fact that they are not ported to this platform. | |||
61 | You may disable them to be able to compile the rest. | 82 | You may disable them to be able to compile the rest. |
62 | 83 | ||
84 | Remember: A lot of configuration-settings are not tested and might fail to compile. | ||
85 | If you want to avoid misconfigurations, you may want to start with | ||
86 | the config-file in this directory. Just copy "config_macosx" to $OPIEDIR/.config | ||
87 | to get a working configuration to start with. | ||
88 | |||
89 | (The missing apps/plugins will be ported on demand.) | ||
90 | |||
91 | |||
92 | SPECIAL INFORMATION FOR USERS OF PANTHER | ||
93 | ---------------------------------------- | ||
94 | I had a lot of problems compiling qt-2.3.2 and QT/E-2.3.7 on Panther. The | ||
95 | new release of the X-Server causes a lot of trouble.. | ||
96 | |||
97 | To compile QT-2.3.2 successfully, you have to disable support of freetype fonts and you have | ||
98 | to use the patch in this directory, otherwise your wont't be able to compile ! | ||
99 | Use the param "-no-xft" for the configure script to disable this function ! | ||
63 | 100 | ||
64 | Information for Developers: | 101 | Information for Developers: |
diff --git a/development/macosx/config_macosx b/development/macosx/config_macosx index eb0792f..656a468 100644 --- a/development/macosx/config_macosx +++ b/development/macosx/config_macosx | |||
@@ -28,4 +28,5 @@ CONFIG_LIBOPIE=y | |||
28 | # CONFIG_OPIE-LOGIN is not set | 28 | # CONFIG_OPIE-LOGIN is not set |
29 | # CONFIG_OPIEALARM is not set | 29 | # CONFIG_OPIEALARM is not set |
30 | CONFIG_QUICKLAUNCHER=y | ||
30 | CONFIG_LAUNCHER=y | 31 | CONFIG_LAUNCHER=y |
31 | CONFIG_PRELOAD=y | 32 | CONFIG_PRELOAD=y |