On Sep 21, 2007, at 6:00 PM, Jean-François Mertens wrote:
>
> # diff xetex.info xetex.info.new
> 62a63
>> SetLIBRARY_PATH: %p/lib/freetype219/lib:%p/lib
> 64a66,67
>> export PATH=%p/lib/freetype219/bin:${PATH}
>> export CPATH=%p/lib/freetype219/include:%p/lib/freetype219/include/
> freetype2:%p/include
> 72c75
> < ../configure --prefix=%p --datadir=%p/share --with-system-
> zlib || exit
> ---
>> ../configure --prefix=%p --datadir=%p/share --with-system-
> zlib --with-system-pnglib --with-system-freetype2 --with-system-icu||
> exit
> 85c88
> < LIBS="teckit icu-xetex freetype2"
> ---
>> LIBS="teckit icu-xetex"
>
> The CPATH stuff is just there as the brother of SetLIBRARY_PATH,
> and the "with-system" come from:
> "for f in `find . -name configure`; do echo $f; $f --help; done|fgrep
> with-system"
> In order not to introduce a dep on x11, I decided to use freetype219
> as the
> providing the --with-system-freetype2, hence the freetype additions
> to PATH,
> CPATH and LIBRARY_PATH, and then clearly freetype2 had to be removed
> from the LIBS line..
>
> Result: builds w/o a glitch; the --with-system-pnglib seems w/o
> effect, but nothing
> seems anyway to be built related to png; the --with-system-icu seems
> also w/o
> effect, but that is the case with many other pkgs, and probably
> results from
> incompleteness of Apple's libicu (and/or of fink's libicu32-dev in
> failing to
> supplement suficiently).
> But the --with-system-freetype2 was effective; the only 'Mach-O' file
> in the whole
> builddir that linked with it was xetex itself, but this one did take
> a dozen of
> symbols from it, and this resulted in a size-reduction of 350K for the
> installed xetex executable.
>
> JF Mertens
>
>
I sent the output of the earlier failed build to liulk, but it looks
from the above like you've already figured out the best solution with
a lot of perspicacity (I learned that word from the fink-dev list,
but it applies here too)...
Thanks,
Jens
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Fink-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/fink-users