Gentoo Archives: gentoo-commits

From: Gilles Dartiguelongue <eva@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/gnome:master commit in: www-client/epiphany-extensions/files/, www-client/epiphany-extensions/
Date: Sat, 24 Nov 2012 14:34:03
Message-Id: 1353767622.5c1d2f31cbea1cd992893c01b8c031a38fff9090.eva@gentoo
1 commit: 5c1d2f31cbea1cd992893c01b8c031a38fff9090
2 Author: Gilles Dartiguelongue <eva <AT> gentoo <DOT> org>
3 AuthorDate: Sat Nov 24 14:33:29 2012 +0000
4 Commit: Gilles Dartiguelongue <eva <AT> gentoo <DOT> org>
5 CommitDate: Sat Nov 24 14:33:42 2012 +0000
6 URL: http://git.overlays.gentoo.org/gitweb/?p=proj/gnome.git;a=commit;h=5c1d2f31
7
8 www-client/epiphany-extensions: 3.4.0 → 3.6.1
9
10 ---
11 .../epiphany-extensions-3.6.0.ebuild | 64 ++++++++++++++++++++
12 .../epiphany-extensions-3.2.0-dbus-libs.patch | 29 +++++++++
13 www-client/epiphany-extensions/metadata.xml | 5 ++
14 3 files changed, 98 insertions(+), 0 deletions(-)
15
16 diff --git a/www-client/epiphany-extensions/epiphany-extensions-3.6.0.ebuild b/www-client/epiphany-extensions/epiphany-extensions-3.6.0.ebuild
17 new file mode 100644
18 index 0000000..77eb04f
19 --- /dev/null
20 +++ b/www-client/epiphany-extensions/epiphany-extensions-3.6.0.ebuild
21 @@ -0,0 +1,64 @@
22 +# Copyright 1999-2012 Gentoo Foundation
23 +# Distributed under the terms of the GNU General Public License v2
24 +# $Header: $
25 +
26 +EAPI="4"
27 +GCONF_DEBUG="yes"
28 +GNOME2_LA_PUNT="yes"
29 +
30 +inherit autotools eutils gnome2
31 +
32 +DESCRIPTION="Extensions for the Epiphany web browser"
33 +HOMEPAGE="http://www.gnome.org/projects/epiphany/extensions.html"
34 +
35 +LICENSE="GPL-2"
36 +SLOT="0"
37 +KEYWORDS="~alpha ~amd64 ~ia64 ~ppc ~ppc64 ~sparc ~x86"
38 +IUSE="dbus examples pcre"
39 +
40 +RDEPEND=">=www-client/epiphany-3.6
41 + app-text/opensp
42 + >=dev-libs/glib-2.26.0:2
43 + >=dev-libs/libxml2-2.6:2
44 + >=x11-libs/gtk+-2.90.4:3
45 + net-libs/webkit-gtk:3
46 +
47 + dbus? (
48 + >=dev-libs/dbus-glib-0.34
49 + sys-apps/dbus )
50 + pcre? ( >=dev-libs/libpcre-3.9-r2 )
51 +"
52 +DEPEND="${RDEPEND}
53 + >=app-text/gnome-doc-utils-0.3.2
54 + >=dev-util/intltool-0.40
55 + virtual/pkgconfig
56 + gnome-base/gnome-common
57 +"
58 +# eautoreconf dependencies:
59 +# gnome-base/gnome-common
60 +
61 +src_prepare() {
62 + # https://bugzilla.gnome.org/show_bug.cgi?id=664369; needs eautoreconf
63 + epatch "${FILESDIR}/${PN}-3.2.0-dbus-libs.patch"
64 + eautoreconf
65 + gnome2_src_prepare
66 +}
67 +
68 +src_configure() {
69 + local extensions=""
70 + # XXX: Only enable default/useful extensions?
71 + extensions="actions adblock auto-reload certificates \
72 + error-viewer extensions-manager-ui gestures html5tube \
73 + java-console livehttpheaders page-info \
74 + push-scroller select-stylesheet \
75 + smart-bookmarks soup-fly tab-states"
76 + use dbus && extensions="${extensions} rss"
77 + use pcre && extensions="${extensions} greasemonkey"
78 + use examples && extensions="${extensions} sample"
79 +
80 + G2CONF="${G2CONF}
81 + --disable-schemas-compile
82 + --with-extensions=$(echo "${extensions}" | sed -e 's/[[:space:]]\+/,/g')"
83 + DOCS="AUTHORS ChangeLog HACKING NEWS README"
84 + gnome2_src_configure
85 +}
86
87 diff --git a/www-client/epiphany-extensions/files/epiphany-extensions-3.2.0-dbus-libs.patch b/www-client/epiphany-extensions/files/epiphany-extensions-3.2.0-dbus-libs.patch
88 new file mode 100644
89 index 0000000..1737c49
90 --- /dev/null
91 +++ b/www-client/epiphany-extensions/files/epiphany-extensions-3.2.0-dbus-libs.patch
92 @@ -0,0 +1,29 @@
93 +From 2066084961b77810477b658cabbb7f6e90a17b94 Mon Sep 17 00:00:00 2001
94 +From: Alexandre Rostovtsev <tetromino@g.o>
95 +Date: Sat, 19 Nov 2011 01:01:12 -0500
96 +Subject: [PATCH] rss: add DBUS_LIBS to librssextension_la_LIBADD
97 +
98 +Otherwise, epiphany-3.2 crashes.
99 +
100 +https://bugzilla.gnome.org/show_bug.cgi?id=664369
101 +---
102 + extensions/rss/Makefile.am | 3 +++
103 + 1 files changed, 3 insertions(+), 0 deletions(-)
104 +
105 +diff --git a/extensions/rss/Makefile.am b/extensions/rss/Makefile.am
106 +index ed6962f..da669c8 100644
107 +--- a/extensions/rss/Makefile.am
108 ++++ b/extensions/rss/Makefile.am
109 +@@ -25,6 +25,9 @@ librssextension_la_LDFLAGS = \
110 + -export-symbols $(top_srcdir)/ephy-extension.symbols \
111 + $(AM_LDFLAGS)
112 +
113 ++librssextension_la_LIBADD = \
114 ++ $(DBUS_LIBS)
115 ++
116 + uidir = $(pkgdatadir)/ui
117 + ui_DATA = rss-ui.ui
118 +
119 +--
120 +1.7.8.rc3
121 +
122
123 diff --git a/www-client/epiphany-extensions/metadata.xml b/www-client/epiphany-extensions/metadata.xml
124 new file mode 100644
125 index 0000000..6e0e2ec
126 --- /dev/null
127 +++ b/www-client/epiphany-extensions/metadata.xml
128 @@ -0,0 +1,5 @@
129 +<?xml version="1.0" encoding="UTF-8"?>
130 +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
131 +<pkgmetadata>
132 + <herd>gnome</herd>
133 +</pkgmetadata>