Compare commits

..

27 Commits

Author SHA1 Message Date
Automatic Release Builder
4e6c8b4594 Set submodule versions for release 2022-12-09 13:37:36 +00:00
Automatic Release Builder
f72c131afb new version: 2020.3.18 2022-12-09 13:36:45 +00:00
Automatic Release Builder
9357eb9ce8 Update FlightGear submodule 2022-11-17 09:18:44 +00:00
Automatic Release Builder
625240629c new version: 2020.3.17 2022-11-14 10:25:12 +00:00
Automatic Release Builder
3b9c087b7b Set submodules for 2020.3.17 2022-11-14 10:25:07 +00:00
Automatic Release Builder
84323fe32c new version: 2020.3.16 2022-10-18 09:09:14 +01:00
Automatic Release Builder
d2306ab4ce Set submodules for 2020.3.16 2022-10-18 09:09:02 +01:00
Automatic Release Builder
d2131ce998 Update getsart 2022-10-10 08:40:06 +01:00
Automatic Release Builder
a0010a5683 new version: 2020.3.15 2022-10-10 08:38:17 +01:00
Automatic Release Builder
114ae05b5f Set submodules for 2020.3.15 2022-10-10 08:38:05 +01:00
Automatic Release Builder
6f7555f4d6 Update submodules for 2020.3.15 2022-10-10 08:24:59 +01:00
Automatic Release Builder
d733c5b745 Update submodules for sound fixes 2022-09-27 09:35:23 +01:00
Automatic Release Builder
3a5ad00422 Update submodule versions 2022-09-22 10:00:01 +03:00
Automatic Release Builder
dc82cd640b Update FG 2022-04-26 08:56:28 +01:00
Automatic Release Builder
4f07054ce4 Update submodules 2022-04-25 14:11:07 +01:00
Automatic Release Builder
0ed7678901 Update build AppImage script
backport changes from next, including fixes for FreeType deployment

SF-ID: https://sourceforge.net/p/flightgear/codetickets/2732/
2022-04-25 14:10:32 +01:00
Automatic Release Builder
800fab5771 Windows installer: don't copy compiler runtime 2022-04-12 14:16:40 +01:00
Automatic Release Builder
f5c0d051d4 Set submodules for 2020.3.14 2022-04-04 11:43:22 +01:00
Automatic Release Builder
c97dc209d8 new version: 2020.3.14 2022-04-04 10:22:33 +01:00
Automatic Release Builder
f4455f05cb Fix macOS packaging script
Use correct versioned filename when copying libEvent
2022-03-29 10:28:28 +01:00
Automatic Release Builder
ee3071e102 Update windows-3rdparty to fix Cmake 2022-03-28 15:40:16 +01:00
Automatic Release Builder
b6ea5c4999 Update submodules for 2020.3.13 2022-03-28 10:32:39 +01:00
Automatic Release Builder
97f0195652 Update Fg submodule with JSBSim fixes 2022-02-04 09:34:40 +00:00
Automatic Release Builder
1403d0c3d2 One more submodule update for getstart 2022-02-03 13:12:45 +00:00
Automatic Release Builder
0429d98f1c new version: 2020.3.13 2022-02-03 13:11:09 +00:00
Automatic Release Builder
af30a463e3 Update submodules with 2020.3.13 version 2022-02-03 13:10:56 +00:00
Automatic Release Builder
5b651d373c Update submodules 2022-02-03 13:09:39 +00:00
9 changed files with 80 additions and 21 deletions

View File

@@ -39,11 +39,7 @@ mkdir -p appdir/usr/ssl
#copy everything we need in
cp dist/bin/* appdir/usr/bin
cp -a dist/lib64/* appdir/usr/lib
# remove SimGearCore,Scene and any other static libs which leaked
rm appdir/usr/lib/lib*.a
cp -d dist/lib64/* appdir/usr/lib
cp -a dist/lib64/osgPlugins-3.4.2 appdir/usr/lib
@@ -64,25 +60,80 @@ cp /etc/pki/tls/certs/ca-bundle.crt appdir/usr/ssl/cacert.pem
# https://sourceforge.net/p/flightgear/codetickets/2590/
cp -a /lib64/libharfbuzz.so* appdir/usr/lib
# as we are copying over libharfbuzz we need the older libfontconfig,
# libfreetype & libpng15 as 2.11 breaks compatibility: see
# https://sourceforge.net/p/flightgear/codetickets/2651/
cp -a /usr/lib64/libfontconfig.so* appdir/usr/lib
cp -a /usr/lib64/libfreetype.so* appdir/usr/lib
cp -a /usr/lib64/libpng15.so* appdir/usr/lib
patchelf --set-rpath \$ORIGIN appdir/usr/lib/libfontconfig.so*
patchelf --set-rpath \$ORIGIN appdir/usr/lib/libfreetype.so*
patchelf --set-rpath \$ORIGIN appdir/usr/lib/libharfbuzz.so*
#modify the desktop file so that linuxdeployqt doesn't barf (version to 1.0, add semicolon to end of certain line types)
sed -i 's/^Categor.*/&;/ ; s/^Keyword.*/&;/ ; s/1\.1/1\.0/' appdir/usr/share/applications/org.flightgear.FlightGear.desktop
#generate AppRun script
# Note: don't set LD_LIBRARY_PATH here.
# if you do, you need to add code to unset it *sinde* FlightGear (eg, bootstrap.cxx),
# so that fork-ed processes don't inherit the value. For an example see:
# https://github.com/KDAB/hotspot/blob/master/src/main.cpp#L87
cat << 'EOF' > appdir/AppRun
#!/bin/bash
HERE="$(dirname "$(readlink -f "${0}")")"
BIN_DIR="${HERE}/usr/bin"
EXEC_OPT="--exec-app"
export SIMGEAR_TLS_CERT_PATH=$HERE/usr/ssl/cacert.pem
export OSG_LIBRARY_PATH=${HERE}/usr/lib
if [[ $# -eq 0 ]]; then
# Run launcher directly if no parameters are passed
if [[ "$#" -eq "0" ]]; then
echo "Started with no arguments; assuming --launcher"
exec "${HERE}/usr/bin/fgfs" --launcher
exit "$?"
fi
# Check for special argument "--exec-app=" and execute selected application
if [[ "$1" == ${EXEC_OPT}=* ]] || [[ "$1" == "${EXEC_OPT}" ]]; then
OPT_VAL="${1#*=}"
APP_PATH="${BIN_DIR}/${OPT_VAL}"
# Call without arguments
if [[ "$1" == "${EXEC_OPT}" ]] || [[ -z "${OPT_VAL}" ]]; then
ERROR="1"
# Make sure executable name does not contain any "/"
elif [[ "${OPT_VAL}" == */* ]]; then
echo "Error: path separator \"/\" was used in application name!"
ERROR="1"
# Check if resulting file exists and is executable
elif [[ -z "$(find "${APP_PATH}" -type f \( \( -perm -00005 -a ! -user "$(id -u)" -a ! -group "$(id -g)" \) -o \( -perm -00500 -a -user "$(id -u)" \) -o \( -perm -00050 -a -group "$(id -g)" \) \) 2>/dev/null)" ]]; then
echo "Error: \"${OPT_VAL}\" is not a valid application name or cannot be executed by current user!"
ERROR="1"
fi
# In case of error or no arguments show help
if [[ ! -z "${ERROR}" ]]; then
# Determine AppImage's filename
IMAGE_FILE_NAME="$(basename "${APPIMAGE}" 2>/dev/null)"
if [[ -z "${IMAGE_FILE_NAME}" ]]; then
IMAGE_FILE_NAME="FlightGear.AppImage"
fi
# Print help
echo "Usage: ./${IMAGE_FILE_NAME} ${EXEC_OPT}=<application>"
echo "Pass ${EXEC_OPT} as first positional argument."
echo "Additional arguments are passed to the called application."
echo "Valid values for <application> are:"
while IFS= read -r -d $'\0' bin_exe; do
echo " $(basename "${bin_exe}")"
done < <( find "${BIN_DIR}/" -maxdepth 1 -type f \( \( -perm -00005 -a ! -user "$(id -u)" -a ! -group "$(id -g)" \) -o \( -perm -00500 -a -user "$(id -u)" \) -o \( -perm -00050 -a -group "$(id -g)" \) \) -exec printf "%s\0" "{}" \; )
# We have to use these odd find conditions since "find -executable" also lists non-executables when AppImage is executed. The reason is most likely the way it is mounted.
exit 1
fi
# Execute selected application and pass remaining parameters
# "pop" the first argument
shift
exec "${APP_PATH}" "$@"
else
exec "${HERE}/usr/bin/fgfs" "$@"
fi
@@ -99,5 +150,11 @@ chmod +x linuxdeployqt-7-x86_64.AppImage
#set VERSION for AppImage creation
export VERSION=`cat flightgear/flightgear-version`
./linuxdeployqt-7-x86_64.AppImage appdir/usr/share/applications/org.flightgear.FlightGear.desktop -appimage -qmldir=flightgear/src/GUI/qml/
# Add all executable binaries as additional binaries to AppImage and use special quoted array expansion
ADDITIONAL_EXES=()
while IFS= read -r -d $'\0' bin_exe; do
ADDITIONAL_EXES+=("-executable=${bin_exe}")
done < <( find "appdir/usr/bin/" -maxdepth 1 -type f \( \( -perm -00500 -o -perm -00050 -o -perm -00005 \) -a ! -name "fgfs" \) -exec printf "%s\0" "{}" \; )
# This find statement filters for all files with at least one executability bit set
./linuxdeployqt-7-x86_64.AppImage appdir/usr/share/applications/org.flightgear.FlightGear.desktop -appimage -qmldir=flightgear/src/GUI/qml/ "${ADDITIONAL_EXES[@]}"

View File

@@ -71,8 +71,10 @@ cd ..
REM Qt5 deployment
SET QMLDIR=%WORKSPACE%/flightgear/src/GUI/qml
%QT5SDK32%\bin\windeployqt --release --list target --qmldir %QMLDIR% %WORKSPACE%/install/msvc140/bin/fgfs.exe
%QT5SDK64%\bin\windeployqt --release --list target --qmldir %QMLDIR% %WORKSPACE%/install/msvc140-64/bin/fgfs.exe
REM Don't copy the compiler runtime libs, since it includes potentially older UCrtbase.
%QT5SDK32%\bin\windeployqt --release --list target --no-compiler-runtime --qmldir %QMLDIR% %WORKSPACE%/install/msvc140/bin/fgfs.exe
%QT5SDK64%\bin\windeployqt --release --list target --no-compiler-runtime --qmldir %QMLDIR% %WORKSPACE%/install/msvc140-64/bin/fgfs.exe
REM build setup
ECHO Packaging root is %WORKSPACE%

2
fgdata

Submodule fgdata updated: 839f93d27f...9a84fc2d0e

View File

@@ -112,7 +112,7 @@ libFile = "libOpenThreads.#{$openThreadsSoVersion}.dylib"
# DBus and libEvent needed for SWIFT
# Sentry is crash reporting
otherLibs = ['dbus-1.3', 'event_core-2.2.1', 'sentry']
otherLibs = ['dbus-1.3', 'event_core-2.1.7', 'sentry']
otherLibs.each do |l|
`cp #{$prefixDir}/lib/lib#{l}.dylib #{$frameworksDir}`
end

Submodule simgear updated: af0f7676c4...dfc992dde1

View File

@@ -1 +1 @@
2020.3.12
2020.3.18