-rw-r--r-- | development/macosx/README_MACOSX | 15 |
1 files changed, 8 insertions, 7 deletions
diff --git a/development/macosx/README_MACOSX b/development/macosx/README_MACOSX index bc21548..1c7119a 100644 --- a/development/macosx/README_MACOSX +++ b/development/macosx/README_MACOSX | |||
@@ -16,66 +16,67 @@ which are platform specific, need some work to be compileable. | |||
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-2.3.2 is provided in this directory and is called "qt232-X11.patch". | ||
41 | Please copy the file "darwin-g++-shared" from the directory "./config-files/qt-2.3.2" into the directory "configs" | ||
42 | within the qt-2.3.2 directory !! | ||
43 | |||
40 | The Patch for QT/E for Opie, including all other opie-patches is available in the | 44 | 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". | 45 | 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" | 46 | 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. | 47 | into the directory "configs" within the base directory of qt/e. |
48 | Secondly, you have to copy the file "qconfig-qpe.h" from the Directory "$OPIEDIR/qt" into the "tools" directory | ||
49 | within the base directory of qt/e. Then, please add the line "#define QT_NO_SOUND" to this file. | ||
44 | 50 | ||
45 | The Patch for QT-2.3.2 is provided in this directory and is called "qt232-X11.patch". | 51 | Please read further, how to compile the stuff. |
46 | Please copy the file "darwin-g++-shared" from the directory "./config-files/qt-2.3.2" into the directory "configs" | ||
47 | within the qt-2.3.2 directory !! | ||
48 | |||
49 | If your buildsystem is working correctly, you should be able to build | ||
50 | opie. | ||
51 | 52 | ||
52 | HOWTO COMPILE: | 53 | HOWTO COMPILE: |
53 | ------------- | 54 | ------------- |
54 | 55 | ||
55 | Compile QT-2.3.2: | 56 | Compile QT-2.3.2: |
56 | 57 | ||
57 | Got to into the basic directory of qt-2.3.2 and enter | 58 | Go to into the basic directory of qt-2.3.2 and enter |
58 | export QTDIR=`pwd` | 59 | export QTDIR=`pwd` |
59 | export DYLD_LIBRARY_PATH=$QTDIR/lib | 60 | export DYLD_LIBRARY_PATH=$QTDIR/lib |
60 | ./configure -no-xft -platform darwin-g++ | 61 | ./configure -no-xft -platform darwin-g++ |
61 | make | 62 | make |
62 | After compiling successful (I hope) you need qvfb: | 63 | After compiling successful (I hope) you need qvfb: |
63 | cd tools/qvfb | 64 | cd tools/qvfb |
64 | make | 65 | make |
65 | 66 | ||
66 | Compile QT/E-2.3.7: | 67 | Compile QT/E-2.3.7: |
67 | 68 | ||
68 | Got to into the basic directory of qt-2.3.2 and enter | 69 | Got to into the basic directory of qt-2.3.2 and enter |
69 | export QTDIR=`pwd` | 70 | export QTDIR=`pwd` |
70 | export QPEDIR=$QTDIR | 71 | export QPEDIR=$QTDIR |
71 | export DYLD_LIBRARY_PATH=$QTDIR/lib | 72 | export DYLD_LIBRARY_PATH=$QTDIR/lib |
72 | ./configure -platform darwin-generic-g++ -qconfig qpe -qvfb -depths 4,8,16,32 | 73 | ./configure -platform darwin-generic-g++ -qconfig qpe -qvfb -depths 4,8,16,32 |
73 | make | 74 | make |
74 | 75 | ||
75 | Compile OPIE: | 76 | Compile OPIE: |
76 | Set your environment | 77 | Set your environment |
77 | (You may use the script "set_vars.sh" to set your variables successfully ! | 78 | (You may use the script "set_vars.sh" to set your variables successfully ! |
78 | BUT: You have to customize this script for YOUR needs !!) | 79 | BUT: You have to customize this script for YOUR needs !!) |
79 | Go into the basic directory of Opie | 80 | Go into the basic directory of Opie |
80 | make menuconfig" | 81 | make menuconfig" |
81 | set "Build Parameters"->"Target Machine"->"Mac OS X (DARWIN)" to activate the platform specific changes. | 82 | set "Build Parameters"->"Target Machine"->"Mac OS X (DARWIN)" to activate the platform specific changes. |