Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 562260 (freetype-2.6.1)

Summary: [tracker] Packages that fail to compile against >=media-libs/freetype-2.6.1
Product: Gentoo Linux Reporter: Lars Wendler (Polynomial-C) (RETIRED) <polynomial-c>
Component: [OLD] LibraryAssignee: Ben de Groot (RETIRED) <yngwin>
Status: RESOLVED FIXED    
Severity: normal CC: pacho
Priority: Normal Keywords: Tracker
Version: unspecified   
Hardware: All   
OS: Linux   
URL: http://sourceforge.net/projects/freetype/files/freetype2/2.6.1/
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on: 562280, 562302, 562342, 562398, 562430, 562494, 562536    
Bug Blocks:    

Description Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2015-10-04 21:14:59 UTC
Once again (*sigh*) freetype upstream changed header location with freetype-2.6.1
Packages that don't use either freetype-config/freetype2.pc or directly use ft2build.h (which didn't change its location) will most likely fail to find freetype's header files.

No comments here please.
Comment 1 Daniel Robbins 2015-10-10 18:03:47 UTC
Peforming the equivalent location fix-ups in src_install() a new rev of media-libs/freetype-2.6.1 should allow both new and old ebuilds to find headers in both locations and thus compile cleanly:

# cd /usr/include
# mv freetype2 freetype2.bak
# mv freetype2.bak/freetype freetype2
# mv freetype2.bak/ft2build.h freetype2
# cd freetype2
# ln -s . freetype

This allowed libgnomeprint to compile just fine. Some testing for freetype-config ebuilds should be done as well.
Comment 2 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2015-12-27 21:20:54 UTC
Nearly three months without any new bugs... closing.