Bug 31933 - recent change to remove libXft dependencies from Requires field is problematic
Summary: recent change to remove libXft dependencies from Requires field is problematic
Status: RESOLVED DUPLICATE of bug 31267
Alias: None
Product: xorg
Classification: Unclassified
Component: Lib/Xft (show other bugs)
Version: unspecified
Hardware: Other All
: medium normal
Assignee: Xorg Project Team
QA Contact: Xorg Project Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-11-26 03:39 UTC by Emanuele Giaquinta
Modified: 2010-11-26 11:13 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments

Description Emanuele Giaquinta 2010-11-26 03:39:39 UTC
The change in

http://cgit.freedesktop.org/xorg/lib/libXft/commit/?id=8751e341bcc29952b4603e18767ab994653c6b01

seems wrong. The Xft.h public header includes fontconfig/freetype2/xrender headers, and the public Xft api uses fontconfig and xrender types. While it is still fine wrt linking, it is problematic because users of libXft need the correct CPPFLAGS for those libs. Also, one could argue that if the public api exposes fontconfig/xrender symbols to the app, then the lib should support using them.
Comment 1 Alan Coopersmith 2010-11-26 11:13:04 UTC
CPPFLAGS are provided for those libraries due to their inclusion in
Requires.private.

See http://people.freedesktop.org/~dbn/pkg-config-guide.html and the
discussion thread when the patch was reviewed on xorg-devel in
http://lists.x.org/archives/xorg-devel/2010-September/

*** This bug has been marked as a duplicate of bug 31267 ***


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.