summaryrefslogtreecommitdiffstats
path: root/meta/recipes-graphics/clutter/clutter/enable_tests-0.8.patch
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-graphics/clutter/clutter/enable_tests-0.8.patch')
-rw-r--r--meta/recipes-graphics/clutter/clutter/enable_tests-0.8.patch52
1 files changed, 0 insertions, 52 deletions
diff --git a/meta/recipes-graphics/clutter/clutter/enable_tests-0.8.patch b/meta/recipes-graphics/clutter/clutter/enable_tests-0.8.patch
deleted file mode 100644
index d3c196fd83..0000000000
--- a/meta/recipes-graphics/clutter/clutter/enable_tests-0.8.patch
+++ /dev/null
@@ -1,52 +0,0 @@
1---
2 tests/Makefile.am | 7 ++++++-
3 tests/test-actors.c | 2 +-
4 tests/test-text.c | 2 +-
5 3 files changed, 8 insertions(+), 3 deletions(-)
6
7Upstream-Status: Inappropriate [configuration]
8
9Index: clutter/tests/Makefile.am
10===================================================================
11--- clutter.orig/tests/Makefile.am 2008-06-26 16:46:26.000000000 +0100
12+++ clutter/tests/Makefile.am 2008-06-26 16:46:50.000000000 +0100
13@@ -1,4 +1,4 @@
14-noinst_PROGRAMS = test-textures test-events test-offscreen test-scale \
15+bin_PROGRAMS = test-textures test-events test-offscreen test-scale \
16 test-actors test-behave test-text test-entry test-project \
17 test-perspective test-rotate test-depth \
18 test-threads test-timeline test-timeline-dup-frames \
19@@ -17,8 +17,8 @@
20 test-invariants
21
22 if X11_TESTS
23-noinst_PROGRAMS += test-pixmap
24-noinst_PROGRAMS += test-devices
25+bin_PROGRAMS += test-pixmap
26+bin_PROGRAMS += test-devices
27 endif
28
29 INCLUDES = -I$(top_srcdir)/ -I$(top_srcdir)/clutter -I$(top_builddir)/clutter
30@@ -73,4 +73,9 @@
31 test_invariants_SOURCES = test-invariants.c
32 test_devices_SOURCES = test-devices.c
33
34+test_textdir = $(pkgdatadir)
35+test_text_DATA = test-text.c
36+test_actorsdir = $(pkgdatadir)
37+test_actors_DATA = redhand.png
38+
39 EXTRA_DIST = redhand.png test-script.json
40Index: clutter/tests/test-actors.c
41===================================================================
42--- clutter.orig/tests/test-actors.c 2008-06-26 16:46:26.000000000 +0100
43+++ clutter/tests/test-actors.c 2008-06-26 16:46:31.000000000 +0100
44@@ -195,7 +195,7 @@
45 /* Create a texture from file, then clone in to same resources */
46 if (i == 0)
47 {
48- if ((oh->hand[i] = clutter_texture_new_from_file ("redhand.png",
49+ if ((oh->hand[i] = clutter_texture_new_from_file ("/usr/share/clutter/redhand.png",
50 &error)) == NULL)
51 {
52 g_error ("image load failed: %s", error->message);