summaryrefslogtreecommitdiffstats
path: root/meta/packages/clutter
diff options
context:
space:
mode:
authorRobert Bradford <rob@openedhand.com>2008-03-04 11:15:35 +0000
committerRobert Bradford <rob@openedhand.com>2008-03-04 11:15:35 +0000
commite2d6705431c32d017847f724e6927aa4b5294087 (patch)
tree9169ad0053ff266ccc3cccdcd8b58e4edd6dbf76 /meta/packages/clutter
parent98555dd5a0d0e5285b10490c003937e39f389d47 (diff)
downloadpoky-e2d6705431c32d017847f724e6927aa4b5294087.tar.gz
Update Clutter to 0.6
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@3897 311d38ba-8fff-0310-9ca6-ca027cbcb966
Diffstat (limited to 'meta/packages/clutter')
-rw-r--r--meta/packages/clutter/clutter.inc1
-rw-r--r--meta/packages/clutter/clutter/enable_tests-0.6.patch40
-rw-r--r--meta/packages/clutter/clutter_0.6svn.bb12
-rw-r--r--meta/packages/clutter/clutter_svn.bb2
4 files changed, 53 insertions, 2 deletions
diff --git a/meta/packages/clutter/clutter.inc b/meta/packages/clutter/clutter.inc
index 2bb519b661..a3a00c03e7 100644
--- a/meta/packages/clutter/clutter.inc
+++ b/meta/packages/clutter/clutter.inc
@@ -39,6 +39,5 @@ do_configure_prepend() {
39} 39}
40 40
41do_stage () { 41do_stage () {
42 cp ${S}/clutter.pc ${S}/clutter-0.5.pc
43 autotools_stage_all 42 autotools_stage_all
44} 43}
diff --git a/meta/packages/clutter/clutter/enable_tests-0.6.patch b/meta/packages/clutter/clutter/enable_tests-0.6.patch
new file mode 100644
index 0000000000..544a7e588c
--- /dev/null
+++ b/meta/packages/clutter/clutter/enable_tests-0.6.patch
@@ -0,0 +1,40 @@
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
7Index: clutter-0-6/tests/Makefile.am
8===================================================================
9--- clutter.orig/tests/Makefile.am 2007-11-06 12:29:17.000000000 +0000
10+++ clutter-0-6/tests/Makefile.am 2007-11-06 12:30:11.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 test-score test-script
17@@ -26,4 +26,9 @@ test_timeline_SOURCES = test-timeline.c
18 test_score_SOURCES = test-score.c
19 test_script_SOURCES = test-script.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 test-script.json
27Index: clutter-0-6/tests/test-actors.c
28===================================================================
29--- clutter.orig/tests/test-actors.c 2007-11-06 12:29:17.000000000 +0000
30+++ clutter-0-6/tests/test-actors.c 2007-11-06 12:29:21.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
diff --git a/meta/packages/clutter/clutter_0.6svn.bb b/meta/packages/clutter/clutter_0.6svn.bb
new file mode 100644
index 0000000000..4d5b9151e5
--- /dev/null
+++ b/meta/packages/clutter/clutter_0.6svn.bb
@@ -0,0 +1,12 @@
1require clutter.inc
2
3PV = "0.6.0+svnr${SRCREV}"
4
5SRC_URI = "svn://svn.o-hand.com/repos/clutter/branches;module=clutter-0-6;proto=http \
6 file://enable_tests-0.6.patch;patch=1 "
7
8S = "${WORKDIR}/clutter-0-6"
9
10do_stage () {
11 autotools_stage_all
12}
diff --git a/meta/packages/clutter/clutter_svn.bb b/meta/packages/clutter/clutter_svn.bb
index a0015ba42e..76ad7ce50f 100644
--- a/meta/packages/clutter/clutter_svn.bb
+++ b/meta/packages/clutter/clutter_svn.bb
@@ -2,7 +2,7 @@ require clutter.inc
2 2
3DEFAULT_PREFERENCE = "-1" 3DEFAULT_PREFERENCE = "-1"
4 4
5PV = "0.5.0+svnr${SRCREV}" 5PV = "0.7.0+svnr${SRCREV}"
6 6
7SRC_URI = "svn://svn.o-hand.com/repos/clutter/trunk;module=clutter;proto=http \ 7SRC_URI = "svn://svn.o-hand.com/repos/clutter/trunk;module=clutter;proto=http \
8 file://enable_tests.patch;patch=1 " 8 file://enable_tests.patch;patch=1 "