diff options
author | marcus <marcus@FreeBSD.org> | 2009-12-18 15:00:52 +0800 |
---|---|---|
committer | marcus <marcus@FreeBSD.org> | 2009-12-18 15:00:52 +0800 |
commit | 59e374dc157b66e5cf5cc18cb1e3dafda23c2d0d (patch) | |
tree | 854764b204da92979bdfd3f24d4e7374a3269305 /www | |
parent | 81900a6b2f91f5fdc302f16233cd5717603a33e6 (diff) | |
download | freebsd-ports-gnome-59e374dc157b66e5cf5cc18cb1e3dafda23c2d0d.tar.gz freebsd-ports-gnome-59e374dc157b66e5cf5cc18cb1e3dafda23c2d0d.tar.zst freebsd-ports-gnome-59e374dc157b66e5cf5cc18cb1e3dafda23c2d0d.zip |
Update to 2.28.2.
Diffstat (limited to 'www')
-rw-r--r-- | www/epiphany/Makefile | 4 | ||||
-rw-r--r-- | www/epiphany/distinfo | 6 | ||||
-rw-r--r-- | www/epiphany/files/patch-embed_ephy-embed-utils.c | 10 | ||||
-rw-r--r-- | www/epiphany/files/patch-embed_ephy-web-view.c | 14 | ||||
-rw-r--r-- | www/epiphany/files/patch-lib_ephy-spell-check.c | 20 | ||||
-rw-r--r-- | www/epiphany/files/patch-src_ephy-window.c | 35 |
6 files changed, 25 insertions, 64 deletions
diff --git a/www/epiphany/Makefile b/www/epiphany/Makefile index 87c44e7babfa..7d13ca73139f 100644 --- a/www/epiphany/Makefile +++ b/www/epiphany/Makefile @@ -7,8 +7,8 @@ # PORTNAME= epiphany -PORTVERSION= 2.28.1 -PORTREVISION?= 1 +PORTVERSION= 2.28.2 +PORTREVISION?= 0 CATEGORIES= www gnome MASTER_SITES= GNOME DIST_SUBDIR= gnome2 diff --git a/www/epiphany/distinfo b/www/epiphany/distinfo index 0ccbf15306c0..9de591cf7613 100644 --- a/www/epiphany/distinfo +++ b/www/epiphany/distinfo @@ -1,3 +1,3 @@ -MD5 (gnome2/epiphany-2.28.1.tar.bz2) = 7a8b885a4894d2a9e979b8cb8898db1e -SHA256 (gnome2/epiphany-2.28.1.tar.bz2) = 95ccdd36bc7fdf95c6085da3b76cee6467f3c9a8745541cfb09fdd8d33a1f04d -SIZE (gnome2/epiphany-2.28.1.tar.bz2) = 5693411 +MD5 (gnome2/epiphany-2.28.2.tar.bz2) = cf32404bfe6f0cb4d3f01d0c33c08def +SHA256 (gnome2/epiphany-2.28.2.tar.bz2) = 98b7a60bb42fa5c8ebdec1bf623319ae730e5674ddbcfaf51649093adb079490 +SIZE (gnome2/epiphany-2.28.2.tar.bz2) = 5697393 diff --git a/www/epiphany/files/patch-embed_ephy-embed-utils.c b/www/epiphany/files/patch-embed_ephy-embed-utils.c deleted file mode 100644 index 09de6a98174c..000000000000 --- a/www/epiphany/files/patch-embed_ephy-embed-utils.c +++ /dev/null @@ -1,10 +0,0 @@ ---- embed/ephy-embed-utils.c.orig 2009-10-13 15:28:59.000000000 +0200 -+++ embed/ephy-embed-utils.c 2009-10-13 15:29:30.000000000 +0200 -@@ -91,6 +91,7 @@ ephy_embed_utils_address_has_web_scheme - g_str_has_prefix (address, "file:") || - g_str_has_prefix (address, "data:") || - g_str_has_prefix (address, "about:") || -+ g_str_has_prefix (address, "javascript:") || - g_str_has_prefix (address, "gopher:")); - - return has_web_scheme; diff --git a/www/epiphany/files/patch-embed_ephy-web-view.c b/www/epiphany/files/patch-embed_ephy-web-view.c deleted file mode 100644 index beb96fd71c92..000000000000 --- a/www/epiphany/files/patch-embed_ephy-web-view.c +++ /dev/null @@ -1,14 +0,0 @@ ---- embed/ephy-web-view.c.orig 2009-10-13 15:30:12.000000000 +0200 -+++ embed/ephy-web-view.c 2009-10-13 15:30:52.000000000 +0200 -@@ -1129,7 +1129,10 @@ ephy_web_view_load_url (EphyWebView *vie - else - effective_url = ephy_embed_utils_normalize_address (url); - -- webkit_web_view_open (WEBKIT_WEB_VIEW (view), effective_url); -+ if (g_str_has_prefix (effective_url, "javascript:")) -+ webkit_web_view_execute_script (WEBKIT_WEB_VIEW (view), effective_url); -+ else -+ webkit_web_view_open (WEBKIT_WEB_VIEW (view), effective_url); - - if (soup_uri) - soup_uri_free (soup_uri); diff --git a/www/epiphany/files/patch-lib_ephy-spell-check.c b/www/epiphany/files/patch-lib_ephy-spell-check.c index bd68a07d94df..4b2c2f3721e4 100644 --- a/www/epiphany/files/patch-lib_ephy-spell-check.c +++ b/www/epiphany/files/patch-lib_ephy-spell-check.c @@ -18,3 +18,23 @@ } static void +--- lib/ephy-spell-check.c.orig 2008-03-17 00:41:47.000000000 -0400 ++++ lib/ephy-spell-check.c 2008-03-17 00:47:22.000000000 -0400 +@@ -69,8 +69,15 @@ ephy_spell_check_init (EphySpellCheck *s + priv->dict = enchant_broker_request_dict (priv->broker, *locale); + if (priv->dict != NULL) break; + } +- if (priv->dict == NULL) +- g_warning (enchant_broker_get_error (priv->broker)); ++ if (priv->dict == NULL) { ++ g_warning ("No dictionary found for current locale; trying 'en'"); ++ priv->dict = enchant_broker_request_dict (priv->broker, "en"); ++ ++ if (priv->dict == NULL) { ++ g_warning (enchant_broker_get_error (priv->broker)); ++ g_warning ("No dictionary found; expect a crash until LANG is properly set"); ++ } ++ } + } + + static void diff --git a/www/epiphany/files/patch-src_ephy-window.c b/www/epiphany/files/patch-src_ephy-window.c deleted file mode 100644 index f8467d96bce8..000000000000 --- a/www/epiphany/files/patch-src_ephy-window.c +++ /dev/null @@ -1,35 +0,0 @@ -From c61c318aabdc980477dccd78549fe9819c3b1fa0 Mon Sep 17 00:00:00 2001 -From: =?UTF-8?q?Fr=C3=A9d=C3=A9ric=20P=C3=A9ters?= <fpeters@0d.be> -Date: Fri, 9 Oct 2009 20:07:20 +0200 -Subject: [PATCH] Pass mailto: URI to gtk_show_uri() - -(Part of) Bug #584537 ---- - src/ephy-window.c | 8 ++++++++ - 1 files changed, 8 insertions(+), 0 deletions(-) - -diff --git a/src/ephy-window.c b/src/ephy-window.c -index 635a779..630ecec 100644 ---- src/ephy-window.c -+++ src/ephy-window.c -@@ -2548,10 +2548,18 @@ policy_decision_required_cb (WebKitWebView *web_view, - WebKitWebNavigationReason reason; - gint button; - gint state; -+ const char *uri; - - reason = webkit_web_navigation_action_get_reason (action); - button = webkit_web_navigation_action_get_button (action); - state = webkit_web_navigation_action_get_modifier_state (action); -+ uri = webkit_network_request_get_uri (request); -+ -+ if (strncmp (uri, "mailto:", 7) == 0) { -+ webkit_web_policy_decision_ignore (decision); -+ gtk_show_uri (NULL, uri, GDK_CURRENT_TIME, NULL); -+ return TRUE; -+ } - - /* Open in new tab for middle click or ctrl+click */ - if (reason == WEBKIT_WEB_NAVIGATION_REASON_LINK_CLICKED && --- -1.6.4.3 |