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/
Date: Tue, 25 Dec 2012 23:56:05
Message-Id: 1356479745.85489b9017301b3da044dd50116324d31847f760.eva@gentoo
1 commit: 85489b9017301b3da044dd50116324d31847f760
2 Author: Gilles Dartiguelongue <eva <AT> gentoo <DOT> org>
3 AuthorDate: Tue Dec 25 22:15:29 2012 +0000
4 Commit: Gilles Dartiguelongue <eva <AT> gentoo <DOT> org>
5 CommitDate: Tue Dec 25 23:55:45 2012 +0000
6 URL: http://git.overlays.gentoo.org/gitweb/?p=proj/gnome.git;a=commit;h=85489b90
7
8 www-client/epiphany: moved to gx86
9
10 * Sync live ebuild with gx86 changes.
11 * Add metadata.xml.
12
13 ---
14 www-client/epiphany/epiphany-3.6.1.ebuild | 93 -----------------------------
15 www-client/epiphany/epiphany-9999.ebuild | 52 ++++++++++------
16 www-client/epiphany/metadata.xml | 9 +++
17 3 files changed, 42 insertions(+), 112 deletions(-)
18
19 diff --git a/www-client/epiphany/epiphany-3.6.1.ebuild b/www-client/epiphany/epiphany-3.6.1.ebuild
20 deleted file mode 100644
21 index f6c8d34..0000000
22 --- a/www-client/epiphany/epiphany-3.6.1.ebuild
23 +++ /dev/null
24 @@ -1,93 +0,0 @@
25 -# Copyright 1999-2011 Gentoo Foundation
26 -# Distributed under the terms of the GNU General Public License v2
27 -# $Header: /var/cvsroot/gentoo-x86/www-client/epiphany/epiphany-3.2.1.ebuild,v 1.1 2011/11/06 04:57:01 tetromino Exp $
28 -
29 -EAPI="4"
30 -GCONF_DEBUG="yes"
31 -
32 -inherit autotools eutils gnome2 pax-utils versionator virtualx
33 -if [[ ${PV} = 9999 ]]; then
34 - inherit gnome2-live
35 -fi
36 -
37 -DESCRIPTION="GNOME webbrowser based on Webkit"
38 -HOMEPAGE="http://projects.gnome.org/epiphany/"
39 -
40 -# TODO: coverage
41 -LICENSE="GPL-2"
42 -SLOT="0"
43 -IUSE="doc +introspection +jit +nss test"
44 -if [[ ${PV} = 9999 ]]; then
45 - KEYWORDS=""
46 -else
47 - KEYWORDS="~alpha ~amd64 ~ia64 ~ppc ~ppc64 ~sparc ~x86"
48 -fi
49 -
50 -RDEPEND="
51 - >=app-crypt/gcr-3.5.5
52 - >=app-text/iso-codes-0.35
53 - >=dev-libs/glib-2.31.2:2
54 - >=dev-libs/libxml2-2.6.12:2
55 - >=dev-libs/libxslt-1.1.7
56 - >=gnome-base/gnome-keyring-2.26.0
57 - >=gnome-base/gsettings-desktop-schemas-0.0.1
58 - >=net-dns/avahi-0.6.22
59 - >=net-libs/webkit-gtk-1.9.6:3[introspection?]
60 - >=net-libs/libsoup-gnome-2.39.6:2.4
61 - >=x11-libs/gtk+-3.5.2:3[introspection?]
62 - >=x11-libs/libnotify-0.5.1
63 - gnome-base/gnome-desktop:3
64 -
65 - dev-db/sqlite:3
66 - x11-libs/libX11
67 -
68 - x11-themes/gnome-icon-theme
69 - x11-themes/gnome-icon-theme-symbolic
70 -
71 - introspection? ( >=dev-libs/gobject-introspection-0.9.5 )
72 - !jit? ( net-libs/webkit-gtk[-jit] )
73 - nss? ( dev-libs/nss )"
74 -# paxctl needed for bug #407085
75 -# eautoreconf requires gnome-common-3.5.5
76 -DEPEND="${RDEPEND}
77 - introspection? ( jit? ( >=gnome-base/gnome-common-3.5.5 ) )
78 - >=dev-util/intltool-0.50
79 - sys-apps/paxctl
80 - sys-devel/gettext
81 - virtual/pkgconfig
82 - doc? ( >=dev-util/gtk-doc-1 )"
83 -
84 -pkg_setup() {
85 - DOCS="AUTHORS ChangeLog* HACKING MAINTAINERS NEWS README TODO"
86 - G2CONF="${G2CONF}
87 - --enable-shared
88 - --disable-schemas-compile
89 - --disable-static
90 - --with-distributor-name=Gentoo
91 - $(use_enable introspection)
92 - $(use_enable nss)
93 - $(use_enable test tests)"
94 -}
95 -
96 -src_prepare() {
97 - # Build-time segfaults under PaX with USE=introspection when building
98 - # against webkit-gtk[introspection,jit]
99 - if use introspection && use jit; then
100 - epatch "${FILESDIR}/${PN}-3.3.90-paxctl-introspection.patch"
101 - cp "${FILESDIR}/paxctl.sh" "${S}/" || die
102 - [[ ${PV} != 9999 ]] && eautoreconf
103 - fi
104 - gnome2_src_prepare
105 -}
106 -
107 -src_test() {
108 - # FIXME: this should be handled at eclass level
109 - "${EROOT}${GLIB_COMPILE_SCHEMAS}" --allow-any-name "${S}/data" || die
110 -
111 - GSETTINGS_SCHEMA_DIR="${S}/data" Xemake check
112 -}
113 -
114 -src_install() {
115 - gnome2_src_install
116 - use jit && pax-mark m "${ED}usr/bin/epiphany"
117 -}
118
119 diff --git a/www-client/epiphany/epiphany-9999.ebuild b/www-client/epiphany/epiphany-9999.ebuild
120 index f6c8d34..fe0c26a 100644
121 --- a/www-client/epiphany/epiphany-9999.ebuild
122 +++ b/www-client/epiphany/epiphany-9999.ebuild
123 @@ -1,8 +1,8 @@
124 -# Copyright 1999-2011 Gentoo Foundation
125 +# Copyright 1999-2012 Gentoo Foundation
126 # Distributed under the terms of the GNU General Public License v2
127 -# $Header: /var/cvsroot/gentoo-x86/www-client/epiphany/epiphany-3.2.1.ebuild,v 1.1 2011/11/06 04:57:01 tetromino Exp $
128 +# $Header: $
129
130 -EAPI="4"
131 +EAPI="5"
132 GCONF_DEBUG="yes"
133
134 inherit autotools eutils gnome2 pax-utils versionator virtualx
135 @@ -16,8 +16,9 @@ HOMEPAGE="http://projects.gnome.org/epiphany/"
136 # TODO: coverage
137 LICENSE="GPL-2"
138 SLOT="0"
139 -IUSE="doc +introspection +jit +nss test"
140 +IUSE="+introspection +jit +nss test"
141 if [[ ${PV} = 9999 ]]; then
142 + IUSE="${IUSE} doc"
143 KEYWORDS=""
144 else
145 KEYWORDS="~alpha ~amd64 ~ia64 ~ppc ~ppc64 ~sparc ~x86"
146 @@ -35,8 +36,8 @@ RDEPEND="
147 >=net-libs/webkit-gtk-1.9.6:3[introspection?]
148 >=net-libs/libsoup-gnome-2.39.6:2.4
149 >=x11-libs/gtk+-3.5.2:3[introspection?]
150 - >=x11-libs/libnotify-0.5.1
151 - gnome-base/gnome-desktop:3
152 + >=x11-libs/libnotify-0.5.1:=
153 + gnome-base/gnome-desktop:3=
154
155 dev-db/sqlite:3
156 x11-libs/libX11
157 @@ -46,44 +47,57 @@ RDEPEND="
158
159 introspection? ( >=dev-libs/gobject-introspection-0.9.5 )
160 !jit? ( net-libs/webkit-gtk[-jit] )
161 - nss? ( dev-libs/nss )"
162 + nss? ( dev-libs/nss )
163 +"
164 # paxctl needed for bug #407085
165 # eautoreconf requires gnome-common-3.5.5
166 DEPEND="${RDEPEND}
167 introspection? ( jit? ( >=gnome-base/gnome-common-3.5.5 ) )
168 + >=dev-util/gtk-doc-am-1
169 >=dev-util/intltool-0.50
170 sys-apps/paxctl
171 sys-devel/gettext
172 virtual/pkgconfig
173 - doc? ( >=dev-util/gtk-doc-1 )"
174 +"
175 +if [[ ${PV} = 9999 ]]; then
176 + DEPEND="${DEPEND}
177 + doc? ( >=dev-util/gtk-doc-1 )"
178 +fi
179 +
180 +src_prepare() {
181 + # Build-time segfaults under PaX with USE=introspection when building
182 + # against webkit-gtk[introspection,jit]
183 + if use introspection && use jit; then
184 + epatch "${FILESDIR}/${PN}-3.3.90-paxctl-introspection.patch"
185 + cp "${FILESDIR}/paxctl.sh" "${S}/" || die
186 + [[ ${PV} != 9999 ]] && eautoreconf
187 + fi
188 + gnome2_src_prepare
189 +}
190
191 -pkg_setup() {
192 +src_configure() {
193 DOCS="AUTHORS ChangeLog* HACKING MAINTAINERS NEWS README TODO"
194 G2CONF="${G2CONF}
195 --enable-shared
196 - --disable-schemas-compile
197 --disable-static
198 --with-distributor-name=Gentoo
199 $(use_enable introspection)
200 $(use_enable nss)
201 $(use_enable test tests)"
202 + gnome2_src_configure
203 }
204
205 -src_prepare() {
206 - # Build-time segfaults under PaX with USE=introspection when building
207 - # against webkit-gtk[introspection,jit]
208 - if use introspection && use jit; then
209 - epatch "${FILESDIR}/${PN}-3.3.90-paxctl-introspection.patch"
210 - cp "${FILESDIR}/paxctl.sh" "${S}/" || die
211 - [[ ${PV} != 9999 ]] && eautoreconf
212 - fi
213 - gnome2_src_prepare
214 +src_compile() {
215 + # needed to avoid "Command line `dbus-launch ...' exited with non-zero exit status 1"
216 + unset DISPLAY
217 + gnome2_src_compile
218 }
219
220 src_test() {
221 # FIXME: this should be handled at eclass level
222 "${EROOT}${GLIB_COMPILE_SCHEMAS}" --allow-any-name "${S}/data" || die
223
224 + use jit && pax-mark m $(list-paxables tests/test*) #415801
225 GSETTINGS_SCHEMA_DIR="${S}/data" Xemake check
226 }
227
228
229 diff --git a/www-client/epiphany/metadata.xml b/www-client/epiphany/metadata.xml
230 new file mode 100644
231 index 0000000..9421843
232 --- /dev/null
233 +++ b/www-client/epiphany/metadata.xml
234 @@ -0,0 +1,9 @@
235 +<?xml version="1.0" encoding="UTF-8"?>
236 +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
237 +<pkgmetadata>
238 + <herd>gnome</herd>
239 + <use>
240 + <flag name="introspection">Use <pkg>dev-libs/gobject-introspection</pkg> for introspection</flag>
241 + <flag name="nss">Import passwords from older gecko based <pkg>www-client/epiphany</pkg> keyring.</flag>
242 + </use>
243 +</pkgmetadata>