All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 2/4] icu: add pkgconfig support
  2012-11-26  9:36 [PATCH 0/4] " Qi.Chen
@ 2012-11-26  9:36 ` Qi.Chen
  2012-11-26 10:56   ` Burton, Ross
  0 siblings, 1 reply; 17+ messages in thread
From: Qi.Chen @ 2012-11-26  9:36 UTC (permalink / raw)
  To: openembedded-core; +Cc: Zhenfeng.Zhao

From: Chen Qi <Qi.Chen@windriver.com>

Add pkgconfig support to icu.

[YOCTO# 2453]

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
---
 .../icu/files/icu-add-pkgconfig-support.patch      |   40 ++++++++++++++++++++
 meta/recipes-support/icu/icu-3.6.inc               |   11 ++++++
 meta/recipes-support/icu/icu_3.6.bb                |    2 +-
 3 files changed, 52 insertions(+), 1 deletion(-)
 create mode 100644 meta/recipes-support/icu/files/icu-add-pkgconfig-support.patch

diff --git a/meta/recipes-support/icu/files/icu-add-pkgconfig-support.patch b/meta/recipes-support/icu/files/icu-add-pkgconfig-support.patch
new file mode 100644
index 0000000..e140015
--- /dev/null
+++ b/meta/recipes-support/icu/files/icu-add-pkgconfig-support.patch
@@ -0,0 +1,40 @@
+Upstream-Status: Inappropriate [distribution]
+
+Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
+
+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
+
diff --git a/meta/recipes-support/icu/icu-3.6.inc b/meta/recipes-support/icu/icu-3.6.inc
index 272f6d1..8caf71c 100644
--- a/meta/recipes-support/icu/icu-3.6.inc
+++ b/meta/recipes-support/icu/icu-3.6.inc
@@ -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"
diff --git a/meta/recipes-support/icu/icu_3.6.bb b/meta/recipes-support/icu/icu_3.6.bb
index f941acf..f50abe2 100644
--- a/meta/recipes-support/icu/icu_3.6.bb
+++ b/meta/recipes-support/icu/icu_3.6.bb
@@ -1,6 +1,6 @@
 require icu-3.6.inc
 
-PR = "r9"
+PR = "r10"
 
 SRC_URI[md5sum] = "6243f7a19e03e05403ce84e597510d4c"
 SRC_URI[sha256sum] = "5135e8d69d6206d320515df7aeee7027711ab1aef9d8dbf29571a97a9746b041"
-- 
1.7.9.5




^ permalink raw reply related	[flat|nested] 17+ messages in thread

* Re: [PATCH 2/4] icu: add pkgconfig support
  2012-11-26  9:36 ` [PATCH 2/4] icu: add pkgconfig support Qi.Chen
@ 2012-11-26 10:56   ` Burton, Ross
  0 siblings, 0 replies; 17+ messages in thread
From: Burton, Ross @ 2012-11-26 10:56 UTC (permalink / raw)
  To: Qi.Chen; +Cc: Zhenfeng.Zhao, openembedded-core

On 26 November 2012 09:36,  <Qi.Chen@windriver.com> wrote:
> +Upstream-Status: Inappropriate [distribution]

Surely this (and all others) should be submitted upstream.

Ross



^ permalink raw reply	[flat|nested] 17+ messages in thread

* [PATCH 0/4] [V2] Add pkgconfig support to four packages
@ 2012-12-03 10:42 Qi.Chen
  2012-12-03 10:42 ` [PATCH 1/4] libksba: add pkgconfig support Qi.Chen
                   ` (4 more replies)
  0 siblings, 5 replies; 17+ messages in thread
From: Qi.Chen @ 2012-12-03 10:42 UTC (permalink / raw)
  To: openembedded-core; +Cc: Zhenfeng.Zhao

From: Chen Qi <Qi.Chen@windriver.com>

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

-- 
1.7.9.5




^ permalink raw reply	[flat|nested] 17+ messages in thread

* [PATCH 1/4] libksba: add pkgconfig support
  2012-12-03 10:42 [PATCH 0/4] [V2] Add pkgconfig support to four packages Qi.Chen
@ 2012-12-03 10:42 ` Qi.Chen
  2012-12-03 10:42 ` [PATCH 2/4] ICU: " Qi.Chen
                   ` (3 subsequent siblings)
  4 siblings, 0 replies; 17+ messages in thread
From: Qi.Chen @ 2012-12-03 10:42 UTC (permalink / raw)
  To: openembedded-core; +Cc: Zhenfeng.Zhao

From: Chen Qi <Qi.Chen@windriver.com>

Add pkgconfig support to libksba.

[YOCTO #2453]

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
---
 .../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

diff --git a/meta/recipes-support/libksba/libksba/ksba-add-pkgconfig-support.patch b/meta/recipes-support/libksba/libksba/ksba-add-pkgconfig-support.patch
new file mode 100644
index 0000000..a60002a
--- /dev/null
+++ b/meta/recipes-support/libksba/libksba/ksba-add-pkgconfig-support.patch
@@ -0,0 +1,57 @@
+Upstream-Status: Pending
+
+Add pkgconfig support to libksba.
+
+Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
+
+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
+
diff --git a/meta/recipes-support/libksba/libksba_1.3.0.bb b/meta/recipes-support/libksba/libksba_1.3.0.bb
index 506d7c0..45bc35a 100644
--- a/meta/recipes-support/libksba/libksba_1.3.0.bb
+++ b/meta/recipes-support/libksba/libksba_1.3.0.bb
@@ -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"
+
-- 
1.7.9.5




^ permalink raw reply related	[flat|nested] 17+ messages in thread

* [PATCH 2/4] ICU: add pkgconfig support
  2012-12-03 10:42 [PATCH 0/4] [V2] Add pkgconfig support to four packages Qi.Chen
  2012-12-03 10:42 ` [PATCH 1/4] libksba: add pkgconfig support Qi.Chen
@ 2012-12-03 10:42 ` Qi.Chen
  2012-12-03 11:50   ` Burton, Ross
  2012-12-10 16:48   ` Saul Wold
  2012-12-03 10:42 ` [PATCH 3/4] pth: " Qi.Chen
                   ` (2 subsequent siblings)
  4 siblings, 2 replies; 17+ messages in thread
From: Qi.Chen @ 2012-12-03 10:42 UTC (permalink / raw)
  To: openembedded-core; +Cc: Zhenfeng.Zhao

From: Chen Qi <Qi.Chen@windriver.com>

Add pkgconfig support to ICU.

[YOCTO #2453]

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
---
 .../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

diff --git a/meta/recipes-support/icu/files/icu-add-pkgconfig-support.patch b/meta/recipes-support/icu/files/icu-add-pkgconfig-support.patch
new file mode 100644
index 0000000..c7cd9d5
--- /dev/null
+++ b/meta/recipes-support/icu/files/icu-add-pkgconfig-support.patch
@@ -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 <Qi.Chen@windriver.com>
+
+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
+
diff --git a/meta/recipes-support/icu/icu-3.6.inc b/meta/recipes-support/icu/icu-3.6.inc
index 272f6d1..8caf71c 100644
--- a/meta/recipes-support/icu/icu-3.6.inc
+++ b/meta/recipes-support/icu/icu-3.6.inc
@@ -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"
diff --git a/meta/recipes-support/icu/icu_3.6.bb b/meta/recipes-support/icu/icu_3.6.bb
index f941acf..f50abe2 100644
--- a/meta/recipes-support/icu/icu_3.6.bb
+++ b/meta/recipes-support/icu/icu_3.6.bb
@@ -1,6 +1,6 @@
 require icu-3.6.inc
 
-PR = "r9"
+PR = "r10"
 
 SRC_URI[md5sum] = "6243f7a19e03e05403ce84e597510d4c"
 SRC_URI[sha256sum] = "5135e8d69d6206d320515df7aeee7027711ab1aef9d8dbf29571a97a9746b041"
-- 
1.7.9.5




^ permalink raw reply related	[flat|nested] 17+ messages in thread

* [PATCH 3/4] pth: add pkgconfig support
  2012-12-03 10:42 [PATCH 0/4] [V2] Add pkgconfig support to four packages Qi.Chen
  2012-12-03 10:42 ` [PATCH 1/4] libksba: add pkgconfig support Qi.Chen
  2012-12-03 10:42 ` [PATCH 2/4] ICU: " Qi.Chen
@ 2012-12-03 10:42 ` Qi.Chen
  2012-12-03 10:42 ` [PATCH 4/4] libassuan: " Qi.Chen
  2012-12-04  8:51 ` [PATCH 0/4] [V3] Add pkgconfig support to four packages ChenQi
  4 siblings, 0 replies; 17+ messages in thread
From: Qi.Chen @ 2012-12-03 10:42 UTC (permalink / raw)
  To: openembedded-core; +Cc: Zhenfeng.Zhao

From: Chen Qi <Qi.Chen@windriver.com>

Add pkgconfig support to pth.

[YOCTO #2453]

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
---
 .../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

diff --git a/meta/recipes-support/pth/files/pth-add-pkgconfig-support.patch b/meta/recipes-support/pth/files/pth-add-pkgconfig-support.patch
new file mode 100644
index 0000000..67a28ab
--- /dev/null
+++ b/meta/recipes-support/pth/files/pth-add-pkgconfig-support.patch
@@ -0,0 +1,105 @@
+Upstream-Status: Pending
+
+Add pkgconfig support to pth.
+
+Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
+
+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
+
diff --git a/meta/recipes-support/pth/pth_2.0.7.bb b/meta/recipes-support/pth/pth_2.0.7.bb
index 83a03b3..fc9ed16 100644
--- a/meta/recipes-support/pth/pth_2.0.7.bb
+++ b/meta/recipes-support/pth/pth_2.0.7.bb
@@ -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
 }
-- 
1.7.9.5




^ permalink raw reply related	[flat|nested] 17+ messages in thread

* [PATCH 4/4] libassuan: add pkgconfig support
  2012-12-03 10:42 [PATCH 0/4] [V2] Add pkgconfig support to four packages Qi.Chen
                   ` (2 preceding siblings ...)
  2012-12-03 10:42 ` [PATCH 3/4] pth: " Qi.Chen
@ 2012-12-03 10:42 ` Qi.Chen
  2012-12-04  8:51 ` [PATCH 0/4] [V3] Add pkgconfig support to four packages ChenQi
  4 siblings, 0 replies; 17+ messages in thread
From: Qi.Chen @ 2012-12-03 10:42 UTC (permalink / raw)
  To: openembedded-core; +Cc: Zhenfeng.Zhao

From: Chen Qi <Qi.Chen@windriver.com>

Add pkgconfig support to libassuan.

[YOCTO #2453]

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
---
 .../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

diff --git a/meta/recipes-support/libassuan/files/libassuan-add-pkgconfig-support.patch b/meta/recipes-support/libassuan/files/libassuan-add-pkgconfig-support.patch
new file mode 100644
index 0000000..d0f3067
--- /dev/null
+++ b/meta/recipes-support/libassuan/files/libassuan-add-pkgconfig-support.patch
@@ -0,0 +1,57 @@
+Upstream-Status: Pending
+
+Add pkgconfig support to libassuan.
+
+Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
+
+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
+
diff --git a/meta/recipes-support/libassuan/libassuan_2.0.3.bb b/meta/recipes-support/libassuan/libassuan_2.0.3.bb
index 2a8963e..f0d7c9f 100644
--- a/meta/recipes-support/libassuan/libassuan_2.0.3.bb
+++ b/meta/recipes-support/libassuan/libassuan_2.0.3.bb
@@ -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
-- 
1.7.9.5




^ permalink raw reply related	[flat|nested] 17+ messages in thread

* Re: [PATCH 2/4] ICU: add pkgconfig support
  2012-12-03 10:42 ` [PATCH 2/4] ICU: " Qi.Chen
@ 2012-12-03 11:50   ` Burton, Ross
  2012-12-04  2:04     ` ChenQi
  2012-12-10 16:48   ` Saul Wold
  1 sibling, 1 reply; 17+ messages in thread
From: Burton, Ross @ 2012-12-03 11:50 UTC (permalink / raw)
  To: Qi.Chen; +Cc: Zhenfeng.Zhao, openembedded-core

On 3 December 2012 10:42,  <Qi.Chen@windriver.com> wrote:
> +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



^ permalink raw reply	[flat|nested] 17+ messages in thread

* Re: [PATCH 2/4] ICU: add pkgconfig support
  2012-12-03 11:50   ` Burton, Ross
@ 2012-12-04  2:04     ` ChenQi
  0 siblings, 0 replies; 17+ messages in thread
From: ChenQi @ 2012-12-04  2:04 UTC (permalink / raw)
  To: Burton, Ross; +Cc: Zhenfeng.Zhao, openembedded-core

On 12/03/2012 07:50 PM, Burton, Ross wrote:
> On 3 December 2012 10:42,<Qi.Chen@windriver.com>  wrote:
>> +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



^ permalink raw reply	[flat|nested] 17+ messages in thread

* Re: [PATCH 0/4] [V3] Add pkgconfig support to four packages
  2012-12-03 10:42 [PATCH 0/4] [V2] Add pkgconfig support to four packages Qi.Chen
                   ` (3 preceding siblings ...)
  2012-12-03 10:42 ` [PATCH 4/4] libassuan: " Qi.Chen
@ 2012-12-04  8:51 ` ChenQi
  4 siblings, 0 replies; 17+ messages in thread
From: ChenQi @ 2012-12-04  8:51 UTC (permalink / raw)
  To: openembedded-core

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

On 12/04/2012 04:46 PM, Qi.Chen@windriver.com wrote:
> From: Chen Qi<Qi.Chen@windriver.com>
>
> 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-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
>




^ permalink raw reply	[flat|nested] 17+ messages in thread

* Re: [PATCH 2/4] ICU: add pkgconfig support
  2012-12-03 10:42 ` [PATCH 2/4] ICU: " Qi.Chen
  2012-12-03 11:50   ` Burton, Ross
@ 2012-12-10 16:48   ` Saul Wold
  2012-12-10 21:44     ` Saul Wold
  1 sibling, 1 reply; 17+ messages in thread
From: Saul Wold @ 2012-12-10 16:48 UTC (permalink / raw)
  To: Qi.Chen; +Cc: Zhenfeng.Zhao, openembedded-core

On 12/04/2012 12:46 AM, Qi.Chen@windriver.com wrote:
> From: Chen Qi <Qi.Chen@windriver.com>
>
> Add pkgconfig support to ICU.
>
> [YOCTO #2453]
>
This patch seems to have introduced a problem with webkit-gtk

> | 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
> | 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
> | 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'
> | 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!

> Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
> ---
>   .../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
>
> diff --git a/meta/recipes-support/icu/files/icu-add-pkgconfig-support.patch b/meta/recipes-support/icu/files/icu-add-pkgconfig-support.patch
> new file mode 100644
> index 0000000..c7cd9d5
> --- /dev/null
> +++ b/meta/recipes-support/icu/files/icu-add-pkgconfig-support.patch
> @@ -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 <Qi.Chen@windriver.com>
> +
> +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
> +
> diff --git a/meta/recipes-support/icu/icu-3.6.inc b/meta/recipes-support/icu/icu-3.6.inc
> index 272f6d1..8caf71c 100644
> --- a/meta/recipes-support/icu/icu-3.6.inc
> +++ b/meta/recipes-support/icu/icu-3.6.inc
> @@ -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"
> diff --git a/meta/recipes-support/icu/icu_3.6.bb b/meta/recipes-support/icu/icu_3.6.bb
> index f941acf..f50abe2 100644
> --- a/meta/recipes-support/icu/icu_3.6.bb
> +++ b/meta/recipes-support/icu/icu_3.6.bb
> @@ -1,6 +1,6 @@
>   require icu-3.6.inc
>
> -PR = "r9"
> +PR = "r10"
>
>   SRC_URI[md5sum] = "6243f7a19e03e05403ce84e597510d4c"
>   SRC_URI[sha256sum] = "5135e8d69d6206d320515df7aeee7027711ab1aef9d8dbf29571a97a9746b041"
>



^ permalink raw reply	[flat|nested] 17+ messages in thread

* Re: [PATCH 2/4] ICU: add pkgconfig support
  2012-12-10 16:48   ` Saul Wold
@ 2012-12-10 21:44     ` Saul Wold
  2012-12-11  1:07       ` Andreas Müller
  2012-12-11  2:05       ` ChenQi
  0 siblings, 2 replies; 17+ messages in thread
From: Saul Wold @ 2012-12-10 21:44 UTC (permalink / raw)
  To: Qi.Chen; +Cc: Zhenfeng.Zhao, openembedded-core

On 12/10/2012 08:48 AM, Saul Wold wrote:
> On 12/04/2012 12:46 AM, Qi.Chen@windriver.com wrote:
>> From: Chen Qi <Qi.Chen@windriver.com>
>>
>> Add pkgconfig support to ICU.
>>
>> [YOCTO #2453]
>>
> This patch seems to have introduced a problem with webkit-gtk
>
>> | 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
>> | 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
>> | 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'
>> | 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!
>
>> Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
>> ---
>>   .../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
>>
>> diff --git
>> a/meta/recipes-support/icu/files/icu-add-pkgconfig-support.patch
>> b/meta/recipes-support/icu/files/icu-add-pkgconfig-support.patch
>> new file mode 100644
>> index 0000000..c7cd9d5
>> --- /dev/null
>> +++ b/meta/recipes-support/icu/files/icu-add-pkgconfig-support.patch
>> @@ -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 <Qi.Chen@windriver.com>
>> +
>> +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
>> +
>> diff --git a/meta/recipes-support/icu/icu-3.6.inc
>> b/meta/recipes-support/icu/icu-3.6.inc
>> index 272f6d1..8caf71c 100644
>> --- a/meta/recipes-support/icu/icu-3.6.inc
>> +++ b/meta/recipes-support/icu/icu-3.6.inc
>> @@ -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

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!


>>       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"
>> diff --git a/meta/recipes-support/icu/icu_3.6.bb
>> b/meta/recipes-support/icu/icu_3.6.bb
>> index f941acf..f50abe2 100644
>> --- a/meta/recipes-support/icu/icu_3.6.bb
>> +++ b/meta/recipes-support/icu/icu_3.6.bb
>> @@ -1,6 +1,6 @@
>>   require icu-3.6.inc
>>
>> -PR = "r9"
>> +PR = "r10"
>>
>>   SRC_URI[md5sum] = "6243f7a19e03e05403ce84e597510d4c"
>>   SRC_URI[sha256sum] =
>> "5135e8d69d6206d320515df7aeee7027711ab1aef9d8dbf29571a97a9746b041"
>>
>
> _______________________________________________
> Openembedded-core mailing list
> Openembedded-core@lists.openembedded.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core
>
>



^ permalink raw reply	[flat|nested] 17+ messages in thread

* Re: [PATCH 2/4] ICU: add pkgconfig support
  2012-12-10 21:44     ` Saul Wold
@ 2012-12-11  1:07       ` Andreas Müller
  2012-12-11  1:59         ` Saul Wold
  2012-12-11  2:05       ` ChenQi
  1 sibling, 1 reply; 17+ messages in thread
From: Andreas Müller @ 2012-12-11  1:07 UTC (permalink / raw)
  To: Saul Wold; +Cc: Zhenfeng.Zhao, openembedded-core

On Mon, Dec 10, 2012 at 10:44 PM, Saul Wold <sgw@linux.intel.com> wrote:
> On 12/10/2012 08:48 AM, Saul Wold wrote:
>>
>> On 12/04/2012 12:46 AM, Qi.Chen@windriver.com wrote:
>>>
>>> From: Chen Qi <Qi.Chen@windriver.com>
>>>
>>> Add pkgconfig support to ICU.
>>>
>>> [YOCTO #2453]
>>>
>> This patch seems to have introduced a problem with webkit-gtk
>>
>>> | 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
>>>
>>> | 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
>>>
>>> | 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'
>>> | 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!
>>
>>> Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
>>> ---
>>>   .../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
>>>
>>> diff --git
>>> a/meta/recipes-support/icu/files/icu-add-pkgconfig-support.patch
>>> b/meta/recipes-support/icu/files/icu-add-pkgconfig-support.patch
>>> new file mode 100644
>>> index 0000000..c7cd9d5
>>> --- /dev/null
>>> +++ b/meta/recipes-support/icu/files/icu-add-pkgconfig-support.patch
>>> @@ -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 <Qi.Chen@windriver.com>
>>> +
>>> +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
>>> +
>>> diff --git a/meta/recipes-support/icu/icu-3.6.inc
>>> b/meta/recipes-support/icu/icu-3.6.inc
>>> index 272f6d1..8caf71c 100644
>>> --- a/meta/recipes-support/icu/icu-3.6.inc
>>> +++ b/meta/recipes-support/icu/icu-3.6.inc
>>> @@ -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
>
>
> 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!
>
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



^ permalink raw reply	[flat|nested] 17+ messages in thread

* Re: [PATCH 2/4] ICU: add pkgconfig support
  2012-12-11  1:07       ` Andreas Müller
@ 2012-12-11  1:59         ` Saul Wold
  2012-12-12  8:48           ` ChenQi
  0 siblings, 1 reply; 17+ messages in thread
From: Saul Wold @ 2012-12-11  1:59 UTC (permalink / raw)
  To: Andreas Müller; +Cc: Zhenfeng.Zhao, openembedded-core

On 12/10/2012 05:07 PM, Andreas Müller wrote:
> On Mon, Dec 10, 2012 at 10:44 PM, Saul Wold <sgw@linux.intel.com> wrote:
>> On 12/10/2012 08:48 AM, Saul Wold wrote:
>>>
>>> On 12/04/2012 12:46 AM, Qi.Chen@windriver.com wrote:
>>>>
<SNIP>
>>>>               "
>>>>    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
>>
>>
>> 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!
>>
> 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
>
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!

> Andreas
>
>



^ permalink raw reply	[flat|nested] 17+ messages in thread

* Re: [PATCH 2/4] ICU: add pkgconfig support
  2012-12-10 21:44     ` Saul Wold
  2012-12-11  1:07       ` Andreas Müller
@ 2012-12-11  2:05       ` ChenQi
  1 sibling, 0 replies; 17+ messages in thread
From: ChenQi @ 2012-12-11  2:05 UTC (permalink / raw)
  To: Saul Wold; +Cc: Zhenfeng.Zhao, openembedded-core


>> Not sure what exactly is happening.
>>
>> Please look into this.
>>
>> Thanks
>>      Sau!
>>
>>> Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
>>> ---
>>>   .../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
>>>
>>> diff --git
>>> a/meta/recipes-support/icu/files/icu-add-pkgconfig-support.patch
>>> b/meta/recipes-support/icu/files/icu-add-pkgconfig-support.patch
>>> new file mode 100644
>>> index 0000000..c7cd9d5
>>> --- /dev/null
>>> +++ b/meta/recipes-support/icu/files/icu-add-pkgconfig-support.patch
>>> @@ -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 <Qi.Chen@windriver.com>
>>> +
>>> +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
>>> +
>>> diff --git a/meta/recipes-support/icu/icu-3.6.inc
>>> b/meta/recipes-support/icu/icu-3.6.inc
>>> index 272f6d1..8caf71c 100644
>>> --- a/meta/recipes-support/icu/icu-3.6.inc
>>> +++ b/meta/recipes-support/icu/icu-3.6.inc
>>> @@ -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
>
> 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!
>
>
Thanks a lot!
I'll look into this immediately.


Chen Qi

>>>       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"
>>> diff --git a/meta/recipes-support/icu/icu_3.6.bb
>>> b/meta/recipes-support/icu/icu_3.6.bb
>>> index f941acf..f50abe2 100644
>>> --- a/meta/recipes-support/icu/icu_3.6.bb
>>> +++ b/meta/recipes-support/icu/icu_3.6.bb
>>> @@ -1,6 +1,6 @@
>>>   require icu-3.6.inc
>>>
>>> -PR = "r9"
>>> +PR = "r10"
>>>
>>>   SRC_URI[md5sum] = "6243f7a19e03e05403ce84e597510d4c"
>>>   SRC_URI[sha256sum] =
>>> "5135e8d69d6206d320515df7aeee7027711ab1aef9d8dbf29571a97a9746b041"
>>>
>>
>> _______________________________________________
>> Openembedded-core mailing list
>> Openembedded-core@lists.openembedded.org
>> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core
>>
>>
>




^ permalink raw reply	[flat|nested] 17+ messages in thread

* Re: [PATCH 2/4] ICU: add pkgconfig support
  2012-12-11  1:59         ` Saul Wold
@ 2012-12-12  8:48           ` ChenQi
  2012-12-12  8:58             ` ChenQi
  0 siblings, 1 reply; 17+ messages in thread
From: ChenQi @ 2012-12-12  8:48 UTC (permalink / raw)
  To: Saul Wold; +Cc: Zhenfeng.Zhao, openembedded-core

[-- Attachment #1: Type: text/plain, Size: 3369 bytes --]

On 12/11/2012 09:59 AM, Saul Wold wrote:
> On 12/10/2012 05:07 PM, Andreas Müller wrote:
>> On Mon, Dec 10, 2012 at 10:44 PM, Saul Wold <sgw@linux.intel.com> wrote:
>>> On 12/10/2012 08:48 AM, Saul Wold wrote:
>>>>
>>>> On 12/04/2012 12:46 AM, Qi.Chen@windriver.com wrote:
>>>>>
> <SNIP>
>>>>>               "
>>>>>    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
>>>
>>>
>>> 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!
>>>
>> 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
>>
> 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!
>
>> 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.



[-- Attachment #2: icu_50.bb --]
[-- Type: text/plain, Size: 171 bytes --]

require icu-50.inc

PR = "r1"

SRC_URI[md5sum] = "cf7bf9e56aa6c2057a8b6f464046483e"
SRC_URI[sha256sum] = "68592b3c07d9b86100f41d0172eb1a81f3ffb2a8fef1104d7395099079ba7350"

[-- Attachment #3: icu-50.inc --]
[-- Type: text/plain, Size: 1235 bytes --]

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"

^ permalink raw reply	[flat|nested] 17+ messages in thread

* Re: [PATCH 2/4] ICU: add pkgconfig support
  2012-12-12  8:48           ` ChenQi
@ 2012-12-12  8:58             ` ChenQi
  0 siblings, 0 replies; 17+ messages in thread
From: ChenQi @ 2012-12-12  8:58 UTC (permalink / raw)
  To: openembedded-core

[-- Attachment #1: Type: text/plain, Size: 3833 bytes --]

On 12/12/2012 04:48 PM, ChenQi wrote:
> On 12/11/2012 09:59 AM, Saul Wold wrote:
>> On 12/10/2012 05:07 PM, Andreas Müller wrote:
>>> On Mon, Dec 10, 2012 at 10:44 PM, Saul Wold <sgw@linux.intel.com> 
>>> wrote:
>>>> On 12/10/2012 08:48 AM, Saul Wold wrote:
>>>>>
>>>>> On 12/04/2012 12:46 AM, Qi.Chen@windriver.com wrote:
>>>>>>
>> <SNIP>
>>>>>>               "
>>>>>>    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
>>>>
>>>>
>>>> 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!
>>>>
>>> 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
>>>
>> 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!
>>
>>> 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
>

Ah.... I see the problem. Our autoconf version is 2.69 while this 
configure.ac file needs 2.68.
> 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.
>
>
>
>
> _______________________________________________
> Openembedded-core mailing list
> Openembedded-core@lists.openembedded.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core


[-- Attachment #2: Type: text/html, Size: 7509 bytes --]

^ permalink raw reply	[flat|nested] 17+ messages in thread

end of thread, other threads:[~2012-12-12  9:13 UTC | newest]

Thread overview: 17+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-12-03 10:42 [PATCH 0/4] [V2] Add pkgconfig support to four packages Qi.Chen
2012-12-03 10:42 ` [PATCH 1/4] libksba: add pkgconfig support Qi.Chen
2012-12-03 10:42 ` [PATCH 2/4] ICU: " Qi.Chen
2012-12-03 11:50   ` Burton, Ross
2012-12-04  2:04     ` ChenQi
2012-12-10 16:48   ` Saul Wold
2012-12-10 21:44     ` Saul Wold
2012-12-11  1:07       ` Andreas Müller
2012-12-11  1:59         ` Saul Wold
2012-12-12  8:48           ` ChenQi
2012-12-12  8:58             ` ChenQi
2012-12-11  2:05       ` ChenQi
2012-12-03 10:42 ` [PATCH 3/4] pth: " Qi.Chen
2012-12-03 10:42 ` [PATCH 4/4] libassuan: " Qi.Chen
2012-12-04  8:51 ` [PATCH 0/4] [V3] Add pkgconfig support to four packages ChenQi
  -- strict thread matches above, loose matches on Subject: below --
2012-11-26  9:36 [PATCH 0/4] " Qi.Chen
2012-11-26  9:36 ` [PATCH 2/4] icu: add pkgconfig support Qi.Chen
2012-11-26 10:56   ` Burton, Ross

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.