7068706 Ghostscript: Error: Font Renderer Plugin ( FreeType )
7068679 Ghostscript should use system shared libpng and zlib
6886857 statically linked libjpeg in libgs.so causes crash in evince
--- a/components/ghostscript/Makefile Thu Jul 28 22:39:02 2011 -0700
+++ b/components/ghostscript/Makefile Thu Jul 28 22:39:45 2011 -0700
@@ -43,6 +43,7 @@
CONFIGURE_OPTIONS += --enable-cups
CONFIGURE_OPTIONS += --enable-dynamic
CONFIGURE_OPTIONS += --disable-compile-inits
+CONFIGURE_OPTIONS += --disable-freetype
CONFIGURE_OPTIONS += --with-fontpath=/usr/share/ghostscript/$(COMPONENT_VERSION)/Resource:/usr/share/ghostscript/$(COMPONENT_VERSION)/Resource/Font:/usr/share/ghostscript/fonts:/usr/openwin/lib/X11/fonts/Type1:/usr/openwin/lib/X11/fonts/TrueType:/usr/openwin/lib/X11/fonts/Type3:/usr/X11/lib/X11/fonts/Type1:/usr/X11/lib/fonts/TrueType:/usr/X11/lib/X11/fonts/Type3:/usr/X11/lib/X11/fonts/Resource:/usr/X11/lib/X11/Resource/Font
# config env
@@ -56,7 +57,7 @@
# autoconf - Generate configuration scripts
COMPONENT_PREP_ACTION = \
- (cd $(@D); autoconf)
+ (cd $(@D); $(RM) -r libpng zlib jpeg ; autoconf)
$(GS_VARIANT)/.configured: COMPONENT_PRE_CONFIGURE_ACTION = \
($(CLONEY) $(SOURCE_DIR) $(@D))