-rwxr-xr-x | configure | 2 | ||||
-rw-r--r-- | core/opie-login/opie-login.pro | 17 | ||||
-rw-r--r-- | noncore/settings/backup/backup.pro | 18 | ||||
-rw-r--r-- | noncore/settings/sshkeys/sshkeys.pro | 17 | ||||
-rw-r--r-- | noncore/settings/usermanager/usermanager.pro | 18 |
5 files changed, 71 insertions, 1 deletions
@@ -1,304 +1,304 @@ | |||
1 | #!/bin/sh | 1 | #!/bin/sh |
2 | # | 2 | # |
3 | # Configures to build the Qtopia Environment | 3 | # Configures to build the Qtopia Environment |
4 | # | 4 | # |
5 | # Copyright 1999-2000 Trolltech AS. All rights reserved. | 5 | # Copyright 1999-2000 Trolltech AS. All rights reserved. |
6 | # | 6 | # |
7 | 7 | ||
8 | PLATFORM=generic | 8 | PLATFORM=generic |
9 | SHARING=shared | 9 | SHARING=shared |
10 | DEBUG= | 10 | DEBUG= |
11 | QCONFIGARG= | 11 | QCONFIGARG= |
12 | 12 | ||
13 | touch .test.qpe. | 13 | touch .test.qpe. |
14 | if [ '!' -f ${OPIEDIR}/.test.qpe. ]; | 14 | if [ '!' -f ${OPIEDIR}/.test.qpe. ]; |
15 | then | 15 | then |
16 | rm .test.qpe. | 16 | rm .test.qpe. |
17 | echo | 17 | echo |
18 | echo | 18 | echo |
19 | echo ' The environment variable $OPIEDIR is not set correctly. It is currently' | 19 | echo ' The environment variable $OPIEDIR is not set correctly. It is currently' |
20 | echo ' set to "'$OPIEDIR'", but it should be set to this directory,' | 20 | echo ' set to "'$OPIEDIR'", but it should be set to this directory,' |
21 | echo ' which is "'`pwd`'".' | 21 | echo ' which is "'`pwd`'".' |
22 | echo | 22 | echo |
23 | echo ' Please read the INSTALL file for instructions on how to set $OPIEDIR' | 23 | echo ' Please read the INSTALL file for instructions on how to set $OPIEDIR' |
24 | echo ' correctly. If you have set $OPIEDIR in your .profile or .login, you ' | 24 | echo ' correctly. If you have set $OPIEDIR in your .profile or .login, you ' |
25 | echo ' will need to log out and log in again to make the setting effective.' | 25 | echo ' will need to log out and log in again to make the setting effective.' |
26 | echo | 26 | echo |
27 | echo | 27 | echo |
28 | exit 1 | 28 | exit 1 |
29 | fi | 29 | fi |
30 | rm .test.qpe. | 30 | rm .test.qpe. |
31 | 31 | ||
32 | if [ '!' -f $TMAKEPATH/tmake.conf ] | 32 | if [ '!' -f $TMAKEPATH/tmake.conf ] |
33 | then | 33 | then |
34 | # You have tmake. We'll regenerate the file for you... | 34 | # You have tmake. We'll regenerate the file for you... |
35 | echo ' The environment variable $TMAKEPATH is not set correclty. ' | 35 | echo ' The environment variable $TMAKEPATH is not set correclty. ' |
36 | echo ' It should be set to the tmake path' | 36 | echo ' It should be set to the tmake path' |
37 | echo | 37 | echo |
38 | echo ' Please read the INSTALL file for instructions on how to set $TMAKEPATH' | 38 | echo ' Please read the INSTALL file for instructions on how to set $TMAKEPATH' |
39 | echo ' to the environment variable correctly.' | 39 | echo ' to the environment variable correctly.' |
40 | exit 1 | 40 | exit 1 |
41 | fi | 41 | fi |
42 | 42 | ||
43 | VERSION_MAJ=$(sed -n -e 's/.*QPE_VERSION "\([0-9]*\)\.[0-9]*\.[0-9]*.*".*/\1/p' <library/version.h) | 43 | VERSION_MAJ=$(sed -n -e 's/.*QPE_VERSION "\([0-9]*\)\.[0-9]*\.[0-9]*.*".*/\1/p' <library/version.h) |
44 | VERSION_MIN=$(sed -n -e 's/.*QPE_VERSION "[0-9]*\.\([0-9]\)\.[0-9]*.*".*/\1/p' <library/version.h) | 44 | VERSION_MIN=$(sed -n -e 's/.*QPE_VERSION "[0-9]*\.\([0-9]\)\.[0-9]*.*".*/\1/p' <library/version.h) |
45 | VERSION_PAT=$(sed -n -e 's/.*QPE_VERSION "[0-9]*\.[0-9]*\.\([0-9]*\).*".*/\1/p' <library/version.h) | 45 | VERSION_PAT=$(sed -n -e 's/.*QPE_VERSION "[0-9]*\.[0-9]*\.\([0-9]*\).*".*/\1/p' <library/version.h) |
46 | 46 | ||
47 | TOMAKE= | 47 | TOMAKE= |
48 | 48 | ||
49 | if grep -q 'VERSION_STR.*"3' $QTDIR/include/qglobal.h | 49 | if grep -q 'VERSION_STR.*"3' $QTDIR/include/qglobal.h |
50 | then | 50 | then |
51 | QT3=yes | 51 | QT3=yes |
52 | else | 52 | else |
53 | QT3=no | 53 | QT3=no |
54 | fi | 54 | fi |
55 | 55 | ||
56 | # Parse the arguments, setting things to "yes" or "no". | 56 | # Parse the arguments, setting things to "yes" or "no". |
57 | 57 | ||
58 | while [ -n "$1" ]; do | 58 | while [ -n "$1" ]; do |
59 | case $1 in | 59 | case $1 in |
60 | -platform|-xplatform) # No difference since we don't need to build moc, etc. | 60 | -platform|-xplatform) # No difference since we don't need to build moc, etc. |
61 | shift; PLATFORM=$1 | 61 | shift; PLATFORM=$1 |
62 | ;; | 62 | ;; |
63 | -release) | 63 | -release) |
64 | DEBUG= | 64 | DEBUG= |
65 | ;; | 65 | ;; |
66 | -debug) | 66 | -debug) |
67 | DEBUG=-debug | 67 | DEBUG=-debug |
68 | ;; | 68 | ;; |
69 | -shared) | 69 | -shared) |
70 | SHARING=shared | 70 | SHARING=shared |
71 | ;; | 71 | ;; |
72 | -static) | 72 | -static) |
73 | SHARING=static | 73 | SHARING=static |
74 | ;; | 74 | ;; |
75 | -qconfig) | 75 | -qconfig) |
76 | # optional way to specify the qconfig-qpe.h is to pass -qconfig qpe | 76 | # optional way to specify the qconfig-qpe.h is to pass -qconfig qpe |
77 | shift; QCONFIGARG=DEFINES+=QCONFIG='\"'$1'\"' # Don't quote me on that. | 77 | shift; QCONFIGARG=DEFINES+=QCONFIG='\"'$1'\"' # Don't quote me on that. |
78 | ;; | 78 | ;; |
79 | -make) | 79 | -make) |
80 | shift; TOMAKE="$TOMAKE $1" | 80 | shift; TOMAKE="$TOMAKE $1" |
81 | ;; | 81 | ;; |
82 | -qt3) | 82 | -qt3) |
83 | QT3=yes | 83 | QT3=yes |
84 | ;; | 84 | ;; |
85 | *) | 85 | *) |
86 | HELP=yes;; | 86 | HELP=yes;; |
87 | esac | 87 | esac |
88 | shift | 88 | shift |
89 | done | 89 | done |
90 | 90 | ||
91 | TARGET=configs/$PLATFORM-$SHARING$DEBUG | 91 | TARGET=configs/$PLATFORM-$SHARING$DEBUG |
92 | 92 | ||
93 | if [ '!' -f $TARGET ] | 93 | if [ '!' -f $TARGET ] |
94 | then | 94 | then |
95 | if [ -f configs/linux-$PLATFORM-g++-$SHARING$DEBUG ] | 95 | if [ -f configs/linux-$PLATFORM-g++-$SHARING$DEBUG ] |
96 | then | 96 | then |
97 | TARGET=configs/linux-$PLATFORM-g++-$SHARING$DEBUG | 97 | TARGET=configs/linux-$PLATFORM-g++-$SHARING$DEBUG |
98 | PLATFORM=linux-$PLATFORM-g++ | 98 | PLATFORM=linux-$PLATFORM-g++ |
99 | else | 99 | else |
100 | echo | 100 | echo |
101 | echo ' The specified platform/compiler not supported: ' $TARGET | 101 | echo ' The specified platform/compiler not supported: ' $TARGET |
102 | echo | 102 | echo |
103 | exit 2 | 103 | exit 2 |
104 | fi | 104 | fi |
105 | fi | 105 | fi |
106 | 106 | ||
107 | # Next, emit a usage message if something failed. | 107 | # Next, emit a usage message if something failed. |
108 | 108 | ||
109 | if [ "$HELP" = "yes" ]; then | 109 | if [ "$HELP" = "yes" ]; then |
110 | cat <<EOF | 110 | cat <<EOF |
111 | Usage: $0 [-debug] [-release] [-shared] [-static] [-qt3] [-platform ...] | 111 | Usage: $0 [-debug] [-release] [-shared] [-static] [-qt3] [-platform ...] |
112 | 112 | ||
113 | The defaults (*) are usually acceptable. Here is a short explanation of | 113 | The defaults (*) are usually acceptable. Here is a short explanation of |
114 | each option: | 114 | each option: |
115 | 115 | ||
116 | * -release ........... Compile and link Qt with debugging turned off. | 116 | * -release ........... Compile and link Qt with debugging turned off. |
117 | -debug ............. Compile and link Qt with debugging turned on. | 117 | -debug ............. Compile and link Qt with debugging turned on. |
118 | 118 | ||
119 | * -shared ............ Create and use a shared Qt library (libqt.so) | 119 | * -shared ............ Create and use a shared Qt library (libqt.so) |
120 | -static ............ Create and use a static Qt library (libqt.a) | 120 | -static ............ Create and use a static Qt library (libqt.a) |
121 | 121 | ||
122 | -qt3 ............... Configure for use with Qt 3.x | 122 | -qt3 ............... Configure for use with Qt 3.x |
123 | 123 | ||
124 | -platform target ... The platform you are building on ($PLATFORM) | 124 | -platform target ... The platform you are building on ($PLATFORM) |
125 | EOF | 125 | EOF |
126 | exit 0; | 126 | exit 0; |
127 | fi | 127 | fi |
128 | 128 | ||
129 | CUSTOM=`echo $PLATFORM | sed -n -e "s/.*-\(.*\)-.*/\1/p"` | 129 | CUSTOM=`echo $PLATFORM | sed -n -e "s/.*-\(.*\)-.*/\1/p"` |
130 | 130 | ||
131 | if [ -f library/custom-$CUSTOM.h ] | 131 | if [ -f library/custom-$CUSTOM.h ] |
132 | then | 132 | then |
133 | rm -f library/custom.h | 133 | rm -f library/custom.h |
134 | ln -s custom-$CUSTOM.h library/custom.h | 134 | ln -s custom-$CUSTOM.h library/custom.h |
135 | fi | 135 | fi |
136 | 136 | ||
137 | mkdir -p include/qpe | 137 | mkdir -p include/qpe |
138 | ( cd include/qpe && rm -f *.h; ln -s ../../library/*.h .; ln -s ../../library/backend/*.h .; rm -f *_p.h; ) | 138 | ( cd include/qpe && rm -f *.h; ln -s ../../library/*.h .; ln -s ../../library/backend/*.h .; rm -f *_p.h; ) |
139 | mkdir -p include/qtopia | 139 | mkdir -p include/qtopia |
140 | ( cd include/qtopia && rm -f *.h; ln -s ../../library/*.h .; ) | 140 | ( cd include/qtopia && rm -f *.h; ln -s ../../library/*.h .; ) |
141 | mkdir -p include/qtopia/private | 141 | mkdir -p include/qtopia/private |
142 | ( cd include/qtopia/private && rm -f *.h; ln -s ../../../library/backend/*.h .; ) | 142 | ( cd include/qtopia/private && rm -f *.h; ln -s ../../../library/backend/*.h .; ) |
143 | mkdir -p include/opie | 143 | mkdir -p include/opie |
144 | ( cd include/opie && rm -f *.h; ln -s ../../libopie/*.h .; rm -f *_p.h; ) | 144 | ( cd include/opie && rm -f *.h; ln -s ../../libopie/*.h .; rm -f *_p.h; ) |
145 | ( cd include/opie && ln -s ../../libsql/*.h .; ) | 145 | ( cd include/opie && ln -s ../../libsql/*.h .; ) |
146 | ( cd include/opie && ln -s ../../libopie/pim/*.h .; ) | 146 | ( cd include/opie && ln -s ../../libopie/pim/*.h .; ) |
147 | ( cd include/opie; for generatedHeader in `cd ../../libopie; ls *.ui | sed -e "s,\.ui,\.h,g"`; do \ | 147 | ( cd include/opie; for generatedHeader in `cd ../../libopie; ls *.ui | sed -e "s,\.ui,\.h,g"`; do \ |
148 | ln -sf ../../libopie/$generatedHeader $generatedHeader; done ) | 148 | ln -sf ../../libopie/$generatedHeader $generatedHeader; done ) |
149 | 149 | ||
150 | echo Creating makefiles... | 150 | echo Creating makefiles... |
151 | 151 | ||
152 | # Set version for library directly | 152 | # Set version for library directly |
153 | # Version 1.5.0 right now for compat. | 153 | # Version 1.5.0 right now for compat. |
154 | sed -e 's/^\(VERSION.*= \).*/\1'1.5.0.$VERSION_PAT/ <library/library.pro >library/library.pro-v | 154 | sed -e 's/^\(VERSION.*= \).*/\1'1.5.0.$VERSION_PAT/ <library/library.pro >library/library.pro-v |
155 | mv library/library.pro-v library/library.pro | 155 | mv library/library.pro-v library/library.pro |
156 | 156 | ||
157 | if [ "$QT3" = yes ] | 157 | if [ "$QT3" = yes ] |
158 | then | 158 | then |
159 | VCONFIG="CONFIG+=qt3" | 159 | VCONFIG="CONFIG+=qt3" |
160 | else | 160 | else |
161 | VCONFIG="CONFIG+=qt2" | 161 | VCONFIG="CONFIG+=qt2" |
162 | fi | 162 | fi |
163 | 163 | ||
164 | if [ -f $TMAKEPATH/tmake.conf ] | 164 | if [ -f $TMAKEPATH/tmake.conf ] |
165 | then | 165 | then |
166 | # You have tmake. We'll regenerate the file for you... | 166 | # You have tmake. We'll regenerate the file for you... |
167 | echo "Makefiles will be regenerated." | 167 | echo "Makefiles will be regenerated." |
168 | fi | 168 | fi |
169 | 169 | ||
170 | H=`pwd` | 170 | H=`pwd` |
171 | if [ -z "$TOMAKE" ] | 171 | if [ -z "$TOMAKE" ] |
172 | then | 172 | then |
173 | TOMAKE=`make showcomponents` | 173 | TOMAKE=`make showcomponents` |
174 | fi | 174 | fi |
175 | 175 | ||
176 | for a in $TOMAKE ; do | 176 | for a in $TOMAKE ; do |
177 | N=$a/Makefile | 177 | N=$a/Makefile |
178 | M=$a/Makefile.in | 178 | M=$a/Makefile.in |
179 | O=$a/Makefile.add | 179 | O=$a/Makefile.add |
180 | f=`basename $a` | 180 | f=`basename $a` |
181 | 181 | ||
182 | if [ -f "$TMAKEPATH/tmake.conf" -a -f "$a/$f.pro" ] | 182 | if [ -f "$TMAKEPATH/tmake.conf" -a -f "$a/$f.pro" ] |
183 | then | 183 | then |
184 | ( cd $a; | 184 | ( cd $a; |
185 | TMAKEPATH=$QTDIR/tmake:$TMAKEPATH \ | 185 | TMAKEPATH=$QTDIR/tmake:$TMAKEPATH \ |
186 | tmake $QCONFIGARG CONFIG+=embedded $VCONFIG \ | 186 | tmake $QCONFIGARG CONFIG+=embedded $VCONFIG \ |
187 | -t $H/qt/tmake/propagate.t $f.pro | | 187 | -t $H/qt/tmake/propagate.t $f.pro | |
188 | sed -e "s|$QTDIR|\$(QTDIR)|g" -e "s|$OPIEDIR|\$(OPIEDIR)|g" >Makefile.in; | 188 | sed -e "s|$QTDIR|\$(QTDIR)|g" -e "s|$OPIEDIR|\$(OPIEDIR)|g" >Makefile.in; |
189 | ) | 189 | ) |
190 | echo -n "." | 190 | echo -n "." |
191 | #echo Building $N.. | 191 | #echo Building $N.. |
192 | appname=`grep '^TARGET' $a/$f.pro | sed 's/^TARGET.*=//' | tr -d " \t"` | 192 | appname=`grep '^TARGET' $a/$f.pro | sed 's/^TARGET.*=//' | tr -d " \t"` |
193 | translation=`grep '^TRANSLATION.*[^+]=.*' $a/$f.pro | sed 's,^TRANSL.*=.*i18n\/.*\/,,' | sed 's/ //g' | sed 's,\.ts.*,,' | sed 's,^lib,,' ` | 193 | translation=`grep '^TRANSLATION.*[^+]=.*' $a/$f.pro | sed 's,^TRANSL.*=.*i18n\/.*\/,,' | sed 's/ //g' | sed 's,\.ts.*,,' | sed 's,^lib,,' ` |
194 | if [ -n "$translation" -a -n "$appname" ] | 194 | if [ -n "$translation" -a -n "$appname" ] |
195 | then | 195 | then |
196 | if [ "$appname" != "$translation" ] | 196 | if [ "$appname" != "$translation" ] |
197 | then | 197 | then |
198 | echo | 198 | echo |
199 | echo "Warning: translation and appname disagree in $a/$f.pro" | 199 | echo "Warning: translation and appname disagree in $a/$f.pro" |
200 | fi | 200 | fi |
201 | fi | 201 | fi |
202 | 202 | ||
203 | fi | 203 | fi |
204 | 204 | ||
205 | cat > $N <<EOF | 205 | cat > $N <<EOF |
206 | ############################################################################# | 206 | ############################################################################# |
207 | # Automatically generated from $M | 207 | # Automatically generated from $M |
208 | # Build options from $1 | 208 | # Build options from $1 |
209 | ############################################################################# | 209 | ############################################################################# |
210 | 210 | ||
211 | EOF | 211 | EOF |
212 | 212 | ||
213 | SED= | 213 | SED= |
214 | PLATFORM_CFLAGS= | 214 | PLATFORM_CFLAGS= |
215 | 215 | ||
216 | if [ "$f" = "embeddedkonsole" ] | 216 | if [ "$f" = "embeddedkonsole" ] |
217 | then | 217 | then |
218 | case $PLATFORM in | 218 | case $PLATFORM in |
219 | *x86*|*generic*|*ipaq*|*oz*|*sharp*) | 219 | *x86*|*generic*|*ipaq*|*oz*|*sharp*) |
220 | SED="$SED /^LIBS.*=/s/\$/ -lutil/;" | 220 | SED="$SED /^LIBS.*=/s/\$/ -lutil/;" |
221 | PLATFORM_CFLAGS="-DHAVE_OPENPTY" | 221 | PLATFORM_CFLAGS="-DHAVE_OPENPTY" |
222 | ;; *) | 222 | ;; *) |
223 | SED= | 223 | SED= |
224 | esac | 224 | esac |
225 | elif [ "$f" = "libmpeg3" ] | 225 | elif [ "$f" = "libmpeg3" ] |
226 | then | 226 | then |
227 | # Patch our Makefile.in file with the platform specifics for the libmpeg3 library | 227 | # Patch our Makefile.in file with the platform specifics for the libmpeg3 library |
228 | # Use the C++ compiler to compile the .c files (because the fixed-point classes are C++ code) | 228 | # Use the C++ compiler to compile the .c files (because the fixed-point classes are C++ code) |
229 | SED='s/\$(CC)/\$(CXX)/;' | 229 | SED='s/\$(CC)/\$(CXX)/;' |
230 | case $PLATFORM | 230 | case $PLATFORM |
231 | in | 231 | in |
232 | # For x86 turn on using floating point, compile mmx and css code | 232 | # For x86 turn on using floating point, compile mmx and css code |
233 | *x86*) | 233 | *x86*) |
234 | # "-funroll-loops -fomit-frame-pointer -malign-loops=2 -malign-jumps=2 -malign-functions=2 -march=i486" | 234 | # "-funroll-loops -fomit-frame-pointer -malign-loops=2 -malign-jumps=2 -malign-functions=2 -march=i486" |
235 | PLATFORM_CFLAGS="-DHAVE_MMX -DHAVE_CSS" | 235 | PLATFORM_CFLAGS="-DHAVE_MMX -DHAVE_CSS" |
236 | SED="$SED /SOURCES.*=/s/=/= video\\/mmxidct.S video\\/reconmmx.s\ /;" | 236 | SED="$SED /SOURCES.*=/s/=/= video\\/mmxidct.S video\\/reconmmx.s\ /;" |
237 | # For generic turn on using floating point | 237 | # For generic turn on using floating point |
238 | ;; *generic*) | 238 | ;; *generic*) |
239 | PLATFORM_CFLAGS="" | 239 | PLATFORM_CFLAGS="" |
240 | # For the ipaq use fixed point maths, don't compile the mmx or css code | 240 | # For the ipaq use fixed point maths, don't compile the mmx or css code |
241 | ;; *ipaq*|*oz*|*sharp*) | 241 | ;; *ipaq*|*oz*|*sharp*) |
242 | PLATFORM_CFLAGS="-DUSE_FIXED_POINT" | 242 | PLATFORM_CFLAGS="-DUSE_FIXED_POINT" |
243 | ;; *) | 243 | ;; *) |
244 | # For 'other platforms', turn off optimizations and use fixed point | 244 | # For 'other platforms', turn off optimizations and use fixed point |
245 | PLATFORM_CFLAGS="-O -DUSE_FIXED_POINT" | 245 | PLATFORM_CFLAGS="-O -DUSE_FIXED_POINT" |
246 | esac | 246 | esac |
247 | elif [ "$f" = "libmad" ] | 247 | elif [ "$f" = "libmad" ] |
248 | then | 248 | then |
249 | # Patch our Makefile.in file with the platform specifics for the libmad library | 249 | # Patch our Makefile.in file with the platform specifics for the libmad library |
250 | case $PLATFORM | 250 | case $PLATFORM |
251 | in | 251 | in |
252 | # For x86 use intel optimizations | 252 | # For x86 use intel optimizations |
253 | *x86*) | 253 | *x86*) |
254 | PLATFORM_CFLAGS="-DFPM_INTEL" | 254 | PLATFORM_CFLAGS="-DFPM_INTEL" |
255 | # For the ipaq use ARM asm optimizations | 255 | # For the ipaq use ARM asm optimizations |
256 | ;; *ipaq*|*oz*|*sharp*) | 256 | ;; *ipaq*|*oz*|*sharp*) |
257 | PLATFORM_CFLAGS="-DFPM_ARM" | 257 | PLATFORM_CFLAGS="-DFPM_ARM" |
258 | SED="$SED /SOURCES.*=/s/=/= idmt_arm.S /;" | 258 | SED="$SED /SOURCES.*=/s/=/= idmt_arm.S /;" |
259 | # For generic platforms use the C 64-bit implementation | 259 | # For generic platforms use the C 64-bit implementation |
260 | ;; *generic*) | 260 | ;; *generic*) |
261 | PLATFORM_CFLAGS="-DFPM_64BIT" | 261 | PLATFORM_CFLAGS="-DFPM_64BIT" |
262 | # For 'other platforms' use the ARM code | 262 | # For 'other platforms' use the ARM code |
263 | ;; *) | 263 | ;; *) |
264 | PLATFORM_CFLAGS="-DFPM_ARM" | 264 | PLATFORM_CFLAGS="-DFPM_ARM" |
265 | SED="$SED /SOURCES.*=/s/=/= idmt_arm.S /;" | 265 | SED="$SED /SOURCES.*=/s/=/= idmt_arm.S /;" |
266 | esac | 266 | esac |
267 | fi | 267 | fi |
268 | SED="$SED /LFLAGS.*=.*/s/\$/ $EXTRA $EXTRALIBS/;" | 268 | SED="$SED /LFLAGS.*=.*/s/\$/ $EXTRA $EXTRALIBS/;" |
269 | PLATFORM_CFLAGS="$PLATFORM_CFLAGS $EXTRAFLAGS"; | 269 | PLATFORM_CFLAGS="$PLATFORM_CFLAGS $EXTRAFLAGS"; |
270 | if [ -n "$PLATFORM_CFLAGS" ] | 270 | if [ -n "$PLATFORM_CFLAGS" ] |
271 | then | 271 | then |
272 | # Append the addition c-flags we have defined | 272 | # Append the addition c-flags we have defined |
273 | SED="$SED /CFLAGS.*=.*/s/\$/ $PLATFORM_CFLAGS/;" | 273 | SED="$SED /CFLAGS.*=.*/s/\$/ $PLATFORM_CFLAGS/;" |
274 | SED="$SED /CXXFLAGS.*=.*/s/\$/ $PLATFORM_CFLAGS -fpermissive/;" | 274 | SED="$SED /CXXFLAGS.*=.*/s/\$/ $PLATFORM_CFLAGS -fpermissive/;" |
275 | fi | 275 | fi |
276 | cat $TARGET >> $N | 276 | cat $TARGET >> $N |
277 | if [ -n "$SED" ] | 277 | if [ -n "$SED" ] |
278 | then | 278 | then |
279 | sed -e "$SED" $M >> $N | 279 | sed -e "$SED" $M >> $N |
280 | else | 280 | else |
281 | cat $M >> $N | 281 | cat $M >> $N |
282 | fi | 282 | fi |
283 | 283 | ||
284 | cat >> $N <<EOF | 284 | cat >> $N <<EOF |
285 | 285 | ||
286 | lupdate: | 286 | lupdate: |
287 | lupdate $f.pro | 287 | lupdate -noobsolete $f.pro |
288 | 288 | ||
289 | lrelease: | 289 | lrelease: |
290 | lrelease $f.pro | 290 | lrelease $f.pro |
291 | 291 | ||
292 | EOF | 292 | EOF |
293 | if [ -f "$O" ] | 293 | if [ -f "$O" ] |
294 | then | 294 | then |
295 | cat >> $N $O | 295 | cat >> $N $O |
296 | fi | 296 | fi |
297 | 297 | ||
298 | done | 298 | done |
299 | 299 | ||
300 | MAKE=make | 300 | MAKE=make |
301 | echo | 301 | echo |
302 | echo "Opie is now configured for building. Just run $MAKE (or $MAKE single)." | 302 | echo "Opie is now configured for building. Just run $MAKE (or $MAKE single)." |
303 | echo "To reconfigure, run $MAKE clean and configure." | 303 | echo "To reconfigure, run $MAKE clean and configure." |
304 | echo | 304 | echo |
diff --git a/core/opie-login/opie-login.pro b/core/opie-login/opie-login.pro index 45b9a7a..7d8ecb1 100644 --- a/core/opie-login/opie-login.pro +++ b/core/opie-login/opie-login.pro | |||
@@ -1,27 +1,44 @@ | |||
1 | TEMPLATE = app | 1 | TEMPLATE = app |
2 | CONFIG = qt warn_on debug usepam | 2 | CONFIG = qt warn_on debug usepam |
3 | 3 | ||
4 | HEADERS = loginwindowimpl.h \ | 4 | HEADERS = loginwindowimpl.h \ |
5 | loginapplication.h \ | 5 | loginapplication.h \ |
6 | ../launcher/inputmethods.h \ | 6 | ../launcher/inputmethods.h \ |
7 | ../apps/calibrate/calibrate.h | 7 | ../apps/calibrate/calibrate.h |
8 | 8 | ||
9 | SOURCES = loginwindowimpl.cpp \ | 9 | SOURCES = loginwindowimpl.cpp \ |
10 | loginapplication.cpp \ | 10 | loginapplication.cpp \ |
11 | ../launcher/inputmethods.cpp \ | 11 | ../launcher/inputmethods.cpp \ |
12 | ../apps/calibrate/calibrate.cpp \ | 12 | ../apps/calibrate/calibrate.cpp \ |
13 | main.cpp | 13 | main.cpp |
14 | 14 | ||
15 | INTERFACES = loginwindow.ui | 15 | INTERFACES = loginwindow.ui |
16 | 16 | ||
17 | INCLUDEPATH += $(OPIEDIR)/include ../launcher ../apps/calibrate | 17 | INCLUDEPATH += $(OPIEDIR)/include ../launcher ../apps/calibrate |
18 | DEPENDPATH += $(OPIEDIR)/include ../launcher ../apps/calibrate | 18 | DEPENDPATH += $(OPIEDIR)/include ../launcher ../apps/calibrate |
19 | 19 | ||
20 | LIBS += -lqpe -lopie | 20 | LIBS += -lqpe -lopie |
21 | 21 | ||
22 | usepam:LIBS += -lpam | 22 | usepam:LIBS += -lpam |
23 | usepam:DEFINES += USEPAM | 23 | usepam:DEFINES += USEPAM |
24 | 24 | ||
25 | DESTDIR = $(OPIEDIR)/bin | 25 | DESTDIR = $(OPIEDIR)/bin |
26 | TARGET = opie-login | 26 | TARGET = opie-login |
27 | 27 | ||
28 | TRANSLATIONS = ../../i18n/de/opie-login.ts \ | ||
29 | · ../../i18n/en/opie-login.ts \ | ||
30 | · ../../i18n/es/opie-login.ts \ | ||
31 | · ../../i18n/fr/opie-login.ts \ | ||
32 | · ../../i18n/hu/opie-login.ts \ | ||
33 | · ../../i18n/ja/opie-login.ts \ | ||
34 | · ../../i18n/ko/opie-login.ts \ | ||
35 | · ../../i18n/no/opie-login.ts \ | ||
36 | · ../../i18n/pl/opie-login.ts \ | ||
37 | · ../../i18n/pt/opie-login.ts \ | ||
38 | · ../../i18n/pt_BR/opie-login.ts \ | ||
39 | · ../../i18n/sl/opie-login.ts \ | ||
40 | · ../../i18n/zh_CN/opie-login.ts \ | ||
41 | · ../../i18n/zh_TW/opie-login.ts \ | ||
42 | · ../../i18n/it/opie-login.ts \ | ||
43 | · ../../i18n/da/opie-login.ts | ||
44 | |||
diff --git a/noncore/settings/backup/backup.pro b/noncore/settings/backup/backup.pro index 8259195..064d6e4 100644 --- a/noncore/settings/backup/backup.pro +++ b/noncore/settings/backup/backup.pro | |||
@@ -1,11 +1,29 @@ | |||
1 | TEMPLATE= app | 1 | TEMPLATE= app |
2 | #CONFIG = qt warn_on debug | 2 | #CONFIG = qt warn_on debug |
3 | CONFIG = qt warn_on release | 3 | CONFIG = qt warn_on release |
4 | HEADERS = backuprestore.h | 4 | HEADERS = backuprestore.h |
5 | SOURCES = main.cpp backuprestore.cpp | 5 | SOURCES = main.cpp backuprestore.cpp |
6 | INCLUDEPATH+= $(OPIEDIR)/include | 6 | INCLUDEPATH+= $(OPIEDIR)/include |
7 | DEPENDPATH+= $(OPIEDIR)/include | 7 | DEPENDPATH+= $(OPIEDIR)/include |
8 | LIBS += -lqpe | 8 | LIBS += -lqpe |
9 | INTERFACES= backuprestorebase.ui | 9 | INTERFACES= backuprestorebase.ui |
10 | TARGET = backup | 10 | TARGET = backup |
11 | DESTDIR = $(OPIEDIR)/bin | 11 | DESTDIR = $(OPIEDIR)/bin |
12 | |||
13 | TRANSLATIONS = ../../../i18n/de/backup.ts \ | ||
14 | · ../../../i18n/en/backup.ts \ | ||
15 | · ../../../i18n/es/backup.ts \ | ||
16 | · ../../../i18n/fr/backup.ts \ | ||
17 | · ../../../i18n/hu/backup.ts \ | ||
18 | · ../../../i18n/ja/backup.ts \ | ||
19 | · ../../../i18n/ko/backup.ts \ | ||
20 | · ../../../i18n/no/backup.ts \ | ||
21 | · ../../../i18n/pl/backup.ts \ | ||
22 | · ../../../i18n/pt/backup.ts \ | ||
23 | · ../../../i18n/pt_BR/backup.ts \ | ||
24 | · ../../../i18n/sl/backup.ts \ | ||
25 | · ../../../i18n/zh_CN/backup.ts \ | ||
26 | · ../../../i18n/zh_TW/backup.ts \ | ||
27 | · ../../../i18n/it/backup.ts \ | ||
28 | · ../../../i18n/da/backup.ts | ||
29 | |||
diff --git a/noncore/settings/sshkeys/sshkeys.pro b/noncore/settings/sshkeys/sshkeys.pro index 33155e3..af2cc60 100644 --- a/noncore/settings/sshkeys/sshkeys.pro +++ b/noncore/settings/sshkeys/sshkeys.pro | |||
@@ -1,11 +1,28 @@ | |||
1 | TEMPLATE = app | 1 | TEMPLATE = app |
2 | CONFIG += qt warn_on release | 2 | CONFIG += qt warn_on release |
3 | HEADERS = sshkeys.h | 3 | HEADERS = sshkeys.h |
4 | SOURCES = main.cpp sshkeys.cpp | 4 | SOURCES = main.cpp sshkeys.cpp |
5 | TARGET = sshkeys | 5 | TARGET = sshkeys |
6 | INTERFACES = sshkeysbase.ui | 6 | INTERFACES = sshkeysbase.ui |
7 | INCLUDEPATH += $(OPIEDIR)/include | 7 | INCLUDEPATH += $(OPIEDIR)/include |
8 | DEPENDPATH += $(OPIEDIR)/include | 8 | DEPENDPATH += $(OPIEDIR)/include |
9 | LIBS += -lqpe -lopie | 9 | LIBS += -lqpe -lopie |
10 | DESTDIR = $(OPIEDIR)/bin | 10 | DESTDIR = $(OPIEDIR)/bin |
11 | 11 | ||
12 | TRANSLATIONS = ../../../i18n/de/sshkeys.ts \ | ||
13 | · ../../../i18n/en/sshkeys.ts \ | ||
14 | · ../../../i18n/es/sshkeys.ts \ | ||
15 | · ../../../i18n/fr/sshkeys.ts \ | ||
16 | · ../../../i18n/hu/sshkeys.ts \ | ||
17 | · ../../../i18n/ja/sshkeys.ts \ | ||
18 | · ../../../i18n/ko/sshkeys.ts \ | ||
19 | · ../../../i18n/no/sshkeys.ts \ | ||
20 | · ../../../i18n/pl/sshkeys.ts \ | ||
21 | · ../../../i18n/pt/sshkeys.ts \ | ||
22 | · ../../../i18n/pt_BR/sshkeys.ts \ | ||
23 | · ../../../i18n/sl/sshkeys.ts \ | ||
24 | · ../../../i18n/zh_CN/sshkeys.ts \ | ||
25 | · ../../../i18n/zh_TW/sshkeys.ts \ | ||
26 | ../../../i18n/it/sshkeys.ts \ | ||
27 | ../../../i18n/da/sshkeys.ts | ||
28 | |||
diff --git a/noncore/settings/usermanager/usermanager.pro b/noncore/settings/usermanager/usermanager.pro index 2f3212f..06bb4a8 100644 --- a/noncore/settings/usermanager/usermanager.pro +++ b/noncore/settings/usermanager/usermanager.pro | |||
@@ -1,10 +1,28 @@ | |||
1 | TEMPLATE= app | 1 | TEMPLATE= app |
2 | #CONFIG = qt warn_on debug | 2 | #CONFIG = qt warn_on debug |
3 | CONFIG = qt warn_on release | 3 | CONFIG = qt warn_on release |
4 | HEADERS = usermanager.h userdialog.h groupdialog.h passwd.h | 4 | HEADERS = usermanager.h userdialog.h groupdialog.h passwd.h |
5 | SOURCES = usermanager.cpp userdialog.cpp groupdialog.cpp passwd.h main.cpp | 5 | SOURCES = usermanager.cpp userdialog.cpp groupdialog.cpp passwd.h main.cpp |
6 | INCLUDEPATH+= $(OPIEDIR)/include | 6 | INCLUDEPATH+= $(OPIEDIR)/include |
7 | DEPENDPATH+= $(OPIEDIR)/include | 7 | DEPENDPATH+= $(OPIEDIR)/include |
8 | LIBS += -lqpe -lopie -lcrypt | 8 | LIBS += -lqpe -lopie -lcrypt |
9 | TARGET = usermanager | 9 | TARGET = usermanager |
10 | DESTDIR = $(OPIEDIR)/bin | 10 | DESTDIR = $(OPIEDIR)/bin |
11 | |||
12 | TRANSLATIONS = ../../../i18n/de/usermanager.ts \ | ||
13 | · ../../../i18n/en/usermanager.ts \ | ||
14 | · ../../../i18n/es/usermanager.ts \ | ||
15 | · ../../../i18n/fr/usermanager.ts \ | ||
16 | · ../../../i18n/hu/usermanager.ts \ | ||
17 | · ../../../i18n/ja/usermanager.ts \ | ||
18 | · ../../../i18n/ko/usermanager.ts \ | ||
19 | · ../../../i18n/no/usermanager.ts \ | ||
20 | · ../../../i18n/pl/usermanager.ts \ | ||
21 | · ../../../i18n/pt/usermanager.ts \ | ||
22 | · ../../../i18n/pt_BR/usermanager.ts \ | ||
23 | · ../../../i18n/sl/usermanager.ts \ | ||
24 | · ../../../i18n/zh_CN/usermanager.ts \ | ||
25 | · ../../../i18n/zh_TW/usermanager.ts \ | ||
26 | · ../../../i18n/it/usermanager.ts \ | ||
27 | ../../../i18n/da/usermanager.ts | ||
28 | |||