|
|
1
|
+!include "MUI2.nsh"
|
|
|
2
|
+
|
|
|
3
|
+Name "Gajim"
|
|
|
4
|
+OutFile "Gajim-Portable.exe"
|
|
|
5
|
+SetCompressor /final /solid lzma
|
|
|
6
|
+
|
|
|
7
|
+!define myAppName "Gajim"
|
|
|
8
|
+
|
|
|
9
|
+InstallDir "$PROFILE\Gajim"
|
|
|
10
|
+RequestExecutionLevel user
|
|
|
11
|
+
|
|
|
12
|
+!define MUI_ICON "${NSISDIR}\Contrib\Graphics\Icons\orange-install.ico"
|
|
|
13
|
+!define MUI_HEADERIMAGE
|
|
|
14
|
+!define MUI_HEADERIMAGE_BITMAP "data\pixmaps\nsis_header.bmp"
|
|
|
15
|
+!define MUI_WELCOMEFINISHPAGE_BITMAP "data\pixmaps\nsis_wizard.bmp"
|
|
|
16
|
+!define MUI_UNWELCOMEFINISHPAGE_BITMAP "data\pixmaps\nsis_wizard.bmp"
|
|
|
17
|
+!define MUI_COMPONENTSPAGE_SMALLDESC
|
|
|
18
|
+!define MUI_ABORTWARNING
|
|
|
19
|
+
|
|
|
20
|
+!insertmacro MUI_PAGE_WELCOME
|
|
|
21
|
+!insertmacro MUI_PAGE_LICENSE "COPYING"
|
|
|
22
|
+!insertmacro MUI_PAGE_COMPONENTS
|
|
|
23
|
+!insertmacro MUI_PAGE_DIRECTORY
|
|
|
24
|
+!insertmacro MUI_PAGE_INSTFILES
|
|
|
25
|
+!insertmacro MUI_PAGE_FINISH
|
|
|
26
|
+
|
|
|
27
|
+!insertmacro MUI_UNPAGE_WELCOME
|
|
|
28
|
+!insertmacro MUI_UNPAGE_CONFIRM
|
|
|
29
|
+!insertmacro MUI_UNPAGE_INSTFILES
|
|
|
30
|
+!insertmacro MUI_UNPAGE_FINISH
|
|
|
31
|
+
|
|
|
32
|
+;Show all languages, despite user's codepage
|
|
|
33
|
+!define MUI_LANGDLL_ALLLANGUAGES
|
|
|
34
|
+
|
|
|
35
|
+!insertmacro MUI_LANGUAGE "English"
|
|
|
36
|
+!insertmacro MUI_LANGUAGE "French"
|
|
|
37
|
+!insertmacro MUI_LANGUAGE "German"
|
|
|
38
|
+!insertmacro MUI_LANGUAGE "Italian"
|
|
|
39
|
+!insertmacro MUI_LANGUAGE "Russian"
|
|
|
40
|
+!insertmacro MUI_LANGUAGE "Hebrew"
|
|
|
41
|
+!insertmacro MUI_RESERVEFILE_LANGDLL
|
|
|
42
|
+
|
|
|
43
|
+; English
|
|
|
44
|
+LangString NAME_Emoticons ${LANG_ENGLISH} "Emoticons"
|
|
|
45
|
+LangString NAME_Iconsets ${LANG_ENGLISH} "Iconsets"
|
|
|
46
|
+LangString NAME_Languages ${LANG_ENGLISH} "Languages"
|
|
|
47
|
+LangString NAME_SecLanguagesOther ${LANG_ENGLISH} "Other"
|
|
|
48
|
+LangString NAME_Themes ${LANG_ENGLISH} "Themes"
|
|
|
49
|
+LangString DESC_SecGajim ${LANG_ENGLISH} "Installs the main Gajim files."
|
|
|
50
|
+
|
|
|
51
|
+
|
|
|
52
|
+; French
|
|
|
53
|
+LangString NAME_Emoticons ${LANG_FRENCH} "Emoticônes"
|
|
|
54
|
+LangString NAME_Iconsets ${LANG_FRENCH} "Bibliothèque d'icônes"
|
|
|
55
|
+LangString NAME_Languages ${LANG_FRENCH} "Langues"
|
|
|
56
|
+LangString NAME_SecLanguagesOther ${LANG_FRENCH} "Autre"
|
|
|
57
|
+LangString NAME_Themes ${LANG_FRENCH} "Thèmes"
|
|
|
58
|
+LangString DESC_SecGajim ${LANG_FRENCH} "Installer les fichiers principaux de Gajim."
|
|
|
59
|
+
|
|
|
60
|
+
|
|
|
61
|
+; German
|
|
|
62
|
+LangString NAME_Emoticons ${LANG_GERMAN} "Emoticons"
|
|
|
63
|
+LangString NAME_Iconsets ${LANG_GERMAN} "Symbolsets"
|
|
|
64
|
+LangString NAME_Languages ${LANG_GERMAN} "Sprachen"
|
|
|
65
|
+LangString NAME_SecLanguagesOther ${LANG_GERMAN} "Sonstige"
|
|
|
66
|
+LangString NAME_Themes ${LANG_GERMAN} "Designs"
|
|
|
67
|
+LangString DESC_SecGajim ${LANG_GERMAN} "Installiert die Hauptdateien von Gajim."
|
|
|
68
|
+
|
|
|
69
|
+
|
|
|
70
|
+; Italian
|
|
|
71
|
+LangString NAME_Emoticons ${LANG_ITALIAN} "Emoticons"
|
|
|
72
|
+LangString NAME_Iconsets ${LANG_ITALIAN} "Set di icone"
|
|
|
73
|
+LangString NAME_Languages ${LANG_ITALIAN} "Lingue"
|
|
|
74
|
+LangString NAME_SecLanguagesOther ${LANG_ITALIAN} "Altre"
|
|
|
75
|
+LangString NAME_Themes ${LANG_ITALIAN} "Temi"
|
|
|
76
|
+LangString DESC_SecGajim ${LANG_ITALIAN} "Installa i file principali di Gajim."
|
|
|
77
|
+
|
|
|
78
|
+
|
|
|
79
|
+; Russian
|
|
|
80
|
+LangString NAME_Emoticons ${LANG_RUSSIAN} "Ñìàéëèêè"
|
|
|
81
|
+LangString NAME_Iconsets ${LANG_RUSSIAN} "Òåìû èêîíîê"
|
|
|
82
|
+LangString NAME_Languages ${LANG_RUSSIAN} "ßçûêè"
|
|
|
83
|
+LangString NAME_SecLanguagesOther ${LANG_RUSSIAN} "Äðóãîå"
|
|
|
84
|
+LangString NAME_Themes ${LANG_RUSSIAN} "Òåìû"
|
|
|
85
|
+LangString DESC_SecGajim ${LANG_RUSSIAN} "Óñòàíîâêà îñíîâíûõ ôàéëîâ Gajim."
|
|
|
86
|
+
|
|
|
87
|
+
|
|
|
88
|
+; Hebrew
|
|
|
89
|
+LangString NAME_Emoticons ${LANG_HEBREW} "øâùåðéí"
|
|
|
90
|
+LangString NAME_Iconsets ${LANG_HEBREW} "îòøëé öìîéú"
|
|
|
91
|
+LangString NAME_Languages ${LANG_HEBREW} "ùôåú"
|
|
|
92
|
+LangString NAME_SecLanguagesOther ${LANG_HEBREW} "àçøåú"
|
|
|
93
|
+LangString NAME_Themes ${LANG_HEBREW} "òøëàåú ðåùà"
|
|
|
94
|
+LangString DESC_SecGajim ${LANG_HEBREW} "îú÷éï ÷áöé Gajim òé÷øééí."
|
|
|
95
|
+
|
|
|
96
|
+Section "Gajim" SecGajim
|
|
|
97
|
+ SectionIn RO
|
|
|
98
|
+
|
|
|
99
|
+ SetOutPath "$INSTDIR"
|
|
|
100
|
+ File "AUTHORS"
|
|
|
101
|
+ File "COPYING"
|
|
|
102
|
+ File "THANKS"
|
|
|
103
|
+ File "THANKS.artists"
|
|
|
104
|
+ File /r "build"
|
|
|
105
|
+
|
|
|
106
|
+ SetOutPath "$INSTDIR\data"
|
|
|
107
|
+ File /r "data\gui"
|
|
|
108
|
+ File /r "data\moods"
|
|
|
109
|
+ File /r "data\activities"
|
|
|
110
|
+ File /r "data\other"
|
|
|
111
|
+ File /r "data\pixmaps"
|
|
|
112
|
+ File /r "data\sounds"
|
|
|
113
|
+
|
|
|
114
|
+ SetOutPath "$INSTDIR\icons"
|
|
|
115
|
+ File /r "icons\hicolor"
|
|
|
116
|
+
|
|
|
117
|
+ SetOutPath "$INSTDIR\build"
|
|
|
118
|
+ CreateShortCut "$INSTDIR\Gajim-Portable.lnk" "$INSTDIR\build\Gajim.exe" \
|
|
|
119
|
+ "-c ..\UserData" "" "" SW_SHOWNORMAL "" "Gajim Portable"
|
|
|
120
|
+
|
|
|
121
|
+SectionEnd
|
|
|
122
|
+
|
|
|
123
|
+Section "Plugins" SecPlugins
|
|
|
124
|
+ SetOutPath "$INSTDIR\plugins"
|
|
|
125
|
+ File /r "plugins\plugin_installer"
|
|
|
126
|
+SectionEnd
|
|
|
127
|
+
|
|
|
128
|
+SectionGroup $(NAME_Emoticons)
|
|
|
129
|
+
|
|
|
130
|
+Section "animated" SecEmoticonsAnimated
|
|
|
131
|
+ SetOutPath "$INSTDIR\data\emoticons"
|
|
|
132
|
+ File /r "data\emoticons\animated"
|
|
|
133
|
+SectionEnd
|
|
|
134
|
+
|
|
|
135
|
+Section "static" SecEmoticonsStatic
|
|
|
136
|
+ SectionIn RO
|
|
|
137
|
+ SetOutPath "$INSTDIR\data\emoticons"
|
|
|
138
|
+ File /r "data\emoticons\static"
|
|
|
139
|
+SectioNEnd
|
|
|
140
|
+
|
|
|
141
|
+Section "static-big" SecEmoticonsStaticBig
|
|
|
142
|
+ SetOutPath "$INSTDIR\data\emoticons"
|
|
|
143
|
+ File /r "data\emoticons\static-big"
|
|
|
144
|
+SectionEnd
|
|
|
145
|
+
|
|
|
146
|
+SectionGroupEnd
|
|
|
147
|
+
|
|
|
148
|
+SectionGroup $(NAME_Iconsets)
|
|
|
149
|
+
|
|
|
150
|
+Section "dcraven" SecIconsetsDcraven
|
|
|
151
|
+ SectionIn RO
|
|
|
152
|
+ SetOutPath "$INSTDIR\data\iconsets"
|
|
|
153
|
+ File /r "data\iconsets\dcraven"
|
|
|
154
|
+SectionEnd
|
|
|
155
|
+
|
|
|
156
|
+Section "gnome" SecIconsetsGnome
|
|
|
157
|
+ SetOutPath "$INSTDIR\data\iconsets"
|
|
|
158
|
+ File /r "data\iconsets\gnome"
|
|
|
159
|
+SectionEnd
|
|
|
160
|
+
|
|
|
161
|
+Section "goojim" SecIconsetsGoojim
|
|
|
162
|
+ SetOutPath "$INSTDIR\data\iconsets"
|
|
|
163
|
+ File /r "data\iconsets\goojim"
|
|
|
164
|
+SectionEnd
|
|
|
165
|
+
|
|
|
166
|
+Section "gota" SecIconsetsGota
|
|
|
167
|
+ SetOutPath "$INSTDIR\data\iconsets"
|
|
|
168
|
+ File /r "data\iconsets\gota"
|
|
|
169
|
+SectionEnd
|
|
|
170
|
+
|
|
|
171
|
+Section "jabberbulb" SecIconsetsJabberbulb
|
|
|
172
|
+ SetOutPath "$INSTDIR\data\iconsets"
|
|
|
173
|
+ File /r "data\iconsets\jabberbulb"
|
|
|
174
|
+SectionEnd
|
|
|
175
|
+
|
|
|
176
|
+Section "sun" SecIconsetsSun
|
|
|
177
|
+ SetOutPath "$INSTDIR\data\iconsets"
|
|
|
178
|
+ File /r "data\iconsets\sun"
|
|
|
179
|
+SectionEnd
|
|
|
180
|
+
|
|
|
181
|
+Section "wroop" SecIconsetsWroop
|
|
|
182
|
+ SetOutPath "$INSTDIR\data\iconsets"
|
|
|
183
|
+ File /r "data\iconsets\wroop"
|
|
|
184
|
+SectionEnd
|
|
|
185
|
+
|
|
|
186
|
+Section "transports" SecIconsetsTransports
|
|
|
187
|
+ SetOutPath "$INSTDIR\data\iconsets"
|
|
|
188
|
+ File /r "data\iconsets\transports"
|
|
|
189
|
+ SectionIn Ro
|
|
|
190
|
+SectionEnd
|
|
|
191
|
+
|
|
|
192
|
+SectionGroupEnd
|
|
|
193
|
+
|
|
|
194
|
+SectionGroup $(NAME_Languages)
|
|
|
195
|
+
|
|
|
196
|
+Section "English (UK)" SecLanguagesEnglishUK
|
|
|
197
|
+ SetOutPath "$INSTDIR\po"
|
|
|
198
|
+ File /r "po\en_GB"
|
|
|
199
|
+SectionEnd
|
|
|
200
|
+
|
|
|
201
|
+Section "French" SecLanguagesFrench
|
|
|
202
|
+ SetOutPath "$INSTDIR\po"
|
|
|
203
|
+ File /r "po\fr"
|
|
|
204
|
+SectionEnd
|
|
|
205
|
+
|
|
|
206
|
+Section "German" SecLanguagesGerman
|
|
|
207
|
+ SetOutPath "$INSTDIR\po"
|
|
|
208
|
+ File /r "po\de"
|
|
|
209
|
+SectionEnd
|
|
|
210
|
+
|
|
|
211
|
+Section "Italian" SecLanguagesItalian
|
|
|
212
|
+ SetOutPath "$INSTDIR\po"
|
|
|
213
|
+ File /r "po\it"
|
|
|
214
|
+SectionEnd
|
|
|
215
|
+
|
|
|
216
|
+Section "Spanish" SecLanguagesSpanish
|
|
|
217
|
+ SetOutPath "$INSTDIR\po"
|
|
|
218
|
+ File /r "po\es"
|
|
|
219
|
+SectionEnd
|
|
|
220
|
+
|
|
|
221
|
+Section "Russian" SecLanguagesRussian
|
|
|
222
|
+ SetOutPath "$INSTDIR\po"
|
|
|
223
|
+ File /r "po\ru"
|
|
|
224
|
+SectionEnd
|
|
|
225
|
+
|
|
|
226
|
+Section $(NAME_SecLanguagesOther) SecLanguagesOther
|
|
|
227
|
+ SetOutPath "$INSTDIR\po"
|
|
|
228
|
+ File /r "po\be"
|
|
|
229
|
+ File /r "po\be@latin"
|
|
|
230
|
+ File /r "po\bg"
|
|
|
231
|
+ File /r "po\br"
|
|
|
232
|
+ File /r "po\cs"
|
|
|
233
|
+ File /r "po\da"
|
|
|
234
|
+ File /r "po\el"
|
|
|
235
|
+ File /r "po\eo"
|
|
|
236
|
+ File /r "po\eu"
|
|
|
237
|
+ File /r "po\gl"
|
|
|
238
|
+ File /r "po\he"
|
|
|
239
|
+ File /r "po\hr"
|
|
|
240
|
+ File /r "po\lt"
|
|
|
241
|
+ File /r "po\nb"
|
|
|
242
|
+ File /r "po\nl"
|
|
|
243
|
+ File /r "po\no"
|
|
|
244
|
+ File /r "po\pl"
|
|
|
245
|
+ File /r "po\pt"
|
|
|
246
|
+ File /r "po\pt_BR"
|
|
|
247
|
+ File /r "po\sk"
|
|
|
248
|
+ File /r "po\sr"
|
|
|
249
|
+ File /r "po\sr@Latn"
|
|
|
250
|
+ File /r "po\sv"
|
|
|
251
|
+ File /r "po\uk"
|
|
|
252
|
+ File /r "po\zh_CN"
|
|
|
253
|
+SectionEnd
|
|
|
254
|
+
|
|
|
255
|
+SectionGroupEnd
|
|
|
256
|
+
|
|
|
257
|
+!insertmacro MUI_FUNCTION_DESCRIPTION_BEGIN
|
|
|
258
|
+ !insertmacro MUI_DESCRIPTION_TEXT ${SecGajim} $(DESC_SecGajim)
|
|
|
259
|
+!insertmacro MUI_FUNCTION_DESCRIPTION_END
|