Changeset 737
- Timestamp:
- May 13, 2010, 8:52:44 PM (16 years ago)
- Location:
- packaging
- Files:
-
- 3 edited
-
Makefile.packages (modified) (2 diffs)
-
lib.wis.tpl (modified) (4 diffs)
-
make_packages.cmd (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
packaging/Makefile.packages
r734 r737 99 99 pkg.readme=6 100 100 101 102 103 104 105 106 107 108 109 110 101 111 # 102 112 # Development archive … … 198 208 # 199 209 200 WPIS = wpi.lib wpi. dev wpi.examples wpi.doc210 WPIS = wpi.lib wpi.dev wpi.examples wpi.doc 201 211 202 212 #------------------------------------------------------------------------------- -
packaging/lib.wis.tpl
r736 r737 99 99 </REXX> 100 100 101 <REXX NAME="GetPkgPathRefFixed">102 parse arg aPkgIdUtf8', 'aPkgIdLocal103 ver = GetPkgVersion(aPkgIdUtf8)104 if (ver == '') then return 'Unable to determine the installation path'105 return '$('aPkgIdLocal')'106 107 /* same as above... */108 GetPkgVersion: procedure109 parse arg aPkgId110 rc = rxFuncAdd('SysLoadFuncs', 'REXXUTIL', 'SysLoadFuncs')111 rc = SysLoadFuncs()112 WarpInDir = strip(SysIni('USER', 'WarpIN', 'Path'), 'T', '0'x)113 if (WarpInDir \== '') then do114 rc = SysFileTree(WarpInDir'\DATBAS_?.INI', 'inis', 'FO')115 if (rc == 0) then do116 do i = 1 to inis.0117 rc = SysIni(inis.i, 'ALL:', 'apps')118 if (rc == '') then do119 do j = 1 to apps.0120 apps.j = strip(apps.j, 'T', '0'x)121 if (left(apps.j, length(aPkgId)) == aPkgId) then do122 /* found the app */123 ver = right(apps.j, length(apps.j) - length(aPkgId) - 1)124 ver = translate(ver, '.', '\')125 return ver126 end127 end128 end129 end130 end131 end132 return ''133 </REXX>134 135 <REXX NAME="GetPkgSelectAttrFixed">136 /* makes sure the package is selected only if the prerequisite is present */137 parse arg aPkgId138 ver = GetPkgVersion(aPkgId)139 if (ver == '') then return ''140 return 'SELECT'141 142 /* same as above... */143 GetPkgVersion: procedure144 parse arg aPkgId145 rc = rxFuncAdd('SysLoadFuncs', 'REXXUTIL', 'SysLoadFuncs')146 rc = SysLoadFuncs()147 WarpInDir = strip(SysIni('USER', 'WarpIN', 'Path'), 'T', '0'x)148 if (WarpInDir \== '') then do149 rc = SysFileTree(WarpInDir'\DATBAS_?.INI', 'inis', 'FO')150 if (rc == 0) then do151 do i = 1 to inis.0152 rc = SysIni(inis.i, 'ALL:', 'apps')153 if (rc == '') then do154 do j = 1 to apps.0155 apps.j = strip(apps.j, 'T', '0'x)156 if (left(apps.j, length(aPkgId)) == aPkgId) then do157 /* found the app */158 ver = right(apps.j, length(apps.j) - length(aPkgId) - 1)159 ver = translate(ver, '.', '\')160 return ver161 end162 end163 end164 end165 end166 end167 return ''168 </REXX>169 170 101 <REXX NAME="AskToUninstallPreviousVersion"> 171 102 call WirexxShowMessage , … … 219 150 >Contains translations of the Qt runtime. This package is recommended</PCK> 220 151 221 < PCK INDEX=5152 <PCK INDEX=5 222 153 PACKAGEID="netlabs.org\Qt4\SysTray\${version_path}" 223 154 TITLE="Extended System Tray widget for XCenter" 224 =("GetPkgSelectAttrFixed Ulrich Möller\XWorkplace\Kernel")155 225 156 REQUIRES="1" 226 157 REQUIRES="Ulrich Mller\XWorkplace\Kernel\0\9\9" 227 TARGET=" =("GetPkgPathRefFixed Ulrich Möller\XWorkplace\Kernel, Ulrich Mller\XWorkplace\Kernel")" FIXED228 LONGFILENAMES 229 >Provides support for the system tray to Qt applications. This package is recommended</PCK >158 TARGET=")" FIXED 159 LONGFILENAMES 160 >Provides support for the system tray to Qt applications. This package is recommended</PCK> 230 161 231 162 <PCK INDEX=6 … … 302 233 303 234 304 < PAGE INDEX=5 TYPE=TEXT>235 <PAGE INDEX=5 TYPE=TEXT> 305 236 <NEXTBUTTON TARGET=0>I~nstall</NEXTBUTTON> 306 237 <TEXT>Press "Install" to begin installing the Qt 4 Runtime Libraries. … … 310 241 To do so, restart XCenter and select "Create new widget" > "Extended system tray" from the XCenter context menu. 311 242 </TEXT> 312 </PAGE> 243 </PAGE${disable_tag_end}> 244 245 <${enable_tag_begin}PAGE INDEX=5 TYPE=TEXT> 246 <NEXTBUTTON TARGET=0>I~nstall</NEXTBUTTON> 247 <TEXT>Press "Install" to begin installing the Qt 4 Runtime Libraries.</TEXT> 248 </PAGE${enable_tag_end}> 313 249 314 250 <!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - --> -
packaging/make_packages.cmd
r734 r737 331 331 G.vars.4.v = G.QtInstallPrefix 332 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 333 357 G.vars.0 = 4 334 358 335 call ReplaceInFile 'lib.wis.tpl', G.OutDirWpi'\lib.wis', 'G.vars'336 359 call ReplaceInFile 'dev.wis.tpl', G.OutDirWpi'\dev.wis', 'G.vars' 337 360 call ReplaceInFile 'examples.wis.tpl', G.OutDirWpi'\examples.wis', 'G.vars' … … 342 365 /* create the .WPI packages */ 343 366 if (Exec('make -f Makefile.packages wpi.lib', G.ScriptDir, '>'G.LogFile) \= 0) then 367 368 344 369 call Done 1 345 370 if (Exec('make -f Makefile.packages wpi.dev', G.ScriptDir, '>'G.LogFile) \= 0) then
Note:
See TracChangeset
for help on using the changeset viewer.
