summaryrefslogtreecommitdiff
path: root/recipes/ffalarms
diff options
context:
space:
mode:
authorMartin Jansa <Martin.Jansa@gmail.com>2010-02-02 19:16:35 +0100
committerMartin Jansa <Martin.Jansa@gmail.com>2010-02-02 20:03:02 +0100
commit23e87adb78cf9ba4f18807d46a7351d09b41d2a2 (patch)
treee304e9aaa608869598609e7ea13644c86de6d263 /recipes/ffalarms
parente81e9439b35e80ded35a5d1cebbe834445dd5705 (diff)
ffalarms: fix building agains newer libeflvala
* rename SmartCallback to Callback in libeflvala a18c70a312d98cc90e0e7978f845601e82460b39 * drop inwin_style_set in f359a4d36bdcae114b0d88e9215c30455570c232 Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Diffstat (limited to 'recipes/ffalarms')
-rw-r--r--recipes/ffalarms/ffalarms/libeflvala.a18c70a312d98cc90e0e7978f845601e82460b39.patch30
-rw-r--r--recipes/ffalarms/ffalarms_svn.bb5
2 files changed, 33 insertions, 2 deletions
diff --git a/recipes/ffalarms/ffalarms/libeflvala.a18c70a312d98cc90e0e7978f845601e82460b39.patch b/recipes/ffalarms/ffalarms/libeflvala.a18c70a312d98cc90e0e7978f845601e82460b39.patch
new file mode 100644
index 0000000000..609cefca6a
--- /dev/null
+++ b/recipes/ffalarms/ffalarms/libeflvala.a18c70a312d98cc90e0e7978f845601e82460b39.patch
@@ -0,0 +1,30 @@
+Index: ffalarms.vala
+===================================================================
+--- ffalarms.vala (revision 67)
++++ ffalarms.vala (working copy)
+@@ -1407,7 +1407,6 @@
+ bx.pack_end(bt);
+ bx.pack_end(frame("pad_small"));
+ w.inwin_content_set(bx);
+- w.inwin_style_set("minimal_vertical");
+ bt.show();
+ w.inwin_activate();
+ }
+@@ -1476,7 +1475,7 @@
+ this.parent = parent;
+ }
+
+- public unowned Button add(string label, Evas.SmartCallback cb)
++ public unowned Button add(string label, Evas.Callback cb)
+ {
+ unowned Button b;
+
+@@ -1505,7 +1504,7 @@
+ hover.content_set("top", box);
+ }
+
+- public new unowned Button add(string label, Evas.SmartCallback cb)
++ public new unowned Button add(string label, Evas.Callback cb)
+ {
+ unowned Button b = base.add(label, cb);
+ b.smart_callback_add("clicked", hover.hide);
diff --git a/recipes/ffalarms/ffalarms_svn.bb b/recipes/ffalarms/ffalarms_svn.bb
index 8bc619a181..be9fbbec41 100644
--- a/recipes/ffalarms/ffalarms_svn.bb
+++ b/recipes/ffalarms/ffalarms_svn.bb
@@ -8,7 +8,7 @@ PRIORITY = "optional"
DEPENDS = "elementary libeflvala libical"
PV = "0.3.1+svnr${SRCPV}"
-PR = "r1"
+PR = "r2"
# needed because there is do_stage_append in vala.bbclass and do_stage() was removed..
do_stage() {
@@ -17,7 +17,8 @@ do_stage() {
inherit vala
-SRC_URI = "svn://svn.projects.openmoko.org/svnroot/ffalarms;module=trunk;proto=https"
+SRC_URI = "svn://svn.projects.openmoko.org/svnroot/ffalarms;module=trunk;proto=https \
+ file://libeflvala.a18c70a312d98cc90e0e7978f845601e82460b39.patch;patch=1"
S = "${WORKDIR}/trunk"