Compare commits

...

16 Commits

Author SHA1 Message Date
James Turner
2dbbd0502e Revert "Linux-release: use local base-package"
This reverts commit 0f1dbad70d,
now fgdata is fixed.
2014-10-22 15:13:00 +01:00
James Turner
ad64659f67 Revert "Mac-release: Use local base-package"
This reverts commit 71366844dd,
now fgdata is fixed.
2014-10-22 15:12:50 +01:00
James Turner
63c7fcfc8f Remove references to SVN in Mac release. 2014-10-18 11:46:18 +01:00
Clément de l'Hamaide
19d1dc5bf9 Bump SG revision 2014-10-01 23:26:12 +02:00
Clément de l'Hamaide
be6079692e Bump FGRun revision 2014-08-25 21:33:40 +02:00
Clément de l'Hamaide
0f1dbad70d Linux-release: use local base-package 2014-08-17 12:29:08 +02:00
Clément de l'Hamaide
71366844dd Mac-release: Use local base-package 2014-08-17 12:21:26 +02:00
Clément de l'Hamaide
5c28af16e8 Bump fg/sg revision 2014-08-15 22:19:20 +02:00
Clément de l'Hamaide
01c48cea4b Fix mac release build 2014-08-14 13:49:09 +02:00
Clément de l'Hamaide
d7b5930118 Win installer: fix a wrong copy/paste 2014-08-14 01:15:20 +02:00
Clément de l'Hamaide
be781298c2 FG win installer: add missing 3rd party files 2014-08-13 10:36:54 +02:00
Clément de l'Hamaide
5b156f81a7 Revert "Superbuild: try with quotes"
This reverts commit f953e701ce.
2014-08-13 10:00:35 +02:00
Clément de l'Hamaide
f953e701ce Superbuild: try with quotes 2014-08-12 12:04:00 +02:00
Clément de l'Hamaide
52d3dd1759 Superbuild: help OSG to find some libs 2014-08-11 23:51:06 +02:00
Clément de l'Hamaide
1d879d0e49 Fix Win32 release build 2014-08-11 23:50:55 +02:00
Clément de l'Hamaide
d43c66d602 Bump for 3.2.0 release 2014-08-10 20:37:47 +02:00
7 changed files with 22 additions and 32 deletions

View File

@ -84,6 +84,14 @@ elseif(MSVC)
-DACTUAL_3RDPARTY_DIR:PATH=${CMAKE_BINARY_DIR}/${RDPARTY_DIR} -DACTUAL_3RDPARTY_DIR:PATH=${CMAKE_BINARY_DIR}/${RDPARTY_DIR}
-DCMAKE_LIBRARY_PATH:STRING=${CMAKE_BINARY_DIR}/${RDPARTY_DIR}/lib -DCMAKE_LIBRARY_PATH:STRING=${CMAKE_BINARY_DIR}/${RDPARTY_DIR}/lib
-DCMAKE_INCLUDE_PATH:STRING=${CMAKE_BINARY_DIR}/${RDPARTY_DIR}/include;${CMAKE_BINARY_DIR}/${RDPARTY_DIR}/include/freetype -DCMAKE_INCLUDE_PATH:STRING=${CMAKE_BINARY_DIR}/${RDPARTY_DIR}/include;${CMAKE_BINARY_DIR}/${RDPARTY_DIR}/include/freetype
-DCURL_INCLUDE_DIR:PATH=${CMAKE_BINARY_DIR}/${RDPARTY_DIR}/include
-DTIFF_INCLUDE_DIR:PATH=${CMAKE_BINARY_DIR}/${RDPARTY_DIR}/include
-DGDAL_INCLUDE_DIR:PATH=${CMAKE_BINARY_DIR}/${RDPARTY_DIR}/include
-DGDAL_LIBRARY:FILEPATH=${CMAKE_BINARY_DIR}/${RDPARTY_DIR}/lib/gdal_i.lib
-DTIFF_LIBRARY:FILEPATH=${CMAKE_BINARY_DIR}/${RDPARTY_DIR}/lib/libtiff.lib
-DCURL_LIBRARY:FILEPATH=${CMAKE_BINARY_DIR}/${RDPARTY_DIR}/lib/libcurl_imp.lib
-DFREETYPE_LIBRARY:FILEPATH=${CMAKE_BINARY_DIR}/${RDPARTY_DIR}/lib/freetype.lib
-DFREETYPE_INCLUDE_DIR:PATH=${CMAKE_BINARY_DIR}/${RDPARTY_DIR}/include;${CMAKE_BINARY_DIR}/${RDPARTY_DIR}/include/freetype
) )
# for compatability with MSVC directory layout # for compatability with MSVC directory layout

View File

@ -82,6 +82,10 @@ Source: "X:\install\msvc100\FGRun\bin\fgrun.exe"; DestDir: "{app}\bin"; Flags: i
Source: "X:\install\msvc100\FGRun\share\locale\*"; DestDir: "{app}\bin\locale"; Flags: ignoreversion recursesubdirs; Check: not Is64BitInstallMode Source: "X:\install\msvc100\FGRun\share\locale\*"; DestDir: "{app}\bin\locale"; Flags: ignoreversion recursesubdirs; Check: not Is64BitInstallMode
Source: "X:\3rdParty\bin\zlib.dll"; DestDir: "{app}\bin"; Check: not Is64BitInstallMode Source: "X:\3rdParty\bin\zlib.dll"; DestDir: "{app}\bin"; Check: not Is64BitInstallMode
Source: "X:\3rdParty\bin\OpenAL32.dll"; DestDir: "{app}\bin"; Check: not Is64BitInstallMode Source: "X:\3rdParty\bin\OpenAL32.dll"; DestDir: "{app}\bin"; Check: not Is64BitInstallMode
Source: "X:\3rdParty\bin\libpng16.dll"; DestDir: "{app}\bin"; Check: not Is64BitInstallMode
Source: "X:\3rdParty\bin\CrashRpt1402.dll"; DestDir: "{app}\bin"; Check: not Is64BitInstallMode
Source: "X:\3rdParty\bin\crashrpt_lang.ini"; DestDir: "{app}\bin"; Check: not Is64BitInstallMode
Source: "X:\3rdParty\bin\CrashSender1402.exe"; DestDir: "{app}\bin"; Check: not Is64BitInstallMode
Source: "{#VCInstallDir}\redist\x86\Microsoft.VC100.CRT\*.dll"; DestDir: "{app}\bin"; Check: not Is64BitInstallMode Source: "{#VCInstallDir}\redist\x86\Microsoft.VC100.CRT\*.dll"; DestDir: "{app}\bin"; Check: not Is64BitInstallMode
Source: "X:\3rdParty\bin\vcredist_x86.exe"; DestDir: "{app}\bin"; Flags: skipifsourcedoesntexist; Check: not Is64BitInstallMode Source: "X:\3rdParty\bin\vcredist_x86.exe"; DestDir: "{app}\bin"; Flags: skipifsourcedoesntexist; Check: not Is64BitInstallMode
@ -102,6 +106,10 @@ Source: "X:\install\msvc100-64\FGRun\share\locale\*"; DestDir: "{app}\bin\locale
Source: "X:\3rdParty.x64\bin\zlib.dll"; DestDir: "{app}\bin"; Check: Is64BitInstallMode Source: "X:\3rdParty.x64\bin\zlib.dll"; DestDir: "{app}\bin"; Check: Is64BitInstallMode
Source: "X:\3rdParty.x64\bin\OpenAL32.dll"; DestDir: "{app}\bin"; Check: Is64BitInstallMode Source: "X:\3rdParty.x64\bin\OpenAL32.dll"; DestDir: "{app}\bin"; Check: Is64BitInstallMode
Source: "X:\3rdParty.x64\bin\vcredist_x64.exe"; DestDir: "{app}\bin"; Flags: skipifsourcedoesntexist; Check: Is64BitInstallMode Source: "X:\3rdParty.x64\bin\vcredist_x64.exe"; DestDir: "{app}\bin"; Flags: skipifsourcedoesntexist; Check: Is64BitInstallMode
Source: "X:\3rdParty.x64\bin\libpng16.dll"; DestDir: "{app}\bin"; Check: Is64BitInstallMode
Source: "X:\3rdParty.x64\bin\CrashRpt1402.dll"; DestDir: "{app}\bin"; Check: Is64BitInstallMode
Source: "X:\3rdParty.x64\bin\crashrpt_lang.ini"; DestDir: "{app}\bin"; Check: Is64BitInstallMode
Source: "X:\3rdParty.x64\bin\CrashSender1402.exe"; DestDir: "{app}\bin"; Check: Is64BitInstallMode
Source: "{#VCInstallDir}\redist\x64\Microsoft.VC100.CRT\*.dll"; DestDir: "{app}\bin"; Check: Is64BitInstallMode Source: "{#VCInstallDir}\redist\x64\Microsoft.VC100.CRT\*.dll"; DestDir: "{app}\bin"; Check: Is64BitInstallMode
; 32/64 bits install ; 32/64 bits install

2
fgrun

@ -1 +1 @@
Subproject commit 40848aae4a11bdf751329967c0f794bad7e67273 Subproject commit e038cc9be4955e356a6be8eb04dde58e4c24a51f

@ -1 +1 @@
Subproject commit 98c053792e1fd13d420a510ebd2b033ca345c9dc Subproject commit cbc8b26df7cae0ea467305463aa0ca9a3db8ebaa

View File

@ -22,10 +22,6 @@ puts "Code signing identity is #{$codeSignIdentity}"
puts "osgVersion=#{osgVersion}, so-number=#{$osgSoVersion}" puts "osgVersion=#{osgVersion}, so-number=#{$osgSoVersion}"
$svnLibs = ['svn_client', 'svn_wc', 'svn_delta', 'svn_diff', 'svn_ra',
'svn_ra_local', 'svn_repos', 'svn_fs', 'svn_fs_fs', 'svn_fs_util',
'svn_ra_svn', 'svn_subr', 'svn_ra_neon']
def fix_install_names(object) def fix_install_names(object)
#puts "fixing install names for #{object}" #puts "fixing install names for #{object}"
@ -44,31 +40,11 @@ $prefixDir=Dir.pwd + "/dist"
dmgDir=Dir.pwd + "/image" dmgDir=Dir.pwd + "/image"
srcDir=Dir.pwd + "/flightgear" srcDir=Dir.pwd + "/flightgear"
def fix_svn_install_names(object)
$svnLibs.each do |l|
fileName = "lib#{l}-1.0.dylib"
newName = "@executable_path/../Frameworks/#{fileName}"
`install_name_tool -change #{fileName} #{newName} #{object}`
end
end
def copy_svn_libs()
puts "Copying Subversion client libraries"
$svnLibs.each do |l|
libFile = "lib#{l}-1.0.dylib"
path = "#{$frameworksDir}/#{libFile}"
`cp #{$prefixDir}/lib/#{libFile} #{$frameworksDir}`
fix_svn_install_names(path)
# `install_name_tool -id #{libFile} #{path}`
end
end
def code_sign(path) def code_sign(path)
puts "Signing #{path}" puts "Signing #{path}"
`codesign -s "#{$codeSignIdentity}" #{path}` `codesign -s "#{$codeSignIdentity}" #{path}`
end end
puts "Erasing previous image dir" puts "Erasing previous image dir"
`rm -rf #{dmgDir}` `rm -rf #{dmgDir}`
@ -95,7 +71,8 @@ puts "Creating directory structure"
`mkdir -p #{osgPluginsDir}` `mkdir -p #{osgPluginsDir}`
puts "Copying binaries" puts "Copying binaries"
bins = ['fgfs', 'fgjs', 'fgcom', 'fgviewer'] `cp #{$prefixDir}/fgfs.app/Contents/MacOS/fgfs #{macosDir}/fgfs`
bins = ['fgjs', 'fgcom', 'fgviewer']
bins.each do |b| bins.each do |b|
if !File.exist?("#{$prefixDir}/bin/#{b}") if !File.exist?("#{$prefixDir}/bin/#{b}")
next next
@ -104,7 +81,6 @@ bins.each do |b|
outPath = "#{macosDir}/#{b}" outPath = "#{macosDir}/#{b}"
`cp #{$prefixDir}/bin/#{b} #{outPath}` `cp #{$prefixDir}/bin/#{b} #{outPath}`
fix_install_names(outPath) fix_install_names(outPath)
fix_svn_install_names(outPath)
end end
puts "copying libraries" puts "copying libraries"
@ -124,8 +100,6 @@ $osgPlugins.each do |p|
fix_install_names("#{osgPluginsDir}/#{pluginFile}") fix_install_names("#{osgPluginsDir}/#{pluginFile}")
end end
copy_svn_libs()
# Macflightgear launcher # Macflightgear launcher
puts "Copying Macflightgear launcher files" puts "Copying Macflightgear launcher files"

View File

@ -14,7 +14,7 @@ cmake ..\simgear -G "Visual Studio 10" -DMSVC_3RDPARTY_ROOT=%WORKSPACE% -DCMAKE_
cmake --build . --config Release --target INSTALL cmake --build . --config Release --target INSTALL
cd ..\build-fg cd ..\build-fg
cmake ..\flightgear -G "Visual Studio 10" -DMSVC_3RDPARTY_ROOT=%WORKSPACE% -DCMAKE_INSTALL_PREFIX:PATH=%WORKSPACE%/install/msvc100/FlightGear -DFLTK_FLUID_EXECUTABLE=%WORKSPACE%/3rdParty/bin/fluid.exe -DBOOST_ROOT=%WORKSPACE%/Boost cmake ..\flightgear -G "Visual Studio 10" -DMSVC_3RDPARTY_ROOT=%WORKSPACE% -DCMAKE_INSTALL_PREFIX:PATH=%WORKSPACE%/install/msvc100/FlightGear -DPNG_LIBRARY=%WORKSPACE%/3rdParty/lib/libpng16.lib -DFLTK_FLUID_EXECUTABLE=%WORKSPACE%/3rdParty/bin/fluid.exe -DBOOST_ROOT=%WORKSPACE%/Boost
cmake --build . --config Release --target INSTALL cmake --build . --config Release --target INSTALL
cd ..\build-fgrun cd ..\build-fgrun

@ -1 +1 @@
Subproject commit 7535dfd2d047311a54cead16db56288fec04e571 Subproject commit e973ff3cec8572db4767e87cbd04907c13f1c13b