GNOME Bugzilla – Bug 794772
gimp: detect freetype2 using pkg-config
Last modified: 2018-03-28 17:53:10 UTC
I'm forwarding this bug from https://bugs.debian.org/887717 "The next version of libfreetype6-dev will *not* ship the 'freetype-config' script or freetype2.m4. Please use pkg-config to detect the freetype2 headers and libraries instead." So I guess configure.ac needs to be updated for this.
Yeah, I checked their repository. Indeed freetype-config is now made optional (http://git.savannah.gnu.org/cgit/freetype/freetype2.git/commit/?id=a7833f26c4ac45cafe1dffdcd7f7dcfd6493161c) which means it may be absent in some systems, and freetype2.pc file seems to be created since 2003 (http://git.savannah.gnu.org/cgit/freetype/freetype2.git/commit/?id=3a317c69d6d55a25ecd819e3df1f72b1c4046c83). Really makes no sense to hold onto freetype-config. commit 527ad94a7e2f27113b9c33c1fffe77947c93e993 (HEAD -> master, origin/master, origin/HEAD) Author: Jehan <jehan@girinstud.io> Date: Wed Mar 28 19:43:17 2018 +0200 Bug 794772 - detect freetype2 using pkg-config. I hesitated keeping both the pkg-config and freetype-config (which is mostly a wrapper to pkg-config nowadays apparently) as fallback, but anyway I can see in their repositories that they have a pkg-config file since 2003. Really I don't think it makes sense to hold onto such old and deprecated dependency configuration systems. configure.ac | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-)