summaryrefslogtreecommitdiff
authoreilers <eilers>2004-04-01 12:06:55 (UTC)
committer eilers <eilers>2004-04-01 12:06:55 (UTC)
commit4a8682d099023312464480ec4c21c531b81b801d (patch) (unidiff)
treeda0e870a87c9478afebad7ad43c24fde65a41e8b
parent833413cc389e7ddc929c081e29279a6556733407 (diff)
downloadopie-4a8682d099023312464480ec4c21c531b81b801d.zip
opie-4a8682d099023312464480ec4c21c531b81b801d.tar.gz
opie-4a8682d099023312464480ec4c21c531b81b801d.tar.bz2
Some mac specific fixes..
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
@@ -1,52 +1,51 @@
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..
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
35libopie/pim/otimezone.cpp: 34libopie/pim/otimezone.cpp:
36Accessing of "setenv(...)" on Mac caused bus-errors. 35Accessing of "setenv(...)" on Mac caused bus-errors.
37Workaround/Fix: Unknown 36Workaround/Fix: Unknown
38Current-State: setenv() was just commented out. Thus the related functions may behave wrong! 37Current-State: setenv() was just commented out. Thus the related functions may behave wrong!
39 38
40library/filemanager.cpp: 39library/filemanager.cpp:
41The sendfile() function is not available in MacOSX. Therefore a workaround must be implemented. 40The sendfile() function is not available in MacOSX. Therefore a workaround must be implemented.
42Workaround/Fix: Unknown. The function is available in the header files, but disabled by a 41Workaround/Fix: Unknown. The function is available in the header files, but disabled by a
43"#ifdef SENDFILE" .. and not implemented int the c-library. 42"#ifdef SENDFILE" .. and not implemented int the c-library.
44If it will be supported, it should activate itself automatically by the "#ifdef".. 43If it will be supported, it should activate itself automatically by the "#ifdef"..
45 44
46 45
47How to compile Opie for MacOS-X: 46How to compile Opie for MacOS-X:
48------------------------------- 47-------------------------------
49 48
50Before compiling for MacOS-X, you need the following: 49Before compiling for MacOS-X, you need the following:
51 50
52 1. X11-Server+X11SDK (Provided by Apple) 51 1. X11-Server+X11SDK (Provided by Apple)
@@ -75,61 +74,80 @@ make
75After compiling successful (I hope) you need qvfb: 74After compiling successful (I hope) you need qvfb:
76cd tools/qvfb 75cd tools/qvfb
77make 76make
78 77
79Compile QT/E-2.3.7: 78Compile QT/E-2.3.7:
80 79
81Got to into the basic directory of qt-2.3.2 and enter 80Got to into the basic directory of qt-2.3.2 and enter
82export QTDIR=`pwd` 81export QTDIR=`pwd`
83export QPEDIR=$QTDIR 82export QPEDIR=$QTDIR
84export DYLD_LIBRARY_PATH=$QTDIR/lib 83export DYLD_LIBRARY_PATH=$QTDIR/lib
85./configure -platform darwin-generic-g++ -qconfig qpe -qvfb -depths 4,8,16,32 84./configure -platform darwin-generic-g++ -qconfig qpe -qvfb -depths 4,8,16,32
86make 85make
87 86
88Now create a link for the uic of qt-2.3.2 into the bin-directory of qt/e 2.3.7 ! 87Now create a link for the uic of qt-2.3.2 into the bin-directory of qt/e 2.3.7 !
89Otherwise OPIE will fail to compile ! 88Otherwise OPIE will fail to compile !
90 89
91Compile OPIE: 90Compile OPIE:
92Set your environment 91Set 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
118To compile QT-2.3.2 successfully, you have to disable support of freetype fonts and you have 136To compile QT-2.3.2 successfully, you have to disable support of freetype fonts and you have
119to use the patch in this directory, otherwise your wont't be able to compile ! 137to use the patch in this directory, otherwise your wont't be able to compile !
120Use the param "-no-xft" for the configure script to disable this function ! 138Use the param "-no-xft" for the configure script to disable this function !
121 139
122Information for Developers: 140Information for Developers:
123--------------------------- 141---------------------------
124 142
1251. Platform specific code should be surrounded by 1431. Platform specific code should be surrounded by
126#ifdef Q_OS_MACX 144#ifdef Q_OS_MACX
127MACOS-X CODE 145MACOS-X CODE
128#else 146#else
129OTHER-CODE 147OTHER-CODE
130#endif 148#endif
131 149
1322. The Plugin-Handling by MacOS-X is different than it is by Linux. 1502. The Plugin-Handling by MacOS-X is different than it is by Linux.
133On linux-systems, shared libraries are not different to dynamic loaded libraries 151On linux-systems, shared libraries are not different to dynamic loaded libraries
134(aka plugins). They just are different whether they are loaded automatically 152(aka plugins). They just are different whether they are loaded automatically
135at startup or manually by any application. 153at startup or manually by any application.
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
@@ -1,291 +1,306 @@
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 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#
41# Applets 74# Applets
42# 75#
43CONFIG_BATTERYAPPLET=y 76CONFIG_BATTERYAPPLET=y
44# CONFIG_CARDMON is not set 77# CONFIG_CARDMON is not set
45CONFIG_CLIPBOARDAPPLET=y 78CONFIG_CLIPBOARDAPPLET=y
46CONFIG_CLOCKAPPLET=y 79CONFIG_CLOCKAPPLET=y
47CONFIG_HOMEAPPLET=y 80CONFIG_HOMEAPPLET=y
48# CONFIG_IRDAAPPLET is not set 81# CONFIG_IRDAAPPLET is not set
49# CONFIG_LOGOUTAPPLET is not set 82# CONFIG_LOGOUTAPPLET is not set
50# CONFIG_OBEXAPPLET is not set 83# CONFIG_OBEXAPPLET is not set
51# CONFIG_OBEX is not set 84# CONFIG_OBEX is not set
52# CONFIG_RESTARTAPPLET is not set 85# CONFIG_RESTARTAPPLET is not set
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
153CONFIG_HANDWRITING=y 185CONFIG_HANDWRITING=y
154 186
155# 187#
156# opie-handwriting-classicset automatically selected 188# opie-handwriting-classicset automatically selected
157# 189#
158 190
159# 191#
160# opie-handwriting-graffitiset automatically selected 192# opie-handwriting-graffitiset automatically selected
161# 193#
162CONFIG_JUMPX=y 194CONFIG_JUMPX=y
163# CONFIG_KEYBOARD is not set 195# CONFIG_KEYBOARD is not set
164CONFIG_KJUMPX=y 196CONFIG_KJUMPX=y
165# CONFIG_MULTIKEY is not set 197# CONFIG_MULTIKEY is not set
166CONFIG_PICKBOARD=y 198CONFIG_PICKBOARD=y
167CONFIG_UNIKEYBOARD=y 199CONFIG_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#
211 249
212# 250#
213# Decorations 251# Decorations
214# 252#
215CONFIG_DECO_FLAT=y 253CONFIG_DECO_FLAT=y
216CONFIG_DECO_LIQUID=y 254CONFIG_DECO_LIQUID=y
217CONFIG_DECO_POLISHED=y 255CONFIG_DECO_POLISHED=y
218 256
219# 257#
220# Styles 258# Styles
221# 259#
222CONFIG_FLAT=y 260CONFIG_FLAT=y
223CONFIG_FRESH=y 261CONFIG_FRESH=y
224CONFIG_LIQUID=y 262CONFIG_LIQUID=y
225CONFIG_METAL=y 263CONFIG_METAL=y
226CONFIG_THEME=y 264CONFIG_THEME=y
227 265
228# 266#
229# Tools 267# Tools
230# 268#
231CONFIG_CALCULATOR=y 269CONFIG_CALCULATOR=y
232CONFIG_CLOCK=y 270CONFIG_CLOCK=y
233CONFIG_EUROCONV=y 271CONFIG_EUROCONV=y
234# CONFIG_FORMATTER is not set 272# CONFIG_FORMATTER is not set
235CONFIG_OPIE-SH=y 273CONFIG_OPIE-SH=y
236# CONFIG_REMOTE is not set 274# CONFIG_REMOTE is not set
237 275
238# 276#
239# Development 277# Development
240# 278#
241# CONFIG_KEYVIEW is not set 279# CONFIG_KEYVIEW is not set
242 280
243# 281#
244# Examples 282# Examples
245# 283#
246# CONFIG_EXAMPLES is not set 284# CONFIG_EXAMPLES is not set
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
@@ -76,48 +76,49 @@ root.path = /
76root.files = root/* 76root.files = root/*
77INSTALLS += root 77INSTALLS += root
78 78
79# new targets 79# new targets
80opie-lupdate.target = opie-lupdate 80opie-lupdate.target = opie-lupdate
81opie-lupdate.commands = opie-lupdate $(PRO) 81opie-lupdate.commands = opie-lupdate $(PRO)
82 82
83opie-lrelease.target = opie-lrelease 83opie-lrelease.target = opie-lrelease
84opie-lrelease.commands = opie-lrelease $(PRO) 84opie-lrelease.commands = opie-lrelease $(PRO)
85 85
86lupdate.target = lupdate 86lupdate.target = lupdate
87lupdate.commands = lupdate -noobsolete $(PRO) 87lupdate.commands = lupdate -noobsolete $(PRO)
88 88
89lrelease.target = lrelease 89lrelease.target = lrelease
90lrelease.commands = lrelease $(PRO) 90lrelease.commands = lrelease $(PRO)
91 91
92# new message target to get all strings from the apps with and without tr 92# new message target to get all strings from the apps with and without tr
93messages.target = messages 93messages.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
106 107
107 # Manual including indirect referenced libraries which are not loaded 108 # Manual including indirect referenced libraries which are not loaded
108 # by the mac-linker automatically 109 # by the mac-linker automatically
109 CONFTEST = $$system( echo $CONFIG_SQL_PIM_BACKEND ) 110 CONFTEST = $$system( echo $CONFIG_SQL_PIM_BACKEND )
110 contains( CONFTEST, y ){ 111 contains( CONFTEST, y ){
111 LIBS += -lopiedb2 -lqpe 112 LIBS += -lopiedb2 -lqpe
112 } else { 113 } else {
113 LIBS += -lqpe 114 LIBS += -lqpe
114 } 115 }
115} 116}
116else { 117else {
117QMAKE_LFLAGS += -Wl,-rpath=$$prefix/lib 118QMAKE_LFLAGS += -Wl,-rpath=$$prefix/lib
118# I am not sure whether it is a good idea to change the way plugins is build 119# I am not sure whether it is a good idea to change the way plugins is build
119# on linux. Therefore I remove the "plugin" term, which is needed by MacOS-X 120# on linux. Therefore I remove the "plugin" term, which is needed by MacOS-X
120CONFIG -= plugin 121CONFIG -= plugin
121} 122}
122LIBS += -L$(OPIEDIR)/lib 123LIBS += -L$(OPIEDIR)/lib
123 124