summaryrefslogtreecommitdiffstats
path: root/meta/recipes-support/atk
diff options
context:
space:
mode:
authorTudor Florea <tudor.florea@enea.com>2015-10-09 22:59:03 +0200
committerTudor Florea <tudor.florea@enea.com>2015-10-09 22:59:03 +0200
commit972dcfcdbfe75dcfeb777150c136576cf1a71e99 (patch)
tree97a61cd7e293d7ae9d56ef7ed0f81253365bb026 /meta/recipes-support/atk
downloadpoky-972dcfcdbfe75dcfeb777150c136576cf1a71e99.tar.gz
initial commit for Enea Linux 5.0 arm
Signed-off-by: Tudor Florea <tudor.florea@enea.com>
Diffstat (limited to 'meta/recipes-support/atk')
-rw-r--r--meta/recipes-support/atk/at-spi2-atk_2.12.1.bb19
-rw-r--r--meta/recipes-support/atk/at-spi2-core_2.12.0.bb20
-rw-r--r--meta/recipes-support/atk/atk_2.12.0.bb23
-rw-r--r--meta/recipes-support/atk/files/core_acinclude_m4.patch40
4 files changed, 102 insertions, 0 deletions
diff --git a/meta/recipes-support/atk/at-spi2-atk_2.12.1.bb b/meta/recipes-support/atk/at-spi2-atk_2.12.1.bb
new file mode 100644
index 0000000000..4431c3d9eb
--- /dev/null
+++ b/meta/recipes-support/atk/at-spi2-atk_2.12.1.bb
@@ -0,0 +1,19 @@
1SUMMARY = "AT-SPI 2 Toolkit Bridge"
2LICENSE = "LGPLv2"
3LIC_FILES_CHKSUM = "file://COPYING;md5=e9f288ba982d60518f375b5898283886"
4
5MAJ_VER = "${@oe.utils.trim_version("${PV}", 2)}"
6
7SRC_URI = "${GNOME_MIRROR}/${BPN}/${MAJ_VER}/${BPN}-${PV}.tar.xz"
8SRC_URI[md5sum] = "ae11df528f1f038987797f39c8357f81"
9SRC_URI[sha256sum] = "5fa9c527bdec028e06797563cd52d49bcf06f638549df983424d88db89bb1336"
10
11DEPENDS = "dbus glib-2.0 atk at-spi2-core"
12
13inherit autotools pkgconfig
14
15PACKAGES =+ "${PN}-gnome ${PN}-gtk2"
16
17FILES_${PN}-gnome = "${libdir}/gnome-settings-daemon-3.0/gtk-modules"
18FILES_${PN}-gtk2 = "${libdir}/gtk-2.0/modules/libatk-bridge.*"
19FILES_${PN}-dbg += "${libdir}/gtk-2.0/modules/.debug"
diff --git a/meta/recipes-support/atk/at-spi2-core_2.12.0.bb b/meta/recipes-support/atk/at-spi2-core_2.12.0.bb
new file mode 100644
index 0000000000..e67155ccbd
--- /dev/null
+++ b/meta/recipes-support/atk/at-spi2-core_2.12.0.bb
@@ -0,0 +1,20 @@
1SUMMARY = "Assistive Technology Service Provider Interface (dbus core)"
2LICENSE = "LGPLv2"
3LIC_FILES_CHKSUM = "file://COPYING;md5=e9f288ba982d60518f375b5898283886"
4
5MAJ_VER = "${@oe.utils.trim_version("${PV}", 2)}"
6
7SRC_URI = "${GNOME_MIRROR}/${BPN}/${MAJ_VER}/${BPN}-${PV}.tar.xz \
8 file://core_acinclude_m4.patch \
9 "
10
11SRC_URI[md5sum] = "b12ad0e0924706f5e7f51216241068ef"
12SRC_URI[sha256sum] = "db550edd98e53b4252521459c2dcaf0f3b060a9bad52489b9dbadbaedad3fb89"
13
14DEPENDS = "dbus glib-2.0 virtual/libx11 libxi libxtst intltool-native"
15
16inherit autotools gtk-doc pkgconfig
17
18EXTRA_OECONF = "--disable-introspection --disable-xevie"
19
20FILES_${PN} += "${datadir}/dbus-1/services/*.service"
diff --git a/meta/recipes-support/atk/atk_2.12.0.bb b/meta/recipes-support/atk/atk_2.12.0.bb
new file mode 100644
index 0000000000..9112bbb6c2
--- /dev/null
+++ b/meta/recipes-support/atk/atk_2.12.0.bb
@@ -0,0 +1,23 @@
1SUMMARY = "Accessibility toolkit for GNOME"
2HOMEPAGE = "http://live.gnome.org/GAP/"
3BUGTRACKER = "https://bugzilla.gnome.org/"
4SECTION = "x11/libs"
5
6LICENSE = "GPLv2+ & LGPLv2+"
7LIC_FILES_CHKSUM = "file://COPYING;md5=3bf50002aefd002f49e7bb854063f7e7 \
8 file://atk/atkutil.c;endline=20;md5=db21b0bdbef9da4dc6eb122debc9f9bc \
9 file://atk/atk.h;endline=20;md5=c58238d688c24387376d6c69d06248a7"
10
11DEPENDS = "glib-2.0"
12
13inherit gnomebase gtk-doc
14
15GNOME_COMPRESS_TYPE = "xz"
16
17SRC_URI[archive.md5sum] = "930238dec55fdbf8eda9975b44f07b76"
18SRC_URI[archive.sha256sum] = "48a8431974639c5a59c24fcd3ece1a19709872d5dfe78907524d9f5e9993f18f"
19
20BBCLASSEXTEND = "native"
21
22EXTRA_OECONF = "--disable-glibtest \
23 --disable-introspection"
diff --git a/meta/recipes-support/atk/files/core_acinclude_m4.patch b/meta/recipes-support/atk/files/core_acinclude_m4.patch
new file mode 100644
index 0000000000..29c538e2c3
--- /dev/null
+++ b/meta/recipes-support/atk/files/core_acinclude_m4.patch
@@ -0,0 +1,40 @@
1at-spi2-core: fix alignof m4 macro
2
3DBIND_CHECK_ALIGNOF does not work when cross-compiling, so we modify
4it to use AC_CHECK_ALIGNOF.
5
6Upstream-Status: Pending
7
8Signed-off-by: joe.slater@windriver.com
9
10
11--- a/acinclude.m4
12+++ b/acinclude.m4
13@@ -2,7 +2,26 @@
14 # type alignment test #
15 #######################
16
17-AC_DEFUN([DBIND_CHECK_ALIGNOF],
18+AC_DEFUN([DBIND_CHECK_ALIGNOF],[
19+AC_CHECK_ALIGNOF($1,[
20+#include <stdio.h>
21+#include <stdlib.h>
22+#define DBUS_API_SUBJECT_TO_CHANGE
23+#include <dbus/dbus.h>
24+typedef struct {char s1;} dbind_struct;
25+typedef void *dbind_pointer;
26+])
27+
28+dnl Note that we substitute for names like @DBIND_ALIGNOF_DBIND_STRUCT@, but
29+dnl we #define names like ALIGNOF_DBIND_STRUCT in config.h!
30+dnl
31+AC_SUBST(translit(dbind_alignof_$1, [a-z *], [A-Z_P]),[$ac_cv_alignof_$1])
32+
33+])
34+
35+dnl The following does not work for cross-compilation.
36+dnl
37+AC_DEFUN([xDBIND_CHECK_ALIGNOF],
38 [changequote(<<, >>)dnl
39 dnl The name to #define.
40 define(<<AC_TYPE_NAME>>,