|
From: Tatsuro M. <tma...@ya...> - 2008-12-19 00:54:19
|
Hello
The patch in the previous includes a few errors.
So I am sending the revised one
Regards
Tatsuro
*** makefile.mgw.orig Tue Nov 25 16:46:59 2008
--- makefile.mgw Fri Dec 19 09:40:47 2008
***************
*** 47,56 ****
# If libgd has been compiled with TrueType font support, then you can use
# scaled TrueType fonts. If not, then uncomment FREETYPE.
# Requires GD, PNG and Z libraries, optionally libfreetype.
! #
NEWGD=1
JPEG=1
FREETYPE=1
# PDF device driver
# Requires PNG and Z libraries based on particular PDF library used, and
--- 47,61 ----
# If libgd has been compiled with TrueType font support, then you can use
# scaled TrueType fonts. If not, then uncomment FREETYPE.
# Requires GD, PNG and Z libraries, optionally libfreetype.
! # The recent GD requires libfontconfig, and optionally uses libiconv
! # If GD ilibraries require either and both, uncomment FONTCONFIG
! # (and ICONV) suitably.
NEWGD=1
JPEG=1
FREETYPE=1
+ #FONTCONFIG=1
+ #ICONV=1
+
# PDF device driver
# Requires PNG and Z libraries based on particular PDF library used, and
***************
*** 214,219 ****
--- 219,230 ----
CFLAGS += -DHAVE_GD_TTF
TERMLIBS += -lfreetype
endif
+ ifdef FONTCONFIG
+ TERMLIBS += -lfontconfig
+ endif
+ ifdef ICONV
+ TERMLIBS += -liconv
+ endif
endif
ifdef PDF
--- Tatsuro MATSUOKA <tma...@ya...> wrote:
> Hello Ethan A Merritt
>
> cc. Petr Mikulik and Pierre Joye
>
> Considering that the libfontconfig is not required for previous version of libgd and iconv is
> optional
> for libdgd-2.0.36RC1, I have considered the following patch to makefile.mgw.
>
> Regards
>
> Tatsuro
>
>
> *** makefile.mgw.orig Tue Nov 25 16:46:59 2008
> --- makefile.mgw Thu Dec 18 09:03:32 2008
> ***************
> *** 47,56 ****
> # If libgd has been compiled with TrueType font support, then you can use
> # scaled TrueType fonts. If not, then uncomment FREETYPE.
> # Requires GD, PNG and Z libraries, optionally libfreetype.
> ! #
> NEWGD=1
> JPEG=1
> FREETYPE=1
>
> # PDF device driver
> # Requires PNG and Z libraries based on particular PDF library used, and
> --- 47,61 ----
> # If libgd has been compiled with TrueType font support, then you can use
> # scaled TrueType fonts. If not, then uncomment FREETYPE.
> # Requires GD, PNG and Z libraries, optionally libfreetype.
> ! # The recent GD requires libfontconfig, and optinally uses libiconv
> ! # If GD ilibraries requires either and both, uncomment FONTCONFIG
> ! # (and ICONV) suitably.
> NEWGD=1
> JPEG=1
> FREETYPE=1
> + #FONTCONFIG=1
> + #ICONV=1
> +
>
> # PDF device driver
> # Requires PNG and Z libraries based on particular PDF library used, and
> ***************
> *** 214,219 ****
> --- 219,230 ----
> CFLAGS += -DHAVE_GD_TTF
> TERMLIBS += -lfreetype
> endif
> + ifdef FONTCONFIG
> + TERMLIBS += -lfontconfig
> + endif
> + ifdef ICONV
> + TERMLIBS += -liconv
> + endif
> endif
>
> ifdef PDF
>
> # ****end of the patch *********
>
> --- Ethan A Merritt <merritt@u.washington.edu> wrote:
>
> > On Wednesday 17 December 2008, Tatsuro MATSUOKA wrote:
> > > Hello Ethan and Petr
> > >
> > > Thank you for your replies.
> > >
> > > From the config.log, the configure script of the gd-2.0.36RC1 searches both libiconv and
> > fontconfig.
> > >
> > > The gd-2.0.36RC1 is the latest gd source except for that on cvs-trees.
> >
> > OK. I have now read the source files for gd-2.0.36RC1.
> > I see that libiconv is optional, and used only by the file:
> >
> > /* gdkanji.c (Kanji code converter) */
> > /* written by Masahito Yamaga (ma...@ya...) */
> >
> > I think this is only relevant if you need conversion from SJIS encoding,
> > because kanji use works on my UTF8-based machines without using libiconv.
> > The ./configure script for libgd searches for libiconv on your system
> > when building libgd, and includes this optional code only if it is found.
> >
> > Ethan
>
>
> --------------------------------------
> Power up the Internet with Yahoo! Toolbar.
> http://pr.mail.yahoo.co.jp/toolbar/
>
> ------------------------------------------------------------------------------
> SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada.
> The future of the web can't happen without you. Join us at MIX09 to help
> pave the way to the Next Web now. Learn more and register at
> http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/
> _______________________________________________
> gnuplot-beta mailing list
> gnu...@li...
> https://lists.sourceforge.net/lists/listinfo/gnuplot-beta
>
--------------------------------------
Power up the Internet with Yahoo! Toolbar.
http://pr.mail.yahoo.co.jp/toolbar/
|