[mythtv-commits] Ticket #13262: Freetype2 v.2.9.1 deprecates freetype-configure, breaking the config script

MythTV noreply at mythtv.org
Wed May 9 21:30:29 UTC 2018


#13262: Freetype2 v.2.9.1 deprecates freetype-configure, breaking the config script
---------------------------------------+-------------------------------
 Reporter:  Taijian                    |          Owner:  Peter Bennett
     Type:  Patch - Bug Fix            |         Status:  accepted
 Priority:  major                      |      Milestone:  29.2
Component:  MythTV - configure script  |        Version:  v29.1
 Severity:  high                       |     Resolution:
 Keywords:                             |  Ticket locked:  0
---------------------------------------+-------------------------------

Comment (by Taijian):

 OK, I tried out your patch, but it failed to compile, because you missed
 something.

 Add the following to your patch, and you're golden.


 {{{
 @@ -8571,8 +8570,8 @@
  fi

  if enabled freetype2; then
 -    echo "FREETYPE_CFLAGS=`freetype-config --cflags`" >> $TMPMAK
 -    echo "FREETYPE_LIBS=`freetype-config --libs`" >> $TMPMAK
 +    echo "FREETYPE_CFLAGS=$($pkg_config --cflags $pkg_config_flags
 freetype2)" >> $TMPMAK
 +    echo "FREETYPE_LIBS=$($pkg_config --libs $pkg_config_flags
 freetype2)" >> $TMPMAK
  fi

  if test $target_os = darwin; then
 }}}

-- 
Ticket URL: <https://code.mythtv.org/trac/ticket/13262#comment:4>
MythTV <http://www.mythtv.org>
MythTV Media Center


More information about the mythtv-commits mailing list