1 |
axs 15/02/26 20:41:10 |
2 |
|
3 |
Modified: ChangeLog mozconfig-v5.31.eclass |
4 |
Added: mozconfig-v5.36.eclass |
5 |
Log: |
6 |
updated icu dep in mozconfig-v5.31, added mozconfig-v5.36 |
7 |
|
8 |
Revision Changes Path |
9 |
1.1556 eclass/ChangeLog |
10 |
|
11 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/ChangeLog?rev=1.1556&view=markup |
12 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/ChangeLog?rev=1.1556&content-type=text/plain |
13 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/ChangeLog?r1=1.1555&r2=1.1556 |
14 |
|
15 |
Index: ChangeLog |
16 |
=================================================================== |
17 |
RCS file: /var/cvsroot/gentoo-x86/eclass/ChangeLog,v |
18 |
retrieving revision 1.1555 |
19 |
retrieving revision 1.1556 |
20 |
diff -u -r1.1555 -r1.1556 |
21 |
--- ChangeLog 26 Feb 2015 01:52:15 -0000 1.1555 |
22 |
+++ ChangeLog 26 Feb 2015 20:41:10 -0000 1.1556 |
23 |
@@ -1,6 +1,10 @@ |
24 |
# ChangeLog for eclass directory |
25 |
# Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2 |
26 |
-# $Header: /var/cvsroot/gentoo-x86/eclass/ChangeLog,v 1.1555 2015/02/26 01:52:15 yngwin Exp $ |
27 |
+# $Header: /var/cvsroot/gentoo-x86/eclass/ChangeLog,v 1.1556 2015/02/26 20:41:10 axs Exp $ |
28 |
+ |
29 |
+ 26 Feb 2015; Ian Stakenvicius (_AxS_) <axs@g.o> |
30 |
+ mozconfig-v5.31.eclass, +mozconfig-v5.36.eclass: |
31 |
+ updated icu dep in mozconfig-v5.31, added mozconfig-v5.36 |
32 |
|
33 |
26 Feb 2015; Ben de Groot <yngwin@g.o> qmake-utils.eclass: |
34 |
add qt{4,5}_get_bindir helper functions |
35 |
|
36 |
|
37 |
|
38 |
1.3 eclass/mozconfig-v5.31.eclass |
39 |
|
40 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/mozconfig-v5.31.eclass?rev=1.3&view=markup |
41 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/mozconfig-v5.31.eclass?rev=1.3&content-type=text/plain |
42 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/mozconfig-v5.31.eclass?r1=1.2&r2=1.3 |
43 |
|
44 |
Index: mozconfig-v5.31.eclass |
45 |
=================================================================== |
46 |
RCS file: /var/cvsroot/gentoo-x86/eclass/mozconfig-v5.31.eclass,v |
47 |
retrieving revision 1.2 |
48 |
retrieving revision 1.3 |
49 |
diff -u -r1.2 -r1.3 |
50 |
--- mozconfig-v5.31.eclass 3 Dec 2014 23:10:06 -0000 1.2 |
51 |
+++ mozconfig-v5.31.eclass 26 Feb 2015 20:41:10 -0000 1.3 |
52 |
@@ -1,6 +1,6 @@ |
53 |
-# Copyright 1999-2014 Gentoo Foundation |
54 |
+# Copyright 1999-2015 Gentoo Foundation |
55 |
# Distributed under the terms of the GNU General Public License v2 |
56 |
-# $Header: /var/cvsroot/gentoo-x86/eclass/mozconfig-v5.31.eclass,v 1.2 2014/12/03 23:10:06 axs Exp $ |
57 |
+# $Header: /var/cvsroot/gentoo-x86/eclass/mozconfig-v5.31.eclass,v 1.3 2015/02/26 20:41:10 axs Exp $ |
58 |
# |
59 |
# @ECLASS: mozconfig-v5.31.eclass |
60 |
# @MAINTAINER: |
61 |
@@ -78,7 +78,7 @@ |
62 |
x11-libs/libXrender |
63 |
x11-libs/libXt |
64 |
system-cairo? ( >=x11-libs/cairo-1.12[X] >=x11-libs/pixman-0.19.2 ) |
65 |
- system-icu? ( >=dev-libs/icu-51.1 ) |
66 |
+ system-icu? ( >=dev-libs/icu-51.1:= ) |
67 |
system-jpeg? ( >=media-libs/libjpeg-turbo-1.2.1 ) |
68 |
system-sqlite? ( >=dev-db/sqlite-3.8.4.2:3[secure-delete,debug=] ) |
69 |
system-libvpx? ( =media-libs/libvpx-1.3.0* ) |
70 |
|
71 |
|
72 |
|
73 |
1.1 eclass/mozconfig-v5.36.eclass |
74 |
|
75 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/mozconfig-v5.36.eclass?rev=1.1&view=markup |
76 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/mozconfig-v5.36.eclass?rev=1.1&content-type=text/plain |
77 |
|
78 |
Index: mozconfig-v5.36.eclass |
79 |
=================================================================== |
80 |
# Copyright 1999-2015 Gentoo Foundation |
81 |
# Distributed under the terms of the GNU General Public License v2 |
82 |
# $Header: /var/cvsroot/gentoo-x86/eclass/mozconfig-v5.36.eclass,v 1.1 2015/02/26 20:41:10 axs Exp $ |
83 |
# |
84 |
# @ECLASS: mozconfig-v5.33.eclass |
85 |
# @MAINTAINER: |
86 |
# mozilla team <mozilla@g.o> |
87 |
# @BLURB: the new mozilla common configuration eclass for FF33 and newer, v5 |
88 |
# @DESCRIPTION: |
89 |
# This eclass is used in mozilla ebuilds (firefox, thunderbird, seamonkey) |
90 |
# to provide a single common place for the common mozilla engine compoments. |
91 |
# |
92 |
# The eclass provides all common dependencies as well as common use flags. |
93 |
# |
94 |
# Some use flags which may be optional in particular mozilla packages can be |
95 |
# supported through setting eclass variables. |
96 |
# |
97 |
# This eclass inherits mozconfig helper functions as defined in mozcoreconf-v3, |
98 |
# and so ebuilds inheriting this eclass do not need to inherit that. |
99 |
|
100 |
inherit multilib flag-o-matic toolchain-funcs mozcoreconf-v3 |
101 |
|
102 |
case ${EAPI} in |
103 |
0|1|2|3|4) die "EAPI=${EAPI} not supported" |
104 |
esac |
105 |
|
106 |
# @ECLASS-VARIABLE: MOZCONFIG_OPTIONAL_WIFI |
107 |
# @DESCRIPTION: |
108 |
# Set this variable before the inherit line, when an ebuild needs to provide |
109 |
# optional necko-wifi support via IUSE="wifi". Currently this would include |
110 |
# ebuilds for firefox, and potentially seamonkey. |
111 |
# |
112 |
# Leave the variable UNSET if necko-wifi support should not be available. |
113 |
# Set the variable to "enabled" if the use flag should be enabled by default. |
114 |
# Set the variable to any value if the use flag should exist but not be default-enabled. |
115 |
|
116 |
# @ECLASS-VARIABLE: MOZCONFIG_OPTIONAL_JIT |
117 |
# @DESCRIPTION: |
118 |
# Set this variable before the inherit line, when an ebuild needs to provide |
119 |
# optional necko-wifi support via IUSE="jit". Currently this would include |
120 |
# ebuilds for firefox, and potentially seamonkey. |
121 |
# |
122 |
# Leave the variable UNSET if optional jit support should not be available. |
123 |
# Set the variable to "enabled" if the use flag should be enabled by default. |
124 |
# Set the variable to any value if the use flag should exist but not be default-enabled. |
125 |
|
126 |
# use-flags common among all mozilla ebuilds |
127 |
IUSE="${IUSE} dbus debug gstreamer pulseaudio selinux startup-notification system-cairo system-icu system-jpeg system-sqlite system-libvpx" |
128 |
|
129 |
# some notes on deps: |
130 |
# gtk:2 minimum is technically 2.10 but gio support (enabled by default) needs 2.14 |
131 |
# media-libs/mesa needs to be 10.2 or above due to a bug with flash+vdpau |
132 |
|
133 |
RDEPEND=">=app-text/hunspell-1.2 |
134 |
dev-libs/atk |
135 |
dev-libs/expat |
136 |
>=dev-libs/libevent-1.4.7 |
137 |
>=x11-libs/cairo-1.10[X] |
138 |
>=x11-libs/gtk+-2.18:2 |
139 |
x11-libs/gdk-pixbuf |
140 |
>=x11-libs/pango-1.22.0 |
141 |
>=media-libs/libpng-1.6.14:0=[apng] |
142 |
>=media-libs/mesa-10.2:* |
143 |
media-libs/fontconfig |
144 |
>=media-libs/freetype-2.4.10 |
145 |
kernel_linux? ( media-libs/alsa-lib ) |
146 |
pulseaudio? ( media-sound/pulseaudio ) |
147 |
virtual/freedesktop-icon-theme |
148 |
dbus? ( >=sys-apps/dbus-0.60 |
149 |
>=dev-libs/dbus-glib-0.72 ) |
150 |
startup-notification? ( >=x11-libs/startup-notification-0.8 ) |
151 |
>=dev-libs/glib-2.26:2 |
152 |
>=sys-libs/zlib-1.2.3 |
153 |
>=virtual/libffi-3.0.10 |
154 |
gstreamer? ( |
155 |
>=media-libs/gstreamer-1.2.3:1.0 |
156 |
>=media-libs/gst-plugins-base-1.2.3:1.0 |
157 |
>=media-libs/gst-plugins-good-1.2.3:1.0 |
158 |
>=media-plugins/gst-plugins-libav-1.1.0_pre20130128-r1:1.0 |
159 |
) |
160 |
x11-libs/libX11 |
161 |
x11-libs/libXcomposite |
162 |
x11-libs/libXdamage |
163 |
x11-libs/libXext |
164 |
x11-libs/libXfixes |
165 |
x11-libs/libXrender |
166 |
x11-libs/libXt |
167 |
system-cairo? ( >=x11-libs/cairo-1.12[X] >=x11-libs/pixman-0.19.2 ) |
168 |
system-icu? ( >=dev-libs/icu-51.1:= ) |
169 |
system-jpeg? ( >=media-libs/libjpeg-turbo-1.2.1 ) |
170 |
system-sqlite? ( >=dev-db/sqlite-3.8.7.4:3[secure-delete,debug=] ) |
171 |
system-libvpx? ( =media-libs/libvpx-1.3.0*[postproc] ) |
172 |
" |
173 |
|
174 |
if [[ -n ${MOZCONFIG_OPTIONAL_WIFI} ]]; then |
175 |
if [[ ${MOZCONFIG_OPTIONAL_WIFI} = "enabled" ]]; then |
176 |
IUSE+=" +wifi" |
177 |
else |
178 |
IUSE+=" wifi" |
179 |
fi |
180 |
RDEPEND+=" |
181 |
wifi? ( >=sys-apps/dbus-0.60 |
182 |
>=dev-libs/dbus-glib-0.72 |
183 |
net-wireless/wireless-tools )" |
184 |
fi |
185 |
if [[ -n ${MOZCONFIG_OPTIONAL_JIT} ]]; then |
186 |
if [[ ${MOZCONFIG_OPTIONAL_JIT} = "enabled" ]]; then |
187 |
IUSE+=" +jit" |
188 |
else |
189 |
IUSE+=" jit" |
190 |
fi |
191 |
fi |
192 |
|
193 |
DEPEND="app-arch/zip |
194 |
app-arch/unzip |
195 |
>=sys-devel/binutils-2.16.1 |
196 |
${RDEPEND}" |
197 |
|
198 |
RDEPEND+=" |
199 |
selinux? ( sec-policy/selinux-mozilla )" |
200 |
|
201 |
# @FUNCTION: mozconfig_config |
202 |
# @DESCRIPTION: |
203 |
# Set common configure options for mozilla packages. |
204 |
# Call this within src_configure() phase, after mozconfig_init |
205 |
# |
206 |
# Example: |
207 |
# |
208 |
# inherit mozconfig-v5.33 |
209 |
# |
210 |
# src_configure() { |
211 |
# mozconfig_init |
212 |
# mozconfig_config |
213 |
# # ... misc ebuild-unique settings via calls to |
214 |
# # ... mozconfig_{annotate,use_with,use_enable} |
215 |
# mozconfig_final |
216 |
# } |
217 |
|
218 |
mozconfig_config() { |
219 |
# Migrated from mozcoreconf-2 |
220 |
mozconfig_annotate 'system_libs' \ |
221 |
--with-system-zlib \ |
222 |
--enable-pango \ |
223 |
--enable-svg \ |
224 |
--with-system-bz2 |
225 |
|
226 |
mozconfig_annotate '' --enable-default-toolkit=cairo-gtk2 |
227 |
|
228 |
if has bindist ${IUSE}; then |
229 |
mozconfig_use_enable !bindist official-branding |
230 |
if [[ ${PN} == firefox ]] && use bindist ; then |
231 |
mozconfig_annotate '' --with-branding=browser/branding/aurora |
232 |
fi |
233 |
fi |
234 |
|
235 |
mozconfig_use_enable debug |
236 |
mozconfig_use_enable debug tests |
237 |
|
238 |
if ! use debug ; then |
239 |
mozconfig_annotate 'disabled by Gentoo' --disable-debug-symbols |
240 |
else |
241 |
mozconfig_annotate 'enabled by Gentoo' --enable-debug-symbols |
242 |
fi |
243 |
|
244 |
mozconfig_use_enable startup-notification |
245 |
|
246 |
if [[ -n ${MOZCONFIG_OPTIONAL_WIFI} ]] ; then |
247 |
# wifi pulls in dbus so manage both here |
248 |
mozconfig_use_enable wifi necko-wifi |
249 |
if use wifi && ! use dbus; then |
250 |
echo "Enabling dbus support due to wifi request" |
251 |
mozconfig_annotate 'dbus required by necko-wifi' --enable-dbus |
252 |
else |
253 |
mozconfig_use_enable dbus |
254 |
fi |
255 |
else |
256 |
mozconfig_use_enable dbus |
257 |
mozconfig_annotate 'disabled' --disable-necko-wifi |
258 |
fi |
259 |
|
260 |
# These are forced-on for webm support |
261 |
mozconfig_annotate 'required' --enable-ogg |
262 |
mozconfig_annotate 'required' --enable-wave |
263 |
|
264 |
if [[ -n ${MOZCONFIG_OPTIONAL_JIT} ]]; then |
265 |
mozconfig_use_enable jit ion |
266 |
mozconfig_use_enable jit yarr-jit |
267 |
fi |
268 |
|
269 |
# These are enabled by default in all mozilla applications |
270 |
mozconfig_annotate '' --with-system-nspr --with-nspr-prefix="${EPREFIX}"/usr |
271 |
mozconfig_annotate '' --with-system-nss --with-nss-prefix="${EPREFIX}"/usr |
272 |
mozconfig_annotate '' --x-includes="${EPREFIX}"/usr/include --x-libraries="${EPREFIX}"/usr/$(get_libdir) |
273 |
mozconfig_annotate '' --with-system-libevent="${EPREFIX}"/usr |
274 |
mozconfig_annotate '' --prefix="${EPREFIX}"/usr |
275 |
mozconfig_annotate '' --libdir="${EPREFIX}"/usr/$(get_libdir) |
276 |
mozconfig_annotate 'Gentoo default' --enable-system-hunspell |
277 |
mozconfig_annotate '' --disable-gnomevfs |
278 |
mozconfig_annotate '' --disable-gnomeui |
279 |
mozconfig_annotate '' --enable-gio |
280 |
mozconfig_annotate '' --disable-crashreporter |
281 |
mozconfig_annotate 'Gentoo default' --with-system-png |
282 |
mozconfig_annotate '' --enable-system-ffi |
283 |
mozconfig_annotate 'Gentoo default to honor system linker' --disable-gold |
284 |
mozconfig_annotate '' --disable-gconf |
285 |
|
286 |
# Use jemalloc unless libc is not glibc >= 2.4 |
287 |
# at this time the minimum glibc in the tree is 2.9 so we should be safe. |
288 |
if use elibc_glibc; then |
289 |
# We must force-enable jemalloc 3 via .mozconfig |
290 |
echo "export MOZ_JEMALLOC3=1" >> "${S}"/.mozconfig || die |
291 |
mozconfig_annotate '' --enable-jemalloc |
292 |
mozconfig_annotate '' --enable-replace-malloc |
293 |
fi |
294 |
|
295 |
mozconfig_annotate '' --target="${CTARGET:-${CHOST}}" |
296 |
mozconfig_annotate '' --build="${CTARGET:-${CHOST}}" |
297 |
|
298 |
if use gstreamer; then |
299 |
mozconfig_annotate '+gstreamer' --enable-gstreamer=1.0 |
300 |
else |
301 |
mozconfig_annotate '' --disable-gstreamer |
302 |
fi |
303 |
mozconfig_use_enable pulseaudio |
304 |
|
305 |
mozconfig_use_enable system-cairo |
306 |
mozconfig_use_enable system-sqlite |
307 |
mozconfig_use_with system-jpeg |
308 |
mozconfig_use_with system-icu |
309 |
mozconfig_use_enable system-icu intl-api |
310 |
mozconfig_use_with system-libvpx |
311 |
} |