From 0c02e2db99a99aac1137a7976c3bc47bb8557afa Mon Sep 17 00:00:00 2001 From: Saul Wold Date: Tue, 16 Nov 2010 10:07:34 -0800 Subject: clutter-gtk-1.0: Fix build issues for world build Added a patch to enable GTK_WIDGET macros properly Added LIC_FILES_CHKSUM Fixed up LICENSE Metadata Signed-off-by: Saul Wold --- meta/recipes-graphics/clutter/clutter-gtk-1.0_git.bb | 9 ++++++--- meta/recipes-graphics/clutter/clutter-gtk.inc | 2 +- .../clutter/clutter-gtk/disable_deprecated.patch | 18 ++++++++++++++++++ 3 files changed, 25 insertions(+), 4 deletions(-) create mode 100644 meta/recipes-graphics/clutter/clutter-gtk/disable_deprecated.patch (limited to 'meta/recipes-graphics/clutter') diff --git a/meta/recipes-graphics/clutter/clutter-gtk-1.0_git.bb b/meta/recipes-graphics/clutter/clutter-gtk-1.0_git.bb index dfabbd56c..47667d0ee 100644 --- a/meta/recipes-graphics/clutter/clutter-gtk-1.0_git.bb +++ b/meta/recipes-graphics/clutter/clutter-gtk-1.0_git.bb @@ -1,12 +1,15 @@ require clutter-gtk.inc PV = "0.90.0+git${SRCPV}" -PR = "r1" +PR = "r2" -SRC_URI = "git://git.clutter-project.org/clutter-gtk.git;protocol=git;branch=master" +SRC_URI = "git://git.clutter-project.org/clutter-gtk.git;protocol=git;branch=master \ + file://disable_deprecated.patch" + +LIC_FILES_CHKSUM = "file://COPYING;md5=59530bdf33659b29e73d4adb9f9f6552" S = "${WORKDIR}/git" -DEPENDS += "clutter-1.0" +DEPENDS += "gtk+ clutter-1.0" EXTRA_OECONF += "--disable-introspection" diff --git a/meta/recipes-graphics/clutter/clutter-gtk.inc b/meta/recipes-graphics/clutter/clutter-gtk.inc index 89ae3e53c..25b5200ca 100644 --- a/meta/recipes-graphics/clutter/clutter-gtk.inc +++ b/meta/recipes-graphics/clutter/clutter-gtk.inc @@ -1,6 +1,6 @@ DESCRIPTION = "Clutter GTK+" HOMEPAGE = "http://www.clutter-project.org/" -LICENSE = "LGPL" +LICENSE = "LGPLv2" DEPENDS = "gtk+" diff --git a/meta/recipes-graphics/clutter/clutter-gtk/disable_deprecated.patch b/meta/recipes-graphics/clutter/clutter-gtk/disable_deprecated.patch new file mode 100644 index 000000000..fbfaceeef --- /dev/null +++ b/meta/recipes-graphics/clutter/clutter-gtk/disable_deprecated.patch @@ -0,0 +1,18 @@ +Enable GTK_WIDGET macros + +This patch enables the macros that clutter-gtk is still using + +Signed-off-by: Saul Wold + +Index: git/clutter-gtk/Makefile.am +=================================================================== +--- git.orig/clutter-gtk/Makefile.am 2010-11-16 11:04:29.000000000 -0800 ++++ git/clutter-gtk/Makefile.am 2010-11-16 11:06:16.278993999 -0800 +@@ -16,7 +16,6 @@ + -DG_DISABLE_DEPRECATED \ + -DGDK_PIXBUF_DISABLE_DEPRECATED \ + -DGDK_DISABLE_DEPRECATED \ +- -DGTK_DISABLE_DEPRECATED \ + -DCLUTTER_DISABLE_DEPRECATED \ + $(CLUTTER_GTK_DEBUG_CFLAGS) \ + $(NULL) -- cgit v1.2.3