From d3040f58138acaf9f6692a11bb39b25c19788fd8 Mon Sep 17 00:00:00 2001 From: jasper Date: Wed, 17 Apr 2013 09:56:54 +0000 Subject: [PATCH] update to epiphany-3.8.1 --- www/epiphany/Makefile | 5 ++- www/epiphany/distinfo | 4 +-- .../patch-lib_widgets_ephy-location-entry_c | 31 ------------------- .../patches/patch-src_ephy-notebook_c | 26 ---------------- 4 files changed, 4 insertions(+), 62 deletions(-) delete mode 100644 www/epiphany/patches/patch-lib_widgets_ephy-location-entry_c delete mode 100644 www/epiphany/patches/patch-src_ephy-notebook_c diff --git a/www/epiphany/Makefile b/www/epiphany/Makefile index a3e4fabf34a..0196e51118a 100644 --- a/www/epiphany/Makefile +++ b/www/epiphany/Makefile @@ -1,12 +1,11 @@ -# $OpenBSD: Makefile,v 1.96 2013/04/15 07:53:27 jasper Exp $ +# $OpenBSD: Makefile,v 1.97 2013/04/17 09:56:54 jasper Exp $ SHARED_ONLY= Yes COMMENT= GNOME web browser based on webkit GNOME_PROJECT= epiphany -GNOME_VERSION= 3.8.0 -REVISION= 1 +GNOME_VERSION= 3.8.1 # NOTE: when M changes, increment M accordingly M= ${GNOME_VERSION:C/^([0-9]+\.[0-9]+).*/\1/} diff --git a/www/epiphany/distinfo b/www/epiphany/distinfo index 332b49729e4..3abd72e10ec 100644 --- a/www/epiphany/distinfo +++ b/www/epiphany/distinfo @@ -1,2 +1,2 @@ -SHA256 (epiphany-3.8.0.tar.xz) = 61MeI1I/5GyDjrJNLs9E7A2dYxq0EMfAnptLtdKiDd4= -SIZE (epiphany-3.8.0.tar.xz) = 2505364 +SHA256 (epiphany-3.8.1.tar.xz) = jCMbsa+Nr3OVJL2JqkSHP1k2uKhJ2kkyZCdIbtglUj8= +SIZE (epiphany-3.8.1.tar.xz) = 2504796 diff --git a/www/epiphany/patches/patch-lib_widgets_ephy-location-entry_c b/www/epiphany/patches/patch-lib_widgets_ephy-location-entry_c deleted file mode 100644 index 31b70d3d9ee..00000000000 --- a/www/epiphany/patches/patch-lib_widgets_ephy-location-entry_c +++ /dev/null @@ -1,31 +0,0 @@ -$OpenBSD: patch-lib_widgets_ephy-location-entry_c,v 1.1 2013/04/15 07:53:27 jasper Exp $ - -From 198f81ad99638085f2c430881e3f15db1c8d95df Mon Sep 17 00:00:00 2001 -From: Carlos Garcia Campos -Date: Thu, 28 Mar 2013 15:16:02 +0000 -Subject: Do not schedule a DNS prefetch for invalid URIs or without a hostname - ---- lib/widgets/ephy-location-entry.c.orig Wed Mar 6 15:04:28 2013 -+++ lib/widgets/ephy-location-entry.c Mon Apr 15 09:44:20 2013 -@@ -966,13 +966,20 @@ static void - schedule_dns_prefetch (EphyLocationEntry *entry, guint interval, const gchar *url) - { - PrefetchHelper *helper; -+ SoupURI *uri; - -+ uri = soup_uri_new (url); -+ if (!uri || !uri->host) { -+ soup_uri_free (uri); -+ return; -+ } -+ - if (entry->priv->dns_prefetch_handler) - g_source_remove (entry->priv->dns_prefetch_handler); - - helper = g_slice_new0 (PrefetchHelper); - helper->entry = g_object_ref (entry); -- helper->uri = soup_uri_new (url); -+ helper->uri = uri; - - entry->priv->dns_prefetch_handler = - g_timeout_add_full (G_PRIORITY_DEFAULT, interval, diff --git a/www/epiphany/patches/patch-src_ephy-notebook_c b/www/epiphany/patches/patch-src_ephy-notebook_c deleted file mode 100644 index ffebe4b0d32..00000000000 --- a/www/epiphany/patches/patch-src_ephy-notebook_c +++ /dev/null @@ -1,26 +0,0 @@ -$OpenBSD: patch-src_ephy-notebook_c,v 1.1 2013/04/15 07:53:27 jasper Exp $ - -From ee67349ea1233965b2c8060f6ed197c593dcdcdd Mon Sep 17 00:00:00 2001 -From: Xan Lopez -Date: Mon, 25 Mar 2013 21:53:36 +0000 -Subject: ephy-notebook: fix memory leak - ---- src/ephy-notebook.c.orig Tue Feb 12 18:04:41 2013 -+++ src/ephy-notebook.c Mon Apr 15 09:42:27 2013 -@@ -531,7 +531,7 @@ tab_label_style_set_cb (GtkWidget *hbox, - PangoFontMetrics *metrics; - PangoContext *context; - GtkStyleContext *style; -- const PangoFontDescription *font_desc; -+ PangoFontDescription *font_desc; - GtkWidget *button; - int char_width, h, w; - -@@ -542,6 +542,7 @@ tab_label_style_set_cb (GtkWidget *hbox, - metrics = pango_context_get_metrics (context, - font_desc, - pango_context_get_language (context)); -+ pango_font_description_free (font_desc); - char_width = pango_font_metrics_get_approximate_digit_width (metrics); - pango_font_metrics_unref (metrics); -