diff options
Diffstat (limited to 'meta')
4 files changed, 29 insertions, 2 deletions
diff --git a/meta/recipes-graphics/clutter/clutter-1.0.inc b/meta/recipes-graphics/clutter/clutter-1.0.inc index 77035d746f..3929765a9d 100644 --- a/meta/recipes-graphics/clutter/clutter-1.0.inc +++ b/meta/recipes-graphics/clutter/clutter-1.0.inc | |||
@@ -2,7 +2,7 @@ SUMMARY = "Graphics library for creating hardware-accelerated user interfaces" | |||
2 | HOMEPAGE = "http://www.clutter-project.org/" | 2 | HOMEPAGE = "http://www.clutter-project.org/" |
3 | LICENSE = "LGPLv2.1+" | 3 | LICENSE = "LGPLv2.1+" |
4 | 4 | ||
5 | inherit clutter | 5 | inherit clutter ptest-gnome |
6 | 6 | ||
7 | DEPENDS = "pango glib-2.0 json-glib atk udev cogl-1.0" | 7 | DEPENDS = "pango glib-2.0 json-glib atk udev cogl-1.0" |
8 | PACKAGE_BEFORE_PN += "${PN}-examples" | 8 | PACKAGE_BEFORE_PN += "${PN}-examples" |
@@ -39,6 +39,8 @@ PACKAGECONFIG ??= "${@bb.utils.contains('DISTRO_FEATURES', 'wayland', 'wayland', | |||
39 | FILES_${PN}-dbg += "${libdir}/clutter/examples/.debug" | 39 | FILES_${PN}-dbg += "${libdir}/clutter/examples/.debug" |
40 | FILES_${PN}-examples = "${libdir}/clutter/examples" | 40 | FILES_${PN}-examples = "${libdir}/clutter/examples" |
41 | 41 | ||
42 | FILES_${PN}-dbg += "${libexecdir}/installed-tests/.debug" | ||
43 | |||
42 | do_configure_prepend() { | 44 | do_configure_prepend() { |
43 | # see https://bugzilla.gnome.org/show_bug.cgi?id=661128 for this | 45 | # see https://bugzilla.gnome.org/show_bug.cgi?id=661128 for this |
44 | touch -t 200001010000 ${S}/po/clutter-1.0.pot | 46 | touch -t 200001010000 ${S}/po/clutter-1.0.pot |
diff --git a/meta/recipes-graphics/clutter/clutter-1.0/run-installed-tests-with-tap-output.patch b/meta/recipes-graphics/clutter/clutter-1.0/run-installed-tests-with-tap-output.patch new file mode 100644 index 0000000000..80acab867c --- /dev/null +++ b/meta/recipes-graphics/clutter/clutter-1.0/run-installed-tests-with-tap-output.patch | |||
@@ -0,0 +1,20 @@ | |||
1 | Configure output from installed-tests to be TAP compliant, such that gnome-desktop-testing-runner properly interprets the results. | ||
2 | |||
3 | Upstream-status: Pending | ||
4 | |||
5 | Signed-off-by: Tim Orling <TicoTimo@gmail.com> | ||
6 | |||
7 | Index: clutter-1.20.0/build/autotools/glib-tap.mk | ||
8 | =================================================================== | ||
9 | --- clutter-1.20.0.orig/build/autotools/glib-tap.mk | ||
10 | +++ clutter-1.20.0/build/autotools/glib-tap.mk | ||
11 | @@ -128,7 +128,8 @@ installed_test_meta_DATA = $(installed_t | ||
12 | $(AM_V_GEN) (echo '[Test]' > $@.tmp; \ | ||
13 | echo 'Type=session' >> $@.tmp; \ | ||
14 | echo 'TestEnvironment=G_ENABLE_DIAGNOSTIC=0;CLUTTER_ENABLE_DIAGNOSTIC=0;' >> $@.tmp; \ | ||
15 | - echo 'Exec=$(installed_testdir)/$<' >> $@.tmp; \ | ||
16 | + echo 'Exec=$(installed_testdir)/$< --tap' >> $@.tmp; \ | ||
17 | + echo 'Output=TAP' >> $@.tmp; \ | ||
18 | mv $@.tmp $@) | ||
19 | |||
20 | CLEANFILES += $(installed_test_meta_DATA) | ||
diff --git a/meta/recipes-graphics/clutter/clutter-1.0/run-ptest b/meta/recipes-graphics/clutter/clutter-1.0/run-ptest new file mode 100644 index 0000000000..98877e5226 --- /dev/null +++ b/meta/recipes-graphics/clutter/clutter-1.0/run-ptest | |||
@@ -0,0 +1,3 @@ | |||
1 | #! /bin/sh | ||
2 | |||
3 | gnome-desktop-testing-runner clutter | ||
diff --git a/meta/recipes-graphics/clutter/clutter-1.0_1.20.0.bb b/meta/recipes-graphics/clutter/clutter-1.0_1.20.0.bb index 7898810131..5f39a3a8ac 100644 --- a/meta/recipes-graphics/clutter/clutter-1.0_1.20.0.bb +++ b/meta/recipes-graphics/clutter/clutter-1.0_1.20.0.bb | |||
@@ -5,4 +5,6 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=4fbd65380cdd255951079008b364516c" | |||
5 | SRC_URI[archive.md5sum] = "a8a33a57a944c6d7c7c013ce9aa3222b" | 5 | SRC_URI[archive.md5sum] = "a8a33a57a944c6d7c7c013ce9aa3222b" |
6 | SRC_URI[archive.sha256sum] = "cc940809e6e1469ce349c4bddb0cbcc2c13c087d4fc15cda9278d855ee2d1293" | 6 | SRC_URI[archive.sha256sum] = "cc940809e6e1469ce349c4bddb0cbcc2c13c087d4fc15cda9278d855ee2d1293" |
7 | 7 | ||
8 | SRC_URI += "file://install-examples.patch" | 8 | SRC_URI += "file://install-examples.patch \ |
9 | file://run-installed-tests-with-tap-output.patch \ | ||
10 | file://run-ptest" | ||