Skip to contentSkip to conversation

Introduce HarfBuzz recipe. v2

PATCH Superseded Marko Lindqvist 2 participants 4 messages Jan 6, 2013 – Jan 9, 2013

v2 of 3 Superseded Latest is v3 →

lore
Share & tools
lore
#0 lore raw

Added glib-2.0 to dependencies. HarfBuzz configure silently disables some necessary parts if glib is not available.

- ML

#1 lore raw

PATCH v2 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..da09be6
@@ -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 glib-2.0"
+
+BBCLASSEXTEND = "native"
Signature · 1 line
1.7.10.4
#2 lore raw

Re: [PATCH v2] harfbuzz: add recipe, version 0.9.9

Quoted 29 lines · Marko Lindqvist

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 +15 -0
new file mode 100644
index 0000000..da09be6
@@ -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"
+

meta/recipes-graphics/harfbuzz/harfbuzz_0.9.9.bb line 25

Quoted 10 lines
meta/recipes-graphics/harfbuzz/harfbuzz_0.9.9.bb new file +10 -0
+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 glib-2.0"

We we also need libx11? I am seeing a failure:

Quoted 2 lines

| x86_64-linux-libtool: link: cannot find the library /intel/builds/world/tmp/sysroots/x86_64-linux/usr/lib/libX11.la' or unhandled argument /intel/builds/world/tmp/sysroots/x86_64-linux/usr/lib/libX11.la' | make[2]: *** [hb-view] Error 1

Notice this was the native version that failed.

Thanks
Sau!

Quoted 3 lines
meta/recipes-graphics/harfbuzz/harfbuzz_0.9.9.bb new file +2 -0
+
+BBCLASSEXTEND = "native"
#3 lore raw

Re: [PATCH v2] harfbuzz: add recipe, version 0.9.9

Quoted 8 lines · Saul Wold
Quoted 4 lines · Marko Lindqvist

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

We we also need libx11? I am seeing a failure:

Quoted 1 line
Quoted 7 lines
Quoted 5 lines

| x86_64-linux-libtool: link: cannot find the library /intel/builds/world/tmp/sysroots/x86_64-linux/usr/lib/libX11.la' or unhandled argument /intel/builds/world/tmp/sysroots/x86_64-linux/usr/lib/libX11.la' | make[2]: *** [hb-view] Error 1

Notice this was the native version that failed.

There's another dynamically changing property depending on whether
cairo is present in configure time or not - I'll make new version of HarfBuzz recipe to make builds consistent (to always have sensible backends, and never the others). However, I don't see how enabling cairo backend could produce the linking error above if everything outside harfbuzz is ok.
Attempt to link against libX11 most likely comes from cairo.pc or
cairo-ft.pc - maybe they get generated with dependencies that are not guaranteed to exist?

- ML