libfreetype 2.11 breaks compatibility with older harfbuzz that we are including to enable backwards compatibility with Ubuntu 16.04 based dists, so we now need to include libfontconfig & libpng15 In future for next we might not bother with harfbuzz,fontconfig etc as we are compiling OSG with vendor neutral dispatch (libGLvnd) that the older Mesa in 16.04 doesn't support
This commit is contained in:
parent
61abd3e89e
commit
e36c646caf
1 changed files with 9 additions and 0 deletions
|
@ -66,6 +66,15 @@ 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
|
||||
|
||||
#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
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue