7068706 Ghostscript: Error: Font Renderer Plugin ( FreeType )
authorsonam gupta - Sun Microsystems - Bangalore India <Sonam.Gupta@Sun.COM>
Thu, 28 Jul 2011 22:39:45 -0700
changeset 441 8a584a286658
parent 440 e5f5d16a151f
child 442 d0e244fcfff1
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
components/ghostscript/Makefile
--- 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))