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: Sun, 01 Dec 2013 23:19:02
Message-Id: 1385939055.02e27f600fcf704844b8321141b2adca8357a312.eva@gentoo
1 commit: 02e27f600fcf704844b8321141b2adca8357a312
2 Author: Gilles Dartiguelongue <eva <AT> gentoo <DOT> org>
3 AuthorDate: Sun Oct 13 22:02:19 2013 +0000
4 Commit: Gilles Dartiguelongue <eva <AT> gentoo <DOT> org>
5 CommitDate: Sun Dec 1 23:04:15 2013 +0000
6 URL: http://git.overlays.gentoo.org/gitweb/?p=proj/gnome.git;a=commit;h=02e27f60
7
8 www-client/epiphany: 3.8.2 → 3.10.2
9
10 ---
11 ...iphany-3.7.91.ebuild => epiphany-3.10.2.ebuild} | 36 ++++++++++----------
12 www-client/epiphany/epiphany-9999.ebuild | 38 +++++++++++++---------
13 www-client/epiphany/metadata.xml | 1 -
14 3 files changed, 40 insertions(+), 35 deletions(-)
15
16 diff --git a/www-client/epiphany/epiphany-3.7.91.ebuild b/www-client/epiphany/epiphany-3.10.2.ebuild
17 similarity index 73%
18 rename from www-client/epiphany/epiphany-3.7.91.ebuild
19 rename to www-client/epiphany/epiphany-3.10.2.ebuild
20 index 0d22fc4..4517641 100644
21 --- a/www-client/epiphany/epiphany-3.7.91.ebuild
22 +++ b/www-client/epiphany/epiphany-3.10.2.ebuild
23 @@ -4,11 +4,9 @@
24
25 EAPI="5"
26 GCONF_DEBUG="yes"
27 +GNOME2_LA_PUNT="yes"
28
29 -inherit autotools eutils gnome2 pax-utils versionator virtualx
30 -if [[ ${PV} = 9999 ]]; then
31 - inherit gnome2-live
32 -fi
33 +inherit eutils gnome2 pax-utils versionator virtualx
34
35 DESCRIPTION="GNOME webbrowser based on Webkit"
36 HOMEPAGE="http://projects.gnome.org/epiphany/"
37 @@ -16,30 +14,26 @@ HOMEPAGE="http://projects.gnome.org/epiphany/"
38 # TODO: coverage
39 LICENSE="GPL-2"
40 SLOT="0"
41 -IUSE="+nss test"
42 -if [[ ${PV} = 9999 ]]; then
43 - KEYWORDS=""
44 -else
45 - KEYWORDS="~alpha ~amd64 ~ia64 ~ppc ~ppc64 ~sparc ~x86"
46 -fi
47 +IUSE="+jit +nss test"
48 +KEYWORDS="~alpha ~amd64 ~arm ~ia64 ~ppc ~ppc64 ~sparc ~x86"
49
50 RDEPEND="
51 - >=app-crypt/libsecret-0.14
52 >=app-crypt/gcr-3.5.5
53 + >=app-crypt/libsecret-0.14
54 >=app-text/iso-codes-0.35
55 >=dev-libs/glib-2.35.6:2
56 >=dev-libs/libxml2-2.6.12:2
57 >=dev-libs/libxslt-1.1.7
58 >=gnome-base/gsettings-desktop-schemas-0.0.1
59 - >=net-dns/avahi-0.6.22
60 - >=net-libs/webkit-gtk-1.11.5:3
61 - >=net-libs/libsoup-2.41.3:2.4
62 - >=x11-libs/gtk+-3.7.10:3
63 + >=net-dns/avahi-0.6.22[dbus]
64 + >=net-libs/webkit-gtk-2.2.2:3[jit?]
65 + >=net-libs/libsoup-2.42.1:2.4
66 + >=x11-libs/gtk+-3.9.12:3
67 >=x11-libs/libnotify-0.5.1:=
68 gnome-base/gnome-desktop:3=
69
70 dev-db/sqlite:3
71 - x11-libs/libwnck
72 + x11-libs/libwnck:3
73 x11-libs/libX11
74
75 x11-themes/gnome-icon-theme
76 @@ -56,13 +50,17 @@ DEPEND="${RDEPEND}
77 virtual/pkgconfig
78 "
79
80 +# Tests refuse to run with the gsettings trick for some reason
81 +RESTRICT="test"
82 +
83 src_configure() {
84 gnome2_src_configure \
85 --enable-shared \
86 --disable-static \
87 --with-distributor-name=Gentoo \
88 - $(use_enable nss)
89 - $(use_enable test tests)
90 + $(use_enable nss) \
91 + $(use_enable test tests) \
92 + ITSTOOL=$(type -P true)
93 }
94
95 src_compile() {
96 @@ -75,10 +73,12 @@ src_test() {
97 # FIXME: this should be handled at eclass level
98 "${EROOT}${GLIB_COMPILE_SCHEMAS}" --allow-any-name "${S}/data" || die
99
100 + unset DISPLAY
101 GSETTINGS_SCHEMA_DIR="${S}/data" Xemake check
102 }
103
104 src_install() {
105 DOCS="AUTHORS ChangeLog* HACKING MAINTAINERS NEWS README TODO"
106 gnome2_src_install
107 + use jit && pax-mark m "${ED}usr/bin/epiphany"
108 }
109
110 diff --git a/www-client/epiphany/epiphany-9999.ebuild b/www-client/epiphany/epiphany-9999.ebuild
111 index 7e6cdeb..1d95286 100644
112 --- a/www-client/epiphany/epiphany-9999.ebuild
113 +++ b/www-client/epiphany/epiphany-9999.ebuild
114 @@ -4,8 +4,9 @@
115
116 EAPI="5"
117 GCONF_DEBUG="yes"
118 +GNOME2_LA_PUNT="yes"
119
120 -inherit autotools eutils gnome2 pax-utils versionator virtualx
121 +inherit eutils gnome2 pax-utils versionator virtualx
122 if [[ ${PV} = 9999 ]]; then
123 inherit gnome2-live
124 fi
125 @@ -16,30 +17,30 @@ HOMEPAGE="http://projects.gnome.org/epiphany/"
126 # TODO: coverage
127 LICENSE="GPL-2"
128 SLOT="0"
129 -IUSE="+nss test"
130 +IUSE="+jit +nss test"
131 if [[ ${PV} = 9999 ]]; then
132 KEYWORDS=""
133 else
134 - KEYWORDS="~alpha ~amd64 ~ia64 ~ppc ~ppc64 ~sparc ~x86"
135 + KEYWORDS="~alpha ~amd64 ~arm ~ia64 ~ppc ~ppc64 ~sparc ~x86"
136 fi
137
138 RDEPEND="
139 >=app-crypt/gcr-3.5.5
140 + >=app-crypt/libsecret-0.14
141 >=app-text/iso-codes-0.35
142 >=dev-libs/glib-2.35.6:2
143 >=dev-libs/libxml2-2.6.12:2
144 >=dev-libs/libxslt-1.1.7
145 - >=gnome-base/gnome-keyring-2.26.0
146 >=gnome-base/gsettings-desktop-schemas-0.0.1
147 - >=net-dns/avahi-0.6.22
148 - >=net-libs/webkit-gtk-1.11.5:3
149 - >=net-libs/libsoup-2.41.3:2.4
150 - >=x11-libs/gtk+-3.5.4:3
151 + >=net-dns/avahi-0.6.22[dbus]
152 + >=net-libs/webkit-gtk-2.2.2:3[jit?]
153 + >=net-libs/libsoup-2.42.1:2.4
154 + >=x11-libs/gtk+-3.9.12:3
155 >=x11-libs/libnotify-0.5.1:=
156 gnome-base/gnome-desktop:3=
157
158 dev-db/sqlite:3
159 - x11-libs/libwnck
160 + x11-libs/libwnck:3
161 x11-libs/libX11
162
163 x11-themes/gnome-icon-theme
164 @@ -55,15 +56,20 @@ DEPEND="${RDEPEND}
165 sys-devel/gettext
166 virtual/pkgconfig
167 "
168 +if [[ ${PV} == 9999 ]]; then
169 + DEPEND="${DEPEND} app-text/yelp-tools"
170 +fi
171
172 src_configure() {
173 - G2CONF="${G2CONF}
174 - --enable-shared
175 - --disable-static
176 - --with-distributor-name=Gentoo
177 - $(use_enable nss)
178 - $(use_enable test tests)"
179 - gnome2_src_configure
180 + local myconf=""
181 + [[ ${PV} != 9999 ]] && myconf="ITSTOOL=$(type -P true)"
182 + gnome2_src_configure \
183 + --enable-shared \
184 + --disable-static \
185 + --with-distributor-name=Gentoo \
186 + $(use_enable nss) \
187 + $(use_enable test tests) \
188 + ${myconf}
189 }
190
191 src_compile() {
192
193 diff --git a/www-client/epiphany/metadata.xml b/www-client/epiphany/metadata.xml
194 index 9421843..3833156 100644
195 --- a/www-client/epiphany/metadata.xml
196 +++ b/www-client/epiphany/metadata.xml
197 @@ -3,7 +3,6 @@
198 <pkgmetadata>
199 <herd>gnome</herd>
200 <use>
201 - <flag name="introspection">Use <pkg>dev-libs/gobject-introspection</pkg> for introspection</flag>
202 <flag name="nss">Import passwords from older gecko based <pkg>www-client/epiphany</pkg> keyring.</flag>
203 </use>
204 </pkgmetadata>