Package Details: mingw-w64-harfbuzz 1.3.4-1

Git Clone URL: https://aur.archlinux.org/mingw-w64-harfbuzz.git (read-only)
Package Base: mingw-w64-harfbuzz
Description: OpenType text shaping engine (mingw-w64)
Upstream URL: http://www.freedesktop.org/wiki/Software/HarfBuzz
Keywords: harfbuzz harfbuzz-icu mingw mingw-w64
Licenses: MIT
Submitter: Schala
Maintainer: Schala
Last Packager: Schala
Votes: 9
Popularity: 0.848415
First Submitted: 2013-12-02 10:12
Last Updated: 2016-12-06 19:34

Latest Comments

Martchus commented on 2016-10-21 06:26

Here's a hack to fix the problem with the static build: https://github.com/Martchus/PKGBUILDs/blob/master/harfbuzz/mingw-w64/PKGBUILD

Unfortunately this requires to split shared and static build. Maybe it would be better to patch the build system, but should work for now.

BTW: Qt 5 must be rebuilt due to the adding graphite support here - at least when using the static version.

Martchus commented on 2016-10-20 22:35

janisozaur: I can reproduce the issue. I guess the problem is that when building the static harfbuzz library GRAPHITE2_STATIC is not defined.

Schala commented on 2016-10-04 22:37

Well, #pragma region and endregion make GCC error a ton and the code's full of it. I used mingw-w64-cmake to attempt building it.

janisozaur commented on 2016-10-04 20:29

Forcing to link graphite2 in cmake for my project doesn't solve that problem. I have compiled harfbuzz without graphite support for now, but I would rather avoid having to do that.

Steps that should reproduce my issue:

git clone https://github.com/OpenRCT2/OpenRCT2
mkdir build && cd build
cmake ../ -DCMAKE_TOOLCHAIN_FILE=../CMakeLists_mingw.txt -DSTATIC=on
make

Schala commented on 2016-10-04 00:28

hmm.... have you tried pkg-config?

janisozaur commented on 2016-10-03 20:30

Static version with graphite doesn't quite work, I'm not sure if the error is on your or graphite's side. When trying to link statically, I get a bunch of these:

/usr/lib/gcc/i686-w64-mingw32/6.2.1/../../../../i686-w64-mingw32/lib/../lib/libharfbuzz.a(libharfbuzz_la-hb-graphite2.o):(.text+0xa11): undefined reference to `_imp__gr_seg_advance_X'
/usr/lib/gcc/i686-w64-mingw32/6.2.1/../../../../i686-w64-mingw32/lib/../lib/libharfbuzz.a(libharfbuzz_la-hb-graphite2.o):(.text+0xb0f): undefined reference to `_imp__gr_seg_first_slot'
/usr/lib/gcc/i686-w64-mingw32/6.2.1/../../../../i686-w64-mingw32/lib/../lib/libharfbuzz.a(libharfbuzz_la-hb-graphite2.o):(.text+0xb1e): undefined reference to `_imp__gr_slot_origin_X'
/usr/lib/gcc/i686-w64-mingw32/6.2.1/../../../../i686-w64-mingw32/lib/../lib/libharfbuzz.a(libharfbuzz_la-hb-graphite2.o):(.text+0xb36): undefined reference to `_imp__gr_slot_next_in_segment'
/usr/lib/gcc/i686-w64-mingw32/6.2.1/../../../../i686-w64-mingw32/lib/../lib/libharfbuzz.a(libharfbuzz_la-hb-graphite2.o):(.text+0xb43): undefined reference to `_imp__gr_slot_origin_Y'
/usr/lib/gcc/i686-w64-mingw32/6.2.1/../../../../i686-w64-mingw32/lib/../lib/libharfbuzz.a(libharfbuzz_la-hb-graphite2.o):(.text+0xb4c): undefined reference to `_imp__gr_slot_advance_Y'
/usr/lib/gcc/i686-w64-mingw32/6.2.1/../../../../i686-w64-mingw32/lib/../lib/libharfbuzz.a(libharfbuzz_la-hb-graphite2.o):(.text+0xcd9): undefined reference to `_imp__gr_seg_advance_X'
/usr/lib/gcc/i686-w64-mingw32/6.2.1/../../../../i686-w64-mingw32/lib/../lib/libharfbuzz.a(libharfbuzz_la-hb-graphite2.o):(.text+0xce6): undefined reference to `_imp__gr_seg_first_slot'
/usr/lib/gcc/i686-w64-mingw32/6.2.1/../../../../i686-w64-mingw32/lib/../lib/libharfbuzz.a(libharfbuzz_la-hb-graphite2.o):(.text+0xcf5): undefined reference to `_imp__gr_slot_origin_X'

Schala commented on 2016-10-03 03:48

oops sorry

xantares commented on 2016-10-02 13:39

hi,
split packages do not rely on depends sub-packages deps for makedeps
so mingw-w64-graphite must be added to makedepends:

checking for GRAPHITE2... no
configure: error: graphite2 support requested but libgraphite2 not found
==> ERROR: A failure occurred in build().
Aborting...

xan

Schala commented on 2016-08-22 05:06

Weird. It did get a new patch so... I don't know.

janisozaur commented on 2016-08-21 22:21

I cannot updated this package on my system, during `prepare()` I get:

```
checking for GLIB... no
configure: error: glib support requested but glib-2.0 not found
```

even though I have mingw-w64-glib2 2.48.1-3 package installed.

All comments