[GRASS5] Proposed freetype/configure patches

Markus Neteler neteler at itc.it
Tue Jun 22 04:42:13 EDT 2004


On Mon, Jun 21, 2004 at 06:34:44PM +0100, Glynn Clements wrote:
> 
> Markus Neteler wrote:
> 
> > > > >From a Mandrake developer I received the attached
> > > > patches (5.0.3/5.3, 5.7). 
> > > > 
> > > > Can I apply them? 
> > > 
> > > > -LOC_CHECK_INCLUDES(freetype/freetype.h,FreeType,$FTINC)
> > > > +LOC_CHECK_INCLUDES(ft2build.h,FreeType,$FTINC)
> > > 
> > > We changed from checking ft2build.h in 5.0.0 to freetype/freetype.h in
> > > 5.0.1, and we presumably did so for a reason.
> > > 
> > > Unless someone beats me to it, I'll try to find the commit message and
> > > any emails relating to the change.
> > 
> > OK, here is the commit log:
> > 
> >  http://grass.itc.it/pipermail/grass-commit/2002-September/006605.html
> > 
> > So it should be somewhere here:
> >  http://grass.itc.it/pipermail/grass5/2002-September/author.html#start
> 
> Nope; it turns out to have been a private email (from you):
> 
> > From: Markus Neteler <neteler at itc.it>
> > To: Glynn Clements <glynn.clements at virgin.net>
> > Subject: Question on configure
> > Date: Tue, 24 Sep 2002 15:01:12 +0200
> > Message-ID: <20020924150112.G25861 at itc.it>
> 
> > to get configure accepting the freetype lib (Redhat 7.1)
> > I had to change:
> > 
> > cvs diff configure
> > Index: configure
> > ===================================================================
> > RCS file: /grassrepository/grass/configure,v
> > retrieving revision 1.117
> > diff -r1.117 configure
> > 10489c10489
> > < for ac_hdr in ft2build.h
> > ---
> > > for ac_hdr in ./freetype/config/ftbuild.h
> > 
> > 
> > as ft2build.h does not exist on Redhat 7.1:
> > 
> > locate /freetype/config/ftbuild.h
> > /usr/include/freetype2/freetype/config/ftbuild.h
> > 
> > May I ask you to modify the configure[.in] if possible?
> 
> Currently, d.text.freetype/main.c does:
> 
> 	#include <freetype/freetype.h>
> 
> So, that's what configure should be checking for. If the source code
> was changed to include ft2build.h (and use the macros for including
> the other headers), then changing the configure checks would make
> sense.

Yesterday I have updated thei mentioned RH7 box to:
rpm -ql freetype-devel-2.0.9-2 | grep ft2build.h
/usr/include/ft2build.h

Yes, the source code is proposed to be changed.

Markus




More information about the grass-dev mailing list