Commit 847353a342aca94b66d886ef5e54ef45b2634305
1 parent
6cb68c51
Exists in
master
and in
5 other branches
Removing unused files, updating terminal widget sources.
Showing
32 changed files
with
1 additions
and
1156 deletions
Show diff stats
ChangeLog.xsl
... | ... | @@ -1,384 +0,0 @@ |
1 | -<?xml version="1.0" encoding="utf-8"?> | |
2 | - | |
3 | -<!-- | |
4 | - | |
5 | - Changelog.xsl - xslt stylesheet for converting codeblocks svn log | |
6 | - to a normal changelog | |
7 | - | |
8 | - version 0.1 | |
9 | - | |
10 | - based on svn2cl.xsl version 0.9 | |
11 | - | |
12 | - original copyright-notice: | |
13 | - | |
14 | - <snip> | |
15 | - | |
16 | - This file is based on several implementations of this conversion | |
17 | - that I was not completely happy with and some other common | |
18 | - xslt constructs found on the web. | |
19 | - | |
20 | - Copyright (C) 2004, 2005, 2006, 2007 Arthur de Jong. | |
21 | - | |
22 | - </snip> | |
23 | - | |
24 | - Copyright (c) 2008-2010 Jens Lody | |
25 | - | |
26 | - | |
27 | - Usage (replace ++ with two minus signs which aren't allowed | |
28 | - inside xml comments): | |
29 | - svn ++verbose ++xml log | \ | |
30 | - xsltproc ++stringparam strip-prefix `basename $(pwd)` \ | |
31 | - ++stringparam linelen 75 \ | |
32 | - ++stringparam groupbyday yes \ | |
33 | - ++stringparam separate-daylogs yes \ | |
34 | - ++stringparam include-rev yes \ | |
35 | - ++stringparam breakbeforemsg yes/2 \ | |
36 | - ++stringparam reparagraph yes \ | |
37 | - ++stringparam authorsfile FILE \ | |
38 | - ++stringparam ignore-message-starting \ | |
39 | - Changelog.xsl - > ChangeLog | |
40 | - | |
41 | - Redistribution and use in source and binary forms, with or without | |
42 | - modification, are permitted provided that the following conditions | |
43 | - are met: | |
44 | - 1. Redistributions of source code must retain the above copyright | |
45 | - notice, this list of conditions and the following disclaimer. | |
46 | - 2. Redistributions in binary form must reproduce the above copyright | |
47 | - notice, this list of conditions and the following disclaimer in | |
48 | - the documentation and/or other materials provided with the | |
49 | - distribution. | |
50 | - 3. The name of the author may not be used to endorse or promote | |
51 | - products derived from this software without specific prior | |
52 | - written permission. | |
53 | - | |
54 | - THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR | |
55 | - IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED | |
56 | - WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE | |
57 | - ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY | |
58 | - DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL | |
59 | - DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE | |
60 | - GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS | |
61 | - INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER | |
62 | - IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR | |
63 | - OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN | |
64 | - IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | |
65 | - | |
66 | ---> | |
67 | - | |
68 | -<!DOCTYPE xsl:stylesheet [ | |
69 | - <!ENTITY space " "> | |
70 | -]> | |
71 | - | |
72 | -<xsl:stylesheet | |
73 | - version="1.0" | |
74 | - xmlns:xsl="http://www.w3.org/1999/XSL/Transform"> | |
75 | - | |
76 | - <xsl:output | |
77 | - method="text" | |
78 | - encoding="utf-8" | |
79 | - media-type="text/plain" | |
80 | - omit-xml-declaration="yes" | |
81 | - standalone="yes" | |
82 | - indent="no" /> | |
83 | - | |
84 | - <xsl:strip-space elements="*" /> | |
85 | - | |
86 | - <!-- the prefix of pathnames to strip --> | |
87 | - <xsl:param name="strip-prefix" select="'/'" /> | |
88 | - | |
89 | - <!-- the length of a line to wrap messages at --> | |
90 | - <xsl:param name="linelen" select="75" /> | |
91 | - | |
92 | - <!-- whether entries should be grouped by day --> | |
93 | - <xsl:param name="groupbyday" select="'no'" /> | |
94 | - | |
95 | - <!-- whether to seperate log messages by empty lines --> | |
96 | - <xsl:param name="separate-daylogs" select="'no'" /> | |
97 | - | |
98 | - <!-- whether a revision number should be included --> | |
99 | - <xsl:param name="include-rev" select="'no'" /> | |
100 | - | |
101 | - <!-- whether the log message should start on a new line --> | |
102 | - <xsl:param name="breakbeforemsg" select="'no'" /> | |
103 | - | |
104 | - <!-- whether the message should be rewrapped within one paragraph --> | |
105 | - <xsl:param name="reparagraph" select="'no'" /> | |
106 | - | |
107 | - <!-- whether certain messages should be ignored --> | |
108 | - <xsl:param name="ignore-message-starting" select="''" /> | |
109 | - | |
110 | - <!-- location of authors file if any --> | |
111 | - <xsl:param name="authorsfile" select="''" /> | |
112 | - <xsl:key name="author-lookup" match="author" use="@uid" /> | |
113 | - <xsl:variable name="authors-top" select="document($authorsfile)/authors" /> | |
114 | - | |
115 | - <!-- match the topmost log entry --> | |
116 | - <xsl:template match="log"> | |
117 | - <xsl:choose> | |
118 | - <xsl:when test="$ignore-message-starting != ''"> | |
119 | - <!-- only handle logentries with don't contain the string --> | |
120 | - <xsl:apply-templates select="logentry[not(starts-with(msg,$ignore-message-starting))]" /> | |
121 | - </xsl:when> | |
122 | - <xsl:otherwise> | |
123 | - <xsl:apply-templates select="logentry" /> | |
124 | - </xsl:otherwise> | |
125 | - </xsl:choose> | |
126 | - <!-- add newlines at the end of the changelog --> | |
127 | - <xsl:text>
</xsl:text> | |
128 | - </xsl:template> | |
129 | - | |
130 | - <!-- format one entry from the log --> | |
131 | - <xsl:template match="logentry"> | |
132 | - <xsl:choose> | |
133 | - <!-- if we're grouping we should omit some headers --> | |
134 | - <xsl:when test="$groupbyday='yes'"> | |
135 | - <!-- save log entry number --> | |
136 | - <xsl:variable name="pos" select="position()" /> | |
137 | - <!-- fetch previous entry's date --> | |
138 | - <xsl:variable name="prevdate"> | |
139 | - <xsl:apply-templates select="../logentry[position()=(($pos)-1)]/date" /> | |
140 | - </xsl:variable> | |
141 | - <!-- fetch previous entry's author --> | |
142 | - <xsl:variable name="prevauthor"> | |
143 | - <xsl:value-of select="normalize-space(../logentry[position()=(($pos)-1)]/author)" /> | |
144 | - </xsl:variable> | |
145 | - <!-- fetch this entry's date --> | |
146 | - <xsl:variable name="date"> | |
147 | - <xsl:apply-templates select="date" /> | |
148 | - </xsl:variable> | |
149 | - <!-- fetch this entry's author --> | |
150 | - <xsl:variable name="author"> | |
151 | - <xsl:value-of select="normalize-space(author)" /> | |
152 | - </xsl:variable> | |
153 | - <!-- check if header is changed --> | |
154 | - <xsl:if test="($prevdate!=$date) or ($prevauthor!=$author)"> | |
155 | - <!-- add newline --> | |
156 | - <xsl:if test="not(position()=1)"> | |
157 | - <xsl:text>
</xsl:text> | |
158 | - </xsl:if> | |
159 | - <!-- date --> | |
160 | - <xsl:value-of select="$date" /> | |
161 | - <!-- two spaces --> | |
162 | - <xsl:text>&space;&space;</xsl:text> | |
163 | - <!-- author's name --> | |
164 | - <xsl:apply-templates select="author" /> | |
165 | - <!-- two newlines --> | |
166 | - <xsl:text>
</xsl:text> | |
167 | - <xsl:if test="$separate-daylogs!='yes'"><xsl:text>
</xsl:text></xsl:if> | |
168 | - </xsl:if> | |
169 | - </xsl:when> | |
170 | - <!-- write the log header --> | |
171 | - <xsl:otherwise> | |
172 | - <!-- add newline --> | |
173 | - <xsl:if test="not(position()=1)"> | |
174 | - <xsl:text>
</xsl:text> | |
175 | - </xsl:if> | |
176 | - <!-- date --> | |
177 | - <xsl:apply-templates select="date" /> | |
178 | - <!-- two spaces --> | |
179 | - <xsl:text>&space;&space;</xsl:text> | |
180 | - <!-- author's name --> | |
181 | - <xsl:apply-templates select="author" /> | |
182 | - <!-- two newlines --> | |
183 | - <xsl:text>

</xsl:text> | |
184 | - </xsl:otherwise> | |
185 | - </xsl:choose> | |
186 | - <!-- get revision number --> | |
187 | - <xsl:variable name="rev"> | |
188 | - <xsl:if test="$include-rev='yes'"> | |
189 | - <xsl:text>svn</xsl:text> | |
190 | - <xsl:value-of select='format-number(@revision,"0000")' /> | |
191 | - <xsl:text>:  </xsl:text> | |
192 | - </xsl:if> | |
193 | - </xsl:variable> | |
194 | - <!-- trim trailing newlines --> | |
195 | - <xsl:variable name="msg"> | |
196 | - <!-- add a line break before the log message --> | |
197 | - <xsl:choose> | |
198 | - <xsl:when test="$breakbeforemsg='yes'"> | |
199 | - <xsl:text>
</xsl:text> | |
200 | - </xsl:when> | |
201 | - <xsl:when test="number($breakbeforemsg)>0"> | |
202 | - <xsl:call-template name="newlines"> | |
203 | - <xsl:with-param name="count" select="number($breakbeforemsg)" /> | |
204 | - </xsl:call-template> | |
205 | - </xsl:when> | |
206 | - </xsl:choose> | |
207 | - <xsl:call-template name="trim-newln"> | |
208 | - <xsl:with-param name="txt" select="msg" /> | |
209 | - </xsl:call-template> | |
210 | - </xsl:variable> | |
211 | - <!-- add newline here if separate-daylogs is in effect --> | |
212 | - <xsl:if test="$groupbyday='yes' and $separate-daylogs='yes'"><xsl:text>
</xsl:text></xsl:if> | |
213 | - <!-- print the message nicely wrapped --> | |
214 | - <xsl:call-template name="wrap"> | |
215 | - <xsl:with-param name="txt" select="concat($rev,$msg)" /> | |
216 | - </xsl:call-template> | |
217 | - </xsl:template> | |
218 | - | |
219 | - <!-- format date --> | |
220 | - <xsl:template match="date"> | |
221 | - <xsl:variable name="date" select="normalize-space(.)" /> | |
222 | - <!-- output date part --> | |
223 | - <xsl:value-of select="substring($date,1,10)" /> | |
224 | - <!-- output time part --> | |
225 | - <xsl:if test="$groupbyday!='yes'"> | |
226 | - <xsl:text>&space;</xsl:text> | |
227 | - <xsl:value-of select="substring($date,12,5)" /> | |
228 | - </xsl:if> | |
229 | - </xsl:template> | |
230 | - | |
231 | - <!-- format author --> | |
232 | - <xsl:template match="author"> | |
233 | - <xsl:variable name="uid" select="normalize-space(.)" /> | |
234 | - <!-- try to lookup author in authorsfile --> | |
235 | - <xsl:choose> | |
236 | - <xsl:when test="$authorsfile!=''"> | |
237 | - <xsl:for-each select="$authors-top"> | |
238 | - <xsl:variable name="author" select="key('author-lookup',$uid)" /> | |
239 | - <!-- present result --> | |
240 | - <xsl:choose> | |
241 | - <xsl:when test="string($author/.)"> | |
242 | - <xsl:apply-templates select="$author/node()" mode="copy" /> | |
243 | - </xsl:when> | |
244 | - <xsl:otherwise> | |
245 | - <xsl:value-of select="$uid" /> | |
246 | - </xsl:otherwise> | |
247 | - </xsl:choose> | |
248 | - </xsl:for-each> | |
249 | - </xsl:when> | |
250 | - <xsl:otherwise> | |
251 | - <xsl:value-of select="$uid" /> | |
252 | - </xsl:otherwise> | |
253 | - </xsl:choose> | |
254 | - </xsl:template> | |
255 | - | |
256 | - <!-- copy but normalize text --> | |
257 | - <xsl:template match="text()" mode="copy"> | |
258 | - <xsl:value-of select="normalize-space(.)" /> | |
259 | - </xsl:template> | |
260 | - | |
261 | - <!-- simple copy template --> | |
262 | - <xsl:template match="@*|node()" mode="copy"> | |
263 | - <xsl:copy> | |
264 | - <xsl:apply-templates select="@*|node()" mode="copy" /> | |
265 | - </xsl:copy> | |
266 | - </xsl:template> | |
267 | - | |
268 | - <!-- string-wrapping template --> | |
269 | - <xsl:template name="wrap"> | |
270 | - <xsl:param name="txt" /> | |
271 | - <xsl:variable name="normtxt" select="normalize-space($txt)" /> | |
272 | - <xsl:choose> | |
273 | - <xsl:when test="contains($txt,'
')"> | |
274 | - <!-- text contains newlines, do the first line --> | |
275 | - <xsl:call-template name="wrap"> | |
276 | - <xsl:with-param name="txt" select="substring-before($txt,'
')" /> | |
277 | - </xsl:call-template> | |
278 | - <!-- print tab --> | |
279 | - <xsl:text>	&space;&space;</xsl:text> | |
280 | - <!-- wrap the rest of the text --> | |
281 | - <xsl:call-template name="wrap"> | |
282 | - <xsl:with-param name="txt" select="substring-after($txt,'
')" /> | |
283 | - </xsl:call-template> | |
284 | - </xsl:when> | |
285 | - <xsl:when test="(string-length($normtxt) < (($linelen)-9)) or not(contains($normtxt,' '))"> | |
286 | - <!-- this is easy, nothing to do --> | |
287 | - <xsl:value-of select="$normtxt" /> | |
288 | - <!-- add newline --> | |
289 | - <xsl:text>
</xsl:text> | |
290 | - </xsl:when> | |
291 | - <xsl:otherwise> | |
292 | - <!-- find the first line --> | |
293 | - <xsl:variable name="tmp" select="substring($normtxt,1,(($linelen)-9))" /> | |
294 | - <xsl:variable name="line"> | |
295 | - <xsl:choose> | |
296 | - <!-- if our attempt contains spaces wrap on that --> | |
297 | - <xsl:when test="contains($tmp,' ')"> | |
298 | - <xsl:call-template name="find-line"> | |
299 | - <xsl:with-param name="txt" select="$tmp" /> | |
300 | - </xsl:call-template> | |
301 | - </xsl:when> | |
302 | - <!-- otherwise use the first non-space characters from the text --> | |
303 | - <xsl:otherwise> | |
304 | - <xsl:value-of select="substring-before($normtxt,' ')" /> | |
305 | - </xsl:otherwise> | |
306 | - </xsl:choose> | |
307 | - </xsl:variable> | |
308 | - <!-- print line --> | |
309 | - <xsl:value-of select="$line" /> | |
310 | - <!-- print newline and tab --> | |
311 | - <xsl:text>
	&space;&space;</xsl:text> | |
312 | - <!-- wrap the rest of the text --> | |
313 | - <xsl:call-template name="wrap"> | |
314 | - <xsl:with-param name="txt" select="normalize-space(substring($normtxt,string-length($line)+1))" /> | |
315 | - </xsl:call-template> | |
316 | - </xsl:otherwise> | |
317 | - </xsl:choose> | |
318 | - </xsl:template> | |
319 | - | |
320 | - <!-- template to trim line to contain space as last char --> | |
321 | - <xsl:template name="find-line"> | |
322 | - <xsl:param name="txt" /> | |
323 | - <xsl:choose> | |
324 | - <xsl:when test="substring($txt,string-length($txt),1)=' '"> | |
325 | - <xsl:value-of select="substring($txt,1,string-length($txt)-1)" /> | |
326 | - </xsl:when> | |
327 | - <xsl:otherwise> | |
328 | - <xsl:call-template name="find-line"> | |
329 | - <xsl:with-param name="txt" select="substring($txt,1,string-length($txt)-1)" /> | |
330 | - </xsl:call-template> | |
331 | - </xsl:otherwise> | |
332 | - </xsl:choose> | |
333 | - </xsl:template> | |
334 | - | |
335 | - <!-- template to trim trailing and starting newlines --> | |
336 | - <xsl:template name="trim-newln"> | |
337 | - <xsl:param name="txt" /> | |
338 | - <xsl:choose> | |
339 | - <!-- find starting newlines --> | |
340 | - <xsl:when test="substring($txt,1,1) = '
'"> | |
341 | - <xsl:call-template name="trim-newln"> | |
342 | - <xsl:with-param name="txt" select="substring($txt,2)" /> | |
343 | - </xsl:call-template> | |
344 | - </xsl:when> | |
345 | - <!-- find trailing newlines --> | |
346 | - <xsl:when test="substring($txt,string-length($txt),1) = '
'"> | |
347 | - <xsl:call-template name="trim-newln"> | |
348 | - <xsl:with-param name="txt" select="substring($txt,1,string-length($txt)-1)" /> | |
349 | - </xsl:call-template> | |
350 | - </xsl:when> | |
351 | - <!-- if the message has paragrapgs, find the first one --> | |
352 | - <xsl:when test="$reparagraph='yes' and contains($txt,'

')"> | |
353 | - <!-- remove newlines from first paragraph --> | |
354 | - <xsl:value-of select="normalize-space(substring-before($txt,'

'))" /> | |
355 | - <!-- paragraph separator --> | |
356 | - <xsl:text>

</xsl:text> | |
357 | - <!-- do the rest of the text --> | |
358 | - <xsl:call-template name="trim-newln"> | |
359 | - <xsl:with-param name="txt" select="substring-after($txt,'

')" /> | |
360 | - </xsl:call-template> | |
361 | - </xsl:when> | |
362 | - <!-- remove more single newlines --> | |
363 | - <xsl:when test="$reparagraph='yes'"> | |
364 | - <xsl:value-of select="normalize-space($txt)" /> | |
365 | - </xsl:when> | |
366 | - <!-- no newlines found, we're done --> | |
367 | - <xsl:otherwise> | |
368 | - <xsl:value-of select="$txt" /> | |
369 | - </xsl:otherwise> | |
370 | - </xsl:choose> | |
371 | - </xsl:template> | |
372 | - | |
373 | - <!-- insert a number of newlines --> | |
374 | - <xsl:template name="newlines"> | |
375 | - <xsl:param name="count" /> | |
376 | - <xsl:text>
</xsl:text> | |
377 | - <xsl:if test="$count>1"> | |
378 | - <xsl:call-template name="newlines"> | |
379 | - <xsl:with-param name="count" select="($count)-1" /> | |
380 | - </xsl:call-template> | |
381 | - </xsl:if> | |
382 | - </xsl:template> | |
383 | - | |
384 | -</xsl:stylesheet> |
modules/libv3270
nsi/Makefile.in
... | ... | @@ -1,159 +0,0 @@ |
1 | -# | |
2 | -# "Software pw3270, desenvolvido com base nos códigos fontes do WC3270 e X3270 | |
3 | -# (Paul Mattes Paul.Mattes@usa.net), de emulação de terminal 3270 para acesso a | |
4 | -# aplicativos mainframe. Registro no INPI sob o nome G3270. | |
5 | -# | |
6 | -# Copyright (C) <2008> <Banco do Brasil S.A.> | |
7 | -# | |
8 | -# Este programa é software livre. Você pode redistribuí-lo e/ou modificá-lo sob | |
9 | -# os termos da GPL v.2 - Licença Pública Geral GNU, conforme publicado pela | |
10 | -# Free Software Foundation. | |
11 | -# | |
12 | -# Este programa é distribuído na expectativa de ser útil, mas SEM QUALQUER | |
13 | -# GARANTIA; sem mesmo a garantia implícita de COMERCIALIZAÇÃO ou de ADEQUAÇÃO | |
14 | -# A QUALQUER PROPÓSITO EM PARTICULAR. Consulte a Licença Pública Geral GNU para | |
15 | -# obter mais detalhes. | |
16 | -# | |
17 | -# Você deve ter recebido uma cópia da Licença Pública Geral GNU junto com este | |
18 | -# programa; se não, escreva para a Free Software Foundation, Inc., 59 Temple | |
19 | -# Place, Suite 330, Boston, MA, 02111-1307, USA | |
20 | -# | |
21 | -# Contatos: | |
22 | -# | |
23 | -# perry.werneck@gmail.com (Alexandre Perry de Souza Werneck) | |
24 | -# erico.mendonca@gmail.com (Erico Mascarenhas de Mendonça) | |
25 | -# | |
26 | - | |
27 | -#---[ Configuration values ]--------------------------------------------------- | |
28 | - | |
29 | -PACKAGE_NAME=@PACKAGE_NAME@ | |
30 | -PACKAGE_VERSION=@PACKAGE_VERSION@ | |
31 | -PACKAGE_LEVEL=@PACKAGE_LEVEL@ | |
32 | -PACKAGE_REVISION=@PACKAGE_REVISION@ | |
33 | -PACKAGE_TARNAME=@PACKAGE_TARNAME@ | |
34 | - | |
35 | -HOST_CPU=@host_cpu@ | |
36 | - | |
37 | -PLUGINS=@PLUGINS@ | |
38 | -EXTENSIONS=@EXTENSIONS@ | |
39 | - | |
40 | -#---[ Tools ]------------------------------------------------------------------ | |
41 | - | |
42 | -MAKENSIS=@MAKENSIS@ | |
43 | -MKDIR=@MKDIR_P@ | |
44 | - | |
45 | -#---[ Rules ]------------------------------------------------------------------ | |
46 | - | |
47 | - | |
48 | - | |
49 | -#---[ Targets ]---------------------------------------------------------------- | |
50 | - | |
51 | -all: \ | |
52 | - $(PACKAGE_NAME)-$(HOST_CPU).nsi \ | |
53 | - $(PACKAGE_NAME).nsi | |
54 | - | |
55 | -$(PACKAGE_NAME).nsi: \ | |
56 | - $(PACKAGE_NAME)-$(HOST_CPU).nsi | |
57 | - @cp $^ $@ | |
58 | - | |
59 | -package: \ | |
60 | - $(PACKAGE_NAME)-$(HOST_CPU).nsi | |
61 | - | |
62 | - @echo "Installer for $(PACKAGE_NAME)-$(HOST_CPU)..." | |
63 | - @$(MAKENSIS) $(PACKAGE_NAME)-$(HOST_CPU).nsi | |
64 | - | |
65 | -package-no-gtk: \ | |
66 | - $(PACKAGE_NAME)-$(HOST_CPU)-no-gtk.nsi | |
67 | - | |
68 | - @echo "Installer for $(PACKAGE_NAME)-$(HOST_CPU)-no-gtk..." | |
69 | - @$(MAKENSIS) $(PACKAGE_NAME)-$(HOST_CPU)-no-gtk.nsi | |
70 | - | |
71 | -.tmp/prefix-$(HOST_CPU).nsi: \ | |
72 | - header-$(HOST_CPU).nsi \ | |
73 | - main-begin-$(HOST_CPU).nsi \ | |
74 | - main-end.nsi \ | |
75 | - runtime.nsi \ | |
76 | - sdk.nsi \ | |
77 | - uninstall-$(HOST_CPU).nsi \ | |
78 | - oninit-$(HOST_CPU).nsi \ | |
79 | - $(foreach PLUGIN, $(PLUGINS), $(PLUGIN)-init.nsi ) \ | |
80 | - $(foreach EXTENSION, $(EXTENSIONS), $(EXTENSION)-extension-init.nsi ) \ | |
81 | - $(foreach EXTENSION, $(EXTENSIONS), $(EXTENSION)-extension.nsi ) | |
82 | - | |
83 | - @$(MKDIR) `dirname $@` | |
84 | - | |
85 | - @rm -f $@ | |
86 | - | |
87 | - @cat main-begin-$(HOST_CPU).nsi >> $@ | |
88 | - | |
89 | - # Install plugins | |
90 | - | |
91 | - @cat $(foreach PLUGIN, $(PLUGINS), $(PLUGIN).nsi ) >> $@ | |
92 | - @cat $(foreach EXTENSION, $(EXTENSIONS), $(EXTENSION)-extension.nsi ) >> $@ | |
93 | - | |
94 | - # Finalize | |
95 | - | |
96 | - @cat main-end.nsi >> $@ | |
97 | - | |
98 | - | |
99 | -.tmp/suffix-$(HOST_CPU).nsi: \ | |
100 | - header-$(HOST_CPU).nsi \ | |
101 | - main-begin-$(HOST_CPU).nsi \ | |
102 | - main-end.nsi \ | |
103 | - runtime.nsi \ | |
104 | - sdk.nsi \ | |
105 | - uninstall-$(HOST_CPU).nsi \ | |
106 | - oninit-$(HOST_CPU).nsi \ | |
107 | - $(foreach PLUGIN, $(PLUGINS), $(PLUGIN)-init.nsi ) \ | |
108 | - $(foreach EXTENSION, $(EXTENSIONS), $(EXTENSION)-extension-init.nsi ) \ | |
109 | - $(foreach EXTENSION, $(EXTENSIONS), $(EXTENSION)-extension.nsi ) | |
110 | - | |
111 | - @$(MKDIR) `dirname $@` | |
112 | - | |
113 | - @rm -f $@ | |
114 | - | |
115 | - @cat sdk.nsi >> $@ | |
116 | - @cat uninstall-$(HOST_CPU).nsi >> $@ | |
117 | - @cat oninit-$(HOST_CPU).nsi >> $@ | |
118 | - | |
119 | -$(PACKAGE_NAME)-$(HOST_CPU).nsi: \ | |
120 | - .tmp/prefix-$(HOST_CPU).nsi \ | |
121 | - .tmp/suffix-$(HOST_CPU).nsi \ | |
122 | - | |
123 | - @cat header-$(HOST_CPU).nsi > $@ | |
124 | - @cat .tmp/prefix-$(HOST_CPU).nsi >> $@ | |
125 | - @cat runtime.nsi >> $@ | |
126 | - @cat .tmp/suffix-$(HOST_CPU).nsi >> $@ | |
127 | - | |
128 | - @cat runtime-init.nsi >> $@ | |
129 | - @cat $(foreach PLUGIN, $(PLUGINS), $(PLUGIN)-init.nsi ) >> $@ | |
130 | - @cat $(foreach EXTENSION, $(EXTENSIONS), $(EXTENSION)-extension-init.nsi ) >> $@ | |
131 | - | |
132 | - # Finalize onInit script | |
133 | - | |
134 | - @echo FunctionEnd >> $@ | |
135 | - | |
136 | - | |
137 | - @chmod 644 $@ | |
138 | - | |
139 | - @echo $@ | |
140 | - | |
141 | -$(PACKAGE_NAME)-$(HOST_CPU)-no-gtk.nsi: \ | |
142 | - .tmp/prefix-$(HOST_CPU).nsi \ | |
143 | - .tmp/suffix-$(HOST_CPU).nsi \ | |
144 | - | |
145 | - @cat header-$(HOST_CPU)-no-gtk.nsi > $@ | |
146 | - @cat .tmp/prefix-$(HOST_CPU).nsi >> $@ | |
147 | - @cat .tmp/suffix-$(HOST_CPU).nsi >> $@ | |
148 | - | |
149 | - @cat $(foreach PLUGIN, $(PLUGINS), $(PLUGIN)-init.nsi ) >> $@ | |
150 | - @cat $(foreach EXTENSION, $(EXTENSIONS), $(EXTENSION)-extension-init.nsi ) >> $@ | |
151 | - | |
152 | - # Finalize onInit script | |
153 | - | |
154 | - @echo FunctionEnd >> $@ | |
155 | - @chmod 644 $@ | |
156 | - | |
157 | - @echo $@ | |
158 | - | |
159 | - |
nsi/header-i686-no-gtk.nsi.in
... | ... | @@ -1,49 +0,0 @@ |
1 | -!include "MUI2.nsh" | |
2 | -!include "FileFunc.nsh" | |
3 | - | |
4 | -Name "@PACKAGE@" | |
5 | -Caption "@PACKAGE@ - 3270 Emulator for windows/gtk" | |
6 | -outfile "@PACKAGE@-@PACKAGE_VERSION@.@PACKAGE_LEVEL@-requires-gtk-@GTK_MODVERSION@-@host_cpu@.exe" | |
7 | -XPStyle on | |
8 | - | |
9 | -# define the directory to install to | |
10 | -installDir $PROGRAMFILES\@PACKAGE@ | |
11 | - | |
12 | -#define the installer icon | |
13 | -!define MUI_ICON "..\src\pw3270\@PACKAGE@.ico" | |
14 | -!define MUI_UNICON "..\src\pw3270\@PACKAGE@.ico" | |
15 | -icon "..\src\pw3270\@PACKAGE@.ico" | |
16 | - | |
17 | -# Get installation folder from registry if available | |
18 | -InstallDirRegKey HKLM "Software\@PACKAGE@" "InstallLocation" | |
19 | - | |
20 | -RequestExecutionLevel admin | |
21 | - | |
22 | -# Properties | |
23 | -VIProductVersion "@PACKAGE_VERSION@.@PACKAGE_LEVEL@.@PACKAGE_REVISION@" | |
24 | -VIAddVersionKey "ProductName" "@PACKAGE@" | |
25 | -VIAddVersionKey "FileDescription" "3270 Emulator for windows/gtk" | |
26 | -VIAddVersionKey "FileVersion" "@PACKAGE_REVISION@" | |
27 | -VIAddVersionKey "LegalCopyright" "GPL-2.0" | |
28 | - | |
29 | -# Interface | |
30 | - | |
31 | -!define MUI_ABORTWARNING | |
32 | -# !insertmacro MUI_PAGE_WELCOME | |
33 | -!insertmacro MUI_PAGE_LICENSE "../LICENSE" | |
34 | -!insertmacro MUI_PAGE_COMPONENTS | |
35 | -!insertmacro MUI_PAGE_DIRECTORY | |
36 | -!insertmacro MUI_PAGE_INSTFILES | |
37 | - | |
38 | -# !insertmacro MUI_UNPAGE_WELCOME | |
39 | -!insertmacro MUI_UNPAGE_CONFIRM | |
40 | -!insertmacro MUI_UNPAGE_INSTFILES | |
41 | -# !insertmacro MUI_UNPAGE_FINISH | |
42 | - | |
43 | -# Languages | |
44 | -!insertmacro MUI_LANGUAGE "English" | |
45 | - | |
46 | -# Section scripts | |
47 | -!include Sections.nsh | |
48 | - | |
49 | - |
nsi/header-i686.nsi.in
... | ... | @@ -1,49 +0,0 @@ |
1 | -!include "MUI2.nsh" | |
2 | -!include "FileFunc.nsh" | |
3 | - | |
4 | -Name "@PACKAGE@" | |
5 | -Caption "@PACKAGE@ - 3270 Emulator for windows/gtk" | |
6 | -outfile "@PACKAGE@-@PACKAGE_VERSION@.@PACKAGE_LEVEL@-gtk-@GTK_MODVERSION@-@host_cpu@.exe" | |
7 | -XPStyle on | |
8 | - | |
9 | -# define the directory to install to | |
10 | -installDir $PROGRAMFILES\@PACKAGE@ | |
11 | - | |
12 | -#define the installer icon | |
13 | -!define MUI_ICON "..\src\pw3270\@PACKAGE@.ico" | |
14 | -!define MUI_UNICON "..\src\pw3270\@PACKAGE@.ico" | |
15 | -icon "..\src\pw3270\@PACKAGE@.ico" | |
16 | - | |
17 | -# Get installation folder from registry if available | |
18 | -InstallDirRegKey HKLM "Software\@PACKAGE@" "InstallLocation" | |
19 | - | |
20 | -RequestExecutionLevel admin | |
21 | - | |
22 | -# Properties | |
23 | -VIProductVersion "@PACKAGE_VERSION@.@PACKAGE_LEVEL@.@PACKAGE_REVISION@" | |
24 | -VIAddVersionKey "ProductName" "@PACKAGE@" | |
25 | -VIAddVersionKey "FileDescription" "3270 Emulator for windows/gtk" | |
26 | -VIAddVersionKey "FileVersion" "@PACKAGE_REVISION@" | |
27 | -VIAddVersionKey "LegalCopyright" "GPL-2.0" | |
28 | - | |
29 | -# Interface | |
30 | - | |
31 | -!define MUI_ABORTWARNING | |
32 | -# !insertmacro MUI_PAGE_WELCOME | |
33 | -!insertmacro MUI_PAGE_LICENSE "../LICENSE" | |
34 | -!insertmacro MUI_PAGE_COMPONENTS | |
35 | -!insertmacro MUI_PAGE_DIRECTORY | |
36 | -!insertmacro MUI_PAGE_INSTFILES | |
37 | - | |
38 | -# !insertmacro MUI_UNPAGE_WELCOME | |
39 | -!insertmacro MUI_UNPAGE_CONFIRM | |
40 | -!insertmacro MUI_UNPAGE_INSTFILES | |
41 | -# !insertmacro MUI_UNPAGE_FINISH | |
42 | - | |
43 | -# Languages | |
44 | -!insertmacro MUI_LANGUAGE "English" | |
45 | - | |
46 | -# Section scripts | |
47 | -!include Sections.nsh | |
48 | - | |
49 | - |
nsi/header-x86_64-no-gtk.nsi.in
... | ... | @@ -1,48 +0,0 @@ |
1 | -!include "MUI2.nsh" | |
2 | -!include x64.nsh | |
3 | -!include "FileFunc.nsh" | |
4 | - | |
5 | -Name "@PACKAGE@" | |
6 | -Caption "@PACKAGE@ - 3270 Emulator for windows/gtk" | |
7 | -outfile "@PACKAGE@-@PACKAGE_VERSION@.@PACKAGE_LEVEL@-requires-gtk-@GTK_MODVERSION@-@host_cpu@.exe" | |
8 | -XPStyle on | |
9 | - | |
10 | -installDir "$PROGRAMFILES64\pw3270" | |
11 | - | |
12 | -#define the installer icon | |
13 | -!define MUI_ICON "..\src\pw3270\@PACKAGE@.ico" | |
14 | -!define MUI_UNICON "..\src\pw3270\@PACKAGE@.ico" | |
15 | -icon "..\src\pw3270\@PACKAGE@.ico" | |
16 | - | |
17 | -# Get installation folder from registry if available | |
18 | -InstallDirRegKey HKLM "Software\@PACKAGE@" "InstallLocation" | |
19 | - | |
20 | -RequestExecutionLevel admin | |
21 | - | |
22 | -# Properties | |
23 | -VIProductVersion "@PACKAGE_VERSION@.@PACKAGE_LEVEL@.@PACKAGE_REVISION@" | |
24 | -VIAddVersionKey "ProductName" "@PACKAGE@" | |
25 | -VIAddVersionKey "FileDescription" "3270 Emulator for windows/gtk" | |
26 | -VIAddVersionKey "FileVersion" "@PACKAGE_REVISION@" | |
27 | -VIAddVersionKey "LegalCopyright" "GPL-2.0" | |
28 | - | |
29 | -# Interface | |
30 | - | |
31 | -!define MUI_ABORTWARNING | |
32 | -# !insertmacro MUI_PAGE_WELCOME | |
33 | -!insertmacro MUI_PAGE_LICENSE "../LICENSE" | |
34 | -!insertmacro MUI_PAGE_COMPONENTS | |
35 | -!insertmacro MUI_PAGE_DIRECTORY | |
36 | -!insertmacro MUI_PAGE_INSTFILES | |
37 | - | |
38 | -# !insertmacro MUI_UNPAGE_WELCOME | |
39 | -!insertmacro MUI_UNPAGE_CONFIRM | |
40 | -!insertmacro MUI_UNPAGE_INSTFILES | |
41 | -# !insertmacro MUI_UNPAGE_FINISH | |
42 | - | |
43 | -# Languages | |
44 | -!insertmacro MUI_LANGUAGE "English" | |
45 | - | |
46 | -# Section scripts | |
47 | -!include Sections.nsh | |
48 | - |
nsi/header-x86_64.nsi.in
... | ... | @@ -1,48 +0,0 @@ |
1 | -!include "MUI2.nsh" | |
2 | -!include x64.nsh | |
3 | -!include "FileFunc.nsh" | |
4 | - | |
5 | -Name "@PACKAGE@" | |
6 | -Caption "@PACKAGE@ - 3270 Emulator for windows/gtk" | |
7 | -outfile "@PACKAGE@-@PACKAGE_VERSION@.@PACKAGE_LEVEL@-gtk-@GTK_MODVERSION@-@host_cpu@.exe" | |
8 | -XPStyle on | |
9 | - | |
10 | -installDir "$PROGRAMFILES64\pw3270" | |
11 | - | |
12 | -#define the installer icon | |
13 | -!define MUI_ICON "..\src\pw3270\@PACKAGE@.ico" | |
14 | -!define MUI_UNICON "..\src\pw3270\@PACKAGE@.ico" | |
15 | -icon "..\src\pw3270\@PACKAGE@.ico" | |
16 | - | |
17 | -# Get installation folder from registry if available | |
18 | -InstallDirRegKey HKLM "Software\@PACKAGE@" "InstallLocation" | |
19 | - | |
20 | -RequestExecutionLevel admin | |
21 | - | |
22 | -# Properties | |
23 | -VIProductVersion "@PACKAGE_VERSION@.@PACKAGE_LEVEL@.@PACKAGE_REVISION@" | |
24 | -VIAddVersionKey "ProductName" "@PACKAGE@" | |
25 | -VIAddVersionKey "FileDescription" "3270 Emulator for windows/gtk" | |
26 | -VIAddVersionKey "FileVersion" "@PACKAGE_REVISION@" | |
27 | -VIAddVersionKey "LegalCopyright" "GPL-2.0" | |
28 | - | |
29 | -# Interface | |
30 | - | |
31 | -!define MUI_ABORTWARNING | |
32 | -# !insertmacro MUI_PAGE_WELCOME | |
33 | -!insertmacro MUI_PAGE_LICENSE "../LICENSE" | |
34 | -!insertmacro MUI_PAGE_COMPONENTS | |
35 | -!insertmacro MUI_PAGE_DIRECTORY | |
36 | -!insertmacro MUI_PAGE_INSTFILES | |
37 | - | |
38 | -# !insertmacro MUI_UNPAGE_WELCOME | |
39 | -!insertmacro MUI_UNPAGE_CONFIRM | |
40 | -!insertmacro MUI_UNPAGE_INSTFILES | |
41 | -# !insertmacro MUI_UNPAGE_FINISH | |
42 | - | |
43 | -# Languages | |
44 | -!insertmacro MUI_LANGUAGE "English" | |
45 | - | |
46 | -# Section scripts | |
47 | -!include Sections.nsh | |
48 | - |
nsi/hllapi-init-x86_64.nsi
nsi/hllapi-init.nsi
nsi/hllapi.nsi.in
... | ... | @@ -1,9 +0,0 @@ |
1 | - Section /o "HLLAPI" HLLAPIPlugin | |
2 | - setOutPath $INSTDIR | |
3 | - | |
4 | - CreateDirectory "$INSTDIR\plugins" | |
5 | - file "/oname=$INSTDIR\plugins\hllapi.dll" "..\.bin\Release\plugins\hllapi.dll" | |
6 | - file "/oname=$SYSDIR\libhllapi.dll" "..\.bin\Release\hllapi.dll.@PACKAGE_VERSION@" | |
7 | - | |
8 | - sectionEnd | |
9 | - |
nsi/j3270-init-i686.nsi
nsi/j3270-init.nsi
nsi/j3270.nsi
nsi/j3270.nsi.in
nsi/java-extension-init.nsi
nsi/java-extension.nsi
nsi/main-begin-i686.nsi.in
... | ... | @@ -1,71 +0,0 @@ |
1 | -# default section | |
2 | -SubSection "@PACKAGE@" SecMain | |
3 | - | |
4 | - Section "Core" SecCore | |
5 | - | |
6 | - # define the output path for this file | |
7 | - setOutPath $INSTDIR | |
8 | - SetShellVarContext all | |
9 | - | |
10 | - createShortCut "$SMPROGRAMS\@PACKAGE@.lnk" "$INSTDIR\@PACKAGE@.exe" | |
11 | - createShortCut "$DESKTOP\@PACKAGE@.lnk" "$INSTDIR\@PACKAGE@.exe" | |
12 | - | |
13 | - # Binary files | |
14 | - file "/oname=$INSTDIR\@PACKAGE@.exe" "..\.bin\Release\@PACKAGE@.exe" | |
15 | - file "/oname=$INSTDIR\@PACKAGE@.ico" "..\src\pw3270\@PACKAGE@.ico" | |
16 | - file "/oname=$INSTDIR\lib3270.dll.@PACKAGE_VERSION@" "..\.bin\Release\lib3270.dll.@PACKAGE_VERSION@" | |
17 | - file "/oname=$INSTDIR\pw3270.dll.@PACKAGE_VERSION@" "..\.bin\Release\pw3270.dll.@PACKAGE_VERSION@" | |
18 | - | |
19 | - # Configuration files | |
20 | - file "/oname=$INSTDIR\@PACKAGE@-logo.png" "..\src\pw3270\@PACKAGE@-logo.png" | |
21 | - file "/oname=$INSTDIR\@PACKAGE@.png" "..\src\pw3270\@PACKAGE@.png" | |
22 | - file "/oname=$INSTDIR\colors.conf" "..\colors.conf" | |
23 | - | |
24 | - # Documentation files | |
25 | - file "/oname=$INSTDIR\ChangeLog" "..\ChangeLog" | |
26 | - file "/oname=$INSTDIR\AUTHORS" "..\AUTHORS" | |
27 | - file "/oname=$INSTDIR\LICENSE" "..\LICENSE" | |
28 | - | |
29 | - # Misc folders | |
30 | - CreateDirectory "$INSTDIR\certs" | |
31 | - CreateDirectory "$INSTDIR\plugins" | |
32 | - | |
33 | - # UI definition files | |
34 | - CreateDirectory "$INSTDIR\ui" | |
35 | - | |
36 | - file "/oname=$INSTDIR\ui\00default.xml" "..\ui\00default.xml" | |
37 | - | |
38 | - # Locale files | |
39 | - CreateDirectory "$INSTDIR\@localedir@\pt_BR\LC_MESSAGES" | |
40 | - file "/oname=$INSTDIR\@localedir@\pt_BR\LC_MESSAGES\@PACKAGE@.mo" "..\.bin\Release\@localedir@\pt_BR\LC_MESSAGES\@PACKAGE@.mo" | |
41 | - | |
42 | - # Save DataDir | |
43 | - WriteRegStr HKLM "Software\@PACKAGE@" "datadir" "$INSTDIR" | |
44 | - WriteRegStr HKLM "Software\@PACKAGE@" "appName" "$INSTDIR\@PACKAGE@.exe" | |
45 | - | |
46 | - # define uninstaller name | |
47 | - writeUninstaller $INSTDIR\uninstall.exe | |
48 | - | |
49 | - WriteRegStr HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\@PACKAGE@" \ | |
50 | - "DisplayName" "@PACKAGE@ - 3270 emulator for windows/gtk" | |
51 | - WriteRegStr HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\@PACKAGE@" \ | |
52 | - "DisplayIcon" "$INSTDIR\@PACKAGE@.ico" | |
53 | - WriteRegStr HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\@PACKAGE@" \ | |
54 | - "DisplayVersion" "@PACKAGE_VERSION@ (Rev: @PACKAGE_REVISION@)" | |
55 | - | |
56 | - WriteRegStr HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\@PACKAGE@" \ | |
57 | - "UninstallString" "$INSTDIR\uninstall.exe" | |
58 | - WriteRegStr HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\@PACKAGE@" \ | |
59 | - "InstallLocation" "$INSTDIR" | |
60 | - WriteRegStr HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\@PACKAGE@" \ | |
61 | - "NoModify" "1" | |
62 | - WriteRegStr HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\@PACKAGE@" \ | |
63 | - "NoRepair" "1" | |
64 | - | |
65 | - # Save instalation dir | |
66 | - WriteRegStr HKCU "Software\@PACKAGE@" "" $INSTDIR | |
67 | - | |
68 | - sectionEnd | |
69 | - | |
70 | - SubSection "Plugins" SecPLugin | |
71 | - |
nsi/main-begin-x86_64.nsi.in
... | ... | @@ -1,77 +0,0 @@ |
1 | -# default section | |
2 | -SubSection "@PACKAGE@" SecMain | |
3 | - | |
4 | - Section "Core" SecCore | |
5 | - | |
6 | - SetRegView 64 | |
7 | - ${DisableX64FSRedirection} | |
8 | - | |
9 | - # define the output path for this file | |
10 | - setOutPath $INSTDIR | |
11 | - SetShellVarContext all | |
12 | - | |
13 | - createShortCut "$SMPROGRAMS\@PACKAGE@.lnk" "$INSTDIR\@PACKAGE@.exe" | |
14 | - createShortCut "$DESKTOP\@PACKAGE@.lnk" "$INSTDIR\@PACKAGE@.exe" | |
15 | - | |
16 | - # Binary files | |
17 | - file "/oname=$INSTDIR\@PACKAGE@.exe" "..\.bin\Release\@PACKAGE@.exe" | |
18 | - file "/oname=$INSTDIR\@PACKAGE@.ico" "..\src\pw3270\@PACKAGE@.ico" | |
19 | - file "/oname=$INSTDIR\lib3270.dll.@PACKAGE_VERSION@" "..\.bin\Release\lib3270.dll.@PACKAGE_VERSION@" | |
20 | - file "/oname=$INSTDIR\pw3270.dll.@PACKAGE_VERSION@" "..\.bin\Release\pw3270.dll.@PACKAGE_VERSION@" | |
21 | - | |
22 | - # Configuration files | |
23 | - file "/oname=$INSTDIR\@PACKAGE@-logo.png" "..\src\pw3270\@PACKAGE@-logo.png" | |
24 | - file "/oname=$INSTDIR\@PACKAGE@.png" "..\src\pw3270\@PACKAGE@.png" | |
25 | - file "/oname=$INSTDIR\colors.conf" "..\colors.conf" | |
26 | - | |
27 | - # Documentation files | |
28 | - file "/oname=$INSTDIR\ChangeLog" "..\ChangeLog" | |
29 | - file "/oname=$INSTDIR\AUTHORS" "..\AUTHORS" | |
30 | - file "/oname=$INSTDIR\LICENSE" "..\LICENSE" | |
31 | - | |
32 | - # Misc folders | |
33 | - CreateDirectory "$INSTDIR\certs" | |
34 | - CreateDirectory "$INSTDIR\plugins" | |
35 | - | |
36 | - # UI definition files | |
37 | - CreateDirectory "$INSTDIR\ui" | |
38 | - | |
39 | - file "/oname=$INSTDIR\ui\00default.xml" "..\ui\00default.xml" | |
40 | - | |
41 | - # Locale files | |
42 | - CreateDirectory "$INSTDIR\@localedir@\pt_BR\LC_MESSAGES" | |
43 | - file "/oname=$INSTDIR\@localedir@\pt_BR\LC_MESSAGES\@PACKAGE@.mo" "..\.bin\Release\@localedir@\pt_BR\LC_MESSAGES\@PACKAGE@.mo" | |
44 | - | |
45 | - # Save DataDir | |
46 | - SetRegView 64 | |
47 | - WriteRegStr HKLM "Software\@PACKAGE@" "datadir" "$INSTDIR" | |
48 | - WriteRegStr HKLM "Software\@PACKAGE@" "appName" "$INSTDIR\@PACKAGE@.exe" | |
49 | - | |
50 | - # define uninstaller name | |
51 | - SetRegView 32 | |
52 | - | |
53 | - writeUninstaller $INSTDIR\uninstall.exe | |
54 | - | |
55 | - WriteRegStr HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\@PACKAGE@" \ | |
56 | - "DisplayName" "@PACKAGE@ - 3270 emulator for windows/gtk" | |
57 | - WriteRegStr HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\@PACKAGE@" \ | |
58 | - "DisplayIcon" "$INSTDIR\@PACKAGE@.ico" | |
59 | - WriteRegStr HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\@PACKAGE@" \ | |
60 | - "DisplayVersion" "@PACKAGE_VERSION@ (Rev: @PACKAGE_REVISION@)" | |
61 | - | |
62 | - WriteRegStr HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\@PACKAGE@" \ | |
63 | - "UninstallString" "$INSTDIR\uninstall.exe" | |
64 | - WriteRegStr HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\@PACKAGE@" \ | |
65 | - "InstallLocation" "$INSTDIR" | |
66 | - WriteRegStr HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\@PACKAGE@" \ | |
67 | - "NoModify" "1" | |
68 | - WriteRegStr HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\@PACKAGE@" \ | |
69 | - "NoRepair" "1" | |
70 | - | |
71 | - # Save instalation dir | |
72 | - WriteRegStr HKCU "Software\@PACKAGE@" "" $INSTDIR | |
73 | - | |
74 | - sectionEnd | |
75 | - | |
76 | - SubSection "Plugins" SecPLugin | |
77 | - |
nsi/main-end.nsi.in
... | ... | @@ -1,25 +0,0 @@ |
1 | - | |
2 | - SubSectionEnd | |
3 | - | |
4 | - SubSection "Menus, Keypads & Toolbars" SecMenu | |
5 | - | |
6 | - Section "Keypad" KeypadMenu | |
7 | - file "/oname=$INSTDIR\ui\10keypad.xml" "..\ui\10keypad.xml" | |
8 | - sectionEnd | |
9 | - | |
10 | - Section "Functions" FunctionsMenu | |
11 | - file "/oname=$INSTDIR\ui\10functions.xml" "..\ui\10functions.xml" | |
12 | - sectionEnd | |
13 | - | |
14 | - Section /o "View trace Menu" TraceMenu | |
15 | - file "/oname=$INSTDIR\ui\98trace.xml" "..\ui\98trace.xml" | |
16 | - sectionEnd | |
17 | - | |
18 | - Section /o "Application debug" DBGMenu | |
19 | - file "/oname=$INSTDIR\ui\99debug.xml" "..\ui\99debug.xml" | |
20 | - sectionEnd | |
21 | - | |
22 | - SubSectionEnd | |
23 | - | |
24 | -SubSectionEnd | |
25 | - |
nsi/oninit-i686.nsi.in
nsi/oninit-x86_64.nsi.in
nsi/python-extension-init.nsi
nsi/python-extension.nsi
nsi/rexx-extension-init.nsi
nsi/rexx-extension.nsi
nsi/runtime-init.nsi.in
... | ... | @@ -1,27 +0,0 @@ |
1 | - | |
2 | -ReadRegStr $4 HKLM "Software\gtkwin\@GTK_MODVERSION@" "path" | |
3 | - | |
4 | -${if} $4 == "" | |
5 | - | |
6 | - SectionGetFlags "${SecGTK}" $0 | |
7 | - IntOp $0 $0 | ${SF_SELECTED} | |
8 | - SectionSetFlags "${SecGTK}" $0 | |
9 | - | |
10 | -${Else} | |
11 | - | |
12 | - ${if} ${FileExists} `$4\*.*` | |
13 | - | |
14 | - SectionGetFlags "${SecGTK}" $0 | |
15 | - IntOp $0 $0 & ${SECTION_OFF} | |
16 | - SectionSetFlags "${SecGTK}" $0 | |
17 | - | |
18 | - ${Else} | |
19 | - | |
20 | - SectionGetFlags "${SecGTK}" $0 | |
21 | - IntOp $0 $0 | ${SF_SELECTED} | |
22 | - SectionSetFlags "${SecGTK}" $0 | |
23 | - | |
24 | - ${EndIf} | |
25 | - | |
26 | -${EndIf} | |
27 | - |
nsi/runtime.nsi.in
nsi/rx3270-init.nsi
nsi/rx3270.nsi.in
... | ... | @@ -1,13 +0,0 @@ |
1 | - Section /o "Rexx" RexxPlugin | |
2 | - | |
3 | - setOutPath $INSTDIR | |
4 | - | |
5 | - file "/oname=$INSTDIR\plugins\rxplug.dll" "..\.bin\Release\plugins\rx3270.dll" | |
6 | - file "/oname=$INSTDIR\ui\80rexx.xml" "..\ui\80rexx.xml" | |
7 | - | |
8 | - file "/oname=$@PROGRAMFILES@\ooRexx\rx3270.cls" "..\src\plugins\rx3270\rx3270.cls" | |
9 | - file "/oname=$INSTDIR\rx3270.dll.@PACKAGE_VERSION@" "..\.bin\Release\rx3270.dll.@PACKAGE_VERSION@" | |
10 | - file "/oname=$@PROGRAMFILES@\ooRexx\rx3270.dll" "..\.bin\Release\rx3270.dll.@PACKAGE_VERSION@" | |
11 | - | |
12 | - sectionEnd | |
13 | - |
nsi/sdk.nsi.in
... | ... | @@ -1,37 +0,0 @@ |
1 | - | |
2 | -Section /o "Software Development Kit" SecSDK | |
3 | - | |
4 | - CreateDirectory "$INSTDIR\sdk" | |
5 | - CreateDirectory "$INSTDIR\sdk\include" | |
6 | - CreateDirectory "$INSTDIR\sdk\include\lib3270" | |
7 | - CreateDirectory "$INSTDIR\sdk\include\pw3270" | |
8 | - CreateDirectory "$INSTDIR\sdk\sample" | |
9 | - CreateDirectory "$INSTDIR\sdk\sample\classlib" | |
10 | - | |
11 | - setOutPath $INSTDIR\sdk\include | |
12 | - file "..\src\include\lib3270.h" | |
13 | - file "..\src\include\pw3270.h" | |
14 | - | |
15 | - setOutPath $INSTDIR\sdk\include\pw3270 | |
16 | - file "..\src\include\pw3270\class.h" | |
17 | - file "..\src\include\pw3270\hllapi.h" | |
18 | - file "..\src\include\pw3270\ipcpackets.h" | |
19 | - file "..\src\include\pw3270\plugin.h" | |
20 | - file "..\src\include\pw3270\trace.h" | |
21 | - file "..\src\pw3270\include\*.h" | |
22 | - | |
23 | - setOutPath $INSTDIR\sdk\include\lib3270 | |
24 | - file "..\src\include\lib3270\config.h" | |
25 | - file "..\src\include\rules.mak" | |
26 | - | |
27 | - setOutPath $INSTDIR\sdk\sample\connect | |
28 | - file "..\src\sample\Makefile" | |
29 | - file "..\src\sample\connect.c" | |
30 | - | |
31 | - setOutPath $INSTDIR\sdk\sample\classlib | |
32 | - file "..\src\classlib\*.cc" | |
33 | - file "..\src\include\pw3270\class.h" | |
34 | - | |
35 | -SectionEnd | |
36 | - | |
37 | - |
nsi/uninstall-i686.nsi.in
... | ... | @@ -1,44 +0,0 @@ |
1 | - | |
2 | -# create a section to define what the uninstaller does. | |
3 | -# the section will always be named "Uninstall" | |
4 | -section "Uninstall" | |
5 | - | |
6 | - # Always delete uninstaller first | |
7 | - delete $INSTDIR\uninstaller.exe | |
8 | - | |
9 | - # Set SMPROGRAMS and DESKTOP path | |
10 | - SetShellVarContext all | |
11 | - | |
12 | - # now delete installed files | |
13 | - delete $INSTDIR\@PACKAGE@.exe | |
14 | - | |
15 | - delete $SMPROGRAMS\@PACKAGE@.lnk | |
16 | - delete $DESKTOP\@PACKAGE@.lnk | |
17 | - | |
18 | - RMDir /r "$INSTDIR\locale" | |
19 | - RMDir /r "$INSTDIR\share" | |
20 | - RMDir /r "$INSTDIR\etc" | |
21 | - RMDir /r "$INSTDIR\plugins" | |
22 | - RMDir /r "$INSTDIR\sdk" | |
23 | - RMDir /r "$INSTDIR\gtk2-runtime" | |
24 | - | |
25 | - # Delete all files | |
26 | - delete "$INSTDIR\*.dll" | |
27 | - | |
28 | - # Remove registry | |
29 | - DeleteRegKey HKLM "Software\@PACKAGE@" | |
30 | - DeleteRegKey HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\@PACKAGE@" | |
31 | - DeleteRegKey HKLM "Software\@PACKAGE@" | |
32 | - | |
33 | - # Delete System libraries | |
34 | - delete $SYSDIR\libhllapi.dll | |
35 | - delete $SYSDIR\py3270.dll | |
36 | - | |
37 | - # Delete extension libraries | |
38 | - delete "$PROGRAMFILES\ooRexx\rx3270.cls" | |
39 | - delete "$PROGRAMFILES\ooRexx\rx3270.dll" | |
40 | - | |
41 | - RMDir /r "$INSTDIR" | |
42 | - | |
43 | -sectionEnd | |
44 | - |
nsi/uninstall-x86_64.nsi.in
... | ... | @@ -1,47 +0,0 @@ |
1 | - | |
2 | -# create a section to define what the uninstaller does. | |
3 | -# the section will always be named "Uninstall" | |
4 | -section "Uninstall" | |
5 | - | |
6 | - # Always delete uninstaller first | |
7 | - delete $INSTDIR\uninstaller.exe | |
8 | - | |
9 | - # Set SMPROGRAMS and DESKTOP path | |
10 | - SetShellVarContext all | |
11 | - | |
12 | - # now delete installed files | |
13 | - delete $INSTDIR\@PACKAGE@.exe | |
14 | - | |
15 | - delete $SMPROGRAMS\@PACKAGE@.lnk | |
16 | - delete $DESKTOP\@PACKAGE@.lnk | |
17 | - | |
18 | - RMDir /r "$INSTDIR\locale" | |
19 | - RMDir /r "$INSTDIR\share" | |
20 | - RMDir /r "$INSTDIR\etc" | |
21 | - RMDir /r "$INSTDIR\plugins" | |
22 | - RMDir /r "$INSTDIR\sdk" | |
23 | - | |
24 | - # Delete all files | |
25 | - delete "$INSTDIR\*.dll" | |
26 | - | |
27 | - # Remove registry | |
28 | - SetRegView 64 | |
29 | - DeleteRegKey HKLM "Software\@PACKAGE@" | |
30 | - | |
31 | - SetRegView 32 | |
32 | - DeleteRegKey HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\@PACKAGE@" | |
33 | - DeleteRegKey HKLM "Software\@PACKAGE@" | |
34 | - | |
35 | - # Delete System libraries | |
36 | - delete $SYSDIR\libhllapi.dll | |
37 | - delete $SYSDIR\py3270.dll | |
38 | - | |
39 | - # Delete extension libraries | |
40 | - delete "$PROGRAMFILES64\ooRexx\rx3270.cls" | |
41 | - delete "$PROGRAMFILES64\ooRexx\rx3270.dll" | |
42 | - | |
43 | - RMDir /r "$INSTDIR" | |
44 | - | |
45 | -sectionEnd | |
46 | - | |
47 | - |