summaryrefslogtreecommitdiff
path: root/meta/packages
diff options
context:
space:
mode:
authorRichard Purdie <richard@openedhand.com>2007-11-06 23:11:42 +0000
committerRichard Purdie <richard@openedhand.com>2007-11-06 23:11:42 +0000
commitb5fda834416809a5348f6f5e21ddaeb484c4cdc8 (patch)
tree9f22a41520e9fb347a7ea82fe54338d0c18ec838 /meta/packages
parent7277fe10c9404cbbd1df011422974ff7f2053efd (diff)
downloadopenembedded-core-b5fda834416809a5348f6f5e21ddaeb484c4cdc8.tar.gz
openembedded-core-b5fda834416809a5348f6f5e21ddaeb484c4cdc8.tar.bz2
openembedded-core-b5fda834416809a5348f6f5e21ddaeb484c4cdc8.tar.xz
openembedded-core-b5fda834416809a5348f6f5e21ddaeb484c4cdc8.zip
clutter: Fix so 0.4 versions are default (which matches distro config SRCREVs) and fix up svn trunk versions too.
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@3084 311d38ba-8fff-0310-9ca6-ca027cbcb966
Diffstat (limited to 'meta/packages')
-rw-r--r--meta/packages/clutter/clutter-gst/autofoo-0.4.patch15
-rw-r--r--meta/packages/clutter/clutter-gst_0.4svn.bb6
-rw-r--r--meta/packages/clutter/clutter-gst_svn.bb6
-rw-r--r--meta/packages/clutter/clutter.inc3
-rw-r--r--meta/packages/clutter/clutter/enable_tests-0.4.patch52
-rw-r--r--meta/packages/clutter/clutter_0.4svn.bb9
-rw-r--r--meta/packages/clutter/clutter_svn.bb4
7 files changed, 83 insertions, 12 deletions
diff --git a/meta/packages/clutter/clutter-gst/autofoo-0.4.patch b/meta/packages/clutter/clutter-gst/autofoo-0.4.patch
new file mode 100644
index 000000000..54df63d29
--- /dev/null
+++ b/meta/packages/clutter/clutter-gst/autofoo-0.4.patch
@@ -0,0 +1,15 @@
+---
+ doc/reference/Makefile.am | 2 +-
+ examples/Makefile.am | 2 +-
+ 2 files changed, 2 insertions(+), 2 deletions(-)
+
+Index: clutter-gst/examples/Makefile.am
+===================================================================
+--- clutter-gst.orig/examples/Makefile.am 2007-11-06 12:31:36.000000000 +0000
++++ clutter-gst/examples/Makefile.am 2007-11-06 18:53:59.000000000 +0000
+@@ -1,4 +1,4 @@
+-noinst_PROGRAMS = video-player video-sink audio
++bin_PROGRAMS = video-player video-sink audio
+
+ INCLUDES = -I$(top_srcdir)/
+
diff --git a/meta/packages/clutter/clutter-gst_0.4svn.bb b/meta/packages/clutter/clutter-gst_0.4svn.bb
index fa7afe0f9..1af797888 100644
--- a/meta/packages/clutter/clutter-gst_0.4svn.bb
+++ b/meta/packages/clutter/clutter-gst_0.4svn.bb
@@ -1,9 +1,9 @@
require clutter-gst.inc
-DEFAULT_PREFERENCE = "-1"
-
PV = "0.4.0+svnr${SRCREV}"
-SRC_URI = "svn://svn.o-hand.com/repos/clutter/branches;module=clutter-gst-0-4;proto=http "
+SRC_URI = "svn://svn.o-hand.com/repos/clutter/branches;module=clutter-gst-0-4;proto=http \
+ file://autofoo-0.4.patch;patch=1"
+
S = "${WORKDIR}/clutter-gst-0-4"
diff --git a/meta/packages/clutter/clutter-gst_svn.bb b/meta/packages/clutter/clutter-gst_svn.bb
index 6afb4f52d..b4d41d683 100644
--- a/meta/packages/clutter/clutter-gst_svn.bb
+++ b/meta/packages/clutter/clutter-gst_svn.bb
@@ -1,10 +1,10 @@
require clutter-gst.inc
-PV = "0.4.0+svnr${SRCREV}"
+DEFAULT_PREFERENCE = "-1"
+
+PV = "0.5.0+svnr${SRCREV}"
SRC_URI = "svn://svn.o-hand.com/repos/clutter/trunk;module=${PN};proto=http \
file://autofoo.patch;patch=1"
S = "${WORKDIR}/${PN}"
-
-
diff --git a/meta/packages/clutter/clutter.inc b/meta/packages/clutter/clutter.inc
index 8cb44b28f..ac633dc74 100644
--- a/meta/packages/clutter/clutter.inc
+++ b/meta/packages/clutter/clutter.inc
@@ -34,7 +34,6 @@ do_configure_prepend() {
}
do_stage () {
- cp ${S}/clutter.pc ${S}/clutter-0.4.pc
+ cp ${S}/clutter.pc ${S}/clutter-0.5.pc
autotools_stage_all
}
-
diff --git a/meta/packages/clutter/clutter/enable_tests-0.4.patch b/meta/packages/clutter/clutter/enable_tests-0.4.patch
new file mode 100644
index 000000000..3178a2cd6
--- /dev/null
+++ b/meta/packages/clutter/clutter/enable_tests-0.4.patch
@@ -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-0-4/tests/Makefile.am
+===================================================================
+--- clutter-0-4.orig/tests/Makefile.am 2007-11-06 21:49:25.000000000 +0000
++++ clutter-0-4/tests/Makefile.am 2007-11-06 21:49:48.000000000 +0000
+@@ -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 test-rotate test-depth \
+ test-threads test-timeline
+@@ -24,4 +24,9 @@ test_depth_SOURCES = test-depth.c
+ test_threads_SOURCES = test-threads.c
+ test_timeline_SOURCES = test-timeline.c
+
++test_textdir = $(pkgdatadir)
++test_text_DATA = test-text.c
++test_actorsdir = $(pkgdatadir)
++test_actors_DATA = redhand.png
++
+ EXTRA_DIST = redhand.png
+Index: clutter-0-4/tests/test-actors.c
+===================================================================
+--- clutter-0-4.orig/tests/test-actors.c 2007-11-06 21:49:25.000000000 +0000
++++ clutter-0-4/tests/test-actors.c 2007-11-06 21:49:28.000000000 +0000
+@@ -143,7 +143,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-0-4/tests/test-text.c
+===================================================================
+--- clutter-0-4.orig/tests/test-text.c 2007-11-06 21:49:25.000000000 +0000
++++ clutter-0-4/tests/test-text.c 2007-11-06 21:49:28.000000000 +0000
+@@ -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);
diff --git a/meta/packages/clutter/clutter_0.4svn.bb b/meta/packages/clutter/clutter_0.4svn.bb
index 0bd32b612..fe1fbc29d 100644
--- a/meta/packages/clutter/clutter_0.4svn.bb
+++ b/meta/packages/clutter/clutter_0.4svn.bb
@@ -1,10 +1,13 @@
require clutter.inc
-DEFAULT_PREFERENCE = "-1"
-
PV = "0.4.0+svnr${SRCREV}"
SRC_URI = "svn://svn.o-hand.com/repos/clutter/branches;module=clutter-0-4;proto=http \
- file://enable_tests.patch;patch=1 "
+ file://enable_tests-0.4.patch;patch=1 "
S = "${WORKDIR}/clutter-0-4"
+
+do_stage () {
+ cp ${S}/clutter.pc ${S}/clutter-0.4.pc
+ autotools_stage_all
+}
diff --git a/meta/packages/clutter/clutter_svn.bb b/meta/packages/clutter/clutter_svn.bb
index 0a6ff0d68..a0015ba42 100644
--- a/meta/packages/clutter/clutter_svn.bb
+++ b/meta/packages/clutter/clutter_svn.bb
@@ -1,6 +1,8 @@
require clutter.inc
-PV = "0.4.0+svnr${SRCREV}"
+DEFAULT_PREFERENCE = "-1"
+
+PV = "0.5.0+svnr${SRCREV}"
SRC_URI = "svn://svn.o-hand.com/repos/clutter/trunk;module=clutter;proto=http \
file://enable_tests.patch;patch=1 "