epiphany_2.21.92.bb : glib deprecated API fix
authorGraeme Gregory <dp@xora.org.uk>
Sat, 19 Apr 2008 10:04:29 +0000 (10:04 +0000)
committerGraeme Gregory <dp@xora.org.uk>
Sat, 19 Apr 2008 10:04:29 +0000 (10:04 +0000)
packages/gnome/epiphany/.mtn2git_empty [new file with mode: 0644]
packages/gnome/epiphany/file_contains.patch [new file with mode: 0644]
packages/gnome/epiphany_2.21.92.bb

diff --git a/packages/gnome/epiphany/.mtn2git_empty b/packages/gnome/epiphany/.mtn2git_empty
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/packages/gnome/epiphany/file_contains.patch b/packages/gnome/epiphany/file_contains.patch
new file mode 100644 (file)
index 0000000..541ef9a
--- /dev/null
@@ -0,0 +1,13 @@
+Index: epiphany-2.21.92/lib/ephy-file-helpers.c
+===================================================================
+--- epiphany-2.21.92.orig/lib/ephy-file-helpers.c      2008-04-19 10:26:48.000000000 +0100
++++ epiphany-2.21.92/lib/ephy-file-helpers.c   2008-04-19 10:27:21.000000000 +0100
+@@ -713,7 +713,7 @@
+       desktop = g_file_new_for_path (desktop_dir);
+       
+       /* Don't do anything if destination is the desktop */
+-      if (g_file_contains_file (desktop, file))
++      if (g_file_has_prefix (desktop, file))
+       {
+               ret = FALSE;
+       }
index c385c1d..2b65574 100644 (file)
@@ -1,9 +1,12 @@
 DESCRIPTION = "GNOME default webbrowser"
 DEPENDS = "gnome-desktop gnome-vfs libgnomeui webkit-gtk iso-codes startup-notification"
 RDEPENDS = "gnome-vfs-plugin-http"
+PR="r1"
 
 inherit gnome
 
+SRC_URI_append = " file://file_contains.patch;patch=1"
+
 EXTRA_OECONF = "--with-engine=webkit --with-distributor-name=${DISTRO}"
 
 do_configure_prepend() {