Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 655272 - media-video/gpac-0.7.1: fails to build with truetype USE flag and current freetype2
Summary: media-video/gpac-0.7.1: fails to build with truetype USE flag and current fre...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Media-video project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: freetype-config
  Show dependency tree
 
Reported: 2018-05-08 15:15 UTC by Bernd Feige
Modified: 2018-05-30 10:08 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
Patch to configure (freetype.patch,622 bytes, patch)
2018-05-08 15:15 UTC, Bernd Feige
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Bernd Feige 2018-05-08 15:15:48 UTC
Created attachment 530428 [details, diff]
Patch to configure

Without the attached patch, compilation fails:

ft_font.c:41:10: fatal error: ft2build.h: No such file or directory
 #include <ft2build.h>
          ^~~~~~~~~~~~
This is because configure tries to use freetype-config instead of pkg-config to find cflags and libs. The attached patch fixes it.
Comment 1 Larry the Git Cow gentoo-dev 2018-05-08 18:33:04 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=59bd97f12ae21d1a47dae7ca0d0ea77569ebca65

commit 59bd97f12ae21d1a47dae7ca0d0ea77569ebca65
Author:     Lars Wendler <polynomial-c@gentoo.org>
AuthorDate: 2018-05-08 18:31:58 +0000
Commit:     Lars Wendler <polynomial-c@gentoo.org>
CommitDate: 2018-05-08 18:32:58 +0000

    media-video/gpac: Use pkg-config to find freetype
    
    Thanks to Bernd Feige who reported the issue and provided a patch.
    
    Bug: https://bugs.gentoo.org/655272
    Package-Manager: Portage-2.3.36, Repoman-2.3.9

 media-video/gpac/files/gpac-freetype.patch | 15 +++++++++++++++
 media-video/gpac/gpac-0.7.1.ebuild         |  4 +++-
 2 files changed, 18 insertions(+), 1 deletion(-)