Updated kdelibs and kleoptra (debug) packages.
[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
44   SetOutPath "$INSTDIR\lib\kde4"
45
46   File ${prefix}/lib/kde4/kcm_kleopatra.dll
47
48   SetOutPath "$INSTDIR\share\applications\kde4"
49
50   File ${prefix}/share/applications/kde4/kleopatra.desktop
51   File ${prefix}/share/applications/kde4/kleopatra_import.desktop
52
53   SetOutPath "$INSTDIR\share\apps\kleopatra"
54
55   File ${prefix}/share/apps/kleopatra/kleopatra.rc
56
57   SetOutPath "$INSTDIR\share\apps\kleopatra\pics"
58
59   File ${prefix}/share/apps/kleopatra/pics/gpg4win-compact.png
60   File ${prefix}/share/apps/kleopatra/pics/gpg4win.png
61   File ${prefix}/share/apps/kleopatra/pics/kleopatra_splashscreen.png
62   File ${prefix}/share/apps/kleopatra/pics/kleopatra_splashscreen.svgz
63   File ${prefix}/share/apps/kleopatra/pics/kleopatra_wizard.png
64   File ${prefix}/share/apps/kleopatra/pics/kleopatra_wizard.svgz
65
66   SetOutPath "$INSTDIR\share\apps\kwatchgnupg"
67
68   File ${prefix}/share/apps/kwatchgnupg/kwatchgnupgui.rc
69
70   SetOutPath "$INSTDIR\share\apps\kwatchgnupg\pics"
71
72   File ${prefix}/share/apps/kwatchgnupg/pics/kwatchgnupg.png
73   File ${prefix}/share/apps/kwatchgnupg/pics/kwatchgnupg2.png
74
75   SetOutPath "$INSTDIR\share\apps\libkleopatra\pics"
76
77   File ${prefix}/share/apps/libkleopatra/pics/chiasmus_chi.png
78   File ${prefix}/share/apps/libkleopatra/pics/hi16-app-gpg.png
79   File ${prefix}/share/apps/libkleopatra/pics/hi16-app-gpgsm.png
80   File ${prefix}/share/apps/libkleopatra/pics/hi22-app-gpg.png
81   File ${prefix}/share/apps/libkleopatra/pics/hi22-app-gpgsm.png
82   File ${prefix}/share/apps/libkleopatra/pics/hi32-app-gpg.png
83   File ${prefix}/share/apps/libkleopatra/pics/hi32-app-gpgsm.png
84   File ${prefix}/share/apps/libkleopatra/pics/key.png
85   File ${prefix}/share/apps/libkleopatra/pics/key_bad.png
86   File ${prefix}/share/apps/libkleopatra/pics/key_ok.png
87   File ${prefix}/share/apps/libkleopatra/pics/key_unknown.png
88   File ${prefix}/share/apps/libkleopatra/pics/smartcard.xpm
89
90   SetOutPath "$INSTDIR\share\config"
91
92   File ${prefix}/share/config/libkleopatrarc
93
94   SetOutPath "$INSTDIR\share\doc\HTML\common"
95
96   File ${prefix}/share/doc/HTML/common/1.png
97   File ${prefix}/share/doc/HTML/common/10.png
98   File ${prefix}/share/doc/HTML/common/2.png
99   File ${prefix}/share/doc/HTML/common/3.png
100   File ${prefix}/share/doc/HTML/common/4.png
101   File ${prefix}/share/doc/HTML/common/5.png
102   File ${prefix}/share/doc/HTML/common/6.png
103   File ${prefix}/share/doc/HTML/common/7.png
104   File ${prefix}/share/doc/HTML/common/8.png
105   File ${prefix}/share/doc/HTML/common/9.png
106   File ${prefix}/share/doc/HTML/common/CMakeLists.txt
107   File ${prefix}/share/doc/HTML/common/Doxyfile.global
108   File ${prefix}/share/doc/HTML/common/README.Doxygen
109   File ${prefix}/share/doc/HTML/common/artistic-license.html
110   File ${prefix}/share/doc/HTML/common/block_title_bottom.png
111   File ${prefix}/share/doc/HTML/common/block_title_mid.png
112   File ${prefix}/share/doc/HTML/common/block_title_top.png
113   File ${prefix}/share/doc/HTML/common/bottom-left.png
114   File ${prefix}/share/doc/HTML/common/bottom-middle.png
115   File ${prefix}/share/doc/HTML/common/bottom-right.png
116   File ${prefix}/share/doc/HTML/common/bsd-license.html
117   File ${prefix}/share/doc/HTML/common/doxygen.css
118   File ${prefix}/share/doc/HTML/common/favicon.ico
119   File ${prefix}/share/doc/HTML/common/fdl-license
120   File ${prefix}/share/doc/HTML/common/fdl-license.html
121   File ${prefix}/share/doc/HTML/common/fdl-notice.html
122   File ${prefix}/share/doc/HTML/common/flat.css
123   File ${prefix}/share/doc/HTML/common/footer.html
124   File ${prefix}/share/doc/HTML/common/gpl-license
125   File ${prefix}/share/doc/HTML/common/gpl-license.html
126   File ${prefix}/share/doc/HTML/common/header.html
127   File ${prefix}/share/doc/HTML/common/kde-default.css
128   File ${prefix}/share/doc/HTML/common/kde-docs.css
129   File ${prefix}/share/doc/HTML/common/kde-localised.css.template
130   File ${prefix}/share/doc/HTML/common/kde.css
131   File ${prefix}/share/doc/HTML/common/kde_logo.png
132   File ${prefix}/share/doc/HTML/common/kde_logo_bg.png
133   File ${prefix}/share/doc/HTML/common/lgpl-license
134   File ${prefix}/share/doc/HTML/common/lgpl-license.html
135   File ${prefix}/share/doc/HTML/common/mainfooter.html
136   File ${prefix}/share/doc/HTML/common/mainheader.html
137   File ${prefix}/share/doc/HTML/common/print.css
138   File ${prefix}/share/doc/HTML/common/qpl-license.html
139   File ${prefix}/share/doc/HTML/common/tabs.css
140   File ${prefix}/share/doc/HTML/common/top-kde.jpg
141   File ${prefix}/share/doc/HTML/common/top-left.jpg
142   File ${prefix}/share/doc/HTML/common/top-left.png
143   File ${prefix}/share/doc/HTML/common/top-middle.png
144   File ${prefix}/share/doc/HTML/common/top-right.jpg
145   File ${prefix}/share/doc/HTML/common/top-right.png
146   File ${prefix}/share/doc/HTML/common/top.jpg
147   File ${prefix}/share/doc/HTML/common/x11-license.html
148   File ${prefix}/share/doc/HTML/common/xml.dcl
149
150   SetOutPath "$INSTDIR\share\doc\HTML\de\kleopatra"
151
152   File ${prefix}/share/doc/HTML/de/kleopatra/admin-key-filters.html
153   File ${prefix}/share/doc/HTML/de/kleopatra/admin.html
154   File ${prefix}/share/doc/HTML/de/kleopatra/commandline-options.html
155   File ${prefix}/share/doc/HTML/de/kleopatra/configuration-appearance.html
156   File ${prefix}/share/doc/HTML/de/kleopatra/configuration-dn-order.html
157   File ${prefix}/share/doc/HTML/de/kleopatra/configuration.html
158   File ${prefix}/share/doc/HTML/de/kleopatra/credits-and-license.html
159   File ${prefix}/share/doc/HTML/de/kleopatra/functions-keybox-management.html
160   File ${prefix}/share/doc/HTML/de/kleopatra/functions-newkey.html
161   File ${prefix}/share/doc/HTML/de/kleopatra/functions-search.html
162   File ${prefix}/share/doc/HTML/de/kleopatra/functions.html
163   File ${prefix}/share/doc/HTML/de/kleopatra/index.html
164   File ${prefix}/share/doc/HTML/de/kleopatra/introduction.html
165   File ${prefix}/share/doc/HTML/de/kleopatra/menu.html
166   File ${prefix}/share/doc/HTML/de/kleopatra/menucertificates.html
167   File ${prefix}/share/doc/HTML/de/kleopatra/menucrls.html
168   File ${prefix}/share/doc/HTML/de/kleopatra/menuhelp.html
169   File ${prefix}/share/doc/HTML/de/kleopatra/menusettings.html
170   File ${prefix}/share/doc/HTML/de/kleopatra/menutools.html
171   File ${prefix}/share/doc/HTML/de/kleopatra/menuview.html
172
173   SetOutPath "$INSTDIR\share\doc\HTML\en\kleopatra"
174
175   File ${prefix}/share/doc/HTML/en/kleopatra/admin-archive-definitions.html
176   File ${prefix}/share/doc/HTML/en/kleopatra/admin-checksum-definitions.html
177   File ${prefix}/share/doc/HTML/en/kleopatra/admin-key-filters.html
178   File ${prefix}/share/doc/HTML/en/kleopatra/admin.html
179   File ${prefix}/share/doc/HTML/en/kleopatra/commandline-options.html
180   File ${prefix}/share/doc/HTML/en/kleopatra/configuration-appearance.html
181   File ${prefix}/share/doc/HTML/en/kleopatra/configuration-crypto-operations.html
182   File ${prefix}/share/doc/HTML/en/kleopatra/configuration-gnupg-system.html
183   File ${prefix}/share/doc/HTML/en/kleopatra/configuration-smime-validation.html
184   File ${prefix}/share/doc/HTML/en/kleopatra/configuration.html
185   File ${prefix}/share/doc/HTML/en/kleopatra/credits-and-license.html
186   File ${prefix}/share/doc/HTML/en/kleopatra/functions-newkey.html
187   File ${prefix}/share/doc/HTML/en/kleopatra/functions-search.html
188   File ${prefix}/share/doc/HTML/en/kleopatra/functions.html
189   File ${prefix}/share/doc/HTML/en/kleopatra/index.html
190   File ${prefix}/share/doc/HTML/en/kleopatra/introduction.html
191   File ${prefix}/share/doc/HTML/en/kleopatra/menu.html
192   File ${prefix}/share/doc/HTML/en/kleopatra/menucertificates.html
193   File ${prefix}/share/doc/HTML/en/kleopatra/menuhelp.html
194   File ${prefix}/share/doc/HTML/en/kleopatra/menusettings.html
195   File ${prefix}/share/doc/HTML/en/kleopatra/menutools.html
196   File ${prefix}/share/doc/HTML/en/kleopatra/menuview.html
197   File ${prefix}/share/doc/HTML/en/kleopatra/menuwindow.html
198
199   SetOutPath "$INSTDIR\share\icons\oxygen\128x128\apps"
200
201   File ${prefix}/share/icons/oxygen/128x128/apps/kleopatra.png
202
203   SetOutPath "$INSTDIR\share\icons\oxygen\16x16\apps"
204
205   File ${prefix}/share/icons/oxygen/16x16/apps/kleopatra.png
206
207   SetOutPath "$INSTDIR\share\icons\oxygen\22x22\apps"
208
209   File ${prefix}/share/icons/oxygen/22x22/apps/kleopatra.png
210
211   SetOutPath "$INSTDIR\share\icons\oxygen\256x256\apps"
212
213   File ${prefix}/share/icons/oxygen/256x256/apps/kleopatra.png
214
215   SetOutPath "$INSTDIR\share\icons\oxygen\32x32\apps"
216
217   File ${prefix}/share/icons/oxygen/32x32/apps/kleopatra.png
218
219   SetOutPath "$INSTDIR\share\icons\oxygen\48x48\apps"
220
221   File ${prefix}/share/icons/oxygen/48x48/apps/kleopatra.png
222
223   SetOutPath "$INSTDIR\share\icons\oxygen\64x64\apps"
224
225   File ${prefix}/share/icons/oxygen/64x64/apps/kleopatra.png
226
227   SetOutPath "$INSTDIR\share\icons\oxygen\scalable\apps"
228
229   File ${prefix}/share/icons/oxygen/scalable/apps/kleopatra.svgz
230
231   SetOutPath "$INSTDIR\share\kde4\services"
232
233   File ${prefix}/share/kde4/services/kleopatra_config_appear.desktop
234   File ${prefix}/share/kde4/services/kleopatra_config_cryptooperations.desktop
235   File ${prefix}/share/kde4/services/kleopatra_config_dirserv.desktop
236   File ${prefix}/share/kde4/services/kleopatra_config_gnupgsystem.desktop
237   File ${prefix}/share/kde4/services/kleopatra_config_smimevalidation.desktop
238   File ${prefix}/share/kde4/services/kleopatra_decryptverifyfiles.desktop
239   File ${prefix}/share/kde4/services/kleopatra_decryptverifyfolders.desktop
240   File ${prefix}/share/kde4/services/kleopatra_signencryptfiles.desktop
241   File ${prefix}/share/kde4/services/kleopatra_signencryptfolders.desktop
242   
243 !endif
244 ${MementoSectionEnd}
245
246
247 LangString DESC_SEC_kleopatra ${LANG_ENGLISH} \
248    "Keymanager for OpenPGP and X.509 and common crypto dialogs."
249
250
251 LangString DESC_Menu_kleopatra ${LANG_ENGLISH} \
252    "Run the Kleopatra key management tool."