summaryrefslogtreecommitdiff
path: root/packages
diff options
context:
space:
mode:
authorGraeme Gregory <dp@xora.org.uk>2008-04-19 10:04:29 +0000
committerGraeme Gregory <dp@xora.org.uk>2008-04-19 10:04:29 +0000
commitb2cb952950d515dc007433db9353c1ff7197e656 (patch)
treecb537ff4644b142fdb72569f4ab9dc6d192e012a /packages
parentc9578b97e8c81a984f460f88e578642b71935f3f (diff)
epiphany_2.21.92.bb : glib deprecated API fix
Diffstat (limited to 'packages')
-rw-r--r--packages/gnome/epiphany/.mtn2git_empty0
-rw-r--r--packages/gnome/epiphany/file_contains.patch13
-rw-r--r--packages/gnome/epiphany_2.21.92.bb3
3 files changed, 16 insertions, 0 deletions
diff --git a/packages/gnome/epiphany/.mtn2git_empty b/packages/gnome/epiphany/.mtn2git_empty
new file mode 100644
index 0000000000..e69de29bb2
--- /dev/null
+++ b/packages/gnome/epiphany/.mtn2git_empty
diff --git a/packages/gnome/epiphany/file_contains.patch b/packages/gnome/epiphany/file_contains.patch
new file mode 100644
index 0000000000..541ef9a6ed
--- /dev/null
+++ b/packages/gnome/epiphany/file_contains.patch
@@ -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;
+ }
diff --git a/packages/gnome/epiphany_2.21.92.bb b/packages/gnome/epiphany_2.21.92.bb
index c385c1d208..2b65574186 100644
--- a/packages/gnome/epiphany_2.21.92.bb
+++ b/packages/gnome/epiphany_2.21.92.bb
@@ -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() {