diff options
Diffstat (limited to 'meta/recipes-support')
3 files changed, 39 insertions, 81 deletions
diff --git a/meta/recipes-support/atk/at-spi2-core/0001-build-Add-with-systemduserunitdir.patch b/meta/recipes-support/atk/at-spi2-core/0001-build-Add-with-systemduserunitdir.patch deleted file mode 100644 index 1f8c9f374f..0000000000 --- a/meta/recipes-support/atk/at-spi2-core/0001-build-Add-with-systemduserunitdir.patch +++ /dev/null | |||
@@ -1,52 +0,0 @@ | |||
1 | From fa376762b92404b9e3c430054b8c3341ca0fdd8b Mon Sep 17 00:00:00 2001 | ||
2 | From: Jussi Kukkonen <jussi.kukkonen@intel.com> | ||
3 | Date: Tue, 21 Jun 2016 16:00:02 +0300 | ||
4 | Subject: [PATCH] build: Add --with-systemduserunitdir | ||
5 | |||
6 | Default to "pkg-config --variable=systemduserunitdir systemd" but | ||
7 | allow overriding the value. | ||
8 | |||
9 | Upstream-Status: Submitted [https://bugzilla.gnome.org/show_bug.cgi?id=767911] | ||
10 | Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com> | ||
11 | |||
12 | --- | ||
13 | bus/Makefile.am | 2 +- | ||
14 | configure.ac | 9 +++++++++ | ||
15 | 2 files changed, 10 insertions(+), 1 deletion(-) | ||
16 | |||
17 | diff --git a/bus/Makefile.am b/bus/Makefile.am | ||
18 | index 688f82a..10cde62 100644 | ||
19 | --- a/bus/Makefile.am | ||
20 | +++ b/bus/Makefile.am | ||
21 | @@ -29,7 +29,7 @@ org.a11y.Bus.service: org.a11y.Bus.service.in | ||
22 | EXTRA_DIST += org.a11y.Bus.service.in | ||
23 | CLEANFILES += org.a11y.Bus.service | ||
24 | |||
25 | -systemd_userdir = $(prefix)/lib/systemd/user | ||
26 | +systemd_userdir = $(systemduserunitdir) | ||
27 | systemd_user_DATA = at-spi-dbus-bus.service | ||
28 | at-spi-dbus-bus.service: at-spi-dbus-bus.service.in Makefile | ||
29 | $(AM_V_GEN) $(SED) -e $(substitutions) $< > $@.tmp && mv $@.tmp $@ | ||
30 | diff --git a/configure.ac b/configure.ac | ||
31 | index 8c4fca2..1415cca 100644 | ||
32 | --- a/configure.ac | ||
33 | +++ b/configure.ac | ||
34 | @@ -146,6 +146,15 @@ else | ||
35 | fi | ||
36 | AC_SUBST(DBUS_SERVICES_DIR) | ||
37 | |||
38 | +AC_ARG_WITH([systemduserunitdir], | ||
39 | + AS_HELP_STRING([--with-systemduserunitdir=DIR], | ||
40 | + [Directory for systemd service files]), | ||
41 | + [], | ||
42 | + [with_systemduserunitdir=$($PKG_CONFIG --variable=systemduserunitdir systemd)]) | ||
43 | +AC_SUBST([systemduserunitdir], [$with_systemduserunitdir]) | ||
44 | + | ||
45 | +AC_PATH_PROG(GLIB_MKENUMS, glib-mkenums) | ||
46 | + | ||
47 | GOBJECT_INTROSPECTION_CHECK([1.32.0]) | ||
48 | |||
49 | AC_SUBST(LIBTOOL_EXPORT_OPTIONS) | ||
50 | -- | ||
51 | 2.14.1 | ||
52 | |||
diff --git a/meta/recipes-support/atk/at-spi2-core_2.26.2.bb b/meta/recipes-support/atk/at-spi2-core_2.26.2.bb deleted file mode 100644 index 521ee3b96e..0000000000 --- a/meta/recipes-support/atk/at-spi2-core_2.26.2.bb +++ /dev/null | |||
@@ -1,29 +0,0 @@ | |||
1 | SUMMARY = "Assistive Technology Service Provider Interface (dbus core)" | ||
2 | HOMEPAGE = "https://wiki.linuxfoundation.org/accessibility/d-bus" | ||
3 | LICENSE = "LGPLv2" | ||
4 | LIC_FILES_CHKSUM = "file://COPYING;md5=e9f288ba982d60518f375b5898283886" | ||
5 | |||
6 | MAJ_VER = "${@oe.utils.trim_version("${PV}", 2)}" | ||
7 | |||
8 | SRC_URI = "${GNOME_MIRROR}/${BPN}/${MAJ_VER}/${BPN}-${PV}.tar.xz \ | ||
9 | file://0001-build-Add-with-systemduserunitdir.patch \ | ||
10 | " | ||
11 | |||
12 | SRC_URI[md5sum] = "4a042e4c801fdb793788b749eab21485" | ||
13 | SRC_URI[sha256sum] = "c80e0cdf5e3d713400315b63c7deffa561032a6c37289211d8afcfaa267c2615" | ||
14 | |||
15 | DEPENDS = "dbus glib-2.0 virtual/libx11 libxi libxtst" | ||
16 | |||
17 | inherit autotools gtk-doc gettext systemd pkgconfig distro_features_check upstream-version-is-even gobject-introspection | ||
18 | # depends on virtual/libx11 | ||
19 | REQUIRED_DISTRO_FEATURES = "x11" | ||
20 | |||
21 | EXTRA_OECONF = " \ | ||
22 | --with-systemduserunitdir=${systemd_user_unitdir} \ | ||
23 | --with-dbus-daemondir=${bindir}" | ||
24 | |||
25 | FILES_${PN} += "${datadir}/dbus-1/services/*.service \ | ||
26 | ${datadir}/dbus-1/accessibility-services/*.service \ | ||
27 | ${datadir}/defaults/at-spi2 \ | ||
28 | ${systemd_user_unitdir}/at-spi-dbus-bus.serviceĀ \ | ||
29 | " | ||
diff --git a/meta/recipes-support/atk/at-spi2-core_2.28.0.bb b/meta/recipes-support/atk/at-spi2-core_2.28.0.bb new file mode 100644 index 0000000000..7975f58bad --- /dev/null +++ b/meta/recipes-support/atk/at-spi2-core_2.28.0.bb | |||
@@ -0,0 +1,39 @@ | |||
1 | SUMMARY = "Assistive Technology Service Provider Interface (dbus core)" | ||
2 | HOMEPAGE = "https://wiki.linuxfoundation.org/accessibility/d-bus" | ||
3 | LICENSE = "LGPLv2" | ||
4 | LIC_FILES_CHKSUM = "file://COPYING;md5=e9f288ba982d60518f375b5898283886" | ||
5 | |||
6 | MAJ_VER = "${@oe.utils.trim_version("${PV}", 2)}" | ||
7 | |||
8 | SRC_URI = "${GNOME_MIRROR}/${BPN}/${MAJ_VER}/${BPN}-${PV}.tar.xz \ | ||
9 | " | ||
10 | |||
11 | SRC_URI[md5sum] = "9c42f79636ed1c0e908b7483d789b32e" | ||
12 | SRC_URI[sha256sum] = "42a2487ab11ce43c288e73b2668ef8b1ab40a0e2b4f94e80fca04ad27b6f1c87" | ||
13 | |||
14 | DEPENDS = "dbus glib-2.0 virtual/libx11 libxi libxtst" | ||
15 | |||
16 | inherit meson gtk-doc gettext systemd pkgconfig distro_features_check upstream-version-is-even gobject-introspection | ||
17 | # depends on virtual/libx11 | ||
18 | REQUIRED_DISTRO_FEATURES = "x11" | ||
19 | |||
20 | EXTRA_OEMESON = " -Dsystemd_user_dir=${systemd_user_unitdir} \ | ||
21 | -Ddbus_daemon=${bindir}" | ||
22 | |||
23 | GTKDOC_ENABLE_FLAG = "-Denable_docs=true" | ||
24 | GTKDOC_DISABLE_FLAG = "-Denable_docs=false" | ||
25 | |||
26 | GI_ENABLE_FLAG = "-Denable-introspection=yes" | ||
27 | GI_DISABLE_FLAG = "-Denable-introspection=no" | ||
28 | |||
29 | EXTRA_OEMESON_append_class-target = " ${@bb.utils.contains('GI_DATA_ENABLED', 'True', '${GI_ENABLE_FLAG}', \ | ||
30 | '${GI_DISABLE_FLAG}', d)} " | ||
31 | |||
32 | EXTRA_OEMESON_append_class-target = " ${@bb.utils.contains('GTKDOC_ENABLED', 'True', '${GTKDOC_ENABLE_FLAG}', \ | ||
33 | '${GTKDOC_DISABLE_FLAG}', d)} " | ||
34 | |||
35 | FILES_${PN} += "${datadir}/dbus-1/services/*.service \ | ||
36 | ${datadir}/dbus-1/accessibility-services/*.service \ | ||
37 | ${datadir}/defaults/at-spi2 \ | ||
38 | ${systemd_user_unitdir}/at-spi-dbus-bus.serviceĀ \ | ||
39 | " | ||