2008-11-04 Colin Leroy <colin@colino.net>
[gpg4win.git] / src / inst-kleopatra.nsi
1 # inst-kleopatra.nsi - Installer snippet for kleopatra.      -*- coding: latin-1; -*-
2 # Copyright (C) 2005, 2007, 2008 g10 Code GmbH
3
4 # This file is part of GPG4Win.
5
6 # GPG4Win is free software; you can redistribute it and/or modify
7 # it under the terms of the GNU General Public License as published by
8 # the Free Software Foundation; either version 2 of the License, or
9 # (at your option) any later version.
10
11 # GPG4Win is distributed in the hope that it will be useful,
12 # but WITHOUT ANY WARRANTY; without even the implied warranty of
13 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
14 # GNU General Public License for more details.
15
16 # You should have received a copy of the GNU General Public License
17 # along with this program; if not, write to the Free Software
18 # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
19
20
21 !ifdef prefix
22 !undef prefix
23 !endif
24 !define prefix ${ipdir}/kleopatra-${gpg4win_pkg_kleopatra_version}
25
26 ${MementoSection} "Kleopatra" SEC_kleopatra
27   SetOutPath "$INSTDIR"
28 !ifdef SOURCES
29   File "${gpg4win_pkg_kleopatra_src}"
30 !else
31
32   # Relocate this when dbus-daemon is relocated.
33   SetOutPath "$INSTDIR\bin"
34   File ${prefix}/bin/kleopatra.exe
35   SetOutPath "$INSTDIR"
36   File /oname=kleopatra.exe "${BUILD_DIR}/kleowrap.exe"
37
38   File ${prefix}/bin/kgpgconf.exe
39   File ${prefix}/bin/kwatchgnupg.exe
40   File ${prefix}/bin/libkleo.dll
41   File ${prefix}/bin/libkleopatraclientcore.dll
42   File ${prefix}/bin/libkleopatraclientgui.dll
43   File ${prefix}/lib/kde4/kcm_kleopatra.dll
44
45   SetOutPath "$INSTDIR\share\applications\kde4"
46
47   File ${prefix}/share/applications/kde4/kleopatra_import.desktop
48
49   SetOutPath "$INSTDIR\share\apps\kleopatra"
50
51   File ${prefix}/share/apps/kleopatra/kleopatra.rc
52
53   SetOutPath "$INSTDIR\share\apps\kleopatra\pics"
54
55   File ${prefix}/share/apps/kleopatra/pics/kleopatra_splashscreen.png
56   File ${prefix}/share/apps/kleopatra/pics/kleopatra_splashscreen.svgz
57   File ${prefix}/share/apps/kleopatra/pics/kleopatra_wizard.png
58   File ${prefix}/share/apps/kleopatra/pics/kleopatra_wizard.svgz
59
60   SetOutPath "$INSTDIR\share\apps\kwatchgnupg"
61
62   File ${prefix}/share/apps/kwatchgnupg/kwatchgnupgui.rc
63
64   SetOutPath "$INSTDIR\share\apps\kwatchgnupg\pics"
65
66   File ${prefix}/share/apps/kwatchgnupg/pics/kwatchgnupg.png
67   File ${prefix}/share/apps/kwatchgnupg/pics/kwatchgnupg2.png
68
69   SetOutPath "$INSTDIR\share\apps\libkleopatra\pics"
70
71   File ${prefix}/share/apps/libkleopatra/pics/chiasmus_chi.png
72   File ${prefix}/share/apps/libkleopatra/pics/key.png
73   File ${prefix}/share/apps/libkleopatra/pics/key_bad.png
74   File ${prefix}/share/apps/libkleopatra/pics/key_ok.png
75   File ${prefix}/share/apps/libkleopatra/pics/key_unknown.png
76
77   SetOutPath "$INSTDIR\share\config"
78
79   File ${prefix}/share/config/libkleopatrarc
80
81   SetOutPath "$INSTDIR\share\icons\oxygen\128x128\apps"
82
83   File ${prefix}/share/icons/oxygen/128x128/apps/kleopatra.png
84
85   SetOutPath "$INSTDIR\share\icons\oxygen\16x16\apps"
86
87   File ${prefix}/share/icons/oxygen/16x16/apps/kleopatra.png
88
89   SetOutPath "$INSTDIR\share\icons\oxygen\22x22\apps"
90
91   File ${prefix}/share/icons/oxygen/22x22/apps/kleopatra.png
92
93   SetOutPath "$INSTDIR\share\icons\oxygen\32x32\apps"
94
95   File ${prefix}/share/icons/oxygen/32x32/apps/kleopatra.png
96
97   SetOutPath "$INSTDIR\share\icons\oxygen\48x48\apps"
98
99   File ${prefix}/share/icons/oxygen/48x48/apps/kleopatra.png
100
101   SetOutPath "$INSTDIR\share\icons\oxygen\64x64\apps"
102
103   File ${prefix}/share/icons/oxygen/64x64/apps/kleopatra.png
104
105   SetOutPath "$INSTDIR\share\icons\oxygen\scalable\apps"
106
107   File ${prefix}/share/icons/oxygen/scalable/apps/kleopatra.svgz
108
109   SetOutPath "$INSTDIR\share\kde4\services"
110
111   File ${prefix}/share/kde4/services/kleopatra_config_appear.desktop
112   File ${prefix}/share/kde4/services/kleopatra_config_dirserv.desktop
113   File ${prefix}/share/kde4/services/kleopatra_config_dnorder.desktop
114   File ${prefix}/share/kde4/services/kleopatra_config_smimevalidation.desktop
115   File ${prefix}/share/kde4/services/kleopatra_signencryptfolders.desktop
116   File ${prefix}/share/kde4/services/kleopatra_decryptverifyfolders.desktop
117   File ${prefix}/share/kde4/services/kleopatra_signencryptfiles.desktop
118   File ${prefix}/share/kde4/services/kleopatra_decryptverifyfiles.desktop
119
120   SetOutPath "$INSTDIR\share\locale\de\LC_MESSAGES"
121
122   File ${prefix}/share/locale/de/LC_MESSAGES/akonaditray.mo
123   File ${prefix}/share/locale/de/LC_MESSAGES/akregator.mo
124   File ${prefix}/share/locale/de/LC_MESSAGES/desktop_kdepim.mo
125   File ${prefix}/share/locale/de/LC_MESSAGES/desktop_kdepimlibs.mo
126   File ${prefix}/share/locale/de/LC_MESSAGES/kabc.mo
127   File ${prefix}/share/locale/de/LC_MESSAGES/kabc2mutt.mo
128   File ${prefix}/share/locale/de/LC_MESSAGES/kabc_dir.mo
129   File ${prefix}/share/locale/de/LC_MESSAGES/kabc_file.mo
130   File ${prefix}/share/locale/de/LC_MESSAGES/kabc_ldapkio.mo
131   File ${prefix}/share/locale/de/LC_MESSAGES/kabc_net.mo
132   File ${prefix}/share/locale/de/LC_MESSAGES/kabc_slox.mo
133   File ${prefix}/share/locale/de/LC_MESSAGES/kabcakonadi.mo
134   File ${prefix}/share/locale/de/LC_MESSAGES/kabcclient.mo
135   File ${prefix}/share/locale/de/LC_MESSAGES/kabcformat_binary.mo
136   File ${prefix}/share/locale/de/LC_MESSAGES/kaddressbook.mo
137   File ${prefix}/share/locale/de/LC_MESSAGES/kalarm.mo
138   File ${prefix}/share/locale/de/LC_MESSAGES/kcmkabconfig.mo
139   File ${prefix}/share/locale/de/LC_MESSAGES/kcmkontactnt.mo
140   File ${prefix}/share/locale/de/LC_MESSAGES/kdepimresources.mo
141   File ${prefix}/share/locale/de/LC_MESSAGES/kdepimwizards.mo
142   File ${prefix}/share/locale/de/LC_MESSAGES/kdgantt1.mo
143   File ${prefix}/share/locale/de/LC_MESSAGES/kfile_vcf.mo
144   File ${prefix}/share/locale/de/LC_MESSAGES/kio_groupwise.mo
145   File ${prefix}/share/locale/de/LC_MESSAGES/kio_imap4.mo
146   File ${prefix}/share/locale/de/LC_MESSAGES/kio_ldap.mo
147   File ${prefix}/share/locale/de/LC_MESSAGES/kio_mbox.mo
148   File ${prefix}/share/locale/de/LC_MESSAGES/kio_nntp.mo
149   File ${prefix}/share/locale/de/LC_MESSAGES/kio_pop3.mo
150   File ${prefix}/share/locale/de/LC_MESSAGES/kio_sieve.mo
151   File ${prefix}/share/locale/de/LC_MESSAGES/kio_smtp.mo
152   File ${prefix}/share/locale/de/LC_MESSAGES/kitchensync.mo
153   File ${prefix}/share/locale/de/LC_MESSAGES/kjots.mo
154   File ${prefix}/share/locale/de/LC_MESSAGES/kleopatra.mo
155   File ${prefix}/share/locale/de/LC_MESSAGES/kmail.mo
156   File ${prefix}/share/locale/de/LC_MESSAGES/kmail_text_calendar_plugin.mo
157   File ${prefix}/share/locale/de/LC_MESSAGES/kmail_text_vcard_plugin.mo
158   File ${prefix}/share/locale/de/LC_MESSAGES/kmail_text_xdiff_plugin.mo
159   File ${prefix}/share/locale/de/LC_MESSAGES/kmailcvt.mo
160   File ${prefix}/share/locale/de/LC_MESSAGES/kmobiletools.mo
161   File ${prefix}/share/locale/de/LC_MESSAGES/kmobiletools_at_engine.mo
162   File ${prefix}/share/locale/de/LC_MESSAGES/knode.mo
163   File ${prefix}/share/locale/de/LC_MESSAGES/knotes.mo
164   File ${prefix}/share/locale/de/LC_MESSAGES/kode.mo
165   File ${prefix}/share/locale/de/LC_MESSAGES/konsolekalendar.mo
166   File ${prefix}/share/locale/de/LC_MESSAGES/kontact.mo
167   File ${prefix}/share/locale/de/LC_MESSAGES/kontactinterfaces.mo
168   File ${prefix}/share/locale/de/LC_MESSAGES/korganizer.mo
169   File ${prefix}/share/locale/de/LC_MESSAGES/korn.mo
170   File ${prefix}/share/locale/de/LC_MESSAGES/kpilot.mo
171   File ${prefix}/share/locale/de/LC_MESSAGES/kres_birthday.mo
172   File ${prefix}/share/locale/de/LC_MESSAGES/kres_blog.mo
173   File ${prefix}/share/locale/de/LC_MESSAGES/kres_featureplan.mo
174   File ${prefix}/share/locale/de/LC_MESSAGES/kres_groupware.mo
175   File ${prefix}/share/locale/de/LC_MESSAGES/kres_groupwise.mo
176   File ${prefix}/share/locale/de/LC_MESSAGES/kres_kolab.mo
177   File ${prefix}/share/locale/de/LC_MESSAGES/kres_remote.mo
178   File ${prefix}/share/locale/de/LC_MESSAGES/kres_scalix.mo
179   File ${prefix}/share/locale/de/LC_MESSAGES/kres_tvanytime.mo
180   File ${prefix}/share/locale/de/LC_MESSAGES/kres_xmlrpc.mo
181   File ${prefix}/share/locale/de/LC_MESSAGES/ktexteditorkabcbridge_plugin.mo
182   File ${prefix}/share/locale/de/LC_MESSAGES/ktimetracker.mo
183   File ${prefix}/share/locale/de/LC_MESSAGES/ktnef.mo
184   File ${prefix}/share/locale/de/LC_MESSAGES/kwatchgnupg.mo
185   File ${prefix}/share/locale/de/LC_MESSAGES/kxforms.mo
186   File ${prefix}/share/locale/de/LC_MESSAGES/libakonadi.mo
187   File ${prefix}/share/locale/de/LC_MESSAGES/libkblog.mo
188   File ${prefix}/share/locale/de/LC_MESSAGES/libkcal.mo
189   File ${prefix}/share/locale/de/LC_MESSAGES/libkdepim.mo
190   File ${prefix}/share/locale/de/LC_MESSAGES/libkholidays.mo
191   File ${prefix}/share/locale/de/LC_MESSAGES/libkldap.mo
192   File ${prefix}/share/locale/de/LC_MESSAGES/libkleopatra.mo
193   File ${prefix}/share/locale/de/LC_MESSAGES/libkmime.mo
194   File ${prefix}/share/locale/de/LC_MESSAGES/libkpgp.mo
195   File ${prefix}/share/locale/de/LC_MESSAGES/libkpimidentities.mo
196   File ${prefix}/share/locale/de/LC_MESSAGES/libkpimutils.mo
197   File ${prefix}/share/locale/de/LC_MESSAGES/libkresources.mo
198   File ${prefix}/share/locale/de/LC_MESSAGES/libksieve.mo
199   File ${prefix}/share/locale/de/LC_MESSAGES/libktnef.mo
200   File ${prefix}/share/locale/de/LC_MESSAGES/libkxmlrpcclient.mo
201   File ${prefix}/share/locale/de/LC_MESSAGES/libmailtransport.mo
202
203
204   # FIXME: From the lib package.  This is wrong.
205 !undef prefix
206 !define prefix ${ipdir}/kleopatra-dev-${gpg4win_pkg_kleopatra_version}
207
208   SetOutPath "$INSTDIR\share\locale\de\LC_MESSAGES"
209
210   File ${prefix}/share/locale/de/LC_MESSAGES/desktop_kdelibs.mo
211   File ${prefix}/share/locale/de/LC_MESSAGES/desktop_l10n.mo
212   File ${prefix}/share/locale/de/LC_MESSAGES/katepart4.mo
213   File ${prefix}/share/locale/de/LC_MESSAGES/kcertpart.mo
214   File ${prefix}/share/locale/de/LC_MESSAGES/kcm_phonon.mo
215   File ${prefix}/share/locale/de/LC_MESSAGES/kcmcrypto.mo
216   File ${prefix}/share/locale/de/LC_MESSAGES/kdelibs4.mo
217   File ${prefix}/share/locale/de/LC_MESSAGES/kdelibs_colors4.mo
218   File ${prefix}/share/locale/de/LC_MESSAGES/kdeqt.mo
219   File ${prefix}/share/locale/de/LC_MESSAGES/kfileaudiopreview4.mo
220   File ${prefix}/share/locale/de/LC_MESSAGES/kio4.mo
221   File ${prefix}/share/locale/de/LC_MESSAGES/kio_help4.mo
222   File ${prefix}/share/locale/de/LC_MESSAGES/ktexteditor_plugins.mo
223   File ${prefix}/share/locale/de/LC_MESSAGES/libphonon.mo
224   File ${prefix}/share/locale/de/LC_MESSAGES/phonon_kde.mo
225   File ${prefix}/share/locale/de/LC_MESSAGES/timezones4.mo
226
227   
228   SetOutPath "$INSTDIR\share\doc\HTML\en\kleopatra"
229
230   File ${prefix}/share/doc/HTML/en/kleopatra/admin-key-filters.html
231   File ${prefix}/share/doc/HTML/en/kleopatra/admin.html
232   File ${prefix}/share/doc/HTML/en/kleopatra/commandline-options.html
233   File ${prefix}/share/doc/HTML/en/kleopatra/configuration-appearance.html
234   File ${prefix}/share/doc/HTML/en/kleopatra/configuration-dn-order.html
235   File ${prefix}/share/doc/HTML/en/kleopatra/configuration.html
236   File ${prefix}/share/doc/HTML/en/kleopatra/credits-and-license.html
237   File ${prefix}/share/doc/HTML/en/kleopatra/favicon.ico
238   File ${prefix}/share/doc/HTML/en/kleopatra/fdl-notice.html
239   File ${prefix}/share/doc/HTML/en/kleopatra/functions-keylist-management.html
240   File ${prefix}/share/doc/HTML/en/kleopatra/functions-newkey.html
241   File ${prefix}/share/doc/HTML/en/kleopatra/functions-search.html
242   File ${prefix}/share/doc/HTML/en/kleopatra/functions.html
243   File ${prefix}/share/doc/HTML/en/kleopatra/header.html
244   File ${prefix}/share/doc/HTML/en/kleopatra/index.cache
245   File ${prefix}/share/doc/HTML/en/kleopatra/index.cache.bz2
246   File ${prefix}/share/doc/HTML/en/kleopatra/index.docbook
247   File ${prefix}/share/doc/HTML/en/kleopatra/index.html
248   File ${prefix}/share/doc/HTML/en/kleopatra/introduction.html
249   File ${prefix}/share/doc/HTML/en/kleopatra/mainfooter.html
250   File ${prefix}/share/doc/HTML/en/kleopatra/mainheader.html
251   File ${prefix}/share/doc/HTML/en/kleopatra/menu.html
252   File ${prefix}/share/doc/HTML/en/kleopatra/menucertificates.html
253   File ${prefix}/share/doc/HTML/en/kleopatra/menucrls.html
254   File ${prefix}/share/doc/HTML/en/kleopatra/menuhelp.html
255   File ${prefix}/share/doc/HTML/en/kleopatra/menusettings.html
256   File ${prefix}/share/doc/HTML/en/kleopatra/menutools.html
257   File ${prefix}/share/doc/HTML/en/kleopatra/xml.dcl
258
259   SetOutPath "$INSTDIR\share\doc\HTML\en\kleopatra\common"
260
261   File ${prefix}/share/doc/HTML/en/kleopatra/common/1.png
262   File ${prefix}/share/doc/HTML/en/kleopatra/common/10.png
263   File ${prefix}/share/doc/HTML/en/kleopatra/common/2.png
264   File ${prefix}/share/doc/HTML/en/kleopatra/common/3.png
265   File ${prefix}/share/doc/HTML/en/kleopatra/common/4.png
266   File ${prefix}/share/doc/HTML/en/kleopatra/common/5.png
267   File ${prefix}/share/doc/HTML/en/kleopatra/common/6.png
268   File ${prefix}/share/doc/HTML/en/kleopatra/common/7.png
269   File ${prefix}/share/doc/HTML/en/kleopatra/common/8.png
270   File ${prefix}/share/doc/HTML/en/kleopatra/common/9.png
271   File ${prefix}/share/doc/HTML/en/kleopatra/common/artistic-license.html
272   File ${prefix}/share/doc/HTML/en/kleopatra/common/block_title_bottom.png
273   File ${prefix}/share/doc/HTML/en/kleopatra/common/block_title_mid.png
274   File ${prefix}/share/doc/HTML/en/kleopatra/common/block_title_top.png
275   File ${prefix}/share/doc/HTML/en/kleopatra/common/bottom-left.png
276   File ${prefix}/share/doc/HTML/en/kleopatra/common/bottom-middle.png
277   File ${prefix}/share/doc/HTML/en/kleopatra/common/bottom-right.png
278   File ${prefix}/share/doc/HTML/en/kleopatra/common/bsd-license.html
279   File ${prefix}/share/doc/HTML/en/kleopatra/common/doxygen.css
280   File ${prefix}/share/doc/HTML/en/kleopatra/common/fdl-license
281   File ${prefix}/share/doc/HTML/en/kleopatra/common/fdl-license.html
282   File ${prefix}/share/doc/HTML/en/kleopatra/common/footer.html
283   File ${prefix}/share/doc/HTML/en/kleopatra/common/gpl-license
284   File ${prefix}/share/doc/HTML/en/kleopatra/common/gpl-license.html
285   File ${prefix}/share/doc/HTML/en/kleopatra/common/kde-default.css
286   File ${prefix}/share/doc/HTML/en/kleopatra/common/kde_logo_bg.png
287   File ${prefix}/share/doc/HTML/en/kleopatra/common/lgpl-license
288   File ${prefix}/share/doc/HTML/en/kleopatra/common/lgpl-license.html
289   File ${prefix}/share/doc/HTML/en/kleopatra/common/qpl-license.html
290   File ${prefix}/share/doc/HTML/en/kleopatra/common/tabs.css
291   File ${prefix}/share/doc/HTML/en/kleopatra/common/top-kde.jpg
292   File ${prefix}/share/doc/HTML/en/kleopatra/common/top-left.jpg
293   File ${prefix}/share/doc/HTML/en/kleopatra/common/top-left.png
294   File ${prefix}/share/doc/HTML/en/kleopatra/common/top-middle.png
295   File ${prefix}/share/doc/HTML/en/kleopatra/common/top-right.jpg
296   File ${prefix}/share/doc/HTML/en/kleopatra/common/top-right.png
297   File ${prefix}/share/doc/HTML/en/kleopatra/common/top.jpg
298   File ${prefix}/share/doc/HTML/en/kleopatra/common/x11-license.html
299
300 !endif
301 ${MementoSectionEnd}
302
303
304 LangString DESC_SEC_kleopatra ${LANG_ENGLISH} \
305    "Keymanager for OpenPGP and X.509 and common crypto dialogs."
306
307
308 LangString DESC_Menu_kleopatra ${LANG_ENGLISH} \
309    "Run the Kleopatra key management tool."