Re: [Freetype-devel] Compiling old version (2.6.5) of FreeType

2022-09-05 Thread Anurag Thakur
Hello,

> Please try the released tarball of 2.6.5, instead of the git snapshot

Compiling the release tarball of freetype 2.6.5 along with freetype-demos 2.6.5 
seems to have worked fine. Thanks!


Regards
Anurag

Get Outlook for Android<https://aka.ms/AAb9ysg>

From: suzuki toshiya 
Sent: Thursday, September 1, 2022 2:31:38 PM
To: freetype-devel@nongnu.org 
Cc: Anurag Thakur 
Subject: Re: [Freetype-devel] Compiling old version (2.6.5) of FreeType

Hi,

Please try the released tarball of 2.6.5, instead of the git snapshot. If you 
really really want to try the git snapshot for 2.6.5, you should gather the 
versions when 2.6.5 was developed. According to 
https://gitlab.freedesktop.org/freetype/freetype/-/blob/VER-2-6-5/autogen.sh , 
automake 1.10.1, libtool 2.2.4 and autoconf 2.62. Although I don't have a nice 
crystal ball, I guess your autoconf is too new to handle the files written for 
2.62.

Regards,
mpsuzuki

On 2022/09/01 16:55, Anurag Thakur wrote:
> Hello Werner, Alexei
>
> I tried compiling FreeType version 2.6.5 to benchmark it against the current 
> `master`, but faced some issues since it is a pretty old version.
>
> I checked out the VER-2-6-5 tag on the repo and ran autogen.sh, which 
> resulted in:
>
>
> generating `configure.ac'
> running `aclocal -I . --force'
> running `libtoolize --force --copy --install'
> libtoolize: putting auxiliary files in '.'.
> libtoolize: copying file './config.guess'
> libtoolize: copying file './config.sub'
> libtoolize: copying file './install-sh'
> libtoolize: copying file './ltmain.sh'
> libtoolize: Consider adding 'AC_CONFIG_MACRO_DIRS([m4])' to configure.ac,
> libtoolize: and rerunning libtoolize and aclocal.
> libtoolize: Consider adding '-I m4' to ACLOCAL_AMFLAGS in Makefile.am.
> running `autoconf --force'
> configure.ac:99: warning: The macro `AC_HEADER_STDC' is obsolete.
> configure.ac:99: You should run autoupdate.
> ./lib/autoconf/headers.m4:704: AC_HEADER_STDC is expanded from...
> configure.ac:99: the top level
>
>
> Simply running configure and make seemed to work but then there were 
> compilation errors in freetype-demos.
>
> I tried checking out a ~2016 commit but couldn't really get it to compile.
>
>
> Version 2.6.5 is important because the original font-rs post is from 2016, 
> which used 2.6.5 as the benchmark for comparison.
>
> The aim is to run FreeType 2.6.5 for benchmarking. Any help regarding this 
> would be appreciated.
>
> Regards,
> Anurag
>


Re: [Freetype-devel] Compiling old version (2.6.5) of FreeType

2022-09-01 Thread suzuki toshiya

Hi,

Please try the released tarball of 2.6.5, instead of the git snapshot. If you 
really really want to try the git snapshot for 2.6.5, you should gather the 
versions when 2.6.5 was developed. According to 
https://gitlab.freedesktop.org/freetype/freetype/-/blob/VER-2-6-5/autogen.sh , 
automake 1.10.1, libtool 2.2.4 and autoconf 2.62. Although I don't have a nice 
crystal ball, I guess your autoconf is too new to handle the files written for 
2.62.

Regards,
mpsuzuki

On 2022/09/01 16:55, Anurag Thakur wrote:

Hello Werner, Alexei

I tried compiling FreeType version 2.6.5 to benchmark it against the current 
`master`, but faced some issues since it is a pretty old version.

I checked out the VER-2-6-5 tag on the repo and ran autogen.sh, which resulted 
in:


generating `configure.ac'
running `aclocal -I . --force'
running `libtoolize --force --copy --install'
libtoolize: putting auxiliary files in '.'.
libtoolize: copying file './config.guess'
libtoolize: copying file './config.sub'
libtoolize: copying file './install-sh'
libtoolize: copying file './ltmain.sh'
libtoolize: Consider adding 'AC_CONFIG_MACRO_DIRS([m4])' to configure.ac,
libtoolize: and rerunning libtoolize and aclocal.
libtoolize: Consider adding '-I m4' to ACLOCAL_AMFLAGS in Makefile.am.
running `autoconf --force'
configure.ac:99: warning: The macro `AC_HEADER_STDC' is obsolete.
configure.ac:99: You should run autoupdate.
./lib/autoconf/headers.m4:704: AC_HEADER_STDC is expanded from...
configure.ac:99: the top level


Simply running configure and make seemed to work but then there were 
compilation errors in freetype-demos.

I tried checking out a ~2016 commit but couldn't really get it to compile.


Version 2.6.5 is important because the original font-rs post is from 2016, 
which used 2.6.5 as the benchmark for comparison.

The aim is to run FreeType 2.6.5 for benchmarking. Any help regarding this 
would be appreciated.

Regards,
Anurag