diff options
Diffstat (limited to 'meta/packages/clutter/clutter/enable_tests-0.4.patch')
-rw-r--r-- | meta/packages/clutter/clutter/enable_tests-0.4.patch | 52 |
1 files changed, 0 insertions, 52 deletions
diff --git a/meta/packages/clutter/clutter/enable_tests-0.4.patch b/meta/packages/clutter/clutter/enable_tests-0.4.patch deleted file mode 100644 index 3178a2cd6c..0000000000 --- a/meta/packages/clutter/clutter/enable_tests-0.4.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 | |||
7 | Index: clutter-0-4/tests/Makefile.am | ||
8 | =================================================================== | ||
9 | --- clutter-0-4.orig/tests/Makefile.am 2007-11-06 21:49:25.000000000 +0000 | ||
10 | +++ clutter-0-4/tests/Makefile.am 2007-11-06 21:49:48.000000000 +0000 | ||
11 | @@ -1,4 +1,4 @@ | ||
12 | -noinst_PROGRAMS = test-textures test-events test-offscreen test-scale \ | ||
13 | +bin_PROGRAMS = test-textures test-events test-offscreen test-scale \ | ||
14 | test-actors test-behave test-text test-entry test-project \ | ||
15 | test-boxes test-perspective test-rotate test-depth \ | ||
16 | test-threads test-timeline | ||
17 | @@ -24,4 +24,9 @@ test_depth_SOURCES = test-depth.c | ||
18 | test_threads_SOURCES = test-threads.c | ||
19 | test_timeline_SOURCES = test-timeline.c | ||
20 | |||
21 | +test_textdir = $(pkgdatadir) | ||
22 | +test_text_DATA = test-text.c | ||
23 | +test_actorsdir = $(pkgdatadir) | ||
24 | +test_actors_DATA = redhand.png | ||
25 | + | ||
26 | EXTRA_DIST = redhand.png | ||
27 | Index: clutter-0-4/tests/test-actors.c | ||
28 | =================================================================== | ||
29 | --- clutter-0-4.orig/tests/test-actors.c 2007-11-06 21:49:25.000000000 +0000 | ||
30 | +++ clutter-0-4/tests/test-actors.c 2007-11-06 21:49:28.000000000 +0000 | ||
31 | @@ -143,7 +143,7 @@ main (int argc, char *argv[]) | ||
32 | stage = clutter_stage_get_default (); | ||
33 | clutter_actor_set_size (stage, 800, 600); | ||
34 | |||
35 | - pixbuf = gdk_pixbuf_new_from_file ("redhand.png", NULL); | ||
36 | + pixbuf = gdk_pixbuf_new_from_file ("/usr/share/clutter/redhand.png", NULL); | ||
37 | |||
38 | if (!pixbuf) | ||
39 | g_error("pixbuf load failed"); | ||
40 | Index: clutter-0-4/tests/test-text.c | ||
41 | =================================================================== | ||
42 | --- clutter-0-4.orig/tests/test-text.c 2007-11-06 21:49:25.000000000 +0000 | ||
43 | +++ clutter-0-4/tests/test-text.c 2007-11-06 21:49:28.000000000 +0000 | ||
44 | @@ -27,7 +27,7 @@ main (int argc, char *argv[]) | ||
45 | |||
46 | stage = clutter_stage_get_default (); | ||
47 | |||
48 | - if (!g_file_get_contents ("test-text.c", &text, &size, NULL)) | ||
49 | + if (!g_file_get_contents ("/usr/share/clutter/test-text.c", &text, &size, NULL)) | ||
50 | g_error("g_file_get_contents() of test-text.c failed"); | ||
51 | |||
52 | clutter_actor_set_size (stage, 800, 600); | ||