summaryrefslogtreecommitdiff
path: root/recipes/gpephone/libgemwidget
diff options
context:
space:
mode:
authorDenys Dmytriyenko <denis@denix.org>2009-03-17 14:32:59 -0400
committerDenys Dmytriyenko <denis@denix.org>2009-03-17 14:32:59 -0400
commit709c4d66e0b107ca606941b988bad717c0b45d9b (patch)
tree37ee08b1eb308f3b2b6426d5793545c38396b838 /recipes/gpephone/libgemwidget
parentfa6cd5a3b993f16c27de4ff82b42684516d433ba (diff)
rename packages/ to recipes/ per earlier agreement
See links below for more details: http://thread.gmane.org/gmane.comp.handhelds.openembedded/21326 http://thread.gmane.org/gmane.comp.handhelds.openembedded/21816 Signed-off-by: Denys Dmytriyenko <denis@denix.org> Acked-by: Mike Westerhof <mwester@dls.net> Acked-by: Philip Balister <philip@balister.org> Acked-by: Khem Raj <raj.khem@gmail.com> Acked-by: Marcin Juszkiewicz <hrw@openembedded.org> Acked-by: Koen Kooi <koen@openembedded.org> Acked-by: Frans Meulenbroeks <fransmeulenbroeks@gmail.com>
Diffstat (limited to 'recipes/gpephone/libgemwidget')
-rw-r--r--recipes/gpephone/libgemwidget/disable-tests.patch8
-rw-r--r--recipes/gpephone/libgemwidget/gemfilechooser-NULL-callback.patch12
-rw-r--r--recipes/gpephone/libgemwidget/libgemwidget-fixup.diff43
3 files changed, 63 insertions, 0 deletions
diff --git a/recipes/gpephone/libgemwidget/disable-tests.patch b/recipes/gpephone/libgemwidget/disable-tests.patch
new file mode 100644
index 0000000000..a0665979a7
--- /dev/null
+++ b/recipes/gpephone/libgemwidget/disable-tests.patch
@@ -0,0 +1,8 @@
+--- libgemwidget-1.0/Makefile.am~ 2007-11-08 00:12:10.000000000 +0100
++++ libgemwidget-1.0/Makefile.am 2007-11-08 00:12:10.000000000 +0100
+@@ -1,4 +1,4 @@
+-SUBDIRS = src include pixmaps test po
++SUBDIRS = src include pixmaps po
+
+ pkgconfigdir = $(libdir)/pkgconfig
+ pkgconfig_DATA = libgemwidget.pc
diff --git a/recipes/gpephone/libgemwidget/gemfilechooser-NULL-callback.patch b/recipes/gpephone/libgemwidget/gemfilechooser-NULL-callback.patch
new file mode 100644
index 0000000000..8b5b372ff6
--- /dev/null
+++ b/recipes/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/recipes/gpephone/libgemwidget/libgemwidget-fixup.diff b/recipes/gpephone/libgemwidget/libgemwidget-fixup.diff
new file mode 100644
index 0000000000..9a219f1eb8
--- /dev/null
+++ b/recipes/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;