This is the mail archive of the cygwin-xfree@cygwin.com mailing list for the Cygwin XFree86 project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[RFC] Re: Freetype on cygwin link...


An alternative would be to update the freetype support in XFree86 mainline,
to the current version.

This would benefit would yield much higher benefit, I think....

What caveats would that bring about? What about the development costs?

> Daniel schrieb:
> 
> > Any takers?
> 
> > This sounds like a bit of delicate work!
> 
> No, it isn't.  The patch includes changes to the files used by autoconf
> and libtool.  Source changes are minimal, here they are.  Apply these
> and change to the dirctory with configure.in and ltmain.sh and run:
> autoreconf --verbose --install --force which should end up with s.th.
> like the full patch includes (new aclocal.m4 file, new configure, new
> ltmain.sh) and then libtool-1.5 builds automatically the DLL (because of
> the -no-undefined flag, see below).  FreeType is just a little more
> complex than packages that are using automake.
> 
> 
> diff -urdb freetype-2.1.4~/builds/unix/unix-cc.in
> freetype-2.1.4/builds/unix/unix-cc.in
> --- freetype-2.1.4~/builds/unix/unix-cc.in      2002-12-23
> 23:40:21.000000000 +0100
> +++ freetype-2.1.4/builds/unix/unix-cc.in       2003-06-06
> 11:57:52.000000000 +0200
> @@ -78,7 +78,7 @@
>  # Library linking
>  #
>  LINK_LIBRARY = $(LIBTOOL) --mode=link $(CCraw) -o $@ $(OBJECTS_LIST) \
> -                          -rpath $(libdir) -version-info $(version_info)
> \
> +                          -rpath $(libdir) -no-undefined -version-info
> $(version_info) \
>                            $(LDFLAGS)
>  
>  # EOF
> diff -urdb freetype-2.1.4~/include/freetype/config/ftoption.h
> freetype-2.1.4/include/freetype/config/ftoption.h
> --- freetype-2.1.4~/include/freetype/config/ftoption.h  2003-01-31
> 00:24:18.000000000 +0100
> +++ freetype-2.1.4/include/freetype/config/ftoption.h   2003-06-06
> 12:40:45.000000000 +0200
> @@ -378,7 +378,7 @@
>    /*   do not #undef this macro here, since the build system might       
>  */
>    /*   define for certain configurations                                 
>  */
>    /*                                                                     
>  */
> -/* #define  TT_CONFIG_OPTION_BYTECODE_INTERPRETER */
> +#define  TT_CONFIG_OPTION_BYTECODE_INTERPRETER
>  
>  
>   
>
/*************************************************************************/
> diff -urdb freetype-2.1.4~/src/base/ftbase.c
> freetype-2.1.4/src/base/ftbase.c
> --- freetype-2.1.4~/src/base/ftbase.c   2002-03-30 14:16:33.000000000
> +0100
> +++ freetype-2.1.4/src/base/ftbase.c    2003-06-06 12:41:31.000000000
> +0200
> @@ -29,6 +29,7 @@
>  #include "ftgloadr.c"
>  #include "ftobjs.c"
>  #include "ftnames.c"
> +#include "ftapi.c"
>  
>  
>  /* END */
> 
> 
> 
> -- 
> =^..^=
> 

-- 
Daniel J Blueman

+++ GMX - Mail, Messaging & more  http://www.gmx.net +++

Jetzt ein- oder umsteigen und USB-Speicheruhr als Prämie sichern!


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]