Bug 64878 - compile error with ICU but not ICULE
Summary: compile error with ICU but not ICULE
Status: RESOLVED FIXED
Alias: None
Product: HarfBuzz
Classification: Unclassified
Component: src (show other bugs)
Version: unspecified
Hardware: Other All
: medium normal
Assignee: Behdad Esfahbod
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-05-22 18:28 UTC by Steven R. Loomis
Modified: 2013-05-27 23:13 UTC (History)
1 user (show)

See Also:
i915 platform:
i915 features:


Attachments

Description Steven R. Loomis 2013-05-22 18:28:51 UTC
I have ICU, but ICU has --disable-layout set.  HB found ICU but not ICULE.

However, the hb-icu-le still looks for Layout/LETypes.h:

make[4]: Entering directory `/usr/local/src/harfbuzz/src/hb-icu-le'
  CXX      libhb_icu_le_la-FontTableCache.lo
FontTableCache.cpp:8:28: fatal error: layout/LETypes.h: No such file or directory
Comment 1 Behdad Esfahbod 2013-05-22 18:30:16 UTC
How can I detect whether layout is available using icu-config?
Comment 2 Steven R. Loomis 2013-05-22 18:40:58 UTC
use pkg-config and look for icu-uc ( has the core unicode properties) versus icu-le ( layout engine ). 

not sure there's a way directly with icu-config - but you could test  whether layout/LETypes.h was includeable even with icu-config's provided search path.
Comment 3 Behdad Esfahbod 2013-05-22 18:54:53 UTC
(In reply to comment #2)
> use pkg-config and look for icu-uc ( has the core unicode properties) versus
> icu-le ( layout engine ). 
> 
> not sure there's a way directly with icu-config - but you could test 
> whether layout/LETypes.h was includeable even with icu-config's provided
> search path.

Ok.  As it happens I'm working on the build system today.
Comment 4 Behdad Esfahbod 2013-05-27 23:13:43 UTC
Fixed in master.  In fact, disable icu_le shaper 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.