From: Dmitry Baryshkov <dbaryshkov@gmail.com>
To: openembedded-devel@lists.openembedded.org
Cc: Dmitry Baryshkov <dbaryshkov@gmail.com>
Subject: [PATCH] libgemwidget-1.0: fix build error
Date: Sun, 9 Nov 2008 16:28:16 +0300 [thread overview]
Message-ID: <1226237296-11012-16-git-send-email-dbaryshkov@gmail.com> (raw)
In-Reply-To: <1226237296-11012-15-git-send-email-dbaryshkov@gmail.com>
Update libgemwidget-1.0 to reflect current Gtk/GIO/GnomeVFS api.
Signed-off-by: Dmitry Baryshkov <dbaryshkov@gmail.com>
---
.../gpephone/libgemwidget/libgemwidget-fixup.diff | 43 ++++++++++++++++++++
packages/gpephone/libgemwidget_1.0.bb | 2 +-
2 files changed, 44 insertions(+), 1 deletions(-)
create mode 100644 packages/gpephone/libgemwidget/libgemwidget-fixup.diff
diff --git a/packages/gpephone/libgemwidget/libgemwidget-fixup.diff b/packages/gpephone/libgemwidget/libgemwidget-fixup.diff
new file mode 100644
index 0000000..9a219f1
--- /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 80e4e4f..a9f02cd 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"
--
1.5.6.5
next prev parent reply other threads:[~2008-11-09 13:55 UTC|newest]
Thread overview: 24+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-11-09 13:28 [PATCH] checksums.ini: add few more checksums Dmitry Baryshkov
2008-11-09 13:28 ` [PATCH] checksums.ini: correct wrong checksums Dmitry Baryshkov
2008-11-09 13:28 ` [PATCH] libmailwrapper: add 1.2.4 version recipe Dmitry Baryshkov
2008-11-09 13:28 ` [PATCH] opie-cardapplet: " Dmitry Baryshkov
2008-11-09 13:28 ` [PATCH] task-sdk-base: switch to newer pixman Dmitry Baryshkov
2008-11-09 13:28 ` [PATCH] task-sdk-opie: correctly select qte or qte-mt Dmitry Baryshkov
2008-11-09 13:28 ` [PATCH] meta-toolchain-opie: add Opie SDK package Dmitry Baryshkov
2008-11-09 13:28 ` [PATCH] src_distribute: update to reflect current bitbake Dmitry Baryshkov
2008-11-09 13:28 ` [PATCH] task-sdk-extra: use randrproto-dev instead of randrext-dev Dmitry Baryshkov
2008-11-09 13:28 ` [PATCH] x11-sato-image: use correct package names instead of ttf-liberation Dmitry Baryshkov
2008-11-09 13:28 ` [PATCH] gloox: fix gloox.pc in the staging Dmitry Baryshkov
2008-11-09 13:28 ` [PATCH] libsvg-cairo: fix building with current libtool/autoconf Dmitry Baryshkov
2008-11-09 13:28 ` [PATCH] linphone: fix building with current speex Dmitry Baryshkov
2008-11-09 13:28 ` [PATCH] contacts: fix build error Dmitry Baryshkov
2008-11-09 13:28 ` [PATCH] tasks: fix building with current libtool Dmitry Baryshkov
2008-11-09 13:28 ` Dmitry Baryshkov [this message]
2008-11-10 23:37 ` [PATCH] task-sdk-opie: correctly select qte or qte-mt Paul Eggleton
2008-11-09 16:54 ` [PATCH] checksums.ini: correct wrong checksums Phil Blundell
2008-11-09 17:31 ` Koen Kooi
2008-11-10 14:13 ` Philip Balister
2008-11-13 16:43 ` Marcin Juszkiewicz
2008-11-13 17:22 ` Mike (mwester)
2008-11-13 17:59 ` Koen Kooi
2008-11-14 2:16 ` Philip Balister
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1226237296-11012-16-git-send-email-dbaryshkov@gmail.com \
--to=dbaryshkov@gmail.com \
--cc=openembedded-devel@lists.openembedded.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox