summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamuli Suominen <ssuominen@gentoo.org>2011-02-05 16:13:06 +0000
committerSamuli Suominen <ssuominen@gentoo.org>2011-02-05 16:13:06 +0000
commit2f65b3e7f2833f4e605817314694200d250f2f9e (patch)
treebc418aa997291ff2cc96fca6ef0883d9e3e71fb4 /www-client/epiphany
parentDelete older ebuild. (diff)
downloadgentoo-2-2f65b3e7f2833f4e605817314694200d250f2f9e.tar.gz
gentoo-2-2f65b3e7f2833f4e605817314694200d250f2f9e.tar.bz2
gentoo-2-2f65b3e7f2833f4e605817314694200d250f2f9e.zip
Fix building with x11-libs/libnotify >= 0.7.
(Portage version: 2.2.0_alpha19/cvs/Linux x86_64)
Diffstat (limited to 'www-client/epiphany')
-rw-r--r--www-client/epiphany/ChangeLog6
-rw-r--r--www-client/epiphany/epiphany-2.26.3-r4.ebuild5
-rw-r--r--www-client/epiphany/epiphany-2.30.2-r1.ebuild5
-rw-r--r--www-client/epiphany/epiphany-2.30.6.ebuild7
-rw-r--r--www-client/epiphany/files/epiphany-2.30.6-libnotify-0.7.patch38
5 files changed, 55 insertions, 6 deletions
diff --git a/www-client/epiphany/ChangeLog b/www-client/epiphany/ChangeLog
index c28e695a0b33..abd56b700718 100644
--- a/www-client/epiphany/ChangeLog
+++ b/www-client/epiphany/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for www-client/epiphany
# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/www-client/epiphany/ChangeLog,v 1.261 2011/01/30 19:12:36 armin76 Exp $
+# $Header: /var/cvsroot/gentoo-x86/www-client/epiphany/ChangeLog,v 1.262 2011/02/05 16:13:05 ssuominen Exp $
+
+ 05 Feb 2011; Samuli Suominen <ssuominen@gentoo.org> epiphany-2.30.6.ebuild,
+ +files/epiphany-2.30.6-libnotify-0.7.patch:
+ Fix building with x11-libs/libnotify >= 0.7.
30 Jan 2011; Raúl Porcel <armin76@gentoo.org> epiphany-2.30.6.ebuild:
alpha/ia64/sparc stable wrt #348987
diff --git a/www-client/epiphany/epiphany-2.26.3-r4.ebuild b/www-client/epiphany/epiphany-2.26.3-r4.ebuild
index 4b7a166bd7cb..40bcb0792165 100644
--- a/www-client/epiphany/epiphany-2.26.3-r4.ebuild
+++ b/www-client/epiphany/epiphany-2.26.3-r4.ebuild
@@ -1,6 +1,6 @@
-# Copyright 1999-2010 Gentoo Foundation
+# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/www-client/epiphany/epiphany-2.26.3-r4.ebuild,v 1.8 2010/07/20 15:46:21 jer Exp $
+# $Header: /var/cvsroot/gentoo-x86/www-client/epiphany/epiphany-2.26.3-r4.ebuild,v 1.9 2011/02/05 16:13:05 ssuominen Exp $
EAPI="2"
@@ -24,6 +24,7 @@ RDEPEND=">=dev-libs/glib-2.18.0
>=gnome-base/gnome-desktop-2.9.91
>=x11-libs/startup-notification-0.5
>=x11-libs/libnotify-0.4
+ <x11-libs/libnotify-0.7
>=media-libs/libcanberra-0.3[gtk]
>=dev-libs/dbus-glib-0.71
>=gnome-base/gconf-2
diff --git a/www-client/epiphany/epiphany-2.30.2-r1.ebuild b/www-client/epiphany/epiphany-2.30.2-r1.ebuild
index 43463aa7853a..acf30a04ed65 100644
--- a/www-client/epiphany/epiphany-2.30.2-r1.ebuild
+++ b/www-client/epiphany/epiphany-2.30.2-r1.ebuild
@@ -1,6 +1,6 @@
-# Copyright 1999-2010 Gentoo Foundation
+# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/www-client/epiphany/epiphany-2.30.2-r1.ebuild,v 1.8 2010/10/17 15:38:14 armin76 Exp $
+# $Header: /var/cvsroot/gentoo-x86/www-client/epiphany/epiphany-2.30.2-r1.ebuild,v 1.9 2011/02/05 16:13:05 ssuominen Exp $
EAPI="2"
@@ -23,6 +23,7 @@ RDEPEND=">=dev-libs/glib-2.19.7
>=dev-libs/libxslt-1.1.7
>=x11-libs/startup-notification-0.5
>=x11-libs/libnotify-0.4
+ <x11-libs/libnotify-0.7
>=dev-libs/dbus-glib-0.71
>=gnome-base/gconf-2
>=app-text/iso-codes-0.35
diff --git a/www-client/epiphany/epiphany-2.30.6.ebuild b/www-client/epiphany/epiphany-2.30.6.ebuild
index 96644c7db778..209d72082176 100644
--- a/www-client/epiphany/epiphany-2.30.6.ebuild
+++ b/www-client/epiphany/epiphany-2.30.6.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/www-client/epiphany/epiphany-2.30.6.ebuild,v 1.6 2011/01/30 19:12:36 armin76 Exp $
+# $Header: /var/cvsroot/gentoo-x86/www-client/epiphany/epiphany-2.30.6.ebuild,v 1.7 2011/02/05 16:13:05 ssuominen Exp $
EAPI="2"
@@ -62,6 +62,11 @@ pkg_setup() {
$(use_enable test tests)"
}
+src_prepare() {
+ epatch "${FILESDIR}"/${P}-libnotify-0.7.patch
+ gnome2_src_prepare
+}
+
src_compile() {
# Fix sandbox error with USE="introspection" and "doc"
# https://bugs.webkit.org/show_bug.cgi?id=35471
diff --git a/www-client/epiphany/files/epiphany-2.30.6-libnotify-0.7.patch b/www-client/epiphany/files/epiphany-2.30.6-libnotify-0.7.patch
new file mode 100644
index 000000000000..a0c5f8ee1e7c
--- /dev/null
+++ b/www-client/epiphany/files/epiphany-2.30.6-libnotify-0.7.patch
@@ -0,0 +1,38 @@
+--- embed/downloader-view.c
++++ embed/downloader-view.c
+@@ -36,6 +36,9 @@
+
+ #ifdef HAVE_LIBNOTIFY
+ #include <libnotify/notify.h>
++#ifndef NOTIFY_CHECK_VERSION
++#define NOTIFY_CHECK_VERSION(x,y,z) 0
++#endif
+ #endif
+
+ enum
+@@ -337,7 +340,12 @@
+ g_object_ref (dv);
+
+ notification = notify_notification_new (title, msg,
+- GTK_STOCK_INFO, NULL);
++ GTK_STOCK_INFO
++#if NOTIFY_CHECK_VERSION (0, 7, 0)
++ );
++#else
++ , NULL);
++#endif
+
+ g_signal_connect_after (notification, "closed",
+ G_CALLBACK (notification_closed_cb), dv);
+@@ -346,7 +354,11 @@
+ notify_notification_set_timeout (notification, NOTIFY_EXPIRES_DEFAULT);
+ notify_notification_set_urgency (notification, NOTIFY_URGENCY_LOW);
+
++#if NOTIFY_CHECK_VERSION (0, 7, 0)
++ /* notify_notification_attach_to_status_icon was removed */
++#else
+ notify_notification_attach_to_status_icon (notification, status_icon);
++#endif
+
+ /* There are some visual glitches when the notification is shown and
+ * the GtkStatusIcon is still not visible. To avoid that, we delay the