Bug 97514 - Check for either xfont.pc or xfont2.pc
Summary: Check for either xfont.pc or xfont2.pc
Status: RESOLVED FIXED
Alias: None
Product: xorg
Classification: Unclassified
Component: Driver/qxl (show other bugs)
Version: git
Hardware: Other All
: medium normal
Assignee: Søren Sandmann Pedersen
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-08-28 02:09 UTC by Owen Taylor
Modified: 2016-08-30 15:17 UTC (History)
1 user (show)

See Also:
i915 platform:
i915 features:


Attachments
[PATCH] Check for either xfont.pc or xfont2.pc (2.17 KB, patch)
2016-08-28 02:09 UTC, Owen Taylor
no flags Details | Splinter Review

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.