Bug 31965

Summary: some GNU/Linux distributions lack icu.pc but have icu-config
Product: HarfBuzz Reporter: suzuki toshiya <mpsuzuki>
Component: srcAssignee: Behdad Esfahbod <freedesktop>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: medium CC: freedesktop
Version: unspecified   
Hardware: All   
OS: All   
Whiteboard:
i915 platform: i915 features:
Attachments: a patch for configure.ac searching icu-config when icu.pc is not found

Description suzuki toshiya 2010-11-28 19:26:09 UTC
Created attachment 40624 [details] [review]
a patch for configure.ac searching icu-config when icu.pc is not found

Yet I've not investigated other GNU/Linux distributions, but at least
Debian GNU/Linux lack icu.pc in its ICU developer package.

http://packages.debian.org/search?searchon=contents&keywords=icu.pc&mode=path&suite=unstable&arch=any

But it has icu-config.

http://packages.debian.org/search?searchon=contents&keywords=icu-config&mode=path&suite=unstable&arch=any

So checking icu-config as a fallback for the system without icu.pc
might be convenient. A patch is attached.
Comment 1 Behdad Esfahbod 2010-11-29 21:56:57 UTC
Committed.  Thanks.  The icu-config output is so fragile, but shouldn't be fine for now.

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.