summaryrefslogtreecommitdiff
path: root/packages/gpephone
diff options
context:
space:
mode:
authorDmitry Baryshkov <dbaryshkov@gmail.com>2008-11-05 15:56:36 +0300
committerDmitry Baryshkov <dbaryshkov@gmail.com>2008-11-11 21:36:48 +0300
commitc41cb00125f72015e601f26c845ff521d2ed4fa2 (patch)
tree784d65f54bcd803130b85d99efc54a3c4e159490 /packages/gpephone
parent5f2e5bc2de084cc731241de39d9241d408d371ad (diff)
libgemwidget-1.0: fix build error
Update libgemwidget-1.0 to reflect current Gtk/GIO/GnomeVFS api. Signed-off-by: Dmitry Baryshkov <dbaryshkov@gmail.com>
Diffstat (limited to 'packages/gpephone')
-rw-r--r--packages/gpephone/libgemwidget/libgemwidget-fixup.diff43
-rw-r--r--packages/gpephone/libgemwidget_1.0.bb2
2 files changed, 44 insertions, 1 deletions
diff --git a/packages/gpephone/libgemwidget/libgemwidget-fixup.diff b/packages/gpephone/libgemwidget/libgemwidget-fixup.diff
new file mode 100644
index 0000000000..9a219f1eb8
--- /dev/null
+++ b/packages/gpephone/libgemwidget/libgemwidget-fixup.diff
@@ -0,0 +1,43 @@
+Index: libgemwidget-1.0/src/gemfilechooser.c
+===================================================================
+--- libgemwidget-1.0.orig/src/gemfilechooser.c 2008-11-04 14:04:26.428221184 +0300
++++ libgemwidget-1.0/src/gemfilechooser.c 2008-11-04 14:41:58.755239494 +0300
+@@ -46,6 +46,7 @@
+ #include <gtk/gtk.h>
+ #include <gdk/gdkkeysyms.h>
+ #include <libgnomevfs/gnome-vfs.h>
++#include <libgnomevfs/gnome-vfs-mime-handlers.h>
+ #include "gemfilechooser.h"
+ #include "gemresource.h"
+ #include "gemenv.h"
+@@ -304,7 +305,7 @@ gem_file_chooser_finalize (GObject *obje
+ }
+
+ static void
+-gem_file_chooser_file_info_print (GtkFileInfo *info)
++gem_file_chooser_file_info_print (GFileInfo *info)
+ {
+ struct tm loacl_time;
+ time_t time;
+@@ -331,10 +332,10 @@ gem_file_chooser_file_info_print (GtkFil
+ (gtk_file_info_get_is_folder(info) ? "TRUE" : "FALSE"));
+ g_print("%s():|- Hidden : %s\n",
+ __FUNCTION__,
+- (gtk_file_info_get_is_hidden(info) ? "TRUE" : "FALSE"));
++ (g_file_info_get_is_hidden(info) ? "TRUE" : "FALSE"));
+ g_print("%s():|- MIME Type : %s\n",
+ __FUNCTION__,
+- gtk_file_info_get_mime_type(info));
++ g_file_info_get_mime_type(info));
+ g_print("%s():|- Modified Time : %04d/%02d/%02d %02d:%02d:%02d\n",
+ __FUNCTION__,
+ loacl_time.tm_year + 1900,
+@@ -345,7 +346,7 @@ gem_file_chooser_file_info_print (GtkFil
+ loacl_time.tm_sec);
+ g_print("%s():`- Size : %lld\n",
+ __FUNCTION__,
+- gtk_file_info_get_size(info));
++ g_file_info_get_size(info));
+
+ g_print("\n");
+ return;
diff --git a/packages/gpephone/libgemwidget_1.0.bb b/packages/gpephone/libgemwidget_1.0.bb
index 80e4e4fecb..a9f02cd245 100644
--- a/packages/gpephone/libgemwidget_1.0.bb
+++ b/packages/gpephone/libgemwidget_1.0.bb
@@ -8,7 +8,7 @@ PR = "r0"
GPE_TARBALL_SUFFIX = "bz2"
inherit gpephone pkgconfig autotools
-SRC_URI += " file://disable-tests.patch;patch=1"
+SRC_URI += " file://disable-tests.patch;patch=1 file://libgemwidget-fixup.diff;patch=1"
FILES_${PN} += "${datadir}/gem"