Bug 1161963

Summary: freetype-config returns wrong include path
Product: [Fedora] Fedora Reporter: Christian Krause <chkr>
Component: freetypeAssignee: Marek Kašík <mkasik>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 21CC: behdad, fonts-bugs, kevin, mkasik, rwahl
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: freetype-2.5.3-11.fc21 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-11-16 14:42:44 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Christian Krause 2014-11-09 21:42:50 UTC
Description of problem:
freetype-config returns a wrong inlude path when using the --prefix parameter

Version-Release number of selected component (if applicable):
freetype-devel-2.5.3-8.fc21.x86_64

How reproducible:
100%

Steps to Reproduce & Actual results:
$ freetype-config --cflags
-I/usr/include/freetype2
$ freetype-config --prefix=/usr --cflags
-I/usr/include


Expected results:
$ freetype-config --cflags
-I/usr/include/freetype2
$ freetype-config --prefix=/usr --cflags
-I/usr/include/freetype2

Additional Info:
- works fine up to Fedora 20
- broken in rawhide and Fedora 21
- this breaks scummvm's configure script which calls freetype-config with the --prefix parameter...

Comment 1 Marek Kašík 2014-11-11 14:05:13 UTC
Hi,

I've fixed the freetype-config script so that it returns correct values.

Marek

Comment 2 Fedora Update System 2014-11-11 14:06:55 UTC
freetype-2.5.3-11.fc21 has been submitted as an update for Fedora 21.
https://admin.fedoraproject.org/updates/freetype-2.5.3-11.fc21

Comment 3 Fedora Update System 2014-11-13 18:15:18 UTC
Package freetype-2.5.3-11.fc21:
* should fix your issue,
* was pushed to the Fedora 21 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing freetype-2.5.3-11.fc21'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2014-14909/freetype-2.5.3-11.fc21
then log in and leave karma (feedback).

Comment 4 Fedora Update System 2014-11-16 14:42:44 UTC
freetype-2.5.3-11.fc21 has been pushed to the Fedora 21 stable repository.  If problems still persist, please make note of it in this bug report.