Bug 97514

Summary: Check for either xfont.pc or xfont2.pc
Product: xorg Reporter: Owen Taylor <otaylor>
Component: Driver/qxlAssignee: Søren Sandmann Pedersen <soren.sandmann>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: medium CC: teuf
Version: git   
Hardware: Other   
OS: All   
Whiteboard:
i915 platform: i915 features:
Attachments:
Description Flags
[PATCH] Check for either xfont.pc or xfont2.pc none

Description Owen Taylor 2016-08-28 02:09:24 UTC
Created attachment 126077 [details] [review]
[PATCH] Check for either xfont.pc or xfont2.pc

More recent versions of Xfont have a different API (with namespacing
for libXfont functions.) Check for xfont2.pc and if found, use that, and
use the new API. The rational for preferring libXfont2 is that as a recent
change the xserver module looks for and requires libXfont2, and it's better
not to have both versions of the library in process.
Comment 1 Christophe Fergeau 2016-08-30 15:17:13 UTC
Looks good to me, I'll push it, thanks!

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.