summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGilles Dartiguelongue <eva@gentoo.org>2013-01-20 22:55:48 +0000
committerGilles Dartiguelongue <eva@gentoo.org>2013-01-20 22:55:48 +0000
commit98ba6872498bea9c400077301e8b38e82d607dd9 (patch)
tree467008f0cc6a0e4cf9efb99f2a080ac2820c0283 /www-client/epiphany
parentVersion bump for EAPI=5 and python-r1. (diff)
downloadgentoo-2-98ba6872498bea9c400077301e8b38e82d607dd9.tar.gz
gentoo-2-98ba6872498bea9c400077301e8b38e82d607dd9.tar.bz2
gentoo-2-98ba6872498bea9c400077301e8b38e82d607dd9.zip
Requires avahi[dbus], bug #453110. Fix some testsuite issues.
(Portage version: 2.2.0_alpha154/cvs/Linux x86_64, signed Manifest commit with key C6085806)
Diffstat (limited to 'www-client/epiphany')
-rw-r--r--www-client/epiphany/ChangeLog6
-rw-r--r--www-client/epiphany/epiphany-3.4.3.ebuild94
-rw-r--r--www-client/epiphany/epiphany-3.6.1.ebuild26
-rw-r--r--www-client/epiphany/files/epiphany-3.6.1-test-gwarning.patch15
4 files changed, 35 insertions, 106 deletions
diff --git a/www-client/epiphany/ChangeLog b/www-client/epiphany/ChangeLog
index 5d8ba0449920..776ae2f70da3 100644
--- a/www-client/epiphany/ChangeLog
+++ b/www-client/epiphany/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for www-client/epiphany
# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/www-client/epiphany/ChangeLog,v 1.290 2013/01/06 11:14:04 ago Exp $
+# $Header: /var/cvsroot/gentoo-x86/www-client/epiphany/ChangeLog,v 1.291 2013/01/20 22:55:48 eva Exp $
+
+ 20 Jan 2013; Gilles Dartiguelongue <eva@gentoo.org> -epiphany-3.4.3.ebuild,
+ epiphany-3.6.1.ebuild, +files/epiphany-3.6.1-test-gwarning.patch:
+ Requires avahi[dbus], bug #453110. Fix some testsuite issues.
06 Jan 2013; Agostino Sarubbo <ago@gentoo.org> epiphany-3.6.1.ebuild:
Add ~sparc, wrt bug #449220
diff --git a/www-client/epiphany/epiphany-3.4.3.ebuild b/www-client/epiphany/epiphany-3.4.3.ebuild
deleted file mode 100644
index 3a96619b6a83..000000000000
--- a/www-client/epiphany/epiphany-3.4.3.ebuild
+++ /dev/null
@@ -1,94 +0,0 @@
-# Copyright 1999-2012 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/www-client/epiphany/epiphany-3.4.3.ebuild,v 1.2 2012/12/25 23:52:43 eva Exp $
-
-EAPI="4"
-GCONF_DEBUG="yes"
-
-inherit autotools eutils gnome2 pax-utils versionator virtualx
-
-DESCRIPTION="GNOME webbrowser based on Webkit"
-HOMEPAGE="http://projects.gnome.org/epiphany/"
-
-LICENSE="GPL-2"
-SLOT="0"
-IUSE="avahi doc +introspection +jit +nss test"
-KEYWORDS="~alpha ~amd64 ~ia64 ~ppc ~ppc64 ~sparc ~x86"
-
-# XXX: Should we add seed support? Seed seems to be unmaintained now.
-RDEPEND="
- >=dev-libs/glib-2.31.2:2
- >=x11-libs/gtk+-3.3.14:3[introspection?]
- >=dev-libs/libxml2-2.6.12:2
- >=dev-libs/libxslt-1.1.7
- >=app-text/iso-codes-0.35
- >=net-libs/webkit-gtk-1.8.2:3[introspection?]
- >=net-libs/libsoup-gnome-2.37.1:2.4
- >=gnome-base/gnome-keyring-2.26.0
- >=gnome-base/gsettings-desktop-schemas-0.0.1
- >=x11-libs/libnotify-0.5.1
-
- dev-db/sqlite:3
- x11-libs/libICE
- x11-libs/libSM
- x11-libs/libX11
-
- x11-themes/gnome-icon-theme
- x11-themes/gnome-icon-theme-symbolic
-
- avahi? ( >=net-dns/avahi-0.6.22 )
- introspection? ( >=dev-libs/gobject-introspection-0.9.5 )
- !jit? ( net-libs/webkit-gtk[-jit] )
- nss? ( dev-libs/nss )"
-# paxctl needed for bug #407085
-DEPEND="${RDEPEND}
- app-text/gnome-doc-utils
- >=dev-util/intltool-0.40
- sys-devel/gettext
- virtual/pkgconfig
- jit? ( sys-apps/paxctl )
- doc? ( >=dev-util/gtk-doc-1 )"
-
-pkg_setup() {
- DOCS="AUTHORS ChangeLog* HACKING MAINTAINERS NEWS README TODO"
- G2CONF="${G2CONF}
- --enable-shared
- --disable-schemas-compile
- --disable-scrollkeeper
- --disable-static
- --with-distributor-name=Gentoo
- $(use_enable avahi zeroconf)
- $(use_enable introspection)
- $(use_enable nss)
- $(use_enable test tests)"
-}
-
-src_prepare() {
- # Build-time segfaults under PaX with USE=introspection when building
- # against webkit-gtk[introspection,jit]
- if use introspection && use jit; then
- epatch "${FILESDIR}/${PN}-3.3.90-paxctl-introspection.patch"
- cp "${FILESDIR}/paxctl.sh" "${S}/" || die
- eautoreconf
- fi
- gnome2_src_prepare
-}
-
-src_compile() {
- # needed to avoid "Command line `dbus-launch ...' exited with non-zero exit status 1"
- unset DISPLAY
- gnome2_src_compile
-}
-
-src_test() {
- # FIXME: this should be handled at eclass level
- "${EROOT}${GLIB_COMPILE_SCHEMAS}" --allow-any-name "${S}/data" || die
-
- use jit && pax-mark m $(list-paxables tests/test*) #415801
- GSETTINGS_SCHEMA_DIR="${S}/data" Xemake check
-}
-
-src_install() {
- gnome2_src_install
- use jit && pax-mark m "${ED}usr/bin/epiphany"
-}
diff --git a/www-client/epiphany/epiphany-3.6.1.ebuild b/www-client/epiphany/epiphany-3.6.1.ebuild
index 9f551fca96ce..87c1705788df 100644
--- a/www-client/epiphany/epiphany-3.6.1.ebuild
+++ b/www-client/epiphany/epiphany-3.6.1.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/www-client/epiphany/epiphany-3.6.1.ebuild,v 1.3 2013/01/06 11:14:04 ago Exp $
+# $Header: /var/cvsroot/gentoo-x86/www-client/epiphany/epiphany-3.6.1.ebuild,v 1.4 2013/01/20 22:55:48 eva Exp $
EAPI="5"
GCONF_DEBUG="yes"
@@ -24,7 +24,7 @@ RDEPEND="
>=dev-libs/libxslt-1.1.7
>=gnome-base/gnome-keyring-2.26.0
>=gnome-base/gsettings-desktop-schemas-0.0.1
- >=net-dns/avahi-0.6.22
+ >=net-dns/avahi-0.6.22[dbus]
>=net-libs/webkit-gtk-1.9.6:3[jit?,introspection?]
>=net-libs/libsoup-gnome-2.39.6:2.4
>=x11-libs/gtk+-3.5.2:3[introspection?]
@@ -52,6 +52,11 @@ DEPEND="${RDEPEND}
"
src_prepare() {
+ # Fix testsuite
+ epatch "${FILESDIR}/${PN}-3.6.1-test-gwarning.patch"
+ sed -e '/\/do_migration_invalid/,+1 d' \
+ -i tests/ephy-migration-test.c || die
+
# Build-time segfaults under PaX with USE=introspection when building
# against webkit-gtk[introspection,jit]
if use introspection && use jit; then
@@ -63,15 +68,13 @@ src_prepare() {
}
src_configure() {
- DOCS="AUTHORS ChangeLog* HACKING MAINTAINERS NEWS README TODO"
- G2CONF="${G2CONF}
- --enable-shared
- --disable-static
- --with-distributor-name=Gentoo
- $(use_enable introspection)
- $(use_enable nss)
- $(use_enable test tests)"
- gnome2_src_configure
+ gnome2_src_configure \
+ --enable-shared \
+ --disable-static \
+ --with-distributor-name=Gentoo \
+ $(use_enable introspection) \
+ $(use_enable nss) \
+ $(use_enable test tests)
}
src_compile() {
@@ -89,6 +92,7 @@ src_test() {
}
src_install() {
+ DOCS="AUTHORS ChangeLog* HACKING MAINTAINERS NEWS README TODO"
gnome2_src_install
use jit && pax-mark m "${ED}usr/bin/epiphany"
}
diff --git a/www-client/epiphany/files/epiphany-3.6.1-test-gwarning.patch b/www-client/epiphany/files/epiphany-3.6.1-test-gwarning.patch
new file mode 100644
index 000000000000..70fbe9b0ba1c
--- /dev/null
+++ b/www-client/epiphany/files/epiphany-3.6.1-test-gwarning.patch
@@ -0,0 +1,15 @@
+g_warning makes gtester abort tests. We do not care about this
+particular one because it actually is in ${T} which is a safe directory
+with regard to live system.
+
+--- a/tests/ephy-file-helpers-test.c 2012-09-10 17:39:58.000000000 +0200
++++ b/tests/ephy-file-helpers-test.c 2013-01-20 22:22:27.409706652 +0100
+@@ -96,8 +96,6 @@
+ * prefixed with /tmp. */
+ if (g_str_has_prefix (tmp_dir, "/tmp"))
+ g_assert (ephy_file_delete_dir_recursively (file, NULL));
+- else
+- g_warning ("INIT: dangerous path returned as tmp_dir: %s", tmp_dir);
+
+ g_object_unref (file);
+ }