[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Dvipng] dvipng-1.15 is broken with freetype-2.9.1

From: Jan-Åke Larsson
Subject: Re: [Dvipng] dvipng-1.15 is broken with freetype-2.9.1
Date: Tue, 26 Feb 2019 14:11:35 +0000
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.4.0


I checked in this change at the Savannah git archive, with a regenerated aclocal.m4.

Local scripts are in acinclude.m4 for now, there are only three of them.

Thanks again

On 2018-05-08 07:43, Jan-Åke Larsson wrote:
Thanks for the report. I may not have time very soon to fix this but I will do what I can.


Den 2018-05-07 kl. 22:19, skrev Ulrich Mueller:
dvipng's configure relies on freetype-config, which is no longer
provided by the most recent freetype version.

 From the CHANGES file of freetype-2.9.1:

     - Use  of  the `freetype-config'  script  to  get compilation  and
       linking  options   is  deprecated   since  it   doesn't  support
       cross-compiling, among other  deficiencies.  Instead, you should
       use the `pkg-config' interface.

       The `configure'  script no longer installs  `freetype-config' by
       default.  For  backwards compatibility,  a new  configure option
       `--enable-freetype-config'   is  provided   that  reverts   this

The patch included below should fix the problem.

Of course, aclocal.m4 must also be regenerated. (Maybe it would be
best to move the MAKEINFO* and AC_HAS_KPSE* macros to their own m4

--- dvipng-1.15-orig/configure.ac
+++ dvipng-1.15/configure.ac
@@ -78,7 +78,8 @@
+PKG_CHECK_MODULES([FT2], [freetype2 >= 6.1.0],
      LIBS="$FT2_LIBS $LIBS"
      PSFONTS_O="sfd.o ft.o enc.o fontmap.o tfm.o"
      AC_DEFINE(HAVE_FT2, 1, [Define to 1 if you have freetype2])

Dvipng mailing list

Jan-Åke Larsson
Professor, Head of Department

Linköping University
Department of Electrical Engineering
SE-581 83 Linköping
Phone: +46 (0)13-28 14 68
Mobile: +46 (0)13-28 14 68
Visiting address: Campus Valla, House B, Entr 27, 3A:482
Please visit us at www.liu.se

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature

reply via email to

[Prev in Thread] Current Thread [Next in Thread]