update to epiphany-3.8.1

This commit is contained in:
jasper 2013-04-17 09:56:54 +00:00
parent a096ebf43a
commit d3040f5813
4 changed files with 4 additions and 62 deletions

View File

@ -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/}

View File

@ -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

View File

@ -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 <cgarcia@igalia.com>
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,

View File

@ -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 <xan@igalia.com>
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);