diff options
author | Pacho Ramos <pacho@gentoo.org> | 2010-10-29 21:17:08 +0000 |
---|---|---|
committer | Pacho Ramos <pacho@gentoo.org> | 2010-10-29 21:17:08 +0000 |
commit | 9b9b22805e3c412dae8a08b7ad96bd6b8a5658bd (patch) | |
tree | 53c780cb292c27a2d7d133eada807e2ea5f694a9 /www-client/epiphany-extensions | |
parent | Update Gnome 2.32 mask. (diff) | |
download | gentoo-2-9b9b22805e3c412dae8a08b7ad96bd6b8a5658bd.tar.gz gentoo-2-9b9b22805e3c412dae8a08b7ad96bd6b8a5658bd.tar.bz2 gentoo-2-9b9b22805e3c412dae8a08b7ad96bd6b8a5658bd.zip |
Version bump for Gnome 2.32
(Portage version: 2.1.9.23/cvs/Linux x86_64)
Diffstat (limited to 'www-client/epiphany-extensions')
-rw-r--r-- | www-client/epiphany-extensions/ChangeLog | 15 | ||||
-rw-r--r-- | www-client/epiphany-extensions/epiphany-extensions-2.26.1-r1.ebuild | 4 | ||||
-rw-r--r-- | www-client/epiphany-extensions/epiphany-extensions-2.32.0.ebuild (renamed from www-client/epiphany-extensions/epiphany-extensions-2.28.1-r2.ebuild) | 42 | ||||
-rw-r--r-- | www-client/epiphany-extensions/files/epiphany-extensions-2.28.1-auto-scroller-broken.patch | 115 |
4 files changed, 33 insertions, 143 deletions
diff --git a/www-client/epiphany-extensions/ChangeLog b/www-client/epiphany-extensions/ChangeLog index 695316cc6d4e..d09dc274cf40 100644 --- a/www-client/epiphany-extensions/ChangeLog +++ b/www-client/epiphany-extensions/ChangeLog @@ -1,6 +1,19 @@ # ChangeLog for www-client/epiphany-extensions # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/www-client/epiphany-extensions/ChangeLog,v 1.136 2010/10/17 15:39:01 armin76 Exp $ +# $Header: /var/cvsroot/gentoo-x86/www-client/epiphany-extensions/ChangeLog,v 1.137 2010/10/29 21:17:08 pacho Exp $ + +*epiphany-extensions-2.32.0 (29 Oct 2010) + + 29 Oct 2010; Pacho Ramos <pacho@gentoo.org> + epiphany-extensions-2.26.1-r1.ebuild, + -epiphany-extensions-2.28.1-r2.ebuild, + -files/epiphany-extensions-2.28.1-auto-scroller-broken.patch, + +epiphany-extensions-2.32.0.ebuild: + Version bump for Gnome 2.32: Remove deprecated GTK+ symbols, update + html5tube extension to handle the latest youtube layout changes. Let it + build when having python3 as default interpreter. Pass + --disable-maintainer-mode to 2.26 since it is still needed for ppc64. + Remove old testing. 17 Oct 2010; Raúl Porcel <armin76@gentoo.org> epiphany-extensions-2.30.1.ebuild: diff --git a/www-client/epiphany-extensions/epiphany-extensions-2.26.1-r1.ebuild b/www-client/epiphany-extensions/epiphany-extensions-2.26.1-r1.ebuild index 020d690b65f1..6458bee7a515 100644 --- a/www-client/epiphany-extensions/epiphany-extensions-2.26.1-r1.ebuild +++ b/www-client/epiphany-extensions/epiphany-extensions-2.26.1-r1.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2010 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/www-client/epiphany-extensions/epiphany-extensions-2.26.1-r1.ebuild,v 1.7 2010/07/20 15:46:36 jer Exp $ +# $Header: /var/cvsroot/gentoo-x86/www-client/epiphany-extensions/epiphany-extensions-2.26.1-r1.ebuild,v 1.8 2010/10/29 21:17:08 pacho Exp $ EAPI="2" @@ -59,7 +59,7 @@ pkg_setup() { G2CONF="${G2CONF} --with-extensions=$(echo "${extensions}" | sed -e 's/[[:space:]]\+/,/g')" - G2CONF="${G2CONF} --with-gecko=libxul-embedding" + G2CONF="${G2CONF} --with-gecko=libxul-embedding --disable-maintainer-mode" } src_prepare() { diff --git a/www-client/epiphany-extensions/epiphany-extensions-2.28.1-r2.ebuild b/www-client/epiphany-extensions/epiphany-extensions-2.32.0.ebuild index 69bf7dbcd356..4ab5e589093c 100644 --- a/www-client/epiphany-extensions/epiphany-extensions-2.28.1-r2.ebuild +++ b/www-client/epiphany-extensions/epiphany-extensions-2.32.0.ebuild @@ -1,12 +1,12 @@ # Copyright 1999-2010 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/www-client/epiphany-extensions/epiphany-extensions-2.28.1-r2.ebuild,v 1.2 2010/05/29 17:41:57 armin76 Exp $ +# $Header: /var/cvsroot/gentoo-x86/www-client/epiphany-extensions/epiphany-extensions-2.32.0.ebuild,v 1.1 2010/10/29 21:17:08 pacho Exp $ -EAPI="2" +EAPI="3" +GCONF_DEBUG="yes" +PYTHON_DEPEND="2" -inherit gnome2 eutils versionator - -MY_MAJORV=$(get_version_component_range 1-2) +inherit gnome2 python DESCRIPTION="Extensions for the Epiphany web browser" HOMEPAGE="http://www.gnome.org/projects/epiphany/extensions.html" @@ -14,19 +14,18 @@ HOMEPAGE="http://www.gnome.org/projects/epiphany/extensions.html" LICENSE="GPL-2" SLOT="0" KEYWORDS="~alpha ~amd64 ~ia64 ~sparc ~x86" -IUSE="dbus examples" +IUSE="dbus examples pcre" -RDEPEND=">=www-client/epiphany-${MY_MAJORV} +RDEPEND=">=www-client/epiphany-2.30.0 app-text/opensp >=dev-libs/glib-2.15.5 >=gnome-base/gconf-2.0 >=dev-libs/libxml2-2.6 - >=x11-libs/gtk+-2.12.0 - >=gnome-base/libglade-2 + >=x11-libs/gtk+-2.21.6 >=net-libs/webkit-gtk-1.1 - dbus? ( >=dev-libs/dbus-glib-0.34 )" -# pcre? ( >=dev-libs/libpcre-3.9-r2 )" + dbus? ( >=dev-libs/dbus-glib-0.34 ) + pcre? ( >=dev-libs/libpcre-3.9-r2 )" DEPEND="${RDEPEND} >=dev-util/intltool-0.40 >=dev-util/pkgconfig-0.20 @@ -34,43 +33,36 @@ DEPEND="${RDEPEND} # eautoreconf dependencies: # gnome-base/gnome-common -DOCS="AUTHORS ChangeLog HACKING NEWS README" - # FIXME: Open security issues: # FIXME: - adblock ( https://bugzilla.gnome.org/show_bug.cgi?id=595255 ) # FIXME: broken extensions: -# FIXME: - gestures ( https://bugzilla.gnome.org/show_bug.cgi?id=563099 ) # FIXME: - session-saver ( https://bugzilla.gnome.org/show_bug.cgi?id=316245 ) -# FIXME: - sidebar: hangs ( https://bugzilla.gnome.org/show_bug.cgi?id=594481 ) -# FIXME: - greasemonkey ( https://bugzilla.gnome.org/show_bug.cgi?id=598434 ) pkg_setup() { local extensions="" - extensions="actions auto-reload auto-scroller certificates \ - error-viewer extensions-manager-ui \ + error-viewer extensions-manager-ui gestures html5tube \ java-console livehttpheaders page-info permissions \ push-scroller select-stylesheet \ smart-bookmarks soup-fly tab-groups tab-states" use dbus && extensions="${extensions} rss" - -# use pcre && extensions="${extensions} greasemonkey" - + use pcre && extensions="${extensions} greasemonkey" use examples && extensions="${extensions} sample" G2CONF="${G2CONF} --disable-maintainer-mode --with-extensions=$(echo "${extensions}" | sed -e 's/[[:space:]]\+/,/g')" + DOCS="AUTHORS ChangeLog HACKING NEWS README" + + python_set_active_version 2 } src_prepare() { gnome2_src_prepare - # auto-scroller is broken and makes middle click be unable to open links in new tabs, - # bug 294712 - epatch "${FILESDIR}/${P}-auto-scroller-broken.patch" + python_convert_shebangs -r 2 . } src_install() { gnome2_src_install - find "${D}" -name "*.la" -delete || die "remove of la files failed" + find "${ED}" -name "*.la" -delete || die "remove of la files failed" } diff --git a/www-client/epiphany-extensions/files/epiphany-extensions-2.28.1-auto-scroller-broken.patch b/www-client/epiphany-extensions/files/epiphany-extensions-2.28.1-auto-scroller-broken.patch deleted file mode 100644 index bc048d5fcabd..000000000000 --- a/www-client/epiphany-extensions/files/epiphany-extensions-2.28.1-auto-scroller-broken.patch +++ /dev/null @@ -1,115 +0,0 @@ -From c3584c630ac8ec80288f56bdb3ecc350b533d07e Mon Sep 17 00:00:00 2001 -From: Xan Lopez <xan@gnome.org> -Date: Tue, 22 Sep 2009 10:43:09 +0000 -Subject: Fix auto-scroller extension to use the new WebKitHitTestResult stuff - -Upstream Bug #589560,#600140 -Dowstream Bug #294712 - ---- -diff --git a/extensions/auto-scroller/ephy-auto-scroller-extension.c b/extensions/auto-scroller/ephy-auto-scroller-extension.c -index 188cc44..f6c54fa 100644 ---- a/extensions/auto-scroller/ephy-auto-scroller-extension.c -+++ b/extensions/auto-scroller/ephy-auto-scroller-extension.c -@@ -55,21 +55,23 @@ ensure_auto_scroller (EphyWindow *window) - return scroller; - } - --#if 0 - static gboolean --dom_mouse_down_cb (EphyEmbed *embed, -- EphyEmbedEvent *event, -+dom_mouse_down_cb (EphyWebView *view, -+ GdkEventButton *event, - EphyWindow *window) - { - EphyAutoScroller *scroller; -- EphyEmbedEventContext context; -+ guint context; - guint button, x, y; -+ WebKitHitTestResult *hit_test; - -- button = ephy_embed_event_get_button (event); -- context = ephy_embed_event_get_context (event); -+ button = event->button; -+ hit_test = webkit_web_view_get_hit_test_result (WEBKIT_WEB_VIEW (view), event); -+ g_object_get (hit_test, "context", &context, NULL); -+ g_object_unref (hit_test); - -- if (button != 2 || (context & EPHY_EMBED_CONTEXT_INPUT) || -- (context & EPHY_EMBED_CONTEXT_LINK)) -+ if (button != 2 || (context & WEBKIT_HIT_TEST_RESULT_CONTEXT_EDITABLE) || -+ (context & WEBKIT_HIT_TEST_RESULT_CONTEXT_LINK)) - { - return FALSE; - } -@@ -77,31 +79,9 @@ dom_mouse_down_cb (EphyEmbed *embed, - scroller = ensure_auto_scroller (window); - g_return_val_if_fail (scroller != NULL, FALSE); - -- ephy_embed_event_get_coords (event, &x, &y); -- ephy_auto_scroller_start (scroller, embed, x, y); -- -- return TRUE; --} --#endif -- --static gboolean --button_press_cb (GtkWidget *widget, -- GdkEventButton *event, -- EphyWindow *window) --{ -- EphyAutoScroller *scroller; -- EphyEmbed *embed = (EphyEmbed*) gtk_widget_get_parent (widget); -- -- // FIXME: This will swallow middle clicks on inputs and links. -- if (event->button != 2) -- { -- return FALSE; -- } -- -- scroller = ensure_auto_scroller (window); -- g_return_val_if_fail (scroller != NULL, FALSE); -- -- ephy_auto_scroller_start (scroller, embed, event->x_root, event->y_root); -+ x = (guint)event->x_root; -+ y = (guint)event->y_root; -+ ephy_auto_scroller_start (scroller, EPHY_GET_EMBED_FROM_EPHY_WEB_VIEW (view), x, y); - - return TRUE; - } -@@ -123,14 +103,9 @@ impl_attach_tab (EphyExtension *ext, - - g_return_if_fail (embed != NULL); - --#if 0 -- g_signal_connect_object (embed, "ge-dom-mouse-down", -- G_CALLBACK (dom_mouse_down_cb), window, 0); --#endif -- - web_view = EPHY_GET_WEBKIT_WEB_VIEW_FROM_EMBED (embed); -- g_signal_connect_object (web_view, "button_press_event", -- G_CALLBACK (button_press_cb), window, 0); -+ g_signal_connect_object (web_view, "button-press-event", -+ G_CALLBACK (dom_mouse_down_cb), window, 0); - } - - static void -@@ -143,14 +118,9 @@ impl_detach_tab (EphyExtension *ext, - - g_return_if_fail (embed != NULL); - --#if 0 -- g_signal_handlers_disconnect_by_func -- (embed, G_CALLBACK (dom_mouse_down_cb), window); --#endif -- - web_view = EPHY_GET_WEBKIT_WEB_VIEW_FROM_EMBED (embed); - g_signal_handlers_disconnect_by_func -- (web_view, G_CALLBACK (button_press_cb), window); -+ (web_view, G_CALLBACK (dom_mouse_down_cb), window); - } - - static void --- -cgit v0.8.3.1 |