Bug 114343
Summary: | After install of freetype 2.1.7-1, code using Xft not compile | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Vladimir Kondratiev <vladimir.kondratiev> |
Component: | XFree86 | Assignee: | Mike A. Harris <mharris> |
Status: | CLOSED RAWHIDE | QA Contact: | David Lawrence <dkl> |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | rawhide | CC: | otaylor |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | i386 | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | 4.3.0-58 | Doc Type: | Bug Fix |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2004-02-19 12:25:38 UTC | Type: | --- |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Vladimir Kondratiev
2004-01-26 22:20:45 UTC
By trivial fix: change #include <freetype/freetype.h> at /usr/X11R6/include/X11/Xft/Xft.h:41 to #include <ft2build.h> #include FT_FREETYPE_H I get gtk2 rpm mentioned above successfully compiled. This needs to be changed in Xft (Vladimir's changes is correct) ... we can't work around this in freetype. The history is approximately: - FreeType-2.0.3 (early 2001) - FT_FREETYPE_H style added, documented as required - FreeType-2.1.5 - Header files moved around in a way that breaks code not using FT_FREETYPE_H - FreeType-2.1.6 - Using FT_FREETYPE_H enforced. See: http://www.freetype.org/pipermail/devel/2003-October/009752.html http://www.freetype.org/pipermail/devel/2003-November/009757.html and followups. I think the new style works with all releases we support - AS2.1 had, I believe, FreeType-2.0.9. Ok, thanks Owen, I wasn't aware of any of that. Just hoped to be able to avoid per-OS-release hacks in spec file, but it looks like I can do so anyway with a simple patch, at least for RHL 9 and later, which is what we support. I might need to whip up a simple hack for RHL 8.0 though, as the rpm still is buildable on RHL 8.0. ;o) Next build should fix this. Oops, forgot to close this bug after fixing it: * Wed Jan 28 2004 Mike A. Harris <mharris> 4.3.0-45.0.1 - Temporary fork of 4.3.0-45 to add some patches for test builds, until post 4.3.0-45 (4.3.0-46 through 4.3.0-50) local-work-in-progress stuff is in clean enough shape for tree inclusion - Added XFree86-4.3.0-fixes-for-freetype-2.1.7-v2.patch so that XFree86 will build properly against freetype 2.1.7 (#114343) |