source: trunk/warpin/lucide.wis.tpl @ 468

Last change on this file since 468 was 461, checked in by Silvan Scherrer, 11 years ago

poppler update to 0.14.2

File size: 8.4 KB
Line 
1
2<!-- This is the profile for installing Lucide core and plugins. -->
3
4<WARPIN
5     OS="OS2_3x"
6     CODEPAGE=850
7>
8
9<!-- Every .WPI archive contains one or more packages. -->
10
11<HEAD>
12<TITLE>=("title")</TITLE>
13<REXX NAME=title>
14Call Rxfuncadd 'SysLoadFuncs','RexxUtil','SysLoadFuncs'
15Call SysLoadFuncs
16/* get boot drive language */
17_lang = Value('lang',,'os2environment')
18_id = Translate(Left(_lang,2))
19If _id = 'ZH' Then Do
20 _id = Translate(Substr(_lang,3,2))
21 If _id = 'CN' Then _id = 'CX'
22End
23Select
24 When _id = 'DE' Then Do
25  _title = 'Lucide - Document Viewer'
26  _folder = 'Lucide for eCS'
27  _prog = 'Lucide'
28  _readme = 'Lucide Readme'
29  _change = 'Lucide Change Log'
30  _plug_pdf = 'Lucide PDF plugin'
31  _plug_djvu = 'Lucide DjVu plugin'
32  _plug_jpeg = 'Lucide JPEG plugin'
33 End
34 When _id = 'NL' Then Do
35  _title = 'Lucide - Document Bekijker'
36  _folder = 'Lucide for eCS'
37  _prog = 'Lucide'
38  _readme = 'Lucide Readme'
39  _change = 'Lucide Change Log'
40  _plug_pdf = 'Lucide PDF plugin'
41  _plug_djvu = 'Lucide DjVu plugin'
42  _plug_jpeg = 'Lucide JPEG plugin'
43 End
44 When _id = 'FR' Then Do
45  _title = 'Lucide - Afficheur de document'
46  _folder = 'Lucide for eCS'
47  _prog = 'Lucide'
48  _readme = 'Lucide Readme'
49  _change = 'Lucide Change Log'
50  _plug_pdf = 'Lucide PDF plugin'
51  _plug_djvu = 'Lucide DjVu plugin'
52  _plug_jpeg = 'Lucide JPEG plugin'
53 End
54 When _id = 'ES' Then Do
55  _title = 'Lucide - Visor de documentos'
56  _folder = 'Lucide para eCS'
57  _prog = 'Lucide'
58  _readme = 'L‚eme de Lucide'
59  _change = 'Lucide Change Log'
60  _plug_pdf = 'Plugin PDF para Lucide'
61  _plug_djvu = 'Plugin DjVu para Lucide'
62  _plug_jpeg = 'Plugin JPEG para Lucide'
63 End
64 When _id = 'SV' Then Do
65  _title = 'Lucide - Dokumentvisare'
66  _folder = 'Lucide for eCS'
67  _prog = 'Lucide'
68  _readme = 'Lucide Readme'
69  _change = 'Lucide Change Log'
70  _plug_pdf = 'Lucide PDF plugin'
71  _plug_djvu = 'Lucide DjVu plugin'
72  _plug_jpeg = 'Lucide JPEG plugin'
73 End
74 Otherwise Do
75  _title = 'Lucide - Document Viewer'
76  _folder = 'Lucide for eCS'
77  _prog = 'Lucide'
78  _readme = 'Lucide Readme'
79  _change = 'Lucide Change Log'
80  _plug_pdf = 'Lucide PDF plugin'
81  _plug_djvu = 'Lucide DjVu plugin'
82  _plug_jpeg = 'Lucide JPEG plugin'
83 End
84End
85rc = WirexxPutEnv('title',_title)
86rc = WirexxPutEnv('folder',_folder)
87rc = WirexxPutEnv('prog',_prog)
88rc = WirexxPutEnv('readme',_readme)
89rc = WirexxPutEnv('change',_change)
90rc = WirexxPutEnv('plug_pdf',_plug_pdf)
91rc = WirexxPutEnv('plug_djvu',_plug_djvu)
92rc = WirexxPutEnv('plug_jpeg',_plug_jpeg)
93Return _title
94</REXX>
95<REXX NAME=folder>
96Return WirexxGetEnv('folder')
97</REXX>
98<REXX NAME=prog>
99ans = WirexxShowMessage(WirexxGetEnv('title'),'Make Lucide the default program for PDF files?',4)
100If ans = 6 Then Do
101 /* clear any previous associations */
102 Call SysIni 'USER','PMWP_ASSOC_FILTER','*.PDF','DELETE:'
103 Call SysIni 'USER','PMWP_ASSOC_FILTER','*PDF','DELETE:'
104 Call SysIni 'USER','PMWP_ASSOC_TYPE','Acrobat Document','DELETE:'
105End
106Return WirexxGetEnv('prog')
107</REXX>
108<REXX NAME=readme>
109Return WirexxGetEnv('readme')
110</REXX>
111<REXX NAME=change>
112Return WirexxGetEnv('change')
113</REXX>
114<REXX NAME=plug_pdf>
115Return WirexxGetEnv('plug_pdf')
116</REXX>
117<REXX NAME=plug_djvu>
118Return WirexxGetEnv('plug_djvu')
119</REXX>
120<REXX NAME=plug_jpeg>
121Return WirexxGetEnv('plug_jpeg')
122</REXX>
123<PCK INDEX=1
124     PACKAGEID="netlabs.org\Lucide\Lucide core\${WPIVERSION}\${WPIBUILD}"
125     TARGET="$(WARPIN_DEFAULTAPPSPATH)\Lucide"
126     BASE
127     TITLE="=("title")"
128     CREATEOBJECT='WPFolder|=("folder")|<WP_DESKTOP>|OBJECTID=<LUCIDEFOLDER>;ICONFILE=$(1)\lucide_fldr_1.ico;ICONNFILE=1,$(1)\lucide_fldr_2.ico;OPEN=DEFAULT;ALWAYSSORT=YES;'
129     CREATEOBJECT='REPLACE WPProgram|=("prog")|<LUCIDEFOLDER>|EXENAME=$(1)\lucide.exe;OBJECTID=<LUCIDEFOLDER_LUCIDEEXE>;PROGTYPE=PM;STARTUPDIR=$(1);ASSOCFILTER=*.PDF,*.DJVU;ASSOCTYPE=Acrobat Document;CCVIEW=YES;'
130     CREATEOBJECT='REPLACE WPProgram|=("readme")|<LUCIDEFOLDER>|EXENAME=e.exe;OBJECTID=<LUCIDEFOLDER_README>;PROGTYPE=PM;PARAMETERS=$(1)\readme;STARTUPDIR=$(1);'
131     CREATEOBJECT='REPLACE WPProgram|=("change")|<LUCIDEFOLDER>|EXENAME=e.exe;OBJECTID=<LUCIDEFOLDER_CHANGELOG>;PROGTYPE=PM;PARAMETERS=$(1)\changelog;STARTUPDIR=$(1);'
132     WRITEPROFILE="USER\Lucide\Path|$(1)"
133     CLEARPROFILE="USER\Lucide\Path"
134     REQUIRES="netlabs.org\kLIBC\LIBC 0.6 Runtime\0\6\3"
135     REQUIRES="netlabs.org\GCC4\Runtime\4\4\2\20091204"
136     SELECT
137     >=("title").</PCK>
138
139<PCK INDEX=2
140     PACKAGEID="netlabs.org\Lucide\Lucide plugin PDF\${WPIVERSION}\${WPIBUILD}"
141     TARGET="$(1)"
142     TITLE="=("plug_pdf")"
143     REQUIRES=1
144     SELECT | FIXED
145     >=("plug_pdf")</PCK>
146
147<PCK INDEX=3
148     PACKAGEID="netlabs.org\Lucide\Lucide plugin DJVU\${WPIVERSION}\${WPIBUILD}"
149     TARGET="$(1)"
150     TITLE="=("plug_djvu")"
151     REQUIRES=1
152     SELECT | FIXED
153     >=("plug_djvu")</PCK>
154
155<PCK INDEX=4
156     PACKAGEID="netlabs.org\Lucide\Lucide plugin JPEG\${WPIVERSION}\${WPIBUILD}"
157     TARGET="$(1)"
158     TITLE="=("plug_jpeg")"
159     REQUIRES=1
160     SELECT | FIXED
161     >=("plug_jpeg")</PCK>
162
163</HEAD>
164
165<!-- Here come the different pages. They are linked by
166     the <NEXTBUTTON> tags, which must have a target.
167     Each page must have a TYPE= attribute, which tells
168     WarpIn what will be visible on that page. -->
169
170<BODY>
171
172<!-- The TYPE_README will show a README text in a multi-line entry field. -->
173
174<PAGE INDEX=1 TYPE=README>
175<NEXTBUTTON TARGET=2>~Next</NEXTBUTTON>
176<TEXT>
177Select "Next" to continue.
178Select "Cancel" to abort installation.
179</TEXT>
180
181<README FORMAT=HTML>
182<B>Lucide for eComStation, version ${VERSION} ${BUILD}</B>
183<P>
184Lucide is a plugin based document viewer for eComStation. In its first incarnation
185it supports PDF, DjVu and JPEG files but new document types can easily be added to it.
186<P>
187<P>
188<BR>
189Features:
190<UL>
191  <LI>PDF, DjVu and JPEG Support
192  <LI>Drag and Drop Support
193  <LI>Fast and small
194</UL>
195<P>
196<BR>
197For further details please visit the Lucide project homepage:<BR>
198<U><a href="http://svn.netlabs.org/lucide/">http://svn.netlabs.org/lucide/</a></U>
199<BR>
200</README>
201</PAGE>
202
203<PAGE INDEX=2 TYPE=README>
204<NEXTBUTTON TARGET=3>~Next</NEXTBUTTON>
205<TEXT>
206The following list describes what is new in this version of Lucide.
207</TEXT>
208<README FORMAT=PLAIN EXTRACTFROMPCK="1">changelog</README>
209</PAGE>
210
211<PAGE INDEX=3 TYPE=README>
212<NEXTBUTTON TARGET=4>~I agree</NEXTBUTTON>
213<TEXT>
214By pressing the "I agree" button, you agree to all terms and conditions to the below licence agreement.
215</TEXT>
216<README FORMAT=HTML>
217<B>LICENSE</B>
218<P>
219Starting with version 1.3.0 Mensys BV and Serenity Systems International
220have agreed in opensourcing Lucide, while still investing in the product.
221Netlabs.org would like to express it's gratitude toward Mensys BV and
222Serenity Systems International.</P>
223<P>
224Lucide as of version 1.3.0 is released and distributed under <U><a href="http://opensource.org/licenses/cddl1.php">CDDL</a></U>/<U><a href="http://www.gnu.org/licenses/lgpl.html">LGPL</a></U>.</P>
225<P>
226The plugins are released under CDDL/LGPL or GPL, depending on the plugin. See
227<U><a href="http://svn.netlabs.org/lucide/">http://svn.netlabs.org/lucide/</a></U> for more information and source code.</P>
228</README>
229</PAGE>
230
231<!-- The TYPE=CONTAINER will list the packages which can be installed. -->
232
233<PAGE INDEX=4 TYPE=CONTAINER>
234<NEXTBUTTON TARGET=6>~Next</NEXTBUTTON>
235<TEXT>
236Please select the packages which are to be installed. You may change the target paths for the packages.
237</TEXT>
238</PAGE>
239
240
241<!-- The TYPE=CONFIGURE will allow the user to set the CONFIG.SYS and
242     WPS classes/objects stuff.
243
244     NOTE that we skip this target since 1.32 to avoid inconsistency that could
245     happen should the user deselect creation of WPS objects (see ticket:128
246     for details). -->
247
248<PAGE INDEX=5 TYPE=CONFIGURE>
249<NEXTBUTTON TARGET=6>~Next</NEXTBUTTON>
250<TEXT>
251
252Please select additional configuration that WarpIN should perform after installing this archive.
253
254</TEXT>
255</PAGE>
256
257<!-- Here's another TYPE=TEXT page before we install.
258     The special target "0" indicates that after this page we
259     should start installation.
260     Note that the TYPE=INSTALL page (which we had in Alpha #3)
261     is no longer supported. -->
262
263<PAGE INDEX=6 TYPE=TEXT>
264<NEXTBUTTON TARGET=0>I~nstall</NEXTBUTTON>
265<TEXT>
266
267
268
269Press "Install" to begin installing this archive.</TEXT>
270</PAGE>
271</BODY>
272</WARPIN>
273
Note: See TracBrowser for help on using the repository browser.