-rw-r--r-- | Makefile | 11 | ||||
-rw-r--r-- | Makefile.Embedded | 2 | ||||
-rw-r--r-- | bin/kdepim/korganizer/howtoSYNC.txt | 2 | ||||
-rw-r--r-- | gammu/emb/gammu/gammu.c | 2 | ||||
-rw-r--r-- | phoneaccess.control (renamed from kammu.control) | 0 |
5 files changed, 9 insertions, 8 deletions
@@ -1,125 +1,126 @@ | |||
1 | export KDEPIMDIR = $(shell pwd) | 1 | export KDEPIMDIR = $(shell pwd) |
2 | 2 | ||
3 | export KDEPIM_VERSION=$(shell sed -e 's/.*\"\([0-9]*\.[0-9]*\.[0-9]*\).*/\1/' < version) | 3 | export KDEPIM_VERSION=$(shell sed -e 's/.*\"\([0-9]*\.[0-9]*\.[0-9]*\).*/\1/' < version) |
4 | 4 | ||
5 | ifeq ($(PLATFORM) , zaurus) | 5 | ifeq ($(PLATFORM) , zaurus) |
6 | BUILD_NO_LDAP_PLUGIN=1 | 6 | BUILD_NO_LDAP_PLUGIN=1 |
7 | endif | 7 | endif |
8 | 8 | ||
9 | ifneq ($(PLATFORM) , zaurus) | 9 | ifneq ($(PLATFORM) , zaurus) |
10 | BUILD_NO_SHARP_PLUGIN=1 | 10 | BUILD_NO_SHARP_PLUGIN=1 |
11 | endif | 11 | endif |
12 | 12 | ||
13 | SUBDIRS_MICROKDE = \ | 13 | SUBDIRS_MICROKDE = \ |
14 | libical/src/libical \ | 14 | libical/src/libical \ |
15 | libical/src/libicalss \ | 15 | libical/src/libicalss \ |
16 | qtcompat \ | 16 | qtcompat \ |
17 | microkde \ | 17 | microkde \ |
18 | libkcal \ | 18 | libkcal \ |
19 | libkdepim \ | 19 | libkdepim \ |
20 | kabc \ | 20 | kabc \ |
21 | kabc/formats/binary \ | 21 | kabc/formats/binary \ |
22 | kabc/plugins/file \ | 22 | kabc/plugins/file \ |
23 | kabc/plugins/dir \ | 23 | kabc/plugins/dir \ |
24 | korganizer \ | 24 | korganizer \ |
25 | kalarmd \ | 25 | kalarmd \ |
26 | kaddressbook | 26 | kaddressbook |
27 | 27 | ||
28 | SUBDIRS_QTOPIA_PLUGIN = \ | 28 | SUBDIRS_QTOPIA_PLUGIN = \ |
29 | kabc/plugins/qtopia | 29 | kabc/plugins/qtopia |
30 | 30 | ||
31 | SUBDIRS_OPIE_PLUGIN = \ | 31 | SUBDIRS_OPIE_PLUGIN = \ |
32 | kabc/plugins/opie | 32 | kabc/plugins/opie |
33 | 33 | ||
34 | SUBDIRS_SHARP_PLUGIN = \ | 34 | SUBDIRS_SHARP_PLUGIN = \ |
35 | kabc/plugins/sharpdtm | 35 | kabc/plugins/sharpdtm |
36 | 36 | ||
37 | SUBDIRS_LDAP_PLUGIN = \ | 37 | SUBDIRS_LDAP_PLUGIN = \ |
38 | kabc/plugins/ldap | 38 | kabc/plugins/ldap |
39 | 39 | ||
40 | SUBDIRS_MICROMAIL = \ | 40 | SUBDIRS_MICROMAIL = \ |
41 | kmicromail/libetpan \ | 41 | kmicromail/libetpan \ |
42 | kmicromail/libmailwrapper \ | 42 | kmicromail/libmailwrapper \ |
43 | kmicromail | 43 | kmicromail |
44 | 44 | ||
45 | SUBDIRS_GAMMU = \ | 45 | SUBDIRS_GAMMU = \ |
46 | gammu/emb/common \ | 46 | gammu/emb/common \ |
47 | gammu/emb/gammu | 47 | gammu/emb/gammu |
48 | 48 | ||
49 | SUBDIRS_PWMANAGER = \ | 49 | SUBDIRS_PWMANAGER = \ |
50 | pwmanager/pwmanager | 50 | pwmanager/pwmanager |
51 | 51 | ||
52 | SUBDIRS = \ | 52 | SUBDIRS = \ |
53 | $(SUBDIRS_MICROKDE) \ | 53 | $(SUBDIRS_MICROKDE) \ |
54 | $(SUBDIRS_QTOPIA_PLUGIN) \ | 54 | $(SUBDIRS_QTOPIA_PLUGIN) \ |
55 | $(SUBDIRS_OPIE_PLUGIN) \ | 55 | $(SUBDIRS_OPIE_PLUGIN) \ |
56 | $(SUBDIRS_SHARP_PLUGIN) \ | 56 | $(SUBDIRS_SHARP_PLUGIN) \ |
57 | $(SUBDIRS_LDAP_PLUGIN) \ | 57 | $(SUBDIRS_LDAP_PLUGIN) \ |
58 | $(SUBDIRS_MICROMAIL) \ | 58 | $(SUBDIRS_MICROMAIL) \ |
59 | $(SUBDIRS_GAMMU) \ | 59 | $(SUBDIRS_GAMMU) \ |
60 | $(SUBDIRS_PWMANAGER) | 60 | $(SUBDIRS_PWMANAGER) |
61 | 61 | ||
62 | |||
62 | all: build_microkde \ | 63 | all: build_microkde \ |
63 | build_qtopia_plugin \ | 64 | build_qtopia_plugin \ |
64 | build_opie_plugin \ | 65 | build_opie_plugin \ |
65 | build_sharp_plugin \ | 66 | build_sharp_plugin \ |
66 | build_ldap_plugin \ | 67 | build_ldap_plugin \ |
67 | build_micromail \ | 68 | build_micromail \ |
68 | build_gammu \ | 69 | build_gammu \ |
69 | build_pwmanager | 70 | build_pwmanager |
70 | 71 | ||
71 | 72 | ||
72 | build_microkde: variable_test tmake | 73 | build_microkde: variable_test tmake |
73 | for i in $(SUBDIRS_MICROKDE); do pushd $$i; \ | 74 | for i in $(SUBDIRS_MICROKDE); do pushd $$i; \ |
74 | make -f Makefile$(PLATFORM) || exit 1; popd; \ | 75 | make -f Makefile$(PLATFORM) || exit 1; popd; \ |
75 | done | 76 | done |
76 | 77 | ||
77 | build_qtopia_plugin: build_microkde | 78 | build_qtopia_plugin: build_microkde |
78 | for i in $(SUBDIRS_QTOPIA_PLUGIN); do pushd $$i; \ | 79 | for i in $(SUBDIRS_QTOPIA_PLUGIN); do pushd $$i; \ |
79 | make -f Makefile$(PLATFORM) || exit 1; popd; \ | 80 | make -f Makefile$(PLATFORM) || exit 1; popd; \ |
80 | done | 81 | done |
81 | 82 | ||
82 | build_opie_plugin: build_microkde | 83 | build_opie_plugin: build_microkde |
83 | ifdef BUILD_NO_OPIE_PLUGIN | 84 | ifdef BUILD_NO_OPIE_PLUGIN |
84 | @echo == opie plugin not build. | 85 | @echo == opie plugin not build. |
85 | else | 86 | else |
86 | for i in $(SUBDIRS_OPIE_PLUGIN); do pushd $$i; \ | 87 | for i in $(SUBDIRS_OPIE_PLUGIN); do pushd $$i; \ |
87 | make -f Makefile$(PLATFORM) || exit 1; popd; \ | 88 | make -f Makefile$(PLATFORM) || exit 1; popd; \ |
88 | done | 89 | done |
89 | endif | 90 | endif |
90 | 91 | ||
91 | build_sharp_plugin: build_microkde | 92 | build_sharp_plugin: build_microkde |
92 | ifdef BUILD_NO_SHARP_PLUGIN | 93 | ifdef BUILD_NO_SHARP_PLUGIN |
93 | @echo == ldap plugin not build. | 94 | @echo == ldap plugin not build. |
94 | else | 95 | else |
95 | for i in $(SUBDIRS_SHARP_PLUGIN); do pushd $$i; \ | 96 | for i in $(SUBDIRS_SHARP_PLUGIN); do pushd $$i; \ |
96 | make -f Makefile$(PLATFORM) || exit 1; popd; \ | 97 | make -f Makefile$(PLATFORM) || exit 1; popd; \ |
97 | done | 98 | done |
98 | endif | 99 | endif |
99 | 100 | ||
100 | build_ldap_plugin: build_microkde | 101 | build_ldap_plugin: build_microkde |
101 | ifdef BUILD_NO_LDAP_PLUGIN | 102 | ifdef BUILD_NO_LDAP_PLUGIN |
102 | @echo == ldap plugin not build. | 103 | @echo == ldap plugin not build. |
103 | else | 104 | else |
104 | for i in $(SUBDIRS_LDAP_PLUGIN); do pushd $$i; \ | 105 | for i in $(SUBDIRS_LDAP_PLUGIN); do pushd $$i; \ |
105 | make -f Makefile$(PLATFORM) || exit 1; popd; \ | 106 | make -f Makefile$(PLATFORM) || exit 1; popd; \ |
106 | done | 107 | done |
107 | endif | 108 | endif |
108 | 109 | ||
109 | 110 | ||
110 | build_micromail: build_microkde | 111 | build_micromail: build_microkde |
111 | ifdef BUILD_NO_MICROMAIL | 112 | ifdef BUILD_NO_MICROMAIL |
112 | @echo == kmicromail not build. | 113 | @echo == kmicromail not build. |
113 | else | 114 | else |
114 | for i in $(SUBDIRS_MICROMAIL); do pushd $$i; \ | 115 | for i in $(SUBDIRS_MICROMAIL); do pushd $$i; \ |
115 | make -f Makefile$(PLATFORM) || exit 1; popd; \ | 116 | make -f Makefile$(PLATFORM) || exit 1; popd; \ |
116 | done | 117 | done |
117 | endif | 118 | endif |
118 | 119 | ||
119 | build_gammu: variable_test tmake | 120 | build_gammu: variable_test tmake |
120 | ifdef BUILD_NO_GAMMU | 121 | ifdef BUILD_NO_GAMMU |
121 | @echo == gammu not build. | 122 | @echo == gammu not build. |
122 | else | 123 | else |
123 | for i in $(SUBDIRS_GAMMU); do pushd $$i; \ | 124 | for i in $(SUBDIRS_GAMMU); do pushd $$i; \ |
124 | make -f Makefile$(PLATFORM) || exit 1; popd; \ | 125 | make -f Makefile$(PLATFORM) || exit 1; popd; \ |
125 | done | 126 | done |
@@ -140,190 +141,190 @@ variable_info: | |||
140 | @echo KDEPIM buildsystem, variableinfo... | 141 | @echo KDEPIM buildsystem, variableinfo... |
141 | @echo KDEPIMDIR=$(KDEPIMDIR) | 142 | @echo KDEPIMDIR=$(KDEPIMDIR) |
142 | @echo QTDIR=$(QTDIR) | 143 | @echo QTDIR=$(QTDIR) |
143 | @echo QPEDIR=$(QPEDIR) | 144 | @echo QPEDIR=$(QPEDIR) |
144 | @echo OPIEDIR=$(OPIEDIR) | 145 | @echo OPIEDIR=$(OPIEDIR) |
145 | @echo PLATFORM=$(PLATFORM) | 146 | @echo PLATFORM=$(PLATFORM) |
146 | @echo RELEASE_DEBUG=$(RELEASE_DEBUG) | 147 | @echo RELEASE_DEBUG=$(RELEASE_DEBUG) |
147 | @echo BUILD_NO_MICROMAIL=$(BUILD_NO_MICROMAIL) | 148 | @echo BUILD_NO_MICROMAIL=$(BUILD_NO_MICROMAIL) |
148 | @echo BUILD_NO_LDAP_PLUGIN=$(BUILD_NO_LDAP_PLUGIN) | 149 | @echo BUILD_NO_LDAP_PLUGIN=$(BUILD_NO_LDAP_PLUGIN) |
149 | @echo BUILD_NO_OPIE_PLUGIN=$(BUILD_NO_OPIE_PLUGIN) | 150 | @echo BUILD_NO_OPIE_PLUGIN=$(BUILD_NO_OPIE_PLUGIN) |
150 | @echo BUILD_NO_SHARP_PLUGIN=$(BUILD_NO_SHARP_PLUGIN) | 151 | @echo BUILD_NO_SHARP_PLUGIN=$(BUILD_NO_SHARP_PLUGIN) |
151 | ifndef BUILD_NO_SHARP_PLUGIN | 152 | ifndef BUILD_NO_SHARP_PLUGIN |
152 | @echo SHARPDTMSDK=$(SHARPDTMSDK) | 153 | @echo SHARPDTMSDK=$(SHARPDTMSDK) |
153 | endif | 154 | endif |
154 | @echo BUILD_NO_GAMMU=$(BUILD_NO_GAMMU) | 155 | @echo BUILD_NO_GAMMU=$(BUILD_NO_GAMMU) |
155 | @echo BUILD_NO_PWMANAGER=$(BUILD_NO_PWMANAGER) | 156 | @echo BUILD_NO_PWMANAGER=$(BUILD_NO_PWMANAGER) |
156 | @echo -------------------------------------- | 157 | @echo -------------------------------------- |
157 | 158 | ||
158 | variable_test: variable_info | 159 | variable_test: variable_info |
159 | @echo KDEPIM buildsystem, variablecheck... | 160 | @echo KDEPIM buildsystem, variablecheck... |
160 | ifndef KDEPIMDIR | 161 | ifndef KDEPIMDIR |
161 | @echo KDEPIMDIR is not defined. | 162 | @echo KDEPIMDIR is not defined. |
162 | $(error KDEPIMDIR is not defined) | 163 | $(error KDEPIMDIR is not defined) |
163 | endif | 164 | endif |
164 | ifndef PLATFORM | 165 | ifndef PLATFORM |
165 | @echo PLATFORM is not defined. | 166 | @echo PLATFORM is not defined. |
166 | $(error PLATFORM is not defined) | 167 | $(error PLATFORM is not defined) |
167 | endif | 168 | endif |
168 | ifdef BUILD_NO_LDAP_PLUGIN | 169 | ifdef BUILD_NO_LDAP_PLUGIN |
169 | @echo LDAP PLUGIN will not be build, because BUILD_NO_LDAP_PLUGIN is set to $(BUILD_NO_LDAP_PLUGIN) | 170 | @echo LDAP PLUGIN will not be build, because BUILD_NO_LDAP_PLUGIN is set to $(BUILD_NO_LDAP_PLUGIN) |
170 | endif | 171 | endif |
171 | ifdef BUILD_NO_OPIE_PLUGIN | 172 | ifdef BUILD_NO_OPIE_PLUGIN |
172 | @echo OPIE PLUGIN will not be build, because BUILD_NO_OPIE_PLUGIN is set to $(BUILD_NO_OPIE_PLUGIN) | 173 | @echo OPIE PLUGIN will not be build, because BUILD_NO_OPIE_PLUGIN is set to $(BUILD_NO_OPIE_PLUGIN) |
173 | endif | 174 | endif |
174 | ifdef BUILD_NO_MICROMAIL | 175 | ifdef BUILD_NO_MICROMAIL |
175 | @echo MICROMAIL will not be build, because BUILD_NO_MICROMAIL is set to $(BUILD_NO_MICROMAIL) | 176 | @echo MICROMAIL will not be build, because BUILD_NO_MICROMAIL is set to $(BUILD_NO_MICROMAIL) |
176 | endif | 177 | endif |
177 | ifdef BUILD_NO_SHARP_PLUGIN | 178 | ifdef BUILD_NO_SHARP_PLUGIN |
178 | @echo SHARP PLUGIN will not be build, because BUILD_NO_SHARP_PLUGIN is set to $(BUILD_NO_SHARP_PLUGIN) | 179 | @echo SHARP PLUGIN will not be build, because BUILD_NO_SHARP_PLUGIN is set to $(BUILD_NO_SHARP_PLUGIN) |
179 | else | 180 | else |
180 | ifndef SHARPDTMSDK | 181 | ifndef SHARPDTMSDK |
181 | @echo SHARP PLUGIN can not be build, because SHARPDTMSDK is set to $(SHARPDTMSDK) | 182 | @echo SHARP PLUGIN can not be build, because SHARPDTMSDK is set to $(SHARPDTMSDK) |
182 | $(error SHARPDTMSDK is not defined) | 183 | $(error SHARPDTMSDK is not defined) |
183 | endif | 184 | endif |
184 | endif | 185 | endif |
185 | ifdef BUILD_NO_GAMMU | 186 | ifdef BUILD_NO_GAMMU |
186 | @echo GAMMU will not be build, because BUILD_NO_GAMMU is set to $(BUILD_NO_GAMMU) | 187 | @echo GAMMU will not be build, because BUILD_NO_GAMMU is set to $(BUILD_NO_GAMMU) |
187 | endif | 188 | endif |
188 | ifdef BUILD_NO_PWMANAGER | 189 | ifdef BUILD_NO_PWMANAGER |
189 | @echo PWMANAGER will not be build, because BUILD_NO_PWMANAGER is set to $(BUILD_NO_PWMANAGER) | 190 | @echo PWMANAGER will not be build, because BUILD_NO_PWMANAGER is set to $(BUILD_NO_PWMANAGER) |
190 | endif | 191 | endif |
191 | @echo -------------------------------------- | 192 | @echo -------------------------------------- |
192 | 193 | ||
193 | 194 | ||
194 | objects: | 195 | objects: |
195 | for i in $(SUBDIRS); do mkdir -p $$i/obj/$(PLATFORM); done | 196 | for i in $(SUBDIRS); do mkdir -p $$i/obj/$(PLATFORM); done |
196 | for i in $(SUBDIRS); do mkdir -p $$i/moc/$(PLATFORM); done | 197 | for i in $(SUBDIRS); do mkdir -p $$i/moc/$(PLATFORM); done |
197 | mkdir -p libical/lib/$(PLATFORM) | 198 | mkdir -p libical/lib/$(PLATFORM) |
198 | 199 | ||
199 | clean: | 200 | clean: |
200 | rm -rf libical/lib/$(PLATFORM)/*; | 201 | rm -rf libical/lib/$(PLATFORM)/*; |
201 | for i in $(SUBDIRS); do pushd $$i; make clean; rm -f *~;\ | 202 | for i in $(SUBDIRS); do pushd $$i; make clean; rm -f *~;\ |
202 | rm -f obj/$(PLATFORM)/*; rm -f moc/$(PLATFORM)/*; rm Makefile$(PLATFORM); popd; \ | 203 | rm -f obj/$(PLATFORM)/*; rm -f moc/$(PLATFORM)/*; rm Makefile$(PLATFORM); popd; \ |
203 | done | 204 | done |
205 | |||
204 | install: | 206 | install: |
205 | 207 | ||
206 | cd bin/kdepim; make install | 208 | cd bin/kdepim; make install |
207 | cp -r Pim $(QPEDIR)/apps | 209 | cp -r Pim $(QPEDIR)/apps |
208 | cp db2file/db2file $(QPEDIR)/bin/db2file | 210 | cp db2file/db2file $(QPEDIR)/bin/db2file |
209 | cp korganizer/korganizer.desktop $(QPEDIR)/apps/Pim/korganizer.desktop | 211 | cp korganizer/korganizer.desktop $(QPEDIR)/apps/Pim/korganizer.desktop |
210 | cp kaddressbook/kaddressbook.desktop $(QPEDIR)/apps/Pim/kaddressbook.desktop | 212 | cp kaddressbook/kaddressbook.desktop $(QPEDIR)/apps/Pim/kaddressbook.desktop |
211 | cp kmicromail/kmicromail.desktop $(QPEDIR)/apps/Pim/kopiemail.desktop | 213 | cp kmicromail/kmicromail.desktop $(QPEDIR)/apps/Pim/kopiemail.desktop |
212 | cp pwmanager/pwmanager/pwmanager.desktop $(QPEDIR)/apps/Pim/pwmanager.desktop | 214 | cp pwmanager/pwmanager/pwmanager.desktop $(QPEDIR)/apps/Pim/pwmanager.desktop |
213 | 215 | ||
214 | dist: | 216 | dist: |
215 | @echo Dont forget to do "make install" before "make dist" | 217 | @echo Dont forget to do "make install" before "make dist" |
216 | rm -f *arm.ipk | 218 | rm -f *arm.ipk |
217 | rm -f *~ | 219 | rm -f *~ |
218 | cd ..; tar czf kdepim.src.tar.gz --exclude=obj --exclude=moc --exclude=CVS --exclude=Makefilezaurus --exclude=Makefileqtopia kdepim | 220 | cd ..; tar czf kdepim.src.tar.gz --exclude=obj --exclude=moc --exclude=CVS --exclude=Makefilezaurus --exclude=Makefileqtopia kdepim |
219 | ./mkipks kmicrokdelibs.control | 221 | ./mkipks kmicrokdelibs.control |
220 | ./mkipks korganizer.control | 222 | ./mkipks korganizer.control |
221 | ./mkipks kaddressbook.control | 223 | ./mkipks kaddressbook.control |
222 | ifndef BUILD_NO_MICROMAIL | 224 | ifndef BUILD_NO_MICROMAIL |
223 | ./mkipks kopiemail.control | 225 | ./mkipks kopiemail.control |
224 | endif | 226 | endif |
225 | ./mkipks korganizer-alarm.control | 227 | ./mkipks korganizer-alarm.control |
226 | ifndef BUILD_NO_GAMMU | 228 | ifndef BUILD_NO_GAMMU |
227 | ./mkipks kammu.control | 229 | ./mkipks phoneaccess.control |
228 | endif | 230 | endif |
229 | ifndef BUILD_NO_PWMANAGER | 231 | ifndef BUILD_NO_PWMANAGER |
230 | ./mkipks pwmanager.control | 232 | ./mkipks pwmanager.control |
231 | endif | 233 | endif |
232 | ./mkipks pim_TAB_icon.control | 234 | ./mkipks pim_TAB_icon.control |
233 | 235 | ||
234 | tmake: objects \ | 236 | tmake: objects \ |
235 | qtcompat/Makefile$(PLATFORM) \ | 237 | qtcompat/Makefile$(PLATFORM) \ |
236 | microkde/Makefile$(PLATFORM) \ | 238 | microkde/Makefile$(PLATFORM) \ |
237 | libkcal/Makefile$(PLATFORM) \ | 239 | libkcal/Makefile$(PLATFORM) \ |
238 | libkdepim/Makefile$(PLATFORM) \ | 240 | libkdepim/Makefile$(PLATFORM) \ |
239 | korganizer/Makefile$(PLATFORM) \ | 241 | korganizer/Makefile$(PLATFORM) \ |
240 | kalarmd/Makefile$(PLATFORM) \ | 242 | kalarmd/Makefile$(PLATFORM) \ |
241 | libical/src/libical/Makefile$(PLATFORM) \ | 243 | libical/src/libical/Makefile$(PLATFORM) \ |
242 | libical/src/libicalss/Makefile$(PLATFORM) \ | 244 | libical/src/libicalss/Makefile$(PLATFORM) \ |
243 | kabc/Makefile$(PLATFORM) \ | 245 | kabc/Makefile$(PLATFORM) \ |
244 | kabc/formats/binary/Makefile$(PLATFORM) \ | 246 | kabc/formats/binary/Makefile$(PLATFORM) \ |
245 | kabc/plugins/file/Makefile$(PLATFORM) \ | 247 | kabc/plugins/file/Makefile$(PLATFORM) \ |
246 | kabc/plugins/dir/Makefile$(PLATFORM) \ | 248 | kabc/plugins/dir/Makefile$(PLATFORM) \ |
247 | kabc/plugins/ldap/Makefile$(PLATFORM) \ | 249 | kabc/plugins/ldap/Makefile$(PLATFORM) \ |
248 | kabc/plugins/opie/Makefile$(PLATFORM) \ | 250 | kabc/plugins/opie/Makefile$(PLATFORM) \ |
249 | kabc/plugins/qtopia/Makefile$(PLATFORM) \ | 251 | kabc/plugins/qtopia/Makefile$(PLATFORM) \ |
250 | kabc/plugins/sharpdtm/Makefile$(PLATFORM) \ | 252 | kabc/plugins/sharpdtm/Makefile$(PLATFORM) \ |
251 | kaddressbook/Makefile$(PLATFORM) \ | 253 | kaddressbook/Makefile$(PLATFORM) \ |
252 | kmicromail/Makefile$(PLATFORM) \ | 254 | kmicromail/Makefile$(PLATFORM) \ |
253 | kmicromail/libetpan/Makefile$(PLATFORM) \ | 255 | kmicromail/libetpan/Makefile$(PLATFORM) \ |
254 | kmicromail/libmailwrapper/Makefile$(PLATFORM) \ | 256 | kmicromail/libmailwrapper/Makefile$(PLATFORM) \ |
255 | gammu/emb/common/Makefile$(PLATFORM) \ | 257 | gammu/emb/common/Makefile$(PLATFORM) \ |
256 | gammu/emb/gammu/Makefile$(PLATFORM) \ | 258 | gammu/emb/gammu/Makefile$(PLATFORM) \ |
257 | pwmanager/pwmanager/Makefile$(PLATFORM) \ | 259 | pwmanager/pwmanager/Makefile$(PLATFORM) \ |
258 | 260 | ||
259 | |||
260 | |||
261 | qtcompat/Makefile$(PLATFORM): qtcompat/qtcompat.pro | 261 | qtcompat/Makefile$(PLATFORM): qtcompat/qtcompat.pro |
262 | cd qtcompat; tmake "CONFIG+=$(RELEASE_DEBUG)" "VERSION=$(KDEPIM_VERSION)" qtcompat.pro -o Makefile$(PLATFORM) | 262 | cd qtcompat; tmake "CONFIG+=$(RELEASE_DEBUG)" "VERSION=$(KDEPIM_VERSION)" qtcompat.pro -o Makefile$(PLATFORM) |
263 | 263 | ||
264 | microkde/Makefile$(PLATFORM): microkde/microkdeE.pro | 264 | microkde/Makefile$(PLATFORM): microkde/microkdeE.pro |
265 | cd microkde; tmake "CONFIG+=$(RELEASE_DEBUG)" "VERSION=$(KDEPIM_VERSION)" microkdeE.pro -o Makefile$(PLATFORM) | 265 | cd microkde; tmake "CONFIG+=$(RELEASE_DEBUG)" "VERSION=$(KDEPIM_VERSION)" microkdeE.pro -o Makefile$(PLATFORM) |
266 | 266 | ||
267 | libkcal/Makefile$(PLATFORM): libkcal/libkcalE.pro | 267 | libkcal/Makefile$(PLATFORM): libkcal/libkcalE.pro |
268 | cd libkcal; tmake "CONFIG+=$(RELEASE_DEBUG)" "VERSION=$(KDEPIM_VERSION)" libkcalE.pro -o Makefile$(PLATFORM) | 268 | cd libkcal; tmake "CONFIG+=$(RELEASE_DEBUG)" "VERSION=$(KDEPIM_VERSION)" libkcalE.pro -o Makefile$(PLATFORM) |
269 | 269 | ||
270 | 270 | ||
271 | libkdepim/Makefile$(PLATFORM): libkdepim/libkdepimE.pro | 271 | libkdepim/Makefile$(PLATFORM): libkdepim/libkdepimE.pro |
272 | cd libkdepim; tmake "CONFIG+=$(RELEASE_DEBUG)" "VERSION=$(KDEPIM_VERSION)" libkdepimE.pro -o Makefile$(PLATFORM) | 272 | cd libkdepim; tmake "CONFIG+=$(RELEASE_DEBUG)" "VERSION=$(KDEPIM_VERSION)" libkdepimE.pro -o Makefile$(PLATFORM) |
273 | 273 | ||
274 | kalarmd/Makefile$(PLATFORM): kalarmd/kalarmdE.pro | 274 | kalarmd/Makefile$(PLATFORM): kalarmd/kalarmdE.pro |
275 | cd kalarmd; tmake "CONFIG+=$(RELEASE_DEBUG)" "VERSION=$(KDEPIM_VERSION)" kalarmdE.pro -o Makefile$(PLATFORM) | 275 | cd kalarmd; tmake "CONFIG+=$(RELEASE_DEBUG)" "VERSION=$(KDEPIM_VERSION)" kalarmdE.pro -o Makefile$(PLATFORM) |
276 | 276 | ||
277 | korganizer/Makefile$(PLATFORM): korganizer/korganizerE.pro | 277 | korganizer/Makefile$(PLATFORM): korganizer/korganizerE.pro |
278 | cd korganizer; tmake "CONFIG+=$(RELEASE_DEBUG)" "VERSION=$(KDEPIM_VERSION)" korganizerE.pro -o Makefile$(PLATFORM) | 278 | cd korganizer; tmake "CONFIG+=$(RELEASE_DEBUG)" "VERSION=$(KDEPIM_VERSION)" korganizerE.pro -o Makefile$(PLATFORM) |
279 | 279 | ||
280 | libical/src/libical/Makefile$(PLATFORM): libical/src/libical/libicalE.pro | 280 | libical/src/libical/Makefile$(PLATFORM): libical/src/libical/libicalE.pro |
281 | cd libical/src/libical; tmake "CONFIG+=$(RELEASE_DEBUG)" "VERSION=$(KDEPIM_VERSION)" libicalE.pro -o Makefile$(PLATFORM) | 281 | cd libical/src/libical; tmake "CONFIG+=$(RELEASE_DEBUG)" "VERSION=$(KDEPIM_VERSION)" libicalE.pro -o Makefile$(PLATFORM) |
282 | 282 | ||
283 | libical/src/libicalss/Makefile$(PLATFORM): libical/src/libicalss/libicalssE.pro | 283 | libical/src/libicalss/Makefile$(PLATFORM): libical/src/libicalss/libicalssE.pro |
284 | cd libical/src/libicalss; tmake "CONFIG+=$(RELEASE_DEBUG)" "VERSION=$(KDEPIM_VERSION)" libicalssE.pro -o Makefile$(PLATFORM) | 284 | cd libical/src/libicalss; tmake "CONFIG+=$(RELEASE_DEBUG)" "VERSION=$(KDEPIM_VERSION)" libicalssE.pro -o Makefile$(PLATFORM) |
285 | 285 | ||
286 | kabc/Makefile$(PLATFORM): kabc/kabcE.pro | 286 | kabc/Makefile$(PLATFORM): kabc/kabcE.pro |
287 | cd kabc; tmake "CONFIG+=$(RELEASE_DEBUG)" "VERSION=$(KDEPIM_VERSION)" kabcE.pro -o Makefile$(PLATFORM) | 287 | cd kabc; tmake "CONFIG+=$(RELEASE_DEBUG)" "VERSION=$(KDEPIM_VERSION)" kabcE.pro -o Makefile$(PLATFORM) |
288 | 288 | ||
289 | kabc/formats/binary/Makefile$(PLATFORM): kabc/formats/binary/kabcformat_binaryE.pro | 289 | kabc/formats/binary/Makefile$(PLATFORM): kabc/formats/binary/kabcformat_binaryE.pro |
290 | cd kabc/formats/binary; tmake "CONFIG+=$(RELEASE_DEBUG)" "VERSION=$(KDEPIM_VERSION)" kabcformat_binaryE.pro -o Makefile$(PLATFORM) | 290 | cd kabc/formats/binary; tmake "CONFIG+=$(RELEASE_DEBUG)" "VERSION=$(KDEPIM_VERSION)" kabcformat_binaryE.pro -o Makefile$(PLATFORM) |
291 | 291 | ||
292 | kabc/plugins/file/Makefile$(PLATFORM): kabc/plugins/file/fileE.pro | 292 | kabc/plugins/file/Makefile$(PLATFORM): kabc/plugins/file/fileE.pro |
293 | cd kabc/plugins/file; tmake "CONFIG+=$(RELEASE_DEBUG)" "VERSION=$(KDEPIM_VERSION)" fileE.pro -o Makefile$(PLATFORM) | 293 | cd kabc/plugins/file; tmake "CONFIG+=$(RELEASE_DEBUG)" "VERSION=$(KDEPIM_VERSION)" fileE.pro -o Makefile$(PLATFORM) |
294 | 294 | ||
295 | kabc/plugins/dir/Makefile$(PLATFORM): kabc/plugins/dir/dirE.pro | 295 | kabc/plugins/dir/Makefile$(PLATFORM): kabc/plugins/dir/dirE.pro |
296 | cd kabc/plugins/dir; tmake "CONFIG+=$(RELEASE_DEBUG)" "VERSION=$(KDEPIM_VERSION)" dirE.pro -o Makefile$(PLATFORM) | 296 | cd kabc/plugins/dir; tmake "CONFIG+=$(RELEASE_DEBUG)" "VERSION=$(KDEPIM_VERSION)" dirE.pro -o Makefile$(PLATFORM) |
297 | 297 | ||
298 | kabc/plugins/ldap/Makefile$(PLATFORM): kabc/plugins/ldap/ldapE.pro | 298 | kabc/plugins/ldap/Makefile$(PLATFORM): kabc/plugins/ldap/ldapE.pro |
299 | cd kabc/plugins/ldap; tmake "CONFIG+=$(RELEASE_DEBUG)" "VERSION=$(KDEPIM_VERSION)" ldapE.pro -o Makefile$(PLATFORM) | 299 | cd kabc/plugins/ldap; tmake "CONFIG+=$(RELEASE_DEBUG)" "VERSION=$(KDEPIM_VERSION)" ldapE.pro -o Makefile$(PLATFORM) |
300 | 300 | ||
301 | kabc/plugins/opie/Makefile$(PLATFORM): kabc/plugins/opie/opieE.pro | 301 | kabc/plugins/opie/Makefile$(PLATFORM): kabc/plugins/opie/opieE.pro |
302 | cd kabc/plugins/opie; tmake "CONFIG+=$(RELEASE_DEBUG)" "VERSION=$(KDEPIM_VERSION)" opieE.pro -o Makefile$(PLATFORM) | 302 | cd kabc/plugins/opie; tmake "CONFIG+=$(RELEASE_DEBUG)" "VERSION=$(KDEPIM_VERSION)" opieE.pro -o Makefile$(PLATFORM) |
303 | 303 | ||
304 | kabc/plugins/qtopia/Makefile$(PLATFORM): kabc/plugins/qtopia/qtopiaE.pro | 304 | kabc/plugins/qtopia/Makefile$(PLATFORM): kabc/plugins/qtopia/qtopiaE.pro |
305 | cd kabc/plugins/qtopia; tmake "CONFIG+=$(RELEASE_DEBUG)" "VERSION=$(KDEPIM_VERSION)" qtopiaE.pro -o Makefile$(PLATFORM) | 305 | cd kabc/plugins/qtopia; tmake "CONFIG+=$(RELEASE_DEBUG)" "VERSION=$(KDEPIM_VERSION)" qtopiaE.pro -o Makefile$(PLATFORM) |
306 | 306 | ||
307 | kabc/plugins/sharpdtm/Makefile$(PLATFORM): kabc/plugins/sharpdtm/sharpdtmE.pro | 307 | kabc/plugins/sharpdtm/Makefile$(PLATFORM): kabc/plugins/sharpdtm/sharpdtmE.pro |
308 | cd kabc/plugins/sharpdtm; tmake "CONFIG+=$(RELEASE_DEBUG)" "VERSION=$(KDEPIM_VERSION)" sharpdtmE.pro -o Makefile$(PLATFORM) | 308 | cd kabc/plugins/sharpdtm; tmake "CONFIG+=$(RELEASE_DEBUG)" "VERSION=$(KDEPIM_VERSION)" sharpdtmE.pro -o Makefile$(PLATFORM) |
309 | 309 | ||
310 | kaddressbook/Makefile$(PLATFORM): kaddressbook/kaddressbookE.pro | 310 | kaddressbook/Makefile$(PLATFORM): kaddressbook/kaddressbookE.pro |
311 | cd kaddressbook; tmake "CONFIG+=$(RELEASE_DEBUG)" "VERSION=$(KDEPIM_VERSION)" kaddressbookE.pro -o Makefile$(PLATFORM) | 311 | cd kaddressbook; tmake "CONFIG+=$(RELEASE_DEBUG)" "VERSION=$(KDEPIM_VERSION)" kaddressbookE.pro -o Makefile$(PLATFORM) |
312 | 312 | ||
313 | kmicromail/Makefile$(PLATFORM): kmicromail/kmicromailE.pro | 313 | kmicromail/Makefile$(PLATFORM): kmicromail/kmicromailE.pro |
314 | cd kmicromail; tmake "CONFIG+=$(RELEASE_DEBUG)" "VERSION=$(KDEPIM_VERSION)" kmicromailE.pro -o Makefile$(PLATFORM) | 314 | cd kmicromail; tmake "CONFIG+=$(RELEASE_DEBUG)" "VERSION=$(KDEPIM_VERSION)" kmicromailE.pro -o Makefile$(PLATFORM) |
315 | 315 | ||
316 | kmicromail/libetpan/Makefile$(PLATFORM): kmicromail/libetpan/libetpanE.pro | 316 | kmicromail/libetpan/Makefile$(PLATFORM): kmicromail/libetpan/libetpanE.pro |
317 | cd kmicromail/libetpan; tmake "CONFIG+=$(RELEASE_DEBUG)" "VERSION=$(KDEPIM_VERSION)" libetpanE.pro -o Makefile$(PLATFORM) | 317 | cd kmicromail/libetpan; tmake "CONFIG+=$(RELEASE_DEBUG)" "VERSION=$(KDEPIM_VERSION)" libetpanE.pro -o Makefile$(PLATFORM) |
318 | 318 | ||
319 | kmicromail/libmailwrapper/Makefile$(PLATFORM): kmicromail/libmailwrapper/libmailwrapperE.pro | 319 | kmicromail/libmailwrapper/Makefile$(PLATFORM): kmicromail/libmailwrapper/libmailwrapperE.pro |
320 | cd kmicromail/libmailwrapper; tmake "CONFIG+=$(RELEASE_DEBUG)" "VERSION=$(KDEPIM_VERSION)" libmailwrapperE.pro -o Makefile$(PLATFORM) | 320 | cd kmicromail/libmailwrapper; tmake "CONFIG+=$(RELEASE_DEBUG)" "VERSION=$(KDEPIM_VERSION)" libmailwrapperE.pro -o Makefile$(PLATFORM) |
321 | 321 | ||
322 | gammu/emb/common/Makefile$(PLATFORM): gammu/emb/common/commonE.pro | 322 | gammu/emb/common/Makefile$(PLATFORM): gammu/emb/common/commonE.pro |
323 | cd gammu/emb/common; tmake "CONFIG+=$(RELEASE_DEBUG)" "VERSION=$(KDEPIM_VERSION)" commonE.pro -o Makefile$(PLATFORM) | 323 | cd gammu/emb/common; tmake "CONFIG+=$(RELEASE_DEBUG)" "VERSION=$(KDEPIM_VERSION)" commonE.pro -o Makefile$(PLATFORM) |
324 | 324 | ||
325 | gammu/emb/gammu/Makefile$(PLATFORM): gammu/emb/gammu/gammuE.pro | 325 | gammu/emb/gammu/Makefile$(PLATFORM): gammu/emb/gammu/gammuE.pro |
326 | cd gammu/emb/gammu; tmake "CONFIG+=$(RELEASE_DEBUG)" "VERSION=$(KDEPIM_VERSION)" gammuE.pro -o Makefile$(PLATFORM) | 326 | cd gammu/emb/gammu; tmake "CONFIG+=$(RELEASE_DEBUG)" "VERSION=$(KDEPIM_VERSION)" gammuE.pro -o Makefile$(PLATFORM) |
327 | 327 | ||
328 | pwmanager/pwmanager/Makefile$(PLATFORM): pwmanager/pwmanager/pwmanagerE.pro | 328 | pwmanager/pwmanager/Makefile$(PLATFORM): pwmanager/pwmanager/pwmanagerE.pro |
329 | cd pwmanager/pwmanager; tmake "CONFIG+=$(RELEASE_DEBUG)" "VERSION=$(KDEPIM_VERSION)" pwmanagerE.pro -o Makefile$(PLATFORM) | 329 | cd pwmanager/pwmanager; tmake "CONFIG+=$(RELEASE_DEBUG)" "VERSION=$(KDEPIM_VERSION)" pwmanagerE.pro -o Makefile$(PLATFORM) |
330 | |||
diff --git a/Makefile.Embedded b/Makefile.Embedded index 2e1651c..0b8997e 100644 --- a/Makefile.Embedded +++ b/Makefile.Embedded | |||
@@ -165,129 +165,129 @@ variable_test: variable_info | |||
165 | ifndef PLATFORM | 165 | ifndef PLATFORM |
166 | @echo PLATFORM is not defined. | 166 | @echo PLATFORM is not defined. |
167 | $(error PLATFORM is not defined) | 167 | $(error PLATFORM is not defined) |
168 | endif | 168 | endif |
169 | ifdef BUILD_NO_LDAP_PLUGIN | 169 | ifdef BUILD_NO_LDAP_PLUGIN |
170 | @echo LDAP PLUGIN will not be build, because BUILD_NO_LDAP_PLUGIN is set to $(BUILD_NO_LDAP_PLUGIN) | 170 | @echo LDAP PLUGIN will not be build, because BUILD_NO_LDAP_PLUGIN is set to $(BUILD_NO_LDAP_PLUGIN) |
171 | endif | 171 | endif |
172 | ifdef BUILD_NO_OPIE_PLUGIN | 172 | ifdef BUILD_NO_OPIE_PLUGIN |
173 | @echo OPIE PLUGIN will not be build, because BUILD_NO_OPIE_PLUGIN is set to $(BUILD_NO_OPIE_PLUGIN) | 173 | @echo OPIE PLUGIN will not be build, because BUILD_NO_OPIE_PLUGIN is set to $(BUILD_NO_OPIE_PLUGIN) |
174 | endif | 174 | endif |
175 | ifdef BUILD_NO_MICROMAIL | 175 | ifdef BUILD_NO_MICROMAIL |
176 | @echo MICROMAIL will not be build, because BUILD_NO_MICROMAIL is set to $(BUILD_NO_MICROMAIL) | 176 | @echo MICROMAIL will not be build, because BUILD_NO_MICROMAIL is set to $(BUILD_NO_MICROMAIL) |
177 | endif | 177 | endif |
178 | ifdef BUILD_NO_SHARP_PLUGIN | 178 | ifdef BUILD_NO_SHARP_PLUGIN |
179 | @echo SHARP PLUGIN will not be build, because BUILD_NO_SHARP_PLUGIN is set to $(BUILD_NO_SHARP_PLUGIN) | 179 | @echo SHARP PLUGIN will not be build, because BUILD_NO_SHARP_PLUGIN is set to $(BUILD_NO_SHARP_PLUGIN) |
180 | else | 180 | else |
181 | ifndef SHARPDTMSDK | 181 | ifndef SHARPDTMSDK |
182 | @echo SHARP PLUGIN can not be build, because SHARPDTMSDK is set to $(SHARPDTMSDK) | 182 | @echo SHARP PLUGIN can not be build, because SHARPDTMSDK is set to $(SHARPDTMSDK) |
183 | $(error SHARPDTMSDK is not defined) | 183 | $(error SHARPDTMSDK is not defined) |
184 | endif | 184 | endif |
185 | endif | 185 | endif |
186 | ifdef BUILD_NO_GAMMU | 186 | ifdef BUILD_NO_GAMMU |
187 | @echo GAMMU will not be build, because BUILD_NO_GAMMU is set to $(BUILD_NO_GAMMU) | 187 | @echo GAMMU will not be build, because BUILD_NO_GAMMU is set to $(BUILD_NO_GAMMU) |
188 | endif | 188 | endif |
189 | ifdef BUILD_NO_PWMANAGER | 189 | ifdef BUILD_NO_PWMANAGER |
190 | @echo PWMANAGER will not be build, because BUILD_NO_PWMANAGER is set to $(BUILD_NO_PWMANAGER) | 190 | @echo PWMANAGER will not be build, because BUILD_NO_PWMANAGER is set to $(BUILD_NO_PWMANAGER) |
191 | endif | 191 | endif |
192 | @echo -------------------------------------- | 192 | @echo -------------------------------------- |
193 | 193 | ||
194 | 194 | ||
195 | objects: | 195 | objects: |
196 | for i in $(SUBDIRS); do mkdir -p $$i/obj/$(PLATFORM); done | 196 | for i in $(SUBDIRS); do mkdir -p $$i/obj/$(PLATFORM); done |
197 | for i in $(SUBDIRS); do mkdir -p $$i/moc/$(PLATFORM); done | 197 | for i in $(SUBDIRS); do mkdir -p $$i/moc/$(PLATFORM); done |
198 | mkdir -p libical/lib/$(PLATFORM) | 198 | mkdir -p libical/lib/$(PLATFORM) |
199 | 199 | ||
200 | clean: | 200 | clean: |
201 | rm -rf libical/lib/$(PLATFORM)/*; | 201 | rm -rf libical/lib/$(PLATFORM)/*; |
202 | for i in $(SUBDIRS); do pushd $$i; make clean; rm -f *~;\ | 202 | for i in $(SUBDIRS); do pushd $$i; make clean; rm -f *~;\ |
203 | rm -f obj/$(PLATFORM)/*; rm -f moc/$(PLATFORM)/*; rm Makefile$(PLATFORM); popd; \ | 203 | rm -f obj/$(PLATFORM)/*; rm -f moc/$(PLATFORM)/*; rm Makefile$(PLATFORM); popd; \ |
204 | done | 204 | done |
205 | 205 | ||
206 | install: | 206 | install: |
207 | 207 | ||
208 | cd bin/kdepim; make install | 208 | cd bin/kdepim; make install |
209 | cp -r Pim $(QPEDIR)/apps | 209 | cp -r Pim $(QPEDIR)/apps |
210 | cp db2file/db2file $(QPEDIR)/bin/db2file | 210 | cp db2file/db2file $(QPEDIR)/bin/db2file |
211 | cp korganizer/korganizer.desktop $(QPEDIR)/apps/Pim/korganizer.desktop | 211 | cp korganizer/korganizer.desktop $(QPEDIR)/apps/Pim/korganizer.desktop |
212 | cp kaddressbook/kaddressbook.desktop $(QPEDIR)/apps/Pim/kaddressbook.desktop | 212 | cp kaddressbook/kaddressbook.desktop $(QPEDIR)/apps/Pim/kaddressbook.desktop |
213 | cp kmicromail/kmicromail.desktop $(QPEDIR)/apps/Pim/kopiemail.desktop | 213 | cp kmicromail/kmicromail.desktop $(QPEDIR)/apps/Pim/kopiemail.desktop |
214 | cp pwmanager/pwmanager/pwmanager.desktop $(QPEDIR)/apps/Pim/pwmanager.desktop | 214 | cp pwmanager/pwmanager/pwmanager.desktop $(QPEDIR)/apps/Pim/pwmanager.desktop |
215 | 215 | ||
216 | dist: | 216 | dist: |
217 | @echo Dont forget to do "make install" before "make dist" | 217 | @echo Dont forget to do "make install" before "make dist" |
218 | rm -f *arm.ipk | 218 | rm -f *arm.ipk |
219 | rm -f *~ | 219 | rm -f *~ |
220 | cd ..; tar czf kdepim.src.tar.gz --exclude=obj --exclude=moc --exclude=CVS --exclude=Makefilezaurus --exclude=Makefileqtopia kdepim | 220 | cd ..; tar czf kdepim.src.tar.gz --exclude=obj --exclude=moc --exclude=CVS --exclude=Makefilezaurus --exclude=Makefileqtopia kdepim |
221 | ./mkipks kmicrokdelibs.control | 221 | ./mkipks kmicrokdelibs.control |
222 | ./mkipks korganizer.control | 222 | ./mkipks korganizer.control |
223 | ./mkipks kaddressbook.control | 223 | ./mkipks kaddressbook.control |
224 | ifndef BUILD_NO_MICROMAIL | 224 | ifndef BUILD_NO_MICROMAIL |
225 | ./mkipks kopiemail.control | 225 | ./mkipks kopiemail.control |
226 | endif | 226 | endif |
227 | ./mkipks korganizer-alarm.control | 227 | ./mkipks korganizer-alarm.control |
228 | ifndef BUILD_NO_GAMMU | 228 | ifndef BUILD_NO_GAMMU |
229 | ./mkipks kammu.control | 229 | ./mkipks phoneaccess.control |
230 | endif | 230 | endif |
231 | ifndef BUILD_NO_PWMANAGER | 231 | ifndef BUILD_NO_PWMANAGER |
232 | ./mkipks pwmanager.control | 232 | ./mkipks pwmanager.control |
233 | endif | 233 | endif |
234 | ./mkipks pim_TAB_icon.control | 234 | ./mkipks pim_TAB_icon.control |
235 | 235 | ||
236 | tmake: objects \ | 236 | tmake: objects \ |
237 | qtcompat/Makefile$(PLATFORM) \ | 237 | qtcompat/Makefile$(PLATFORM) \ |
238 | microkde/Makefile$(PLATFORM) \ | 238 | microkde/Makefile$(PLATFORM) \ |
239 | libkcal/Makefile$(PLATFORM) \ | 239 | libkcal/Makefile$(PLATFORM) \ |
240 | libkdepim/Makefile$(PLATFORM) \ | 240 | libkdepim/Makefile$(PLATFORM) \ |
241 | korganizer/Makefile$(PLATFORM) \ | 241 | korganizer/Makefile$(PLATFORM) \ |
242 | kalarmd/Makefile$(PLATFORM) \ | 242 | kalarmd/Makefile$(PLATFORM) \ |
243 | libical/src/libical/Makefile$(PLATFORM) \ | 243 | libical/src/libical/Makefile$(PLATFORM) \ |
244 | libical/src/libicalss/Makefile$(PLATFORM) \ | 244 | libical/src/libicalss/Makefile$(PLATFORM) \ |
245 | kabc/Makefile$(PLATFORM) \ | 245 | kabc/Makefile$(PLATFORM) \ |
246 | kabc/formats/binary/Makefile$(PLATFORM) \ | 246 | kabc/formats/binary/Makefile$(PLATFORM) \ |
247 | kabc/plugins/file/Makefile$(PLATFORM) \ | 247 | kabc/plugins/file/Makefile$(PLATFORM) \ |
248 | kabc/plugins/dir/Makefile$(PLATFORM) \ | 248 | kabc/plugins/dir/Makefile$(PLATFORM) \ |
249 | kabc/plugins/ldap/Makefile$(PLATFORM) \ | 249 | kabc/plugins/ldap/Makefile$(PLATFORM) \ |
250 | kabc/plugins/opie/Makefile$(PLATFORM) \ | 250 | kabc/plugins/opie/Makefile$(PLATFORM) \ |
251 | kabc/plugins/qtopia/Makefile$(PLATFORM) \ | 251 | kabc/plugins/qtopia/Makefile$(PLATFORM) \ |
252 | kabc/plugins/sharpdtm/Makefile$(PLATFORM) \ | 252 | kabc/plugins/sharpdtm/Makefile$(PLATFORM) \ |
253 | kaddressbook/Makefile$(PLATFORM) \ | 253 | kaddressbook/Makefile$(PLATFORM) \ |
254 | kmicromail/Makefile$(PLATFORM) \ | 254 | kmicromail/Makefile$(PLATFORM) \ |
255 | kmicromail/libetpan/Makefile$(PLATFORM) \ | 255 | kmicromail/libetpan/Makefile$(PLATFORM) \ |
256 | kmicromail/libmailwrapper/Makefile$(PLATFORM) \ | 256 | kmicromail/libmailwrapper/Makefile$(PLATFORM) \ |
257 | gammu/emb/common/Makefile$(PLATFORM) \ | 257 | gammu/emb/common/Makefile$(PLATFORM) \ |
258 | gammu/emb/gammu/Makefile$(PLATFORM) \ | 258 | gammu/emb/gammu/Makefile$(PLATFORM) \ |
259 | pwmanager/pwmanager/Makefile$(PLATFORM) \ | 259 | pwmanager/pwmanager/Makefile$(PLATFORM) \ |
260 | 260 | ||
261 | qtcompat/Makefile$(PLATFORM): qtcompat/qtcompat.pro | 261 | qtcompat/Makefile$(PLATFORM): qtcompat/qtcompat.pro |
262 | cd qtcompat; tmake "CONFIG+=$(RELEASE_DEBUG)" "VERSION=$(KDEPIM_VERSION)" qtcompat.pro -o Makefile$(PLATFORM) | 262 | cd qtcompat; tmake "CONFIG+=$(RELEASE_DEBUG)" "VERSION=$(KDEPIM_VERSION)" qtcompat.pro -o Makefile$(PLATFORM) |
263 | 263 | ||
264 | microkde/Makefile$(PLATFORM): microkde/microkdeE.pro | 264 | microkde/Makefile$(PLATFORM): microkde/microkdeE.pro |
265 | cd microkde; tmake "CONFIG+=$(RELEASE_DEBUG)" "VERSION=$(KDEPIM_VERSION)" microkdeE.pro -o Makefile$(PLATFORM) | 265 | cd microkde; tmake "CONFIG+=$(RELEASE_DEBUG)" "VERSION=$(KDEPIM_VERSION)" microkdeE.pro -o Makefile$(PLATFORM) |
266 | 266 | ||
267 | libkcal/Makefile$(PLATFORM): libkcal/libkcalE.pro | 267 | libkcal/Makefile$(PLATFORM): libkcal/libkcalE.pro |
268 | cd libkcal; tmake "CONFIG+=$(RELEASE_DEBUG)" "VERSION=$(KDEPIM_VERSION)" libkcalE.pro -o Makefile$(PLATFORM) | 268 | cd libkcal; tmake "CONFIG+=$(RELEASE_DEBUG)" "VERSION=$(KDEPIM_VERSION)" libkcalE.pro -o Makefile$(PLATFORM) |
269 | 269 | ||
270 | 270 | ||
271 | libkdepim/Makefile$(PLATFORM): libkdepim/libkdepimE.pro | 271 | libkdepim/Makefile$(PLATFORM): libkdepim/libkdepimE.pro |
272 | cd libkdepim; tmake "CONFIG+=$(RELEASE_DEBUG)" "VERSION=$(KDEPIM_VERSION)" libkdepimE.pro -o Makefile$(PLATFORM) | 272 | cd libkdepim; tmake "CONFIG+=$(RELEASE_DEBUG)" "VERSION=$(KDEPIM_VERSION)" libkdepimE.pro -o Makefile$(PLATFORM) |
273 | 273 | ||
274 | kalarmd/Makefile$(PLATFORM): kalarmd/kalarmdE.pro | 274 | kalarmd/Makefile$(PLATFORM): kalarmd/kalarmdE.pro |
275 | cd kalarmd; tmake "CONFIG+=$(RELEASE_DEBUG)" "VERSION=$(KDEPIM_VERSION)" kalarmdE.pro -o Makefile$(PLATFORM) | 275 | cd kalarmd; tmake "CONFIG+=$(RELEASE_DEBUG)" "VERSION=$(KDEPIM_VERSION)" kalarmdE.pro -o Makefile$(PLATFORM) |
276 | 276 | ||
277 | korganizer/Makefile$(PLATFORM): korganizer/korganizerE.pro | 277 | korganizer/Makefile$(PLATFORM): korganizer/korganizerE.pro |
278 | cd korganizer; tmake "CONFIG+=$(RELEASE_DEBUG)" "VERSION=$(KDEPIM_VERSION)" korganizerE.pro -o Makefile$(PLATFORM) | 278 | cd korganizer; tmake "CONFIG+=$(RELEASE_DEBUG)" "VERSION=$(KDEPIM_VERSION)" korganizerE.pro -o Makefile$(PLATFORM) |
279 | 279 | ||
280 | libical/src/libical/Makefile$(PLATFORM): libical/src/libical/libicalE.pro | 280 | libical/src/libical/Makefile$(PLATFORM): libical/src/libical/libicalE.pro |
281 | cd libical/src/libical; tmake "CONFIG+=$(RELEASE_DEBUG)" "VERSION=$(KDEPIM_VERSION)" libicalE.pro -o Makefile$(PLATFORM) | 281 | cd libical/src/libical; tmake "CONFIG+=$(RELEASE_DEBUG)" "VERSION=$(KDEPIM_VERSION)" libicalE.pro -o Makefile$(PLATFORM) |
282 | 282 | ||
283 | libical/src/libicalss/Makefile$(PLATFORM): libical/src/libicalss/libicalssE.pro | 283 | libical/src/libicalss/Makefile$(PLATFORM): libical/src/libicalss/libicalssE.pro |
284 | cd libical/src/libicalss; tmake "CONFIG+=$(RELEASE_DEBUG)" "VERSION=$(KDEPIM_VERSION)" libicalssE.pro -o Makefile$(PLATFORM) | 284 | cd libical/src/libicalss; tmake "CONFIG+=$(RELEASE_DEBUG)" "VERSION=$(KDEPIM_VERSION)" libicalssE.pro -o Makefile$(PLATFORM) |
285 | 285 | ||
286 | kabc/Makefile$(PLATFORM): kabc/kabcE.pro | 286 | kabc/Makefile$(PLATFORM): kabc/kabcE.pro |
287 | cd kabc; tmake "CONFIG+=$(RELEASE_DEBUG)" "VERSION=$(KDEPIM_VERSION)" kabcE.pro -o Makefile$(PLATFORM) | 287 | cd kabc; tmake "CONFIG+=$(RELEASE_DEBUG)" "VERSION=$(KDEPIM_VERSION)" kabcE.pro -o Makefile$(PLATFORM) |
288 | 288 | ||
289 | kabc/formats/binary/Makefile$(PLATFORM): kabc/formats/binary/kabcformat_binaryE.pro | 289 | kabc/formats/binary/Makefile$(PLATFORM): kabc/formats/binary/kabcformat_binaryE.pro |
290 | cd kabc/formats/binary; tmake "CONFIG+=$(RELEASE_DEBUG)" "VERSION=$(KDEPIM_VERSION)" kabcformat_binaryE.pro -o Makefile$(PLATFORM) | 290 | cd kabc/formats/binary; tmake "CONFIG+=$(RELEASE_DEBUG)" "VERSION=$(KDEPIM_VERSION)" kabcformat_binaryE.pro -o Makefile$(PLATFORM) |
291 | 291 | ||
292 | kabc/plugins/file/Makefile$(PLATFORM): kabc/plugins/file/fileE.pro | 292 | kabc/plugins/file/Makefile$(PLATFORM): kabc/plugins/file/fileE.pro |
293 | cd kabc/plugins/file; tmake "CONFIG+=$(RELEASE_DEBUG)" "VERSION=$(KDEPIM_VERSION)" fileE.pro -o Makefile$(PLATFORM) | 293 | cd kabc/plugins/file; tmake "CONFIG+=$(RELEASE_DEBUG)" "VERSION=$(KDEPIM_VERSION)" fileE.pro -o Makefile$(PLATFORM) |
diff --git a/bin/kdepim/korganizer/howtoSYNC.txt b/bin/kdepim/korganizer/howtoSYNC.txt index c4e80f5..3cab446 100644 --- a/bin/kdepim/korganizer/howtoSYNC.txt +++ b/bin/kdepim/korganizer/howtoSYNC.txt | |||
@@ -247,129 +247,129 @@ a) Local file | |||
247 | Please specify a local file you want to sync with. | 247 | Please specify a local file you want to sync with. |
248 | 248 | ||
249 | b) Pi-Sync (direct Kx/Pi to Kx/Pi sync) | 249 | b) Pi-Sync (direct Kx/Pi to Kx/Pi sync) |
250 | We mention here only KO/Pi, but the same is valid for KA/Pi. | 250 | We mention here only KO/Pi, but the same is valid for KA/Pi. |
251 | If you want to sync with a device, where KO/Pi is | 251 | If you want to sync with a device, where KO/Pi is |
252 | installed, you can easily get the remote file via network | 252 | installed, you can easily get the remote file via network |
253 | with the build in file transfer feature "Pi-Sync": | 253 | with the build in file transfer feature "Pi-Sync": |
254 | You have first to enable file transfer on the remote device: | 254 | You have first to enable file transfer on the remote device: |
255 | - Start KO/Pi on the remote device. | 255 | - Start KO/Pi on the remote device. |
256 | - Choose Menu Synchronize-Enable Pi-Sync. | 256 | - Choose Menu Synchronize-Enable Pi-Sync. |
257 | - Choose a port number, where KO/Pi should listen for | 257 | - Choose a port number, where KO/Pi should listen for |
258 | file sending requests. Valid port numbers are numbers | 258 | file sending requests. Valid port numbers are numbers |
259 | between 1 and 65565. Do not specify port numbers, that are | 259 | between 1 and 65565. Do not specify port numbers, that are |
260 | used by other applications. A port number between 9000 and 9999 | 260 | used by other applications. A port number between 9000 and 9999 |
261 | is most likely not used by another application. | 261 | is most likely not used by another application. |
262 | The default port number is 9197 for KO/Pi. | 262 | The default port number is 9197 for KO/Pi. |
263 | If you specify a port number, which is already in use, | 263 | If you specify a port number, which is already in use, |
264 | you will get an error message when closing this dialog. | 264 | you will get an error message when closing this dialog. |
265 | - Choose a password. | 265 | - Choose a password. |
266 | - Click OK. | 266 | - Click OK. |
267 | Now KO/Pi will send the calendar data via the network, | 267 | Now KO/Pi will send the calendar data via the network, |
268 | if some other device is sending a "please send calendar" | 268 | if some other device is sending a "please send calendar" |
269 | request on the given port using the given password. | 269 | request on the given port using the given password. |
270 | If you want to be sure, nobody can access your calendar | 270 | If you want to be sure, nobody can access your calendar |
271 | data, simply disable the file transfer feature on the | 271 | data, simply disable the file transfer feature on the |
272 | remote device after the syncing is done by choosing: | 272 | remote device after the syncing is done by choosing: |
273 | Menu Synchronize-Disable Pi-Sync. | 273 | Menu Synchronize-Disable Pi-Sync. |
274 | 274 | ||
275 | Note: If you want to sync with a remote device that gets different | 275 | Note: If you want to sync with a remote device that gets different |
276 | IPaddresses each time connected to the network | 276 | IPaddresses each time connected to the network |
277 | (this may be the case, if you use DHCP for connection | 277 | (this may be the case, if you use DHCP for connection |
278 | of the remote device to the network) simply enable | 278 | of the remote device to the network) simply enable |
279 | "Ask for preferences before sync". | 279 | "Ask for preferences before sync". |
280 | Then you will be asked to confirm the | 280 | Then you will be asked to confirm the |
281 | "Pi-Sync" specific settings | 281 | "Pi-Sync" specific settings |
282 | (Password,IP address, port number) | 282 | (Password,IP address, port number) |
283 | and you can easily change the IP address before each sync. | 283 | and you can easily change the IP address before each sync. |
284 | 284 | ||
285 | On your local device, create a new profile and choose | 285 | On your local device, create a new profile and choose |
286 | profile kind "Pi-Sync". | 286 | profile kind "Pi-Sync". |
287 | Fill in the needed values: | 287 | Fill in the needed values: |
288 | - Password for remote access: | 288 | - Password for remote access: |
289 | The password you specified on the remote device. | 289 | The password you specified on the remote device. |
290 | - Remote IP address: | 290 | - Remote IP address: |
291 | The IP address of the remote device. | 291 | The IP address of the remote device. |
292 | - Remote port number: | 292 | - Remote port number: |
293 | The port number you specified on the remote device. | 293 | The port number you specified on the remote device. |
294 | 294 | ||
295 | Now you can syncronize your local device easily with your | 295 | Now you can syncronize your local device easily with your |
296 | remote device. This works well for all platforms KO/Pi is | 296 | remote device. This works well for all platforms KO/Pi is |
297 | running on, e.g. syncing a KO/Pi on Zaurus with KO/Pi on Windows | 297 | running on, e.g. syncing a KO/Pi on Zaurus with KO/Pi on Windows |
298 | is now very easy. | 298 | is now very easy. |
299 | 299 | ||
300 | c) Remote file | 300 | c) Remote file |
301 | Syncing with the profile kind "Remote file" is performed in three steps: | 301 | Syncing with the profile kind "Remote file" is performed in three steps: |
302 | i) download the remote file to your local machine to a temp file | 302 | i) download the remote file to your local machine to a temp file |
303 | ii) sync with this temp file | 303 | ii) sync with this temp file |
304 | iii) upload the synced file to the remote device | 304 | iii) upload the synced file to the remote device |
305 | 305 | ||
306 | The down-/uploading if i) and iii) is done via a command line command. | 306 | The down-/uploading if i) and iii) is done via a command line command. |
307 | Please specify the download/upload command ( like scp, ftp, ...) and the | 307 | Please specify the download/upload command ( like scp, ftp, ...) and the |
308 | file name of the temp file in the corresponding fields. | 308 | file name of the temp file in the corresponding fields. |
309 | 309 | ||
310 | d) Mobile device (cell phone) | 310 | d) Mobile device (cell phone) |
311 | Note: On the Zaurus you have to install the kammu_xxx_arm.ipk package | 311 | Note: On the Zaurus you have to install the phoneaccess_xxx_arm.ipk package |
312 | to be able to access mobile phones. | 312 | to be able to access mobile phones. |
313 | We mention here only KO/Pi, but the same is valid for KA/Pi. | 313 | We mention here only KO/Pi, but the same is valid for KA/Pi. |
314 | Note: | 314 | Note: |
315 | It is only possible to sync a mobile phone with one particular device | 315 | It is only possible to sync a mobile phone with one particular device |
316 | running KO/Pi. If you want to be able to write data of more than one device | 316 | running KO/Pi. If you want to be able to write data of more than one device |
317 | to the mobile phone (e.g. from your Zaurus and from your Windows Laptop) | 317 | to the mobile phone (e.g. from your Zaurus and from your Windows Laptop) |
318 | do not sync with the mobile phone at all, but use the | 318 | do not sync with the mobile phone at all, but use the |
319 | "Export to phone" functionality from the different devices. | 319 | "Export to phone" functionality from the different devices. |
320 | Using "Export to phone" makes it not possible to get back data from the | 320 | Using "Export to phone" makes it not possible to get back data from the |
321 | phone, if it was changed there, of course. | 321 | phone, if it was changed there, of course. |
322 | If you sync with the phone, do not use "Export to phone" from any device. | 322 | If you sync with the phone, do not use "Export to phone" from any device. |
323 | (And do not sync, as mentioned above, from any other device with that phone). | 323 | (And do not sync, as mentioned above, from any other device with that phone). |
324 | It would delete the needed information for syncing with that phone! | 324 | It would delete the needed information for syncing with that phone! |
325 | 325 | ||
326 | We are using Gammu (Version: 0.98.9) ( http://freshmeat.net/projects/gammu/ ) | 326 | We are using Gammu (Version: 0.98.9) ( http://freshmeat.net/projects/gammu/ ) |
327 | for accessing the phones. | 327 | for accessing the phones. |
328 | Note: You cannot use the original Gammu for syncing KDE-Pim/Pi, because | 328 | Note: You cannot use the original Gammu for syncing KDE-Pim/Pi, because |
329 | we have modified the original version to make it useable for syncing! | 329 | we have modified the original version to make it useable for syncing! |
330 | Gammu allows access to many phones in many ways (Irda, Bluetooth, serial,...). | 330 | Gammu allows access to many phones in many ways (Irda, Bluetooth, serial,...). |
331 | The recommended phone access using Gammu with KDE-Pim/Pi is Irda (infrared). | 331 | The recommended phone access using Gammu with KDE-Pim/Pi is Irda (infrared). |
332 | Bluetooth access is disabled on the Zaurus, but may work on Windows. | 332 | Bluetooth access is disabled on the Zaurus, but may work on Windows. |
333 | Please look at the Gammu homepage and documentation about more details | 333 | Please look at the Gammu homepage and documentation about more details |
334 | configuring Gammu how to access your phone. | 334 | configuring Gammu how to access your phone. |
335 | If you have problems accessing your phone, start KO/Pi from the konsole | 335 | If you have problems accessing your phone, start KO/Pi from the konsole |
336 | and you will get a more detailed output what went wrong. | 336 | and you will get a more detailed output what went wrong. |
337 | About Gammu from the Gammu homepage: | 337 | About Gammu from the Gammu homepage: |
338 | Gammu (formerly known as MyGnokii2) is a cellular | 338 | Gammu (formerly known as MyGnokii2) is a cellular |
339 | manager for various mobile phones/modems. | 339 | manager for various mobile phones/modems. |
340 | It supports the Nokia 2100, 3100, 32xx, 33xx, | 340 | It supports the Nokia 2100, 3100, 32xx, 33xx, |
341 | 3410, 35xx, 51xx, 5210, 5510, 61xx, 62xx, | 341 | 3410, 35xx, 51xx, 5210, 5510, 61xx, 62xx, |
342 | 63xx, 6510, 6610, 6800, 71xx, 7210, 7250, | 342 | 63xx, 6510, 6610, 6800, 71xx, 7210, 7250, |
343 | 7250i, 82xx, 83xx, 8910, 9110, 9210 | 343 | 7250i, 82xx, 83xx, 8910, 9110, 9210 |
344 | and compatible and AT devices (Siemens, Alcatel, | 344 | and compatible and AT devices (Siemens, Alcatel, |
345 | Falcom, WaveCom, IPAQ, Samsung, SE, and others) | 345 | Falcom, WaveCom, IPAQ, Samsung, SE, and others) |
346 | over cables/infrared/BlueTooth. | 346 | over cables/infrared/BlueTooth. |
347 | 347 | ||
348 | Here is an example what to specify to access a Nokia 6310i via infrared: | 348 | Here is an example what to specify to access a Nokia 6310i via infrared: |
349 | On Linux (Zaurus): | 349 | On Linux (Zaurus): |
350 | I/O device: /dev/ircomm | 350 | I/O device: /dev/ircomm |
351 | Connection: irda | 351 | Connection: irda |
352 | Model: <leave empty> | 352 | Model: <leave empty> |
353 | 353 | ||
354 | On Windows: | 354 | On Windows: |
355 | I/O device: <ignored - i.e. leave empty> | 355 | I/O device: <ignored - i.e. leave empty> |
356 | Connection: irda | 356 | Connection: irda |
357 | Model: <leave empty> | 357 | Model: <leave empty> |
358 | 358 | ||
359 | Here is the overview from the Gammu documentation, | 359 | Here is the overview from the Gammu documentation, |
360 | how to specify the connection settings for | 360 | how to specify the connection settings for |
361 | I/O device: | 361 | I/O device: |
362 | Connection: | 362 | Connection: |
363 | Model: | 363 | Model: |
364 | 364 | ||
365 | Note: The documentation uses the term "port", | 365 | Note: The documentation uses the term "port", |
366 | where we use the term "I/O device". | 366 | where we use the term "I/O device". |
367 | Note: You do not have to create/change the gammurc configuration file. | 367 | Note: You do not have to create/change the gammurc configuration file. |
368 | That will do KO/Pi for you. | 368 | That will do KO/Pi for you. |
369 | Note: For a known model, leave "Model:" always empty, | 369 | Note: For a known model, leave "Model:" always empty, |
370 | such that Gammu can auto detect the model. | 370 | such that Gammu can auto detect the model. |
371 | 371 | ||
372 | # This is a sample ~/.gammurc file. | 372 | # This is a sample ~/.gammurc file. |
373 | # In Unix/Linux copy it into your home directory and name it .gammurc | 373 | # In Unix/Linux copy it into your home directory and name it .gammurc |
374 | # or into /etc and name it gammurc | 374 | # or into /etc and name it gammurc |
375 | # In Win32 copy it into directory with Gammu.exe and name gammurc | 375 | # In Win32 copy it into directory with Gammu.exe and name gammurc |
diff --git a/gammu/emb/gammu/gammu.c b/gammu/emb/gammu/gammu.c index c436b90..8db9afb 100644 --- a/gammu/emb/gammu/gammu.c +++ b/gammu/emb/gammu/gammu.c | |||
@@ -3990,129 +3990,129 @@ static void Backup(int argc, char *argv[]) | |||
3990 | GSM_SMSC SMSC; | 3990 | GSM_SMSC SMSC; |
3991 | GSM_Backup Backup; | 3991 | GSM_Backup Backup; |
3992 | GSM_NoteEntry Note; | 3992 | GSM_NoteEntry Note; |
3993 | GSM_Backup_Info Info; | 3993 | GSM_Backup_Info Info; |
3994 | GSM_FMStation FMStation; | 3994 | GSM_FMStation FMStation; |
3995 | GSM_GPRSAccessPointGPRSPoint; | 3995 | GSM_GPRSAccessPointGPRSPoint; |
3996 | bool DoBackup; | 3996 | bool DoBackup; |
3997 | 3997 | ||
3998 | if (argc == 4 && mystrncasecmp(argv[3],"-yes",0)) always_answer_yes = true; | 3998 | if (argc == 4 && mystrncasecmp(argv[3],"-yes",0)) always_answer_yes = true; |
3999 | 3999 | ||
4000 | GSM_ClearBackup(&Backup); | 4000 | GSM_ClearBackup(&Backup); |
4001 | GSM_GetBackupFormatFeatures(argv[2],&Info); | 4001 | GSM_GetBackupFormatFeatures(argv[2],&Info); |
4002 | 4002 | ||
4003 | sprintf(Backup.Creator,"Gammu %s",VERSION); | 4003 | sprintf(Backup.Creator,"Gammu %s",VERSION); |
4004 | if (strlen(GetOS()) != 0) { | 4004 | if (strlen(GetOS()) != 0) { |
4005 | strcat(Backup.Creator+strlen(Backup.Creator),", "); | 4005 | strcat(Backup.Creator+strlen(Backup.Creator),", "); |
4006 | strcat(Backup.Creator+strlen(Backup.Creator),GetOS()); | 4006 | strcat(Backup.Creator+strlen(Backup.Creator),GetOS()); |
4007 | } | 4007 | } |
4008 | if (strlen(GetCompiler()) != 0) { | 4008 | if (strlen(GetCompiler()) != 0) { |
4009 | strcat(Backup.Creator+strlen(Backup.Creator),", "); | 4009 | strcat(Backup.Creator+strlen(Backup.Creator),", "); |
4010 | strcat(Backup.Creator+strlen(Backup.Creator),GetCompiler()); | 4010 | strcat(Backup.Creator+strlen(Backup.Creator),GetCompiler()); |
4011 | } | 4011 | } |
4012 | 4012 | ||
4013 | signal(SIGINT, interrupt); | 4013 | signal(SIGINT, interrupt); |
4014 | printmsgerr("Press Ctrl+C to break...\n"); | 4014 | printmsgerr("Press Ctrl+C to break...\n"); |
4015 | 4015 | ||
4016 | GSM_Init(true); | 4016 | GSM_Init(true); |
4017 | 4017 | ||
4018 | if (Info.UseUnicode) { | 4018 | if (Info.UseUnicode) { |
4019 | Info.UseUnicode=answer_yes("Use Unicode subformat of backup file"); | 4019 | Info.UseUnicode=answer_yes("Use Unicode subformat of backup file"); |
4020 | } | 4020 | } |
4021 | if (Info.DateTime) { | 4021 | if (Info.DateTime) { |
4022 | GSM_GetCurrentDateTime (&Backup.DateTime); | 4022 | GSM_GetCurrentDateTime (&Backup.DateTime); |
4023 | Backup.DateTimeAvailable=true; | 4023 | Backup.DateTimeAvailable=true; |
4024 | } | 4024 | } |
4025 | if (Info.Model) { | 4025 | if (Info.Model) { |
4026 | error=Phone->GetManufacturer(&s); | 4026 | error=Phone->GetManufacturer(&s); |
4027 | Print_Error(error); | 4027 | Print_Error(error); |
4028 | sprintf(Backup.Model,"%s ",s.Phone.Data.Manufacturer); | 4028 | sprintf(Backup.Model,"%s ",s.Phone.Data.Manufacturer); |
4029 | if (s.Phone.Data.ModelInfo->model[0]!=0) { | 4029 | if (s.Phone.Data.ModelInfo->model[0]!=0) { |
4030 | strcat(Backup.Model,s.Phone.Data.ModelInfo->model); | 4030 | strcat(Backup.Model,s.Phone.Data.ModelInfo->model); |
4031 | } else { | 4031 | } else { |
4032 | strcat(Backup.Model,s.Phone.Data.Model); | 4032 | strcat(Backup.Model,s.Phone.Data.Model); |
4033 | } | 4033 | } |
4034 | strcat(Backup.Model," "); | 4034 | strcat(Backup.Model," "); |
4035 | strcat(Backup.Model,s.Phone.Data.Version); | 4035 | strcat(Backup.Model,s.Phone.Data.Version); |
4036 | } | 4036 | } |
4037 | if (Info.IMEI) { | 4037 | if (Info.IMEI) { |
4038 | error=Phone->GetIMEI(&s); | 4038 | error=Phone->GetIMEI(&s); |
4039 | if (error != ERR_NOTSUPPORTED) { | 4039 | if (error != ERR_NOTSUPPORTED) { |
4040 | strcpy(Backup.IMEI, s.Phone.Data.IMEI); | 4040 | strcpy(Backup.IMEI, s.Phone.Data.IMEI); |
4041 | Print_Error(error); | 4041 | Print_Error(error); |
4042 | } else { | 4042 | } else { |
4043 | Backup.IMEI[0] = 0; | 4043 | Backup.IMEI[0] = 0; |
4044 | } | 4044 | } |
4045 | } | 4045 | } |
4046 | printf("\n"); | 4046 | printf("\n"); |
4047 | 4047 | ||
4048 | DoBackup = false; | 4048 | DoBackup = false; |
4049 | if (Info.PhonePhonebook) { | 4049 | if (Info.PhonePhonebook) { |
4050 | printmsg("Checking phone phonebook\n"); | 4050 | printmsg("Checking phone phonebook\n"); |
4051 | MemStatus.MemoryType = MEM_ME; | 4051 | MemStatus.MemoryType = MEM_ME; |
4052 | error=Phone->GetMemoryStatus(&s, &MemStatus); | 4052 | error=Phone->GetMemoryStatus(&s, &MemStatus); |
4053 | if (error==ERR_NONE && MemStatus.MemoryUsed != 0) { | 4053 | if (error==ERR_NONE && MemStatus.MemoryUsed != 0) { |
4054 | if (answer_yes(" Backup phone phonebook")) DoBackup = true; | 4054 | /*LRif (answer_yes(" Backup phone phonebook")) */DoBackup = true; |
4055 | } | 4055 | } |
4056 | } | 4056 | } |
4057 | if (DoBackup) { | 4057 | if (DoBackup) { |
4058 | Pbk.MemoryType = MEM_ME; | 4058 | Pbk.MemoryType = MEM_ME; |
4059 | i = 1; | 4059 | i = 1; |
4060 | used = 0; | 4060 | used = 0; |
4061 | while (used != MemStatus.MemoryUsed) { | 4061 | while (used != MemStatus.MemoryUsed) { |
4062 | Pbk.Location = i; | 4062 | Pbk.Location = i; |
4063 | error=Phone->GetMemory(&s, &Pbk); | 4063 | error=Phone->GetMemory(&s, &Pbk); |
4064 | if (error != ERR_EMPTY) { | 4064 | if (error != ERR_EMPTY) { |
4065 | Print_Error(error); | 4065 | Print_Error(error); |
4066 | if (used < GSM_BACKUP_MAX_PHONEPHONEBOOK) { | 4066 | if (used < GSM_BACKUP_MAX_PHONEPHONEBOOK) { |
4067 | Backup.PhonePhonebook[used] = malloc(sizeof(GSM_MemoryEntry)); | 4067 | Backup.PhonePhonebook[used] = malloc(sizeof(GSM_MemoryEntry)); |
4068 | if (Backup.PhonePhonebook[used] == NULL) Print_Error(ERR_MOREMEMORY); | 4068 | if (Backup.PhonePhonebook[used] == NULL) Print_Error(ERR_MOREMEMORY); |
4069 | Backup.PhonePhonebook[used+1] = NULL; | 4069 | Backup.PhonePhonebook[used+1] = NULL; |
4070 | } else { | 4070 | } else { |
4071 | printmsg(" Increase %s\n" , "GSM_BACKUP_MAX_PHONEPHONEBOOK"); | 4071 | printmsg(" Increase %s\n" , "GSM_BACKUP_MAX_PHONEPHONEBOOK"); |
4072 | GSM_Terminate(); | 4072 | GSM_Terminate(); |
4073 | exit(-1); | 4073 | exit(-1); |
4074 | } | 4074 | } |
4075 | *Backup.PhonePhonebook[used]=Pbk; | 4075 | *Backup.PhonePhonebook[used]=Pbk; |
4076 | used++; | 4076 | used++; |
4077 | } | 4077 | } |
4078 | printmsgerr("%c Reading: %i percent",13,used*100/MemStatus.MemoryUsed); | 4078 | printmsgerr("%c Reading: %i percent",13,used*100/MemStatus.MemoryUsed); |
4079 | i++; | 4079 | i++; |
4080 | if (gshutdown) { | 4080 | if (gshutdown) { |
4081 | GSM_Terminate(); | 4081 | GSM_Terminate(); |
4082 | exit(0); | 4082 | exit(0); |
4083 | } | 4083 | } |
4084 | } | 4084 | } |
4085 | printmsgerr("\n"); | 4085 | printmsgerr("\n"); |
4086 | } | 4086 | } |
4087 | DoBackup = false; | 4087 | DoBackup = false; |
4088 | if (Info.SIMPhonebook) { | 4088 | if (Info.SIMPhonebook) { |
4089 | printmsg("Checking SIM phonebook\n"); | 4089 | printmsg("Checking SIM phonebook\n"); |
4090 | MemStatus.MemoryType = MEM_SM; | 4090 | MemStatus.MemoryType = MEM_SM; |
4091 | error=Phone->GetMemoryStatus(&s, &MemStatus); | 4091 | error=Phone->GetMemoryStatus(&s, &MemStatus); |
4092 | if (error==ERR_NONE && MemStatus.MemoryUsed != 0) { | 4092 | if (error==ERR_NONE && MemStatus.MemoryUsed != 0) { |
4093 | if (answer_yes(" Backup SIM phonebook")) DoBackup=true; | 4093 | if (answer_yes(" Backup SIM phonebook")) DoBackup=true; |
4094 | } | 4094 | } |
4095 | } | 4095 | } |
4096 | if (DoBackup) { | 4096 | if (DoBackup) { |
4097 | Pbk.MemoryType = MEM_SM; | 4097 | Pbk.MemoryType = MEM_SM; |
4098 | i = 1; | 4098 | i = 1; |
4099 | used = 0; | 4099 | used = 0; |
4100 | while (used != MemStatus.MemoryUsed) { | 4100 | while (used != MemStatus.MemoryUsed) { |
4101 | Pbk.Location = i; | 4101 | Pbk.Location = i; |
4102 | error=Phone->GetMemory(&s, &Pbk); | 4102 | error=Phone->GetMemory(&s, &Pbk); |
4103 | if (error != ERR_EMPTY) { | 4103 | if (error != ERR_EMPTY) { |
4104 | Print_Error(error); | 4104 | Print_Error(error); |
4105 | if (used < GSM_BACKUP_MAX_SIMPHONEBOOK) { | 4105 | if (used < GSM_BACKUP_MAX_SIMPHONEBOOK) { |
4106 | Backup.SIMPhonebook[used] = malloc(sizeof(GSM_MemoryEntry)); | 4106 | Backup.SIMPhonebook[used] = malloc(sizeof(GSM_MemoryEntry)); |
4107 | if (Backup.SIMPhonebook[used] == NULL) Print_Error(ERR_MOREMEMORY); | 4107 | if (Backup.SIMPhonebook[used] == NULL) Print_Error(ERR_MOREMEMORY); |
4108 | Backup.SIMPhonebook[used + 1] = NULL; | 4108 | Backup.SIMPhonebook[used + 1] = NULL; |
4109 | } else { | 4109 | } else { |
4110 | printmsg(" Increase %s\n" , "GSM_BACKUP_MAX_SIMPHONEBOOK"); | 4110 | printmsg(" Increase %s\n" , "GSM_BACKUP_MAX_SIMPHONEBOOK"); |
4111 | GSM_Terminate(); | 4111 | GSM_Terminate(); |
4112 | exit(-1); | 4112 | exit(-1); |
4113 | } | 4113 | } |
4114 | *Backup.SIMPhonebook[used]=Pbk; | 4114 | *Backup.SIMPhonebook[used]=Pbk; |
4115 | used++; | 4115 | used++; |
4116 | } | 4116 | } |
4117 | printmsgerr("%c Reading: %i percent",13,used*100/MemStatus.MemoryUsed); | 4117 | printmsgerr("%c Reading: %i percent",13,used*100/MemStatus.MemoryUsed); |
4118 | i++; | 4118 | i++; |
diff --git a/kammu.control b/phoneaccess.control index 07559e7..07559e7 100644 --- a/kammu.control +++ b/phoneaccess.control | |||