summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Mueller <schnitzeltony@gmx.de>2010-09-02 14:48:37 +0000
committerKoen Kooi <koen@openembedded.org>2010-09-07 10:08:36 +0200
commit8d9d249f128b14f6e0d9d8ed97265a4eb9bfdc8a (patch)
tree8947e9dd050da0f46300600aefde44486e9ac8e0
parent712d5d30f5f45e0c7bcde4cb006591b6f91b9d31 (diff)
moblin: update recipes to match latest clutter
* nbtk: bump required to configure properly with clutter * clutter-imcontext: now required by nbtk * hornsey_git: bump required to configure properly with clutter * libccss_git: bump required to match new nbtk requirements bumping by SRCREV_pn-libccss = .. is a hack to get throgh the door and needs clean solution later. Signed-off-by: Andreas Mueller <schnitzeltony@gmx.de> Acked-by: Koen Kooi <k-kooi@ti.com> Signed-off-by: Koen Kooi <koen@openembedded.org>
-rw-r--r--recipes/moblin/bickley_git.bb4
-rw-r--r--recipes/moblin/clutter-imcontext_git.bb19
-rw-r--r--recipes/moblin/hornsey_git.bb4
-rw-r--r--recipes/moblin/libccss_git.bb5
-rw-r--r--recipes/moblin/nbtk/03_fix_FTBFS_port_to_gtk2.20.patch111
-rw-r--r--recipes/moblin/nbtk_git.bb15
6 files changed, 148 insertions, 10 deletions
diff --git a/recipes/moblin/bickley_git.bb b/recipes/moblin/bickley_git.bb
index fc7abc8677..c4c1f7c7b5 100644
--- a/recipes/moblin/bickley_git.bb
+++ b/recipes/moblin/bickley_git.bb
@@ -2,9 +2,9 @@ DESCRIPTION = "A meta data manager API and framework (including Media)"
SRC_URI = "git://git.moblin.org/${PN}.git;protocol=git"
PV = "0.0"
PR_append = "+git${SRCREV}"
-PR = "r4"
+PR = "r5"
-DEPENDS = "redland gtk+ dbus-glib clutter-gst-0.9 libexif taglib gupnp gupnp-av samba"
+DEPENDS = "redland gtk+ dbus-glib clutter-gst libexif taglib gupnp gupnp-av samba"
RDEPENDS_${PN} = "xdg-user-dirs"
S = "${WORKDIR}/git"
diff --git a/recipes/moblin/clutter-imcontext_git.bb b/recipes/moblin/clutter-imcontext_git.bb
new file mode 100644
index 0000000000..0d35fc390f
--- /dev/null
+++ b/recipes/moblin/clutter-imcontext_git.bb
@@ -0,0 +1,19 @@
+LICENSE = "LGPLv2.1"
+
+SRCREV = "2cb6f0ff153db639a489e58e36802e0e928b1968"
+PV = "0.1.4"
+PR = "r0"
+PR_append = "+git${SRCREV}"
+
+DEPENDS = "glib-2.0 gtk+ libccss clutter"
+
+SRC_URI = "git://git.moblin.org/${PN}.git;protocol=git"
+S = "${WORKDIR}/git"
+
+inherit autotools
+
+do_configure_prepend () {
+ echo "EXTRA_DIST=" > ${S}/gtk-doc.make
+ echo "CLEANFILES=" >> ${S}/gtk-doc.make
+}
+
diff --git a/recipes/moblin/hornsey_git.bb b/recipes/moblin/hornsey_git.bb
index c5c62d44df..e2cf8401ef 100644
--- a/recipes/moblin/hornsey_git.bb
+++ b/recipes/moblin/hornsey_git.bb
@@ -3,10 +3,10 @@ LICENSE = "LGPLv2.1"
SRCREV = "125a1dea08d552ed2510ee762e1b54ca161915c1"
PV = "0.0"
-PR = "r1"
+PR = "r2"
PR_append = "+git${SRCREV}"
-DEPENDS = "clutter-0.9 clutter-gst-0.9 bickley nbtk bognor-regis libunique startup-notification gtk+"
+DEPENDS = "clutter clutter-gst bickley nbtk bognor-regis libunique startup-notification gtk+"
SRC_URI = "git://git.moblin.org/${PN}.git;protocol=git \
file://fix-api.patch \
diff --git a/recipes/moblin/libccss_git.bb b/recipes/moblin/libccss_git.bb
index 049bf6ecfe..b3e7ff5392 100644
--- a/recipes/moblin/libccss_git.bb
+++ b/recipes/moblin/libccss_git.bb
@@ -1,7 +1,10 @@
SRC_URI = "git://anongit.freedesktop.org/git/ccss.git;protocol=git"
-PV = "0.0+git${SRCREV}"
+PV = "0.3.1+git${SRCREV}"
PR = "r0"
+# nbtk needs libccss-0.3.1
+SRCREV_pn-libccss = "cd63b0960ca782987d226811d1473e5745d2591d"
+
DEPENDS = "glib-2.0 cairo librsvg libsoup-2.4"
S = "${WORKDIR}/git"
diff --git a/recipes/moblin/nbtk/03_fix_FTBFS_port_to_gtk2.20.patch b/recipes/moblin/nbtk/03_fix_FTBFS_port_to_gtk2.20.patch
new file mode 100644
index 0000000000..2df0f7757b
--- /dev/null
+++ b/recipes/moblin/nbtk/03_fix_FTBFS_port_to_gtk2.20.patch
@@ -0,0 +1,111 @@
+Index: nbtk-1.2.3/nbtk/nbtk-gtk-expander.c
+===================================================================
+--- nbtk-1.2.3.orig/nbtk/nbtk-gtk-expander.c 2010-04-17 14:16:07.866564625 +0800
++++ nbtk-1.2.3/nbtk/nbtk-gtk-expander.c 2010-04-17 14:18:25.454564286 +0800
+@@ -62,7 +62,7 @@
+ nbtk_gtk_expander_expose_event (GtkWidget *widget,
+ GdkEventExpose *event)
+ {
+- if (GTK_WIDGET_DRAWABLE (widget))
++ if (gtk_widget_is_drawable (widget))
+ {
+ NbtkGtkExpanderPrivate *priv = NBTK_GTK_EXPANDER (widget)->priv;
+ GtkContainer *container = GTK_CONTAINER (widget);
+@@ -180,7 +180,7 @@
+ child = gtk_bin_get_child ((GtkBin*) widget);
+ label = ((NbtkGtkExpander *) widget)->priv->label;
+
+- if (label && GTK_WIDGET_VISIBLE (label))
++ if (label && gtk_widget_is_drawable (label))
+ {
+ gtk_widget_size_request (label, &label_req);
+
+@@ -202,7 +202,7 @@
+ else
+ label_h = priv->indicator_size;
+
+- if (priv->is_open && child && GTK_WIDGET_VISIBLE (child))
++ if (priv->is_open && child && gtk_widget_get_visible (child))
+ {
+ gtk_widget_size_request (child, &child_req);
+
+@@ -239,7 +239,7 @@
+ requisition->width = widget->style->xthickness * 2;
+ requisition->height = widget->style->ythickness * 2;
+
+- if (label && GTK_WIDGET_VISIBLE (label))
++ if (label && gtk_widget_get_visible (label))
+ {
+ gtk_widget_size_request (label, &req);
+
+@@ -251,7 +251,7 @@
+ priv->indicator_size +
+ widget->style->ythickness * 2);
+
+- if (priv->is_open && child && GTK_WIDGET_VISIBLE (child))
++ if (priv->is_open && child && gtk_widget_get_visible (child))
+ {
+ gtk_widget_size_request (child, &req);
+
+Index: nbtk-1.2.3/nbtk/nbtk-gtk-frame.c
+===================================================================
+--- nbtk-1.2.3.orig/nbtk/nbtk-gtk-frame.c 2010-04-17 14:16:07.866564625 +0800
++++ nbtk-1.2.3/nbtk/nbtk-gtk-frame.c 2010-04-17 14:18:25.454564286 +0800
+@@ -147,7 +147,7 @@
+ cairo_clip (cairo);
+
+ /* initialise the background */
+- gdk_cairo_set_source_color (cairo, &style->bg[GTK_WIDGET_STATE (widget)]);
++ gdk_cairo_set_source_color (cairo, &style->bg[gtk_widget_get_state(widget)]);
+ cairo_rectangle (cairo, widget->allocation.x, widget->allocation.y,
+ widget->allocation.width, widget->allocation.height);
+ cairo_fill (cairo);
+@@ -177,7 +177,7 @@
+ {
+ GtkWidgetClass *grand_parent;
+
+- if (GTK_WIDGET_DRAWABLE (widget))
++ if (gtk_widget_is_drawable (widget))
+ {
+ nbtk_gtk_frame_paint (widget, &event->area);
+
+@@ -252,7 +252,7 @@
+ child_allocation.width = allocation->width - 2 * xmargin;
+ child_allocation.height = allocation->height - 2 * ymargin - title_allocation.height;
+
+- if (GTK_WIDGET_MAPPED (widget) &&
++ if (gtk_widget_get_mapped (widget) &&
+ (child_allocation.x != frame->child_allocation.x ||
+ child_allocation.y != frame->child_allocation.y ||
+ child_allocation.width != frame->child_allocation.width ||
+@@ -261,7 +261,7 @@
+ gdk_window_invalidate_rect (widget->window, &widget->allocation, FALSE);
+ }
+
+- if (bin->child && GTK_WIDGET_VISIBLE (bin->child))
++ if (bin->child && gtk_widget_get_visible (bin->child))
+ {
+ gtk_widget_size_allocate (bin->child, &child_allocation);
+ }
+Index: nbtk-1.2.3/nbtk/nbtk-gtk-light-switch.c
+===================================================================
+--- nbtk-1.2.3.orig/nbtk/nbtk-gtk-light-switch.c 2010-04-17 14:16:07.866564625 +0800
++++ nbtk-1.2.3/nbtk/nbtk-gtk-light-switch.c 2010-04-17 14:18:25.454564286 +0800
+@@ -147,7 +147,7 @@
+
+ priv = NBTK_GTK_LIGHT_SWITCH_GET_PRIVATE (lightswitch);
+ style = lightswitch->style;
+- state_type = GTK_WIDGET_STATE (lightswitch);
++ state_type = gtk_widget_get_state (lightswitch);
+
+ on_label_x = (priv->trough_width / 5) * 0.75;
+ off_label_x = (priv->trough_width / 8) * 5;
+@@ -231,7 +231,7 @@
+ /* draw the switch itself */
+ gtk_paint_box (style,
+ lightswitch->window,
+- GTK_WIDGET_STATE (lightswitch),
++ gtk_widget_get_state (lightswitch),
+ GTK_SHADOW_OUT,
+ NULL,
+ NULL,
diff --git a/recipes/moblin/nbtk_git.bb b/recipes/moblin/nbtk_git.bb
index 174adeb739..36e458b1c3 100644
--- a/recipes/moblin/nbtk_git.bb
+++ b/recipes/moblin/nbtk_git.bb
@@ -1,13 +1,18 @@
LICENSE = "LGPLv2.1"
-SRCREV = "73958e79f0ad69dd4e63cb8e697bd80ecee1cc34"
-PV = "0.8.0"
-PR = "r1"
+SRCREV = "caed93dd6ab6ae0cd7eb436357ceefa18f878981"
+PV = "1.2.3"
+PR = "r3"
PR_append = "+git${SRCREV}"
-DEPENDS = "glib-2.0 gtk+ libccss clutter-0.9"
+DEPENDS = "glib-2.0 gtk+ libccss clutter clutter-imcontext"
+
+# 03_fix_FTBFS_port_to_gtk2.20.patch grabbed from http://launchpadlibrarian.net/48166967/nbtk_1.2.3-1_1.2.3-2.diff.gz
+
+SRC_URI = "git://git.moblin.org/${PN}.git;protocol=git \
+ file://03_fix_FTBFS_port_to_gtk2.20.patch \
+"
-SRC_URI = "git://git.moblin.org/${PN}.git;protocol=git"
S = "${WORKDIR}/git"
inherit autotools