summaryrefslogtreecommitdiff
Unidiff
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--development/macosx/README_MACOSX30
-rw-r--r--development/macosx/config_macosx151
-rw-r--r--include.pro1
3 files changed, 108 insertions, 74 deletions
diff --git a/development/macosx/README_MACOSX b/development/macosx/README_MACOSX
index 4cb5908..ac62046 100644
--- a/development/macosx/README_MACOSX
+++ b/development/macosx/README_MACOSX
@@ -8,27 +8,26 @@ Special thanks to Andreas Junghans (webmaster@lucid-cake.net) for its patches fo
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..
10Thanks to Juergen Graf to debug this very generic README ! 10Thanks to Juergen Graf to debug this very generic README !
11 11
12Status: 12Status:
13------- 13-------
14This work is done, do provide a development platform for Apple-Users! Please do not expect that you
15could create a productive Opie system for the Mac with it !!
16
14The basic system works quite well. But a lot of applications and plugins, 17The basic system works quite well. But a lot of applications and plugins,
15which are platform specific, need some work to be compileable. 18which are platform specific, need some work to be compileable.
16 19
17What is ready: 20What is ready:
18 21
19libqpe 22libqpe
20libopie1 23libopie1
21libopie2/opiedb 24libopie2
22pim-applications (addressbook, todolist, datebook, today) 25pim-applications (addressbook, todolist, datebook, today)
23A lot of applications and plugins which are not platform specific. 26A lot of applications and plugins which are not platform specific.
24 27
25What will follow soon:
26
27libopie2 (libopiecore and libopiedb works already !)
28
29ToDO: 28ToDO:
30----- 29-----
31There are some functions in the sourcecode which are not yet ported to Mac. If the 30There are some functions in the sourcecode which are not yet ported to Mac. If the
32MacOS environment should be used for real productive work, the following functions 31MacOS environment should be used for real productive work, the following functions
33must be implemented correctly: 32must be implemented correctly:
34 33
@@ -93,25 +92,44 @@ Set your environment
93(You may use the script "set_vars.sh" to set your variables successfully ! 92(You may use the script "set_vars.sh" to set your variables successfully !
94BUT: You have to customize this script for YOUR needs !!) 93BUT: You have to customize this script for YOUR needs !!)
95Go into the basic directory of Opie 94Go into the basic directory of Opie
96make menuconfig" 95make menuconfig"
97set "Build Parameters"->"Target Machine"->"Mac OS X (DARWIN)" to activate the platform specific changes. 96set "Build Parameters"->"Target Machine"->"Mac OS X (DARWIN)" to activate the platform specific changes.
98save and exit the menuconfig app 97save and exit the menuconfig app
99make 98make (ATTENTION: See Known Bugs below!!)
100 99
101You will see that a lot of applications and plugins/applets will not compile 100You will see that a lot of applications and plugins/applets will not compile
102successfully, due to the fact that they are not ported to this platform. 101successfully, due to the fact that they are not ported to this platform.
103You may disable them to be able to compile the rest. 102You may disable them to be able to compile the rest.
104 103
105Remember: A lot of configuration-settings are not tested and might fail to compile. 104Remember: A lot of configuration-settings are not tested and might fail to compile.
106If you want to avoid misconfigurations, you may want to start with 105If you want to avoid misconfigurations, you may want to start with
107the config-file in this directory. Just copy "config_macosx" to $OPIEDIR/.config 106the config-file in this directory. Just copy "config_macosx" to $OPIEDIR/.config
108to get a working configuration to start with. 107to get a working configuration to start with.
109 108
110(The missing apps/plugins will be ported on demand.) 109(The missing apps/plugins will be ported on demand.)
111 110
111Known Bugs (compilation problems):
112-----------
113The Apple-Linker does not load indirect linked libraries automatically ( if somebody
114has a solution here, please inform me !!), therefore I had to add "-lopiedb2" and "-lqpe"
115for applications/libraries who used libraries which are linked against them.
116A goot solution would be to add it in the project files of these application, but this would
117influence the linux-platform as well... :(
118As a first (but stupid) solution, I added this linker parameter to the global "include.pro"
119which adds them for everything.. Yes, also for libqpe etc..
120Therefore this project will not compile out of the box. You have to compile in a two-pass way:
121
122Pass 1: Find the line "LIBS += -lopiedb2 -lqpe" in the file include.pro and comment out it (put a "#"
123 in front of it)
124 Do a "make -k" to compile what is already compileable (some will not compile)
125Pass 2: Remove the comment from Pass1 and do a "make". The rest should compile now successfully.
126
127
128I know, this is a silly solution ! But I don't have anything better without influence the Linux build
129process too much .. I would be happy, if somebody could help me here !
112 130
113SPECIAL INFORMATION FOR USERS OF PANTHER 131SPECIAL INFORMATION FOR USERS OF PANTHER
114---------------------------------------- 132----------------------------------------
115I had a lot of problems compiling qt-2.3.2 and QT/E-2.3.7 on Panther. The 133I had a lot of problems compiling qt-2.3.2 and QT/E-2.3.7 on Panther. The
116new release of the X-Server causes a lot of trouble.. 134new release of the X-Server causes a lot of trouble..
117 135
diff --git a/development/macosx/config_macosx b/development/macosx/config_macosx
index 656a468..53a1c9b 100644
--- a/development/macosx/config_macosx
+++ b/development/macosx/config_macosx
@@ -12,29 +12,62 @@ CONFIG_TARGET_MACOSX=y
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 18CONFIG_QUICKLAUNCH_PATH="/Users/stefan/Developer/opie/bin/quicklauncher"
19CONFIG_SPECFILE="qws/macx-generic-g++" 19CONFIG_SPECFILE="qws/macx-generic-g++"
20CONFIG_EXPERIMENTAL=y 20CONFIG_EXPERIMENTAL=y
21 21
22# 22#
23# Configuration
24#
25# CONFIG_OPIE_NO_OVERRIDE_QT is not set
26# CONFIG_OPIE_NO_BUILTIN_SHUTDOWN is not set
27# CONFIG_OPIE_NO_BUILTIN_CALIBRATE is not set
28CONFIG_OPIE_SOUND_FRAGMENT_SHIFT="16"
29# CONFIG_USE_REALTIME_AUDIO_THREAD is not set
30# CONFIG_OPIE_HIGH_RES_SMALL_PHY is not set
31# CONFIG_OPIE_NEW_ALLOC is not set
32# CONFIG_OPIE_NO_SOUND_PCM_READ_BITS is not set
33CONFIG_OPIE_WE_VERSION="15"
34
35#
23# Base 36# Base
24# 37#
25CONFIG_LIBQPE=y 38CONFIG_LIBQPE=y
26# CONFIG_X11 is not set 39# CONFIG_X11 is not set
27CONFIG_LIBOPIE=y 40CONFIG_LIBOPIE=y
41
42#
43#
44#
45CONFIG_LIBOPIE2CORE=y
46CONFIG_LIBOPIE2DB=y
47# CONFIG_LIBOPIE2NET is not set
48CONFIG_LIBOPIE2PIM=y
49CONFIG_SQL_PIM_BACKEND=y
50CONFIG_LIBOPIE2UI=y
51# CONFIG_LIBOPIE2MM is not set
52
53#
54# the examples need a libqpe, libopie2core, libopie2db, libopie2net, libopie2pim, libopie2ui and libopie2mm
55#
56
57#
58#
59#
60CONFIG_LIBQTAUX=y
28# CONFIG_OPIE-LOGIN is not set 61# CONFIG_OPIE-LOGIN is not set
29# CONFIG_OPIEALARM is not set 62# CONFIG_OPIEALARM is not set
30CONFIG_QUICKLAUNCHER=y 63CONFIG_QUICKLAUNCHER=y
31CONFIG_LAUNCHER=y 64CONFIG_LAUNCHER=y
32CONFIG_PRELOAD=y 65CONFIG_PRELOAD=y
33CONFIG_LAUNCHER_CORE=y 66CONFIG_LAUNCHER_CORE=y
34CONFIG_QWS=y 67# CONFIG_SYMLINKER is not set
35 68
36# 69#
37# 70#
38# 71#
39 72
40# 73#
@@ -53,100 +86,99 @@ CONFIG_HOMEAPPLET=y
53# CONFIG_ROTATEAPPLET is not set 86# CONFIG_ROTATEAPPLET is not set
54# CONFIG_SCREENSHOTAPPLET is not set 87# CONFIG_SCREENSHOTAPPLET is not set
55# CONFIG_SUSPENDAPPLET is not set 88# CONFIG_SUSPENDAPPLET is not set
56# CONFIG_VMEMO is not set 89# CONFIG_VMEMO is not set
57# CONFIG_VOLUMEAPPLET is not set 90# CONFIG_VOLUMEAPPLET is not set
58# CONFIG_VTAPPLET is not set 91# CONFIG_VTAPPLET is not set
92# CONFIG_MEMORYAPPLET is not set
59 93
60# 94#
61# Network applet needs a libqpe and libopie2 (core, ui, net) 95# Network applet needs a libqpe and libopie2 (core, ui, net)
62# 96#
63CONFIG_NOTESAPPLET=y 97CONFIG_NOTESAPPLET=y
64# CONFIG_WIRELESSAPPLET is not set
65 98
66# 99#
67# Apps 100# Apps
68# 101#
69# CONFIG_CALIBRATE is not set 102# CONFIG_CALIBRATE is not set
70# CONFIG_EMBEDDEDKONSOLE is not set 103# CONFIG_EMBEDDEDKONSOLE is not set
71CONFIG_FILEBROWSER=y
72CONFIG_HELPBROWSER=y 104CONFIG_HELPBROWSER=y
73# CONFIG_OAPP is not set 105# CONFIG_OAPP is not set
74CONFIG_OIPKG=y
75CONFIG_QCOP=y 106CONFIG_QCOP=y
76CONFIG_TEXTEDIT=y 107CONFIG_TEXTEDIT=y
77# CONFIG_ADVANCEDFM is not set 108# CONFIG_ADVANCEDFM is not set
78# CONFIG_AQPKG is not set
79CONFIG_CHECKBOOK=y 109CONFIG_CHECKBOOK=y
110CONFIG_CONFEDIT=y
80# CONFIG_ODICT is not set 111# CONFIG_ODICT is not set
81# CONFIG_BARTENDER is not set 112# CONFIG_BARTENDER is not set
82# CONFIG_OPIE-CONSOLE is not set 113# CONFIG_OPIE-CONSOLE is not set
83# CONFIG_OPIE-READER is not set 114# CONFIG_OPIE-READER is not set
84CONFIG_OPIE-SHEET=y 115CONFIG_OPIE-SHEET=y
85CONFIG_OPIE-WRITE=y 116CONFIG_OPIE-WRITE=y
86CONFIG_OXYGEN=y 117CONFIG_OXYGEN=y
87CONFIG_SYSINFO=y 118# CONFIG_QASHMONEY is not set
88CONFIG_TABLEVIEWER=y 119CONFIG_TABLEVIEWER=y
89CONFIG_TINYKATE=y 120# CONFIG_LIBKATE is not set
90CONFIG_LIBKATE=y
91# CONFIG_ZSAFE is not set 121# CONFIG_ZSAFE is not set
92 122
93# 123#
94# Communications and Networking 124# Communications and Networking
95# 125#
96# CONFIG_GSMTOOL is not set 126# CONFIG_GSMTOOL is not set
97# CONFIG_KEYPEBBLE is not set 127# CONFIG_KEYPEBBLE is not set
98# CONFIG_MOBILEMSG is not set 128# CONFIG_MOBILEMSG is not set
99# CONFIG_MAIL is not set 129
130#
131# Net
132#
100# CONFIG_FTPLIB is not set 133# CONFIG_FTPLIB is not set
101# CONFIG_MAILIT is not set 134# CONFIG_LIBMAILWRAPPER is not set
102# CONFIG_OPIEIRC is not set 135# CONFIG_OPIEIRC is not set
103# CONFIG_OPIE-RDESKTOP is not set 136# CONFIG_OPIE-RDESKTOP is not set
137# CONFIG_OPIETOOTH is not set
104# CONFIG_UBROWSER is not set 138# CONFIG_UBROWSER is not set
105 139
106# 140#
107# wellenreiter needs libqpe, libopie1 and libopie2 (core+net+ui) 141# wellenreiter needs a libqpe and libopie2 (core+net+ui)
108# 142#
109 143
110# 144#
111# Games 145# Games
112# 146#
113CONFIG_BACKGAMMON=y 147# CONFIG_BACKGAMMON is not set
114CONFIG_BOUNCE=y 148# CONFIG_BOUNCE is not set
115CONFIG_BUZZWORD=y 149# CONFIG_BUZZWORD is not set
116CONFIG_FIFTEEN=y 150# CONFIG_FIFTEEN is not set
117CONFIG_GO=y 151# CONFIG_GO is not set
118CONFIG_KBILL=y 152# CONFIG_KBILL is not set
119CONFIG_KCHECKERS=y 153# CONFIG_KCHECKERS is not set
120CONFIG_KPACMAN=y 154# CONFIG_KPACMAN is not set
121CONFIG_MINDBREAKER=y 155# CONFIG_MINDBREAKER is not set
122CONFIG_MINESWEEP=y 156# CONFIG_MINESWEEP is not set
123# CONFIG_WORDGAME is not set 157# CONFIG_YATZEE is not set
124CONFIG_PARASHOOT=y 158# CONFIG_PARASHOOT is not set
125CONFIG_QASTEROIDS=y 159# CONFIG_QASTEROIDS is not set
126# CONFIG_SFCAVE is not set 160# CONFIG_SFCAVE is not set
127# CONFIG_SFCAVE-SDL is not set 161# CONFIG_SFCAVE-SDL is not set
128# CONFIG_SNAKE is not set 162# CONFIG_SNAKE is not set
129CONFIG_SOLITAIRE=y 163# CONFIG_SOLITAIRE is not set
130# CONFIG_TETRIX is not set 164# CONFIG_TETRIX is not set
131# CONFIG_TICTAC is not set 165# CONFIG_TICTAC is not set
166# CONFIG_WORDGAME is not set
132 167
133# 168#
134# Graphics and Multimedia 169# Graphics and Multimedia
135# 170#
136# CONFIG_FREETYPE is not set 171# CONFIG_FREETYPE is not set
137CONFIG_DRAWPAD=y 172CONFIG_DRAWPAD=y
138# CONFIG_QPDF is not set
139# CONFIG_OPIEPLAYER is not set 173# CONFIG_OPIEPLAYER is not set
140 174# CONFIG_CAMERA is not set
141#
142# opie-camera needs a libqpe, libopie and libopie2core
143#
144# CONFIG_OPIEPLAYER2 is not set 175# CONFIG_OPIEPLAYER2 is not set
145# CONFIG_OPIEREC is not set 176# CONFIG_OPIEREC is not set
146CONFIG_SHOWIMG=y 177# CONFIG_SHOWIMG is not set
178# CONFIG_TONLEITER is not set
147 179
148# 180#
149# Input methods 181# Input methods
150# 182#
151# CONFIG_DASHER is not set 183# CONFIG_DASHER is not set
152# CONFIG_DVORAK is not set 184# CONFIG_DVORAK is not set
@@ -168,43 +200,49 @@ CONFIG_UNIKEYBOARD=y
168 200
169# 201#
170# Pim 202# Pim
171# 203#
172CONFIG_ADDRESSBOOK=y 204CONFIG_ADDRESSBOOK=y
173CONFIG_DATEBOOK=y 205CONFIG_DATEBOOK=y
206CONFIG_DATEBOOK2=y
174CONFIG_OSEARCH=y 207CONFIG_OSEARCH=y
175CONFIG_TODAY=y 208CONFIG_TODAY=y
176CONFIG_TODO=y 209CONFIG_TODO=y
177 210
178# 211#
179# Today Plugins 212# Today Plugins
180# 213#
181# CONFIG_TODAY_FORTUNE is not set 214# CONFIG_TODAY_FORTUNE is not set
182# CONFIG_TODAY_STOCKTICKER is not set 215# CONFIG_TODAY_STOCKTICKER is not set
183# CONFIG_TODAY_WEATHER is not set 216# CONFIG_TODAY_WEATHER is not set
184CONFIG_TODAY_ADDRESSBOOK=y 217CONFIG_TODAY_ADDRESSBOOK=y
185CONFIG_TODAY_DATEBOOK=y 218CONFIG_TODAY_DATEBOOK=y
186CONFIG_TODAY_MAIL=y 219
220#
221# opie-today-mailplugin requires libopie2core, libopie2pim, and libmailwrapper
222#
187CONFIG_TODAY_TODOLIST=y 223CONFIG_TODAY_TODOLIST=y
188 224
189# 225#
190# Settings 226# Settings
191# 227#
192CONFIG_BUTTON-SETTINGS=y 228CONFIG_BUTTON-SETTINGS=y
193CONFIG_CITYTIME=y 229CONFIG_CITYTIME=y
194CONFIG_LAUNCHER-SETTINGS=y 230CONFIG_LAUNCHER-SETTINGS=y
195CONFIG_LIGHT-AND-POWER=y 231# CONFIG_LIGHT-AND-POWER is not set
196CONFIG_SECURITY=y 232CONFIG_SECURITY=y
197CONFIG_APPEARANCE2=y 233CONFIG_APPEARANCE2=y
234# CONFIG_AQPKG is not set
198CONFIG_BACKUP=y 235CONFIG_BACKUP=y
236CONFIG_DOCTAB=y
199CONFIG_LANGUAGE=y 237CONFIG_LANGUAGE=y
200CONFIG_MEDIUMMOUNT=y 238# CONFIG_MEDIUMMOUNT is not set
201CONFIG_NETSYSTEMTIME=y 239# CONFIG_NETSYSTEMTIME is not set
202# CONFIG_NETWORKSETUP is not set
203# CONFIG_SOUND is not set 240# CONFIG_SOUND is not set
204# CONFIG_SSHKEYS is not set 241# CONFIG_SSHKEYS is not set
242CONFIG_SYSINFO=y
205CONFIG_TABMANAGER=y 243CONFIG_TABMANAGER=y
206# CONFIG_USERMANAGER is not set 244# CONFIG_USERMANAGER is not set
207 245
208# 246#
209# Theming 247# Theming
210# 248#
@@ -247,45 +285,22 @@ CONFIG_OPIE-SH=y
247 285
248# 286#
249# 287#
250# 288#
251 289
252# 290#
253# Experimental 291# Unsupported / Unmaintained
254#
255
256#
257# libopie2
258#
259# CONFIG_LIBOPIE2CORE is not set
260
261#
262# libopie2db needs a libqpe and libopie2core
263#
264
265#
266# libopie2net needs a libqpe and libopie2core
267#
268
269#
270# libopie2pim needs a libqpe and libopie2core
271#
272
273#
274# libopie2ui needs a libqpe and libopie2core
275#
276
277#
278# libopie2mm needs a libqpe and libopie2core
279# 292#
293# CONFIG_FILEBROWSER is not set
294# CONFIG_MAILIT is not set
295# CONFIG_OIPKG is not set
296# CONFIG_QPDF is not set
280 297
281# 298#
282# 299#
283# 300#
284 301
285# 302#
286# the examples need a libqpe, libopie2core, libopie2db, libopie2net, libopie2pim, libopie2ui and libopie2mm 303# Experimental
287#
288
289#
290# SQL-Support needs libopie2db!
291# 304#
305# CONFIG_LIBSLCOMPAT is not set
306# CONFIG_QWS is not set
diff --git a/include.pro b/include.pro
index ced5c9f..56f588e 100644
--- a/include.pro
+++ b/include.pro
@@ -94,12 +94,13 @@ messages.target = messages
94messages.commands = xgettext -C -n -ktr -kQT_TRANSLATE_NOOP $$HEADERS $$SOURCES -o '$(OPIEDIR)/messages-$(QMAKE_TARGET)-tr.po' && xgettext -C -n -a $$HEADERS $$SOURCES -o '$(OPIEDIR)/messages-$(QMAKE_TARGET)-allstrings.po' 94messages.commands = xgettext -C -n -ktr -kQT_TRANSLATE_NOOP $$HEADERS $$SOURCES -o '$(OPIEDIR)/messages-$(QMAKE_TARGET)-tr.po' && xgettext -C -n -a $$HEADERS $$SOURCES -o '$(OPIEDIR)/messages-$(QMAKE_TARGET)-allstrings.po'
95 95
96ipk.target = ipk 96ipk.target = ipk
97ipk.commands = tmp=`mktemp -d /tmp/ipkg-opie.XXXXXXXXXX` && ( $(MAKE) INSTALL_ROOT="$$$$tmp" install && ipkg-build $$$$tmp; rm -rf $$$$tmp; ) 97ipk.commands = tmp=`mktemp -d /tmp/ipkg-opie.XXXXXXXXXX` && ( $(MAKE) INSTALL_ROOT="$$$$tmp" install && ipkg-build $$$$tmp; rm -rf $$$$tmp; )
98 98
99QMAKE_EXTRA_UNIX_TARGETS += lupdate lrelease ipk opie-lupdate opie-lrelease messages 99QMAKE_EXTRA_UNIX_TARGETS += lupdate lrelease ipk opie-lupdate opie-lrelease messages
100
100CONFTEST = $$system( echo $CONFIG_TARGET_MACOSX ) 101CONFTEST = $$system( echo $CONFIG_TARGET_MACOSX )
101contains( CONFTEST, y ){ 102contains( CONFTEST, y ){
102 QMAKE_LFLAGS += -Wl 103 QMAKE_LFLAGS += -Wl
103 LIBS -= -ldl 104 LIBS -= -ldl
104 LIBS -= -lcrypt 105 LIBS -= -lcrypt
105 LIBS -= -lm 106 LIBS -= -lm