author | zautrix <zautrix> | 2004-10-19 20:18:42 (UTC) |
---|---|---|
committer | zautrix <zautrix> | 2004-10-19 20:18:42 (UTC) |
commit | 72fcd35606475a620a8aab7dd4cf9cbaf4b0acee (patch) (unidiff) | |
tree | 396f0af18109c1cbc0075d9409743fc2fc1c650b | |
parent | eca49bb06a71980ef61d078904573f25890fc7f2 (diff) | |
download | kdepimpi-72fcd35606475a620a8aab7dd4cf9cbaf4b0acee.zip kdepimpi-72fcd35606475a620a8aab7dd4cf9cbaf4b0acee.tar.gz kdepimpi-72fcd35606475a620a8aab7dd4cf9cbaf4b0acee.tar.bz2 |
crypto changes
-rw-r--r-- | Makefile | 24 | ||||
-rw-r--r-- | pwmanager/pwmanager/pwmanagerE.pro | 11 | ||||
-rw-r--r-- | pwmanager/pwmanager/pwmdoc.cpp | 2 |
3 files changed, 33 insertions, 4 deletions
@@ -1,113 +1,117 @@ | |||
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/libcrypt/mpi \ | ||
51 | pwmanager/libcrypt/error \ | ||
52 | pwmanager/libcrypt/cipher \ | ||
53 | pwmanager/libcrypt/zlib \ | ||
50 | pwmanager/pwmanager | 54 | pwmanager/pwmanager |
51 | 55 | ||
52 | SUBDIRS = \ | 56 | SUBDIRS = \ |
53 | $(SUBDIRS_MICROKDE) \ | 57 | $(SUBDIRS_MICROKDE) \ |
54 | $(SUBDIRS_QTOPIA_PLUGIN) \ | 58 | $(SUBDIRS_QTOPIA_PLUGIN) \ |
55 | $(SUBDIRS_OPIE_PLUGIN) \ | 59 | $(SUBDIRS_OPIE_PLUGIN) \ |
56 | $(SUBDIRS_SHARP_PLUGIN) \ | 60 | $(SUBDIRS_SHARP_PLUGIN) \ |
57 | $(SUBDIRS_LDAP_PLUGIN) \ | 61 | $(SUBDIRS_LDAP_PLUGIN) \ |
58 | $(SUBDIRS_MICROMAIL) \ | 62 | $(SUBDIRS_MICROMAIL) \ |
59 | $(SUBDIRS_GAMMU) \ | 63 | $(SUBDIRS_GAMMU) \ |
60 | $(SUBDIRS_PWMANAGER) | 64 | $(SUBDIRS_PWMANAGER) |
61 | 65 | ||
62 | 66 | ||
63 | all: build_microkde \ | 67 | all: build_microkde \ |
64 | build_qtopia_plugin \ | 68 | build_qtopia_plugin \ |
65 | build_opie_plugin \ | 69 | build_opie_plugin \ |
66 | build_sharp_plugin \ | 70 | build_sharp_plugin \ |
67 | build_ldap_plugin \ | 71 | build_ldap_plugin \ |
68 | build_micromail \ | 72 | build_micromail \ |
69 | build_gammu \ | 73 | build_gammu \ |
70 | build_pwmanager | 74 | build_pwmanager |
71 | 75 | ||
72 | 76 | ||
73 | build_microkde: variable_test tmake | 77 | build_microkde: variable_test tmake |
74 | for i in $(SUBDIRS_MICROKDE); do pushd $$i; \ | 78 | for i in $(SUBDIRS_MICROKDE); do pushd $$i; \ |
75 | make -f Makefile$(PLATFORM) || exit 1; popd; \ | 79 | make -f Makefile$(PLATFORM) || exit 1; popd; \ |
76 | done | 80 | done |
77 | 81 | ||
78 | build_qtopia_plugin: build_microkde | 82 | build_qtopia_plugin: build_microkde |
79 | ifdef BUILD_NO_QTOPIA_PLUGIN | 83 | ifdef BUILD_NO_QTOPIA_PLUGIN |
80 | @echo == qtopia plugin not build. | 84 | @echo == qtopia plugin not build. |
81 | else | 85 | else |
82 | for i in $(SUBDIRS_QTOPIA_PLUGIN); do pushd $$i; \ | 86 | for i in $(SUBDIRS_QTOPIA_PLUGIN); do pushd $$i; \ |
83 | make -f Makefile$(PLATFORM) || exit 1; popd; \ | 87 | make -f Makefile$(PLATFORM) || exit 1; popd; \ |
84 | done | 88 | done |
85 | endif | 89 | endif |
86 | 90 | ||
87 | build_opie_plugin: build_microkde | 91 | build_opie_plugin: build_microkde |
88 | ifdef BUILD_NO_OPIE_PLUGIN | 92 | ifdef BUILD_NO_OPIE_PLUGIN |
89 | @echo == opie plugin not build. | 93 | @echo == opie plugin not build. |
90 | else | 94 | else |
91 | for i in $(SUBDIRS_OPIE_PLUGIN); do pushd $$i; \ | 95 | for i in $(SUBDIRS_OPIE_PLUGIN); do pushd $$i; \ |
92 | make -f Makefile$(PLATFORM) || exit 1; popd; \ | 96 | make -f Makefile$(PLATFORM) || exit 1; popd; \ |
93 | done | 97 | done |
94 | endif | 98 | endif |
95 | 99 | ||
96 | build_sharp_plugin: build_microkde | 100 | build_sharp_plugin: build_microkde |
97 | ifdef BUILD_NO_SHARP_PLUGIN | 101 | ifdef BUILD_NO_SHARP_PLUGIN |
98 | @echo == ldap plugin not build. | 102 | @echo == ldap plugin not build. |
99 | else | 103 | else |
100 | for i in $(SUBDIRS_SHARP_PLUGIN); do pushd $$i; \ | 104 | for i in $(SUBDIRS_SHARP_PLUGIN); do pushd $$i; \ |
101 | make -f Makefile$(PLATFORM) || exit 1; popd; \ | 105 | make -f Makefile$(PLATFORM) || exit 1; popd; \ |
102 | done | 106 | done |
103 | endif | 107 | endif |
104 | 108 | ||
105 | build_ldap_plugin: build_microkde | 109 | build_ldap_plugin: build_microkde |
106 | ifdef BUILD_NO_LDAP_PLUGIN | 110 | ifdef BUILD_NO_LDAP_PLUGIN |
107 | @echo == ldap plugin not build. | 111 | @echo == ldap plugin not build. |
108 | else | 112 | else |
109 | for i in $(SUBDIRS_LDAP_PLUGIN); do pushd $$i; \ | 113 | for i in $(SUBDIRS_LDAP_PLUGIN); do pushd $$i; \ |
110 | make -f Makefile$(PLATFORM) || exit 1; popd; \ | 114 | make -f Makefile$(PLATFORM) || exit 1; popd; \ |
111 | done | 115 | done |
112 | endif | 116 | endif |
113 | 117 | ||
@@ -143,196 +147,216 @@ build_pwmanager: build_microkde | |||
143 | variable_info: | 147 | variable_info: |
144 | @echo -------------------------------------- | 148 | @echo -------------------------------------- |
145 | @echo KDEPIM buildsystem, variableinfo... | 149 | @echo KDEPIM buildsystem, variableinfo... |
146 | @echo KDEPIMDIR=$(KDEPIMDIR) | 150 | @echo KDEPIMDIR=$(KDEPIMDIR) |
147 | @echo QTDIR=$(QTDIR) | 151 | @echo QTDIR=$(QTDIR) |
148 | @echo QPEDIR=$(QPEDIR) | 152 | @echo QPEDIR=$(QPEDIR) |
149 | @echo OPIEDIR=$(OPIEDIR) | 153 | @echo OPIEDIR=$(OPIEDIR) |
150 | @echo PLATFORM=$(PLATFORM) | 154 | @echo PLATFORM=$(PLATFORM) |
151 | @echo RELEASE_DEBUG=$(RELEASE_DEBUG) | 155 | @echo RELEASE_DEBUG=$(RELEASE_DEBUG) |
152 | @echo BUILD_NO_MICROMAIL=$(BUILD_NO_MICROMAIL) | 156 | @echo BUILD_NO_MICROMAIL=$(BUILD_NO_MICROMAIL) |
153 | @echo BUILD_NO_LDAP_PLUGIN=$(BUILD_NO_LDAP_PLUGIN) | 157 | @echo BUILD_NO_LDAP_PLUGIN=$(BUILD_NO_LDAP_PLUGIN) |
154 | @echo BUILD_NO_OPIE_PLUGIN=$(BUILD_NO_OPIE_PLUGIN) | 158 | @echo BUILD_NO_OPIE_PLUGIN=$(BUILD_NO_OPIE_PLUGIN) |
155 | @echo BUILD_NO_QTOPIA_PLUGIN=$(BUILD_NO_QTOPIA_PLUGIN) | 159 | @echo BUILD_NO_QTOPIA_PLUGIN=$(BUILD_NO_QTOPIA_PLUGIN) |
156 | @echo BUILD_NO_SHARP_PLUGIN=$(BUILD_NO_SHARP_PLUGIN) | 160 | @echo BUILD_NO_SHARP_PLUGIN=$(BUILD_NO_SHARP_PLUGIN) |
157 | ifndef BUILD_NO_SHARP_PLUGIN | 161 | ifndef BUILD_NO_SHARP_PLUGIN |
158 | @echo SHARPDTMSDK=$(SHARPDTMSDK) | 162 | @echo SHARPDTMSDK=$(SHARPDTMSDK) |
159 | endif | 163 | endif |
160 | @echo BUILD_NO_GAMMU=$(BUILD_NO_GAMMU) | 164 | @echo BUILD_NO_GAMMU=$(BUILD_NO_GAMMU) |
161 | @echo BUILD_NO_PWMANAGER=$(BUILD_NO_PWMANAGER) | 165 | @echo BUILD_NO_PWMANAGER=$(BUILD_NO_PWMANAGER) |
162 | @echo -------------------------------------- | 166 | @echo -------------------------------------- |
163 | 167 | ||
164 | variable_test: variable_info | 168 | variable_test: variable_info |
165 | @echo KDEPIM buildsystem, variablecheck... | 169 | @echo KDEPIM buildsystem, variablecheck... |
166 | ifndef KDEPIMDIR | 170 | ifndef KDEPIMDIR |
167 | @echo KDEPIMDIR is not defined. | 171 | @echo KDEPIMDIR is not defined. |
168 | $(error KDEPIMDIR is not defined) | 172 | $(error KDEPIMDIR is not defined) |
169 | endif | 173 | endif |
170 | ifndef PLATFORM | 174 | ifndef PLATFORM |
171 | @echo PLATFORM is not defined. | 175 | @echo PLATFORM is not defined. |
172 | $(error PLATFORM is not defined) | 176 | $(error PLATFORM is not defined) |
173 | endif | 177 | endif |
174 | ifdef BUILD_NO_LDAP_PLUGIN | 178 | ifdef BUILD_NO_LDAP_PLUGIN |
175 | @echo LDAP PLUGIN will not be build, because BUILD_NO_LDAP_PLUGIN is set to $(BUILD_NO_LDAP_PLUGIN) | 179 | @echo LDAP PLUGIN will not be build, because BUILD_NO_LDAP_PLUGIN is set to $(BUILD_NO_LDAP_PLUGIN) |
176 | endif | 180 | endif |
177 | ifdef BUILD_NO_OPIE_PLUGIN | 181 | ifdef BUILD_NO_OPIE_PLUGIN |
178 | @echo OPIE PLUGIN will not be build, because BUILD_NO_OPIE_PLUGIN is set to $(BUILD_NO_OPIE_PLUGIN) | 182 | @echo OPIE PLUGIN will not be build, because BUILD_NO_OPIE_PLUGIN is set to $(BUILD_NO_OPIE_PLUGIN) |
179 | endif | 183 | endif |
180 | ifdef BUILD_NO_QTOPIA_PLUGIN | 184 | ifdef BUILD_NO_QTOPIA_PLUGIN |
181 | @echo QTOPIA PLUGIN will not be build, because BUILD_NO__QTOPIA_PLUGIN is set to $(BUILD_NO__QTOPIA_PLUGIN) | 185 | @echo QTOPIA PLUGIN will not be build, because BUILD_NO__QTOPIA_PLUGIN is set to $(BUILD_NO__QTOPIA_PLUGIN) |
182 | endif | 186 | endif |
183 | ifdef BUILD_NO_MICROMAIL | 187 | ifdef BUILD_NO_MICROMAIL |
184 | @echo MICROMAIL will not be build, because BUILD_NO_MICROMAIL is set to $(BUILD_NO_MICROMAIL) | 188 | @echo MICROMAIL will not be build, because BUILD_NO_MICROMAIL is set to $(BUILD_NO_MICROMAIL) |
185 | endif | 189 | endif |
186 | ifdef BUILD_NO_SHARP_PLUGIN | 190 | 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) | 191 | @echo SHARP PLUGIN will not be build, because BUILD_NO_SHARP_PLUGIN is set to $(BUILD_NO_SHARP_PLUGIN) |
188 | else | 192 | else |
189 | ifndef SHARPDTMSDK | 193 | ifndef SHARPDTMSDK |
190 | @echo SHARP PLUGIN can not be build, because SHARPDTMSDK is set to $(SHARPDTMSDK) | 194 | @echo SHARP PLUGIN can not be build, because SHARPDTMSDK is set to $(SHARPDTMSDK) |
191 | $(error SHARPDTMSDK is not defined) | 195 | $(error SHARPDTMSDK is not defined) |
192 | endif | 196 | endif |
193 | endif | 197 | endif |
194 | ifdef BUILD_NO_GAMMU | 198 | ifdef BUILD_NO_GAMMU |
195 | @echo GAMMU will not be build, because BUILD_NO_GAMMU is set to $(BUILD_NO_GAMMU) | 199 | @echo GAMMU will not be build, because BUILD_NO_GAMMU is set to $(BUILD_NO_GAMMU) |
196 | endif | 200 | endif |
197 | ifdef BUILD_NO_PWMANAGER | 201 | ifdef BUILD_NO_PWMANAGER |
198 | @echo PWMANAGER will not be build, because BUILD_NO_PWMANAGER is set to $(BUILD_NO_PWMANAGER) | 202 | @echo PWMANAGER will not be build, because BUILD_NO_PWMANAGER is set to $(BUILD_NO_PWMANAGER) |
199 | endif | 203 | endif |
200 | @echo -------------------------------------- | 204 | @echo -------------------------------------- |
201 | 205 | ||
202 | 206 | ||
203 | objects: | 207 | objects: |
204 | for i in $(SUBDIRS); do mkdir -p $$i/obj/$(PLATFORM); done | 208 | for i in $(SUBDIRS); do mkdir -p $$i/obj/$(PLATFORM); done |
205 | for i in $(SUBDIRS); do mkdir -p $$i/moc/$(PLATFORM); done | 209 | for i in $(SUBDIRS); do mkdir -p $$i/moc/$(PLATFORM); done |
206 | mkdir -p libical/lib/$(PLATFORM) | 210 | mkdir -p libical/lib/$(PLATFORM) |
211 | mkdir -p pwmanager/libcrypt/$(PLATFORM) | ||
207 | 212 | ||
208 | clean: | 213 | clean: |
209 | rm -rf libical/lib/$(PLATFORM)/*; | 214 | rm -rf libical/lib/$(PLATFORM)/*; |
215 | rm -rf pwmanager/libcrypt/$(PLATFORM)/*; | ||
210 | for i in $(SUBDIRS); do pushd $$i; make clean; rm -f *~;\ | 216 | for i in $(SUBDIRS); do pushd $$i; make clean; rm -f *~;\ |
211 | rm -f obj/$(PLATFORM)/*; rm -f moc/$(PLATFORM)/*; rm Makefile$(PLATFORM); popd; \ | 217 | rm -f obj/$(PLATFORM)/*; rm -f moc/$(PLATFORM)/*; rm Makefile$(PLATFORM); popd; \ |
212 | done | 218 | done |
213 | 219 | ||
214 | install: | 220 | install: |
215 | 221 | ||
216 | cd bin/kdepim; make install | 222 | cd bin/kdepim; make install |
217 | cp -r Pim $(QPEDIR)/apps | 223 | cp -r Pim $(QPEDIR)/apps |
218 | cp db2file/db2file $(QPEDIR)/bin/db2file | 224 | cp db2file/db2file $(QPEDIR)/bin/db2file |
219 | cp korganizer/korganizer.desktop $(QPEDIR)/apps/Pim/korganizer.desktop | 225 | cp korganizer/korganizer.desktop $(QPEDIR)/apps/Pim/korganizer.desktop |
220 | cp kaddressbook/kaddressbook.desktop $(QPEDIR)/apps/Pim/kaddressbook.desktop | 226 | cp kaddressbook/kaddressbook.desktop $(QPEDIR)/apps/Pim/kaddressbook.desktop |
221 | cp kmicromail/kmicromail.desktop $(QPEDIR)/apps/Pim/kopiemail.desktop | 227 | cp kmicromail/kmicromail.desktop $(QPEDIR)/apps/Pim/kopiemail.desktop |
222 | cp pwmanager/pwmanager/pwmanager.desktop $(QPEDIR)/apps/Pim/pwmanager.desktop | 228 | cp pwmanager/pwmanager/pwmanager.desktop $(QPEDIR)/apps/Pim/pwmanager.desktop |
223 | 229 | ||
224 | dist: | 230 | dist: |
225 | @echo Dont forget to do "make install" before "make dist" | 231 | @echo Dont forget to do "make install" before "make dist" |
226 | rm -f *arm.ipk | 232 | rm -f *arm.ipk |
227 | rm -f *~ | 233 | rm -f *~ |
228 | cd ..; tar czf kdepim.src.tar.gz --exclude=obj --exclude=moc --exclude=CVS --exclude=Makefilezaurus --exclude=Makefileqtopia kdepim | 234 | cd ..; tar czf kdepim.src.tar.gz --exclude=obj --exclude=moc --exclude=CVS --exclude=Makefilezaurus --exclude=Makefileqtopia kdepim |
229 | mkipks kmicrokdelibs.control | 235 | mkipks kmicrokdelibs.control |
230 | mkipks korganizer.control | 236 | mkipks korganizer.control |
231 | mkipks kaddressbook.control | 237 | mkipks kaddressbook.control |
232 | ifndef BUILD_NO_MICROMAIL | 238 | ifndef BUILD_NO_MICROMAIL |
233 | mkipks kopiemail.control | 239 | mkipks kopiemail.control |
234 | endif | 240 | endif |
235 | mkipks korganizer-alarm.control | 241 | mkipks korganizer-alarm.control |
236 | ifndef BUILD_NO_GAMMU | 242 | ifndef BUILD_NO_GAMMU |
237 | mkipks phoneaccess.control | 243 | mkipks phoneaccess.control |
238 | endif | 244 | endif |
239 | ifndef BUILD_NO_PWMANAGER | 245 | ifndef BUILD_NO_PWMANAGER |
240 | mkipks pwmanager.control | 246 | mkipks pwmanager.control |
241 | endif | 247 | endif |
242 | mkipks pim_TAB_icon.control | 248 | mkipks pim_TAB_icon.control |
243 | 249 | ||
244 | tmake: objects \ | 250 | tmake: objects \ |
245 | qtcompat/Makefile$(PLATFORM) \ | 251 | qtcompat/Makefile$(PLATFORM) \ |
246 | microkde/Makefile$(PLATFORM) \ | 252 | microkde/Makefile$(PLATFORM) \ |
247 | libkcal/Makefile$(PLATFORM) \ | 253 | libkcal/Makefile$(PLATFORM) \ |
248 | libkdepim/Makefile$(PLATFORM) \ | 254 | libkdepim/Makefile$(PLATFORM) \ |
249 | korganizer/Makefile$(PLATFORM) \ | 255 | korganizer/Makefile$(PLATFORM) \ |
250 | kalarmd/Makefile$(PLATFORM) \ | 256 | kalarmd/Makefile$(PLATFORM) \ |
251 | libical/src/libical/Makefile$(PLATFORM) \ | 257 | libical/src/libical/Makefile$(PLATFORM) \ |
252 | libical/src/libicalss/Makefile$(PLATFORM) \ | 258 | libical/src/libicalss/Makefile$(PLATFORM) \ |
253 | kabc/Makefile$(PLATFORM) \ | 259 | kabc/Makefile$(PLATFORM) \ |
254 | kabc/formats/binary/Makefile$(PLATFORM) \ | 260 | kabc/formats/binary/Makefile$(PLATFORM) \ |
255 | kabc/plugins/file/Makefile$(PLATFORM) \ | 261 | kabc/plugins/file/Makefile$(PLATFORM) \ |
256 | kabc/plugins/dir/Makefile$(PLATFORM) \ | 262 | kabc/plugins/dir/Makefile$(PLATFORM) \ |
257 | kabc/plugins/ldap/Makefile$(PLATFORM) \ | 263 | kabc/plugins/ldap/Makefile$(PLATFORM) \ |
258 | kabc/plugins/opie/Makefile$(PLATFORM) \ | 264 | kabc/plugins/opie/Makefile$(PLATFORM) \ |
259 | kabc/plugins/qtopia/Makefile$(PLATFORM) \ | 265 | kabc/plugins/qtopia/Makefile$(PLATFORM) \ |
260 | kabc/plugins/sharpdtm/Makefile$(PLATFORM) \ | 266 | kabc/plugins/sharpdtm/Makefile$(PLATFORM) \ |
261 | kaddressbook/Makefile$(PLATFORM) \ | 267 | kaddressbook/Makefile$(PLATFORM) \ |
262 | kmicromail/Makefile$(PLATFORM) \ | 268 | kmicromail/Makefile$(PLATFORM) \ |
263 | kmicromail/libetpan/Makefile$(PLATFORM) \ | 269 | kmicromail/libetpan/Makefile$(PLATFORM) \ |
264 | kmicromail/libmailwrapper/Makefile$(PLATFORM) \ | 270 | kmicromail/libmailwrapper/Makefile$(PLATFORM) \ |
265 | gammu/emb/common/Makefile$(PLATFORM) \ | 271 | gammu/emb/common/Makefile$(PLATFORM) \ |
266 | gammu/emb/gammu/Makefile$(PLATFORM) \ | 272 | gammu/emb/gammu/Makefile$(PLATFORM) \ |
267 | pwmanager/pwmanager/Makefile$(PLATFORM) \ | 273 | pwmanager/pwmanager/Makefile$(PLATFORM) \ |
274 | pwmanager/libcrypt/mpi/Makefile$(PLATFORM) \ | ||
275 | pwmanager/libcrypt/error/Makefile$(PLATFORM) \ | ||
276 | pwmanager/libcrypt/cipher/Makefile$(PLATFORM) \ | ||
277 | pwmanager/libcrypt/zlib/Makefile$(PLATFORM) | ||
268 | 278 | ||
269 | qtcompat/Makefile$(PLATFORM): qtcompat/qtcompat.pro | 279 | qtcompat/Makefile$(PLATFORM): qtcompat/qtcompat.pro |
270 | cd qtcompat; tmake "CONFIG+=$(RELEASE_DEBUG)" "VERSION=$(KDEPIM_VERSION)" qtcompat.pro -o Makefile$(PLATFORM) | 280 | cd qtcompat; tmake "CONFIG+=$(RELEASE_DEBUG)" "VERSION=$(KDEPIM_VERSION)" qtcompat.pro -o Makefile$(PLATFORM) |
271 | 281 | ||
272 | microkde/Makefile$(PLATFORM): microkde/microkdeE.pro | 282 | microkde/Makefile$(PLATFORM): microkde/microkdeE.pro |
273 | cd microkde; tmake "CONFIG+=$(RELEASE_DEBUG)" "VERSION=$(KDEPIM_VERSION)" microkdeE.pro -o Makefile$(PLATFORM) | 283 | cd microkde; tmake "CONFIG+=$(RELEASE_DEBUG)" "VERSION=$(KDEPIM_VERSION)" microkdeE.pro -o Makefile$(PLATFORM) |
274 | 284 | ||
275 | libkcal/Makefile$(PLATFORM): libkcal/libkcalE.pro | 285 | libkcal/Makefile$(PLATFORM): libkcal/libkcalE.pro |
276 | cd libkcal; tmake "CONFIG+=$(RELEASE_DEBUG)" "VERSION=$(KDEPIM_VERSION)" libkcalE.pro -o Makefile$(PLATFORM) | 286 | cd libkcal; tmake "CONFIG+=$(RELEASE_DEBUG)" "VERSION=$(KDEPIM_VERSION)" libkcalE.pro -o Makefile$(PLATFORM) |
277 | 287 | ||
278 | 288 | ||
279 | libkdepim/Makefile$(PLATFORM): libkdepim/libkdepimE.pro | 289 | libkdepim/Makefile$(PLATFORM): libkdepim/libkdepimE.pro |
280 | cd libkdepim; tmake "CONFIG+=$(RELEASE_DEBUG)" "VERSION=$(KDEPIM_VERSION)" libkdepimE.pro -o Makefile$(PLATFORM) | 290 | cd libkdepim; tmake "CONFIG+=$(RELEASE_DEBUG)" "VERSION=$(KDEPIM_VERSION)" libkdepimE.pro -o Makefile$(PLATFORM) |
281 | 291 | ||
282 | kalarmd/Makefile$(PLATFORM): kalarmd/kalarmdE.pro | 292 | kalarmd/Makefile$(PLATFORM): kalarmd/kalarmdE.pro |
283 | cd kalarmd; tmake "CONFIG+=$(RELEASE_DEBUG)" "VERSION=$(KDEPIM_VERSION)" kalarmdE.pro -o Makefile$(PLATFORM) | 293 | cd kalarmd; tmake "CONFIG+=$(RELEASE_DEBUG)" "VERSION=$(KDEPIM_VERSION)" kalarmdE.pro -o Makefile$(PLATFORM) |
284 | 294 | ||
285 | korganizer/Makefile$(PLATFORM): korganizer/korganizerE.pro | 295 | korganizer/Makefile$(PLATFORM): korganizer/korganizerE.pro |
286 | cd korganizer; tmake "CONFIG+=$(RELEASE_DEBUG)" "VERSION=$(KDEPIM_VERSION)" korganizerE.pro -o Makefile$(PLATFORM) | 296 | cd korganizer; tmake "CONFIG+=$(RELEASE_DEBUG)" "VERSION=$(KDEPIM_VERSION)" korganizerE.pro -o Makefile$(PLATFORM) |
287 | 297 | ||
288 | libical/src/libical/Makefile$(PLATFORM): libical/src/libical/libicalE.pro | 298 | 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) | 299 | cd libical/src/libical; tmake "CONFIG+=$(RELEASE_DEBUG)" "VERSION=$(KDEPIM_VERSION)" libicalE.pro -o Makefile$(PLATFORM) |
290 | 300 | ||
291 | libical/src/libicalss/Makefile$(PLATFORM): libical/src/libicalss/libicalssE.pro | 301 | libical/src/libicalss/Makefile$(PLATFORM): libical/src/libicalss/libicalssE.pro |
292 | cd libical/src/libicalss; tmake "CONFIG+=$(RELEASE_DEBUG)" "VERSION=$(KDEPIM_VERSION)" libicalssE.pro -o Makefile$(PLATFORM) | 302 | cd libical/src/libicalss; tmake "CONFIG+=$(RELEASE_DEBUG)" "VERSION=$(KDEPIM_VERSION)" libicalssE.pro -o Makefile$(PLATFORM) |
293 | 303 | ||
294 | kabc/Makefile$(PLATFORM): kabc/kabcE.pro | 304 | kabc/Makefile$(PLATFORM): kabc/kabcE.pro |
295 | cd kabc; tmake "CONFIG+=$(RELEASE_DEBUG)" "VERSION=$(KDEPIM_VERSION)" kabcE.pro -o Makefile$(PLATFORM) | 305 | cd kabc; tmake "CONFIG+=$(RELEASE_DEBUG)" "VERSION=$(KDEPIM_VERSION)" kabcE.pro -o Makefile$(PLATFORM) |
296 | 306 | ||
297 | kabc/formats/binary/Makefile$(PLATFORM): kabc/formats/binary/kabcformat_binaryE.pro | 307 | kabc/formats/binary/Makefile$(PLATFORM): kabc/formats/binary/kabcformat_binaryE.pro |
298 | cd kabc/formats/binary; tmake "CONFIG+=$(RELEASE_DEBUG)" "VERSION=$(KDEPIM_VERSION)" kabcformat_binaryE.pro -o Makefile$(PLATFORM) | 308 | cd kabc/formats/binary; tmake "CONFIG+=$(RELEASE_DEBUG)" "VERSION=$(KDEPIM_VERSION)" kabcformat_binaryE.pro -o Makefile$(PLATFORM) |
299 | 309 | ||
300 | kabc/plugins/file/Makefile$(PLATFORM): kabc/plugins/file/fileE.pro | 310 | kabc/plugins/file/Makefile$(PLATFORM): kabc/plugins/file/fileE.pro |
301 | cd kabc/plugins/file; tmake "CONFIG+=$(RELEASE_DEBUG)" "VERSION=$(KDEPIM_VERSION)" fileE.pro -o Makefile$(PLATFORM) | 311 | cd kabc/plugins/file; tmake "CONFIG+=$(RELEASE_DEBUG)" "VERSION=$(KDEPIM_VERSION)" fileE.pro -o Makefile$(PLATFORM) |
302 | 312 | ||
303 | kabc/plugins/dir/Makefile$(PLATFORM): kabc/plugins/dir/dirE.pro | 313 | kabc/plugins/dir/Makefile$(PLATFORM): kabc/plugins/dir/dirE.pro |
304 | cd kabc/plugins/dir; tmake "CONFIG+=$(RELEASE_DEBUG)" "VERSION=$(KDEPIM_VERSION)" dirE.pro -o Makefile$(PLATFORM) | 314 | cd kabc/plugins/dir; tmake "CONFIG+=$(RELEASE_DEBUG)" "VERSION=$(KDEPIM_VERSION)" dirE.pro -o Makefile$(PLATFORM) |
305 | 315 | ||
306 | kabc/plugins/ldap/Makefile$(PLATFORM): kabc/plugins/ldap/ldapE.pro | 316 | kabc/plugins/ldap/Makefile$(PLATFORM): kabc/plugins/ldap/ldapE.pro |
307 | cd kabc/plugins/ldap; tmake "CONFIG+=$(RELEASE_DEBUG)" "VERSION=$(KDEPIM_VERSION)" ldapE.pro -o Makefile$(PLATFORM) | 317 | cd kabc/plugins/ldap; tmake "CONFIG+=$(RELEASE_DEBUG)" "VERSION=$(KDEPIM_VERSION)" ldapE.pro -o Makefile$(PLATFORM) |
308 | 318 | ||
309 | kabc/plugins/opie/Makefile$(PLATFORM): kabc/plugins/opie/opieE.pro | 319 | kabc/plugins/opie/Makefile$(PLATFORM): kabc/plugins/opie/opieE.pro |
310 | cd kabc/plugins/opie; tmake "CONFIG+=$(RELEASE_DEBUG)" "VERSION=$(KDEPIM_VERSION)" opieE.pro -o Makefile$(PLATFORM) | 320 | cd kabc/plugins/opie; tmake "CONFIG+=$(RELEASE_DEBUG)" "VERSION=$(KDEPIM_VERSION)" opieE.pro -o Makefile$(PLATFORM) |
311 | 321 | ||
312 | kabc/plugins/qtopia/Makefile$(PLATFORM): kabc/plugins/qtopia/qtopiaE.pro | 322 | kabc/plugins/qtopia/Makefile$(PLATFORM): kabc/plugins/qtopia/qtopiaE.pro |
313 | cd kabc/plugins/qtopia; tmake "CONFIG+=$(RELEASE_DEBUG)" "VERSION=$(KDEPIM_VERSION)" qtopiaE.pro -o Makefile$(PLATFORM) | 323 | cd kabc/plugins/qtopia; tmake "CONFIG+=$(RELEASE_DEBUG)" "VERSION=$(KDEPIM_VERSION)" qtopiaE.pro -o Makefile$(PLATFORM) |
314 | 324 | ||
315 | kabc/plugins/sharpdtm/Makefile$(PLATFORM): kabc/plugins/sharpdtm/sharpdtmE.pro | 325 | kabc/plugins/sharpdtm/Makefile$(PLATFORM): kabc/plugins/sharpdtm/sharpdtmE.pro |
316 | cd kabc/plugins/sharpdtm; tmake "CONFIG+=$(RELEASE_DEBUG)" "VERSION=$(KDEPIM_VERSION)" sharpdtmE.pro -o Makefile$(PLATFORM) | 326 | cd kabc/plugins/sharpdtm; tmake "CONFIG+=$(RELEASE_DEBUG)" "VERSION=$(KDEPIM_VERSION)" sharpdtmE.pro -o Makefile$(PLATFORM) |
317 | 327 | ||
318 | kaddressbook/Makefile$(PLATFORM): kaddressbook/kaddressbookE.pro | 328 | kaddressbook/Makefile$(PLATFORM): kaddressbook/kaddressbookE.pro |
319 | cd kaddressbook; tmake "CONFIG+=$(RELEASE_DEBUG)" "VERSION=$(KDEPIM_VERSION)" kaddressbookE.pro -o Makefile$(PLATFORM) | 329 | cd kaddressbook; tmake "CONFIG+=$(RELEASE_DEBUG)" "VERSION=$(KDEPIM_VERSION)" kaddressbookE.pro -o Makefile$(PLATFORM) |
320 | 330 | ||
321 | kmicromail/Makefile$(PLATFORM): kmicromail/kmicromailE.pro | 331 | kmicromail/Makefile$(PLATFORM): kmicromail/kmicromailE.pro |
322 | cd kmicromail; tmake "CONFIG+=$(RELEASE_DEBUG)" "VERSION=$(KDEPIM_VERSION)" kmicromailE.pro -o Makefile$(PLATFORM) | 332 | cd kmicromail; tmake "CONFIG+=$(RELEASE_DEBUG)" "VERSION=$(KDEPIM_VERSION)" kmicromailE.pro -o Makefile$(PLATFORM) |
323 | 333 | ||
324 | kmicromail/libetpan/Makefile$(PLATFORM): kmicromail/libetpan/libetpanE.pro | 334 | kmicromail/libetpan/Makefile$(PLATFORM): kmicromail/libetpan/libetpanE.pro |
325 | cd kmicromail/libetpan; tmake "CONFIG+=$(RELEASE_DEBUG)" "VERSION=$(KDEPIM_VERSION)" libetpanE.pro -o Makefile$(PLATFORM) | 335 | cd kmicromail/libetpan; tmake "CONFIG+=$(RELEASE_DEBUG)" "VERSION=$(KDEPIM_VERSION)" libetpanE.pro -o Makefile$(PLATFORM) |
326 | 336 | ||
327 | kmicromail/libmailwrapper/Makefile$(PLATFORM): kmicromail/libmailwrapper/libmailwrapperE.pro | 337 | kmicromail/libmailwrapper/Makefile$(PLATFORM): kmicromail/libmailwrapper/libmailwrapperE.pro |
328 | cd kmicromail/libmailwrapper; tmake "CONFIG+=$(RELEASE_DEBUG)" "VERSION=$(KDEPIM_VERSION)" libmailwrapperE.pro -o Makefile$(PLATFORM) | 338 | cd kmicromail/libmailwrapper; tmake "CONFIG+=$(RELEASE_DEBUG)" "VERSION=$(KDEPIM_VERSION)" libmailwrapperE.pro -o Makefile$(PLATFORM) |
329 | 339 | ||
330 | gammu/emb/common/Makefile$(PLATFORM): gammu/emb/common/commonE.pro | 340 | gammu/emb/common/Makefile$(PLATFORM): gammu/emb/common/commonE.pro |
331 | cd gammu/emb/common; tmake "CONFIG+=$(RELEASE_DEBUG)" "VERSION=$(KDEPIM_VERSION)" commonE.pro -o Makefile$(PLATFORM) | 341 | cd gammu/emb/common; tmake "CONFIG+=$(RELEASE_DEBUG)" "VERSION=$(KDEPIM_VERSION)" commonE.pro -o Makefile$(PLATFORM) |
332 | 342 | ||
333 | gammu/emb/gammu/Makefile$(PLATFORM): gammu/emb/gammu/gammuE.pro | 343 | gammu/emb/gammu/Makefile$(PLATFORM): gammu/emb/gammu/gammuE.pro |
334 | cd gammu/emb/gammu; tmake "CONFIG+=$(RELEASE_DEBUG)" "VERSION=$(KDEPIM_VERSION)" gammuE.pro -o Makefile$(PLATFORM) | 344 | cd gammu/emb/gammu; tmake "CONFIG+=$(RELEASE_DEBUG)" "VERSION=$(KDEPIM_VERSION)" gammuE.pro -o Makefile$(PLATFORM) |
335 | 345 | ||
336 | pwmanager/pwmanager/Makefile$(PLATFORM): pwmanager/pwmanager/pwmanagerE.pro | 346 | pwmanager/pwmanager/Makefile$(PLATFORM): pwmanager/pwmanager/pwmanagerE.pro |
337 | cd pwmanager/pwmanager; tmake "CONFIG+=$(RELEASE_DEBUG)" "VERSION=$(KDEPIM_VERSION)" pwmanagerE.pro -o Makefile$(PLATFORM) | 347 | cd pwmanager/pwmanager; tmake "CONFIG+=$(RELEASE_DEBUG)" "VERSION=$(KDEPIM_VERSION)" pwmanagerE.pro -o Makefile$(PLATFORM) |
338 | 348 | ||
349 | |||
350 | pwmanager/libcrypt/mpi/Makefile$(PLATFORM): pwmanager/libcrypt/mpi/mpi.pro | ||
351 | cd pwmanager/libcrypt/mpi;tmake "CONFIG+=$(RELEASE_DEBUG)" "VERSION=$(KDEPIM_VERSION)" mpi.pro -o Makefile$(PLATFORM) | ||
352 | |||
353 | pwmanager/libcrypt/error/Makefile$(PLATFORM): pwmanager/libcrypt/error/error.pro | ||
354 | cd pwmanager/libcrypt/error;tmake "CONFIG+=$(RELEASE_DEBUG)" "VERSION=$(KDEPIM_VERSION)" error.pro -o Makefile$(PLATFORM) | ||
355 | |||
356 | pwmanager/libcrypt/cipher/Makefile$(PLATFORM): pwmanager/libcrypt/cipher/cipher.pro | ||
357 | cd pwmanager/libcrypt/cipher;tmake "CONFIG+=$(RELEASE_DEBUG)" "VERSION=$(KDEPIM_VERSION)" cipher.pro -o Makefile$(PLATFORM) | ||
358 | |||
359 | pwmanager/libcrypt/zlib/Makefile$(PLATFORM): pwmanager/libcrypt/zlib/zlib.pro | ||
360 | cd pwmanager/libcrypt/zlib;tmake "CONFIG+=$(RELEASE_DEBUG)" "VERSION=$(KDEPIM_VERSION)" zlib.pro -o Makefile$(PLATFORM) | ||
361 | |||
362 | |||
diff --git a/pwmanager/pwmanager/pwmanagerE.pro b/pwmanager/pwmanager/pwmanagerE.pro index 4c3a568..6aa0571 100644 --- a/pwmanager/pwmanager/pwmanagerE.pro +++ b/pwmanager/pwmanager/pwmanagerE.pro | |||
@@ -1,88 +1,93 @@ | |||
1 | TEMPLATE= app | 1 | TEMPLATE= app |
2 | CONFIG += qt warn_on | 2 | CONFIG += qt warn_on |
3 | 3 | ||
4 | 4 | ||
5 | TARGET = pwmpi | 5 | TARGET = pwmpi |
6 | OBJECTS_DIR = obj/$(PLATFORM) | 6 | OBJECTS_DIR = obj/$(PLATFORM) |
7 | MOC_DIR = moc/$(PLATFORM) | 7 | MOC_DIR = moc/$(PLATFORM) |
8 | DESTDIR=$(QPEDIR)/bin | 8 | DESTDIR=$(QPEDIR)/bin |
9 | 9 | ||
10 | INCLUDEPATH += . ../../ ../../qtcompat ../../qtcompat/xml ../../libkdepim ../../microkde ../../microkde/kdecore ../../microkde/kdeui ../../microkde/kutils $(QPEDIR)/include | 10 | INCLUDEPATH += . ../../ ../../qtcompat ../../qtcompat/xml ../../libkdepim ../../microkde ../../microkde/kdecore ../../microkde/kdeui ../../microkde/kutils $(QPEDIR)/include |
11 | DEFINES += PWM_EMBEDDED CONFIG_PWMANAGER_GCRY | 11 | DEFINES += PWM_EMBEDDED CONFIG_PWMANAGER_GCRY |
12 | 12 | ||
13 | #enable this setting if you want debugoutput for pwmanager | 13 | #enable this setting if you want debugoutput for pwmanager |
14 | #DEFINES += CONFIG_DEBUG | 14 | #DEFINES += CONFIG_DEBUG |
15 | 15 | LIBS += -L../libcrypt/$(PLATFORM) | |
16 | LIBS += -lmicrokde | 16 | LIBS += -lmicrokde |
17 | LIBS += -lmicroqtcompat | 17 | LIBS += -lmicroqtcompat |
18 | LIBS += -lmicrokdepim | 18 | LIBS += -lmicrokdepim |
19 | LIBS += -L$(QPEDIR)/lib | 19 | LIBS += -L$(QPEDIR)/lib |
20 | LIBS += -lqpe | 20 | LIBS += -lqpe |
21 | LIBS += -lz | 21 | LIBS += -lzlib |
22 | #LIBS += -lbz2 | 22 | #LIBS += -lbz2 |
23 | LIBS += -lgcrypt | 23 | #LIBS += -lkpmicrogcrypt |
24 | LIBS += -ljpeg | ||
24 | LIBS += $(QTOPIALIB) | 25 | LIBS += $(QTOPIALIB) |
26 | LIBS += -lkpmicrocipher | ||
27 | LIBS += -lkpmicroerror | ||
28 | LIBS += -lkpmicrompi | ||
29 | LIBS += -lstdc++ | ||
25 | 30 | ||
26 | #INTERFACES = \ | 31 | #INTERFACES = \ |
27 | #addentrywnd.ui \ | 32 | #addentrywnd.ui \ |
28 | #configwnd.ui \ | 33 | #configwnd.ui \ |
29 | #findwnd.ui \ | 34 | #findwnd.ui \ |
30 | #getmasterpwwnd.ui \ | 35 | #getmasterpwwnd.ui \ |
31 | #pwgenwnd.ui \ | 36 | #pwgenwnd.ui \ |
32 | #setmasterpwwnd.ui \ | 37 | #setmasterpwwnd.ui \ |
33 | #subtbledit.ui | 38 | #subtbledit.ui |
34 | 39 | ||
35 | #INTERFACES = \ | 40 | #INTERFACES = \ |
36 | #subtbledit.ui \ | 41 | #subtbledit.ui \ |
37 | 42 | ||
38 | 43 | ||
39 | 44 | ||
40 | #HEADERS = \ | 45 | #HEADERS = \ |
41 | #configuration_31compat.h \ | 46 | #configuration_31compat.h \ |
42 | #configuration.h \ | 47 | #configuration.h \ |
43 | #configwnd.h \ | 48 | #configwnd.h \ |
44 | #configwndimpl.h \ | 49 | #configwndimpl.h \ |
45 | #selftest.h | 50 | #selftest.h |
46 | #subtbledit.h \ | 51 | #subtbledit.h \ |
47 | #subtbleditimpl.h \ | 52 | #subtbleditimpl.h \ |
48 | #compressbzip2.h \ | 53 | #compressbzip2.h \ |
49 | 54 | ||
50 | HEADERS = \ | 55 | HEADERS = \ |
51 | addentrywnd_emb.h \ | 56 | addentrywnd_emb.h \ |
52 | addentrywndimpl.h \ | 57 | addentrywndimpl.h \ |
53 | base64.h \ | 58 | base64.h \ |
54 | binentrygen.h \ | 59 | binentrygen.h \ |
55 | blowfish.h \ | 60 | blowfish.h \ |
56 | commentbox.h \ | 61 | commentbox.h \ |
57 | compiler.h \ | 62 | compiler.h \ |
58 | compressgzip.h \ | 63 | compressgzip.h \ |
59 | findwnd_emb.h \ | 64 | findwnd_emb.h \ |
60 | findwndimpl.h \ | 65 | findwndimpl.h \ |
61 | genpasswd.h \ | 66 | genpasswd.h \ |
62 | getkeycardwnd.h \ | 67 | getkeycardwnd.h \ |
63 | getmasterpwwnd_emb.h \ | 68 | getmasterpwwnd_emb.h \ |
64 | getmasterpwwndimpl.h \ | 69 | getmasterpwwndimpl.h \ |
65 | globalstuff.h \ | 70 | globalstuff.h \ |
66 | gpasmanfile.h \ | 71 | gpasmanfile.h \ |
67 | htmlgen.h \ | 72 | htmlgen.h \ |
68 | htmlparse.h \ | 73 | htmlparse.h \ |
69 | ipc.h \ | 74 | ipc.h \ |
70 | libgcryptif.h \ | 75 | libgcryptif.h \ |
71 | listobjselectwnd.h \ | 76 | listobjselectwnd.h \ |
72 | listviewpwm.h \ | 77 | listviewpwm.h \ |
73 | printtext.h \ | 78 | printtext.h \ |
74 | pwgenwnd_emb.h \ | 79 | pwgenwnd_emb.h \ |
75 | pwgenwndimpl.h \ | 80 | pwgenwndimpl.h \ |
76 | pwmdoc.h \ | 81 | pwmdoc.h \ |
77 | pwmdocui.h \ | 82 | pwmdocui.h \ |
78 | pwmexception.h \ | 83 | pwmexception.h \ |
79 | pwm.h \ | 84 | pwm.h \ |
80 | pwminit.h \ | 85 | pwminit.h \ |
81 | pwmprefs.h \ | 86 | pwmprefs.h \ |
82 | pwmprint.h \ | 87 | pwmprint.h \ |
83 | pwmtray.h \ | 88 | pwmtray.h \ |
84 | pwmview.h \ | 89 | pwmview.h \ |
85 | pwmviewstyle_0.h \ | 90 | pwmviewstyle_0.h \ |
86 | pwmviewstyle_1.h \ | 91 | pwmviewstyle_1.h \ |
87 | pwmviewstyle.h \ | 92 | pwmviewstyle.h \ |
88 | randomizer.h \ | 93 | randomizer.h \ |
diff --git a/pwmanager/pwmanager/pwmdoc.cpp b/pwmanager/pwmanager/pwmdoc.cpp index f4a1636..e29e3d1 100644 --- a/pwmanager/pwmanager/pwmdoc.cpp +++ b/pwmanager/pwmanager/pwmdoc.cpp | |||
@@ -285,129 +285,129 @@ void DocTimer::metaCheckTimeout() | |||
285 | /* We simply trigger all views to update their | 285 | /* We simply trigger all views to update their |
286 | * displayed values. This way they have a chance | 286 | * displayed values. This way they have a chance |
287 | * to get notified when some meta changes over time. | 287 | * to get notified when some meta changes over time. |
288 | * (for example an entry expired). | 288 | * (for example an entry expired). |
289 | * The _view_ is responsive for not updating its | 289 | * The _view_ is responsive for not updating its |
290 | * contents if nothing really changed! | 290 | * contents if nothing really changed! |
291 | */ | 291 | */ |
292 | emit doc->dataChanged(doc); | 292 | emit doc->dataChanged(doc); |
293 | #ifdef CONFIG_KWALLETIF | 293 | #ifdef CONFIG_KWALLETIF |
294 | if (kwlEmu) | 294 | if (kwlEmu) |
295 | kwlEmu->resumeDocSignals(); | 295 | kwlEmu->resumeDocSignals(); |
296 | #endif // CONFIG_KWALLETIF | 296 | #endif // CONFIG_KWALLETIF |
297 | metaCheckTimer->start(META_CHECK_TIMER_INTERVAL * 1000, true); | 297 | metaCheckTimer->start(META_CHECK_TIMER_INTERVAL * 1000, true); |
298 | } | 298 | } |
299 | 299 | ||
300 | 300 | ||
301 | 301 | ||
302 | PwMDocList PwMDoc::openDocList; | 302 | PwMDocList PwMDoc::openDocList; |
303 | unsigned int PwMDocList::unnamedDocCnt = 1; | 303 | unsigned int PwMDocList::unnamedDocCnt = 1; |
304 | 304 | ||
305 | PwMDoc::PwMDoc(QObject *parent, const char *name) | 305 | PwMDoc::PwMDoc(QObject *parent, const char *name) |
306 | : PwMDocUi(parent, name) | 306 | : PwMDocUi(parent, name) |
307 | , dataChangedLock (0) | 307 | , dataChangedLock (0) |
308 | { | 308 | { |
309 | deleted = false; | 309 | deleted = false; |
310 | unnamedNum = 0; | 310 | unnamedNum = 0; |
311 | getOpenDocList()->add(this, getTitle().latin1()); | 311 | getOpenDocList()->add(this, getTitle().latin1()); |
312 | curDocStat = 0; | 312 | curDocStat = 0; |
313 | setMaxNumEntries(); | 313 | setMaxNumEntries(); |
314 | _timer = new DocTimer(this); | 314 | _timer = new DocTimer(this); |
315 | timer()->start(DocTimer::id_mpwTimer); | 315 | timer()->start(DocTimer::id_mpwTimer); |
316 | timer()->start(DocTimer::id_autoLockTimer); | 316 | timer()->start(DocTimer::id_autoLockTimer); |
317 | timer()->start(DocTimer::id_metaCheckTimer); | 317 | timer()->start(DocTimer::id_metaCheckTimer); |
318 | addCategory(DEFAULT_CATEGORY, 0, false); | 318 | addCategory(DEFAULT_CATEGORY, 0, false); |
319 | listView = 0; | 319 | listView = 0; |
320 | emit docCreated(this); | 320 | emit docCreated(this); |
321 | } | 321 | } |
322 | 322 | ||
323 | PwMDoc::~PwMDoc() | 323 | PwMDoc::~PwMDoc() |
324 | { | 324 | { |
325 | emit docClosed(this); | 325 | emit docClosed(this); |
326 | getOpenDocList()->del(this); | 326 | getOpenDocList()->del(this); |
327 | delete _timer; | 327 | delete _timer; |
328 | } | 328 | } |
329 | 329 | ||
330 | PwMerror PwMDoc::saveDoc(char compress, const QString *file) | 330 | PwMerror PwMDoc::saveDoc(char compress, const QString *file) |
331 | { | 331 | { |
332 | PwMerror ret, e; | 332 | PwMerror ret, e; |
333 | string serialized; | 333 | string serialized; |
334 | QFile f; | 334 | QFile f; |
335 | QString tmpFileMoved(QString::null); | 335 | QString tmpFileMoved(QString::null); |
336 | bool wasDeepLocked; | 336 | bool wasDeepLocked; |
337 | QString savedFilename(filename); | 337 | QString savedFilename(filename); |
338 | 338 | ||
339 | if (!file) { | 339 | if (!file) { |
340 | if (filename == "") | 340 | if (filename == "") |
341 | return e_filename; | 341 | return e_filename; |
342 | if (isDeepLocked()) { | 342 | if (isDeepLocked()) { |
343 | /* We don't need to save any data. | 343 | /* We don't need to save any data. |
344 | * It's already all on disk, because | 344 | * It's already all on disk, because |
345 | * we are deeplocked. | 345 | * we are deeplocked. |
346 | */ | 346 | */ |
347 | unsetDocStatFlag(DOC_STAT_DISK_DIRTY); | 347 | unsetDocStatFlag(DOC_STAT_DISK_DIRTY); |
348 | ret = e_success; | 348 | ret = e_success; |
349 | goto out; | 349 | return ret; |
350 | } | 350 | } |
351 | } else { | 351 | } else { |
352 | if (*file == "" && filename == "") | 352 | if (*file == "" && filename == "") |
353 | return e_filename; | 353 | return e_filename; |
354 | if (*file != "") | 354 | if (*file != "") |
355 | filename = *file; | 355 | filename = *file; |
356 | } | 356 | } |
357 | 357 | ||
358 | wasDeepLocked = isDeepLocked(); | 358 | wasDeepLocked = isDeepLocked(); |
359 | if (wasDeepLocked) { | 359 | if (wasDeepLocked) { |
360 | /* We are deeplocked. That means all data is already | 360 | /* We are deeplocked. That means all data is already |
361 | * on disk. BUT we need to do saving procedure, | 361 | * on disk. BUT we need to do saving procedure, |
362 | * because *file != savedFilename. | 362 | * because *file != savedFilename. |
363 | * Additionally we need to tempoarly restore | 363 | * Additionally we need to tempoarly restore |
364 | * the old "filename", because deepLock() references it. | 364 | * the old "filename", because deepLock() references it. |
365 | */ | 365 | */ |
366 | QString newFilename(filename); | 366 | QString newFilename(filename); |
367 | filename = savedFilename; | 367 | filename = savedFilename; |
368 | getDataChangedLock(); | 368 | getDataChangedLock(); |
369 | e = deepLock(false); | 369 | e = deepLock(false); |
370 | putDataChangedLock(); | 370 | putDataChangedLock(); |
371 | filename = newFilename; | 371 | filename = newFilename; |
372 | switch (e) { | 372 | switch (e) { |
373 | case e_success: | 373 | case e_success: |
374 | break; | 374 | break; |
375 | case e_wrongPw: | 375 | case e_wrongPw: |
376 | case e_noPw: | 376 | case e_noPw: |
377 | emitDataChanged(this); | 377 | emitDataChanged(this); |
378 | return e; | 378 | return e; |
379 | default: | 379 | default: |
380 | emitDataChanged(this); | 380 | emitDataChanged(this); |
381 | return e_openFile; | 381 | return e_openFile; |
382 | } | 382 | } |
383 | } | 383 | } |
384 | 384 | ||
385 | if (!isPwAvailable()) { | 385 | if (!isPwAvailable()) { |
386 | /* password is not available. This means, the | 386 | /* password is not available. This means, the |
387 | * document wasn't saved, yet. | 387 | * document wasn't saved, yet. |
388 | */ | 388 | */ |
389 | bool useChipcard = getDocStatFlag(DOC_STAT_USE_CHIPCARD); | 389 | bool useChipcard = getDocStatFlag(DOC_STAT_USE_CHIPCARD); |
390 | QString pw(requestNewMpw(&useChipcard)); | 390 | QString pw(requestNewMpw(&useChipcard)); |
391 | if (pw != "") { | 391 | if (pw != "") { |
392 | currentPw = pw; | 392 | currentPw = pw; |
393 | } else { | 393 | } else { |
394 | return e_noPw; | 394 | return e_noPw; |
395 | } | 395 | } |
396 | if (useChipcard) { | 396 | if (useChipcard) { |
397 | setDocStatFlag(DOC_STAT_USE_CHIPCARD); | 397 | setDocStatFlag(DOC_STAT_USE_CHIPCARD); |
398 | } else { | 398 | } else { |
399 | unsetDocStatFlag(DOC_STAT_USE_CHIPCARD); | 399 | unsetDocStatFlag(DOC_STAT_USE_CHIPCARD); |
400 | } | 400 | } |
401 | } | 401 | } |
402 | 402 | ||
403 | int _cryptAlgo = conf()->confGlobCryptAlgo(); | 403 | int _cryptAlgo = conf()->confGlobCryptAlgo(); |
404 | int _hashAlgo = conf()->confGlobHashAlgo(); | 404 | int _hashAlgo = conf()->confGlobHashAlgo(); |
405 | 405 | ||
406 | // sanity check for the selected algorithms | 406 | // sanity check for the selected algorithms |
407 | if (_cryptAlgo < PWM_CRYPT_BLOWFISH || | 407 | if (_cryptAlgo < PWM_CRYPT_BLOWFISH || |
408 | _cryptAlgo > PWM_CRYPT_TWOFISH128) { | 408 | _cryptAlgo > PWM_CRYPT_TWOFISH128) { |
409 | printWarn("Invalid Crypto-Algorithm selected! " | 409 | printWarn("Invalid Crypto-Algorithm selected! " |
410 | "Config-file seems to be corrupt. " | 410 | "Config-file seems to be corrupt. " |
411 | "Falling back to Blowfish."); | 411 | "Falling back to Blowfish."); |
412 | _cryptAlgo = PWM_CRYPT_BLOWFISH; | 412 | _cryptAlgo = PWM_CRYPT_BLOWFISH; |
413 | } | 413 | } |