From 4349522d76edb8429e89139175a3f70ee563db25 Mon Sep 17 00:00:00 2001 From: Koen Kooi Date: Tue, 8 May 2007 08:24:12 +0000 Subject: libgemwidget: make it work with a recent gtk. * NOTE: see the remark in the recipe about the condionality of the patch --- packages/gpephone/libgemwidget/.mtn2git_empty | 0 .../gpephone/libgemwidget/gemfilechooser-NULL-callback.patch | 12 ++++++++++++ packages/gpephone/libgemwidget_0.1.bb | 4 ++++ 3 files changed, 16 insertions(+) create mode 100644 packages/gpephone/libgemwidget/.mtn2git_empty create mode 100644 packages/gpephone/libgemwidget/gemfilechooser-NULL-callback.patch diff --git a/packages/gpephone/libgemwidget/.mtn2git_empty b/packages/gpephone/libgemwidget/.mtn2git_empty new file mode 100644 index 0000000000..e69de29bb2 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 } -- cgit v1.2.3