From 1cb8a7baf170bef9d7d5393d29a7e603fcc6f12e Mon Sep 17 00:00:00 2001 From: Automatic Release Builder Date: Fri, 4 Jun 2021 10:04:59 +0100 Subject: [PATCH] Fix Ubuntu 16 / Mint 18 support: copy HarfBuzz Need to include HarfBuzz in the image, which comes from /lib64 on our build machine Thanks to Brendan Black for tracking this down Ticket-Id: https://sourceforge.net/p/flightgear/codetickets/2590/ --- build_appimage.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/build_appimage.sh b/build_appimage.sh index c8d96d0..16bf91f 100755 --- a/build_appimage.sh +++ b/build_appimage.sh @@ -62,6 +62,10 @@ cp /usr/lib64/libfreebl* appdir/usr/lib cp -a /usr/lib64/liblzma* appdir/usr/lib cp /etc/pki/tls/certs/ca-bundle.crt appdir/usr/ssl/cacert.pem +# HarfBuzz is in /lib64 on CentOS, but still copy it: see +# https://sourceforge.net/p/flightgear/codetickets/2590/ +cp -a /lib64/libharfbuzz.so* appdir/usr/lib + #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