Add pkgconfig support to four packages
v2 cover Add pkgconfig support to four packages
From: Chen Qi <[email protected]>
Among the 26 recipes / packages that deliver their own bin-config tools, only four of them don't deliver pkgconfig (.pc) files.
This series of patches add pkgconfig support to them.
[YOCTO #2453]
The following changes since commit 247b6a3754c2c50318e2a73d79981ba0e9cb560b:
gstreamer, gst-plugins*: fix localdata (2012-11-28 15:25:33 +0000)
are available in the git repository at:
git://git.pokylinux.org/poky-contrib ChenQi/pkgconfig2
http://git.pokylinux.org/cgit.cgi/poky-contrib/log/?h=ChenQi/pkgconfig2
Chen Qi (4):
libksba: add pkgconfig support
ICU: add pkgconfig support
pth: add pkgconfig support
libassuan: add pkgconfig support
.../icu/files/icu-add-pkgconfig-support.patch | 43 ++++++++ meta/recipes-support/icu/icu-3.6.inc | 11 ++ meta/recipes-support/icu/icu_3.6.bb | 2 +- .../files/libassuan-add-pkgconfig-support.patch | 57 +++++++++++ meta/recipes-support/libassuan/libassuan_2.0.3.bb | 5 +- .../libksba/ksba-add-pkgconfig-support.patch | 57 +++++++++++ meta/recipes-support/libksba/libksba_1.3.0.bb | 8 +- .../pth/files/pth-add-pkgconfig-support.patch | 105 ++++++++++++++++++++ meta/recipes-support/pth/pth_2.0.7.bb | 7 +- 9 files changed, 286 insertions(+), 9 deletions(-) create mode 100644 meta/recipes-support/icu/files/icu-add-pkgconfig-support.patch create mode 100644 meta/recipes-support/libassuan/files/libassuan-add-pkgconfig-support.patch create mode 100644 meta/recipes-support/libksba/libksba/ksba-add-pkgconfig-support.patch create mode 100644 meta/recipes-support/pth/files/pth-add-pkgconfig-support.patch
Signature · 1 line
1.7.9.5
PATCH v2 1/4 libksba: add pkgconfig support
From: Chen Qi <[email protected]>
Add pkgconfig support to libksba.
[YOCTO #2453]
--- .../libksba/ksba-add-pkgconfig-support.patch | 57 ++++++++++++++++++++ meta/recipes-support/libksba/libksba_1.3.0.bb | 8 +-- 2 files changed, 62 insertions(+), 3 deletions(-) create mode 100644 meta/recipes-support/libksba/libksba/ksba-add-pkgconfig-support.patch
meta/recipes-support/libksba/libksba/ksba-add-pkgconfig-support.patch new file +57 -0
@@ -0,0 +1,57 @@ +Upstream-Status: Pending + +Add pkgconfig support to libksba. + +Signed-off-by: Chen Qi <[email protected]> + +Index: Makefile.am +=============================================================== +--- a/Makefile.am ++++ b/Makefile.am +@@ -21,6 +21,9 @@ + ACLOCAL_AMFLAGS = -I m4 -I gl/m4 + AUTOMAKE_OPTIONS = dist-bzip2 no-dist-gzip + ++pkgconfigdir = ${libdir}/pkgconfig ++pkgconfig_DATA = ksba.pc ++ + # (A suitable gitlog-to-changelog script can be found in GnuPG master.) + GITLOG_TO_CHANGELOG=gitlog-to-changelog + +Index: configure.ac +=============================================================== +--- a/configure.ac ++++ b/configure.ac +@@ -399,6 +399,7 @@ m4/Makefile + gl/Makefile + src/Makefile + src/ksba-config + src/versioninfo.rc ++ksba.pc + tests/Makefile + doc/Makefile + +Index: src/ksba.pc.in +=============================================================== +--- /dev/null ++++ b/ksba.pc.in +@@ -0,0 +1,16 @@ ++prefix=@prefix@ ++exec_prefix=@exec_prefix@ ++libdir=@libdir@ ++includedir=@includedir@ ++ ++# API info ++api_version=@KSBA_CONFIG_API_VERSION@ ++ ++Name: ksba ++Description: Libksba provides an easy API to create and parse X.509 and CMS related objects ++Requires: ++Version: @VERSION@ ++Libs: -L${libdir} -lksba ++Libs.private: -L{libdir} -lgpg-error ++Cflags: -I${includedir} ++ +-- +1.7.5.4 +
meta/recipes-support/libksba/libksba_1.3.0.bb +5 -3
@@ -6,13 +6,15 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=fd541d83f75d038c4e0617b672ed8bda \ file://COPYING.GPLv3;md5=2f31b266d3440dd7ee50f92cf67d8e6c \ file://COPYING.LGPLv3;md5=e6a600fd5e1d9cbde2d983680233ad02 \ " -PR = "r0" +PR = "r1" DEPENDS = "libgpg-error" -inherit autotools binconfig +inherit autotools binconfig pkgconfig -SRC_URI = "ftp://ftp.gnupg.org/gcrypt/${BPN}/${BPN}-${PV}.tar.bz2" +SRC_URI = "ftp://ftp.gnupg.org/gcrypt/${BPN}/${BPN}-${PV}.tar.bz2 \ + file://ksba-add-pkgconfig-support.patch" SRC_URI[md5sum] = "cd86fad9c9d360b2cf80449f8a4a4075" SRC_URI[sha256sum] = "5a61eed50550d4d0dcb47457ce7b6a90f8e719d42a3b25f7e79333e8cd721971" +
Signature · 1 line
1.7.9.5
PATCH v2 2/4 ICU: add pkgconfig support
In reply to [email protected]From: Chen Qi <[email protected]>
Add pkgconfig support to ICU.
[YOCTO #2453]
--- .../icu/files/icu-add-pkgconfig-support.patch | 43 ++++++++++++++++++++ meta/recipes-support/icu/icu-3.6.inc | 11 +++++ meta/recipes-support/icu/icu_3.6.bb | 2 +- 3 files changed, 55 insertions(+), 1 deletion(-) create mode 100644 meta/recipes-support/icu/files/icu-add-pkgconfig-support.patch
meta/recipes-support/icu/files/icu-add-pkgconfig-support.patch new file +43 -0
@@ -0,0 +1,43 @@ +Upstream-Status: Inappropriate [version] +ICU-3.6 has no pkgconfig, so I add it here. +But ICU has had pkgconfig support since 4.6. +So this patch is inappropriate to upstream. + +Signed-off-by: Chen Qi <[email protected]> + +Index: configure.in +============================================================= +--- a/configure.in ++++ b/configure.in +@@ -1057,4 +1057,7 @@ echo "This may cause ICU to fail to build. Please make sure that GNU make" + echo "is in your PATH so that this configure script can detect its location." + fi + ++AC_CONFIG_FILES([icu.pc]) ++AC_OUTPUT ++ + $as_unset _CXX_CXXSUFFIX + +Index: icu.pc.in +============================================================= +--- /dev/null ++++ b/icu.pc.in +@@ -0,0 +1,15 @@ ++# Process this file with autoconf to produce a pkg-config metadata file. ++ ++prefix=@prefix@ ++exec_prefix=@exec_prefix@ ++libdir=@libdir@ ++includedir=@includedir@ ++unicode_version=@UNICODE_VERSION@ ++ ++Name: ICU ++Description: International Component for Unicode libraries ++Requires: ++Version: @VERSION@ ++Libs: -L${libdir} -licui18n -licuuc -licudata ++Libs.private: -L{libdir} -lpthread -lm ++Cflags: -I${includedir} -O2 -pipe -g -feliminate-unused-debug-types +-- +1.7.11.2 +
meta/recipes-support/icu/icu-3.6.inc +11 -0
@@ -7,6 +7,7 @@ BASE_SRC_URI = "ftp://ftp.software.ibm.com/software/globalization/icu/3.6/icu4c- file://fix-parallel-build.patch \ file://use-g++-for-linking.patch \ file://larger-cmd-size.patch \ + file://icu-add-pkgconfig-support.patch \ " SRC_URI = "${BASE_SRC_URI} \ file://noldlibpath.patch \
@@ -28,6 +29,12 @@ inherit autotools pkgconfig binconfig do_configure() { libtoolize --force gnu-configize --force + if [ "${PN}" != "icu-native" ]; then + OLD=`pwd` + cd ${S} + autoconf + cd ${OLD} + fi oe_runconf if [ "${PN}" != "icu-native" ]; then # In the non-native case we need to make substitutions to use
@@ -45,6 +52,10 @@ do_compile() { do_install_append() { chmod +x ${D}${libdir}/lib* + if [ "${PN}" != "icu-native" ]; then + install -d ${D}/${libdir}/pkgconfig + install -m 0644 ${S}/icu.pc ${D}/${libdir}/pkgconfig + fi } PACKAGES =+ "libicudata libicuuc libicui18n libicule libiculx libicutu libicuio"
meta/recipes-support/icu/icu_3.6.bb +1 -1
@@ -1,6 +1,6 @@ require icu-3.6.inc -PR = "r9" +PR = "r10" SRC_URI[md5sum] = "6243f7a19e03e05403ce84e597510d4c" SRC_URI[sha256sum] = "5135e8d69d6206d320515df7aeee7027711ab1aef9d8dbf29571a97a9746b041"
Signature · 1 line
1.7.9.5
Re: [PATCH 2/4] ICU: add pkgconfig support
meta/recipes-support/icu/files/icu-add-pkgconfig-support.patch line 3
Quoted 2 lines · On 3 December 2012 10:42, <[email protected]> wrote:
meta/recipes-support/icu/files/icu-add-pkgconfig-support.patch new file +2
-0+ICU-3.6 has no pkgconfig, so I add it here. +But ICU has had pkgconfig support since 4.6.
Is there a reason we can't just bump oe-core to 4.6?
Ross
Re: [PATCH 2/4] ICU: add pkgconfig support
Quoted 7 lines · Ross
meta/recipes-support/icu/files/icu-add-pkgconfig-support.patch line 3
Quoted 2 lines · On 3 December 2012 10:42,<[email protected]> wrote:
meta/recipes-support/icu/files/icu-add-pkgconfig-support.patch new file +2
-0+ICU-3.6 has no pkgconfig, so I add it here. +But ICU has had pkgconfig support since 4.6.Is there a reason we can't just bump oe-core to 4.6?
Ross
I'm not sure. Maybe we bump ICU to the latest version later. (If nobody does it, I'll find time to do it, and test it.) The reason I add pkgconfig to ICU-3.6 is that I think it's better to do one thing at a time.
Thanks,
Chen Qi
Re: [PATCH 2/4] ICU: add pkgconfig support
In reply to [email protected]Quoted 6 lines · On 12/04/2012 12:46 AM, [email protected] wrote:
From: Chen Qi <[email protected]>
Add pkgconfig support to ICU.
[YOCTO #2453]
This patch seems to have introduced a problem with webkit-gtk
Quoted 2 lines
| mv -f Source/WebKit/gtk/WebCoreSupport/.deps/libwebkitgtk_1_0_la-AcceleratedCompositingContextClutter.Tpo Source/WebKit/gtk/WebCoreSupport/.deps/libwebkitgtk_1_0_la-AcceleratedCompositingContextClutter.Plo
| ./i586-poky-linux-libtool --tag=CXX --mode=compile i586-poky-linux-g++ -m32 -march=i586 --sysroot=/srv/home/pokybuild/yocto-autobuilder/yocto-slave/nightly-world/build/build/tmp/sysroots/qemux86 -DHAVE_CONFIG_H -I. -DBUILDING_WEBKIT -Wall -W -Wcast-align -Wchar-subscripts -Wreturn-type -Wformat -Wformat-security -Wno-format-y2k -Wundef -Wmissing-format-attribute -Wpointer-arith -Wwrite-strings -Wno-unused-parameter -Wno-parentheses -fno-exceptions -DENABLE_GLIB_SUPPORT=1 -DBUILDING_CAIRO__=1 -DBUILDING_GTK__=1 -DWTF_CHANGES -DXP_UNIX -DWTF_USE_ICU_UNICODE=1 -DWTF_USE_GSTREAMER=1 -DGTK_API_VERSION_2=1 -DNDEBUG -I./Source/ThirdParty/ANGLE/src -I./Source/ThirdParty/ANGLE/include -I./Source/ThirdParty/ANGLE/include/GLSLANG -I./Source/WebCore -I./Source/WebCore/accessibility -I./Source/WebCore/bindings -I./Source/WebCore/bindings/generic -I./Source/WebCore/bindings/js -I./Source/WebCore/bindings/js/specialization -I./Source/WebCore/bridge -I./Source/WebCore/bridge/c -I.
/Source/WebCore/bridge/jni/jsc -I./Source/WebCore/bridge/jsc -I./Source/WebCore/css -I./Source/WebCore/dom -I./Source/WebCore/dom/default -I./Source/WebCore/editing -I./Source/WebCore/fileapi -I./Source/WebCore/history -I./Source/WebCore/html -I./Source/WebCore/html/canvas -I./Source/WebCore/html/parser -I./Source/WebCore/html/shadow -I./Source/WebCore/html/track -I./Source/WebCore/inspector -I./Source/WebCore/loader -I./Source/WebCore/loader/appcache -I./Source/WebCore/loader/archive -I./Source/WebCore/loader/cache -I./Source/WebCore/loader/icon -I./Source/WebCore/mathml -I./Source/WebCore/mediastream -I./Source/WebCore/notifications -I./Source/WebCore/page -I./Source/WebCore/page/animation -I./Source/WebCore/page/scrolling -I./Source/WebCore/platform -I./Source/WebCore/platform/animation -I./Source/WebCore/platform/audio -I./Source/WebCore/platform/graphics -I./Source/WebCore/platform/graphics/filters -I./Source/WebCore/platform/graphics/filters/arm -I./Source/WebCore/platform/graph ics/gpu -I./Source/WebCore/platform/graphics/opengl -I./Source/WebCore/platform/graphics/opentype -I./Source/WebCore/platform/graphics/transforms -I./Source/WebCore/platform/image-decoders -I./Source/WebCore/platform/image-decoders/bmp -I./Source/WebCore/platform/image-decoders/gif -I./Source/WebCore/platform/image-decoders/ico -I./Source/WebCore/platform/image-decoders/jpeg -I./Source/WebCore/platform/image-decoders/webp -I./Source/WebCore/platform/image-decoders/png -I./Source/WebCore/platform/leveldb -I./Source/WebCore/platform/mediastream -I./Source/WebCore/platform/mock -I./Source/WebCore/platform/network -I./Source/WebCore/platform/sql -I./Source/WebCore/platform/text -I./Source/WebCore/platform/text/transcoder -I./Source/WebCore/platform/win -I./Source/WebCore/plugins -I./Source/WebCore/plugins/win -I./Source/WebCore/rendering -I./Source/WebCore/rendering/mathml -I./Source/WebCore/rendering/style -I./Source/WebCore/rendering/svg -I./Source/WebCore/storage -I./Source/WebCore/svg
-I./Source/WebCore/svg/animation -I./Source/WebCore/svg/graphics -I./Source/WebCore/svg/graphics/filters -I./Source/WebCore/svg/properties -I./Source/WebCore/testing -I./Source/WebCore/testing/js -I./Source/WebCore/webaudio -I./Source/WebCore/websockets -I./Source/WebCore/workers -I./Source/WebCore/xml -I./Source/WebCore/xml/parser -I./WebCore/bindings/js -I./DerivedSources/WebCore -I./DerivedSources -I./DerivedSources/JavaScriptCore -DDATA_DIR=\"/usr/share\" -DENABLE_CHANNEL_MESSAGING=1 -DENABLE_METER_TAG=1 -DENABLE_PROGRESS_TAG=1 -DENABLE_JAVASCRIPT_DEBUGGER=1 -DENABLE_GAMEPAD=0 -DENABLE_SQL_DATABASE=1 -DENABLE_DATALIST=1 -DENABLE_DIRECTORY_UPLOAD=0 -DENABLE_TOUCH_ICON_LOADING=0 -DENABLE_INPUT_COLOR=0 -DENABLE_INPUT_SPEECH=0 -DENABLE_ICONDATABASE=1 -DENABLE_VIDEO=1 -DENABLE_MEDIA_SOURCE=0 -DENABLE_MEDIA_STATISTICS=0 -DENABLE_FULLSCREEN_API=1 -DENABLE_VIDEO_TRACK=0 -DENABLE_MEDIA_STREAM=0 -DENABLE_XSLT=1 -DENABLE_WORKERS=1 -DENABLE_SHADOW_DOM=1 -DENABLE_SHARED_
WORKERS=1 -DENABLE_FILTERS=1 -DENABLE_MATHML=1 -DENABLE_SVG=1 -DENABLE_SVG_FONTS=1 -DENABLE_WEB_SOCKETS=1 -DENABLE_BLOB=1 -DENABLE_REQUEST_ANIMATION_FRAME=1 -DENABLE_WEBGL=1 -DWEBKITGTK_API_VERSION_STRING=\"1.0\" -DWTF_USE_SOUP=1 -I./Source/WebCore/accessibility/gtk -I./Source/WebCore/loader/gtk -I./Source/WebCore/page/gtk -I./Source/WebCore/platform/cairo -I./Source/WebCore/platform/audio/gstreamer -I./Source/WebCore/platform/graphics/cairo -I./Source/WebCore/platform/graphics/glx -I./Source/WebCore/platform/graphics/gstreamer -I./Source/WebCore/platform/graphics/gtk -I./Source/WebCore/platform/gtk -I./Source/WebCore/platform/network/soup -DWTF_USE_FREETYPE=1 -I./Source/WebCore/platform/graphics/freetype -I./Source -I./Source/JavaScriptCore -I./Source/JavaScriptCore/API -I./Source/JavaScriptCore/assembler -I./Source/JavaScriptCore/bytecode -I./Source/JavaScriptCore/bytecompiler -I./Source/JavaScriptCore/dfg -I./Source/JavaScriptCore/heap -I./Source/JavaScriptCore/debug
ger -I./Source/JavaScriptCore/ForwardingHeaders -I./Source/JavaScriptCore/interpreter -I./Source/JavaScriptCore/jit -I./Source/JavaScriptCore/jit -I./Source/JavaScriptCore/parser -I./Source/JavaScriptCore/profiler -I./Source/JavaScriptCore/runtime -I./Source/JavaScriptCore/tools -I./Source/JavaScriptCore/wtf -I./Source/JavaScriptCore/wtf -I./Source/JavaScriptCore/wtf/gobject -I./Source/JavaScriptCore/wtf/gtk -I./Source/JavaScriptCore/wtf/text -I./Source/JavaScriptCore/wtf/unicode -I./Source/JavaScriptCore/yarr -I./DerivedSources/JavaScriptCore -I./Source/WTF -fno-strict-aliasing -I/srv/home/pokybuild/yocto-autobuilder/yocto-slave/nightly-world/build/build/tmp/sysroots/qemux86/usr/include/cairo -I/srv/home/pokybuild/yocto-autobuilder/yocto-slave/nightly-world/build/build/tmp/sysroots/qemux86/usr/include/glib-2.0 -I/srv/home/pokybuild/yocto-autobuilder/yocto-slave/nightly-world/build/build/tmp/sysroots/qemux86/usr/lib/glib-2.0/include -I/srv/home/pokybuild/yocto-autobuilder/yocto-slave/
nightly-world/build/build/tmp/sysroots/qemux86/usr/include/pixman-1 -I/srv/home/pokybuild/yocto-autobuilder/yocto-slave/nightly-world/build/build/tmp/sysroots/qemux86/usr/include/freetype2 -I/srv/home/pokybuild/yocto-autobuilder/yocto-slave/nightly-world/build/build/tmp/sysroots/qemux86/usr/include/libpng12 -pthread -I/srv/home/pokybuild/yocto-autobuilder/yocto-slave/nightly-world/build/build/tmp/sysroots/qemux86/usr/include/enchant -I/srv/home/pokybuild/yocto-autobuilder/yocto-slave/nightly-world/build/build/tmp/sysroots/qemux86/usr/include/glib-2.0 -I/srv/home/pokybuild/yocto-autobuilder/yocto-slave/nightly-world/build/build/tmp/sysroots/qemux86/usr/lib/glib-2.0/include -pthread -I/srv/home/pokybuild/yocto-autobuilder/yocto-slave/nightly-world/build/build/tmp/sysroots/qemux86/usr/include/glib-2.0 -I/srv/home/pokybuild/yocto-autobuilder/yocto-slave/nightly-world/build/build/tmp/sysroots/qemux86/usr/lib/glib-2.0/include -pthread -I/srv/home/pokybuild/yocto-autobuilder/yocto-s
lave/nightly-world/build/build/tmp/sysroots/qemux86/usr/include/gstreamer-0.10 -I/srv/home/pokybuild/yocto-autobuilder/yocto-slave/nightly-world/build/build/tmp/sysroots/qemux86/usr/include/glib-2.0 -I/srv/home/pokybuild/yocto-autobuilder/yocto-slave/nightly-world/build/build/tmp/sysroots/qemux86/usr/lib/glib-2.0/include -I/srv/home/pokybuild/yocto-autobuilder/yocto-slave/nightly-world/build/build/tmp/sysroots/qemux86/usr/include/libxml2 -pthread -I/srv/home/pokybuild/yocto-autobuilder/yocto-slave/nightly-world/build/build/tmp/sysroots/qemux86/usr/include/libsoup-2.4 -I/srv/home/pokybuild/yocto-autobuilder/yocto-slave/nightly-world/build/build/tmp/sysroots/qemux86/usr/include/libxml2 -I/srv/home/pokybuild/yocto-autobuilder/yocto-slave/nightly-world/build/build/tmp/sysroots/qemux86/usr/include/glib-2.0 -I/srv/home/pokybuild/yocto-autobuilder/yocto-slave/nightly-world/build/build/tmp/sysroots/qemux86/usr/lib/glib-2.0/include -I/srv/home/pokybuild/yocto-autobuilder/yocto-slave/nightl
y-world/build/build/tmp/sysroots/qemux86/usr/include/libxml2 -I/srv/home/pokybuild/yocto-autobuilder/yocto-slave/nightly-world/build/build/tmp/sysroots/qemux86/usr/include/libxml2 -pthread -I/srv/home/pokybuild/yocto-autobuilder/yocto-slave/nightly-world/build/build/tmp/sysroots/qemux86/usr/include/pango-1.0 -I/srv/home/pokybuild/yocto-autobuilder/yocto-slave/nightly-world/build/build/tmp/sysroots/qemux86/usr/include/glib-2.0 -I/srv/home/pokybuild/yocto-autobuilder/yocto-slave/nightly-world/build/build/tmp/sysroots/qemux86/usr/lib/glib-2.0/include -I/srv/home/pokybuild/yocto-autobuilder/yocto-slave/nightly-world/build/build/tmp/sysroots/qemux86/usr/include/freetype2 -D_REENTRANT -fvisibility-inlines-hidden -fno-rtti -O2 -pipe -g -feliminate-unused-debug-types -fpermissive -fvisibility-inlines-hidden -Wno-c++0x-compat -O2 -MT Source/WebCore/bridge/libWebCore_la-runtime_root.lo -MD -MP -MF Source/WebCore/bridge/.deps/libWebCore_la-runtime_root.Tpo -c -o Source/WebCore/bridge/
libWebCore_la-runtime_root.lo test -f 'Source/WebCore/bridge/runtime_root.cpp' || echo './'Source/WebCore/bridge/runtime_root.cpp
Quoted 1 line
| i586-poky-linux-libtool: compile: i586-poky-linux-g++ -m32 -march=i586 --sysroot=/srv/home/pokybuild/yocto-autobuilder/yocto-slave/nightly-world/build/build/tmp/sysroots/qemux86 -DHAVE_CONFIG_H -I. -DBUILDING_WEBKIT -Wall -W -Wcast-align -Wchar-subscripts -Wreturn-type -Wformat -Wformat-security -Wno-format-y2k -Wundef -Wmissing-format-attribute -Wpointer-arith -Wwrite-strings -Wno-unused-parameter -Wno-parentheses -fno-exceptions -DENABLE_GLIB_SUPPORT=1 -DBUILDING_CAIRO__=1 -DBUILDING_GTK__=1 -DWTF_CHANGES -DXP_UNIX -DWTF_USE_ICU_UNICODE=1 -DWTF_USE_GSTREAMER=1 -DGTK_API_VERSION_2=1 -DNDEBUG -I./Source/ThirdParty/ANGLE/src -I./Source/ThirdParty/ANGLE/include -I./Source/ThirdParty/ANGLE/include/GLSLANG -I./Source/WebCore -I./Source/WebCore/accessibility -I./Source/WebCore/bindings -I./Source/WebCore/bindings/generic -I./Source/WebCore/bindings/js -I./Source/WebCore/bindings/js/specialization -I./Source/WebCore/bridge -I./Source/WebCore/bridge/c -I./Source/WebCore/bridge/jni/jsc -
I./Source/WebCore/bridge/jsc -I./Source/WebCore/css -I./Source/WebCore/dom -I./Source/WebCore/dom/default -I./Source/WebCore/editing -I./Source/WebCore/fileapi -I./Source/WebCore/history -I./Source/WebCore/html -I./Source/WebCore/html/canvas -I./Source/WebCore/html/parser -I./Source/WebCore/html/shadow -I./Source/WebCore/html/track -I./Source/WebCore/inspector -I./Source/WebCore/loader -I./Source/WebCore/loader/appcache -I./Source/WebCore/loader/archive -I./Source/WebCore/loader/cache -I./Source/WebCore/loader/icon -I./Source/WebCore/mathml -I./Source/WebCore/mediastream -I./Source/WebCore/notifications -I./Source/WebCore/page -I./Source/WebCore/page/animation -I./Source/WebCore/page/scrolling -I./Source/WebCore/platform -I./Source/WebCore/platform/animation -I./Source/WebCore/platform/audio -I./Source/WebCore/platform/graphics -I./Source/WebCore/platform/graphics/filters -I./Source/WebCore/platform/graphics/filters/arm -I./Source/WebCore/platform/graphics/gpu -I./Source/WebCore/platf orm/graphics/opengl -I./Source/WebCore/platform/graphics/opentype -I./Source/WebCore/platform/graphics/transforms -I./Source/WebCore/platform/image-decoders -I./Source/WebCore/platform/image-decoders/bmp -I./Source/WebCore/platform/image-decoders/gif -I./Source/WebCore/platform/image-decoders/ico -I./Source/WebCore/platform/image-decoders/jpeg -I./Source/WebCore/platform/image-decoders/webp -I./Source/WebCore/platform/image-decoders/png -I./Source/WebCore/platform/leveldb -I./Source/WebCore/platform/mediastream -I./Source/WebCore/platform/mock -I./Source/WebCore/platform/network -I./Source/WebCore/platform/sql -I./Source/WebCore/platform/text -I./Source/WebCore/platform/text/transcoder -I./Source/WebCore/platform/win -I./Source/WebCore/plugins -I./Source/WebCore/plugins/win -I./Source/WebCore/rendering -I./Source/WebCore/rendering/mathml -I./Source/WebCore/rendering/style -I./Source/WebCore/rendering/svg -I./Source/WebCore/storage -I./Source/WebCore/svg -I./Source/WebCore/svg/animatio n -I./Source/WebCore/svg/graphics -I./Source/WebCore/svg/graphics/filters -I./Source/WebCore/svg/properties -I./Source/WebCore/testing -I./Source/WebCore/testing/js -I./Source/WebCore/webaudio -I./Source/WebCore/websockets -I./Source/WebCore/workers -I./Source/WebCore/xml -I./Source/WebCore/xml/parser -I./WebCore/bindings/js -I./DerivedSources/WebCore -I./DerivedSources -I./DerivedSources/JavaScriptCore -DDATA_DIR=\"/usr/share\" -DENABLE_CHANNEL_MESSAGING=1 -DENABLE_METER_TAG=1 -DENABLE_PROGRESS_TAG=1 -DENABLE_JAVASCRIPT_DEBUGGER=1 -DENABLE_GAMEPAD=0 -DENABLE_SQL_DATABASE=1 -DENABLE_DATALIST=1 -DENABLE_DIRECTORY_UPLOAD=0 -DENABLE_TOUCH_ICON_LOADING=0 -DENABLE_INPUT_COLOR=0 -DENABLE_INPUT_SPEECH=0 -DENABLE_ICONDATABASE=1 -DENABLE_VIDEO=1 -DENABLE_MEDIA_SOURCE=0 -DENABLE_MEDIA_STATISTICS=0 -DENABLE_FULLSCREEN_API=1 -DENABLE_VIDEO_TRACK=0 -DENABLE_MEDIA_STREAM=0 -DENABLE_XSLT=1 -DENABLE_WORKERS=1 -DENABLE_SHADOW_DOM=1 -DENABLE_SHARED_WORKERS=1 -DENABLE_FILTERS=1 -DENABLE_MATHML=1 -DENABL E_SVG=1 -DENABLE_SVG_FONTS=1 -DENABLE_WEB_SOCKETS=1 -DENABLE_BLOB=1 -DENABLE_REQUEST_ANIMATION_FRAME=1 -DENABLE_WEBGL=1 -DWEBKITGTK_API_VERSION_STRING=\"1.0\" -DWTF_USE_SOUP=1 -I./Source/WebCore/accessibility/gtk -I./Source/WebCore/loader/gtk -I./Source/WebCore/page/gtk -I./Source/WebCore/platform/cairo -I./Source/WebCore/platform/audio/gstreamer -I./Source/WebCore/platform/graphics/cairo -I./Source/WebCore/platform/graphics/glx -I./Source/WebCore/platform/graphics/gstreamer -I./Source/WebCore/platform/graphics/gtk -I./Source/WebCore/platform/gtk -I./Source/WebCore/platform/network/soup -DWTF_USE_FREETYPE=1 -I./Source/WebCore/platform/graphics/freetype -I./Source -I./Source/JavaScriptCore -I./Source/JavaScriptCore/API -I./Source/JavaScriptCore/assembler -I./Source/JavaScriptCore/bytecode -I./Source/JavaScriptCore/bytecompiler -I./Source/JavaScriptCore/dfg -I./Source/JavaScriptCore/heap -I./Source/JavaScriptCore/debugger -I./Source/JavaScriptCore/ForwardingHeaders -I./Source/JavaScript Core/interpreter -I./Source/JavaScriptCore/jit -I./Source/JavaScriptCore/jit -I./Source/JavaScriptCore/parser -I./Source/JavaScriptCore/profiler -I./Source/JavaScriptCore/runtime -I./Source/JavaScriptCore/tools -I./Source/JavaScriptCore/wtf -I./Source/JavaScriptCore/wtf -I./Source/JavaScriptCore/wtf/gobject -I./Source/JavaScriptCore/wtf/gtk -I./Source/JavaScriptCore/wtf/text -I./Source/JavaScriptCore/wtf/unicode -I./Source/JavaScriptCore/yarr -I./DerivedSources/JavaScriptCore -I./Source/WTF -fno-strict-aliasing -I/srv/home/pokybuild/yocto-autobuilder/yocto-slave/nightly-world/build/build/tmp/sysroots/qemux86/usr/include/cairo -I/srv/home/pokybuild/yocto-autobuilder/yocto-slave/nightly-world/build/build/tmp/sysroots/qemux86/usr/include/glib-2.0 -I/srv/home/pokybuild/yocto-autobuilder/yocto-slave/nightly-world/build/build/tmp/sysroots/qemux86/usr/lib/glib-2.0/include -I/srv/home/pokybuild/yocto-autobuilder/yocto-slave/nightly-world/build/build/tmp/sysroots/qemux86/usr/include/pixman-1 - I/srv/home/pokybuild/yocto-autobuilder/yocto-slave/nightly-world/build/build/tmp/sysroots/qemux86/usr/include/freetype2 -I/srv/home/pokybuild/yocto-autobuilder/yocto-slave/nightly-world/build/build/tmp/sysroots/qemux86/usr/include/libpng12 -pthread -I/srv/home/pokybuild/yocto-autobuilder/yocto-slave/nightly-world/build/build/tmp/sysroots/qemux86/usr/include/enchant -I/srv/home/pokybuild/yocto-autobuilder/yocto-slave/nightly-world/build/build/tmp/sysroots/qemux86/usr/include/glib-2.0 -I/srv/home/pokybuild/yocto-autobuilder/yocto-slave/nightly-world/build/build/tmp/sysroots/qemux86/usr/lib/glib-2.0/include -pthread -I/srv/home/pokybuild/yocto-autobuilder/yocto-slave/nightly-world/build/build/tmp/sysroots/qemux86/usr/include/glib-2.0 -I/srv/home/pokybuild/yocto-autobuilder/yocto-slave/nightly-world/build/build/tmp/sysroots/qemux86/usr/lib/glib-2.0/include -pthread -I/srv/home/pokybuild/yocto-autobuilder/yocto-slave/nightly-world/build/build/tmp/sysroots/qemux86/usr/include/gstreamer-0.10 -I/srv/home/pokybuild/yocto-autobuilder/yocto-slave/nightly-world/build/build/tmp/sysroots/qemux86/usr/include/glib-2.0 -I/srv/home/pokybuild/yocto-autobuilder/yocto-slave/nightly-world/build/build/tmp/sysroots/qemux86/usr/lib/glib-2.0/include -I/srv/home/pokybuild/yocto-autobuilder/yocto-slave/nightly-world/build/build/tmp/sysroots/qemux86/usr/include/libxml2 -pthread -I/srv/home/pokybuild/yocto-autobuilder/yocto-slave/nightly-world/build/build/tmp/sysroots/qemux86/usr/include/libsoup-2.4 -I/srv/home/pokybuild/yocto-autobuilder/yocto-slave/nightly-world/build/build/tmp/sysroots/qemux86/usr/include/libxml2 -I/srv/home/pokybuild/yocto-autobuilder/yocto-slave/nightly-world/build/build/tmp/sysroots/qemux86/usr/include/glib-2.0 -I/srv/home/pokybuild/yocto-autobuilder/yocto-slave/nightly-world/build/build/tmp/sysroots/qemux86/usr/lib/glib-2.0/include -I/srv/home/pokybuild/yocto-autobuilder/yocto-slave/nightly-world/build/build/tmp/sysroots/qemux86/usr/include/libxml2 -I/srv/home/pokybuild /yocto-autobuilder/yocto-slave/nightly-world/build/build/tmp/sysroots/qemux86/usr/include/libxml2 -pthread -I/srv/home/pokybuild/yocto-autobuilder/yocto-slave/nightly-world/build/build/tmp/sysroots/qemux86/usr/include/pango-1.0 -I/srv/home/pokybuild/yocto-autobuilder/yocto-slave/nightly-world/build/build/tmp/sysroots/qemux86/usr/include/glib-2.0 -I/srv/home/pokybuild/yocto-autobuilder/yocto-slave/nightly-world/build/build/tmp/sysroots/qemux86/usr/lib/glib-2.0/include -I/srv/home/pokybuild/yocto-autobuilder/yocto-slave/nightly-world/build/build/tmp/sysroots/qemux86/usr/include/freetype2 -D_REENTRANT -fvisibility-inlines-hidden -fno-rtti -O2 -pipe -g -feliminate-unused-debug-types -fpermissive -fvisibility-inlines-hidden -Wno-c++0x-compat -O2 -MT Source/WebCore/bridge/libWebCore_la-runtime_root.lo -MD -MP -MF Source/WebCore/bridge/.deps/libWebCore_la-runtime_root.Tpo -c Source/WebCore/bridge/runtime_root.cpp -fPIC -DPIC -o Source/WebCore/bridge/.libs/libWebCore_la-runtime_root.o
Quoted 30 lines
| In file included from ./Source/WebCore/dom/EventTarget.h:35:0, | from ./Source/WebCore/dom/Node.h:29, | from ./Source/WebCore/editing/VisiblePosition.h:30, | from ./Source/WebCore/accessibility/AccessibilityObject.h:35, | from ./Source/WebCore/accessibility/AXObjectCache.h:29, | from ./Source/WebCore/page/ChromeClient.h:24, | from Source/WebKit/gtk/WebCoreSupport/ChromeClientGtk.h:24, | from Source/WebKit/gtk/WebCoreSupport/ChromeClientGtk.cpp:26: | ./Source/WebCore/dom/EventListenerMap.h:55:56: error: 'EventListener_3_6' was not declared in this scope | ./Source/WebCore/dom/EventListenerMap.h:55:69: error: template argument 1 is invalid | ./Source/WebCore/dom/EventListenerMap.h:56:48: error: 'EventListener_3_6' has not been declared | In file included from ./Source/WebCore/dom/EventTarget.h:35:0, | from ./Source/WebCore/dom/Node.h:29, | from ./Source/WebCore/editing/VisiblePosition.h:30, | from ./Source/WebCore/accessibility/AccessibilityObject.h:35, | from ./Source/WebCore/accessibility/AXObjectCache.h:29, | from ./Source/WebCore/page/ChromeClient.h:24, | from Source/WebKit/gtk/WebCoreSupport/ChromeClientGtk.h:24, | from Source/WebKit/gtk/WebCoreSupport/ChromeClientGtk.cpp:26: | ./Source/WebCore/dom/EventListenerMap.h:94:5: error: 'EventListener_3_6' does not name a type | In file included from ./Source/WebCore/dom/Node.h:29:0, | from ./Source/WebCore/editing/VisiblePosition.h:30, | from ./Source/WebCore/accessibility/AccessibilityObject.h:35, | from ./Source/WebCore/accessibility/AXObjectCache.h:29, | from ./Source/WebCore/page/ChromeClient.h:24, | from Source/WebKit/gtk/WebCoreSupport/ChromeClientGtk.h:24, | from Source/WebKit/gtk/WebCoreSupport/ChromeClientGtk.cpp:26: | ./Source/WebCore/dom/EventTarget.h: In member function 'void WebCore::EventTarget::visitJSEventListeners(JSC::SlotVisitor&)': | ./Source/WebCore/dom/EventTarget.h:190:51: error: 'class WebCore::EventListenerIterator' has no member named 'nextListener' | ./Source/WebCore/dom/EventTarget.h:191:21: error: invalid use of incomplete type 'class WebCore::EventListener_3_6'
Quoted 8 lines
| In file included from ./Source/WebCore/dom/Node.h:29:0, | from ./Source/WebCore/editing/VisiblePosition.h:30, | from ./Source/WebCore/accessibility/AccessibilityObject.h:35, | from ./Source/WebCore/accessibility/AXObjectCache.h:29, | from ./Source/WebCore/page/ChromeClient.h:24, | from Source/WebKit/gtk/WebCoreSupport/ChromeClientGtk.h:24, | from Source/WebKit/gtk/WebCoreSupport/ChromeClientGtk.cpp:26: | ./Source/WebCore/dom/EventTarget.h:48:11: error: forward declaration of 'class WebCore::EventListener_3_6'
Not sure what exactly is happening.
Please look into this.
Thanks
Sau!
Quoted 106 lines
Signed-off-by Chen Qi <[email protected]>--- .../icu/files/icu-add-pkgconfig-support.patch | 43 ++++++++++++++++++++ meta/recipes-support/icu/icu-3.6.inc | 11 +++++ meta/recipes-support/icu/icu_3.6.bb | 2 +- 3 files changed, 55 insertions(+), 1 deletion(-)create mode 100644
meta/recipes-support/icu/files/icu-add-pkgconfig-support.patchmeta/recipes-support/icu/files/icu-add-pkgconfig-support.patch new file +43
-0@@ -0,0 +1,43 @@ +Upstream-Status: Inappropriate [version] +ICU-3.6 has no pkgconfig, so I add it here. +But ICU has had pkgconfig support since 4.6. +So this patch is inappropriate to upstream. + +Signed-off-by: Chen Qi <[email protected]> + +Index: configure.in +============================================================= +--- a/configure.in ++++ b/configure.in +@@ -1057,4 +1057,7 @@ echo "This may cause ICU to fail to build. Please make sure that GNU make" + echo "is in your PATH so that this configure script can detect its location." + fi + ++AC_CONFIG_FILES([icu.pc]) ++AC_OUTPUT ++ + $as_unset _CXX_CXXSUFFIX + +Index: icu.pc.in +============================================================= +--- /dev/null ++++ b/icu.pc.in +@@ -0,0 +1,15 @@ ++# Process this file with autoconf to produce a pkg-config metadata file. ++ ++prefix=@prefix@ ++exec_prefix=@exec_prefix@ ++libdir=@libdir@ ++includedir=@includedir@ ++unicode_version=@UNICODE_VERSION@ ++ ++Name: ICU ++Description: International Component for Unicode libraries ++Requires: ++Version: @VERSION@ ++Libs: -L${libdir} -licui18n -licuuc -licudata ++Libs.private: -L{libdir} -lpthread -lm ++Cflags: -I${includedir} -O2 -pipe -g -feliminate-unused-debug-types +-- +1.7.11.2 +meta/recipes-support/icu/icu-3.6.inc +11
-0@@ -7,6 +7,7 @@ BASE_SRC_URI = "ftp://ftp.software.ibm.com/software/globalization/icu/3.6/icu4c- file://fix-parallel-build.patch \ file://use-g++-for-linking.patch \ file://larger-cmd-size.patch \ + file://icu-add-pkgconfig-support.patch \ " SRC_URI = "${BASE_SRC_URI} \ file://noldlibpath.patch \@@ -28,6 +29,12 @@ inherit autotools pkgconfig binconfig do_configure() { libtoolize --force gnu-configize --force + if [ "${PN}" != "icu-native" ]; then + OLD=`pwd` + cd ${S} + autoconf + cd ${OLD} + fi oe_runconf if [ "${PN}" != "icu-native" ]; then # In the non-native case we need to make substitutions to use@@ -45,6 +52,10 @@ do_compile() { do_install_append() { chmod +x ${D}${libdir}/lib* + if [ "${PN}" != "icu-native" ]; then + install -d ${D}/${libdir}/pkgconfig + install -m 0644 ${S}/icu.pc ${D}/${libdir}/pkgconfig + fi } PACKAGES =+ "libicudata libicuuc libicui18n libicule libiculx libicutu libicuio"meta/recipes-support/icu/icu_3.6.bb +1
-1@@ -1,6 +1,6 @@ require icu-3.6.inc -PR = "r9" +PR = "r10" SRC_URI[md5sum] = "6243f7a19e03e05403ce84e597510d4c" SRC_URI[sha256sum] = "5135e8d69d6206d320515df7aeee7027711ab1aef9d8dbf29571a97a9746b041"
Re: [PATCH 2/4] ICU: add pkgconfig support
Quoted 436 lines · Saul Wold
Quoted 6 lines · On 12/04/2012 12:46 AM, [email protected] wrote:
From: Chen Qi <[email protected]>
Add pkgconfig support to ICU.
[YOCTO #2453]
This patch seems to have introduced a problem with webkit-gtk
Quoted 10 lines
| mv -f Source/WebKit/gtk/WebCoreSupport/.deps/libwebkitgtk_1_0_la-AcceleratedCompositingContextClutter.Tpo Source/WebKit/gtk/WebCoreSupport/.deps/libwebkitgtk_1_0_la-AcceleratedCompositingContextClutter.Plo
| ./i586-poky-linux-libtool --tag=CXX --mode=compile
i586-poky-linux-g++ -m32 -march=i586
--sysroot=/srv/home/pokybuild/yocto-autobuilder/yocto-slave/nightly-world/build/build/tmp/sysroots/qemux86(quoted diff) +0
-3-DHAVE_CONFIG_H -I. -DBUILDING_WEBKIT -Wall -W -Wcast-align -Wchar-subscripts -Wreturn-type -Wformat -Wformat-security -Wno-format-y2k -Wundef -Wmissing-format-attribute -Wpointer-arithReview
Quoted 10 lines
(quoted diff) +0
-10-Wwrite-strings -Wno-unused-parameter -Wno-parentheses -fno-exceptions -DENABLE_GLIB_SUPPORT=1 -DBUILDING_CAIRO__=1 -DBUILDING_GTK__=1 -DWTF_CHANGES -DXP_UNIX -DWTF_USE_ICU_UNICODE=1 -DWTF_USE_GSTREAMER=1 -DGTK_API_VERSION_2=1 -DNDEBUG -I./Source/ThirdParty/ANGLE/src -I./Source/ThirdParty/ANGLE/include -I./Source/ThirdParty/ANGLE/include/GLSLANG -I./Source/WebCore -I./Source/WebCore/accessibility -I./Source/WebCore/bindings -I./Source/WebCore/bindings/generic -I./Source/WebCore/bindings/js -I./Source/WebCore/bindings/js/specialization -I./Source/WebCore/bridge -I./Source/WebCore/bridge/c -I./Source/WebCore/bridge/jni/jsc -I./Source/WebCore/bridge/jsc
(quoted diff) +0
-17-I./Source/WebCore/css -I./Source/WebCore/dom -I./Source/WebCore/dom/default -I./Source/WebCore/editing -I./Source/WebCore/fileapi -I./Source/WebCore/history -I./Source/WebCore/html -I./Source/WebCore/html/canvas -I./Source/WebCore/html/parser -I./Source/WebCore/html/shadow -I./Source/WebCore/html/track -I./Source/WebCore/inspector -I./Source/WebCore/loader -I./Source/WebCore/loader/appcache -I./Source/WebCore/loader/archive -I./Source/WebCore/loader/cache -I./Source/WebCore/loader/icon -I./Source/WebCore/mathml -I./Source/WebCore/mediastream -I./Source/WebCore/notifications -I./Source/WebCore/page -I./Source/WebCore/page/animation -I./Source/WebCore/page/scrolling -I./Source/WebCore/platform -I./Source/WebCore/platform/animation -I./Source/WebCore/platform/audio -I./Source/WebCore/platform/graphics -I./Source/WebCore/platform/graphics/filters -I./Source/WebCore/platform/graphics/filters/arm -I./Source/WebCore/platform/graphics/gpu -I./Source/WebCore/platform/graphics/opengl
(quoted diff) +0
-36-I./Source/WebCore/platform/graphics/opentype -I./Source/WebCore/platform/graphics/transforms -I./Source/WebCore/platform/image-decoders -I./Source/WebCore/platform/image-decoders/bmp -I./Source/WebCore/platform/image-decoders/gif -I./Source/WebCore/platform/image-decoders/ico -I./Source/WebCore/platform/image-decoders/jpeg -I./Source/WebCore/platform/image-decoders/webp -I./Source/WebCore/platform/image-decoders/png -I./Source/WebCore/platform/leveldb -I./Source/WebCore/platform/mediastream -I./Source/WebCore/platform/mock -I./Source/WebCore/platform/network -I./Source/WebCore/platform/sql -I./Source/WebCore/platform/text -I./Source/WebCore/platform/text/transcoder -I./Source/WebCore/platform/win -I./Source/WebCore/plugins -I./Source/WebCore/plugins/win -I./Source/WebCore/rendering -I./Source/WebCore/rendering/mathml -I./Source/WebCore/rendering/style -I./Source/WebCore/rendering/svg -I./Source/WebCore/storage -I./Source/WebCore/svg -I./Source/WebCore/svg/animation -I./Source/WebCore/svg/graphics -I./Source/WebCore/svg/graphics/filters -I./Source/WebCore/svg/properties -I./Source/WebCore/testing -I./Source/WebCore/testing/js -I./Source/WebCore/webaudio -I./Source/WebCore/websockets -I./Source/WebCore/workers -I./Source/WebCore/xml -I./Source/WebCore/xml/parser -I./WebCore/bindings/js -I./DerivedSources/WebCore -I./DerivedSources -I./DerivedSources/JavaScriptCore -DDATA_DIR=\"/usr/share\" -DENABLE_CHANNEL_MESSAGING=1 -DENABLE_METER_TAG=1 -DENABLE_PROGRESS_TAG=1 -DENABLE_JAVASCRIPT_DEBUGGER=1 -DENABLE_GAMEPAD=0 -DENABLE_SQL_DATABASE=1 -DENABLE_DATALIST=1 -DENABLE_DIRECTORY_UPLOAD=0 -DENABLE_TOUCH_ICON_LOADING=0 -DENABLE_INPUT_COLOR=0 -DENABLE_INPUT_SPEECH=0 -DENABLE_ICONDATABASE=1 -DENABLE_VIDEO=1 -DENABLE_MEDIA_SOURCE=0 -DENABLE_MEDIA_STATISTICS=0 -DENABLE_FULLSCREEN_API=1 -DENABLE_VIDEO_TRACK=0 -DENABLE_MEDIA_STREAM=0 -DENABLE_XSLT=1 -DENABLE_WORKERS=1 -DENABLE_SHADOW_DOM=1 -DENABLE_SHARED_WORKERS=1 -DENABLE_FILTERS=1 -DENABLE_MATHML=1 -DENABLE_SVG=1
(quoted diff) +0
-16-DENABLE_SVG_FONTS=1 -DENABLE_WEB_SOCKETS=1 -DENABLE_BLOB=1 -DENABLE_REQUEST_ANIMATION_FRAME=1 -DENABLE_WEBGL=1 -DWEBKITGTK_API_VERSION_STRING=\"1.0\" -DWTF_USE_SOUP=1 -I./Source/WebCore/accessibility/gtk -I./Source/WebCore/loader/gtk -I./Source/WebCore/page/gtk -I./Source/WebCore/platform/cairo -I./Source/WebCore/platform/audio/gstreamer -I./Source/WebCore/platform/graphics/cairo -I./Source/WebCore/platform/graphics/glx -I./Source/WebCore/platform/graphics/gstreamer -I./Source/WebCore/platform/graphics/gtk -I./Source/WebCore/platform/gtk -I./Source/WebCore/platform/network/soup -DWTF_USE_FREETYPE=1 -I./Source/WebCore/platform/graphics/freetype -I./Source -I./Source/JavaScriptCore -I./Source/JavaScriptCore/API -I./Source/JavaScriptCore/assembler -I./Source/JavaScriptCore/bytecode -I./Source/JavaScriptCore/bytecompiler -I./Source/JavaScriptCore/dfg -I./Source/JavaScriptCore/heap -I./Source/JavaScriptCore/debugger -I./Source/JavaScriptCore/ForwardingHeaders
(quoted diff) +0
-12-I./Source/JavaScriptCore/interpreter -I./Source/JavaScriptCore/jit -I./Source/JavaScriptCore/jit -I./Source/JavaScriptCore/parser -I./Source/JavaScriptCore/profiler -I./Source/JavaScriptCore/runtime -I./Source/JavaScriptCore/tools -I./Source/JavaScriptCore/wtf -I./Source/JavaScriptCore/wtf -I./Source/JavaScriptCore/wtf/gobject -I./Source/JavaScriptCore/wtf/gtk -I./Source/JavaScriptCore/wtf/text -I./Source/JavaScriptCore/wtf/unicode -I./Source/JavaScriptCore/yarr -I./DerivedSources/JavaScriptCore -I./Source/WTF -fno-strict-aliasing -I/srv/home/pokybuild/yocto-autobuilder/yocto-slave/nightly-world/build/build/tmp/sysroots/qemux86/usr/include/cairo -I/srv/home/pokybuild/yocto-autobuilder/yocto-slave/nightly-world/build/build/tmp/sysroots/qemux86/usr/include/glib-2.0 -I/srv/home/pokybuild/yocto-autobuilder/yocto-slave/nightly-world/build/build/tmp/sysroots/qemux86/usr/lib/glib-2.0/include -I/srv/home/pokybuild/yocto-autobuilder/yocto-slave/nightly-world/build/build/tmp/sysroots/qemux86/usr/include/pixman-1
(quoted diff) +0
-10-I/srv/home/pokybuild/yocto-autobuilder/yocto-slave/nightly-world/build/build/tmp/sysroots/qemux86/usr/include/freetype2 -I/srv/home/pokybuild/yocto-autobuilder/yocto-slave/nightly-world/build/build/tmp/sysroots/qemux86/usr/include/libpng12 -pthread -I/srv/home/pokybuild/yocto-autobuilder/yocto-slave/nightly-world/build/build/tmp/sysroots/qemux86/usr/include/enchant -I/srv/home/pokybuild/yocto-autobuilder/yocto-slave/nightly-world/build/build/tmp/sysroots/qemux86/usr/include/glib-2.0 -I/srv/home/pokybuild/yocto-autobuilder/yocto-slave/nightly-world/build/build/tmp/sysroots/qemux86/usr/lib/glib-2.0/include -pthread -I/srv/home/pokybuild/yocto-autobuilder/yocto-slave/nightly-world/build/build/tmp/sysroots/qemux86/usr/include/glib-2.0 -I/srv/home/pokybuild/yocto-autobuilder/yocto-slave/nightly-world/build/build/tmp/sysroots/qemux86/usr/lib/glib-2.0/include -pthread -I/srv/home/pokybuild/yocto-autobuilder/yocto-slave/nightly-world/build/build/tmp/sysroots/qemux86/usr/include/gstreamer-0.10
(quoted diff) +0
-9-I/srv/home/pokybuild/yocto-autobuilder/yocto-slave/nightly-world/build/build/tmp/sysroots/qemux86/usr/include/glib-2.0 -I/srv/home/pokybuild/yocto-autobuilder/yocto-slave/nightly-world/build/build/tmp/sysroots/qemux86/usr/lib/glib-2.0/include -I/srv/home/pokybuild/yocto-autobuilder/yocto-slave/nightly-world/build/build/tmp/sysroots/qemux86/usr/include/libxml2 -pthread -I/srv/home/pokybuild/yocto-autobuilder/yocto-slave/nightly-world/build/build/tmp/sysroots/qemux86/usr/include/libsoup-2.4 -I/srv/home/pokybuild/yocto-autobuilder/yocto-slave/nightly-world/build/build/tmp/sysroots/qemux86/usr/include/libxml2 -I/srv/home/pokybuild/yocto-autobuilder/yocto-slave/nightly-world/build/build/tmp/sysroots/qemux86/usr/include/glib-2.0 -I/srv/home/pokybuild/yocto-autobuilder/yocto-slave/nightly-world/build/build/tmp/sysroots/qemux86/usr/lib/glib-2.0/include -I/srv/home/pokybuild/yocto-autobuilder/yocto-slave/nightly-world/build/build/tmp/sysroots/qemux86/usr/include/libxml2
(quoted diff) +0
-9-I/srv/home/pokybuild/yocto-autobuilder/yocto-slave/nightly-world/build/build/tmp/sysroots/qemux86/usr/include/libxml2 -pthread -I/srv/home/pokybuild/yocto-autobuilder/yocto-slave/nightly-world/build/build/tmp/sysroots/qemux86/usr/include/pango-1.0 -I/srv/home/pokybuild/yocto-autobuilder/yocto-slave/nightly-world/build/build/tmp/sysroots/qemux86/usr/include/glib-2.0 -I/srv/home/pokybuild/yocto-autobuilder/yocto-slave/nightly-world/build/build/tmp/sysroots/qemux86/usr/lib/glib-2.0/include -I/srv/home/pokybuild/yocto-autobuilder/yocto-slave/nightly-world/build/build/tmp/sysroots/qemux86/usr/include/freetype2 -D_REENTRANT -fvisibility-inlines-hidden -fno-rtti -O2 -pipe -g -feliminate-unused-debug-types -fpermissive -fvisibility-inlines-hidden -Wno-c++0x-compat -O2 -MTSource/WebCore/bridge/libWebCore_la-runtime_root.lo -MD -MP -MF Source/WebCore/bridge/.deps/libWebCore_la-runtime_root.Tpo -c -o Source/WebCore/bridge/
libWebCore_la-runtime_root.lotest -f 'Source/WebCore/bridge/runtime_root.cpp' || echo './'Source/WebCore/bridge/runtime_root.cppQuoted 7 lines
| i586-poky-linux-libtool: compile: i586-poky-linux-g++ -m32
(quoted diff) +0
-6-march=i586 --sysroot=/srv/home/pokybuild/yocto-autobuilder/yocto-slave/nightly-world/build/build/tmp/sysroots/qemux86 -DHAVE_CONFIG_H -I. -DBUILDING_WEBKIT -Wall -W -Wcast-align -Wchar-subscripts -Wreturn-type -Wformat -Wformat-security -Wno-format-y2k -Wundef -Wmissing-format-attribute -Wpointer-arith -Wwrite-strings -Wno-unused-parameter -Wno-parentheses -fno-exceptionsReview
Quoted 10 lines
(quoted diff) +0
-10-DENABLE_GLIB_SUPPORT=1 -DBUILDING_CAIRO__=1 -DBUILDING_GTK__=1 -DWTF_CHANGES -DXP_UNIX -DWTF_USE_ICU_UNICODE=1 -DWTF_USE_GSTREAMER=1 -DGTK_API_VERSION_2=1 -DNDEBUG -I./Source/ThirdParty/ANGLE/src -I./Source/ThirdParty/ANGLE/include -I./Source/ThirdParty/ANGLE/include/GLSLANG -I./Source/WebCore -I./Source/WebCore/accessibility -I./Source/WebCore/bindings -I./Source/WebCore/bindings/generic -I./Source/WebCore/bindings/js -I./Source/WebCore/bindings/js/specialization -I./Source/WebCore/bridge -I./Source/WebCore/bridge/c -I./Source/WebCore/bridge/jni/jsc -I./Source/WebCore/bridge/jsc -I./Source/WebCore/css
(quoted diff) +0
-16-I./Source/WebCore/dom -I./Source/WebCore/dom/default -I./Source/WebCore/editing -I./Source/WebCore/fileapi -I./Source/WebCore/history -I./Source/WebCore/html -I./Source/WebCore/html/canvas -I./Source/WebCore/html/parser -I./Source/WebCore/html/shadow -I./Source/WebCore/html/track -I./Source/WebCore/inspector -I./Source/WebCore/loader -I./Source/WebCore/loader/appcache -I./Source/WebCore/loader/archive -I./Source/WebCore/loader/cache -I./Source/WebCore/loader/icon -I./Source/WebCore/mathml -I./Source/WebCore/mediastream -I./Source/WebCore/notifications -I./Source/WebCore/page -I./Source/WebCore/page/animation -I./Source/WebCore/page/scrolling -I./Source/WebCore/platform -I./Source/WebCore/platform/animation -I./Source/WebCore/platform/audio -I./Source/WebCore/platform/graphics -I./Source/WebCore/platform/graphics/filters -I./Source/WebCore/platform/graphics/filters/arm -I./Source/WebCore/platform/graphics/gpu -I./Source/WebCore/platform/graphics/opengl -I./Source/WebCore/platform/graphics/opentype
(quoted diff) +0
-18-I./Source/WebCore/platform/graphics/transforms -I./Source/WebCore/platform/image-decoders -I./Source/WebCore/platform/image-decoders/bmp -I./Source/WebCore/platform/image-decoders/gif -I./Source/WebCore/platform/image-decoders/ico -I./Source/WebCore/platform/image-decoders/jpeg -I./Source/WebCore/platform/image-decoders/webp -I./Source/WebCore/platform/image-decoders/png -I./Source/WebCore/platform/leveldb -I./Source/WebCore/platform/mediastream -I./Source/WebCore/platform/mock -I./Source/WebCore/platform/network -I./Source/WebCore/platform/sql -I./Source/WebCore/platform/text -I./Source/WebCore/platform/text/transcoder -I./Source/WebCore/platform/win -I./Source/WebCore/plugins -I./Source/WebCore/plugins/win -I./Source/WebCore/rendering -I./Source/WebCore/rendering/mathml -I./Source/WebCore/rendering/style -I./Source/WebCore/rendering/svg -I./Source/WebCore/storage -I./Source/WebCore/svg -I./Source/WebCore/svg/animation -I./Source/WebCore/svg/graphics
(quoted diff) +0
-16-I./Source/WebCore/svg/graphics/filters -I./Source/WebCore/svg/properties -I./Source/WebCore/testing -I./Source/WebCore/testing/js -I./Source/WebCore/webaudio -I./Source/WebCore/websockets -I./Source/WebCore/workers -I./Source/WebCore/xml -I./Source/WebCore/xml/parser -I./WebCore/bindings/js -I./DerivedSources/WebCore -I./DerivedSources -I./DerivedSources/JavaScriptCore -DDATA_DIR=\"/usr/share\" -DENABLE_CHANNEL_MESSAGING=1 -DENABLE_METER_TAG=1 -DENABLE_PROGRESS_TAG=1 -DENABLE_JAVASCRIPT_DEBUGGER=1 -DENABLE_GAMEPAD=0 -DENABLE_SQL_DATABASE=1 -DENABLE_DATALIST=1 -DENABLE_DIRECTORY_UPLOAD=0 -DENABLE_TOUCH_ICON_LOADING=0 -DENABLE_INPUT_COLOR=0 -DENABLE_INPUT_SPEECH=0 -DENABLE_ICONDATABASE=1 -DENABLE_VIDEO=1 -DENABLE_MEDIA_SOURCE=0 -DENABLE_MEDIA_STATISTICS=0 -DENABLE_FULLSCREEN_API=1 -DENABLE_VIDEO_TRACK=0 -DENABLE_MEDIA_STREAM=0 -DENABLE_XSLT=1 -DENABLE_WORKERS=1 -DENABLE_SHADOW_DOM=1 -DENABLE_SHARED_WORKERS=1 -DENABLE_FILTERS=1 -DENABLE_MATHML=1 -DENABLE_SVG=1 -DENABLE_SVG_FONTS=1 -DENABLE_WEB_SOCKETS=1 -DENABLE_BLOB=1
(quoted diff) +0
-16-DENABLE_REQUEST_ANIMATION_FRAME=1 -DENABLE_WEBGL=1 -DWEBKITGTK_API_VERSION_STRING=\"1.0\" -DWTF_USE_SOUP=1 -I./Source/WebCore/accessibility/gtk -I./Source/WebCore/loader/gtk -I./Source/WebCore/page/gtk -I./Source/WebCore/platform/cairo -I./Source/WebCore/platform/audio/gstreamer -I./Source/WebCore/platform/graphics/cairo -I./Source/WebCore/platform/graphics/glx -I./Source/WebCore/platform/graphics/gstreamer -I./Source/WebCore/platform/graphics/gtk -I./Source/WebCore/platform/gtk -I./Source/WebCore/platform/network/soup -DWTF_USE_FREETYPE=1 -I./Source/WebCore/platform/graphics/freetype -I./Source -I./Source/JavaScriptCore -I./Source/JavaScriptCore/API -I./Source/JavaScriptCore/assembler -I./Source/JavaScriptCore/bytecode -I./Source/JavaScriptCore/bytecompiler -I./Source/JavaScriptCore/dfg -I./Source/JavaScriptCore/heap -I./Source/JavaScriptCore/debugger -I./Source/JavaScriptCore/ForwardingHeaders -I./Source/JavaScriptCore/interpreter -I./Source/JavaScriptCore/jit
(quoted diff) +0
-12-I./Source/JavaScriptCore/jit -I./Source/JavaScriptCore/parser -I./Source/JavaScriptCore/profiler -I./Source/JavaScriptCore/runtime -I./Source/JavaScriptCore/tools -I./Source/JavaScriptCore/wtf -I./Source/JavaScriptCore/wtf -I./Source/JavaScriptCore/wtf/gobject -I./Source/JavaScriptCore/wtf/gtk -I./Source/JavaScriptCore/wtf/text -I./Source/JavaScriptCore/wtf/unicode -I./Source/JavaScriptCore/yarr -I./DerivedSources/JavaScriptCore -I./Source/WTF -fno-strict-aliasing -I/srv/home/pokybuild/yocto-autobuilder/yocto-slave/nightly-world/build/build/tmp/sysroots/qemux86/usr/include/cairo -I/srv/home/pokybuild/yocto-autobuilder/yocto-slave/nightly-world/build/build/tmp/sysroots/qemux86/usr/include/glib-2.0 -I/srv/home/pokybuild/yocto-autobuilder/yocto-slave/nightly-world/build/build/tmp/sysroots/qemux86/usr/lib/glib-2.0/include -I/srv/home/pokybuild/yocto-autobuilder/yocto-slave/nightly-world/build/build/tmp/sysroots/qemux86/usr/include/pixman-1 -I/srv/home/pokybuild/yocto-autobuilder/yocto-slave/nightly-world/build/build/tmp/sysroots/qemux86/usr/include/freetype2
(quoted diff) +0
-20-I/srv/home/pokybuild/yocto-autobuilder/yocto-slave/nightly-world/build/build/tmp/sysroots/qemux86/usr/include/libpng12 -pthread -I/srv/home/pokybuild/yocto-autobuilder/yocto-slave/nightly-world/build/build/tmp/sysroots/qemux86/usr/include/enchant -I/srv/home/pokybuild/yocto-autobuilder/yocto-slave/nightly-world/build/build/tmp/sysroots/qemux86/usr/include/glib-2.0 -I/srv/home/pokybuild/yocto-autobuilder/yocto-slave/nightly-world/build/build/tmp/sysroots/qemux86/usr/lib/glib-2.0/include -pthread -I/srv/home/pokybuild/yocto-autobuilder/yocto-slave/nightly-world/build/build/tmp/sysroots/qemux86/usr/include/glib-2.0 -I/srv/home/pokybuild/yocto-autobuilder/yocto-slave/nightly-world/build/build/tmp/sysroots/qemux86/usr/lib/glib-2.0/include -pthread -I/srv/home/pokybuild/yocto-autobuilder/yocto-slave/nightly-world/build/build/tmp/sysroots/qemux86/usr/include/gstreamer-0.10 -I/srv/home/pokybuild/yocto-autobuilder/yocto-slave/nightly-world/build/build/tmp/sysroots/qemux86/usr/include/glib-2.0 -I/srv/home/pokybuild/yocto-autobuilder/yocto-slave/nightly-world/build/build/tmp/sysroots/qemux86/usr/lib/glib-2.0/include -I/srv/home/pokybuild/yocto-autobuilder/yocto-slave/nightly-world/build/build/tmp/sysroots/qemux86/usr/include/libxml2 -pthread -I/srv/home/pokybuild/yocto-autobuilder/yocto-slave/nightly-world/build/build/tmp/sysroots/qemux86/usr/include/libsoup-2.4 -I/srv/home/pokybuild/yocto-autobuilder/yocto-slave/nightly-world/build/build/tmp/sysroots/qemux86/usr/include/libxml2 -I/srv/home/pokybuild/yocto-autobuilder/yocto-slave/nightly-world/build/build/tmp/sysroots/qemux86/usr/include/glib-2.0 -I/srv/home/pokybuild/yocto-autobuilder/yocto-slave/nightly-world/build/build/tmp/sysroots/qemux86/usr/lib/glib-2.0/include -I/srv/home/pokybuild/yocto-autobuilder/yocto-slave/nightly-world/build/build/tmp/sysroots/qemux86/usr/include/libxml2 -I/srv/home/pokybuild/yocto-autobuilder/yocto-slave/nightly-world/build/build/tmp/sysroots/qemux86/usr/include/libxml2
(quoted diff) +0
-8-pthread -I/srv/home/pokybuild/yocto-autobuilder/yocto-slave/nightly-world/build/build/tmp/sysroots/qemux86/usr/include/pango-1.0 -I/srv/home/pokybuild/yocto-autobuilder/yocto-slave/nightly-world/build/build/tmp/sysroots/qemux86/usr/include/glib-2.0 -I/srv/home/pokybuild/yocto-autobuilder/yocto-slave/nightly-world/build/build/tmp/sysroots/qemux86/usr/lib/glib-2.0/include -I/srv/home/pokybuild/yocto-autobuilder/yocto-slave/nightly-world/build/build/tmp/sysroots/qemux86/usr/include/freetype2 -D_REENTRANT -fvisibility-inlines-hidden -fno-rtti -O2 -pipe -g -feliminate-unused-debug-types -fpermissive -fvisibility-inlines-hidden -Wno-c++0x-compat -O2 -MTSource/WebCore/bridge/libWebCore_la-runtime_root.lo -MD -MP -MF Source/WebCore/bridge/.deps/libWebCore_la-runtime_root.Tpo -c Source/WebCore/bridge/runtime_root.cpp -fPIC -DPIC -o
Source/WebCore/bridge/.libs/libWebCore_la-runtime_root.oQuoted 57 lines
| In file included from ./Source/WebCore/dom/EventTarget.h:35:0, | from ./Source/WebCore/dom/Node.h:29, | from ./Source/WebCore/editing/VisiblePosition.h:30, | from ./Source/WebCore/accessibility/AccessibilityObject.h:35, | from ./Source/WebCore/accessibility/AXObjectCache.h:29, | from ./Source/WebCore/page/ChromeClient.h:24, | from
Source/WebKit/gtk/WebCoreSupport/ChromeClientGtk.h:24,
| from
Source/WebKit/gtk/WebCoreSupport/ChromeClientGtk.cpp:26:
|./Source/WebCore/dom/EventListenerMap.h:55:56: error:
'EventListener_3_6' was not declared in this scope
|./Source/WebCore/dom/EventListenerMap.h:55:69: error: template argument 1 is invalid
|./Source/WebCore/dom/EventListenerMap.h:56:48: error:
'EventListener_3_6' has not been declared| In file included from ./Source/WebCore/dom/EventTarget.h:35:0, | from ./Source/WebCore/dom/Node.h:29, | from ./Source/WebCore/editing/VisiblePosition.h:30, | from ./Source/WebCore/accessibility/AccessibilityObject.h:35, | from ./Source/WebCore/accessibility/AXObjectCache.h:29, | from ./Source/WebCore/page/ChromeClient.h:24, | from
Source/WebKit/gtk/WebCoreSupport/ChromeClientGtk.h:24,
| from
Source/WebKit/gtk/WebCoreSupport/ChromeClientGtk.cpp:26:
|./Source/WebCore/dom/EventListenerMap.h:94:5: error:
'EventListener_3_6' does not name a type| In file included from ./Source/WebCore/dom/Node.h:29:0, | from ./Source/WebCore/editing/VisiblePosition.h:30, | from ./Source/WebCore/accessibility/AccessibilityObject.h:35, | from ./Source/WebCore/accessibility/AXObjectCache.h:29, | from ./Source/WebCore/page/ChromeClient.h:24, | from
Source/WebKit/gtk/WebCoreSupport/ChromeClientGtk.h:24,
| from
Source/WebKit/gtk/WebCoreSupport/ChromeClientGtk.cpp:26:
|./Source/WebCore/dom/EventTarget.h: In member function 'voidWebCore::EventTarget::visitJSEventListeners(JSC::SlotVisitor&)':
|./Source/WebCore/dom/EventTarget.h:190:51: error: 'classWebCore::EventListenerIterator' has no member named 'nextListener' |./Source/WebCore/dom/EventTarget.h:191:21: error: invalid use of incomplete type 'classWebCore::EventListener_3_6'| In file included from ./Source/WebCore/dom/Node.h:29:0, | from ./Source/WebCore/editing/VisiblePosition.h:30, | from ./Source/WebCore/accessibility/AccessibilityObject.h:35, | from ./Source/WebCore/accessibility/AXObjectCache.h:29, | from ./Source/WebCore/page/ChromeClient.h:24, | fromQuoted 5 lines
Source/WebKit/gtk/WebCoreSupport/ChromeClientGtk.h:24,
| from
Source/WebKit/gtk/WebCoreSupport/ChromeClientGtk.cpp:26:
|./Source/WebCore/dom/EventTarget.h:48:11: error: forward declaration of 'classWebCore::EventListener_3_6'Not sure what exactly is happening.
Please look into this.
Thanks
Sau!Quoted 80 lines
Signed-off-by Chen Qi <[email protected]>--- .../icu/files/icu-add-pkgconfig-support.patch | 43 ++++++++++++++++++++ meta/recipes-support/icu/icu-3.6.inc | 11 +++++ meta/recipes-support/icu/icu_3.6.bb | 2 +- 3 files changed, 55 insertions(+), 1 deletion(-)create mode 100644
meta/recipes-support/icu/files/icu-add-pkgconfig-support.patchdiff --git
a/meta/recipes-support/icu/files/icu-add-pkgconfig-support.patchb/meta/recipes-support/icu/files/icu-add-pkgconfig-support.patchnew file mode 100644
index 0000000..c7cd9d5meta/recipes-support/icu/files/icu-add-pkgconfig-support.patch new file +12
-0@@ -0,0 +1,43 @@ +Upstream-Status: Inappropriate [version] +ICU-3.6 has no pkgconfig, so I add it here. +But ICU has had pkgconfig support since 4.6. +So this patch is inappropriate to upstream. + +Signed-off-by: Chen Qi <[email protected]> + +Index: configure.in +============================================================= +--- a/configure.in ++++ b/configure.in +@@ -1057,4 +1057,7 @@ echo "This may cause ICU to fail to build.Please make sure that GNU make"
+ echo "is in your PATH so that this configure script can detect its location."
+ fimeta/recipes-support/icu/files/icu-add-pkgconfig-support.patch new file +12
-0+ ++AC_CONFIG_FILES([icu.pc]) ++AC_OUTPUT ++ + $as_unset _CXX_CXXSUFFIX + +Index: icu.pc.in +============================================================= +--- /dev/null ++++ b/icu.pc.in +@@ -0,0 +1,15 @@ ++# Process this file with autoconf to produce a pkg-config metadatafile.
++
++prefix=@prefix@
++exec_prefix=@exec_prefix@
++libdir=@libdir@
++includedir=@includedir@ ++unicode_version=@UNICODE_VERSION@
++
++Name: ICU
++Description: International Component for Unicode libraries ++Requires:
++Version: @VERSION@
++Libs: -L${libdir} -licui18n -licuuc -licudata ++Libs.private: -L{libdir} -lpthread -lm
++Cflags: -I${includedir} -O2 -pipe -g -feliminate-unused-debug-types
+--
+1.7.11.2meta/recipes-support/icu/files/icu-add-pkgconfig-support.patch new file +1
-0+meta/recipes-support/icu/icu-3.6.inc +0
-0@@ -7,6 +7,7 @@ BASE_SRC_URI ="ftp://ftp.software.ibm.com/software/globalization/icu/3.6/icu4c-
file://fix-parallel-build.patch \ file://use-g++-for-linking.patch \ file://larger-cmd-size.patch \meta/recipes-support/icu/icu-3.6.inc +1
-0+ file://icu-add-pkgconfig-support.patch \ " SRC_URI = "${BASE_SRC_URI} \ file://noldlibpath.patch \@@ -28,6 +29,12 @@ inherit autotools pkgconfig binconfig do_configure() {
Quoted 8 lines
meta/recipes-support/icu/icu-3.6.inc inherit autotools pkgconfig binconfig · line 37
Quoted 8 lines
meta/recipes-support/icu/icu-3.6.inc +6
-0libtoolize --force gnu-configize --force + if [ "${PN}" != "icu-native" ]; then + OLD=`pwd` + cd ${S} + autoconf + cd ${OLD} + fi
I had some time this morning to investigate this more deeply. What I found was that the ICU tarball was being delivered with a "configure" and that the do_configure was avoiding the "autoconf" conversion of configure.in -> configure. I am not sure if this is historical or if this is truly needed.
So by doing the autoconf above you changed the "configure" script, this in turn caused some configuration changes to occur in the platform.h file. Why these changed (particularly the U_HAVE_NAMESPACE define) then caused the ICU libraries to be built with different namespace.
So a couple of key questions that need to be resolved:
1) Will updating to 4.6 solve this issue, if not then we need to dive into 2 + 3 Below:
2) Why does icu tarball have a generated configure?
3) Why does the autoconf generated configure fail to configure things correctly?
Sau!
Quoted 37 lines
Quoted 28 lines
meta/recipes-support/icu/icu-3.6.inc +4
-0oe_runconf if [ "${PN}" != "icu-native" ]; then # In the non-native case we need to make substitutions to use@@ -45,6 +52,10 @@ do_compile() { do_install_append() { chmod +x ${D}${libdir}/lib* + if [ "${PN}" != "icu-native" ]; then + install -d ${D}/${libdir}/pkgconfig + install -m 0644 ${S}/icu.pc ${D}/${libdir}/pkgconfig + fi } PACKAGES =+ "libicudata libicuuc libicui18n libicule libiculxlibicutu libicuio"
meta/recipes-support/icu/icu_3.6.bb +1
-1@@ -1,6 +1,6 @@ require icu-3.6.inc -PR = "r9" +PR = "r10" SRC_URI[md5sum] = "6243f7a19e03e05403ce84e597510d4c" SRC_URI[sha256sum] =Quoted 2 lines
"
5135e8d69d6206d320515df7aeee7027711ab1aef9d8dbf29571a97a9746b041"_______________________________________________
Openembedded-core mailing list
[email protected]
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core
Re: [PATCH 2/4] ICU: add pkgconfig support
Quoted 520 lines · Saul Wold
Quoted 495 lines · Saul Wold
Quoted 7 lines · On 12/04/2012 12:46 AM, [email protected] wrote:
From: Chen Qi <[email protected]>
Add pkgconfig support to ICU.
[YOCTO #2453]
This patch seems to have introduced a problem with webkit-gtk
Quoted 13 lines
| mv -f
Source/WebKit/gtk/WebCoreSupport/.deps/libwebkitgtk_1_0_la-AcceleratedCompositingContextClutter.Tpo
Source/WebKit/gtk/WebCoreSupport/.deps/libwebkitgtk_1_0_la-AcceleratedCompositingContextClutter.Plo
| ./i586-poky-linux-libtool --tag=CXX --mode=compile
i586-poky-linux-g++ -m32 -march=i586--sysroot=/srv/home/pokybuild/yocto-autobuilder/yocto-slave/nightly-world/build/build/tmp/sysroots/qemux86
(quoted diff) +0
-3-DHAVE_CONFIG_H -I. -DBUILDING_WEBKIT -Wall -W -Wcast-align -Wchar-subscripts -Wreturn-type -Wformat -Wformat-security -Wno-format-y2k -Wundef -Wmissing-format-attribute -Wpointer-arithReview
Quoted 10 lines
(quoted diff) +0
-10-Wwrite-strings -Wno-unused-parameter -Wno-parentheses -fno-exceptions -DENABLE_GLIB_SUPPORT=1 -DBUILDING_CAIRO__=1 -DBUILDING_GTK__=1 -DWTF_CHANGES -DXP_UNIX -DWTF_USE_ICU_UNICODE=1 -DWTF_USE_GSTREAMER=1 -DGTK_API_VERSION_2=1 -DNDEBUG -I./Source/ThirdParty/ANGLE/src -I./Source/ThirdParty/ANGLE/include -I./Source/ThirdParty/ANGLE/include/GLSLANG -I./Source/WebCore -I./Source/WebCore/accessibility -I./Source/WebCore/bindings -I./Source/WebCore/bindings/generic -I./Source/WebCore/bindings/js -I./Source/WebCore/bindings/js/specialization -I./Source/WebCore/bridge -I./Source/WebCore/bridge/c -I./Source/WebCore/bridge/jni/jsc -I./Source/WebCore/bridge/jsc
(quoted diff) +0
-17-I./Source/WebCore/css -I./Source/WebCore/dom -I./Source/WebCore/dom/default -I./Source/WebCore/editing -I./Source/WebCore/fileapi -I./Source/WebCore/history -I./Source/WebCore/html -I./Source/WebCore/html/canvas -I./Source/WebCore/html/parser -I./Source/WebCore/html/shadow -I./Source/WebCore/html/track -I./Source/WebCore/inspector -I./Source/WebCore/loader -I./Source/WebCore/loader/appcache -I./Source/WebCore/loader/archive -I./Source/WebCore/loader/cache -I./Source/WebCore/loader/icon -I./Source/WebCore/mathml -I./Source/WebCore/mediastream -I./Source/WebCore/notifications -I./Source/WebCore/page -I./Source/WebCore/page/animation -I./Source/WebCore/page/scrolling -I./Source/WebCore/platform -I./Source/WebCore/platform/animation -I./Source/WebCore/platform/audio -I./Source/WebCore/platform/graphics -I./Source/WebCore/platform/graphics/filters -I./Source/WebCore/platform/graphics/filters/arm -I./Source/WebCore/platform/graphics/gpu -I./Source/WebCore/platform/graphics/opengl
(quoted diff) +0
-36-I./Source/WebCore/platform/graphics/opentype -I./Source/WebCore/platform/graphics/transforms -I./Source/WebCore/platform/image-decoders -I./Source/WebCore/platform/image-decoders/bmp -I./Source/WebCore/platform/image-decoders/gif -I./Source/WebCore/platform/image-decoders/ico -I./Source/WebCore/platform/image-decoders/jpeg -I./Source/WebCore/platform/image-decoders/webp -I./Source/WebCore/platform/image-decoders/png -I./Source/WebCore/platform/leveldb -I./Source/WebCore/platform/mediastream -I./Source/WebCore/platform/mock -I./Source/WebCore/platform/network -I./Source/WebCore/platform/sql -I./Source/WebCore/platform/text -I./Source/WebCore/platform/text/transcoder -I./Source/WebCore/platform/win -I./Source/WebCore/plugins -I./Source/WebCore/plugins/win -I./Source/WebCore/rendering -I./Source/WebCore/rendering/mathml -I./Source/WebCore/rendering/style -I./Source/WebCore/rendering/svg -I./Source/WebCore/storage -I./Source/WebCore/svg -I./Source/WebCore/svg/animation -I./Source/WebCore/svg/graphics -I./Source/WebCore/svg/graphics/filters -I./Source/WebCore/svg/properties -I./Source/WebCore/testing -I./Source/WebCore/testing/js -I./Source/WebCore/webaudio -I./Source/WebCore/websockets -I./Source/WebCore/workers -I./Source/WebCore/xml -I./Source/WebCore/xml/parser -I./WebCore/bindings/js -I./DerivedSources/WebCore -I./DerivedSources -I./DerivedSources/JavaScriptCore -DDATA_DIR=\"/usr/share\" -DENABLE_CHANNEL_MESSAGING=1 -DENABLE_METER_TAG=1 -DENABLE_PROGRESS_TAG=1 -DENABLE_JAVASCRIPT_DEBUGGER=1 -DENABLE_GAMEPAD=0 -DENABLE_SQL_DATABASE=1 -DENABLE_DATALIST=1 -DENABLE_DIRECTORY_UPLOAD=0 -DENABLE_TOUCH_ICON_LOADING=0 -DENABLE_INPUT_COLOR=0 -DENABLE_INPUT_SPEECH=0 -DENABLE_ICONDATABASE=1 -DENABLE_VIDEO=1 -DENABLE_MEDIA_SOURCE=0 -DENABLE_MEDIA_STATISTICS=0 -DENABLE_FULLSCREEN_API=1 -DENABLE_VIDEO_TRACK=0 -DENABLE_MEDIA_STREAM=0 -DENABLE_XSLT=1 -DENABLE_WORKERS=1 -DENABLE_SHADOW_DOM=1 -DENABLE_SHARED_WORKERS=1 -DENABLE_FILTERS=1 -DENABLE_MATHML=1 -DENABLE_SVG=1
(quoted diff) +0
-16-DENABLE_SVG_FONTS=1 -DENABLE_WEB_SOCKETS=1 -DENABLE_BLOB=1 -DENABLE_REQUEST_ANIMATION_FRAME=1 -DENABLE_WEBGL=1 -DWEBKITGTK_API_VERSION_STRING=\"1.0\" -DWTF_USE_SOUP=1 -I./Source/WebCore/accessibility/gtk -I./Source/WebCore/loader/gtk -I./Source/WebCore/page/gtk -I./Source/WebCore/platform/cairo -I./Source/WebCore/platform/audio/gstreamer -I./Source/WebCore/platform/graphics/cairo -I./Source/WebCore/platform/graphics/glx -I./Source/WebCore/platform/graphics/gstreamer -I./Source/WebCore/platform/graphics/gtk -I./Source/WebCore/platform/gtk -I./Source/WebCore/platform/network/soup -DWTF_USE_FREETYPE=1 -I./Source/WebCore/platform/graphics/freetype -I./Source -I./Source/JavaScriptCore -I./Source/JavaScriptCore/API -I./Source/JavaScriptCore/assembler -I./Source/JavaScriptCore/bytecode -I./Source/JavaScriptCore/bytecompiler -I./Source/JavaScriptCore/dfg -I./Source/JavaScriptCore/heap -I./Source/JavaScriptCore/debugger -I./Source/JavaScriptCore/ForwardingHeaders
(quoted diff) +0
-12-I./Source/JavaScriptCore/interpreter -I./Source/JavaScriptCore/jit -I./Source/JavaScriptCore/jit -I./Source/JavaScriptCore/parser -I./Source/JavaScriptCore/profiler -I./Source/JavaScriptCore/runtime -I./Source/JavaScriptCore/tools -I./Source/JavaScriptCore/wtf -I./Source/JavaScriptCore/wtf -I./Source/JavaScriptCore/wtf/gobject -I./Source/JavaScriptCore/wtf/gtk -I./Source/JavaScriptCore/wtf/text -I./Source/JavaScriptCore/wtf/unicode -I./Source/JavaScriptCore/yarr -I./DerivedSources/JavaScriptCore -I./Source/WTF -fno-strict-aliasing -I/srv/home/pokybuild/yocto-autobuilder/yocto-slave/nightly-world/build/build/tmp/sysroots/qemux86/usr/include/cairo -I/srv/home/pokybuild/yocto-autobuilder/yocto-slave/nightly-world/build/build/tmp/sysroots/qemux86/usr/include/glib-2.0 -I/srv/home/pokybuild/yocto-autobuilder/yocto-slave/nightly-world/build/build/tmp/sysroots/qemux86/usr/lib/glib-2.0/include -I/srv/home/pokybuild/yocto-autobuilder/yocto-slave/nightly-world/build/build/tmp/sysroots/qemux86/usr/include/pixman-1
(quoted diff) +0
-10-I/srv/home/pokybuild/yocto-autobuilder/yocto-slave/nightly-world/build/build/tmp/sysroots/qemux86/usr/include/freetype2 -I/srv/home/pokybuild/yocto-autobuilder/yocto-slave/nightly-world/build/build/tmp/sysroots/qemux86/usr/include/libpng12 -pthread -I/srv/home/pokybuild/yocto-autobuilder/yocto-slave/nightly-world/build/build/tmp/sysroots/qemux86/usr/include/enchant -I/srv/home/pokybuild/yocto-autobuilder/yocto-slave/nightly-world/build/build/tmp/sysroots/qemux86/usr/include/glib-2.0 -I/srv/home/pokybuild/yocto-autobuilder/yocto-slave/nightly-world/build/build/tmp/sysroots/qemux86/usr/lib/glib-2.0/include -pthread -I/srv/home/pokybuild/yocto-autobuilder/yocto-slave/nightly-world/build/build/tmp/sysroots/qemux86/usr/include/glib-2.0 -I/srv/home/pokybuild/yocto-autobuilder/yocto-slave/nightly-world/build/build/tmp/sysroots/qemux86/usr/lib/glib-2.0/include -pthread -I/srv/home/pokybuild/yocto-autobuilder/yocto-slave/nightly-world/build/build/tmp/sysroots/qemux86/usr/include/gstreamer-0.10
(quoted diff) +0
-9-I/srv/home/pokybuild/yocto-autobuilder/yocto-slave/nightly-world/build/build/tmp/sysroots/qemux86/usr/include/glib-2.0 -I/srv/home/pokybuild/yocto-autobuilder/yocto-slave/nightly-world/build/build/tmp/sysroots/qemux86/usr/lib/glib-2.0/include -I/srv/home/pokybuild/yocto-autobuilder/yocto-slave/nightly-world/build/build/tmp/sysroots/qemux86/usr/include/libxml2 -pthread -I/srv/home/pokybuild/yocto-autobuilder/yocto-slave/nightly-world/build/build/tmp/sysroots/qemux86/usr/include/libsoup-2.4 -I/srv/home/pokybuild/yocto-autobuilder/yocto-slave/nightly-world/build/build/tmp/sysroots/qemux86/usr/include/libxml2 -I/srv/home/pokybuild/yocto-autobuilder/yocto-slave/nightly-world/build/build/tmp/sysroots/qemux86/usr/include/glib-2.0 -I/srv/home/pokybuild/yocto-autobuilder/yocto-slave/nightly-world/build/build/tmp/sysroots/qemux86/usr/lib/glib-2.0/include -I/srv/home/pokybuild/yocto-autobuilder/yocto-slave/nightly-world/build/build/tmp/sysroots/qemux86/usr/include/libxml2
(quoted diff) +0
-9-I/srv/home/pokybuild/yocto-autobuilder/yocto-slave/nightly-world/build/build/tmp/sysroots/qemux86/usr/include/libxml2 -pthread -I/srv/home/pokybuild/yocto-autobuilder/yocto-slave/nightly-world/build/build/tmp/sysroots/qemux86/usr/include/pango-1.0 -I/srv/home/pokybuild/yocto-autobuilder/yocto-slave/nightly-world/build/build/tmp/sysroots/qemux86/usr/include/glib-2.0 -I/srv/home/pokybuild/yocto-autobuilder/yocto-slave/nightly-world/build/build/tmp/sysroots/qemux86/usr/lib/glib-2.0/include -I/srv/home/pokybuild/yocto-autobuilder/yocto-slave/nightly-world/build/build/tmp/sysroots/qemux86/usr/include/freetype2 -D_REENTRANT -fvisibility-inlines-hidden -fno-rtti -O2 -pipe -g -feliminate-unused-debug-types -fpermissive -fvisibility-inlines-hidden -Wno-c++0x-compat -O2 -MTSource/WebCore/bridge/libWebCore_la-runtime_root.lo -MD -MP -MF Source/WebCore/bridge/.deps/libWebCore_la-runtime_root.Tpo -c -o Source/WebCore/bridge/
libWebCore_la-runtime_root.lotest -f 'Source/WebCore/bridge/runtime_root.cpp' || echo './'Source/WebCore/bridge/runtime_root.cppQuoted 9 lines
| i586-poky-linux-libtool: compile: i586-poky-linux-g++ -m32
(quoted diff) +0
-6-march=i586 --sysroot=/srv/home/pokybuild/yocto-autobuilder/yocto-slave/nightly-world/build/build/tmp/sysroots/qemux86 -DHAVE_CONFIG_H -I. -DBUILDING_WEBKIT -Wall -W -Wcast-align -Wchar-subscripts -Wreturn-type -Wformat -Wformat-security -Wno-format-y2k -Wundef -Wmissing-format-attribute -Wpointer-arith -Wwrite-strings -Wno-unused-parameter -Wno-parentheses -fno-exceptionsReview
Quoted 10 lines
(quoted diff) +0
-10-DENABLE_GLIB_SUPPORT=1 -DBUILDING_CAIRO__=1 -DBUILDING_GTK__=1 -DWTF_CHANGES -DXP_UNIX -DWTF_USE_ICU_UNICODE=1 -DWTF_USE_GSTREAMER=1 -DGTK_API_VERSION_2=1 -DNDEBUG -I./Source/ThirdParty/ANGLE/src -I./Source/ThirdParty/ANGLE/include -I./Source/ThirdParty/ANGLE/include/GLSLANG -I./Source/WebCore -I./Source/WebCore/accessibility -I./Source/WebCore/bindings -I./Source/WebCore/bindings/generic -I./Source/WebCore/bindings/js -I./Source/WebCore/bindings/js/specialization -I./Source/WebCore/bridge -I./Source/WebCore/bridge/c -I./Source/WebCore/bridge/jni/jsc -I./Source/WebCore/bridge/jsc -I./Source/WebCore/css
(quoted diff) +0
-16-I./Source/WebCore/dom -I./Source/WebCore/dom/default -I./Source/WebCore/editing -I./Source/WebCore/fileapi -I./Source/WebCore/history -I./Source/WebCore/html -I./Source/WebCore/html/canvas -I./Source/WebCore/html/parser -I./Source/WebCore/html/shadow -I./Source/WebCore/html/track -I./Source/WebCore/inspector -I./Source/WebCore/loader -I./Source/WebCore/loader/appcache -I./Source/WebCore/loader/archive -I./Source/WebCore/loader/cache -I./Source/WebCore/loader/icon -I./Source/WebCore/mathml -I./Source/WebCore/mediastream -I./Source/WebCore/notifications -I./Source/WebCore/page -I./Source/WebCore/page/animation -I./Source/WebCore/page/scrolling -I./Source/WebCore/platform -I./Source/WebCore/platform/animation -I./Source/WebCore/platform/audio -I./Source/WebCore/platform/graphics -I./Source/WebCore/platform/graphics/filters -I./Source/WebCore/platform/graphics/filters/arm -I./Source/WebCore/platform/graphics/gpu -I./Source/WebCore/platform/graphics/opengl -I./Source/WebCore/platform/graphics/opentype
(quoted diff) +0
-18-I./Source/WebCore/platform/graphics/transforms -I./Source/WebCore/platform/image-decoders -I./Source/WebCore/platform/image-decoders/bmp -I./Source/WebCore/platform/image-decoders/gif -I./Source/WebCore/platform/image-decoders/ico -I./Source/WebCore/platform/image-decoders/jpeg -I./Source/WebCore/platform/image-decoders/webp -I./Source/WebCore/platform/image-decoders/png -I./Source/WebCore/platform/leveldb -I./Source/WebCore/platform/mediastream -I./Source/WebCore/platform/mock -I./Source/WebCore/platform/network -I./Source/WebCore/platform/sql -I./Source/WebCore/platform/text -I./Source/WebCore/platform/text/transcoder -I./Source/WebCore/platform/win -I./Source/WebCore/plugins -I./Source/WebCore/plugins/win -I./Source/WebCore/rendering -I./Source/WebCore/rendering/mathml -I./Source/WebCore/rendering/style -I./Source/WebCore/rendering/svg -I./Source/WebCore/storage -I./Source/WebCore/svg -I./Source/WebCore/svg/animation -I./Source/WebCore/svg/graphics
(quoted diff) +0
-16-I./Source/WebCore/svg/graphics/filters -I./Source/WebCore/svg/properties -I./Source/WebCore/testing -I./Source/WebCore/testing/js -I./Source/WebCore/webaudio -I./Source/WebCore/websockets -I./Source/WebCore/workers -I./Source/WebCore/xml -I./Source/WebCore/xml/parser -I./WebCore/bindings/js -I./DerivedSources/WebCore -I./DerivedSources -I./DerivedSources/JavaScriptCore -DDATA_DIR=\"/usr/share\" -DENABLE_CHANNEL_MESSAGING=1 -DENABLE_METER_TAG=1 -DENABLE_PROGRESS_TAG=1 -DENABLE_JAVASCRIPT_DEBUGGER=1 -DENABLE_GAMEPAD=0 -DENABLE_SQL_DATABASE=1 -DENABLE_DATALIST=1 -DENABLE_DIRECTORY_UPLOAD=0 -DENABLE_TOUCH_ICON_LOADING=0 -DENABLE_INPUT_COLOR=0 -DENABLE_INPUT_SPEECH=0 -DENABLE_ICONDATABASE=1 -DENABLE_VIDEO=1 -DENABLE_MEDIA_SOURCE=0 -DENABLE_MEDIA_STATISTICS=0 -DENABLE_FULLSCREEN_API=1 -DENABLE_VIDEO_TRACK=0 -DENABLE_MEDIA_STREAM=0 -DENABLE_XSLT=1 -DENABLE_WORKERS=1 -DENABLE_SHADOW_DOM=1 -DENABLE_SHARED_WORKERS=1 -DENABLE_FILTERS=1 -DENABLE_MATHML=1 -DENABLE_SVG=1 -DENABLE_SVG_FONTS=1 -DENABLE_WEB_SOCKETS=1 -DENABLE_BLOB=1
(quoted diff) +0
-16-DENABLE_REQUEST_ANIMATION_FRAME=1 -DENABLE_WEBGL=1 -DWEBKITGTK_API_VERSION_STRING=\"1.0\" -DWTF_USE_SOUP=1 -I./Source/WebCore/accessibility/gtk -I./Source/WebCore/loader/gtk -I./Source/WebCore/page/gtk -I./Source/WebCore/platform/cairo -I./Source/WebCore/platform/audio/gstreamer -I./Source/WebCore/platform/graphics/cairo -I./Source/WebCore/platform/graphics/glx -I./Source/WebCore/platform/graphics/gstreamer -I./Source/WebCore/platform/graphics/gtk -I./Source/WebCore/platform/gtk -I./Source/WebCore/platform/network/soup -DWTF_USE_FREETYPE=1 -I./Source/WebCore/platform/graphics/freetype -I./Source -I./Source/JavaScriptCore -I./Source/JavaScriptCore/API -I./Source/JavaScriptCore/assembler -I./Source/JavaScriptCore/bytecode -I./Source/JavaScriptCore/bytecompiler -I./Source/JavaScriptCore/dfg -I./Source/JavaScriptCore/heap -I./Source/JavaScriptCore/debugger -I./Source/JavaScriptCore/ForwardingHeaders -I./Source/JavaScriptCore/interpreter -I./Source/JavaScriptCore/jit
(quoted diff) +0
-12-I./Source/JavaScriptCore/jit -I./Source/JavaScriptCore/parser -I./Source/JavaScriptCore/profiler -I./Source/JavaScriptCore/runtime -I./Source/JavaScriptCore/tools -I./Source/JavaScriptCore/wtf -I./Source/JavaScriptCore/wtf -I./Source/JavaScriptCore/wtf/gobject -I./Source/JavaScriptCore/wtf/gtk -I./Source/JavaScriptCore/wtf/text -I./Source/JavaScriptCore/wtf/unicode -I./Source/JavaScriptCore/yarr -I./DerivedSources/JavaScriptCore -I./Source/WTF -fno-strict-aliasing -I/srv/home/pokybuild/yocto-autobuilder/yocto-slave/nightly-world/build/build/tmp/sysroots/qemux86/usr/include/cairo -I/srv/home/pokybuild/yocto-autobuilder/yocto-slave/nightly-world/build/build/tmp/sysroots/qemux86/usr/include/glib-2.0 -I/srv/home/pokybuild/yocto-autobuilder/yocto-slave/nightly-world/build/build/tmp/sysroots/qemux86/usr/lib/glib-2.0/include -I/srv/home/pokybuild/yocto-autobuilder/yocto-slave/nightly-world/build/build/tmp/sysroots/qemux86/usr/include/pixman-1 -I/srv/home/pokybuild/yocto-autobuilder/yocto-slave/nightly-world/build/build/tmp/sysroots/qemux86/usr/include/freetype2
(quoted diff) +0
-20-I/srv/home/pokybuild/yocto-autobuilder/yocto-slave/nightly-world/build/build/tmp/sysroots/qemux86/usr/include/libpng12 -pthread -I/srv/home/pokybuild/yocto-autobuilder/yocto-slave/nightly-world/build/build/tmp/sysroots/qemux86/usr/include/enchant -I/srv/home/pokybuild/yocto-autobuilder/yocto-slave/nightly-world/build/build/tmp/sysroots/qemux86/usr/include/glib-2.0 -I/srv/home/pokybuild/yocto-autobuilder/yocto-slave/nightly-world/build/build/tmp/sysroots/qemux86/usr/lib/glib-2.0/include -pthread -I/srv/home/pokybuild/yocto-autobuilder/yocto-slave/nightly-world/build/build/tmp/sysroots/qemux86/usr/include/glib-2.0 -I/srv/home/pokybuild/yocto-autobuilder/yocto-slave/nightly-world/build/build/tmp/sysroots/qemux86/usr/lib/glib-2.0/include -pthread -I/srv/home/pokybuild/yocto-autobuilder/yocto-slave/nightly-world/build/build/tmp/sysroots/qemux86/usr/include/gstreamer-0.10 -I/srv/home/pokybuild/yocto-autobuilder/yocto-slave/nightly-world/build/build/tmp/sysroots/qemux86/usr/include/glib-2.0 -I/srv/home/pokybuild/yocto-autobuilder/yocto-slave/nightly-world/build/build/tmp/sysroots/qemux86/usr/lib/glib-2.0/include -I/srv/home/pokybuild/yocto-autobuilder/yocto-slave/nightly-world/build/build/tmp/sysroots/qemux86/usr/include/libxml2 -pthread -I/srv/home/pokybuild/yocto-autobuilder/yocto-slave/nightly-world/build/build/tmp/sysroots/qemux86/usr/include/libsoup-2.4 -I/srv/home/pokybuild/yocto-autobuilder/yocto-slave/nightly-world/build/build/tmp/sysroots/qemux86/usr/include/libxml2 -I/srv/home/pokybuild/yocto-autobuilder/yocto-slave/nightly-world/build/build/tmp/sysroots/qemux86/usr/include/glib-2.0 -I/srv/home/pokybuild/yocto-autobuilder/yocto-slave/nightly-world/build/build/tmp/sysroots/qemux86/usr/lib/glib-2.0/include -I/srv/home/pokybuild/yocto-autobuilder/yocto-slave/nightly-world/build/build/tmp/sysroots/qemux86/usr/include/libxml2 -I/srv/home/pokybuild/yocto-autobuilder/yocto-slave/nightly-world/build/build/tmp/sysroots/qemux86/usr/include/libxml2
(quoted diff) +0
-8-pthread -I/srv/home/pokybuild/yocto-autobuilder/yocto-slave/nightly-world/build/build/tmp/sysroots/qemux86/usr/include/pango-1.0 -I/srv/home/pokybuild/yocto-autobuilder/yocto-slave/nightly-world/build/build/tmp/sysroots/qemux86/usr/include/glib-2.0 -I/srv/home/pokybuild/yocto-autobuilder/yocto-slave/nightly-world/build/build/tmp/sysroots/qemux86/usr/lib/glib-2.0/include -I/srv/home/pokybuild/yocto-autobuilder/yocto-slave/nightly-world/build/build/tmp/sysroots/qemux86/usr/include/freetype2 -D_REENTRANT -fvisibility-inlines-hidden -fno-rtti -O2 -pipe -g -feliminate-unused-debug-types -fpermissive -fvisibility-inlines-hidden -Wno-c++0x-compat -O2 -MTSource/WebCore/bridge/libWebCore_la-runtime_root.lo -MD -MP -MF Source/WebCore/bridge/.deps/libWebCore_la-runtime_root.Tpo -c Source/WebCore/bridge/runtime_root.cpp -fPIC -DPIC -o
Source/WebCore/bridge/.libs/libWebCore_la-runtime_root.oQuoted 58 lines
| In file included from ./Source/WebCore/dom/EventTarget.h:35:0, | from ./Source/WebCore/dom/Node.h:29, | from ./Source/WebCore/editing/VisiblePosition.h:30, | from ./Source/WebCore/accessibility/AccessibilityObject.h:35, | from ./Source/WebCore/accessibility/AXObjectCache.h:29, | from ./Source/WebCore/page/ChromeClient.h:24, | from
Source/WebKit/gtk/WebCoreSupport/ChromeClientGtk.h:24,
| from
Source/WebKit/gtk/WebCoreSupport/ChromeClientGtk.cpp:26:
|./Source/WebCore/dom/EventListenerMap.h:55:56: error:
'EventListener_3_6' was not declared in this scope
|./Source/WebCore/dom/EventListenerMap.h:55:69: error: template argument 1 is invalid
|./Source/WebCore/dom/EventListenerMap.h:56:48: error:
'EventListener_3_6' has not been declared| In file included from ./Source/WebCore/dom/EventTarget.h:35:0, | from ./Source/WebCore/dom/Node.h:29, | from ./Source/WebCore/editing/VisiblePosition.h:30, | from ./Source/WebCore/accessibility/AccessibilityObject.h:35, | from ./Source/WebCore/accessibility/AXObjectCache.h:29, | from ./Source/WebCore/page/ChromeClient.h:24, | from
Source/WebKit/gtk/WebCoreSupport/ChromeClientGtk.h:24,
| from
Source/WebKit/gtk/WebCoreSupport/ChromeClientGtk.cpp:26:
|./Source/WebCore/dom/EventListenerMap.h:94:5: error:
'EventListener_3_6' does not name a type| In file included from ./Source/WebCore/dom/Node.h:29:0, | from ./Source/WebCore/editing/VisiblePosition.h:30, | from ./Source/WebCore/accessibility/AccessibilityObject.h:35, | from ./Source/WebCore/accessibility/AXObjectCache.h:29, | from ./Source/WebCore/page/ChromeClient.h:24, | from
Source/WebKit/gtk/WebCoreSupport/ChromeClientGtk.h:24,
| from
Source/WebKit/gtk/WebCoreSupport/ChromeClientGtk.cpp:26:
|./Source/WebCore/dom/EventTarget.h: In member function 'voidWebCore::EventTarget::visitJSEventListeners(JSC::SlotVisitor&)':
|./Source/WebCore/dom/EventTarget.h:190:51: error: 'classWebCore::EventListenerIterator' has no member named 'nextListener' |./Source/WebCore/dom/EventTarget.h:191:21: error: invalid use of incomplete type 'classWebCore::EventListener_3_6'| In file included from ./Source/WebCore/dom/Node.h:29:0, | from ./Source/WebCore/editing/VisiblePosition.h:30, | from ./Source/WebCore/accessibility/AccessibilityObject.h:35, | from ./Source/WebCore/accessibility/AXObjectCache.h:29, | from ./Source/WebCore/page/ChromeClient.h:24, | fromQuoted 5 lines
Source/WebKit/gtk/WebCoreSupport/ChromeClientGtk.h:24,
| from
Source/WebKit/gtk/WebCoreSupport/ChromeClientGtk.cpp:26:
|./Source/WebCore/dom/EventTarget.h:48:11: error: forward declaration of 'classWebCore::EventListener_3_6'Not sure what exactly is happening.
Please look into this.
Thanks
Sau!Quoted 80 lines
Signed-off-by Chen Qi <[email protected]>--- .../icu/files/icu-add-pkgconfig-support.patch | 43 ++++++++++++++++++++ meta/recipes-support/icu/icu-3.6.inc | 11 +++++ meta/recipes-support/icu/icu_3.6.bb | 2 +- 3 files changed, 55 insertions(+), 1 deletion(-)create mode 100644
meta/recipes-support/icu/files/icu-add-pkgconfig-support.patchdiff --git
a/meta/recipes-support/icu/files/icu-add-pkgconfig-support.patchb/meta/recipes-support/icu/files/icu-add-pkgconfig-support.patchnew file mode 100644
index 0000000..c7cd9d5meta/recipes-support/icu/files/icu-add-pkgconfig-support.patch new file +12
-0@@ -0,0 +1,43 @@ +Upstream-Status: Inappropriate [version] +ICU-3.6 has no pkgconfig, so I add it here. +But ICU has had pkgconfig support since 4.6. +So this patch is inappropriate to upstream. + +Signed-off-by: Chen Qi <[email protected]> + +Index: configure.in +============================================================= +--- a/configure.in ++++ b/configure.in +@@ -1057,4 +1057,7 @@ echo "This may cause ICU to fail to build.Please make sure that GNU make"
+ echo "is in your PATH so that this configure script can detect its location."
+ fimeta/recipes-support/icu/files/icu-add-pkgconfig-support.patch new file +12
-0+ ++AC_CONFIG_FILES([icu.pc]) ++AC_OUTPUT ++ + $as_unset _CXX_CXXSUFFIX + +Index: icu.pc.in +============================================================= +--- /dev/null ++++ b/icu.pc.in +@@ -0,0 +1,15 @@ ++# Process this file with autoconf to produce a pkg-config metadatafile.
++
++prefix=@prefix@
++exec_prefix=@exec_prefix@
++libdir=@libdir@
++includedir=@includedir@ ++unicode_version=@UNICODE_VERSION@
++
++Name: ICU
++Description: International Component for Unicode libraries ++Requires:
++Version: @VERSION@
++Libs: -L${libdir} -licui18n -licuuc -licudata ++Libs.private: -L{libdir} -lpthread -lm
++Cflags: -I${includedir} -O2 -pipe -g -feliminate-unused-debug-types
+--
+1.7.11.2meta/recipes-support/icu/files/icu-add-pkgconfig-support.patch new file +1
-0+meta/recipes-support/icu/icu-3.6.inc +0
-0@@ -7,6 +7,7 @@ BASE_SRC_URI ="ftp://ftp.software.ibm.com/software/globalization/icu/3.6/icu4c-
file://fix-parallel-build.patch \ file://use-g++-for-linking.patch \ file://larger-cmd-size.patch \meta/recipes-support/icu/icu-3.6.inc +1
-0+ file://icu-add-pkgconfig-support.patch \ " SRC_URI = "${BASE_SRC_URI} \ file://noldlibpath.patch \@@ -28,6 +29,12 @@ inherit autotools pkgconfig binconfig do_configure() {Quoted 8 lines
meta/recipes-support/icu/icu-3.6.inc inherit autotools pkgconfig binconfig · line 37
Quoted 8 lines
meta/recipes-support/icu/icu-3.6.inc +6
-0libtoolize --force gnu-configize --force + if [ "${PN}" != "icu-native" ]; then + OLD=`pwd` + cd ${S} + autoconf + cd ${OLD} + fiI had some time this morning to investigate this more deeply. What I found was that the ICU tarball was being delivered with a "configure" and that the
do_configurewas avoiding the "autoconf" conversion of configure.in -> configure. I am not sure if this is historical or if this is truly needed.So by doing the autoconf above you changed the "configure" script, this in turn caused some configuration changes to occur in the
platform.hfile. Why these changed (particularly theU_HAVE_NAMESPACEdefine) then caused the ICU libraries to be built with different namespace.So a couple of key questions that need to be resolved:
1) Will updating to 4.6 solve this issue, if not then we need to dive into 2
+ 3 Below:
Quoted 7 lines
2) Why does icu tarball have a generated configure?
3) Why does the autoconf generated configure fail to configure things correctly?
Sau!
Also got this error but reported it to the wrong mailing list - sorry. I also looked around for this. The patch added pkg-config to icu. Just a guess: webkit-gtk fails due to a mixture of renamed symbols (EventListener_3_6 - see sysroot/usr/include/unicode/urename.h) and unrenamed symbols. Before the icu-patch this did not happen because (icu's) urename.h was not included and no symbols were renamed or renamed differently. My problem: The error gives me information about renamed symbol but I did not yet find the time to search for unrenamed. As I said: Just a guess
Andreas
Re: [PATCH 2/4] ICU: add pkgconfig support
Quoted 5 lines · Andreas Müller
Quoted 4 lines · Saul Wold
Quoted 3 lines · Saul Wold
Quoted 1 line · On 12/04/2012 12:46 AM, [email protected] wrote:
<SNIP>
Quoted 36 lines
Quoted 29 lines
Quoted 5 lines
Quoted 5 lines
" SRC_URI = "${BASE_SRC_URI} \ file://noldlibpath.patch \meta/recipes-support/icu/icu-3.6.inc +0
-0@@ -28,6 +29,12 @@ inherit autotools pkgconfig binconfig do_configure() {Quoted 8 lines
meta/recipes-support/icu/icu-3.6.inc inherit autotools pkgconfig binconfig · line 37
Quoted 8 lines
meta/recipes-support/icu/icu-3.6.inc +6
-0libtoolize --force gnu-configize --force + if [ "${PN}" != "icu-native" ]; then + OLD=`pwd` + cd ${S} + autoconf + cd ${OLD} + fiI had some time this morning to investigate this more deeply. What I found was that the ICU tarball was being delivered with a "configure" and that the
do_configurewas avoiding the "autoconf" conversion of configure.in -> configure. I am not sure if this is historical or if this is truly needed.So by doing the autoconf above you changed the "configure" script, this in turn caused some configuration changes to occur in the
platform.hfile. Why these changed (particularly theU_HAVE_NAMESPACEdefine) then caused the ICU libraries to be built with different namespace.So a couple of key questions that need to be resolved:
1) Will updating to 4.6 solve this issue, if not then we need to dive into 2
+ 3 Below:Quoted 7 lines
2) Why does icu tarball have a generated configure?
3) Why does the autoconf generated configure fail to configure things correctly?
Sau!
Quoted 10 lines
Also got this error but reported it to the wrong mailing list - sorry. I also looked around for this. The patch added pkg-config to icu. Just a guess: webkit-gtk fails due to a mixture of renamed symbols (
EventListener_3_6- seesysroot/usr/include/unicode/urename.h) and unrenamed symbols. Before the icu-patch this did not happen because (icu's)urename.hwas not included and no symbols were renamed or renamed differently. My problem: The error gives me information about renamed symbol but I did not yet find the time to search for unrenamed. As I said: Just a guess
I am not sure that's it, the renaming is actually in the NAMESPACE, the older (no pkg-config) sets HAVE_NAMESPACE in the platform.h file and then the symbols have icu_2_6 in them, that's the real issue, which is caused by running autoconf and getting a bad/wrong "configure" script vs the one suplied in the tarball.
Sau!
Quoted 3 lines
Andreas
Re: [PATCH 2/4] ICU: add pkgconfig support
Quoted 53 lines · Saul Wold
Quoted 5 lines · Andreas Müller
Quoted 4 lines · Saul Wold
Quoted 3 lines · Saul Wold
Quoted 1 line · On 12/04/2012 12:46 AM, [email protected] wrote:
<SNIP>
Quoted 36 lines
Quoted 29 lines
Quoted 5 lines
Quoted 5 lines
" SRC_URI = "${BASE_SRC_URI} \ file://noldlibpath.patch \meta/recipes-support/icu/icu-3.6.inc +0
-0@@ -28,6 +29,12 @@ inherit autotools pkgconfig binconfig do_configure() {Quoted 8 lines
meta/recipes-support/icu/icu-3.6.inc inherit autotools pkgconfig binconfig · line 37
Quoted 8 lines
meta/recipes-support/icu/icu-3.6.inc +6
-0libtoolize --force gnu-configize --force + if [ "${PN}" != "icu-native" ]; then + OLD=`pwd` + cd ${S} + autoconf + cd ${OLD} + fiI had some time this morning to investigate this more deeply. What I found was that the ICU tarball was being delivered with a "configure" and that the
do_configurewas avoiding the "autoconf" conversion of configure.in -> configure. I am not sure if this is historical or if this is truly needed.So by doing the autoconf above you changed the "configure" script, this in turn caused some configuration changes to occur in the
platform.hfile. Why these changed (particularly theU_HAVE_NAMESPACEdefine) then caused the ICU libraries to be built with different namespace.So a couple of key questions that need to be resolved:
1) Will updating to 4.6 solve this issue, if not then we need to dive into 2
+ 3 Below:Quoted 7 lines
2) Why does icu tarball have a generated configure?
3) Why does the autoconf generated configure fail to configure things correctly?
Sau!
Quoted 10 lines
Also got this error but reported it to the wrong mailing list - sorry. I also looked around for this. The patch added pkg-config to icu. Just a guess: webkit-gtk fails due to a mixture of renamed symbols (
EventListener_3_6- seesysroot/usr/include/unicode/urename.h) and unrenamed symbols. Before the icu-patch this did not happen because (icu's)urename.hwas not included and no symbols were renamed or renamed differently. My problem: The error gives me information about renamed symbol but I did not yet find the time to search for unrenamed. As I said: Just a guess
Quoted 8 lines
I am not sure that's it, the renaming is actually in the NAMESPACE, the older (no pkg-config) sets
HAVE_NAMESPACEin theplatform.hfile and then the symbols haveicu_2_6in them, that's the real issue, which is caused by running autoconf and getting a bad/wrong "configure" script vs the one suplied in the tarball.Sau!
Quoted 3 lines
Andreas
Hi Saul,
The errors are:
configure.in:219: error: possibly undefined macro: AC_CHECK_STRICT_COMPILE
If this token and others are legitimate, please use m4_pattern_allow. See the Autoconf documentation.
configure.in:222: error: possibly undefined macro: AC_CHECK_64BIT_LIBS configure.in:492: error: possibly undefined macro: AC_SEARCH_LIBS_FIRST
The recipe's in attachment.
I first tried it on my own computer without yocto, everything's OK. The autoconf-generated configure is the same with the shipped one. So I figured maybe we don't need to override the do_configure and do_compile method here.
require icu-50.inc
PR = "r1"
SRC_URI[md5sum] = "cf7bf9e56aa6c2057a8b6f464046483e"
SRC_URI[sha256sum] = "68592b3c07d9b86100f41d0172eb1a81f3ffb2a8fef1104d7395099079ba7350"
SUMMARY = "International Component for Unicode libraries"
DESCRIPTION = "The International Component for Unicode (ICU) is a mature, portable set of C/C++ and Java libraries for Unicode support, software internationalization (I18N) and globalization (G11N), giving applications the same results on all platforms." HOMEPAGE = "http://site.icu-project.org/"
BASE_SRC_URI = "http://download.icu-project.org/files/icu4c/50.1/icu4c-50_1-src.tgz"
SRC_URI = "${BASE_SRC_URI}"
SRC_URI_class-native = "${BASE_SRC_URI}"
LICENSE = "ICU"LIC_FILES_CHKSUM = "file://../license.html;md5=5c94767cedb5d6987c902ac850ded2c6" DEPENDS = "icu-native"
DEPENDS_class-native = ""
S = "${WORKDIR}/icu/source"
PARALLEL_MAKE = ""FULL_OPTIMIZATION_arm = "-Os"
inherit autotools pkgconfig binconfig
PACKAGES =+ "libicudata libicuuc libicui18n libicule libiculx libicutu libicuio"
FILES_${PN}-dev += "${libdir}/${BPN}/"
FILES_libicudata = "${libdir}/libicudata.so.*"FILES_libicuuc = "${libdir}/libicuuc.so.*"FILES_libicui18n = "${libdir}/libicui18n.so.*"FILES_libicule = "${libdir}/libicule.so.*"FILES_libiculx = "${libdir}/libiculx.so.*"FILES_libicutu = "${libdir}/libicutu.so.*"FILES_libicuio = "${libdir}/libicuio.so.*"
BBCLASSEXTEND = "native"
Re: [PATCH 2/4] ICU: add pkgconfig support
Quoted 64 lines · ChenQi
Quoted 53 lines · Saul Wold
Quoted 5 lines · Andreas Müller
Quoted 4 lines · Saul Wold
Quoted 3 lines · Saul Wold
Quoted 1 line · On 12/04/2012 12:46 AM, [email protected] wrote:
<SNIP>
Quoted 36 lines
Quoted 29 lines
Quoted 5 lines
Quoted 5 lines
" SRC_URI = "${BASE_SRC_URI} \ file://noldlibpath.patch \meta/recipes-support/icu/icu-3.6.inc +0
-0@@ -28,6 +29,12 @@ inherit autotools pkgconfig binconfig do_configure() {Quoted 8 lines
meta/recipes-support/icu/icu-3.6.inc inherit autotools pkgconfig binconfig · line 37
Quoted 8 lines
meta/recipes-support/icu/icu-3.6.inc +6
-0libtoolize --force gnu-configize --force + if [ "${PN}" != "icu-native" ]; then + OLD=`pwd` + cd ${S} + autoconf + cd ${OLD} + fiI had some time this morning to investigate this more deeply. What I found was that the ICU tarball was being delivered with a "configure" and that the
do_configurewas avoiding the "autoconf" conversion of configure.in -> configure. I am not sure if this is historical or if this is truly needed.So by doing the autoconf above you changed the "configure" script, this in turn caused some configuration changes to occur in the
platform.hfile. Why these changed (particularly theU_HAVE_NAMESPACEdefine) then caused the ICU libraries to be built with different namespace.So a couple of key questions that need to be resolved:
1) Will updating to 4.6 solve this issue, if not then we need to dive into 2
+ 3 Below:Quoted 7 lines
2) Why does icu tarball have a generated configure?
3) Why does the autoconf generated configure fail to configure things correctly?
Sau!
Quoted 10 lines
Also got this error but reported it to the wrong mailing list - sorry. I also looked around for this. The patch added pkg-config to icu. Just a guess: webkit-gtk fails due to a mixture of renamed symbols (
EventListener_3_6- seesysroot/usr/include/unicode/urename.h) and unrenamed symbols. Before the icu-patch this did not happen because (icu's)urename.hwas not included and no symbols were renamed or renamed differently. My problem: The error gives me information about renamed symbol but I did not yet find the time to search for unrenamed. As I said: Just a guessQuoted 8 lines
I am not sure that's it, the renaming is actually in the NAMESPACE, the older (no pkg-config) sets
HAVE_NAMESPACEin theplatform.hfile and then the symbols haveicu_2_6in them, that's the real issue, which is caused by running autoconf and getting a bad/wrong "configure" script vs the one suplied in the tarball.Sau!
Quoted 3 lines
Andreas
Hi Saul,
Quoted 8 lines
The errors are:
configure.in:219: error: possibly undefined macro:AC_CHECK_STRICT_COMPILE
If this token and others are legitimate, please usem4_pattern_allow.
See the Autoconf documentation.
configure.in:222: error: possibly undefined macro:AC_CHECK_64BIT_LIBSconfigure.in:492: error: possibly undefined macro:AC_SEARCH_LIBS_FIRST
Ah.... I see the problem. Our autoconf version is 2.69 while this configure.ac file needs 2.68.
Quoted 11 lines
The recipe's in attachment.
I first tried it on my own computer without yocto, everything's OK. The autoconf-generated configure is the same with the shipped one. So I figured maybe we don't need to override the
do_configureanddo_compilemethod here._______________________________________________
Openembedded-core mailing list
[email protected]
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core
Re: [PATCH 2/4] ICU: add pkgconfig support
In reply to Saul WoldQuoted 101 lines
Quoted 88 lines
Not sure what exactly is happening.
Please look into this.
Thanks
Sau!Quoted 80 lines
Signed-off-by Chen Qi <[email protected]>--- .../icu/files/icu-add-pkgconfig-support.patch | 43 ++++++++++++++++++++ meta/recipes-support/icu/icu-3.6.inc | 11 +++++ meta/recipes-support/icu/icu_3.6.bb | 2 +- 3 files changed, 55 insertions(+), 1 deletion(-)create mode 100644
meta/recipes-support/icu/files/icu-add-pkgconfig-support.patchdiff --git
a/meta/recipes-support/icu/files/icu-add-pkgconfig-support.patchb/meta/recipes-support/icu/files/icu-add-pkgconfig-support.patchnew file mode 100644
index 0000000..c7cd9d5meta/recipes-support/icu/files/icu-add-pkgconfig-support.patch new file +12
-0@@ -0,0 +1,43 @@ +Upstream-Status: Inappropriate [version] +ICU-3.6 has no pkgconfig, so I add it here. +But ICU has had pkgconfig support since 4.6. +So this patch is inappropriate to upstream. + +Signed-off-by: Chen Qi <[email protected]> + +Index: configure.in +============================================================= +--- a/configure.in ++++ b/configure.in +@@ -1057,4 +1057,7 @@ echo "This may cause ICU to fail to build.Please make sure that GNU make"
+ echo "is in your PATH so that this configure script can detect its location."
+ fimeta/recipes-support/icu/files/icu-add-pkgconfig-support.patch new file +12
-0+ ++AC_CONFIG_FILES([icu.pc]) ++AC_OUTPUT ++ + $as_unset _CXX_CXXSUFFIX + +Index: icu.pc.in +============================================================= +--- /dev/null ++++ b/icu.pc.in +@@ -0,0 +1,15 @@ ++# Process this file with autoconf to produce a pkg-config metadatafile.
++
++prefix=@prefix@
++exec_prefix=@exec_prefix@
++libdir=@libdir@
++includedir=@includedir@ ++unicode_version=@UNICODE_VERSION@
++
++Name: ICU
++Description: International Component for Unicode libraries ++Requires:
++Version: @VERSION@
++Libs: -L${libdir} -licui18n -licuuc -licudata ++Libs.private: -L{libdir} -lpthread -lm
++Cflags: -I${includedir} -O2 -pipe -g -feliminate-unused-debug-types
+--
+1.7.11.2meta/recipes-support/icu/files/icu-add-pkgconfig-support.patch new file +1
-0+meta/recipes-support/icu/icu-3.6.inc +0
-0@@ -7,6 +7,7 @@ BASE_SRC_URI ="ftp://ftp.software.ibm.com/software/globalization/icu/3.6/icu4c-
file://fix-parallel-build.patch \ file://use-g++-for-linking.patch \ file://larger-cmd-size.patch \meta/recipes-support/icu/icu-3.6.inc +1
-0+ file://icu-add-pkgconfig-support.patch \ " SRC_URI = "${BASE_SRC_URI} \ file://noldlibpath.patch \@@ -28,6 +29,12 @@ inherit autotools pkgconfig binconfig do_configure() {Quoted 8 lines
meta/recipes-support/icu/icu-3.6.inc inherit autotools pkgconfig binconfig · line 37
Quoted 8 lines
meta/recipes-support/icu/icu-3.6.inc +6
-0libtoolize --force gnu-configize --force + if [ "${PN}" != "icu-native" ]; then + OLD=`pwd` + cd ${S} + autoconf + cd ${OLD} + fiI had some time this morning to investigate this more deeply. What I found was that the ICU tarball was being delivered with a "configure" and that the
do_configurewas avoiding the "autoconf" conversion of configure.in -> configure. I am not sure if this is historical or if this is truly needed.So by doing the autoconf above you changed the "configure" script, this in turn caused some configuration changes to occur in the
platform.hfile. Why these changed (particularly theU_HAVE_NAMESPACEdefine) then caused the ICU libraries to be built with different namespace.
Quoted 10 lines
So a couple of key questions that need to be resolved:
1) Will updating to 4.6 solve this issue, if not then we need to dive into 2 + 3 Below:2) Why does icu tarball have a generated configure?
3) Why does the autoconf generated configure fail to configure things correctly?
Sau!
Thanks a lot!
I'll look into this immediately.
Chen Qi
Quoted 38 lines
Quoted 37 lines
Quoted 28 lines
meta/recipes-support/icu/icu-3.6.inc +4
-0oe_runconf if [ "${PN}" != "icu-native" ]; then # In the non-native case we need to make substitutions to use@@ -45,6 +52,10 @@ do_compile() { do_install_append() { chmod +x ${D}${libdir}/lib* + if [ "${PN}" != "icu-native" ]; then + install -d ${D}/${libdir}/pkgconfig + install -m 0644 ${S}/icu.pc ${D}/${libdir}/pkgconfig + fi } PACKAGES =+ "libicudata libicuuc libicui18n libicule libiculxlibicutu libicuio"
meta/recipes-support/icu/icu_3.6.bb +1
-1@@ -1,6 +1,6 @@ require icu-3.6.inc -PR = "r9" +PR = "r10" SRC_URI[md5sum] = "6243f7a19e03e05403ce84e597510d4c" SRC_URI[sha256sum] =Quoted 2 lines
"
5135e8d69d6206d320515df7aeee7027711ab1aef9d8dbf29571a97a9746b041"_______________________________________________
Openembedded-core mailing list
[email protected]
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core
PATCH v2 3/4 pth: add pkgconfig support
In reply to [email protected]From: Chen Qi <[email protected]>
Add pkgconfig support to pth.
[YOCTO #2453]
--- .../pth/files/pth-add-pkgconfig-support.patch | 105 ++++++++++++++++++++ meta/recipes-support/pth/pth_2.0.7.bb | 7 +- 2 files changed, 109 insertions(+), 3 deletions(-) create mode 100644 meta/recipes-support/pth/files/pth-add-pkgconfig-support.patch
meta/recipes-support/pth/files/pth-add-pkgconfig-support.patch new file +105 -0
@@ -0,0 +1,105 @@ +Upstream-Status: Pending + +Add pkgconfig support to pth. + +Signed-off-by: Chen Qi <[email protected]> + +Index: Makefile.in +=========================================================== +--- a/Makefile.in ++++ b/Makefile.in +@@ -47,6 +47,9 @@ datadir = @datadir@ + + DESTDIR = + ++pkgconfigdir = ${libdir}/pkgconfig ++pkgconfig_DATA = pth.pc ++ + ## + ## ____ TOOL DEFINITIONS ___________________________________________ + ## +@@ -216,7 +219,7 @@ test_pthread: test_pthread.o test_common.o libpthread.la + + # install the package + install: all-for-install +- @$(MAKE) $(MKFLAGS) install-dirs install-pth @INSTALL_PTHREAD@ ++ @$(MAKE) $(MKFLAGS) install-dirs install-pth @INSTALL_PTHREAD@ install-pkgconfigDATA + @touch .done-install >/dev/null 2>&1 || $(TRUE) + @$(MAKE) $(MKFLAGS) what-next + install-dirs: +@@ -227,6 +230,7 @@ install-dirs: + $(SHTOOL) mkdir -f -p -m 755 $(DESTDIR)$(mandir)/man1 + $(SHTOOL) mkdir -f -p -m 755 $(DESTDIR)$(mandir)/man3 + $(SHTOOL) mkdir -f -p -m 755 $(DESTDIR)$(datadir)/aclocal ++ $(SHTOOL) mkdir -f -p -m 755 $(DESTDIR)$(pkgconfigdir) + install-pth: + $(SHTOOL) install -c -m 755 pth-config $(DESTDIR)$(bindir)/pth-config + $(SHTOOL) install -c -m 644 $(S)pth-config.1 $(DESTDIR)$(mandir)/man1/pth-config.1 +@@ -242,12 +246,16 @@ install-pthread: + $(SHTOOL) install -c -m 644 $(S)pthread.3 $(DESTDIR)$(mandir)/man3/pthread.3 + @umask 022; $(LIBTOOL) --mode=install \ + $(SHTOOL) install -c libpthread.la $(DESTDIR)$(libdir)/libpthread.la ++install-pkgconfigDATA: $(pkgconfig_DATA) ++ $(SHTOOL) install -c -m 644 $(pkgconfig_DATA) $(DESTDIR)$(pkgconfigdir)/$(pkgconfig_DATA) + + # uninstall the package + uninstall: +- @$(MAKE) $(MKFLAGS) @UNINSTALL_PTHREAD@ uninstall-pth uninstall-dirs ++ @$(MAKE) $(MKFLAGS) uninstall-pkgconfigDATA @UNINSTALL_PTHREAD@ uninstall-pth uninstall-dirs + @touch .done-uninstall >/dev/null 2>&1 || $(TRUE) + @$(MAKE) $(MKFLAGS) what-next ++uninstall-pkgconfigDATA: ++ $(RM) $(DESTDIR)$(pkgconfigdir)/$(pkgconfig_DATA) + uninstall-pthread: + $(RM) $(DESTDIR)$(bindir)/pthread-config + $(RM) $(DESTDIR)$(mandir)/man1/pthread-config.1 +@@ -271,6 +279,7 @@ uninstall-dirs: + -$(RMDIR) $(DESTDIR)$(includedir) >/dev/null 2>&1 || $(TRUE) + -$(RMDIR) $(DESTDIR)$(bindir) >/dev/null 2>&1 || $(TRUE) + -$(RMDIR) $(DESTDIR)$(prefix) >/dev/null 2>&1 || $(TRUE) ++ -$(RMDIR) $(DESTDIR)$(pkgconfigdir) > /dev/null 2>&1 ||$(TRUE) + + # strip down the source tree to its minimum + striptease: +Index: configure.ac +=========================================================== +--- a/configure.ac ++++ b/configure.ac +@@ -656,6 +656,13 @@ pth_acmac.h dnl + chmod +rx pthread-config + chmod +rx pth-config + )dnl ++ ++PTH_VERSION=`echo $PTH_VERSION_STR | cut -d' ' -f1` ++AC_SUBST(PTH_VERSION) ++ ++AC_CONFIG_FILES([pth.pc]) ++AC_OUTPUT ++ + if test ".$enable_pthread" = .no; then + rm -f pthread-config + rm -f pthread.h +Index: pth.pc.in +=========================================================== +--- /dev/null ++++ b/pth.pc.in +@@ -0,0 +1,16 @@ ++prefix=@prefix@ ++exec_prefix=@exec_prefix@ ++libdir=@libdir@ ++includedir=@includedir@ ++bindir=@bindir@ ++mandir=@mandir@ ++datadir=@datadir@ ++acdir=@datadir@/aclocal ++ ++Name: pth ++Description: GNU Portable Threads ++Requires: ++Version: @PTH_VERSION@ ++Libs: -L${libdir} -lpth ++Libs.private: ++Cflags: -I${includedir} +-- +1.7.5.4 +
meta/recipes-support/pth/pth_2.0.7.bb +4 -3
@@ -3,7 +3,7 @@ HOMEPAGE = "http://www.gnu.org/software/pth/" SECTION = "libs" LICENSE = "GPLv2+" LIC_FILES_CHKSUM = "file://COPYING;beginline=12;endline=15;md5=a48af114a80c222cafd37f24370a77b1" -PR = "r2" +PR = "r3" python __anonymous () { import re
@@ -13,16 +13,17 @@ python __anonymous () { } SRC_URI = "${GNU_MIRROR}/pth/pth-${PV}.tar.gz \ - " + file://pth-add-pkgconfig-support.patch" SRC_URI[md5sum] = "9cb4a25331a4c4db866a31cbe507c793" SRC_URI[sha256sum] = "72353660c5a2caafd601b20e12e75d865fd88f6cf1a088b306a3963f0bc77232" PARALLEL_MAKE="" -inherit autotools binconfig +inherit autotools binconfig pkgconfig do_configure() { gnu-configize + autoconf oe_runconf }
Signature · 1 line
1.7.9.5
PATCH v2 4/4 libassuan: add pkgconfig support
In reply to [email protected]From: Chen Qi <[email protected]>
Add pkgconfig support to libassuan.
[YOCTO #2453]
--- .../files/libassuan-add-pkgconfig-support.patch | 57 ++++++++++++++++++++ meta/recipes-support/libassuan/libassuan_2.0.3.bb | 5 +- 2 files changed, 60 insertions(+), 2 deletions(-) create mode 100644 meta/recipes-support/libassuan/files/libassuan-add-pkgconfig-support.patch
meta/recipes-support/libassuan/files/libassuan-add-pkgconfig-support.patch new file +57 -0
@@ -0,0 +1,57 @@ +Upstream-Status: Pending + +Add pkgconfig support to libassuan. + +Signed-off-by: Chen Qi <[email protected]> + +Index: Makefile.am +============================================================== +--- a/Makefile.am ++++ b/Makefile.am +@@ -21,11 +21,14 @@ + ACLOCAL_AMFLAGS = -I m4 + AUTOMAKE_OPTIONS = dist-bzip2 no-dist-gzip + ++pkgconfigdir = $(libdir)/pkgconfig ++pkgconfig_DATA = assuan.pc ++ + EXTRA_DIST = config.rpath autogen.sh README.GIT \ + ChangeLog-2011 doc/ChangeLog-2011 src/ChangeLog-2011 \ + tests/ChangeLog-2011 contrib/ChangeLog-2011 \ + build-aux/gitlog-to-changelog build-aux/git-log-footer \ +- build-aux/git-log-fix ++ build-aux/git-log-fix assuan.pc.in + + SUBDIRS = m4 src doc tests + +Index: assuan.pc.in +============================================================== +--- /dev/null ++++ b/assuan.pc.in +@@ -0,0 +1,12 @@ ++prefix=@prefix@ ++exec_prefix=@exec_prefix@ ++libdir=@libdir@ ++includedir=@includedir@ ++ ++Name: libassuan ++Description: IPC library used by GnuPG and GPGME ++Requires: ++Version: @VERSION@ ++Libs: -L${libdir} -lassuan ++Libs.private: -lgpg-error ++Cflags: -I${includedir} +Index: configure.ac +============================================================== +--- a/configure.ac ++++ b/configure.ac +@@ -380,5 +380,5 @@ AC_CONFIG_FILES([doc/Makefile]) + AC_CONFIG_FILES([tests/Makefile]) + AC_CONFIG_FILES([src/libassuan-config], [chmod +x src/libassuan-config]) + AC_CONFIG_FILES([src/versioninfo.rc]) +- ++AC_CONFIG_FILES([assuan.pc]) + AC_OUTPUT +-- +1.7.5.4 +
meta/recipes-support/libassuan/libassuan_2.0.3.bb +3 -2
@@ -10,9 +10,10 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=f27defe1e96c2e1ecd4e0c9be8967949 \ DEPENDS = "libgpg-error" -SRC_URI = "ftp://ftp.gnupg.org/gcrypt/libassuan/libassuan-${PV}.tar.bz2" +SRC_URI = "ftp://ftp.gnupg.org/gcrypt/libassuan/libassuan-${PV}.tar.bz2 \ + file://libassuan-add-pkgconfig-support.patch" SRC_URI[md5sum] = "179d1918325fdb928c7bd90b8a514fc7" SRC_URI[sha256sum] = "bad5682374c76bcc0abb1a7a34c9557af6874a477500748e64a7d3def79cac1b" -inherit autotools binconfig +inherit autotools binconfig pkgconfig
Signature · 1 line
1.7.9.5
Hi Saul,
The libassuan and libksba patches are rejected by upstream (gnupg.org). The reason is in the email below. So the question is, if they don't want to support pkgconfig for their libs, are we going to support it anyway?
Thanks,
Chen Qi
Quoted 53 lines · On 12/04/2012 04:46 PM, [email protected] wrote:
From: Chen Qi<[email protected]>
Among the 26 recipes / packages that deliver their own bin-config tools, only four of them don't deliver pkgconfig (.pc) files.
This series of patches add pkgconfig support to them.[V3 updates Upstream-Status for libassuan and libksba patches] These two patches are rejected by gnupg project for the reason below:
"
pkg-config might be useful in the GNOME or KDE environment where you have lots of not so well defined libraries. However, it adds nothing to portability of code.Using a shell script instead of pkg-config is more flexible and solves the same purposes. Right, it is annoying to see several identical -I and -L options on the cc line, but that is mostly an aesthetic issue.
Maintaining a shell script and a .pc file will lead to inconsistency and weird bug reports. Thus it is a waste of time.
"[YOCTO #2453]
The following changes since commit
247b6a3754c2c50318e2a73d79981ba0e9cb560b:gstreamer, gst-plugins*: fix localdata (2012-11-28 15:25:33 +0000)are available in the git repository at:
git://git.pokylinux.org/poky-contribChenQi/pkgconfig2
http://git.pokylinux.org/cgit.cgi/poky-contrib/log/?h=ChenQi/pkgconfig2Chen Qi (4):
libksba: add pkgconfig support
ICU: add pkgconfig support
pth: add pkgconfig support
libassuan: add pkgconfig support.../icu/files/icu-add-pkgconfig-support.patch | 43 ++++++++ meta/recipes-support/icu/icu-3.6.inc | 11 ++ meta/recipes-support/icu/icu_3.6.bb | 2 +- .../files/libassuan-add-pkgconfig-support.patch | 57 +++++++++++ meta/recipes-support/libassuan/libassuan_2.0.3.bb | 5 +- .../libksba/ksba-add-pkgconfig-support.patch | 57 +++++++++++ meta/recipes-support/libksba/libksba_1.3.0.bb | 8 +- .../pth/files/pth-add-pkgconfig-support.patch | 105 ++++++++++++++++++++ meta/recipes-support/pth/pth_2.0.7.bb | 7 +- 9 files changed, 286 insertions(+), 9 deletions(-)create mode 100644
meta/recipes-support/icu/files/icu-add-pkgconfig-support.patchcreate mode 100644meta/recipes-support/libassuan/files/libassuan-add-pkgconfig-support.patchcreate mode 100644meta/recipes-support/libksba/libksba/ksba-add-pkgconfig-support.patchcreate mode 100644meta/recipes-support/pth/files/pth-add-pkgconfig-support.patch