@@ -15,7 +15,7 @@ command toolsBuilderRun pPlatform, pEdition, pVersion
1515 -- If on windows or linux, we can't do anything macosxy due to lack of lipo/strip :o(
1616 local tEngineFolders
1717
18- get "windows linux linux-x64 linux-armv6hf macosx ios android"
18+ get "windows linux-x86 linux-x86_64 linux-armv6hf macosx ios android"
1919
2020 repeat for each word tPlatform in it
2121 builderFetchEngine pVersion , tPlatform
@@ -95,9 +95,8 @@ private command toolsBuilderMakePackage pVersion, pEdition, pPlatform, pEngineFo
9595 packageCompilerConfigureSource tPackager , "docs" , pDocsFolder
9696 packageCompilerConfigureSource tPackager , "engine" , pEngineFolders [pPlatform ]
9797 packageCompilerConfigureSource tPackager , "macosx" , pEngineFolders ["macosx" ]
98- packageCompilerConfigureSource tPackager , "linux" , pEngineFolders ["linux" ]
99- packageCompilerConfigureSource tPackager , "linux-i386" , pEngineFolders ["linux" ]
100- packageCompilerConfigureSource tPackager , "linux-x86_64" , pEngineFolders ["linux-x64" ]
98+ packageCompilerConfigureSource tPackager , "linux-x86" , pEngineFolders ["linux-x86" ]
99+ packageCompilerConfigureSource tPackager , "linux-x86_64" , pEngineFolders ["linux-x86_64" ]
101100 packageCompilerConfigureSource tPackager , "linux-armv6-hf" , pEngineFolders ["linux-armv6hf" ]
102101 packageCompilerConfigureSource tPackager , "windows" , pEngineFolders ["windows" ]
103102 packageCompilerConfigureSource tPackager , "ios" , pEngineFolders ["ios" ]
@@ -117,7 +116,7 @@ private command toolsBuilderMakePackage pVersion, pEdition, pPlatform, pEngineFo
117116 packageCompilerConfigureVariable tPackager , "SupportFolder" , "[[installFolder]]"
118117 packageCompilerConfigureVariable tPackager , "ToolsFolder" , "[[installFolder]]"
119118 end if
120- if pPlatform is "linux-x64" or pPlatform is "linux-armv6hf" or pPlatform is "linux" then
119+ if pPlatform begins with "linux" then
121120 packageCompilerConfigureVariable tPackager , "TargetPlatform" , "linux"
122121 else
123122 packageCompilerConfigureVariable tPackager , "TargetPlatform" , pPlatform
@@ -126,9 +125,9 @@ private command toolsBuilderMakePackage pVersion, pEdition, pPlatform, pEngineFo
126125 packageCompilerConfigureVariable tPackager , "VersionTag" , pVersion
127126 packageCompilerConfigureVariable tPackager , "ProductBranch" , char 1 to 3 of pVersion
128127 packageCompilerConfigureVariable tPackager , "TargetArchitectures" , "i386"
129- if pPlatform is "linux" then
130- packageCompilerConfigureVariable tPackager , "TargetArchitecture" , "i386 "
131- else if pPlatform is "linux-x64 " then
128+ if pPlatform is "linux-x86 " then
129+ packageCompilerConfigureVariable tPackager , "TargetArchitecture" , "x86 "
130+ else if pPlatform is "linux-x86_64 " then
132131 packageCompilerConfigureVariable tPackager , "TargetArchitecture" , "x86_64"
133132 else if pPlatform is "linux-armv6hf" then
134133 packageCompilerConfigureVariable tPackager , "TargetArchitecture" , "armv6-hf"
@@ -138,15 +137,15 @@ private command toolsBuilderMakePackage pVersion, pEdition, pPlatform, pEngineFo
138137 if pEdition is "Community" then
139138 packageCompilerConfigureVariable tPackager , "ProductTitle" , "LiveCode Community" && getReadableVersion(pVersion )
140139 packageCompilerConfigureVariable tPackager , "ProductTag" , "livecodecommunity_" & getTaggedVersion(pVersion )
141- if pPlatform is "Linux" or pPlatform is "Linux-x64 " or pPlatform is "Linux-armv6hf" then
140+ if pPlatform is "Linux" or pPlatform is "Linux-x86_64 " or pPlatform is "Linux-armv6hf" then
142141 packageCompilerConfigureVariable tPackager , "ProductName" , "livecodecommunity"
143142 else
144143 packageCompilerConfigureVariable tPackager , "ProductName" , "LiveCode Community"
145144 end if
146145 else
147146 packageCompilerConfigureVariable tPackager , "ProductTitle" , "LiveCode" && getReadableVersion(pVersion )
148147 packageCompilerConfigureVariable tPackager , "ProductTag" , "livecode_" & getTaggedVersion(pVersion )
149- if pPlatform is "Linux" or pPlatform is "Linux-x64 " or pPlatform is "Linux-armv6hf" then
148+ if pPlatform is "Linux" or pPlatform is "Linux-x86_64 " or pPlatform is "Linux-armv6hf" then
150149 packageCompilerConfigureVariable tPackager , "ProductName" , "livecode"
151150 else
152151 packageCompilerConfigureVariable tPackager , "ProductName" , "LiveCode"
@@ -355,16 +354,16 @@ private command toolsBuilderMakeInstaller pVersion, pEdition, pPlatform, pIdeFol
355354 builderLog "report" , "Deployed windows installer to '" && tOutputFileStub & ".exe" & "'"
356355 break
357356
358- case "linux"
359- case "linux-x64 "
357+ case "linux-x86 "
358+ case "linux-x86_64 "
360359 case "linux-armv6hf"
361360 put abstractPinFile(builderInstallerEngine(pPlatform )) into tParams ["engine" ]
362361 put tInstallerStackFile into tParams ["stackfile" ]
363362 put pPackageFile into tParams ["payload" ]
364- if pPlatform is "linux" then
363+ if pPlatform is "linux-x86 " then
365364 put tOutputFileStub & ".x86" into tParams ["output" ]
366- else if pPlatform is "linux-x64 " then
367- put tOutputFileStub & ".x64 " into tParams ["output" ]
365+ else if pPlatform is "linux-x86_64 " then
366+ put tOutputFileStub & ".x86_64 " into tParams ["output" ]
368367 else -- if pPlatform is "linux-armv6hf"
369368 put tOutputFileStub & ".rpi" into tParams ["output" ]
370369 end if
@@ -534,7 +533,7 @@ function getInstallerFilenameStub pVersion, pPlatform, pEdition
534533 put "Mac" into pPlatform
535534 else if pPlatform is "windows" then
536535 put "Windows" into pPlatform
537- else if pPlatform is "linux" or pPlatform is "linux-x64" or pPlatform is "linux-armv6hf " then
536+ else if pPlatform begins with "linux" then
538537 put "Linux" into pPlatform
539538 end if
540539 if pEdition is "Community" then
0 commit comments