MSI: Fix possible use of unintialized variable
[gpg4win.git] / src / config.nsi.in
1 # config.nsi - Configuration settings for gpg4win.nsi.         -*- nsi -*-
2 # Copyright (C) 2005, 2007 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., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301,
19 # USA.
20
21
22 !define _PACKAGE @PACKAGE@
23 !define _VERSION @VERSION@
24 !define _BUILD_FILEVERSION @BUILD_FILEVERSION@
25 !define _BUILD_TIMESTAMP   @BUILD_TIMESTAMP@
26 !define _BUILD_ISODATE     @BUILD_ISODATE@
27
28 !define build @build_cpu@-@build_os@
29 !define host @host_cpu@-@host_os@
30 !define MAKE @MAKE@
31 !define UNZIP @UNZIP@
32 !define TAR @TAR@
33 !define MKDIR @MKDIR@
34 !define CP @CP@
35 !define RM @RM@
36 !define STOW @STOW@
37 !define INSTALL "@INSTALL@"
38 !define WGET @WGET@
39
40 !define DOSLF "\r\n"
41
42 # If debugging is desired.
43 @GPG4WIN_DEBUG@
44
45 # The package build list, in order.
46 !define gpg4win_build_list "@gpg4win_build_list@"
47
48
49 # The default packages source directory.
50 !define gpg4win_packages @gpg4win_packages@
51
52
53 # The path of each package.
54
55 @HAVE_PKG_LIBGPG_ERROR@
56 !define gpg4win_pkg_libgpg_error @gpg4win_pkg_libgpg_error@
57 !define gpg4win_pkg_libgpg_error_version @gpg4win_pkg_libgpg_error_version@
58
59 @HAVE_PKG_W32PTH@
60 !define gpg4win_pkg_w32pth @gpg4win_pkg_w32pth@
61 !define gpg4win_pkg_w32pth_version @gpg4win_pkg_w32pth_version@
62
63 @HAVE_PKG_LIBASSUAN@
64 !define gpg4win_pkg_libassuan @gpg4win_pkg_libassuan@
65 !define gpg4win_pkg_libassuan_version @gpg4win_pkg_libassuan_version@
66
67 @HAVE_PKG_GPGME@
68 !define gpg4win_pkg_gpgme @gpg4win_pkg_gpgme@
69 !define gpg4win_pkg_gpgme_version @gpg4win_pkg_gpgme_version@
70
71 @HAVE_PKG_GNUPG_W32@
72 !define gpg4win_pkg_gnupg_w32 @gpg4win_pkg_gnupg_w32@
73 !define gpg4win_pkg_gnupg_w32_version @gpg4win_pkg_gnupg_w32_version@
74
75 @HAVE_PKG_PINENTRY@
76 !define gpg4win_pkg_pinentry @gpg4win_pkg_pinentry@
77 !define gpg4win_pkg_pinentry_version @gpg4win_pkg_pinentry_version@
78
79 @HAVE_PKG_GPGOL@
80 !define gpg4win_pkg_gpgol @gpg4win_pkg_gpgol@
81 !define gpg4win_pkg_gpgol_version @gpg4win_pkg_gpgol_version@
82
83 @HAVE_PKG_GPGEX@
84 !define gpg4win_pkg_gpgex @gpg4win_pkg_gpgex@
85 !define gpg4win_pkg_gpgex_version @gpg4win_pkg_gpgex_version@
86
87 @HAVE_PKG_GPA@
88 !define gpg4win_pkg_gpa @gpg4win_pkg_gpa@
89 !define gpg4win_pkg_gpa_version @gpg4win_pkg_gpa_version@
90
91 @HAVE_PKG_ZLIB@
92 !define gpg4win_pkg_zlib @gpg4win_pkg_zlib@
93 !define gpg4win_pkg_zlib_version @gpg4win_pkg_zlib_version@
94
95 @HAVE_PKG_BZIP2@
96 !define gpg4win_pkg_bzip2 @gpg4win_pkg_bzip2@
97 !define gpg4win_pkg_bzip2_version @gpg4win_pkg_bzip2_version@
98
99 @HAVE_PKG_LIBPNG@
100 !define gpg4win_pkg_libpng @gpg4win_pkg_libpng@
101 !define gpg4win_pkg_libpng_version @gpg4win_pkg_libpng_version@
102
103 @HAVE_PKG_PKGCONFIG@
104 !define gpg4win_pkg_pkgconfig @gpg4win_pkg_pkgconfig@
105 !define gpg4win_pkg_pkgconfig_version @gpg4win_pkg_pkgconfig_version@
106 !define gpg4win_pkg_pkgconfig_src @gpg4win_pkg_pkgconfig_src@
107
108 @HAVE_PKG_GLIB@
109 !define gpg4win_pkg_glib @gpg4win_pkg_glib@
110 !define gpg4win_pkg_glib_version @gpg4win_pkg_glib_version@
111 #!define gpg4win_pkg_glib_dev @gpg4win_pkg_glib_dev@
112 #!define gpg4win_pkg_glib_src @gpg4win_pkg_glib_src@
113
114 @HAVE_PKG_GDK_PIXBUF@
115 !define gpg4win_pkg_gdk_pixbuf @gpg4win_pkg_gdk_pixbuf@
116 !define gpg4win_pkg_gdk_pixbuf_version @gpg4win_pkg_gdk_pixbuf_version@
117
118 @HAVE_PKG_LIBFFI@
119 !define gpg4win_pkg_libffi @gpg4win_pkg_libffi@
120 !define gpg4win_pkg_libffi_version @gpg4win_pkg_libffi_version@
121
122
123 @HAVE_PKG_ATK@
124 !define gpg4win_pkg_atk @gpg4win_pkg_atk@
125 !define gpg4win_pkg_atk_version @gpg4win_pkg_atk_version@
126 !define gpg4win_pkg_atk_dev @gpg4win_pkg_atk_dev@
127 !define gpg4win_pkg_atk_src @gpg4win_pkg_atk_src@
128
129 @HAVE_PKG_EXPAT@
130 !define gpg4win_pkg_expat @gpg4win_pkg_expat@
131 !define gpg4win_pkg_expat_version @gpg4win_pkg_expat_version@
132 !define gpg4win_pkg_expat_dev @gpg4win_pkg_expat_dev@
133 !define gpg4win_pkg_expat_src @gpg4win_pkg_expat_src@
134
135 @HAVE_PKG_FREETYPE@
136 !define gpg4win_pkg_freetype @gpg4win_pkg_freetype@
137 !define gpg4win_pkg_freetype_version @gpg4win_pkg_freetype_version@
138 !define gpg4win_pkg_freetype_dev @gpg4win_pkg_freetype_dev@
139 !define gpg4win_pkg_freetype_src @gpg4win_pkg_freetype_src@
140
141 @HAVE_PKG_FONTCONFIG@
142 !define gpg4win_pkg_fontconfig @gpg4win_pkg_fontconfig@
143 !define gpg4win_pkg_fontconfig_version @gpg4win_pkg_fontconfig_version@
144 !define gpg4win_pkg_fontconfig_dev @gpg4win_pkg_fontconfig_dev@
145 !define gpg4win_pkg_fontconfig_src @gpg4win_pkg_fontconfig_src@
146
147 @HAVE_PKG_CAIRO@
148 !define gpg4win_pkg_cairo @gpg4win_pkg_cairo@
149 !define gpg4win_pkg_cairo_version @gpg4win_pkg_cairo_version@
150 !define gpg4win_pkg_cairo_dev @gpg4win_pkg_cairo_dev@
151 !define gpg4win_pkg_cairo_src @gpg4win_pkg_cairo_src@
152
153 @HAVE_PKG_PANGO@
154 !define gpg4win_pkg_pango @gpg4win_pkg_pango@
155 !define gpg4win_pkg_pango_version @gpg4win_pkg_pango_version@
156 !define gpg4win_pkg_pango_dev @gpg4win_pkg_pango_dev@
157 !define gpg4win_pkg_pango_src @gpg4win_pkg_pango_src@
158
159 @HAVE_PKG_GTK_@
160 !define gpg4win_pkg_gtk_ @gpg4win_pkg_gtk_@
161 !define gpg4win_pkg_gtk__version @gpg4win_pkg_gtk__version@
162 !define gpg4win_pkg_gtk__dev @gpg4win_pkg_gtk__dev@
163 !define gpg4win_pkg_gtk__src @gpg4win_pkg_gtk__src@
164
165 @HAVE_PKG_LIBICONV@
166 !define gpg4win_pkg_libiconv @gpg4win_pkg_libiconv@
167 !define gpg4win_pkg_libiconv_version @gpg4win_pkg_libiconv_version@
168 !define gpg4win_pkg_libiconv_src @gpg4win_pkg_libiconv_src@
169
170 @HAVE_PKG_GETTEXT@
171 !define gpg4win_pkg_gettext @gpg4win_pkg_gettext@
172 !define gpg4win_pkg_gettext_version @gpg4win_pkg_gettext_version@
173 !define gpg4win_pkg_gettext_src @gpg4win_pkg_gettext_src@
174
175 @HAVE_PKG_QTBASE@
176 !define gpg4win_pkg_qtbase @gpg4win_pkg_qtbase@
177 !define gpg4win_pkg_qtbase_version @gpg4win_pkg_qtbase_version@
178 !define gpg4win_pkg_qtbase_src @gpg4win_pkg_qtbase_src@
179
180 @HAVE_PKG_BREEZE_ICONS@
181 !define gpg4win_pkg_breeze_icons @gpg4win_pkg_breeze_icons@
182 !define gpg4win_pkg_breeze_icons_version @gpg4win_pkg_breeze_icons_version@
183
184 @HAVE_PKG_KLEOPATRA@
185 !define gpg4win_pkg_kleopatra @gpg4win_pkg_kleopatra@
186 !define gpg4win_pkg_kleopatra_version @gpg4win_pkg_kleopatra_version@
187
188 @HAVE_PKG_PAPERKEY@
189 !define gpg4win_pkg_paperkey @gpg4win_pkg_paperkey@
190 !define gpg4win_pkg_paperkey_version @gpg4win_pkg_paperkey_version@
191
192 @HAVE_PKG_KCONFIG@
193 !define gpg4win_pkg_kconfig @gpg4win_pkg_kconfig@
194 !define gpg4win_pkg_kconfig_version @gpg4win_pkg_kconfig_version@
195
196 @HAVE_PKG_QTTOOLS@
197 !define gpg4win_pkg_qttools @gpg4win_pkg_qttools@
198 !define gpg4win_pkg_qttools_version @gpg4win_pkg_qttools_version@
199
200 @HAVE_PKG_EXTRA_CMAKE_MODULES@
201 !define gpg4win_pkg_extra_cmake_modules @gpg4win_pkg_extra_cmake_modules@
202 !define gpg4win_pkg_extra_cmake_modules_version @gpg4win_pkg_extra_cmake_modules_version@
203
204 @HAVE_PKG_KI18N@
205 !define gpg4win_pkg_ki18n @gpg4win_pkg_ki18n@
206 !define gpg4win_pkg_ki18n_version @gpg4win_pkg_ki18n_version@
207
208 @HAVE_PKG_KWIDGETSADDONS@
209 !define gpg4win_pkg_kwidgetsaddons @gpg4win_pkg_kwidgetsaddons@
210 !define gpg4win_pkg_kwidgetsaddons_version @gpg4win_pkg_kwidgetsaddons_version@
211
212 @HAVE_PKG_BOOST@
213 !define gpg4win_pkg_boost @gpg4win_pkg_boost@
214 !define gpg4win_pkg_boost_version @gpg4win_pkg_boost_version@
215
216 @HAVE_PKG_KCOMPLETION@
217 !define gpg4win_pkg_kcompletion @gpg4win_pkg_kcompletion@
218 !define gpg4win_pkg_kcompletion_version @gpg4win_pkg_kcompletion_version@
219
220 @HAVE_PKG_KWINDOWSYSTEM@
221 !define gpg4win_pkg_kwindowsystem @gpg4win_pkg_kwindowsystem@
222 !define gpg4win_pkg_kwindowsystem_version @gpg4win_pkg_kwindowsystem_version@
223
224 @HAVE_PKG_QTWINEXTRAS@
225 !define gpg4win_pkg_qtwinextras @gpg4win_pkg_qtwinextras@
226 !define gpg4win_pkg_qtwinextras_version @gpg4win_pkg_qtwinextras_version@
227
228 @HAVE_PKG_KCOREADDONS@
229 !define gpg4win_pkg_kcoreaddons @gpg4win_pkg_kcoreaddons@
230 !define gpg4win_pkg_kcoreaddons_version @gpg4win_pkg_kcoreaddons_version@
231
232 @HAVE_PKG_LIBKLEO@
233 !define gpg4win_pkg_libkleo @gpg4win_pkg_libkleo@
234 !define gpg4win_pkg_libkleo_version @gpg4win_pkg_libkleo_version@
235
236 @HAVE_PKG_KCODECS@
237 !define gpg4win_pkg_kcodecs @gpg4win_pkg_kcodecs@
238 !define gpg4win_pkg_kcodecs_version @gpg4win_pkg_kcodecs_version@
239
240 @HAVE_PKG_KMIME@
241 !define gpg4win_pkg_kmime @gpg4win_pkg_kmime@
242 !define gpg4win_pkg_kmime_version @gpg4win_pkg_kmime_version@
243
244 @HAVE_PKG_KCONFIGWIDGETS@
245 !define gpg4win_pkg_kconfigwidgets @gpg4win_pkg_kconfigwidgets@
246 !define gpg4win_pkg_kconfigwidgets_version @gpg4win_pkg_kconfigwidgets_version@
247
248 @HAVE_PKG_KXMLGUI@
249 !define gpg4win_pkg_kxmlgui @gpg4win_pkg_kxmlgui@
250 !define gpg4win_pkg_kxmlgui_version @gpg4win_pkg_kxmlgui_version@
251
252 @HAVE_PKG_KGUIADDONS@
253 !define gpg4win_pkg_kguiaddons @gpg4win_pkg_kguiaddons@
254 !define gpg4win_pkg_kguiaddons_version @gpg4win_pkg_kguiaddons_version@
255
256 @HAVE_PKG_KITEMVIEWS@
257 !define gpg4win_pkg_kitemviews @gpg4win_pkg_kitemviews@
258 !define gpg4win_pkg_kitemviews_version @gpg4win_pkg_kitemviews_version@
259
260 @HAVE_PKG_KITEMMODELS@
261 !define gpg4win_pkg_kitemmodels @gpg4win_pkg_kitemmodels@
262 !define gpg4win_pkg_kitemmodels_version @gpg4win_pkg_kitemmodels_version@
263
264 @HAVE_PKG_KICONTHEMES@
265 !define gpg4win_pkg_kiconthemes @gpg4win_pkg_kiconthemes@
266 !define gpg4win_pkg_kiconthemes_version @gpg4win_pkg_kiconthemes_version@
267
268 @HAVE_PKG_QTSVG@
269 !define gpg4win_pkg_qtsvg @gpg4win_pkg_qtsvg@
270 !define gpg4win_pkg_qtsvg_version @gpg4win_pkg_qtsvg_version@
271
272 @HAVE_PKG_QTTRANSLATIONS@
273 !define gpg4win_pkg_qttranslations @gpg4win_pkg_qttranslations@
274 !define gpg4win_pkg_qttranslations_version @gpg4win_pkg_qttranslations_version@
275
276 @HAVE_PKG_KDE_L10N@
277 !define gpg4win_pkg_kde_l10n @gpg4win_pkg_kde_l10n@
278 !define gpg4win_pkg_kde_l10n_version @gpg4win_pkg_kde_l10n_version@
279 !define gpg4win_pkg_kde_l10n_src @gpg4win_pkg_kde_l10n_src@
280
281 @HAVE_PKG_KARCHIVE@
282 !define gpg4win_pkg_karchive @gpg4win_pkg_karchive@
283 !define gpg4win_pkg_karchive_version @gpg4win_pkg_karchive_version@
284
285 @HAVE_PKG_KCRASH@
286 !define gpg4win_pkg_kcrash @gpg4win_pkg_karchive@
287 !define gpg4win_pkg_kcrash_version @gpg4win_pkg_karchive_version@
288
289 @HAVE_PKG_GPG4WIN_TOOLS@
290 !define gpg4win_pkg_gpg4win_tools @gpg4win_pkg_gpg4win_tools@
291 !define gpg4win_pkg_gpg4win_tools_version @gpg4win_pkg_gpg4win_tools_version@
292
293 @HAVE_PKG_SCUTE@
294 !define gpg4win_pkg_scute @gpg4win_pkg_scute@
295 !define gpg4win_pkg_scute_version @gpg4win_pkg_scute_version@
296
297 # Internal packages.
298 @HAVE_PKG_COMPENDIUM@
299
300 # @HAVE_PKG_MAN_NOVICE_EN@
301
302 # @HAVE_PKG_MAN_ADVANCED_EN@