From a6e870b2ba225d0d7eb583fea46c841e3ceef0b4 Mon Sep 17 00:00:00 2001 From: BobSynfig <45494804+BobSynfig@users.noreply.github.com> Date: Nov 29 2020 17:15:26 +0000 Subject: Update synfigstudio-appimage.sh fix FONTCONFIG errors (symlinks) --- diff --git a/env-builder-data/build/script/packet/synfigstudio-appimage.sh b/env-builder-data/build/script/packet/synfigstudio-appimage.sh index 9558077..9b8877f 100644 --- a/env-builder-data/build/script/packet/synfigstudio-appimage.sh +++ b/env-builder-data/build/script/packet/synfigstudio-appimage.sh @@ -51,6 +51,18 @@ pkinstall_release() { cp "$ENVDEPS_RELEASE_PACKET_DIR/lib/libboost_program_options."* "$APPDIR/usr/lib/" || return 1 cp "$ENVDEPS_RELEASE_PACKET_DIR/lib/libboost_system."* "$APPDIR/usr/lib/" || return 1 + # fix FONTCONFIG errors + TARGET_DIR=../../../share/fontconfig/conf.avail + pushd . >/dev/null 2>&1 + cd $APPDIR/usr/etc/fonts/conf.d + rm -f ./*.conf + + for f in $TARGET_DIR/*.conf + do + ln -s -f $TARGET_DIR/${f##*/} ./${f##*/} + done + popd >/dev/null 2>&1 + # clean examples rm -rf "$APPDIR/share/synfig/examples" || return 1