Skip to contentSkip to conversation

RFC: Adding HarfBuzz

PATCH Superseded Marko Lindqvist 1 participant 2 messages Dec 30, 2012

v1 of 3 Superseded Latest is v3 →

lore
Share & tools
lore
#0 lore raw

HarfBuzz is OpenType text shaping engine that pango 1.32 depends on. (Configure checks harfbuzz first, and if it's not available, number of other checks are skipped as it considers freetype et al unusable for pango without harfbuzz -> eventually it complained that there's no single backend enabled)

I have problems getting (any) images to work properly at the moment (I assume qemu bug/misconfiguration) so I have not yet seen if this actually works at all. I only know that this harfbuzz + new pango builds without problems for arm, x86, and mips.

The main known problem is handling of licenses. I've listed all the right files in LIC_FILES_CHKSUM, and managed to get sensible LICENSE entry for a couple of them (hb-ucdn -> UCDN, hb-icu-le -> ICU) but I'm at loss what to make of remaining ones. COPYING states that it's "so called Old MIT", so I didn't make it "MIT" but put "Old-MIT" as placeholder. hb-old seems like unique license, which placeholder is "HarfBuzz-old"

Building requires icu 50.1.1:
http://lists.linuxtogo.org/pipermail/openembedded-core/2012-December/033574.html

- ML

#1 lore raw

PATCH 1/1 harfbuzz: add recipe, version 0.9.9

OpenType text shaping engine HarfBuzz is dependency of pango >= 1.32

---
 meta/recipes-graphics/harfbuzz/harfbuzz_0.9.9.bb |   27 ++++++++++++++++++++++
 1 file changed, 27 insertions(+)
 create mode 100644 meta/recipes-graphics/harfbuzz/harfbuzz_0.9.9.bb
meta/recipes-graphics/harfbuzz/harfbuzz_0.9.9.bb new file +27 -0
new file mode 100644
index 0000000..d2b3e9b
@@ -0,0 +1,27 @@
+SUMMARY = "Text shaping library"
+DESCRIPTION = "HarfBuzz is an OpenType text shaping engine."
+HOMEPAGE = "http://www.freedesktop.org/wiki/Software/HarfBuzz"
+BUGTRACKER = "https://bugs.freedesktop.org/enter_bug.cgi?product=HarfBuzz"
+
+LICENSE = "Old-MIT | UCDN | ICU | HarfBuzz-old"
+LIC_FILES_CHKSUM = "file://COPYING;md5=e021dd6dda6ff1e6b1044002fc662b9b \
+                    file://src/hb-ucdn/COPYING;md5=994ba0f1295f15b4bda4999a5bbeddef \
+                    file://src/hb-icu-le/COPYING;md5=0ac60acf068e2cc9facdf86169a9c13e \
+                    file://src/hb-icu-le/license.html;md5=9136737088bbfbbf86d9a714da49fb89 \
+                    file://src/hb-old/COPYING;md5=6e8442c12d498ce55cfe39fc60f97981 \
+"
+
+SECTION = "libs"
+
+PR = "r0"
+
+SRC_URI = "http://www.freedesktop.org/software/harfbuzz/release/harfbuzz-${PV}.tar.bz2"
+
+SRC_URI[md5sum] = "e901ffe556d706b7d43b272f83be7f09"
+SRC_URI[sha256sum] = "3d8dd4ebbc38da011485ef181f8ff072b4b0d7e305bbda19b355f217d25169cf"
+
+inherit autotools pkgconfig
+
+DEPENDS = "icu"
+
+BBCLASSEXTEND = "native"
Signature · 1 line
1.7.10.4