author | zautrix <zautrix> | 2004-10-17 20:33:08 (UTC) |
---|---|---|
committer | zautrix <zautrix> | 2004-10-17 20:33:08 (UTC) |
commit | 50470fdeb0ed62f05ff6780607cc30a8e84ef5b1 (patch) (unidiff) | |
tree | 87fbffa1db9d979dbe9c2e018cd2bdc5d833823f | |
parent | 4220d587eb43d4117e5d5a8a8f0cb6e8381b5fbe (diff) | |
download | kdepimpi-50470fdeb0ed62f05ff6780607cc30a8e84ef5b1.zip kdepimpi-50470fdeb0ed62f05ff6780607cc30a8e84ef5b1.tar.gz kdepimpi-50470fdeb0ed62f05ff6780607cc30a8e84ef5b1.tar.bz2 |
compile fixes
-rw-r--r-- | Makefile | 16 | ||||
-rw-r--r-- | Makefile.Embedded | 16 | ||||
-rw-r--r-- | libkdepim/ksyncmanager.cpp | 6 | ||||
-rw-r--r-- | version | 2 |
4 files changed, 22 insertions, 18 deletions
@@ -181,110 +181,110 @@ variable_test: variable_info | |||
181 | @echo QTOPIA PLUGIN will not be build, because BUILD_NO__QTOPIA_PLUGIN is set to $(BUILD_NO__QTOPIA_PLUGIN) | 181 | @echo QTOPIA PLUGIN will not be build, because BUILD_NO__QTOPIA_PLUGIN is set to $(BUILD_NO__QTOPIA_PLUGIN) |
182 | endif | 182 | endif |
183 | ifdef BUILD_NO_MICROMAIL | 183 | ifdef BUILD_NO_MICROMAIL |
184 | @echo MICROMAIL will not be build, because BUILD_NO_MICROMAIL is set to $(BUILD_NO_MICROMAIL) | 184 | @echo MICROMAIL will not be build, because BUILD_NO_MICROMAIL is set to $(BUILD_NO_MICROMAIL) |
185 | endif | 185 | endif |
186 | ifdef BUILD_NO_SHARP_PLUGIN | 186 | ifdef BUILD_NO_SHARP_PLUGIN |
187 | @echo SHARP PLUGIN will not be build, because BUILD_NO_SHARP_PLUGIN is set to $(BUILD_NO_SHARP_PLUGIN) | 187 | @echo SHARP PLUGIN will not be build, because BUILD_NO_SHARP_PLUGIN is set to $(BUILD_NO_SHARP_PLUGIN) |
188 | else | 188 | else |
189 | ifndef SHARPDTMSDK | 189 | ifndef SHARPDTMSDK |
190 | @echo SHARP PLUGIN can not be build, because SHARPDTMSDK is set to $(SHARPDTMSDK) | 190 | @echo SHARP PLUGIN can not be build, because SHARPDTMSDK is set to $(SHARPDTMSDK) |
191 | $(error SHARPDTMSDK is not defined) | 191 | $(error SHARPDTMSDK is not defined) |
192 | endif | 192 | endif |
193 | endif | 193 | endif |
194 | ifdef BUILD_NO_GAMMU | 194 | ifdef BUILD_NO_GAMMU |
195 | @echo GAMMU will not be build, because BUILD_NO_GAMMU is set to $(BUILD_NO_GAMMU) | 195 | @echo GAMMU will not be build, because BUILD_NO_GAMMU is set to $(BUILD_NO_GAMMU) |
196 | endif | 196 | endif |
197 | ifdef BUILD_NO_PWMANAGER | 197 | ifdef BUILD_NO_PWMANAGER |
198 | @echo PWMANAGER will not be build, because BUILD_NO_PWMANAGER is set to $(BUILD_NO_PWMANAGER) | 198 | @echo PWMANAGER will not be build, because BUILD_NO_PWMANAGER is set to $(BUILD_NO_PWMANAGER) |
199 | endif | 199 | endif |
200 | @echo -------------------------------------- | 200 | @echo -------------------------------------- |
201 | 201 | ||
202 | 202 | ||
203 | objects: | 203 | objects: |
204 | for i in $(SUBDIRS); do mkdir -p $$i/obj/$(PLATFORM); done | 204 | for i in $(SUBDIRS); do mkdir -p $$i/obj/$(PLATFORM); done |
205 | for i in $(SUBDIRS); do mkdir -p $$i/moc/$(PLATFORM); done | 205 | for i in $(SUBDIRS); do mkdir -p $$i/moc/$(PLATFORM); done |
206 | mkdir -p libical/lib/$(PLATFORM) | 206 | mkdir -p libical/lib/$(PLATFORM) |
207 | 207 | ||
208 | clean: | 208 | clean: |
209 | rm -rf libical/lib/$(PLATFORM)/*; | 209 | rm -rf libical/lib/$(PLATFORM)/*; |
210 | for i in $(SUBDIRS); do pushd $$i; make clean; rm -f *~;\ | 210 | for i in $(SUBDIRS); do pushd $$i; make clean; rm -f *~;\ |
211 | rm -f obj/$(PLATFORM)/*; rm -f moc/$(PLATFORM)/*; rm Makefile$(PLATFORM); popd; \ | 211 | rm -f obj/$(PLATFORM)/*; rm -f moc/$(PLATFORM)/*; rm Makefile$(PLATFORM); popd; \ |
212 | done | 212 | done |
213 | 213 | ||
214 | install: | 214 | install: |
215 | 215 | ||
216 | cd bin/kdepim; make install | 216 | cd bin/kdepim; make install |
217 | cp -r Pim $(QPEDIR)/apps | 217 | cp -r Pim $(QPEDIR)/apps |
218 | cp db2file/db2file $(QPEDIR)/bin/db2file | 218 | cp db2file/db2file $(QPEDIR)/bin/db2file |
219 | cp korganizer/korganizer.desktop $(QPEDIR)/apps/Pim/korganizer.desktop | 219 | cp korganizer/korganizer.desktop $(QPEDIR)/apps/Pim/korganizer.desktop |
220 | cp kaddressbook/kaddressbook.desktop $(QPEDIR)/apps/Pim/kaddressbook.desktop | 220 | cp kaddressbook/kaddressbook.desktop $(QPEDIR)/apps/Pim/kaddressbook.desktop |
221 | cp kmicromail/kmicromail.desktop $(QPEDIR)/apps/Pim/kopiemail.desktop | 221 | cp kmicromail/kmicromail.desktop $(QPEDIR)/apps/Pim/kopiemail.desktop |
222 | cp pwmanager/pwmanager/pwmanager.desktop $(QPEDIR)/apps/Pim/pwmanager.desktop | 222 | cp pwmanager/pwmanager/pwmanager.desktop $(QPEDIR)/apps/Pim/pwmanager.desktop |
223 | 223 | ||
224 | dist: | 224 | dist: |
225 | @echo Dont forget to do "make install" before "make dist" | 225 | @echo Dont forget to do "make install" before "make dist" |
226 | rm -f *arm.ipk | 226 | rm -f *arm.ipk |
227 | rm -f *~ | 227 | rm -f *~ |
228 | cd ..; tar czf kdepim.src.tar.gz --exclude=obj --exclude=moc --exclude=CVS --exclude=Makefilezaurus --exclude=Makefileqtopia kdepim | 228 | cd ..; tar czf kdepim.src.tar.gz --exclude=obj --exclude=moc --exclude=CVS --exclude=Makefilezaurus --exclude=Makefileqtopia kdepim |
229 | ./mkipks kmicrokdelibs.control | 229 | mkipks kmicrokdelibs.control |
230 | ./mkipks korganizer.control | 230 | mkipks korganizer.control |
231 | ./mkipks kaddressbook.control | 231 | mkipks kaddressbook.control |
232 | ifndef BUILD_NO_MICROMAIL | 232 | ifndef BUILD_NO_MICROMAIL |
233 | ./mkipks kopiemail.control | 233 | mkipks kopiemail.control |
234 | endif | 234 | endif |
235 | ./mkipks korganizer-alarm.control | 235 | mkipks korganizer-alarm.control |
236 | ifndef BUILD_NO_GAMMU | 236 | ifndef BUILD_NO_GAMMU |
237 | ./mkipks phoneaccess.control | 237 | mkipks phoneaccess.control |
238 | endif | 238 | endif |
239 | ifndef BUILD_NO_PWMANAGER | 239 | ifndef BUILD_NO_PWMANAGER |
240 | ./mkipks pwmanager.control | 240 | mkipks pwmanager.control |
241 | endif | 241 | endif |
242 | ./mkipks pim_TAB_icon.control | 242 | mkipks pim_TAB_icon.control |
243 | 243 | ||
244 | tmake: objects \ | 244 | tmake: objects \ |
245 | qtcompat/Makefile$(PLATFORM) \ | 245 | qtcompat/Makefile$(PLATFORM) \ |
246 | microkde/Makefile$(PLATFORM) \ | 246 | microkde/Makefile$(PLATFORM) \ |
247 | libkcal/Makefile$(PLATFORM) \ | 247 | libkcal/Makefile$(PLATFORM) \ |
248 | libkdepim/Makefile$(PLATFORM) \ | 248 | libkdepim/Makefile$(PLATFORM) \ |
249 | korganizer/Makefile$(PLATFORM) \ | 249 | korganizer/Makefile$(PLATFORM) \ |
250 | kalarmd/Makefile$(PLATFORM) \ | 250 | kalarmd/Makefile$(PLATFORM) \ |
251 | libical/src/libical/Makefile$(PLATFORM) \ | 251 | libical/src/libical/Makefile$(PLATFORM) \ |
252 | libical/src/libicalss/Makefile$(PLATFORM) \ | 252 | libical/src/libicalss/Makefile$(PLATFORM) \ |
253 | kabc/Makefile$(PLATFORM) \ | 253 | kabc/Makefile$(PLATFORM) \ |
254 | kabc/formats/binary/Makefile$(PLATFORM) \ | 254 | kabc/formats/binary/Makefile$(PLATFORM) \ |
255 | kabc/plugins/file/Makefile$(PLATFORM) \ | 255 | kabc/plugins/file/Makefile$(PLATFORM) \ |
256 | kabc/plugins/dir/Makefile$(PLATFORM) \ | 256 | kabc/plugins/dir/Makefile$(PLATFORM) \ |
257 | kabc/plugins/ldap/Makefile$(PLATFORM) \ | 257 | kabc/plugins/ldap/Makefile$(PLATFORM) \ |
258 | kabc/plugins/opie/Makefile$(PLATFORM) \ | 258 | kabc/plugins/opie/Makefile$(PLATFORM) \ |
259 | kabc/plugins/qtopia/Makefile$(PLATFORM) \ | 259 | kabc/plugins/qtopia/Makefile$(PLATFORM) \ |
260 | kabc/plugins/sharpdtm/Makefile$(PLATFORM) \ | 260 | kabc/plugins/sharpdtm/Makefile$(PLATFORM) \ |
261 | kaddressbook/Makefile$(PLATFORM) \ | 261 | kaddressbook/Makefile$(PLATFORM) \ |
262 | kmicromail/Makefile$(PLATFORM) \ | 262 | kmicromail/Makefile$(PLATFORM) \ |
263 | kmicromail/libetpan/Makefile$(PLATFORM) \ | 263 | kmicromail/libetpan/Makefile$(PLATFORM) \ |
264 | kmicromail/libmailwrapper/Makefile$(PLATFORM) \ | 264 | kmicromail/libmailwrapper/Makefile$(PLATFORM) \ |
265 | gammu/emb/common/Makefile$(PLATFORM) \ | 265 | gammu/emb/common/Makefile$(PLATFORM) \ |
266 | gammu/emb/gammu/Makefile$(PLATFORM) \ | 266 | gammu/emb/gammu/Makefile$(PLATFORM) \ |
267 | pwmanager/pwmanager/Makefile$(PLATFORM) \ | 267 | pwmanager/pwmanager/Makefile$(PLATFORM) \ |
268 | 268 | ||
269 | qtcompat/Makefile$(PLATFORM): qtcompat/qtcompat.pro | 269 | qtcompat/Makefile$(PLATFORM): qtcompat/qtcompat.pro |
270 | cd qtcompat; tmake "CONFIG+=$(RELEASE_DEBUG)" "VERSION=$(KDEPIM_VERSION)" qtcompat.pro -o Makefile$(PLATFORM) | 270 | cd qtcompat; tmake "CONFIG+=$(RELEASE_DEBUG)" "VERSION=$(KDEPIM_VERSION)" qtcompat.pro -o Makefile$(PLATFORM) |
271 | 271 | ||
272 | microkde/Makefile$(PLATFORM): microkde/microkdeE.pro | 272 | microkde/Makefile$(PLATFORM): microkde/microkdeE.pro |
273 | cd microkde; tmake "CONFIG+=$(RELEASE_DEBUG)" "VERSION=$(KDEPIM_VERSION)" microkdeE.pro -o Makefile$(PLATFORM) | 273 | cd microkde; tmake "CONFIG+=$(RELEASE_DEBUG)" "VERSION=$(KDEPIM_VERSION)" microkdeE.pro -o Makefile$(PLATFORM) |
274 | 274 | ||
275 | libkcal/Makefile$(PLATFORM): libkcal/libkcalE.pro | 275 | libkcal/Makefile$(PLATFORM): libkcal/libkcalE.pro |
276 | cd libkcal; tmake "CONFIG+=$(RELEASE_DEBUG)" "VERSION=$(KDEPIM_VERSION)" libkcalE.pro -o Makefile$(PLATFORM) | 276 | cd libkcal; tmake "CONFIG+=$(RELEASE_DEBUG)" "VERSION=$(KDEPIM_VERSION)" libkcalE.pro -o Makefile$(PLATFORM) |
277 | 277 | ||
278 | 278 | ||
279 | libkdepim/Makefile$(PLATFORM): libkdepim/libkdepimE.pro | 279 | libkdepim/Makefile$(PLATFORM): libkdepim/libkdepimE.pro |
280 | cd libkdepim; tmake "CONFIG+=$(RELEASE_DEBUG)" "VERSION=$(KDEPIM_VERSION)" libkdepimE.pro -o Makefile$(PLATFORM) | 280 | cd libkdepim; tmake "CONFIG+=$(RELEASE_DEBUG)" "VERSION=$(KDEPIM_VERSION)" libkdepimE.pro -o Makefile$(PLATFORM) |
281 | 281 | ||
282 | kalarmd/Makefile$(PLATFORM): kalarmd/kalarmdE.pro | 282 | kalarmd/Makefile$(PLATFORM): kalarmd/kalarmdE.pro |
283 | cd kalarmd; tmake "CONFIG+=$(RELEASE_DEBUG)" "VERSION=$(KDEPIM_VERSION)" kalarmdE.pro -o Makefile$(PLATFORM) | 283 | cd kalarmd; tmake "CONFIG+=$(RELEASE_DEBUG)" "VERSION=$(KDEPIM_VERSION)" kalarmdE.pro -o Makefile$(PLATFORM) |
284 | 284 | ||
285 | korganizer/Makefile$(PLATFORM): korganizer/korganizerE.pro | 285 | korganizer/Makefile$(PLATFORM): korganizer/korganizerE.pro |
286 | cd korganizer; tmake "CONFIG+=$(RELEASE_DEBUG)" "VERSION=$(KDEPIM_VERSION)" korganizerE.pro -o Makefile$(PLATFORM) | 286 | cd korganizer; tmake "CONFIG+=$(RELEASE_DEBUG)" "VERSION=$(KDEPIM_VERSION)" korganizerE.pro -o Makefile$(PLATFORM) |
287 | 287 | ||
288 | libical/src/libical/Makefile$(PLATFORM): libical/src/libical/libicalE.pro | 288 | libical/src/libical/Makefile$(PLATFORM): libical/src/libical/libicalE.pro |
289 | cd libical/src/libical; tmake "CONFIG+=$(RELEASE_DEBUG)" "VERSION=$(KDEPIM_VERSION)" libicalE.pro -o Makefile$(PLATFORM) | 289 | cd libical/src/libical; tmake "CONFIG+=$(RELEASE_DEBUG)" "VERSION=$(KDEPIM_VERSION)" libicalE.pro -o Makefile$(PLATFORM) |
290 | 290 | ||
diff --git a/Makefile.Embedded b/Makefile.Embedded index 6a8521f..84f909e 100644 --- a/Makefile.Embedded +++ b/Makefile.Embedded | |||
@@ -181,110 +181,110 @@ variable_test: variable_info | |||
181 | @echo QTOPIA PLUGIN will not be build, because BUILD_NO__QTOPIA_PLUGIN is set to $(BUILD_NO__QTOPIA_PLUGIN) | 181 | @echo QTOPIA PLUGIN will not be build, because BUILD_NO__QTOPIA_PLUGIN is set to $(BUILD_NO__QTOPIA_PLUGIN) |
182 | endif | 182 | endif |
183 | ifdef BUILD_NO_MICROMAIL | 183 | ifdef BUILD_NO_MICROMAIL |
184 | @echo MICROMAIL will not be build, because BUILD_NO_MICROMAIL is set to $(BUILD_NO_MICROMAIL) | 184 | @echo MICROMAIL will not be build, because BUILD_NO_MICROMAIL is set to $(BUILD_NO_MICROMAIL) |
185 | endif | 185 | endif |
186 | ifdef BUILD_NO_SHARP_PLUGIN | 186 | ifdef BUILD_NO_SHARP_PLUGIN |
187 | @echo SHARP PLUGIN will not be build, because BUILD_NO_SHARP_PLUGIN is set to $(BUILD_NO_SHARP_PLUGIN) | 187 | @echo SHARP PLUGIN will not be build, because BUILD_NO_SHARP_PLUGIN is set to $(BUILD_NO_SHARP_PLUGIN) |
188 | else | 188 | else |
189 | ifndef SHARPDTMSDK | 189 | ifndef SHARPDTMSDK |
190 | @echo SHARP PLUGIN can not be build, because SHARPDTMSDK is set to $(SHARPDTMSDK) | 190 | @echo SHARP PLUGIN can not be build, because SHARPDTMSDK is set to $(SHARPDTMSDK) |
191 | $(error SHARPDTMSDK is not defined) | 191 | $(error SHARPDTMSDK is not defined) |
192 | endif | 192 | endif |
193 | endif | 193 | endif |
194 | ifdef BUILD_NO_GAMMU | 194 | ifdef BUILD_NO_GAMMU |
195 | @echo GAMMU will not be build, because BUILD_NO_GAMMU is set to $(BUILD_NO_GAMMU) | 195 | @echo GAMMU will not be build, because BUILD_NO_GAMMU is set to $(BUILD_NO_GAMMU) |
196 | endif | 196 | endif |
197 | ifdef BUILD_NO_PWMANAGER | 197 | ifdef BUILD_NO_PWMANAGER |
198 | @echo PWMANAGER will not be build, because BUILD_NO_PWMANAGER is set to $(BUILD_NO_PWMANAGER) | 198 | @echo PWMANAGER will not be build, because BUILD_NO_PWMANAGER is set to $(BUILD_NO_PWMANAGER) |
199 | endif | 199 | endif |
200 | @echo -------------------------------------- | 200 | @echo -------------------------------------- |
201 | 201 | ||
202 | 202 | ||
203 | objects: | 203 | objects: |
204 | for i in $(SUBDIRS); do mkdir -p $$i/obj/$(PLATFORM); done | 204 | for i in $(SUBDIRS); do mkdir -p $$i/obj/$(PLATFORM); done |
205 | for i in $(SUBDIRS); do mkdir -p $$i/moc/$(PLATFORM); done | 205 | for i in $(SUBDIRS); do mkdir -p $$i/moc/$(PLATFORM); done |
206 | mkdir -p libical/lib/$(PLATFORM) | 206 | mkdir -p libical/lib/$(PLATFORM) |
207 | 207 | ||
208 | clean: | 208 | clean: |
209 | rm -rf libical/lib/$(PLATFORM)/*; | 209 | rm -rf libical/lib/$(PLATFORM)/*; |
210 | for i in $(SUBDIRS); do pushd $$i; make clean; rm -f *~;\ | 210 | for i in $(SUBDIRS); do pushd $$i; make clean; rm -f *~;\ |
211 | rm -f obj/$(PLATFORM)/*; rm -f moc/$(PLATFORM)/*; rm Makefile$(PLATFORM); popd; \ | 211 | rm -f obj/$(PLATFORM)/*; rm -f moc/$(PLATFORM)/*; rm Makefile$(PLATFORM); popd; \ |
212 | done | 212 | done |
213 | 213 | ||
214 | install: | 214 | install: |
215 | 215 | ||
216 | cd bin/kdepim; make install | 216 | cd bin/kdepim; make install |
217 | cp -r Pim $(QPEDIR)/apps | 217 | cp -r Pim $(QPEDIR)/apps |
218 | cp db2file/db2file $(QPEDIR)/bin/db2file | 218 | cp db2file/db2file $(QPEDIR)/bin/db2file |
219 | cp korganizer/korganizer.desktop $(QPEDIR)/apps/Pim/korganizer.desktop | 219 | cp korganizer/korganizer.desktop $(QPEDIR)/apps/Pim/korganizer.desktop |
220 | cp kaddressbook/kaddressbook.desktop $(QPEDIR)/apps/Pim/kaddressbook.desktop | 220 | cp kaddressbook/kaddressbook.desktop $(QPEDIR)/apps/Pim/kaddressbook.desktop |
221 | cp kmicromail/kmicromail.desktop $(QPEDIR)/apps/Pim/kopiemail.desktop | 221 | cp kmicromail/kmicromail.desktop $(QPEDIR)/apps/Pim/kopiemail.desktop |
222 | cp pwmanager/pwmanager/pwmanager.desktop $(QPEDIR)/apps/Pim/pwmanager.desktop | 222 | cp pwmanager/pwmanager/pwmanager.desktop $(QPEDIR)/apps/Pim/pwmanager.desktop |
223 | 223 | ||
224 | dist: | 224 | dist: |
225 | @echo Dont forget to do "make install" before "make dist" | 225 | @echo Dont forget to do "make install" before "make dist" |
226 | rm -f *arm.ipk | 226 | rm -f *arm.ipk |
227 | rm -f *~ | 227 | rm -f *~ |
228 | cd ..; tar czf kdepim.src.tar.gz --exclude=obj --exclude=moc --exclude=CVS --exclude=Makefilezaurus --exclude=Makefileqtopia kdepim | 228 | cd ..; tar czf kdepim.src.tar.gz --exclude=obj --exclude=moc --exclude=CVS --exclude=Makefilezaurus --exclude=Makefileqtopia kdepim |
229 | ./mkipks kmicrokdelibs.control | 229 | mkipks kmicrokdelibs.control |
230 | ./mkipks korganizer.control | 230 | mkipks korganizer.control |
231 | ./mkipks kaddressbook.control | 231 | mkipks kaddressbook.control |
232 | ifndef BUILD_NO_MICROMAIL | 232 | ifndef BUILD_NO_MICROMAIL |
233 | ./mkipks kopiemail.control | 233 | mkipks kopiemail.control |
234 | endif | 234 | endif |
235 | ./mkipks korganizer-alarm.control | 235 | mkipks korganizer-alarm.control |
236 | ifndef BUILD_NO_GAMMU | 236 | ifndef BUILD_NO_GAMMU |
237 | ./mkipks phoneaccess.control | 237 | mkipks phoneaccess.control |
238 | endif | 238 | endif |
239 | ifndef BUILD_NO_PWMANAGER | 239 | ifndef BUILD_NO_PWMANAGER |
240 | ./mkipks pwmanager.control | 240 | mkipks pwmanager.control |
241 | endif | 241 | endif |
242 | ./mkipks pim_TAB_icon.control | 242 | mkipks pim_TAB_icon.control |
243 | 243 | ||
244 | tmake: objects \ | 244 | tmake: objects \ |
245 | qtcompat/Makefile$(PLATFORM) \ | 245 | qtcompat/Makefile$(PLATFORM) \ |
246 | microkde/Makefile$(PLATFORM) \ | 246 | microkde/Makefile$(PLATFORM) \ |
247 | libkcal/Makefile$(PLATFORM) \ | 247 | libkcal/Makefile$(PLATFORM) \ |
248 | libkdepim/Makefile$(PLATFORM) \ | 248 | libkdepim/Makefile$(PLATFORM) \ |
249 | korganizer/Makefile$(PLATFORM) \ | 249 | korganizer/Makefile$(PLATFORM) \ |
250 | kalarmd/Makefile$(PLATFORM) \ | 250 | kalarmd/Makefile$(PLATFORM) \ |
251 | libical/src/libical/Makefile$(PLATFORM) \ | 251 | libical/src/libical/Makefile$(PLATFORM) \ |
252 | libical/src/libicalss/Makefile$(PLATFORM) \ | 252 | libical/src/libicalss/Makefile$(PLATFORM) \ |
253 | kabc/Makefile$(PLATFORM) \ | 253 | kabc/Makefile$(PLATFORM) \ |
254 | kabc/formats/binary/Makefile$(PLATFORM) \ | 254 | kabc/formats/binary/Makefile$(PLATFORM) \ |
255 | kabc/plugins/file/Makefile$(PLATFORM) \ | 255 | kabc/plugins/file/Makefile$(PLATFORM) \ |
256 | kabc/plugins/dir/Makefile$(PLATFORM) \ | 256 | kabc/plugins/dir/Makefile$(PLATFORM) \ |
257 | kabc/plugins/ldap/Makefile$(PLATFORM) \ | 257 | kabc/plugins/ldap/Makefile$(PLATFORM) \ |
258 | kabc/plugins/opie/Makefile$(PLATFORM) \ | 258 | kabc/plugins/opie/Makefile$(PLATFORM) \ |
259 | kabc/plugins/qtopia/Makefile$(PLATFORM) \ | 259 | kabc/plugins/qtopia/Makefile$(PLATFORM) \ |
260 | kabc/plugins/sharpdtm/Makefile$(PLATFORM) \ | 260 | kabc/plugins/sharpdtm/Makefile$(PLATFORM) \ |
261 | kaddressbook/Makefile$(PLATFORM) \ | 261 | kaddressbook/Makefile$(PLATFORM) \ |
262 | kmicromail/Makefile$(PLATFORM) \ | 262 | kmicromail/Makefile$(PLATFORM) \ |
263 | kmicromail/libetpan/Makefile$(PLATFORM) \ | 263 | kmicromail/libetpan/Makefile$(PLATFORM) \ |
264 | kmicromail/libmailwrapper/Makefile$(PLATFORM) \ | 264 | kmicromail/libmailwrapper/Makefile$(PLATFORM) \ |
265 | gammu/emb/common/Makefile$(PLATFORM) \ | 265 | gammu/emb/common/Makefile$(PLATFORM) \ |
266 | gammu/emb/gammu/Makefile$(PLATFORM) \ | 266 | gammu/emb/gammu/Makefile$(PLATFORM) \ |
267 | pwmanager/pwmanager/Makefile$(PLATFORM) \ | 267 | pwmanager/pwmanager/Makefile$(PLATFORM) \ |
268 | 268 | ||
269 | qtcompat/Makefile$(PLATFORM): qtcompat/qtcompat.pro | 269 | qtcompat/Makefile$(PLATFORM): qtcompat/qtcompat.pro |
270 | cd qtcompat; tmake "CONFIG+=$(RELEASE_DEBUG)" "VERSION=$(KDEPIM_VERSION)" qtcompat.pro -o Makefile$(PLATFORM) | 270 | cd qtcompat; tmake "CONFIG+=$(RELEASE_DEBUG)" "VERSION=$(KDEPIM_VERSION)" qtcompat.pro -o Makefile$(PLATFORM) |
271 | 271 | ||
272 | microkde/Makefile$(PLATFORM): microkde/microkdeE.pro | 272 | microkde/Makefile$(PLATFORM): microkde/microkdeE.pro |
273 | cd microkde; tmake "CONFIG+=$(RELEASE_DEBUG)" "VERSION=$(KDEPIM_VERSION)" microkdeE.pro -o Makefile$(PLATFORM) | 273 | cd microkde; tmake "CONFIG+=$(RELEASE_DEBUG)" "VERSION=$(KDEPIM_VERSION)" microkdeE.pro -o Makefile$(PLATFORM) |
274 | 274 | ||
275 | libkcal/Makefile$(PLATFORM): libkcal/libkcalE.pro | 275 | libkcal/Makefile$(PLATFORM): libkcal/libkcalE.pro |
276 | cd libkcal; tmake "CONFIG+=$(RELEASE_DEBUG)" "VERSION=$(KDEPIM_VERSION)" libkcalE.pro -o Makefile$(PLATFORM) | 276 | cd libkcal; tmake "CONFIG+=$(RELEASE_DEBUG)" "VERSION=$(KDEPIM_VERSION)" libkcalE.pro -o Makefile$(PLATFORM) |
277 | 277 | ||
278 | 278 | ||
279 | libkdepim/Makefile$(PLATFORM): libkdepim/libkdepimE.pro | 279 | libkdepim/Makefile$(PLATFORM): libkdepim/libkdepimE.pro |
280 | cd libkdepim; tmake "CONFIG+=$(RELEASE_DEBUG)" "VERSION=$(KDEPIM_VERSION)" libkdepimE.pro -o Makefile$(PLATFORM) | 280 | cd libkdepim; tmake "CONFIG+=$(RELEASE_DEBUG)" "VERSION=$(KDEPIM_VERSION)" libkdepimE.pro -o Makefile$(PLATFORM) |
281 | 281 | ||
282 | kalarmd/Makefile$(PLATFORM): kalarmd/kalarmdE.pro | 282 | kalarmd/Makefile$(PLATFORM): kalarmd/kalarmdE.pro |
283 | cd kalarmd; tmake "CONFIG+=$(RELEASE_DEBUG)" "VERSION=$(KDEPIM_VERSION)" kalarmdE.pro -o Makefile$(PLATFORM) | 283 | cd kalarmd; tmake "CONFIG+=$(RELEASE_DEBUG)" "VERSION=$(KDEPIM_VERSION)" kalarmdE.pro -o Makefile$(PLATFORM) |
284 | 284 | ||
285 | korganizer/Makefile$(PLATFORM): korganizer/korganizerE.pro | 285 | korganizer/Makefile$(PLATFORM): korganizer/korganizerE.pro |
286 | cd korganizer; tmake "CONFIG+=$(RELEASE_DEBUG)" "VERSION=$(KDEPIM_VERSION)" korganizerE.pro -o Makefile$(PLATFORM) | 286 | cd korganizer; tmake "CONFIG+=$(RELEASE_DEBUG)" "VERSION=$(KDEPIM_VERSION)" korganizerE.pro -o Makefile$(PLATFORM) |
287 | 287 | ||
288 | libical/src/libical/Makefile$(PLATFORM): libical/src/libical/libicalE.pro | 288 | libical/src/libical/Makefile$(PLATFORM): libical/src/libical/libicalE.pro |
289 | cd libical/src/libical; tmake "CONFIG+=$(RELEASE_DEBUG)" "VERSION=$(KDEPIM_VERSION)" libicalE.pro -o Makefile$(PLATFORM) | 289 | cd libical/src/libical; tmake "CONFIG+=$(RELEASE_DEBUG)" "VERSION=$(KDEPIM_VERSION)" libicalE.pro -o Makefile$(PLATFORM) |
290 | 290 | ||
diff --git a/libkdepim/ksyncmanager.cpp b/libkdepim/ksyncmanager.cpp index 8851097..40d8e47 100644 --- a/libkdepim/ksyncmanager.cpp +++ b/libkdepim/ksyncmanager.cpp | |||
@@ -736,97 +736,101 @@ QString KSyncManager::getPassword( ) | |||
736 | lab.setEchoMode( QLineEdit::Password ); | 736 | lab.setEchoMode( QLineEdit::Password ); |
737 | QVBoxLayout lay( &dia ); | 737 | QVBoxLayout lay( &dia ); |
738 | lay.setMargin(7); | 738 | lay.setMargin(7); |
739 | lay.setSpacing(7); | 739 | lay.setSpacing(7); |
740 | lay.addWidget( &lab); | 740 | lay.addWidget( &lab); |
741 | dia.setFixedSize( 230,50 ); | 741 | dia.setFixedSize( 230,50 ); |
742 | dia.setCaption( i18n("Enter password") ); | 742 | dia.setCaption( i18n("Enter password") ); |
743 | QPushButton pb ( "OK", &dia); | 743 | QPushButton pb ( "OK", &dia); |
744 | lay.addWidget( &pb ); | 744 | lay.addWidget( &pb ); |
745 | connect(&pb, SIGNAL( clicked() ), &dia, SLOT ( accept() ) ); | 745 | connect(&pb, SIGNAL( clicked() ), &dia, SLOT ( accept() ) ); |
746 | dia.show(); | 746 | dia.show(); |
747 | int res = dia.exec(); | 747 | int res = dia.exec(); |
748 | if ( res ) | 748 | if ( res ) |
749 | retfile = lab.text(); | 749 | retfile = lab.text(); |
750 | dia.hide(); | 750 | dia.hide(); |
751 | qApp->processEvents(); | 751 | qApp->processEvents(); |
752 | return retfile; | 752 | return retfile; |
753 | 753 | ||
754 | } | 754 | } |
755 | 755 | ||
756 | 756 | ||
757 | void KSyncManager::confSync() | 757 | void KSyncManager::confSync() |
758 | { | 758 | { |
759 | static KSyncPrefsDialog* sp = 0; | 759 | static KSyncPrefsDialog* sp = 0; |
760 | if ( ! sp ) { | 760 | if ( ! sp ) { |
761 | sp = new KSyncPrefsDialog( mParent, "syncprefs", true ); | 761 | sp = new KSyncPrefsDialog( mParent, "syncprefs", true ); |
762 | } | 762 | } |
763 | sp->usrReadConfig(); | 763 | sp->usrReadConfig(); |
764 | #ifndef DESKTOP_VERSION | 764 | #ifndef DESKTOP_VERSION |
765 | sp->showMaximized(); | 765 | sp->showMaximized(); |
766 | #else | 766 | #else |
767 | sp->show(); | 767 | sp->show(); |
768 | #endif | 768 | #endif |
769 | sp->exec(); | 769 | sp->exec(); |
770 | mSyncProfileNames = sp->getSyncProfileNames(); | 770 | mSyncProfileNames = sp->getSyncProfileNames(); |
771 | mLocalMachineName = sp->getLocalMachineName (); | 771 | mLocalMachineName = sp->getLocalMachineName (); |
772 | QTimer::singleShot ( 1, this, SLOT ( fillSyncMenu() ) ); | 772 | QTimer::singleShot ( 1, this, SLOT ( fillSyncMenu() ) ); |
773 | } | 773 | } |
774 | void KSyncManager::syncKDE() | 774 | void KSyncManager::syncKDE() |
775 | { | 775 | { |
776 | emit save(); | 776 | emit save(); |
777 | switch(mTargetApp) | 777 | switch(mTargetApp) |
778 | { | 778 | { |
779 | case (KAPI): | 779 | case (KAPI): |
780 | 780 | ||
781 | break; | 781 | break; |
782 | case (KOPI): | 782 | case (KOPI): |
783 | { | 783 | { |
784 | QString command = qApp->applicationDirPath () + "/kdecaldump"; | 784 | #ifdef DESKTOP_VERSION |
785 | QString command = qApp->applicationDirPath () + "/kdecaldump"; | ||
786 | #else | ||
787 | QString command = "kdecaldump"; | ||
788 | #endif | ||
785 | if ( ! QFile::exists ( command ) ) | 789 | if ( ! QFile::exists ( command ) ) |
786 | command = "kdecaldump"; | 790 | command = "kdecaldump"; |
787 | QString fileName = QDir::homeDirPath ()+"/.kdecalendardump.ics"; | 791 | QString fileName = QDir::homeDirPath ()+"/.kdecalendardump.ics"; |
788 | system ( command.latin1()); | 792 | system ( command.latin1()); |
789 | if ( syncWithFile( fileName,true ) ) { | 793 | if ( syncWithFile( fileName,true ) ) { |
790 | if ( mWriteBackFile ) { | 794 | if ( mWriteBackFile ) { |
791 | command += " --read"; | 795 | command += " --read"; |
792 | system ( command.latin1()); | 796 | system ( command.latin1()); |
793 | } | 797 | } |
794 | } | 798 | } |
795 | 799 | ||
796 | } | 800 | } |
797 | break; | 801 | break; |
798 | case (PWMPI): | 802 | case (PWMPI): |
799 | 803 | ||
800 | break; | 804 | break; |
801 | default: | 805 | default: |
802 | qDebug("KSyncManager::slotSyncMenu: invalid apptype selected"); | 806 | qDebug("KSyncManager::slotSyncMenu: invalid apptype selected"); |
803 | break; | 807 | break; |
804 | 808 | ||
805 | } | 809 | } |
806 | } | 810 | } |
807 | 811 | ||
808 | void KSyncManager::syncSharp() | 812 | void KSyncManager::syncSharp() |
809 | { | 813 | { |
810 | 814 | ||
811 | if ( ! syncExternalApplication("sharp") ) | 815 | if ( ! syncExternalApplication("sharp") ) |
812 | qDebug("ERROR sync sharp "); | 816 | qDebug("ERROR sync sharp "); |
813 | } | 817 | } |
814 | 818 | ||
815 | bool KSyncManager::syncExternalApplication(QString resource) | 819 | bool KSyncManager::syncExternalApplication(QString resource) |
816 | { | 820 | { |
817 | 821 | ||
818 | emit save(); | 822 | emit save(); |
819 | 823 | ||
820 | if ( mAskForPreferences ) | 824 | if ( mAskForPreferences ) |
821 | edit_sync_options(); | 825 | edit_sync_options(); |
822 | 826 | ||
823 | qDebug("Sync extern %s", resource.latin1()); | 827 | qDebug("Sync extern %s", resource.latin1()); |
824 | 828 | ||
825 | bool syncOK = mImplementation->syncExternal(this, resource); | 829 | bool syncOK = mImplementation->syncExternal(this, resource); |
826 | 830 | ||
827 | return syncOK; | 831 | return syncOK; |
828 | 832 | ||
829 | } | 833 | } |
830 | 834 | ||
831 | void KSyncManager::syncPhone() | 835 | void KSyncManager::syncPhone() |
832 | { | 836 | { |
@@ -1 +1 @@ | |||
version = "1.9.7"; | version = "1.9.8"; | ||