X-Git-Url: http://gitweb.hugovil.com/?a=blobdiff_plain;f=stage5%2Fpkg%2Fghostscript;h=39563671e66537a077c4496f13acf7cec28d49ec;hb=2e99891bbd3b7af24b871d39d2393130826e6772;hp=ac2d5b57ca1c6b0c3747d46dd73e64a6220b763a;hpb=478880edb986df50ea7d7bdced85d3af26ba0412;p=hvlinux.git diff --git a/stage5/pkg/ghostscript b/stage5/pkg/ghostscript index ac2d5b5..3956367 100644 --- a/stage5/pkg/ghostscript +++ b/stage5/pkg/ghostscript @@ -8,7 +8,7 @@ hvconfig_pre() # To use the system-installed version of JasPer: rm -rf jasper - + # To use the system-installed copies of libjpeg and libpng: rm -rf jpeg rm -rf libpng @@ -16,8 +16,7 @@ hvconfig_pre() # To use the system-installed copy of libtiff: rm -rf tiff - CONFIGURE_OPTS=" \ - ${CONFIGURE_OPTS} \ + CONFIGURE_OPTS+=" \ --enable-dynamic \ --with-system-libtiff \ --with-fontpath=${GS_FONTS_PATH}" @@ -42,14 +41,8 @@ hvbuild_post() decompress_package ${GHOSTSCRIPT_FONTS_STD} ${GS_FONTS_PATH} 1 decompress_package ${GHOSTSCRIPT_FONTS_OTHER} ${GS_FONTS_PATH} 1 chown -v -R root:root ${GS_FONTS_PATH} - - if ! grep -q "${GS_FONTS_PATH}" /etc/fonts/local.conf; then - # Adding Ghostscript fonts directory to local configuration file - sed -i -e "s!\(\)! ${GS_FONTS_PATH}\n\1!" \ - /etc/fonts/local.conf - fi - - # Updating cache database. + + # Updating font information cache. fc-cache -f unset GS_FONTS_PATH