Bug 31965 - some GNU/Linux distributions lack icu.pc but have icu-config
Summary: some GNU/Linux distributions lack icu.pc but have icu-config
Status: RESOLVED FIXED
Alias: None
Product: HarfBuzz
Classification: Unclassified
Component: src (show other bugs)
Version: unspecified
Hardware: All All
: medium normal
Assignee: Behdad Esfahbod
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-11-28 19:26 UTC by suzuki toshiya
Modified: 2010-11-29 21:56 UTC (History)
1 user (show)

See Also:
i915 platform:
i915 features:


Attachments
a patch for configure.ac searching icu-config when icu.pc is not found (634 bytes, patch)
2010-11-28 19:26 UTC, suzuki toshiya
Details | Splinter Review

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.