[HarfBuzz] Problems on porting harfbuzz to vitasdk

Ebrahim Byagowi ebraminio at gmail.com
Mon Jun 12 22:35:59 UTC 2017


Hey guys. I am trying to help on porting
<https://github.com/vitasdk/packages/pull/28> harfbuzz to vitasdk but am
facing a number of compile issues. I see this build errors both locally and
on the CI: https://travis-ci.org/vitasdk/packages/builds/242199530#L2931

"""
/home/travis/build/vitasdk/packages/harfbuzz/src/harfbuzz-1.4.6/src/hb-unicode-private.hh:131:26:
error: no matching function for call to 'hb_in_ranges(hb_codepoint_t&,
unsigned int, unsigned int, unsigned int, unsigned int)'
        0xE0100u, 0xE01EFu));  /* VARIATION SELECTOR-17..256 */

In file included from
/home/travis/build/vitasdk/packages/harfbuzz/src/harfbuzz-1.4.6/src/hb-buffer-private.hh:33:0,
                 from
/home/travis/build/vitasdk/packages/harfbuzz/src/harfbuzz-1.4.6/src/hb-buffer-serialize.cc:27:
/home/travis/build/vitasdk/packages/harfbuzz/src/harfbuzz-1.4.6/src/hb-private.hh:898:1:
note: candidate: template<class T> bool hb_in_ranges(T, T, T, T, T)
 hb_in_ranges (T u, T lo1, T hi1, T lo2, T hi2)
 ^~~~~~~~~~~~
"""

Does it ring any bells there? Perhaps a compiler flag is missing?

In order to reproduce this locally, you can follow these steps:
1. Install http://vitasdk.org (try it, surprisingly easy to do)
2. git clone https://github.com/behdad/harfbuzz
3. ./autogen.sh && make distdir && cd harfbuzz-* && mkdir build && cd build
4. cmake .. -DCMAKE_TOOLCHAIN_FILE=$VITASDK/share/vita.toolchain.cmake
5. make

Thanks
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/harfbuzz/attachments/20170613/ef7700b7/attachment.html>


More information about the HarfBuzz mailing list