diff options
author | Richard Purdie <richard@openedhand.com> | 2007-07-10 14:06:27 +0000 |
---|---|---|
committer | Richard Purdie <richard@openedhand.com> | 2007-07-10 14:06:27 +0000 |
commit | e02fb94812ca03db5fea0377661ebde1e3f2222e (patch) | |
tree | 427497fb886e6497d44ca501fa946bf4da1a5434 /meta/packages/clutter/clutter | |
parent | 9e9fe202ec1e79e6712f748197bf92e286e3cfe7 (diff) | |
download | poky-e02fb94812ca03db5fea0377661ebde1e3f2222e.tar.gz |
Add clutter, clutter-cairo, clutter-gst, aaina and table, excluded from world builds for now
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@2143 311d38ba-8fff-0310-9ca6-ca027cbcb966
Diffstat (limited to 'meta/packages/clutter/clutter')
-rw-r--r-- | meta/packages/clutter/clutter/enable_tests.patch | 52 |
1 files changed, 52 insertions, 0 deletions
diff --git a/meta/packages/clutter/clutter/enable_tests.patch b/meta/packages/clutter/clutter/enable_tests.patch new file mode 100644 index 0000000000..06c2c4e09e --- /dev/null +++ b/meta/packages/clutter/clutter/enable_tests.patch | |||
@@ -0,0 +1,52 @@ | |||
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/tests/Makefile.am | ||
8 | =================================================================== | ||
9 | --- clutter.orig/tests/Makefile.am 2007-07-09 13:51:59.000000000 +0100 | ||
10 | +++ clutter/tests/Makefile.am 2007-07-09 19:14:47.000000000 +0100 | ||
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 | ||
16 | |||
17 | @@ -19,4 +19,9 @@ test_project_SOURCES = test-project.c | ||
18 | test_boxes_SOURCES = test-boxes.c | ||
19 | test_perspective_SOURCES = test-perspective.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/tests/test-actors.c | ||
28 | =================================================================== | ||
29 | --- clutter.orig/tests/test-actors.c 2007-07-09 19:17:50.000000000 +0100 | ||
30 | +++ clutter/tests/test-actors.c 2007-07-09 19:18:10.000000000 +0100 | ||
31 | @@ -146,7 +146,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/tests/test-text.c | ||
41 | =================================================================== | ||
42 | --- clutter.orig/tests/test-text.c 2007-07-09 19:17:57.000000000 +0100 | ||
43 | +++ clutter/tests/test-text.c 2007-07-09 19:18:47.000000000 +0100 | ||
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); | ||