| Submitter | Marko Lindqvist |
|---|---|
| Date | Jan. 6, 2013, 8:34 p.m. |
| Message ID | <1357504491-2878-2-git-send-email-cazfi74@gmail.com> |
| Download | mbox | patch |
| Permalink | /patch/42103/ |
| State | New |
| Headers | show |
Comments
On 01/06/2013 12:34 PM, Marko Lindqvist wrote: > OpenType text shaping engine HarfBuzz is dependency of pango >= 1.32 > > Signed-off-by: Marko Lindqvist <cazfi74@gmail.com> > --- > 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 > > diff --git a/meta/recipes-graphics/harfbuzz/harfbuzz_0.9.9.bb b/meta/recipes-graphics/harfbuzz/harfbuzz_0.9.9.bb > new file mode 100644 > index 0000000..da09be6 > --- /dev/null > +++ b/meta/recipes-graphics/harfbuzz/harfbuzz_0.9.9.bb > @@ -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" We we also need libx11? I am seeing a failure: > | 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! > + > +BBCLASSEXTEND = "native" >
On 9 January 2013 02:10, Saul Wold <sgw@linux.intel.com> wrote: > On 01/06/2013 12:34 PM, Marko Lindqvist wrote: >> >> OpenType text shaping engine HarfBuzz is dependency of pango >= 1.32 >> >> Signed-off-by: Marko Lindqvist <cazfi74@gmail.com> > > We we also need libx11? I am seeing a failure: >> >> | 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
Patch
diff --git a/meta/recipes-graphics/harfbuzz/harfbuzz_0.9.9.bb b/meta/recipes-graphics/harfbuzz/harfbuzz_0.9.9.bb new file mode 100644 index 0000000..da09be6 --- /dev/null +++ b/meta/recipes-graphics/harfbuzz/harfbuzz_0.9.9.bb @@ -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"
OpenType text shaping engine HarfBuzz is dependency of pango >= 1.32 Signed-off-by: Marko Lindqvist <cazfi74@gmail.com> --- 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