diff options
author | Daniel Gryniewicz <dang@gentoo.org> | 2006-10-06 00:13:06 +0000 |
---|---|---|
committer | Daniel Gryniewicz <dang@gentoo.org> | 2006-10-06 00:13:06 +0000 |
commit | d1079634146ecec4ad0e39340a12c0ce8de38032 (patch) | |
tree | db5c8f850de92ecd30b8dd1e51c2edf8d18c1cbd | |
parent | User overlay (diff) | |
download | user-d1079634146ecec4ad0e39340a12c0ce8de38032.tar.gz user-d1079634146ecec4ad0e39340a12c0ce8de38032.tar.bz2 user-d1079634146ecec4ad0e39340a12c0ce8de38032.zip |
patch epiphany to open tabs in the background
svn path=/user/; revision=5
-rw-r--r-- | www-client/epiphany/Manifest | 16 | ||||
-rw-r--r-- | www-client/epiphany/epiphany-2.16.0.ebuild | 72 | ||||
-rw-r--r-- | www-client/epiphany/files/digest-epiphany-2.16.0 | 3 | ||||
-rw-r--r-- | www-client/epiphany/files/epiphany-1.9.2-broken-firefox.patch | 12 | ||||
-rw-r--r-- | www-client/epiphany/files/epiphany-2.16.0-background-tab.patch | 45 |
5 files changed, 148 insertions, 0 deletions
diff --git a/www-client/epiphany/Manifest b/www-client/epiphany/Manifest new file mode 100644 index 0000000..0911de9 --- /dev/null +++ b/www-client/epiphany/Manifest @@ -0,0 +1,16 @@ +AUX epiphany-1.9.2-broken-firefox.patch 563 RMD160 ae6d867b1168ef98b2c50bcc2002f5fb088da7c8 SHA1 1628d707e8aff03dd3992f9db30e2189ff7e2197 SHA256 7012e6b2dcc15eea073be4e082f79ad549840216f315f339271539b9c469775e +MD5 9bff9c987534a9f2cbefa291a28affe7 files/epiphany-1.9.2-broken-firefox.patch 563 +RMD160 ae6d867b1168ef98b2c50bcc2002f5fb088da7c8 files/epiphany-1.9.2-broken-firefox.patch 563 +SHA256 7012e6b2dcc15eea073be4e082f79ad549840216f315f339271539b9c469775e files/epiphany-1.9.2-broken-firefox.patch 563 +AUX epiphany-2.16.0-background-tab.patch 1898 RMD160 e2f650fd282d93290cf26f4946eda32788cfc19d SHA1 65a10bf6491ea98075a39bc503bc925a3d5e84cd SHA256 6f5c9f0c4d4aab1494545a9b0e44fbf5b293ae45fc6689637eb3e32f92dd47b9 +MD5 ec9374c9a2e6304df35c7760502c88cf files/epiphany-2.16.0-background-tab.patch 1898 +RMD160 e2f650fd282d93290cf26f4946eda32788cfc19d files/epiphany-2.16.0-background-tab.patch 1898 +SHA256 6f5c9f0c4d4aab1494545a9b0e44fbf5b293ae45fc6689637eb3e32f92dd47b9 files/epiphany-2.16.0-background-tab.patch 1898 +DIST epiphany-2.16.0.tar.bz2 3756771 RMD160 eba76e08b659ef193d5e6d714a1de6b4b0a51d3a SHA1 5846c45888918412a39ddefea92921e53429719d SHA256 5f856088de0aa8bd77df394b749cbe7aaba84e6815c77d98002b0e1d75669255 +EBUILD epiphany-2.16.0.ebuild 1986 RMD160 ee1dfd0ac87371475a34b79af39c8da1c1063d74 SHA1 8f36e1a63b89af8315036271d00c526a4e290bc0 SHA256 2f80c4b87a67505bf13a4289825b4fb900d75c0f6e1cd40f4497a6fca3cea8f8 +MD5 889166130527938c66d7d0d1c98a7de3 epiphany-2.16.0.ebuild 1986 +RMD160 ee1dfd0ac87371475a34b79af39c8da1c1063d74 epiphany-2.16.0.ebuild 1986 +SHA256 2f80c4b87a67505bf13a4289825b4fb900d75c0f6e1cd40f4497a6fca3cea8f8 epiphany-2.16.0.ebuild 1986 +MD5 e1700d1a8ef0373cc223cc9b8484746f files/digest-epiphany-2.16.0 253 +RMD160 c3a3764ed757b7c03a4add603fb968b704c9e07a files/digest-epiphany-2.16.0 253 +SHA256 9d34b55087061307dfa972b492ac1c1a5866285336d970e0e53be140d67db42b files/digest-epiphany-2.16.0 253 diff --git a/www-client/epiphany/epiphany-2.16.0.ebuild b/www-client/epiphany/epiphany-2.16.0.ebuild new file mode 100644 index 0000000..b859e94 --- /dev/null +++ b/www-client/epiphany/epiphany-2.16.0.ebuild @@ -0,0 +1,72 @@ +# Copyright 1999-2006 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/www-client/epiphany/epiphany-2.16.0.ebuild,v 1.3 2006/09/08 20:24:38 dang Exp $ + +inherit eutils gnome2 multilib autotools + +DESCRIPTION="GNOME webbrowser based on the mozilla rendering engine" +HOMEPAGE="http://www.gnome.org/projects/epiphany/" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ~sparc ~x86" +IUSE="doc python" + +RDEPEND=">=dev-libs/glib-2.12 + >=x11-libs/gtk+-2.10 + >=dev-libs/libxml2-2.6.12 + >=dev-libs/libxslt-1.1.7 + >=gnome-base/libglade-2.3.1 + >=gnome-base/gnome-vfs-2.9.2 + >=gnome-base/libgnome-2.14 + >=gnome-base/libgnomeui-2.14 + >=gnome-base/gnome-desktop-2.9.91 + >=x11-libs/startup-notification-0.5 + >=gnome-base/gconf-2 + >=app-text/iso-codes-0.35 + =www-client/mozilla-firefox-1.5* + >=sys-apps/dbus-0.35 + python? ( + >=dev-lang/python-2.3 + >=dev-python/pygtk-2.7.1 + >=dev-python/gnome-python-2.6 ) + x11-themes/gnome-icon-theme" + +DEPEND="${RDEPEND} + app-text/scrollkeeper + >=dev-util/pkgconfig-0.9 + >=dev-util/intltool-0.35 + app-text/gnome-doc-utils + doc? ( >=dev-util/gtk-doc-1 )" + +DOCS="AUTHORS ChangeLog* HACKING MAINTAINERS NEWS README TODO" + +MAKEOPTS="${MAKEOPTS} -j1" + +pkg_setup() { + G2CONF="--disable-scrollkeeper \ + --with-mozilla=firefox \ + $(use_enable python)" +} + +src_unpack() { + gnome2_src_unpack + + epatch ${FILESDIR}/${PN}-1.9.2-broken-firefox.patch + epatch ${FILESDIR}/${P}-background-tab.patch + + cp aclocal.m4 old_macros.m4 + AT_M4DIR=". ${S}/m4" WANT_AUTOCONF="2.5" \ + eautoreconf || die "Failed to reconfigure" +} + +src_compile() { + addpredict /usr/$(get_libdir)/mozilla-firefox/components/xpti.dat + addpredict /usr/$(get_libdir)/mozilla-firefox/components/xpti.dat.tmp + addpredict /usr/$(get_libdir)/mozilla-firefox/components/compreg.dat.tmp + + addpredict /usr/$(get_libdir)/mozilla/components/xpti.dat + addpredict /usr/$(get_libdir)/mozilla/components/xpti.dat.tmp + + gnome2_src_compile +} diff --git a/www-client/epiphany/files/digest-epiphany-2.16.0 b/www-client/epiphany/files/digest-epiphany-2.16.0 new file mode 100644 index 0000000..57bfecd --- /dev/null +++ b/www-client/epiphany/files/digest-epiphany-2.16.0 @@ -0,0 +1,3 @@ +MD5 dd68883fae26a60bfc51072fc3771f26 epiphany-2.16.0.tar.bz2 3756771 +RMD160 eba76e08b659ef193d5e6d714a1de6b4b0a51d3a epiphany-2.16.0.tar.bz2 3756771 +SHA256 5f856088de0aa8bd77df394b749cbe7aaba84e6815c77d98002b0e1d75669255 epiphany-2.16.0.tar.bz2 3756771 diff --git a/www-client/epiphany/files/epiphany-1.9.2-broken-firefox.patch b/www-client/epiphany/files/epiphany-1.9.2-broken-firefox.patch new file mode 100644 index 0000000..91d9256 --- /dev/null +++ b/www-client/epiphany/files/epiphany-1.9.2-broken-firefox.patch @@ -0,0 +1,12 @@ +diff --exclude-from=/home/dang/.diffrc -u -ruN epiphany-1.9.2.orig/plugins/desktop-file/plugin.cpp epiphany-1.9.2/plugins/desktop-file/plugin.cpp +--- epiphany-1.9.2.orig/plugins/desktop-file/plugin.cpp 2005-11-07 14:33:31.000000000 -0500 ++++ epiphany-1.9.2/plugins/desktop-file/plugin.cpp 2005-11-19 15:03:52.000000000 -0500 +@@ -36,7 +36,7 @@ + + #include <npupp.h> + #include <nsCOMPtr.h> +-#include <nsIDOMWindow.h> ++#include <dom/nsIDOMWindow.h> + #include "../../embed/mozilla/EphyUtils.h" + + /* NOTE: For simplicity, we use the Epiphany domain for translations, diff --git a/www-client/epiphany/files/epiphany-2.16.0-background-tab.patch b/www-client/epiphany/files/epiphany-2.16.0-background-tab.patch new file mode 100644 index 0000000..29ee660 --- /dev/null +++ b/www-client/epiphany/files/epiphany-2.16.0-background-tab.patch @@ -0,0 +1,45 @@ +diff --exclude-from=/home/dang/.diffrc -u -ruN epiphany-2.16.0.orig/src/ephy-main.c epiphany-2.16.0/src/ephy-main.c +--- epiphany-2.16.0.orig/src/ephy-main.c 2006-07-23 12:53:18.000000000 -0400 ++++ epiphany-2.16.0/src/ephy-main.c 2006-10-05 18:36:26.000000000 -0400 +@@ -58,6 +58,7 @@ + #define STARTUP_ERROR_QUARK (startup_error_quark) + + static gboolean open_in_new_tab = FALSE; ++static gboolean open_in_background_tab = FALSE; + static gboolean open_in_new_window = FALSE; + static gboolean open_as_bookmarks_editor = FALSE; + //static gboolean reload_plugins = FALSE; +@@ -76,6 +77,8 @@ + { + { "new-tab", 'n', 0, G_OPTION_ARG_NONE, &open_in_new_tab, + N_("Open a new tab in an existing browser window"), NULL }, ++ { "new-background-tab", 0, 0, G_OPTION_ARG_NONE, &open_in_background_tab, ++ N_("Open a new tab in the background of an existing browser window"), NULL }, + { "new-window", 0, 0, G_OPTION_ARG_NONE, &open_in_new_window, + N_("Open a new browser window"), NULL }, + { "bookmarks-editor", 'b', 0, G_OPTION_ARG_NONE, &open_as_bookmarks_editor, +@@ -254,6 +257,10 @@ + { + g_string_append (options, "new-window,"); + } ++ if (open_in_background_tab) ++ { ++ g_string_append (options, "new-background-tab,"); ++ } + if (open_in_new_tab) + { + g_string_append (options, "new-tab,"); +diff --exclude-from=/home/dang/.diffrc -u -ruN epiphany-2.16.0.orig/src/ephy-session.c epiphany-2.16.0/src/ephy-session.c +--- epiphany-2.16.0.orig/src/ephy-session.c 2006-06-16 10:11:22.000000000 -0400 ++++ epiphany-2.16.0/src/ephy-session.c 2006-10-05 18:25:04.000000000 -0400 +@@ -670,6 +670,10 @@ + window = NULL; + flags |= EPHY_NEW_TAB_IN_NEW_WINDOW; + } ++ else if (options != NULL && strstr (options, "new-background-tab") != NULL) ++ { ++ flags |= EPHY_NEW_TAB_IN_EXISTING_WINDOW; ++ } + else if (options != NULL && strstr (options, "new-tab") != NULL) + { + flags |= EPHY_NEW_TAB_IN_EXISTING_WINDOW | |