author | eilers <eilers> | 2004-04-01 12:06:55 (UTC) |
---|---|---|
committer | eilers <eilers> | 2004-04-01 12:06:55 (UTC) |
commit | 4a8682d099023312464480ec4c21c531b81b801d (patch) (unidiff) | |
tree | da0e870a87c9478afebad7ad43c24fde65a41e8b | |
parent | 833413cc389e7ddc929c081e29279a6556733407 (diff) | |
download | opie-4a8682d099023312464480ec4c21c531b81b801d.zip opie-4a8682d099023312464480ec4c21c531b81b801d.tar.gz opie-4a8682d099023312464480ec4c21c531b81b801d.tar.bz2 |
Some mac specific fixes..
-rw-r--r-- | development/macosx/README_MACOSX | 30 | ||||
-rw-r--r-- | development/macosx/config_macosx | 151 | ||||
-rw-r--r-- | include.pro | 1 |
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,150 +1,168 @@ | |||
1 | Information about porting Opie to MacOS-X (eilers) | 1 | Information about porting Opie to MacOS-X (eilers) |
2 | ================================================== | 2 | ================================================== |
3 | 3 | ||
4 | Credits: | 4 | Credits: |
5 | -------- | 5 | -------- |
6 | 6 | ||
7 | Special thanks to Andreas Junghans (webmaster@lucid-cake.net) for its patches for qt-X11 (2.3.2), | 7 | Special thanks to Andreas Junghans (webmaster@lucid-cake.net) for its patches for qt-X11 (2.3.2), |
8 | QT/E (2.3.5) and qtopia (1.6.1). | 8 | QT/E (2.3.5) and qtopia (1.6.1). |
9 | Without them, I wouldn't be able to provide the port for OPIE to MacOS-X that fast.. | 9 | Without them, I wouldn't be able to provide the port for OPIE to MacOS-X that fast.. |
10 | Thanks to Juergen Graf to debug this very generic README ! | 10 | Thanks to Juergen Graf to debug this very generic README ! |
11 | 11 | ||
12 | Status: | 12 | Status: |
13 | ------- | 13 | ------- |
14 | This work is done, do provide a development platform for Apple-Users! Please do not expect that you | ||
15 | could create a productive Opie system for the Mac with it !! | ||
16 | |||
14 | The basic system works quite well. But a lot of applications and plugins, | 17 | The basic system works quite well. But a lot of applications and plugins, |
15 | which are platform specific, need some work to be compileable. | 18 | which are platform specific, need some work to be compileable. |
16 | 19 | ||
17 | What is ready: | 20 | What is ready: |
18 | 21 | ||
19 | libqpe | 22 | libqpe |
20 | libopie1 | 23 | libopie1 |
21 | libopie2/opiedb | 24 | libopie2 |
22 | pim-applications (addressbook, todolist, datebook, today) | 25 | pim-applications (addressbook, todolist, datebook, today) |
23 | A lot of applications and plugins which are not platform specific. | 26 | A lot of applications and plugins which are not platform specific. |
24 | 27 | ||
25 | What will follow soon: | ||
26 | |||
27 | libopie2 (libopiecore and libopiedb works already !) | ||
28 | |||
29 | ToDO: | 28 | ToDO: |
30 | ----- | 29 | ----- |
31 | There are some functions in the sourcecode which are not yet ported to Mac. If the | 30 | There are some functions in the sourcecode which are not yet ported to Mac. If the |
32 | MacOS environment should be used for real productive work, the following functions | 31 | MacOS environment should be used for real productive work, the following functions |
33 | must be implemented correctly: | 32 | must be implemented correctly: |
34 | 33 | ||
35 | libopie/pim/otimezone.cpp: | 34 | libopie/pim/otimezone.cpp: |
36 | Accessing of "setenv(...)" on Mac caused bus-errors. | 35 | Accessing of "setenv(...)" on Mac caused bus-errors. |
37 | Workaround/Fix: Unknown | 36 | Workaround/Fix: Unknown |
38 | Current-State: setenv() was just commented out. Thus the related functions may behave wrong! | 37 | Current-State: setenv() was just commented out. Thus the related functions may behave wrong! |
39 | 38 | ||
40 | library/filemanager.cpp: | 39 | library/filemanager.cpp: |
41 | The sendfile() function is not available in MacOSX. Therefore a workaround must be implemented. | 40 | The sendfile() function is not available in MacOSX. Therefore a workaround must be implemented. |
42 | Workaround/Fix: Unknown. The function is available in the header files, but disabled by a | 41 | Workaround/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. |
44 | If it will be supported, it should activate itself automatically by the "#ifdef".. | 43 | If it will be supported, it should activate itself automatically by the "#ifdef".. |
45 | 44 | ||
46 | 45 | ||
47 | How to compile Opie for MacOS-X: | 46 | How to compile Opie for MacOS-X: |
48 | ------------------------------- | 47 | ------------------------------- |
49 | 48 | ||
50 | Before compiling for MacOS-X, you need the following: | 49 | Before 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) |
53 | 2. QT-2.3.2 for X11 (Provided by Trolltech) | 52 | 2. QT-2.3.2 for X11 (Provided by Trolltech) |
54 | 3. QT/E-2.3.7 (Provided by Trolltech) | 53 | 3. QT/E-2.3.7 (Provided by Trolltech) |
55 | 4. Patches for QT-2.3.2 for MacOSX (take the one in this directory !) | 54 | 4. Patches for QT-2.3.2 for MacOSX (take the one in this directory !) |
56 | 5. Patches for QT/E-2.3.7 for MacOSX (take the one, provided in $OPIEDIR/qt) | 55 | 5. Patches for QT/E-2.3.7 for MacOSX (take the one, provided in $OPIEDIR/qt) |
57 | 56 | ||
58 | The Patch for QT-2.3.2 is provided in this directory and is called "qt232-X11.patch". | 57 | The Patch for QT-2.3.2 is provided in this directory and is called "qt232-X11.patch". |
59 | 58 | ||
60 | The Patch for QT/E for Opie, including all other opie-patches is available in the | 59 | The Patch for QT/E for Opie, including all other opie-patches is available in the |
61 | qt-directory ($OPIEDIR/qt) and is called "qte237-all-macosx.patch". | 60 | qt-directory ($OPIEDIR/qt) and is called "qte237-all-macosx.patch". |
62 | 61 | ||
63 | Please read further, how to compile the stuff. | 62 | Please read further, how to compile the stuff. |
64 | 63 | ||
65 | HOWTO COMPILE: | 64 | HOWTO COMPILE: |
66 | ------------- | 65 | ------------- |
67 | 66 | ||
68 | Compile QT-2.3.2: | 67 | Compile QT-2.3.2: |
69 | 68 | ||
70 | Go to into the basic directory of qt-2.3.2 and enter | 69 | Go to into the basic directory of qt-2.3.2 and enter |
71 | export QTDIR=`pwd` | 70 | export QTDIR=`pwd` |
72 | export DYLD_LIBRARY_PATH=$QTDIR/lib | 71 | export DYLD_LIBRARY_PATH=$QTDIR/lib |
73 | ./configure -no-xft -platform darwin-g++ | 72 | ./configure -no-xft -platform darwin-g++ |
74 | make | 73 | make |
75 | After compiling successful (I hope) you need qvfb: | 74 | After compiling successful (I hope) you need qvfb: |
76 | cd tools/qvfb | 75 | cd tools/qvfb |
77 | make | 76 | make |
78 | 77 | ||
79 | Compile QT/E-2.3.7: | 78 | Compile QT/E-2.3.7: |
80 | 79 | ||
81 | Got to into the basic directory of qt-2.3.2 and enter | 80 | Got to into the basic directory of qt-2.3.2 and enter |
82 | export QTDIR=`pwd` | 81 | export QTDIR=`pwd` |
83 | export QPEDIR=$QTDIR | 82 | export QPEDIR=$QTDIR |
84 | export DYLD_LIBRARY_PATH=$QTDIR/lib | 83 | export 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 |
86 | make | 85 | make |
87 | 86 | ||
88 | Now create a link for the uic of qt-2.3.2 into the bin-directory of qt/e 2.3.7 ! | 87 | Now create a link for the uic of qt-2.3.2 into the bin-directory of qt/e 2.3.7 ! |
89 | Otherwise OPIE will fail to compile ! | 88 | Otherwise OPIE will fail to compile ! |
90 | 89 | ||
91 | Compile OPIE: | 90 | Compile OPIE: |
92 | Set your environment | 91 | 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 ! |
94 | BUT: You have to customize this script for YOUR needs !!) | 93 | BUT: You have to customize this script for YOUR needs !!) |
95 | Go into the basic directory of Opie | 94 | Go into the basic directory of Opie |
96 | make menuconfig" | 95 | make menuconfig" |
97 | set "Build Parameters"->"Target Machine"->"Mac OS X (DARWIN)" to activate the platform specific changes. | 96 | set "Build Parameters"->"Target Machine"->"Mac OS X (DARWIN)" to activate the platform specific changes. |
98 | save and exit the menuconfig app | 97 | save and exit the menuconfig app |
99 | make | 98 | make (ATTENTION: See Known Bugs below!!) |
100 | 99 | ||
101 | You will see that a lot of applications and plugins/applets will not compile | 100 | You will see that a lot of applications and plugins/applets will not compile |
102 | successfully, due to the fact that they are not ported to this platform. | 101 | successfully, due to the fact that they are not ported to this platform. |
103 | You may disable them to be able to compile the rest. | 102 | You may disable them to be able to compile the rest. |
104 | 103 | ||
105 | Remember: A lot of configuration-settings are not tested and might fail to compile. | 104 | Remember: A lot of configuration-settings are not tested and might fail to compile. |
106 | If you want to avoid misconfigurations, you may want to start with | 105 | If you want to avoid misconfigurations, you may want to start with |
107 | the config-file in this directory. Just copy "config_macosx" to $OPIEDIR/.config | 106 | the config-file in this directory. Just copy "config_macosx" to $OPIEDIR/.config |
108 | to get a working configuration to start with. | 107 | to 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 | ||
111 | Known Bugs (compilation problems): | ||
112 | ----------- | ||
113 | The Apple-Linker does not load indirect linked libraries automatically ( if somebody | ||
114 | has a solution here, please inform me !!), therefore I had to add "-lopiedb2" and "-lqpe" | ||
115 | for applications/libraries who used libraries which are linked against them. | ||
116 | A goot solution would be to add it in the project files of these application, but this would | ||
117 | influence the linux-platform as well... :( | ||
118 | As a first (but stupid) solution, I added this linker parameter to the global "include.pro" | ||
119 | which adds them for everything.. Yes, also for libqpe etc.. | ||
120 | Therefore this project will not compile out of the box. You have to compile in a two-pass way: | ||
121 | |||
122 | Pass 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) | ||
125 | Pass 2: Remove the comment from Pass1 and do a "make". The rest should compile now successfully. | ||
126 | |||
127 | |||
128 | I know, this is a silly solution ! But I don't have anything better without influence the Linux build | ||
129 | process too much .. I would be happy, if somebody could help me here ! | ||
112 | 130 | ||
113 | SPECIAL INFORMATION FOR USERS OF PANTHER | 131 | SPECIAL INFORMATION FOR USERS OF PANTHER |
114 | ---------------------------------------- | 132 | ---------------------------------------- |
115 | I had a lot of problems compiling qt-2.3.2 and QT/E-2.3.7 on Panther. The | 133 | I had a lot of problems compiling qt-2.3.2 and QT/E-2.3.7 on Panther. The |
116 | new release of the X-Server causes a lot of trouble.. | 134 | new release of the X-Server causes a lot of trouble.. |
117 | 135 | ||
118 | To compile QT-2.3.2 successfully, you have to disable support of freetype fonts and you have | 136 | To compile QT-2.3.2 successfully, you have to disable support of freetype fonts and you have |
119 | to use the patch in this directory, otherwise your wont't be able to compile ! | 137 | to use the patch in this directory, otherwise your wont't be able to compile ! |
120 | Use the param "-no-xft" for the configure script to disable this function ! | 138 | Use the param "-no-xft" for the configure script to disable this function ! |
121 | 139 | ||
122 | Information for Developers: | 140 | Information for Developers: |
123 | --------------------------- | 141 | --------------------------- |
124 | 142 | ||
125 | 1. Platform specific code should be surrounded by | 143 | 1. Platform specific code should be surrounded by |
126 | #ifdef Q_OS_MACX | 144 | #ifdef Q_OS_MACX |
127 | MACOS-X CODE | 145 | MACOS-X CODE |
128 | #else | 146 | #else |
129 | OTHER-CODE | 147 | OTHER-CODE |
130 | #endif | 148 | #endif |
131 | 149 | ||
132 | 2. The Plugin-Handling by MacOS-X is different than it is by Linux. | 150 | 2. The Plugin-Handling by MacOS-X is different than it is by Linux. |
133 | On linux-systems, shared libraries are not different to dynamic loaded libraries | 151 | On 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 |
135 | at startup or manually by any application. | 153 | at startup or manually by any application. |
136 | On MacOS-X, the plugins are loaded by a special mechanism and must be in a special | 154 | On MacOS-X, the plugins are loaded by a special mechanism and must be in a special |
137 | binary format. Therefore you have to add the term "plugin" to the CONFIG-clause, as | 155 | binary format. Therefore you have to add the term "plugin" to the CONFIG-clause, as |
138 | for instance: | 156 | for instance: |
139 | 157 | ||
140 | TEMPLATE=lib | 158 | TEMPLATE=lib |
141 | CONFIG += qt plugin release | 159 | CONFIG += qt plugin release |
142 | 160 | ||
143 | If you don't add "plugin" you will get a shared library which is not loadable | 161 | If you don't add "plugin" you will get a shared library which is not loadable |
144 | (Error-Code: NSObjectFileImageInappropriateFile (2))! | 162 | (Error-Code: NSObjectFileImageInappropriateFile (2))! |
145 | 163 | ||
146 | 164 | ||
147 | 165 | ||
148 | For problems, help and flames, feel free to contact me at | 166 | For problems, help and flames, feel free to contact me at |
149 | 167 | ||
150 | eilers.stefan@epost.de \ No newline at end of file | 168 | eilers.stefan@epost.de \ No newline at end of file |
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 |
9 | CONFIG_TARGET_MACOSX=y | 9 | CONFIG_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 |
16 | CONFIG_DEBUG=y | 16 | CONFIG_DEBUG=y |
17 | CONFIG_QUICK_LAUNCH=y | 17 | CONFIG_QUICK_LAUNCH=y |
18 | # CONFIG_OPIE_NO_OVERRIDE_QT is not set | 18 | CONFIG_QUICKLAUNCH_PATH="/Users/stefan/Developer/opie/bin/quicklauncher" |
19 | CONFIG_SPECFILE="qws/macx-generic-g++" | 19 | CONFIG_SPECFILE="qws/macx-generic-g++" |
20 | CONFIG_EXPERIMENTAL=y | 20 | CONFIG_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 | ||
28 | CONFIG_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 | ||
33 | CONFIG_OPIE_WE_VERSION="15" | ||
34 | |||
35 | # | ||
23 | # Base | 36 | # Base |
24 | # | 37 | # |
25 | CONFIG_LIBQPE=y | 38 | CONFIG_LIBQPE=y |
26 | # CONFIG_X11 is not set | 39 | # CONFIG_X11 is not set |
27 | CONFIG_LIBOPIE=y | 40 | CONFIG_LIBOPIE=y |
41 | |||
42 | # | ||
43 | # | ||
44 | # | ||
45 | CONFIG_LIBOPIE2CORE=y | ||
46 | CONFIG_LIBOPIE2DB=y | ||
47 | # CONFIG_LIBOPIE2NET is not set | ||
48 | CONFIG_LIBOPIE2PIM=y | ||
49 | CONFIG_SQL_PIM_BACKEND=y | ||
50 | CONFIG_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 | # | ||
60 | CONFIG_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 |
30 | CONFIG_QUICKLAUNCHER=y | 63 | CONFIG_QUICKLAUNCHER=y |
31 | CONFIG_LAUNCHER=y | 64 | CONFIG_LAUNCHER=y |
32 | CONFIG_PRELOAD=y | 65 | CONFIG_PRELOAD=y |
33 | CONFIG_LAUNCHER_CORE=y | 66 | CONFIG_LAUNCHER_CORE=y |
34 | CONFIG_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 | # |
43 | CONFIG_BATTERYAPPLET=y | 76 | CONFIG_BATTERYAPPLET=y |
44 | # CONFIG_CARDMON is not set | 77 | # CONFIG_CARDMON is not set |
45 | CONFIG_CLIPBOARDAPPLET=y | 78 | CONFIG_CLIPBOARDAPPLET=y |
46 | CONFIG_CLOCKAPPLET=y | 79 | CONFIG_CLOCKAPPLET=y |
47 | CONFIG_HOMEAPPLET=y | 80 | CONFIG_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 | # |
63 | CONFIG_NOTESAPPLET=y | 97 | CONFIG_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 |
71 | CONFIG_FILEBROWSER=y | ||
72 | CONFIG_HELPBROWSER=y | 104 | CONFIG_HELPBROWSER=y |
73 | # CONFIG_OAPP is not set | 105 | # CONFIG_OAPP is not set |
74 | CONFIG_OIPKG=y | ||
75 | CONFIG_QCOP=y | 106 | CONFIG_QCOP=y |
76 | CONFIG_TEXTEDIT=y | 107 | CONFIG_TEXTEDIT=y |
77 | # CONFIG_ADVANCEDFM is not set | 108 | # CONFIG_ADVANCEDFM is not set |
78 | # CONFIG_AQPKG is not set | ||
79 | CONFIG_CHECKBOOK=y | 109 | CONFIG_CHECKBOOK=y |
110 | CONFIG_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 |
84 | CONFIG_OPIE-SHEET=y | 115 | CONFIG_OPIE-SHEET=y |
85 | CONFIG_OPIE-WRITE=y | 116 | CONFIG_OPIE-WRITE=y |
86 | CONFIG_OXYGEN=y | 117 | CONFIG_OXYGEN=y |
87 | CONFIG_SYSINFO=y | 118 | # CONFIG_QASHMONEY is not set |
88 | CONFIG_TABLEVIEWER=y | 119 | CONFIG_TABLEVIEWER=y |
89 | CONFIG_TINYKATE=y | 120 | # CONFIG_LIBKATE is not set |
90 | CONFIG_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 | # |
113 | CONFIG_BACKGAMMON=y | 147 | # CONFIG_BACKGAMMON is not set |
114 | CONFIG_BOUNCE=y | 148 | # CONFIG_BOUNCE is not set |
115 | CONFIG_BUZZWORD=y | 149 | # CONFIG_BUZZWORD is not set |
116 | CONFIG_FIFTEEN=y | 150 | # CONFIG_FIFTEEN is not set |
117 | CONFIG_GO=y | 151 | # CONFIG_GO is not set |
118 | CONFIG_KBILL=y | 152 | # CONFIG_KBILL is not set |
119 | CONFIG_KCHECKERS=y | 153 | # CONFIG_KCHECKERS is not set |
120 | CONFIG_KPACMAN=y | 154 | # CONFIG_KPACMAN is not set |
121 | CONFIG_MINDBREAKER=y | 155 | # CONFIG_MINDBREAKER is not set |
122 | CONFIG_MINESWEEP=y | 156 | # CONFIG_MINESWEEP is not set |
123 | # CONFIG_WORDGAME is not set | 157 | # CONFIG_YATZEE is not set |
124 | CONFIG_PARASHOOT=y | 158 | # CONFIG_PARASHOOT is not set |
125 | CONFIG_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 |
129 | CONFIG_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 |
137 | CONFIG_DRAWPAD=y | 172 | CONFIG_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 |
146 | CONFIG_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 |
153 | CONFIG_HANDWRITING=y | 185 | CONFIG_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 | # |
162 | CONFIG_JUMPX=y | 194 | CONFIG_JUMPX=y |
163 | # CONFIG_KEYBOARD is not set | 195 | # CONFIG_KEYBOARD is not set |
164 | CONFIG_KJUMPX=y | 196 | CONFIG_KJUMPX=y |
165 | # CONFIG_MULTIKEY is not set | 197 | # CONFIG_MULTIKEY is not set |
166 | CONFIG_PICKBOARD=y | 198 | CONFIG_PICKBOARD=y |
167 | CONFIG_UNIKEYBOARD=y | 199 | CONFIG_UNIKEYBOARD=y |
168 | 200 | ||
169 | # | 201 | # |
170 | # Pim | 202 | # Pim |
171 | # | 203 | # |
172 | CONFIG_ADDRESSBOOK=y | 204 | CONFIG_ADDRESSBOOK=y |
173 | CONFIG_DATEBOOK=y | 205 | CONFIG_DATEBOOK=y |
206 | CONFIG_DATEBOOK2=y | ||
174 | CONFIG_OSEARCH=y | 207 | CONFIG_OSEARCH=y |
175 | CONFIG_TODAY=y | 208 | CONFIG_TODAY=y |
176 | CONFIG_TODO=y | 209 | CONFIG_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 |
184 | CONFIG_TODAY_ADDRESSBOOK=y | 217 | CONFIG_TODAY_ADDRESSBOOK=y |
185 | CONFIG_TODAY_DATEBOOK=y | 218 | CONFIG_TODAY_DATEBOOK=y |
186 | CONFIG_TODAY_MAIL=y | 219 | |
220 | # | ||
221 | # opie-today-mailplugin requires libopie2core, libopie2pim, and libmailwrapper | ||
222 | # | ||
187 | CONFIG_TODAY_TODOLIST=y | 223 | CONFIG_TODAY_TODOLIST=y |
188 | 224 | ||
189 | # | 225 | # |
190 | # Settings | 226 | # Settings |
191 | # | 227 | # |
192 | CONFIG_BUTTON-SETTINGS=y | 228 | CONFIG_BUTTON-SETTINGS=y |
193 | CONFIG_CITYTIME=y | 229 | CONFIG_CITYTIME=y |
194 | CONFIG_LAUNCHER-SETTINGS=y | 230 | CONFIG_LAUNCHER-SETTINGS=y |
195 | CONFIG_LIGHT-AND-POWER=y | 231 | # CONFIG_LIGHT-AND-POWER is not set |
196 | CONFIG_SECURITY=y | 232 | CONFIG_SECURITY=y |
197 | CONFIG_APPEARANCE2=y | 233 | CONFIG_APPEARANCE2=y |
234 | # CONFIG_AQPKG is not set | ||
198 | CONFIG_BACKUP=y | 235 | CONFIG_BACKUP=y |
236 | CONFIG_DOCTAB=y | ||
199 | CONFIG_LANGUAGE=y | 237 | CONFIG_LANGUAGE=y |
200 | CONFIG_MEDIUMMOUNT=y | 238 | # CONFIG_MEDIUMMOUNT is not set |
201 | CONFIG_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 |
242 | CONFIG_SYSINFO=y | ||
205 | CONFIG_TABMANAGER=y | 243 | CONFIG_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 | # |
215 | CONFIG_DECO_FLAT=y | 253 | CONFIG_DECO_FLAT=y |
216 | CONFIG_DECO_LIQUID=y | 254 | CONFIG_DECO_LIQUID=y |
217 | CONFIG_DECO_POLISHED=y | 255 | CONFIG_DECO_POLISHED=y |
218 | 256 | ||
219 | # | 257 | # |
220 | # Styles | 258 | # Styles |
221 | # | 259 | # |
222 | CONFIG_FLAT=y | 260 | CONFIG_FLAT=y |
223 | CONFIG_FRESH=y | 261 | CONFIG_FRESH=y |
224 | CONFIG_LIQUID=y | 262 | CONFIG_LIQUID=y |
225 | CONFIG_METAL=y | 263 | CONFIG_METAL=y |
226 | CONFIG_THEME=y | 264 | CONFIG_THEME=y |
227 | 265 | ||
228 | # | 266 | # |
229 | # Tools | 267 | # Tools |
230 | # | 268 | # |
231 | CONFIG_CALCULATOR=y | 269 | CONFIG_CALCULATOR=y |
232 | CONFIG_CLOCK=y | 270 | CONFIG_CLOCK=y |
233 | CONFIG_EUROCONV=y | 271 | CONFIG_EUROCONV=y |
234 | # CONFIG_FORMATTER is not set | 272 | # CONFIG_FORMATTER is not set |
235 | CONFIG_OPIE-SH=y | 273 | CONFIG_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 | |||
@@ -36,93 +36,94 @@ INSTALLS += target | |||
36 | # ipkg control files | 36 | # ipkg control files |
37 | control.path = /CONTROL | 37 | control.path = /CONTROL |
38 | control.files = control postinst prerm postrm preinst conffiles | 38 | control.files = control postinst prerm postrm preinst conffiles |
39 | INSTALLS += control | 39 | INSTALLS += control |
40 | 40 | ||
41 | # images, default is $$prefix/pics/$$TARGET | 41 | # images, default is $$prefix/pics/$$TARGET |
42 | pics.path = $$prefix/pics/$$TARGET | 42 | pics.path = $$prefix/pics/$$TARGET |
43 | pics.files = pics/* | 43 | pics.files = pics/* |
44 | INSTALLS += pics | 44 | INSTALLS += pics |
45 | 45 | ||
46 | # sounds, default path is $$prefix/sounds/$$TARGET | 46 | # sounds, default path is $$prefix/sounds/$$TARGET |
47 | sounds.path = $$prefix/sounds/$$TARGET | 47 | sounds.path = $$prefix/sounds/$$TARGET |
48 | sounds.files = sounds/* | 48 | sounds.files = sounds/* |
49 | INSTALLS += sounds | 49 | INSTALLS += sounds |
50 | 50 | ||
51 | # init scripts, default path is /etc/init.d | 51 | # init scripts, default path is /etc/init.d |
52 | init.path = /etc/init.d | 52 | init.path = /etc/init.d |
53 | init.files = init.d/* | 53 | init.files = init.d/* |
54 | INSTALLS += init | 54 | INSTALLS += init |
55 | 55 | ||
56 | # data, default path is /usr/share/$$TARGET | 56 | # data, default path is /usr/share/$$TARGET |
57 | data.path = /usr/share/$$TARGET | 57 | data.path = /usr/share/$$TARGET |
58 | data.files = share/* | 58 | data.files = share/* |
59 | INSTALLS += data | 59 | INSTALLS += data |
60 | 60 | ||
61 | etc.path = $$prefix/etc/ | 61 | etc.path = $$prefix/etc/ |
62 | etc.files = etc/* | 62 | etc.files = etc/* |
63 | INSTALLS += etc | 63 | INSTALLS += etc |
64 | 64 | ||
65 | apps.path = $$prefix/apps/ | 65 | apps.path = $$prefix/apps/ |
66 | apps.files = apps/* | 66 | apps.files = apps/* |
67 | INSTALLS += apps | 67 | INSTALLS += apps |
68 | 68 | ||
69 | # sounds, default path is $$prefix/sounds/$$TARGET | 69 | # sounds, default path is $$prefix/sounds/$$TARGET |
70 | sounds.path = $$prefix/sounds/$$TARGET | 70 | sounds.path = $$prefix/sounds/$$TARGET |
71 | sounds.files = sounds/* | 71 | sounds.files = sounds/* |
72 | INSTALLS += sounds | 72 | INSTALLS += sounds |
73 | 73 | ||
74 | # anything in nonstandard paths | 74 | # anything in nonstandard paths |
75 | root.path = / | 75 | root.path = / |
76 | root.files = root/* | 76 | root.files = root/* |
77 | INSTALLS += root | 77 | INSTALLS += root |
78 | 78 | ||
79 | # new targets | 79 | # new targets |
80 | opie-lupdate.target = opie-lupdate | 80 | opie-lupdate.target = opie-lupdate |
81 | opie-lupdate.commands = opie-lupdate $(PRO) | 81 | opie-lupdate.commands = opie-lupdate $(PRO) |
82 | 82 | ||
83 | opie-lrelease.target = opie-lrelease | 83 | opie-lrelease.target = opie-lrelease |
84 | opie-lrelease.commands = opie-lrelease $(PRO) | 84 | opie-lrelease.commands = opie-lrelease $(PRO) |
85 | 85 | ||
86 | lupdate.target = lupdate | 86 | lupdate.target = lupdate |
87 | lupdate.commands = lupdate -noobsolete $(PRO) | 87 | lupdate.commands = lupdate -noobsolete $(PRO) |
88 | 88 | ||
89 | lrelease.target = lrelease | 89 | lrelease.target = lrelease |
90 | lrelease.commands = lrelease $(PRO) | 90 | lrelease.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 |
93 | messages.target = messages | 93 | messages.target = messages |
94 | messages.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' | 94 | messages.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 | ||
96 | ipk.target = ipk | 96 | ipk.target = ipk |
97 | ipk.commands = tmp=`mktemp -d /tmp/ipkg-opie.XXXXXXXXXX` && ( $(MAKE) INSTALL_ROOT="$$$$tmp" install && ipkg-build $$$$tmp; rm -rf $$$$tmp; ) | 97 | ipk.commands = tmp=`mktemp -d /tmp/ipkg-opie.XXXXXXXXXX` && ( $(MAKE) INSTALL_ROOT="$$$$tmp" install && ipkg-build $$$$tmp; rm -rf $$$$tmp; ) |
98 | 98 | ||
99 | QMAKE_EXTRA_UNIX_TARGETS += lupdate lrelease ipk opie-lupdate opie-lrelease messages | 99 | QMAKE_EXTRA_UNIX_TARGETS += lupdate lrelease ipk opie-lupdate opie-lrelease messages |
100 | |||
100 | CONFTEST = $$system( echo $CONFIG_TARGET_MACOSX ) | 101 | CONFTEST = $$system( echo $CONFIG_TARGET_MACOSX ) |
101 | contains( CONFTEST, y ){ | 102 | contains( 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 | } |
116 | else { | 117 | else { |
117 | QMAKE_LFLAGS += -Wl,-rpath=$$prefix/lib | 118 | QMAKE_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 |
120 | CONFIG -= plugin | 121 | CONFIG -= plugin |
121 | } | 122 | } |
122 | LIBS += -L$(OPIEDIR)/lib | 123 | LIBS += -L$(OPIEDIR)/lib |
123 | 124 | ||
124 | MOC_DIR=.moc/$(PLATFORM) | 125 | MOC_DIR=.moc/$(PLATFORM) |
125 | OBJECTS_DIR=.obj/$(PLATFORM) | 126 | OBJECTS_DIR=.obj/$(PLATFORM) |
126 | 127 | ||
127 | #was here now at thetop | 128 | #was here now at thetop |
128 | #include ( $(OPIEDIR)/gen.pro ) | 129 | #include ( $(OPIEDIR)/gen.pro ) |