1
1
mirror of https://gitlab.gnome.org/GNOME/gimp.git synced 2025-10-06 01:12:40 +02:00

build/linux: Bundle needed files for PostScript support on AppImage

This commit is contained in:
Bruno Lopes
2025-08-30 21:22:39 -03:00
parent 4a656a1db0
commit b70186bc99

View File

@@ -186,7 +186,7 @@ bund_usr ()
fi
#Copy found targets from search_path to bundle dir
for target_path in $(find $expanded_path -maxdepth 1 -name ${2##*/}); do
for target_path in $(find -L $expanded_path -maxdepth 1 -name ${2##*/}); do
dest_path="$(dirname $(echo $target_path | sed -e "s|^$1/|${USR_DIR}/|" -e t -e "s|^/|${USR_DIR}/|"))"
output_dest_path="$dest_path"
if [ "$3" = '--dest' ] || [ "$3" = '--rename' ]; then
@@ -344,6 +344,10 @@ bund_usr "$UNIX_PREFIX" "share/libthai"
conf_app LIBTHAI_DICTDIR "share/libthai"
### Needed for full CJK and Cyrillic support in file-pdf
bund_usr "$UNIX_PREFIX" "share/poppler"
### Needed for file-ps work. See: #14785
bund_usr "$UNIX_PREFIX" "share/ghostscript/*/iccprofiles/*.icc"
bund_usr "$UNIX_PREFIX" "share/ghostscript/*/Resource/Init"
conf_app GS_LIB "share/ghostscript/10*/Resource/Init"
### file-wmf support
bund_usr "$UNIX_PREFIX" "share/fonts/type1/urw-base35/Nimbus*" --dest "share/libwmf/fonts"
bund_usr "$UNIX_PREFIX" "share/fonts/type1/urw-base35/StandardSymbols*" --dest "share/libwmf/fonts"