summaryrefslogtreecommitdiff
Unidiff
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--development/macosx/README_MACOSX81
-rw-r--r--development/macosx/config_macosx1
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
@@ -1,92 +1,129 @@
1Information about porting Opie to MacOS-X (eilers) 1Information about porting Opie to MacOS-X (eilers)
2================================================== 2==================================================
3 3
4Credits: 4Credits:
5-------- 5--------
6 6
7Special thanks to Andreas Junghans (webmaster@lucid-cake.net) for its patches for qt-X11 (2.3.2), 7Special thanks to Andreas Junghans (webmaster@lucid-cake.net) for its patches for qt-X11 (2.3.2),
8QT/E (2.3.5) and qtopia (1.6.1). 8QT/E (2.3.5) and qtopia (1.6.1).
9Without them, I wouldn't be able to provide the port for OPIE to MacOS-X that fast.. 9Without them, I wouldn't be able to provide the port for OPIE to MacOS-X that fast..
10 10
11Status: 11Status:
12------- 12-------
13The basic system works quite well. But a lot of applications and plugins, 13The basic system works quite well. But a lot of applications and plugins,
14which are platform specific, need some work to be compileable. 14which are platform specific, need some work to be compileable.
15 15
16What is ready: 16What is ready:
17 17
18libqpe 18libqpe
19libopie1 19libopie1
20libopie2/opiedb
20pim-applications (addressbook, todolist, datebook, today) 21pim-applications (addressbook, todolist, datebook, today)
21A lot of applications and plugins which are not platform specific. 22A lot of applications and plugins which are not platform specific.
22 23
23What will follow soon: 24What will follow soon:
24 25
25libopie2 26libopie2
26 27
27Remember: A lot of configuration-settings are not tested (as for instance
28the quicklauncher) and might fail to compile.
29If you want to avoid misconfigurations, you may want to start with
30the config-file in this directory. Just copy "config_macosx" to $OPIEDIR/.config
31to get a working configuration to start with.
32
33(The missing apps/plugins will be ported on demand.)
34 28
35How to compile Opie for MacOS-X: 29How to compile Opie for MacOS-X:
36------------------------------- 30-------------------------------
37 31
38Before compiling for MacOS-X, you need the following: 32Before compiling for MacOS-X, you need the following:
39 33
401. X11-Server (Provided by Apple) 34 1. X11-Server+X11SDK (Provided by Apple)
412. QT-2.3.2 for X11 35 2. QT-2.3.2 for X11 (Provided by Trolltech)
423. QT/E-2.3.7 36 3. QT/E-2.3.7 (Provided by Trolltech)
434. Patches for QT-2.3.2 for MacOSX 37 4. Patches for QT-2.3.2 for MacOSX (take the one in this directory !)
445. 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
46Please follow the instructions by http://www.lucid-cake.net/osx_qpe/index_de.html
47how to create a buildsystem for your Mac.
48What is different to the previous desciption:
49You don't need Qtopia !
50It is recommended to use QT/E in version 2.3.7 instead of 2.3.5 as described.
51The Patch for QT/E for Opie, including all other opie-patches is available in the 40The Patch for QT/E for Opie, including all other opie-patches is available in the
52qt-directory ($OPIEDIR/qt) and is called "qte237-all-macosx.patch". 41qt-directory ($OPIEDIR/qt) and is called "qte237-all-macosx.patch".
42The Patch for QT-2.3.2 is provided in this directory..
53 43
54If your buildsystem is working correctly, you should be able to build 44If your buildsystem is working correctly, you should be able to build
55opie. You have to enter "make menuconfig" and set 45opie.
56"Build Parameters"->"Target Machine"->"Mac OS X (DARWIN)" 46
57activate the platform specific changes. 47HOWTO COMPILE:
48-------------
49
50Compile QT-2.3.2:
51
52Got to into the basic directory of qt-2.3.2 and enter
53export QTDIR=`pwd`
54export DYLD_LIBRARY_PATH=$QTDIR/lib
55./configure -no-xft -platform darwin-g++
56make
57After compiling successful (I hope) you need qvfb:
58cd tools/qvfb
59make
60
61Compile QT/E-2.3.7:
62
63Got to into the basic directory of qt-2.3.2 and enter
64export QTDIR=`pwd`
65export QPEDIR=$QTDIR
66export DYLD_LIBRARY_PATH=$QTDIR/lib
67./configure -platform darwin-generic-g++ -qconfig qpe -qvfb -depths 4,8,16,32
68make
69
70Compile OPIE:
71Set your environment
72(You may use the script "set_vars.sh" to set your variables successfully !
73BUT: You have to customize this script for YOUR needs !!)
74Go into the basic directory of Opie
75make menuconfig"
76set "Build Parameters"->"Target Machine"->"Mac OS X (DARWIN)" to activate the platform specific changes.
77save and exit the menuconfig app
78make
58 79
59You will see that a lot of applications and plugins/applets will not compile 80You will see that a lot of applications and plugins/applets will not compile
60successfully, due to the fact that they are not ported to this platform. 81successfully, due to the fact that they are not ported to this platform.
61You may disable them to be able to compile the rest. 82You may disable them to be able to compile the rest.
62 83
84Remember: A lot of configuration-settings are not tested and might fail to compile.
85If you want to avoid misconfigurations, you may want to start with
86the config-file in this directory. Just copy "config_macosx" to $OPIEDIR/.config
87to get a working configuration to start with.
88
89(The missing apps/plugins will be ported on demand.)
90
91
92SPECIAL INFORMATION FOR USERS OF PANTHER
93----------------------------------------
94I had a lot of problems compiling qt-2.3.2 and QT/E-2.3.7 on Panther. The
95new release of the X-Server causes a lot of trouble..
96
97To compile QT-2.3.2 successfully, you have to disable support of freetype fonts and you have
98to use the patch in this directory, otherwise your wont't be able to compile !
99Use the param "-no-xft" for the configure script to disable this function !
63 100
64Information for Developers: 101Information for Developers:
65--------------------------- 102---------------------------
66 103
671. Platform specific code should be surrounded by 1041. Platform specific code should be surrounded by
68#ifdef Q_OS_MACX 105#ifdef Q_OS_MACX
69MACOS-X CODE 106MACOS-X CODE
70#else 107#else
71OTHER-CODE 108OTHER-CODE
72#endif 109#endif
73 110
742. The Plugin-Handling by MacOS-X is different than it is by Linux. 1112. The Plugin-Handling by MacOS-X is different than it is by Linux.
75On linux-systems, shared libraries are not different to dynamic loaded libraries 112On linux-systems, shared libraries are not different to dynamic loaded libraries
76(aka plugins). They just are different whether they are loaded automatically 113(aka plugins). They just are different whether they are loaded automatically
77at startup or manually by any application. 114at startup or manually by any application.
78On MacOS-X, the plugins are loaded by a special mechanism and must be in a special 115On MacOS-X, the plugins are loaded by a special mechanism and must be in a special
79binary format. Therefore you have to add the term "plugin" to the CONFIG-clause, as 116binary format. Therefore you have to add the term "plugin" to the CONFIG-clause, as
80for instance: 117for instance:
81 118
82TEMPLATE=lib 119TEMPLATE=lib
83CONFIG += qt plugin release 120CONFIG += qt plugin release
84 121
85If you don't add "plugin" you will get a shared library which is not loadable 122If you don't add "plugin" you will get a shared library which is not loadable
86(Error-Code: NSObjectFileImageInappropriateFile (2))! 123(Error-Code: NSObjectFileImageInappropriateFile (2))!
87 124
88 125
89 126
90For problems, help and flames, feel free to contact me at 127For problems, help and flames, feel free to contact me at
91 128
92eilers.stefan@epost.de \ No newline at end of file 129eilers.stefan@epost.de \ No newline at end of file
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
@@ -1,221 +1,222 @@
1# 1#
2# Automatically generated make config: don't edit 2# Automatically generated make config: don't edit
3# 3#
4 4
5# 5#
6# Build Parameters 6# Build Parameters
7# 7#
8# CONFIG_TARGET_X86 is not set 8# CONFIG_TARGET_X86 is not set
9CONFIG_TARGET_MACOSX=y 9CONFIG_TARGET_MACOSX=y
10# CONFIG_TARGET_SHARP is not set 10# CONFIG_TARGET_SHARP is not set
11# CONFIG_TARGET_IPAQ is not set 11# CONFIG_TARGET_IPAQ is not set
12# CONFIG_TARGET_RAMSES is not set 12# CONFIG_TARGET_RAMSES is not set
13# CONFIG_TARGET_SIMPAD is not set 13# CONFIG_TARGET_SIMPAD is not set
14# CONFIG_TARGET_YOPY is not set 14# CONFIG_TARGET_YOPY is not set
15# CONFIG_OPTIMIZE is not set 15# CONFIG_OPTIMIZE is not set
16CONFIG_DEBUG=y 16CONFIG_DEBUG=y
17CONFIG_QUICK_LAUNCH=y 17CONFIG_QUICK_LAUNCH=y
18# CONFIG_OPIE_NO_OVERRIDE_QT is not set 18# CONFIG_OPIE_NO_OVERRIDE_QT is not set
19CONFIG_SPECFILE="qws/macx-generic-g++" 19CONFIG_SPECFILE="qws/macx-generic-g++"
20CONFIG_EXPERIMENTAL=y 20CONFIG_EXPERIMENTAL=y
21 21
22# 22#
23# Base 23# Base
24# 24#
25CONFIG_LIBQPE=y 25CONFIG_LIBQPE=y
26# CONFIG_X11 is not set 26# CONFIG_X11 is not set
27CONFIG_LIBOPIE=y 27CONFIG_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
30CONFIG_QUICKLAUNCHER=y
30CONFIG_LAUNCHER=y 31CONFIG_LAUNCHER=y
31CONFIG_PRELOAD=y 32CONFIG_PRELOAD=y
32CONFIG_LAUNCHER_CORE=y 33CONFIG_LAUNCHER_CORE=y
33CONFIG_QWS=y 34CONFIG_QWS=y
34 35
35# 36#
36# 37#
37# 38#
38 39
39# 40#
40# Applets 41# Applets
41# 42#
42CONFIG_BATTERYAPPLET=y 43CONFIG_BATTERYAPPLET=y
43# CONFIG_CARDMON is not set 44# CONFIG_CARDMON is not set
44CONFIG_CLIPBOARDAPPLET=y 45CONFIG_CLIPBOARDAPPLET=y
45CONFIG_CLOCKAPPLET=y 46CONFIG_CLOCKAPPLET=y
46CONFIG_HOMEAPPLET=y 47CONFIG_HOMEAPPLET=y
47# CONFIG_IRDAAPPLET is not set 48# CONFIG_IRDAAPPLET is not set
48# CONFIG_LOGOUTAPPLET is not set 49# CONFIG_LOGOUTAPPLET is not set
49# CONFIG_OBEXAPPLET is not set 50# CONFIG_OBEXAPPLET is not set
50# CONFIG_OBEX is not set 51# CONFIG_OBEX is not set
51# CONFIG_RESTARTAPPLET is not set 52# CONFIG_RESTARTAPPLET is not set
52# CONFIG_ROTATEAPPLET is not set 53# CONFIG_ROTATEAPPLET is not set
53# CONFIG_SCREENSHOTAPPLET is not set 54# CONFIG_SCREENSHOTAPPLET is not set
54# CONFIG_SUSPENDAPPLET is not set 55# CONFIG_SUSPENDAPPLET is not set
55# CONFIG_VMEMO is not set 56# CONFIG_VMEMO is not set
56# CONFIG_VOLUMEAPPLET is not set 57# CONFIG_VOLUMEAPPLET is not set
57# CONFIG_VTAPPLET is not set 58# CONFIG_VTAPPLET is not set
58 59
59# 60#
60# Network applet needs a libqpe and libopie2 (core, ui, net) 61# Network applet needs a libqpe and libopie2 (core, ui, net)
61# 62#
62CONFIG_NOTESAPPLET=y 63CONFIG_NOTESAPPLET=y
63# CONFIG_WIRELESSAPPLET is not set 64# CONFIG_WIRELESSAPPLET is not set
64 65
65# 66#
66# Apps 67# Apps
67# 68#
68# CONFIG_CALIBRATE is not set 69# CONFIG_CALIBRATE is not set
69# CONFIG_EMBEDDEDKONSOLE is not set 70# CONFIG_EMBEDDEDKONSOLE is not set
70CONFIG_FILEBROWSER=y 71CONFIG_FILEBROWSER=y
71CONFIG_HELPBROWSER=y 72CONFIG_HELPBROWSER=y
72# CONFIG_OAPP is not set 73# CONFIG_OAPP is not set
73CONFIG_OIPKG=y 74CONFIG_OIPKG=y
74CONFIG_QCOP=y 75CONFIG_QCOP=y
75CONFIG_TEXTEDIT=y 76CONFIG_TEXTEDIT=y
76# CONFIG_ADVANCEDFM is not set 77# CONFIG_ADVANCEDFM is not set
77# CONFIG_AQPKG is not set 78# CONFIG_AQPKG is not set
78CONFIG_CHECKBOOK=y 79CONFIG_CHECKBOOK=y
79# CONFIG_ODICT is not set 80# CONFIG_ODICT is not set
80# CONFIG_BARTENDER is not set 81# CONFIG_BARTENDER is not set
81# CONFIG_OPIE-CONSOLE is not set 82# CONFIG_OPIE-CONSOLE is not set
82# CONFIG_OPIE-READER is not set 83# CONFIG_OPIE-READER is not set
83CONFIG_OPIE-SHEET=y 84CONFIG_OPIE-SHEET=y
84CONFIG_OPIE-WRITE=y 85CONFIG_OPIE-WRITE=y
85CONFIG_OXYGEN=y 86CONFIG_OXYGEN=y
86CONFIG_SYSINFO=y 87CONFIG_SYSINFO=y
87CONFIG_TABLEVIEWER=y 88CONFIG_TABLEVIEWER=y
88CONFIG_TINYKATE=y 89CONFIG_TINYKATE=y
89CONFIG_LIBKATE=y 90CONFIG_LIBKATE=y
90# CONFIG_ZSAFE is not set 91# CONFIG_ZSAFE is not set
91 92
92# 93#
93# Communications and Networking 94# Communications and Networking
94# 95#
95# CONFIG_GSMTOOL is not set 96# CONFIG_GSMTOOL is not set
96# CONFIG_KEYPEBBLE is not set 97# CONFIG_KEYPEBBLE is not set
97# CONFIG_MOBILEMSG is not set 98# CONFIG_MOBILEMSG is not set
98# CONFIG_MAIL is not set 99# CONFIG_MAIL is not set
99# CONFIG_FTPLIB is not set 100# CONFIG_FTPLIB is not set
100# CONFIG_MAILIT is not set 101# CONFIG_MAILIT is not set
101# CONFIG_OPIEIRC is not set 102# CONFIG_OPIEIRC is not set
102# CONFIG_OPIE-RDESKTOP is not set 103# CONFIG_OPIE-RDESKTOP is not set
103# CONFIG_UBROWSER is not set 104# CONFIG_UBROWSER is not set
104 105
105# 106#
106# wellenreiter needs libqpe, libopie1 and libopie2 (core+net+ui) 107# wellenreiter needs libqpe, libopie1 and libopie2 (core+net+ui)
107# 108#
108 109
109# 110#
110# Games 111# Games
111# 112#
112CONFIG_BACKGAMMON=y 113CONFIG_BACKGAMMON=y
113CONFIG_BOUNCE=y 114CONFIG_BOUNCE=y
114CONFIG_BUZZWORD=y 115CONFIG_BUZZWORD=y
115CONFIG_FIFTEEN=y 116CONFIG_FIFTEEN=y
116CONFIG_GO=y 117CONFIG_GO=y
117CONFIG_KBILL=y 118CONFIG_KBILL=y
118CONFIG_KCHECKERS=y 119CONFIG_KCHECKERS=y
119CONFIG_KPACMAN=y 120CONFIG_KPACMAN=y
120CONFIG_MINDBREAKER=y 121CONFIG_MINDBREAKER=y
121CONFIG_MINESWEEP=y 122CONFIG_MINESWEEP=y
122# CONFIG_WORDGAME is not set 123# CONFIG_WORDGAME is not set
123CONFIG_PARASHOOT=y 124CONFIG_PARASHOOT=y
124CONFIG_QASTEROIDS=y 125CONFIG_QASTEROIDS=y
125# CONFIG_SFCAVE is not set 126# CONFIG_SFCAVE is not set
126# CONFIG_SFCAVE-SDL is not set 127# CONFIG_SFCAVE-SDL is not set
127# CONFIG_SNAKE is not set 128# CONFIG_SNAKE is not set
128CONFIG_SOLITAIRE=y 129CONFIG_SOLITAIRE=y
129# CONFIG_TETRIX is not set 130# CONFIG_TETRIX is not set
130# CONFIG_TICTAC is not set 131# CONFIG_TICTAC is not set
131 132
132# 133#
133# Graphics and Multimedia 134# Graphics and Multimedia
134# 135#
135# CONFIG_FREETYPE is not set 136# CONFIG_FREETYPE is not set
136CONFIG_DRAWPAD=y 137CONFIG_DRAWPAD=y
137# CONFIG_QPDF is not set 138# CONFIG_QPDF is not set
138# CONFIG_OPIEPLAYER is not set 139# CONFIG_OPIEPLAYER is not set
139 140
140# 141#
141# opie-camera needs a libqpe, libopie and libopie2core 142# opie-camera needs a libqpe, libopie and libopie2core
142# 143#
143# CONFIG_OPIEPLAYER2 is not set 144# CONFIG_OPIEPLAYER2 is not set
144# CONFIG_OPIEREC is not set 145# CONFIG_OPIEREC is not set
145CONFIG_SHOWIMG=y 146CONFIG_SHOWIMG=y
146 147
147# 148#
148# Input methods 149# Input methods
149# 150#
150# CONFIG_DASHER is not set 151# CONFIG_DASHER is not set
151# CONFIG_DVORAK is not set 152# CONFIG_DVORAK is not set
152CONFIG_HANDWRITING=y 153CONFIG_HANDWRITING=y
153 154
154# 155#
155# opie-handwriting-classicset automatically selected 156# opie-handwriting-classicset automatically selected
156# 157#
157 158
158# 159#
159# opie-handwriting-graffitiset automatically selected 160# opie-handwriting-graffitiset automatically selected
160# 161#
161CONFIG_JUMPX=y 162CONFIG_JUMPX=y
162# CONFIG_KEYBOARD is not set 163# CONFIG_KEYBOARD is not set
163CONFIG_KJUMPX=y 164CONFIG_KJUMPX=y
164# CONFIG_MULTIKEY is not set 165# CONFIG_MULTIKEY is not set
165CONFIG_PICKBOARD=y 166CONFIG_PICKBOARD=y
166CONFIG_UNIKEYBOARD=y 167CONFIG_UNIKEYBOARD=y
167 168
168# 169#
169# Pim 170# Pim
170# 171#
171CONFIG_ADDRESSBOOK=y 172CONFIG_ADDRESSBOOK=y
172CONFIG_DATEBOOK=y 173CONFIG_DATEBOOK=y
173CONFIG_OSEARCH=y 174CONFIG_OSEARCH=y
174CONFIG_TODAY=y 175CONFIG_TODAY=y
175CONFIG_TODO=y 176CONFIG_TODO=y
176 177
177# 178#
178# Today Plugins 179# Today Plugins
179# 180#
180# CONFIG_TODAY_FORTUNE is not set 181# CONFIG_TODAY_FORTUNE is not set
181# CONFIG_TODAY_STOCKTICKER is not set 182# CONFIG_TODAY_STOCKTICKER is not set
182# CONFIG_TODAY_WEATHER is not set 183# CONFIG_TODAY_WEATHER is not set
183CONFIG_TODAY_ADDRESSBOOK=y 184CONFIG_TODAY_ADDRESSBOOK=y
184CONFIG_TODAY_DATEBOOK=y 185CONFIG_TODAY_DATEBOOK=y
185CONFIG_TODAY_MAIL=y 186CONFIG_TODAY_MAIL=y
186CONFIG_TODAY_TODOLIST=y 187CONFIG_TODAY_TODOLIST=y
187 188
188# 189#
189# Settings 190# Settings
190# 191#
191CONFIG_BUTTON-SETTINGS=y 192CONFIG_BUTTON-SETTINGS=y
192CONFIG_CITYTIME=y 193CONFIG_CITYTIME=y
193CONFIG_LAUNCHER-SETTINGS=y 194CONFIG_LAUNCHER-SETTINGS=y
194CONFIG_LIGHT-AND-POWER=y 195CONFIG_LIGHT-AND-POWER=y
195CONFIG_SECURITY=y 196CONFIG_SECURITY=y
196CONFIG_APPEARANCE2=y 197CONFIG_APPEARANCE2=y
197CONFIG_BACKUP=y 198CONFIG_BACKUP=y
198CONFIG_LANGUAGE=y 199CONFIG_LANGUAGE=y
199CONFIG_MEDIUMMOUNT=y 200CONFIG_MEDIUMMOUNT=y
200CONFIG_NETSYSTEMTIME=y 201CONFIG_NETSYSTEMTIME=y
201# CONFIG_NETWORKSETUP is not set 202# CONFIG_NETWORKSETUP is not set
202# CONFIG_SOUND is not set 203# CONFIG_SOUND is not set
203# CONFIG_SSHKEYS is not set 204# CONFIG_SSHKEYS is not set
204CONFIG_TABMANAGER=y 205CONFIG_TABMANAGER=y
205# CONFIG_USERMANAGER is not set 206# CONFIG_USERMANAGER is not set
206 207
207# 208#
208# Theming 209# Theming
209# 210#
210 211
211# 212#
212# Decorations 213# Decorations
213# 214#
214CONFIG_DECO_FLAT=y 215CONFIG_DECO_FLAT=y
215CONFIG_DECO_LIQUID=y 216CONFIG_DECO_LIQUID=y
216CONFIG_DECO_POLISHED=y 217CONFIG_DECO_POLISHED=y
217 218
218# 219#
219# Styles 220# Styles
220# 221#
221CONFIG_FLAT=y 222CONFIG_FLAT=y