Compare commits

...

13 Commits

Author SHA1 Message Date
Automatic Release Builder
12fce0f5e9 new version: 2018.3.5 2020-04-02 08:41:52 +01:00
James Turner
08633dad45 2018.3.5 release commits 2020-04-02 08:41:35 +01:00
James Turner
c0af026d3c Update FG & SG versions to pick up some fixes 2020-03-22 11:06:19 +00:00
James Turner
7e14b07a6b macOS: code-signing changes 2020-03-20 09:35:03 +00:00
James Turner
5d5e58e3b9 Update 2018.3 branch tags 2019-11-12 15:16:10 +00:00
James Turner
4e073285d9 Notarization support in macOS packaging scripts 2019-11-12 15:16:01 +00:00
James Turner
4adf49587b New version: 2018.3.4 2019-08-07 10:02:47 +01:00
Torsten Dreyer
414402268b New version: 2018.3.3 2019-07-28 22:45:07 +02:00
James Turner
8413bbac76 Update for 2018.3.2 2019-01-06 16:16:10 +00:00
James Turner
6c7fdbc0c6 Remove -j option to Cmake --build 2018-11-26 13:54:12 +00:00
James Turner
ffdd4f062f Use Cmake -build to compile 2018-10-23 12:10:01 +01:00
James Turner
bf5ec63ac3 Include the OSG .DDS loader plugin in Mac builds 2018-10-05 13:14:27 +01:00
Torsten Dreyer
83abaeeee2 set correct release-branch for submodules 2018-09-21 17:22:27 +02:00
8 changed files with 45 additions and 24 deletions

8
.gitmodules vendored
View File

@@ -1,11 +1,11 @@
[submodule "simgear"]
path = simgear
url = ../simgear
branch = next
branch = release/2018.3
[submodule "flightgear"]
path = flightgear
url = ../flightgear
branch = next
branch = release/2018.3
[submodule "fgrun"]
path = fgrun
url = ../fgrun
@@ -13,7 +13,7 @@
[submodule "fgdata"]
path = fgdata
url = ../fgdata
branch = next
branch = release/2018.3
[submodule "windows-3rd-party"]
path = windows-3rd-party
url = ../windows-3rd-party
@@ -21,4 +21,4 @@
[submodule "getstart"]
path = getstart
url = ../getstart
branch = next
branch = release/2018.3

2
fgdata

Submodule fgdata updated: 406ae11c3c...7ffa7fafa3

View File

@@ -23,16 +23,15 @@ echo "Starting on SimGear"
pushd sgBuild
cmake -DCMAKE_INSTALL_PREFIX:PATH=$WORKSPACE/dist -DCMAKE_BUILD_TYPE=RelWithDebInfo ../simgear
# compile
make
# compile (with out-j for now, it's hitting process limits)
cmake --build .
if [ $? -ne '0' ]; then
echo "make simgear failed"
exit 1
fi
make install
cmake --build . --target install
popd
@@ -48,14 +47,15 @@ fi
cmake -DFG_BUILD_TYPE=$FGBUILDTYPE -DCMAKE_INSTALL_PREFIX:PATH=$WORKSPACE/dist -DCMAKE_BUILD_TYPE=RelWithDebInfo ../flightgear
make
# compile (with out-j for now, it's hitting process limits)
cmake --build .
if [ $? -ne '0' ]; then
echo "make flightgear failed"
exit 1
fi
make install
cmake --build . --target install
popd

View File

@@ -5,7 +5,7 @@ require 'fileutils' #I know, no underscore is not ruby-like
include FileUtils
$osgLibs = ['osgFX', 'osgParticle', 'osg', 'osgGA', 'osgText', 'osgUtil', 'osgSim', 'osgViewer', 'osgDB']
$osgPlugins = ['ac', 'osg', 'freetype', 'imageio', 'rgb', 'txf', 'mdl', '3ds']
$osgPlugins = ['ac', 'osg', 'freetype', 'imageio', 'rgb', 'txf', 'mdl', '3ds', 'dds']
# from http://drawingablank.me/blog/ruby-boolean-typecasting.html
class String
@@ -31,6 +31,8 @@ $osgSoVersion=runOsgVersion('so-number')
$openThreadsSoVersion=runOsgVersion('openthreads-soversion-number')
$codeSignIdentity = ENV['FG_CODESIGN_IDENTITY']
$keychain = ENV['FG_KEYCHAIN']
puts "Code signing identity is #{$codeSignIdentity}"
puts "osgVersion=#{osgVersion}, so-number=#{$osgSoVersion}"
@@ -54,11 +56,10 @@ bundle=dmgDir + "/FlightGear.app"
puts "Running macdeployqt on the bundle to copy Qt libraries"
`macdeployqt #{$prefixDir}/fgfs.app -qmldir=#{qmlDir}`
puts "Moving & renaming app bundle"
puts "Copying & renaming app bundle"
`mkdir -p #{dmgDir}`
`mv #{$prefixDir}/fgfs.app #{bundle}`
`rsync --archive --quiet #{$prefixDir}/fgfs.app/ #{bundle}`
bundle=dmgDir + "/FlightGear.app"
contents=bundle + "/Contents"
macosDir=contents + "/MacOS"
$frameworksDir=contents +"/Frameworks"
@@ -135,27 +136,47 @@ File.open("#{contents}/Info.plist", 'w') { |f|
createArgs = "-format UDBZ -imagekey bzip2-level=9 -quiet -volname #{volName}"
# enable the hardened runtime and timestamp options, so notarization works
codeSignArgs = "--deep --options=runtime --timestamp"
if !$isRelease
# create the 'lite' DMG without the base files
# code sign the entire bundle once complete - v2 code-signing
puts "Signing #{bundle}"
`codesign --deep -s "#{$codeSignIdentity}" #{bundle}`
puts "Creating DMG"
`codesign #{codeSignArgs} --keychain #{$keychain} -s "#{$codeSignIdentity}" #{bundle}`
puts "Creating DMG without base-files"
`rm -f #{dmgPath}`
`hdiutil create -srcfolder #{dmgDir} #{createArgs} #{dmgPath}`
puts "Notarizing DMG #{dmgPath}"
`xcrun altool --notarize-app \
--primary-bundle-id "org.flightgear.mac" \
--username "zakalawe@mac.com" \
--password "@keychain:FlightGearAppStoreConnectUserName" \
--file #{dmgPath}`
end
puts "Creating full image with data"
puts "Copying base package files into the image"
`rsync -a fgdata/ #{resourcesDir}/data`
# re-sign the entire bundle
puts "Re-signing full #{bundle}"
`codesign --force --deep -s "#{$codeSignIdentity}" #{bundle}`
puts "Re-signing full app: #{bundle}"
`codesign --force #{codeSignArgs} --keychain #{$keychain} -s "#{$codeSignIdentity}" #{bundle}`
`rm -f #{dmgFullPath}`
`hdiutil create -srcfolder #{dmgDir} #{createArgs} #{dmgFullPath}`
puts "Notarizing DMG #{dmgFullPath}"
`xcrun altool --notarize-app \
--primary-bundle-id "org.flightgear.mac" \
--username "zakalawe@mac.com" \
--password "@keychain:FlightGearAppStoreConnectUserName" \
--file #{dmgFullPath}`
puts "Packaging complete"

Submodule simgear updated: 94a1156a6b...7a773f30e6

View File

@@ -1 +1 @@
2018.3.1
2018.3.5