summaryrefslogtreecommitdiff
path: root/packages/gpephone
diff options
context:
space:
mode:
authorKoen Kooi <koen@openembedded.org>2007-05-08 08:24:12 +0000
committerKoen Kooi <koen@openembedded.org>2007-05-08 08:24:12 +0000
commit4349522d76edb8429e89139175a3f70ee563db25 (patch)
tree46531d11f76b973d316ac933edccff48e5457493 /packages/gpephone
parent4e3a92fe8455a3d05eeaf9f725eca8448e5c68d6 (diff)
libgemwidget: make it work with a recent gtk.
* NOTE: see the remark in the recipe about the condionality of the patch
Diffstat (limited to 'packages/gpephone')
-rw-r--r--packages/gpephone/libgemwidget/.mtn2git_empty0
-rw-r--r--packages/gpephone/libgemwidget/gemfilechooser-NULL-callback.patch12
-rw-r--r--packages/gpephone/libgemwidget_0.1.bb4
3 files changed, 16 insertions, 0 deletions
diff --git a/packages/gpephone/libgemwidget/.mtn2git_empty b/packages/gpephone/libgemwidget/.mtn2git_empty
new file mode 100644
index 0000000000..e69de29bb2
--- /dev/null
+++ b/packages/gpephone/libgemwidget/.mtn2git_empty
diff --git a/packages/gpephone/libgemwidget/gemfilechooser-NULL-callback.patch b/packages/gpephone/libgemwidget/gemfilechooser-NULL-callback.patch
new file mode 100644
index 0000000000..8b5b372ff6
--- /dev/null
+++ b/packages/gpephone/libgemwidget/gemfilechooser-NULL-callback.patch
@@ -0,0 +1,12 @@
+--- /tmp/gemfilechooser.c 2007-05-08 10:05:21.000000000 +0200
++++ libgemwidget-0.1/src/gemfilechooser.c 2007-05-08 10:13:59.015251000 +0200
+@@ -640,7 +640,8 @@
+ folder = gtk_file_system_get_folder(filechooser->file_system,
+ path,
+ GTK_FILE_INFO_ALL,
+- &error);
++ NULL,
++ &error);
+ if (folder == NULL)
+ {
+ g_print("%s(): get folder error: %s\n",
diff --git a/packages/gpephone/libgemwidget_0.1.bb b/packages/gpephone/libgemwidget_0.1.bb
index 0cce92532f..0b670e485d 100644
--- a/packages/gpephone/libgemwidget_0.1.bb
+++ b/packages/gpephone/libgemwidget_0.1.bb
@@ -8,6 +8,10 @@ PR = "r1"
GPE_TARBALL_SUFFIX = "bz2"
inherit gpephone pkgconfig autotools
+# This really is not angstrom specific, but gtk 2.10 specific
+# for a better solution: "patches accepted"
+SRC_URI_append_angstrom = " file://gemfilechooser-NULL-callback.patch;patch=1"
+
do_stage () {
autotools_stage_all
}