dvipng
[Top][All Lists]
Advanced

[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, 8 May 2018 07:43:19 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.7.0

Hi,
Thanks for the report. I may not have time very soon to fix this but I will do what I can.

Jan-Åke


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
       decision.

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
files.)

--- dvipng-1.15-orig/configure.ac
+++ dvipng-1.15/configure.ac
@@ -78,7 +78,8 @@
  AC_CHECK_HEADERS([libgen.h])
  PSFONTS_O=""
  AC_SUBST(PSFONTS_O)
-AC_CHECK_FT2(,[CFLAGS="$FT2_CFLAGS $CFLAGS"
+PKG_CHECK_MODULES([FT2], [freetype2 >= 6.1.0],
+       [CFLAGS="$FT2_CFLAGS $CFLAGS"
        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
address@hidden
https://lists.nongnu.org/mailman/listinfo/dvipng


--
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 <http://www.liu.se>


Attachment: smime.p7s
Description: S/MIME-kryptografisk signatur


reply via email to

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