[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [ft-devel] problems with `kushal-work' branch
From: |
Werner LEMBERG |
Subject: |
Re: [ft-devel] problems with `kushal-work' branch |
Date: |
Tue, 08 Aug 2017 08:45:22 +0200 (CEST) |
>> . As a prerequisite (documented in the README) the user must
>> compile the `base' version of FreeType manually so that a DLL
>> gets created. This should *not* be handled automatically. And
>> no need to install them.
>> . Similarly, the `test' version of FreeType should be built with a
>> simple call to `make'. Again there should be no need to install
>> it.
>> . The user should then specify the `base' FreeType `.so' file using
>> a variable, say, `FREETYPE_BASE_DLL'.
>
> After compiling both the libraries, I am doing this in objs/ folder.
>
> libtool --mode=install cp libfreetype.la \
> /home/ksvsk/working-repo/tests/make_png/test/libfreetype.la
>
> And using the .so file generated in the test/ folder. Similarly
> doing this for the 'base' version as well. I am getting the correct
> result. Is this what is needed to be done?
Well, calling `libtool' this way is kind of an installation, which is
exactly what should *not* be expected. There shouldn't be any
assumptions where the base DLL is located.
Maybe I wasn't clear enough, so I'm trying again.
. Compile the base FreeType version in directory
`/home/kushal/freetype2-base'. After compilation, the .so file
can be found as
`/home/kushal/freetype2-base/objs/.libs/libfreetype.so.6.12.5'.
. Compile the test FreeType version (i.e., current git) in directory
`/home/kushal/freetype2'. After compilation, the .so file can be
found as
`/home/kushal/freetype2/objs/.libs/libfreetype.so.6.14.0'.
. The glyph image tests should now
be run with something similar to the following
cd /home/kushal/freetype2
FREETYPE_TEST_BASE_DLL="/home/kushal/freetype2-base/objs/.libs/libfreetype.so.6.12.5"
\
FREETYPE_TEST_FONT="/home/kushal/foo.ttf" \
FREETYPE_TEST_PT_SIZES="12 15 18" \
FREETYPE_TEST_MODES="aa mono" \
make tests
Of course, there is no need to explicitly specify the second DLL
because `make tests' can find it by itself.
Werner
- [ft-devel] problems with `kushal-work' branch, Werner LEMBERG, 2017/08/05
- Re: [ft-devel] problems with `kushal-work' branch, Werner LEMBERG, 2017/08/08
- Re: [ft-devel] problems with `kushal-work' branch, Kushal K S V S, 2017/08/08
- Re: [ft-devel] problems with `kushal-work' branch, Kushal K S V S, 2017/08/08
- Re: [ft-devel] problems with `kushal-work' branch, Werner LEMBERG, 2017/08/08
Re: [ft-devel] problems with `kushal-work' branch, Werner LEMBERG, 2017/08/05