Patchwork [02/11] at-spi2: add -core and -atk, for GTK+ 3.8

login
register
mail settings
Submitter Ross Burton
Date May 31, 2013, 3:05 p.m.
Message ID <5bed792688d848b38d1565e2705b1f9dca7a17d5.1370012689.git.ross.burton@intel.com>
Download mbox | patch
Permalink /patch/50971/
State New
Headers show

Comments

Ross Burton - May 31, 2013, 3:05 p.m.
Signed-off-by: Ross Burton <ross.burton@intel.com>
---
 meta/recipes-support/atk/at-spi2-atk_2.8.1.bb  |   19 +++++++++++++++++++
 meta/recipes-support/atk/at-spi2-core_2.8.0.bb |   17 +++++++++++++++++
 2 files changed, 36 insertions(+)
 create mode 100644 meta/recipes-support/atk/at-spi2-atk_2.8.1.bb
 create mode 100644 meta/recipes-support/atk/at-spi2-core_2.8.0.bb
Saul Wold - June 3, 2013, 8:39 p.m.
On 05/31/2013 08:05 AM, Ross Burton wrote:
> Signed-off-by: Ross Burton <ross.burton@intel.com>
> ---
>   meta/recipes-support/atk/at-spi2-atk_2.8.1.bb  |   19 +++++++++++++++++++
>   meta/recipes-support/atk/at-spi2-core_2.8.0.bb |   17 +++++++++++++++++
>   2 files changed, 36 insertions(+)
>   create mode 100644 meta/recipes-support/atk/at-spi2-atk_2.8.1.bb
>   create mode 100644 meta/recipes-support/atk/at-spi2-core_2.8.0.bb
>

Ross,

I ran into a do_configure issue with this new recipe, the at-spi2-core 
failed to configure on my local test machine.

Possibly this is the reason:
> configure:13783: checking alignment of char
> configure:13819: result: 0
> configure:13822: error: Failed to find alignment. Check config.log for details.

Sau!



> diff --git a/meta/recipes-support/atk/at-spi2-atk_2.8.1.bb b/meta/recipes-support/atk/at-spi2-atk_2.8.1.bb
> new file mode 100644
> index 0000000..32cbe3b
> --- /dev/null
> +++ b/meta/recipes-support/atk/at-spi2-atk_2.8.1.bb
> @@ -0,0 +1,19 @@
> +SUMMARY = "AT-SPI 2 Toolkit Bridge"
> +LICENSE = "LGPLv2"
> +LIC_FILES_CHKSUM = "file://COPYING;md5=e9f288ba982d60518f375b5898283886"
> +
> +MAJ_VER = "${@oe.utils.trim_version("${PV}", 2)}"
> +
> +SRC_URI = "${GNOME_MIRROR}/${BPN}/${MAJ_VER}/${BPN}-${PV}.tar.xz"
> +SRC_URI[md5sum] = "854e36a2538bea50bc08d33aa9499bb2"
> +SRC_URI[sha256sum] = "eb659b94fde6dc0a2f584c9121a5e6d39a4c8aa297d21d8f9032f7a8a775fd06"
> +
> +DEPENDS = "dbus glib-2.0 atk at-spi2-core"
> +
> +inherit autotools
> +
> +PACKAGES =+ "${PN}-gnome ${PN}-gtk2"
> +
> +FILES_${PN}-gnome = "${libdir}/gnome-settings-daemon-3.0/gtk-modules"
> +FILES_${PN}-gtk2 = "${libdir}/gtk-2.0/modules/libatk-bridge.*"
> +FILES_${PN}-dbg += "${libdir}/gtk-2.0/modules/.debug"
> diff --git a/meta/recipes-support/atk/at-spi2-core_2.8.0.bb b/meta/recipes-support/atk/at-spi2-core_2.8.0.bb
> new file mode 100644
> index 0000000..29851bb
> --- /dev/null
> +++ b/meta/recipes-support/atk/at-spi2-core_2.8.0.bb
> @@ -0,0 +1,17 @@
> +SUMMARY = "Assistive Technology Service Provider Interface (dbus core)"
> +LICENSE = "LGPLv2"
> +LIC_FILES_CHKSUM = "file://COPYING;md5=e9f288ba982d60518f375b5898283886"
> +
> +MAJ_VER = "${@oe.utils.trim_version("${PV}", 2)}"
> +
> +SRC_URI = "${GNOME_MIRROR}/${BPN}/${MAJ_VER}/${BPN}-${PV}.tar.xz"
> +SRC_URI[md5sum] = "93b57d5d56d15d1222ddf2386e2f869f"
> +SRC_URI[sha256sum] = "1861a30fc7f583d5a567a0ba547db67ce9bd294f0d1c9f7403c96a10a481c458"
> +
> +DEPENDS = "dbus glib-2.0 virtual/libx11 libxi"
> +
> +inherit autotools gtk-doc
> +
> +EXTRA_OECONF = "--disable-introspection --disable-xevie"
> +
> +FILES_${PN} += "${datadir}/dbus-1/services/*.service"
>
Martin Jansa - June 4, 2013, 2:26 p.m.
On Mon, Jun 03, 2013 at 01:39:32PM -0700, Saul Wold wrote:
> On 05/31/2013 08:05 AM, Ross Burton wrote:
> > Signed-off-by: Ross Burton <ross.burton@intel.com>
> > ---
> >   meta/recipes-support/atk/at-spi2-atk_2.8.1.bb  |   19 +++++++++++++++++++
> >   meta/recipes-support/atk/at-spi2-core_2.8.0.bb |   17 +++++++++++++++++
> >   2 files changed, 36 insertions(+)
> >   create mode 100644 meta/recipes-support/atk/at-spi2-atk_2.8.1.bb
> >   create mode 100644 meta/recipes-support/atk/at-spi2-core_2.8.0.bb
> >
> 
> Ross,
> 
> I ran into a do_configure issue with this new recipe, the at-spi2-core 
> failed to configure on my local test machine.
> 
> Possibly this is the reason:
> > configure:13783: checking alignment of char
> > configure:13819: result: 0
> > configure:13822: error: Failed to find alignment. Check config.log for details.
> 
> Sau!

Hi, 

this issue is known:
http://lists.openembedded.org/pipermail/openembedded-core/2013-February/075178.html

> 
> 
> 
> > diff --git a/meta/recipes-support/atk/at-spi2-atk_2.8.1.bb b/meta/recipes-support/atk/at-spi2-atk_2.8.1.bb
> > new file mode 100644
> > index 0000000..32cbe3b
> > --- /dev/null
> > +++ b/meta/recipes-support/atk/at-spi2-atk_2.8.1.bb
> > @@ -0,0 +1,19 @@
> > +SUMMARY = "AT-SPI 2 Toolkit Bridge"
> > +LICENSE = "LGPLv2"
> > +LIC_FILES_CHKSUM = "file://COPYING;md5=e9f288ba982d60518f375b5898283886"
> > +
> > +MAJ_VER = "${@oe.utils.trim_version("${PV}", 2)}"
> > +
> > +SRC_URI = "${GNOME_MIRROR}/${BPN}/${MAJ_VER}/${BPN}-${PV}.tar.xz"
> > +SRC_URI[md5sum] = "854e36a2538bea50bc08d33aa9499bb2"
> > +SRC_URI[sha256sum] = "eb659b94fde6dc0a2f584c9121a5e6d39a4c8aa297d21d8f9032f7a8a775fd06"
> > +
> > +DEPENDS = "dbus glib-2.0 atk at-spi2-core"
> > +
> > +inherit autotools
> > +
> > +PACKAGES =+ "${PN}-gnome ${PN}-gtk2"
> > +
> > +FILES_${PN}-gnome = "${libdir}/gnome-settings-daemon-3.0/gtk-modules"
> > +FILES_${PN}-gtk2 = "${libdir}/gtk-2.0/modules/libatk-bridge.*"
> > +FILES_${PN}-dbg += "${libdir}/gtk-2.0/modules/.debug"
> > diff --git a/meta/recipes-support/atk/at-spi2-core_2.8.0.bb b/meta/recipes-support/atk/at-spi2-core_2.8.0.bb
> > new file mode 100644
> > index 0000000..29851bb
> > --- /dev/null
> > +++ b/meta/recipes-support/atk/at-spi2-core_2.8.0.bb
> > @@ -0,0 +1,17 @@
> > +SUMMARY = "Assistive Technology Service Provider Interface (dbus core)"
> > +LICENSE = "LGPLv2"
> > +LIC_FILES_CHKSUM = "file://COPYING;md5=e9f288ba982d60518f375b5898283886"
> > +
> > +MAJ_VER = "${@oe.utils.trim_version("${PV}", 2)}"
> > +
> > +SRC_URI = "${GNOME_MIRROR}/${BPN}/${MAJ_VER}/${BPN}-${PV}.tar.xz"
> > +SRC_URI[md5sum] = "93b57d5d56d15d1222ddf2386e2f869f"
> > +SRC_URI[sha256sum] = "1861a30fc7f583d5a567a0ba547db67ce9bd294f0d1c9f7403c96a10a481c458"
> > +
> > +DEPENDS = "dbus glib-2.0 virtual/libx11 libxi"
> > +
> > +inherit autotools gtk-doc
> > +
> > +EXTRA_OECONF = "--disable-introspection --disable-xevie"
> > +
> > +FILES_${PN} += "${datadir}/dbus-1/services/*.service"
> >
> _______________________________________________
> Openembedded-core mailing list
> Openembedded-core@lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-core
Martin Jansa - June 4, 2013, 3:06 p.m.
On Fri, May 31, 2013 at 04:05:38PM +0100, Ross Burton wrote:
> Signed-off-by: Ross Burton <ross.burton@intel.com>
> ---
>  meta/recipes-support/atk/at-spi2-atk_2.8.1.bb  |   19 +++++++++++++++++++
>  meta/recipes-support/atk/at-spi2-core_2.8.0.bb |   17 +++++++++++++++++
>  2 files changed, 36 insertions(+)
>  create mode 100644 meta/recipes-support/atk/at-spi2-atk_2.8.1.bb
>  create mode 100644 meta/recipes-support/atk/at-spi2-core_2.8.0.bb
> 
> diff --git a/meta/recipes-support/atk/at-spi2-atk_2.8.1.bb b/meta/recipes-support/atk/at-spi2-atk_2.8.1.bb
> new file mode 100644
> index 0000000..32cbe3b
> --- /dev/null
> +++ b/meta/recipes-support/atk/at-spi2-atk_2.8.1.bb
> @@ -0,0 +1,19 @@
> +SUMMARY = "AT-SPI 2 Toolkit Bridge"
> +LICENSE = "LGPLv2"
> +LIC_FILES_CHKSUM = "file://COPYING;md5=e9f288ba982d60518f375b5898283886"
> +
> +MAJ_VER = "${@oe.utils.trim_version("${PV}", 2)}"
> +
> +SRC_URI = "${GNOME_MIRROR}/${BPN}/${MAJ_VER}/${BPN}-${PV}.tar.xz"
> +SRC_URI[md5sum] = "854e36a2538bea50bc08d33aa9499bb2"
> +SRC_URI[sha256sum] = "eb659b94fde6dc0a2f584c9121a5e6d39a4c8aa297d21d8f9032f7a8a775fd06"
> +
> +DEPENDS = "dbus glib-2.0 atk at-spi2-core"
> +
> +inherit autotools
> +
> +PACKAGES =+ "${PN}-gnome ${PN}-gtk2"
> +
> +FILES_${PN}-gnome = "${libdir}/gnome-settings-daemon-3.0/gtk-modules"
> +FILES_${PN}-gtk2 = "${libdir}/gtk-2.0/modules/libatk-bridge.*"
> +FILES_${PN}-dbg += "${libdir}/gtk-2.0/modules/.debug"
> diff --git a/meta/recipes-support/atk/at-spi2-core_2.8.0.bb b/meta/recipes-support/atk/at-spi2-core_2.8.0.bb
> new file mode 100644
> index 0000000..29851bb
> --- /dev/null
> +++ b/meta/recipes-support/atk/at-spi2-core_2.8.0.bb
> @@ -0,0 +1,17 @@
> +SUMMARY = "Assistive Technology Service Provider Interface (dbus core)"
> +LICENSE = "LGPLv2"
> +LIC_FILES_CHKSUM = "file://COPYING;md5=e9f288ba982d60518f375b5898283886"
> +
> +MAJ_VER = "${@oe.utils.trim_version("${PV}", 2)}"
> +
> +SRC_URI = "${GNOME_MIRROR}/${BPN}/${MAJ_VER}/${BPN}-${PV}.tar.xz"
> +SRC_URI[md5sum] = "93b57d5d56d15d1222ddf2386e2f869f"
> +SRC_URI[sha256sum] = "1861a30fc7f583d5a567a0ba547db67ce9bd294f0d1c9f7403c96a10a481c458"
> +
> +DEPENDS = "dbus glib-2.0 virtual/libx11 libxi"

libxtst is missing here

| configure:13325: checking for XTestFakeKeyEvent in -lXtst
| configure:13350: arm-oe-linux-gnueabi-gcc  -march=armv5te -mthumb -mthumb-interwork --sysroot=/OE/oe-core/tmp-eglibc/sysroots/qemuarm -o conftest -O2 -pipe -g -feliminate-unused-debug-types   -Wl,-O1 -Wl,--hash-style=gnu -Wl,--as-needed conftest.c -lXtst   -lSM -lICE -lX11   >&5
| /OE/oe-core/tmp-eglibc/sysroots/x86_64-linux/usr/libexec/armv5te-oe-linux-gnueabi/gcc/arm-oe-linux-gnueabi/4.8.0/ld: cannot find -lXtst
| collect2: error: ld returned 1 exit status
....
| configure:13359: result: no
| configure:13365: error: Couldn't find the Xtst library. Check config.log

> +
> +inherit autotools gtk-doc
> +
> +EXTRA_OECONF = "--disable-introspection --disable-xevie"
> +
> +FILES_${PN} += "${datadir}/dbus-1/services/*.service"
> -- 
> 1.7.10.4
> 
> _______________________________________________
> Openembedded-core mailing list
> Openembedded-core@lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-core
Martin Jansa - June 4, 2013, 9:38 p.m.
On Tue, Jun 04, 2013 at 04:26:27PM +0200, Martin Jansa wrote:
> On Mon, Jun 03, 2013 at 01:39:32PM -0700, Saul Wold wrote:
> > On 05/31/2013 08:05 AM, Ross Burton wrote:
> > > Signed-off-by: Ross Burton <ross.burton@intel.com>
> > > ---
> > >   meta/recipes-support/atk/at-spi2-atk_2.8.1.bb  |   19 +++++++++++++++++++
> > >   meta/recipes-support/atk/at-spi2-core_2.8.0.bb |   17 +++++++++++++++++
> > >   2 files changed, 36 insertions(+)
> > >   create mode 100644 meta/recipes-support/atk/at-spi2-atk_2.8.1.bb
> > >   create mode 100644 meta/recipes-support/atk/at-spi2-core_2.8.0.bb
> > >
> > 
> > Ross,
> > 
> > I ran into a do_configure issue with this new recipe, the at-spi2-core 
> > failed to configure on my local test machine.
> > 
> > Possibly this is the reason:
> > > configure:13783: checking alignment of char
> > > configure:13819: result: 0
> > > configure:13822: error: Failed to find alignment. Check config.log for details.
> > 
> > Sau!
> 
> Hi, 
> 
> this issue is known:
> http://lists.openembedded.org/pipermail/openembedded-core/2013-February/075178.html

I've send site data for arm, 
http://lists.openembedded.org/pipermail/openembedded-core/2013-June/079485.html

but now I've noticed that ac_cv_alignof_char is also missing in x86_64
version of Ross's patch
http://git.openembedded.org/openembedded-core/commit/?id=8c46ec2edc0197b32d32e0f27d5b60271338b600
so qemux86-64 also fails.

Patch

diff --git a/meta/recipes-support/atk/at-spi2-atk_2.8.1.bb b/meta/recipes-support/atk/at-spi2-atk_2.8.1.bb
new file mode 100644
index 0000000..32cbe3b
--- /dev/null
+++ b/meta/recipes-support/atk/at-spi2-atk_2.8.1.bb
@@ -0,0 +1,19 @@ 
+SUMMARY = "AT-SPI 2 Toolkit Bridge"
+LICENSE = "LGPLv2"
+LIC_FILES_CHKSUM = "file://COPYING;md5=e9f288ba982d60518f375b5898283886"
+
+MAJ_VER = "${@oe.utils.trim_version("${PV}", 2)}"
+
+SRC_URI = "${GNOME_MIRROR}/${BPN}/${MAJ_VER}/${BPN}-${PV}.tar.xz"
+SRC_URI[md5sum] = "854e36a2538bea50bc08d33aa9499bb2"
+SRC_URI[sha256sum] = "eb659b94fde6dc0a2f584c9121a5e6d39a4c8aa297d21d8f9032f7a8a775fd06"
+
+DEPENDS = "dbus glib-2.0 atk at-spi2-core"
+
+inherit autotools
+
+PACKAGES =+ "${PN}-gnome ${PN}-gtk2"
+
+FILES_${PN}-gnome = "${libdir}/gnome-settings-daemon-3.0/gtk-modules"
+FILES_${PN}-gtk2 = "${libdir}/gtk-2.0/modules/libatk-bridge.*"
+FILES_${PN}-dbg += "${libdir}/gtk-2.0/modules/.debug"
diff --git a/meta/recipes-support/atk/at-spi2-core_2.8.0.bb b/meta/recipes-support/atk/at-spi2-core_2.8.0.bb
new file mode 100644
index 0000000..29851bb
--- /dev/null
+++ b/meta/recipes-support/atk/at-spi2-core_2.8.0.bb
@@ -0,0 +1,17 @@ 
+SUMMARY = "Assistive Technology Service Provider Interface (dbus core)"
+LICENSE = "LGPLv2"
+LIC_FILES_CHKSUM = "file://COPYING;md5=e9f288ba982d60518f375b5898283886"
+
+MAJ_VER = "${@oe.utils.trim_version("${PV}", 2)}"
+
+SRC_URI = "${GNOME_MIRROR}/${BPN}/${MAJ_VER}/${BPN}-${PV}.tar.xz"
+SRC_URI[md5sum] = "93b57d5d56d15d1222ddf2386e2f869f"
+SRC_URI[sha256sum] = "1861a30fc7f583d5a567a0ba547db67ce9bd294f0d1c9f7403c96a10a481c458"
+
+DEPENDS = "dbus glib-2.0 virtual/libx11 libxi"
+
+inherit autotools gtk-doc
+
+EXTRA_OECONF = "--disable-introspection --disable-xevie"
+
+FILES_${PN} += "${datadir}/dbus-1/services/*.service"