After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 794772 - gimp: detect freetype2 using pkg-config
gimp: detect freetype2 using pkg-config
Status: RESOLVED FIXED
Product: GIMP
Classification: Other
Component: General
2.10.0-RC1
Other Linux
: Normal normal
: 2.10
Assigned To: GIMP Bugs
GIMP Bugs
Depends on:
Blocks:
 
 
Reported: 2018-03-28 16:06 UTC by Jeremy Bicha
Modified: 2018-03-28 17:53 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Jeremy Bicha 2018-03-28 16:06:13 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.
Comment 1 Jehan 2018-03-28 17:53:10 UTC
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(-)