1 |
commit: c001675b0a23d9c15e1341e6ff4d5ea21b33d318 |
2 |
Author: Ian Stakenvicius <axs <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat Jul 9 04:03:55 2016 +0000 |
4 |
Commit: Ian Stakenvicius <axs <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Jul 9 04:04:05 2016 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c001675b |
7 |
|
8 |
mail-client/thunderbird-24.8.0: swallowed mozconfig-3.eclass |
9 |
|
10 |
This ebuild is and has for quite some time been the last of the |
11 |
consumers of mozconfig-3.eclass. Although the package is masked |
12 |
there may still be a need for it to allow migration of user |
13 |
data. This commit moves all relevant portions of the eclass |
14 |
into the ebuild and expunges the eclass from the repo. |
15 |
|
16 |
Package-Manager: portage-2.2.28 |
17 |
|
18 |
eclass/mozconfig-3.eclass | 104 ---------------------- |
19 |
mail-client/thunderbird/thunderbird-24.8.0.ebuild | 55 ++++++++++-- |
20 |
2 files changed, 50 insertions(+), 109 deletions(-) |
21 |
|
22 |
diff --git a/eclass/mozconfig-3.eclass b/eclass/mozconfig-3.eclass |
23 |
deleted file mode 100644 |
24 |
index a0a01a1..0000000 |
25 |
--- a/eclass/mozconfig-3.eclass |
26 |
+++ /dev/null |
27 |
@@ -1,104 +0,0 @@ |
28 |
-# Copyright 1999-2013 Gentoo Foundation |
29 |
-# Distributed under the terms of the GNU General Public License v2 |
30 |
-# $Id$ |
31 |
-# |
32 |
-# mozconfig.eclass: the new mozilla.eclass |
33 |
- |
34 |
-inherit multilib flag-o-matic mozcoreconf-2 |
35 |
- |
36 |
-# use-flags common among all mozilla ebuilds |
37 |
-IUSE="+alsa +dbus debug libnotify startup-notification system-sqlite wifi" |
38 |
- |
39 |
-# XXX: GConf is used for setting the default browser |
40 |
-# revisit to make it optional with GNOME 3 |
41 |
-# pango[X] is needed for pangoxft.h |
42 |
-# freedesktop-icon-theme is needed for bug 341697 |
43 |
-RDEPEND="app-arch/zip |
44 |
- app-arch/unzip |
45 |
- >=app-text/hunspell-1.2 |
46 |
- dev-libs/expat |
47 |
- >=dev-libs/libevent-1.4.7 |
48 |
- >=x11-libs/cairo-1.8[X] |
49 |
- >=x11-libs/gtk+-2.8.6:2 |
50 |
- >=x11-libs/pango-1.10.1[X] |
51 |
- virtual/jpeg:0 |
52 |
- alsa? ( media-libs/alsa-lib ) |
53 |
- virtual/freedesktop-icon-theme |
54 |
- dbus? ( >=dev-libs/dbus-glib-0.72 ) |
55 |
- libnotify? ( >=x11-libs/libnotify-0.4 ) |
56 |
- startup-notification? ( >=x11-libs/startup-notification-0.8 ) |
57 |
- wifi? ( net-wireless/wireless-tools )" |
58 |
-DEPEND="${RDEPEND}" |
59 |
- |
60 |
-mozconfig_config() { |
61 |
- mozconfig_annotate '' --enable-default-toolkit=cairo-gtk2 |
62 |
- |
63 |
- if has bindist ${IUSE}; then |
64 |
- mozconfig_use_enable !bindist official-branding |
65 |
- if [[ ${PN} == firefox ]] && use bindist ; then |
66 |
- mozconfig_annotate '' --with-branding=browser/branding/aurora |
67 |
- fi |
68 |
- fi |
69 |
- |
70 |
- if ! $(mozversion_is_new_enough) ; then |
71 |
- mozconfig_use_enable alsa ogg |
72 |
- mozconfig_use_enable alsa wave |
73 |
- mozconfig_use_enable libnotify |
74 |
- mozconfig_use_enable debug debugger-info-modules |
75 |
- if has +ipc ${IUSE}; then |
76 |
- mozconfig_use_enable ipc |
77 |
- fi |
78 |
- if [[ ${PN} != thunderbird ]] ; then |
79 |
- mozconfig_annotate 'places' --enable-storage --enable-places --enable-places_bookmarks |
80 |
- mozconfig_annotate '' --enable-oji --enable-mathml |
81 |
- mozconfig_annotate 'broken' --disable-mochitest |
82 |
- fi |
83 |
- if use system-sqlite; then |
84 |
- mozconfig_annotate '' --with-sqlite-prefix="${EPREFIX}"/usr |
85 |
- fi |
86 |
- if use amd64 || use x86 || use arm || use sparc; then |
87 |
- mozconfig_annotate '' --enable-tracejit |
88 |
- fi |
89 |
- fi |
90 |
- |
91 |
- mozconfig_use_enable dbus |
92 |
- mozconfig_use_enable debug |
93 |
- mozconfig_use_enable debug tests |
94 |
- if ! use debug ; then |
95 |
- mozconfig_annotate 'disabled by Gentoo' --disable-debug-symbols |
96 |
- fi |
97 |
- mozconfig_use_enable startup-notification |
98 |
- mozconfig_use_enable system-sqlite |
99 |
- mozconfig_use_enable wifi necko-wifi |
100 |
- |
101 |
- if $(mozversion_is_new_enough) ; then |
102 |
- mozconfig_annotate 'required' --enable-ogg |
103 |
- mozconfig_annotate 'required' --enable-wave |
104 |
- mozconfig_annotate 'required' --with-system-libvpx |
105 |
- elif has +webm ${IUSE} && use webm; then |
106 |
- if ! use alsa; then |
107 |
- echo "Enabling alsa support due to webm request" |
108 |
- mozconfig_annotate '+webm -alsa' --enable-ogg |
109 |
- mozconfig_annotate '+webm -alsa' --enable-wave |
110 |
- mozconfig_annotate '+webm' --enable-webm |
111 |
- mozconfig_annotate '+webm' --with-system-libvpx |
112 |
- else |
113 |
- mozconfig_use_enable webm |
114 |
- mozconfig_annotate '+webm' --with-system-libvpx |
115 |
- fi |
116 |
- else |
117 |
- mozconfig_annotate '' --disable-webm |
118 |
- mozconfig_annotate '' --disable-system-libvpx |
119 |
- fi |
120 |
- |
121 |
- # These are enabled by default in all mozilla applications |
122 |
- mozconfig_annotate '' --with-system-nspr --with-nspr-prefix="${EPREFIX}"/usr |
123 |
- mozconfig_annotate '' --with-system-nss --with-nss-prefix="${EPREFIX}"/usr |
124 |
- mozconfig_annotate '' --x-includes="${EPREFIX}"/usr/include --x-libraries="${EPREFIX}"/usr/$(get_libdir) |
125 |
- mozconfig_annotate '' --with-system-libevent="${EPREFIX}"/usr |
126 |
- mozconfig_annotate '' --enable-system-hunspell |
127 |
- mozconfig_annotate '' --disable-gnomevfs |
128 |
- mozconfig_annotate '' --disable-gnomeui |
129 |
- mozconfig_annotate '' --enable-gio |
130 |
- mozconfig_annotate '' --disable-crashreporter |
131 |
-} |
132 |
|
133 |
diff --git a/mail-client/thunderbird/thunderbird-24.8.0.ebuild b/mail-client/thunderbird/thunderbird-24.8.0.ebuild |
134 |
index b5a3c0e..4bfaf20 100644 |
135 |
--- a/mail-client/thunderbird/thunderbird-24.8.0.ebuild |
136 |
+++ b/mail-client/thunderbird/thunderbird-24.8.0.ebuild |
137 |
@@ -1,4 +1,4 @@ |
138 |
-# Copyright 1999-2015 Gentoo Foundation |
139 |
+# Copyright 1999-2016 Gentoo Foundation |
140 |
# Distributed under the terms of the GNU General Public License v2 |
141 |
# $Id$ |
142 |
|
143 |
@@ -29,7 +29,7 @@ EMVER="1.6" |
144 |
MOZ_FTP_URI="ftp://ftp.mozilla.org/pub/${PN}/releases/" |
145 |
MOZ_HTTP_URI="http://ftp.mozilla.org/pub/${PN}/releases/" |
146 |
|
147 |
-inherit flag-o-matic toolchain-funcs mozconfig-3 makeedit multilib autotools pax-utils check-reqs nsplugins mozlinguas |
148 |
+inherit flag-o-matic toolchain-funcs mozcoreconf-2 makeedit multilib autotools pax-utils check-reqs nsplugins mozlinguas |
149 |
|
150 |
DESCRIPTION="Thunderbird Mail Client" |
151 |
HOMEPAGE="http://www.mozilla.com/en-US/thunderbird/" |
152 |
@@ -37,7 +37,7 @@ HOMEPAGE="http://www.mozilla.com/en-US/thunderbird/" |
153 |
KEYWORDS="~alpha amd64 ~arm ppc ppc64 x86 ~x86-fbsd ~amd64-linux ~x86-linux" |
154 |
SLOT="0" |
155 |
LICENSE="MPL-2.0 GPL-2 LGPL-2.1" |
156 |
-IUSE="bindist crypt gstreamer +jit ldap +lightning +minimal mozdom pulseaudio selinux system-cairo system-icu system-jpeg system-sqlite" |
157 |
+IUSE="+alsa bindist crypt +dbus debug gstreamer +jit ldap libnotify +lightning +minimal mozdom pulseaudio selinux startup-notification system-cairo system-icu system-jpeg system-sqlite wifi" |
158 |
RESTRICT="!bindist? ( bindist )" |
159 |
|
160 |
PATCH="thunderbird-24.0-patches-0.1" |
161 |
@@ -82,7 +82,23 @@ CDEPEND=" |
162 |
) |
163 |
) |
164 |
=app-crypt/gnupg-1.4* |
165 |
- ) )" |
166 |
+ ) ) |
167 |
+ app-arch/zip |
168 |
+ app-arch/unzip |
169 |
+ >=app-text/hunspell-1.2 |
170 |
+ dev-libs/expat |
171 |
+ >=dev-libs/libevent-1.4.7 |
172 |
+ >=x11-libs/cairo-1.8[X] |
173 |
+ >=x11-libs/gtk+-2.8.6:2 |
174 |
+ >=x11-libs/pango-1.10.1[X] |
175 |
+ virtual/jpeg:0 |
176 |
+ alsa? ( media-libs/alsa-lib ) |
177 |
+ virtual/freedesktop-icon-theme |
178 |
+ dbus? ( >=dev-libs/dbus-glib-0.72 ) |
179 |
+ libnotify? ( >=x11-libs/libnotify-0.4 ) |
180 |
+ startup-notification? ( >=x11-libs/startup-notification-0.8 ) |
181 |
+ wifi? ( net-wireless/wireless-tools ) |
182 |
+" |
183 |
|
184 |
DEPEND="${CDEPEND} |
185 |
>=sys-devel/binutils-2.16.1 |
186 |
@@ -206,7 +222,36 @@ src_configure() { |
187 |
#################################### |
188 |
|
189 |
mozconfig_init |
190 |
- mozconfig_config |
191 |
+ |
192 |
+ # Migrated from mozconfig-3.eclass |
193 |
+ mozconfig_annotate '' --enable-default-toolkit=cairo-gtk2 |
194 |
+ |
195 |
+ mozconfig_use_enable !bindist official-branding |
196 |
+ |
197 |
+ mozconfig_use_enable dbus |
198 |
+ mozconfig_use_enable debug |
199 |
+ mozconfig_use_enable debug tests |
200 |
+ if ! use debug ; then |
201 |
+ mozconfig_annotate 'disabled by Gentoo' --disable-debug-symbols |
202 |
+ fi |
203 |
+ mozconfig_use_enable startup-notification |
204 |
+ mozconfig_use_enable system-sqlite |
205 |
+ mozconfig_use_enable wifi necko-wifi |
206 |
+ |
207 |
+ mozconfig_annotate 'required' --enable-ogg |
208 |
+ mozconfig_annotate 'required' --enable-wave |
209 |
+ mozconfig_annotate 'required' --with-system-libvpx |
210 |
+ |
211 |
+ # These are enabled by default in all mozilla applications |
212 |
+ mozconfig_annotate '' --with-system-nspr --with-nspr-prefix="${EPREFIX}"/usr |
213 |
+ mozconfig_annotate '' --with-system-nss --with-nss-prefix="${EPREFIX}"/usr |
214 |
+ mozconfig_annotate '' --x-includes="${EPREFIX}"/usr/include --x-libraries="${EPREFIX}"/usr/$(get_libdir) |
215 |
+ mozconfig_annotate '' --with-system-libevent="${EPREFIX}"/usr |
216 |
+ mozconfig_annotate '' --enable-system-hunspell |
217 |
+ mozconfig_annotate '' --disable-gnomevfs |
218 |
+ mozconfig_annotate '' --disable-gnomeui |
219 |
+ mozconfig_annotate '' --enable-gio |
220 |
+ mozconfig_annotate '' --disable-crashreporter |
221 |
|
222 |
# It doesn't compile on alpha without this LDFLAGS |
223 |
use alpha && append-ldflags "-Wl,--no-relax" |