mirror of
https://git.yoctoproject.org/poky
synced 2026-03-11 09:49:41 +01:00
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
This commit is contained in:
52
meta/packages/clutter/clutter/enable_tests.patch
Normal file
52
meta/packages/clutter/clutter/enable_tests.patch
Normal file
@@ -0,0 +1,52 @@
|
||||
---
|
||||
tests/Makefile.am | 7 ++++++-
|
||||
tests/test-actors.c | 2 +-
|
||||
tests/test-text.c | 2 +-
|
||||
3 files changed, 8 insertions(+), 3 deletions(-)
|
||||
|
||||
Index: clutter/tests/Makefile.am
|
||||
===================================================================
|
||||
--- clutter.orig/tests/Makefile.am 2007-07-09 13:51:59.000000000 +0100
|
||||
+++ clutter/tests/Makefile.am 2007-07-09 19:14:47.000000000 +0100
|
||||
@@ -1,4 +1,4 @@
|
||||
-noinst_PROGRAMS = test-textures test-events test-offscreen test-scale \
|
||||
+bin_PROGRAMS = test-textures test-events test-offscreen test-scale \
|
||||
test-actors test-behave test-text test-entry test-project \
|
||||
test-boxes test-perspective
|
||||
|
||||
@@ -19,4 +19,9 @@ test_project_SOURCES = test-project.c
|
||||
test_boxes_SOURCES = test-boxes.c
|
||||
test_perspective_SOURCES = test-perspective.c
|
||||
|
||||
+test_textdir = $(pkgdatadir)
|
||||
+test_text_DATA = test-text.c
|
||||
+test_actorsdir = $(pkgdatadir)
|
||||
+test_actors_DATA = redhand.png
|
||||
+
|
||||
EXTRA_DIST = redhand.png
|
||||
Index: clutter/tests/test-actors.c
|
||||
===================================================================
|
||||
--- clutter.orig/tests/test-actors.c 2007-07-09 19:17:50.000000000 +0100
|
||||
+++ clutter/tests/test-actors.c 2007-07-09 19:18:10.000000000 +0100
|
||||
@@ -146,7 +146,7 @@ main (int argc, char *argv[])
|
||||
stage = clutter_stage_get_default ();
|
||||
clutter_actor_set_size (stage, 800, 600);
|
||||
|
||||
- pixbuf = gdk_pixbuf_new_from_file ("redhand.png", NULL);
|
||||
+ pixbuf = gdk_pixbuf_new_from_file ("/usr/share/clutter/redhand.png", NULL);
|
||||
|
||||
if (!pixbuf)
|
||||
g_error("pixbuf load failed");
|
||||
Index: clutter/tests/test-text.c
|
||||
===================================================================
|
||||
--- clutter.orig/tests/test-text.c 2007-07-09 19:17:57.000000000 +0100
|
||||
+++ clutter/tests/test-text.c 2007-07-09 19:18:47.000000000 +0100
|
||||
@@ -27,7 +27,7 @@ main (int argc, char *argv[])
|
||||
|
||||
stage = clutter_stage_get_default ();
|
||||
|
||||
- if (!g_file_get_contents ("test-text.c", &text, &size, NULL))
|
||||
+ if (!g_file_get_contents ("/usr/share/clutter/test-text.c", &text, &size, NULL))
|
||||
g_error("g_file_get_contents() of test-text.c failed");
|
||||
|
||||
clutter_actor_set_size (stage, 800, 600);
|
||||
Reference in New Issue
Block a user