1 |
commit: 5dbaca8ad73f35d6a14bb04e87d6c646bd9bb0d9 |
2 |
Author: Lars Wendler <polynomial-c <AT> gentoo <DOT> org> |
3 |
AuthorDate: Thu Apr 15 08:30:22 2021 +0000 |
4 |
Commit: Lars Wendler <polynomial-c <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu Apr 15 08:30:37 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5dbaca8a |
7 |
|
8 |
www-client/seamonkey: Bump to version 2.53.7.1 |
9 |
|
10 |
Signed-off-by: Lars Wendler <polynomial-c <AT> gentoo.org> |
11 |
|
12 |
www-client/seamonkey/Manifest | 2 + |
13 |
.../files/seamonkey-2.53.7-ownertab.patch | 236 +++++++++ |
14 |
www-client/seamonkey/seamonkey-2.53.7.1.ebuild | 557 +++++++++++++++++++++ |
15 |
3 files changed, 795 insertions(+) |
16 |
|
17 |
diff --git a/www-client/seamonkey/Manifest b/www-client/seamonkey/Manifest |
18 |
index 4b0abd077ae..b2c33db6537 100644 |
19 |
--- a/www-client/seamonkey/Manifest |
20 |
+++ b/www-client/seamonkey/Manifest |
21 |
@@ -2,5 +2,7 @@ DIST seamonkey-2.53.3-system_libvpx-1.8.patch.xz 3128 BLAKE2B f73802d2715a11964a |
22 |
DIST seamonkey-2.53.6.source-l10n.tar.xz 13520676 BLAKE2B cae6fad22f30c0e685ef3829e4a67f09420a1114e259e71a998819e7bf33ecf7428959aa99bb4299482e5d149fe85575e8f4ea5ba254dae0fe10e2a634be2aa5 SHA512 aabbe7a93c2a78ad5dde819265540ea7516f0bc1cbc876a64b81969697e6389467d3ea682a02d15ebdd182a5d0c5ae122ecce9ce18874910ab968ee7664fe501 |
23 |
DIST seamonkey-2.53.6.source.tar.xz 283905464 BLAKE2B 77ecb3df1b4f0a8f2fd4fa1899d3f4459d3630fc7f0dacd050ba53709d9db5af1ab49c465ba6ef264036aaac834897c0f035c1ca49a3ab34250eb4f3b244d220 SHA512 1854862b5b4781e21cb14bdb6be95e219195459202f55cde3800594174307a9ff23e8b29304494489e947a2749765cdb75ca56633f2fcff8afaf277da972a573 |
24 |
DIST seamonkey-2.53.6_beta1-patches-01.tar.xz 44160 BLAKE2B f6a959a983e726cd919ab5004b27cd496a78cd58759168d6dd64e155059c7b52f269bc42143ddb69a1e8880c72779257216d942a1abc58800491fde9eaaea061 SHA512 710e668209f76f2ca4112923c61219e435123791dfcfcb202af1f7975436d17f13ab025722e9725f219e9de9d024091514d23c71a851d68f750c11ea8d56c2b9 |
25 |
+DIST seamonkey-2.53.7.1.source-l10n.tar.xz 13540652 BLAKE2B a42471ee8d2c4c57158291a9770aa6759a620e4b9a38a1bedcf17495332924839d65f1a12dce3c7452137fd6d176c576ec0da639f20be29621b10406c0e9bd4f SHA512 d4bde45e0dfdbd1eb316ef3f3d2e611a1a3314a1144ad7075f96ad35c961bc07fd82bbfd7959aa9bee0034cbf081427670d7da3eb3b3aac85b5db7aab92b32a5 |
26 |
+DIST seamonkey-2.53.7.1.source.tar.xz 283452108 BLAKE2B 4f0a73c5d57c708e4b5d5af6ddee1c9515b6bf401b0181da17c03cdeee1afb9d120c0157cdf2a07e8fa6495462e8bbb4b85e3e6646dbbead123934c565732926 SHA512 21f52b2668b8cb31670a80f3fbcd04d714527545ddd36fa5782999be398428cfeac989da4e3e7e049202249d43c71228ebc8640dd0b594150c8cff0b587caf7e |
27 |
DIST seamonkey-2.53.7.source-l10n.tar.xz 13540652 BLAKE2B a42471ee8d2c4c57158291a9770aa6759a620e4b9a38a1bedcf17495332924839d65f1a12dce3c7452137fd6d176c576ec0da639f20be29621b10406c0e9bd4f SHA512 d4bde45e0dfdbd1eb316ef3f3d2e611a1a3314a1144ad7075f96ad35c961bc07fd82bbfd7959aa9bee0034cbf081427670d7da3eb3b3aac85b5db7aab92b32a5 |
28 |
DIST seamonkey-2.53.7.source.tar.xz 283282204 BLAKE2B a0e239381b6f1dbd41042ab1daf1ed986d6ea9f6fb68cb38b41e05e579937d1754f4293f1d3b9ded7ce6f05f3ca8cd292addfd06fe6405777c440ded2804d4c1 SHA512 175bf010f5279f07e0cccaf2d8caf4d6e0368de035aba7b5bc4c5da301de19aa7fc8c0125b2ee3d1c1a859e94c8f7985c977bafe48cd6f453d609270891887e5 |
29 |
|
30 |
diff --git a/www-client/seamonkey/files/seamonkey-2.53.7-ownertab.patch b/www-client/seamonkey/files/seamonkey-2.53.7-ownertab.patch |
31 |
new file mode 100644 |
32 |
index 00000000000..c0ae11ff076 |
33 |
--- /dev/null |
34 |
+++ b/www-client/seamonkey/files/seamonkey-2.53.7-ownertab.patch |
35 |
@@ -0,0 +1,236 @@ |
36 |
+--- seamonkey-2.53.7/comm/suite/app/profile/suite-prefs.js |
37 |
++++ seamonkey-2.53.7/comm/suite/app/profile/suite-prefs.js |
38 |
+@@ -225,16 +225,17 @@ pref("browser.tabs.autoHide", false); |
39 |
+ pref("browser.tabs.forceHide", false); |
40 |
+ pref("browser.tabs.closeWindowWithLastTab", true); |
41 |
+ pref("browser.tabs.warnOnClose", true); |
42 |
+ pref("browser.tabs.warnOnCloseOther", true); |
43 |
+ pref("browser.tabs.warnOnOpen", true); |
44 |
+ pref("browser.tabs.maxOpenBeforeWarn", 15); |
45 |
+ pref("browser.tabs.insertRelatedAfterCurrent", true); |
46 |
+ pref("browser.tabs.insertAllTabsAfterCurrent", false); |
47 |
++pref("browser.tabs.selectOwnerOnClose", true); |
48 |
+ |
49 |
+ // For future use |
50 |
+ pref("browser.tabs.loadBookmarksInBackground", false); |
51 |
+ |
52 |
+ // how many browsers can be saved in the DOM (by the tabbed browser) |
53 |
+ pref("browser.tabs.max_tabs_undo", 3); |
54 |
+ // should popups by saved in the DOM (by the tabbed browser) |
55 |
+ pref("browser.tabs.cache_popups", false); |
56 |
+--- seamonkey-2.53.7/comm/suite/base/content/utilityOverlay.js |
57 |
++++ seamonkey-2.53.7/comm/suite/base/content/utilityOverlay.js |
58 |
+@@ -1624,21 +1624,23 @@ function openLinkIn(url, where, params) |
59 |
+ // forces tab to be focused |
60 |
+ loadInBackground = true; |
61 |
+ // fall through |
62 |
+ case "tabshifted": |
63 |
+ loadInBackground = !loadInBackground; |
64 |
+ // fall through |
65 |
+ case "tab": |
66 |
+ var browser = w.getBrowser(); |
67 |
++ var owner = loadInBackground ? null : browser.selectedTab; |
68 |
+ var tab = browser.addTab(url, { |
69 |
+ referrerURI: aReferrerURI, |
70 |
+ referrerPolicy: aReferrerPolicy, |
71 |
+ charset: aCharset, |
72 |
+ postData: aPostData, |
73 |
++ ownerTab: owner, |
74 |
+ allowThirdPartyFixup: aAllowThirdPartyFixup, |
75 |
+ relatedToCurrent: aRelatedToCurrent, |
76 |
+ allowMixedContent: aAllowMixedContent, |
77 |
+ noReferrer: aNoReferrer, |
78 |
+ userContextId: aUserContextId, |
79 |
+ originPrincipal: aPrincipal, |
80 |
+ triggeringPrincipal: aTriggeringPrincipal, |
81 |
+ }); |
82 |
+--- seamonkey-2.53.7/comm/suite/browser/tabbrowser.xml |
83 |
++++ seamonkey-2.53.7/comm/suite/browser/tabbrowser.xml |
84 |
+@@ -1151,16 +1151,28 @@ |
85 |
+ newBrowser.docShellIsActive = this.mCurrentTab.linkedBrowser.docShellIsActive; |
86 |
+ if (this.mCurrentBrowser) { |
87 |
+ this.mCurrentBrowser.droppedLinkHandler = null; |
88 |
+ this.mCurrentBrowser.docShellIsActive = false; |
89 |
+ this.mCurrentBrowser.removeAttribute("primary"); |
90 |
+ this.finder.mListeners.forEach(l => this.mCurrentBrowser.finder.removeResultListener(l)); |
91 |
+ } |
92 |
+ |
93 |
++ var oldTab = this.mCurrentTab; |
94 |
++ |
95 |
++ // Preview mode should not reset the owner |
96 |
++ if (!this._previewMode && !oldTab.selected) |
97 |
++ oldTab.owner = null; |
98 |
++ |
99 |
++ let lastRelatedTab = this.mLastRelatedIndex ? this.tabs[this.mLastRelatedIndex] : null; |
100 |
++ if (lastRelatedTab) { |
101 |
++ if (!lastRelatedTab.selected) |
102 |
++ lastRelatedTab.owner = null; |
103 |
++ } |
104 |
++ |
105 |
+ newBrowser.setAttribute("primary", "true"); |
106 |
+ this.mCurrentBrowser = newBrowser; |
107 |
+ this.mCurrentTab = this.selectedTab; |
108 |
+ this.mCurrentTab.removeAttribute("unread"); |
109 |
+ this.finder.mListeners.forEach(l => this.mCurrentBrowser.finder.addResultListener(l)); |
110 |
+ |
111 |
+ var tabListener = this.mTabListeners[this.tabContainer.selectedIndex]; |
112 |
+ |
113 |
+@@ -1445,16 +1457,19 @@ |
114 |
+ opener: null, |
115 |
+ }; |
116 |
+ } |
117 |
+ |
118 |
+ params.focusNewTab = params.inBackground != null ? |
119 |
+ !params.inBackground : |
120 |
+ !Services.prefs.getBoolPref("browser.tabs.loadInBackground"); |
121 |
+ |
122 |
++ if (params.focusNewTab) |
123 |
++ params.ownerTab = this.selectedTab; |
124 |
++ |
125 |
+ return this.addTab(aURI, params); |
126 |
+ ]]> |
127 |
+ </body> |
128 |
+ </method> |
129 |
+ |
130 |
+ <method name="loadTabs"> |
131 |
+ <parameter name="aURIs"/> |
132 |
+ <parameter name="aLoadInBackground"/> |
133 |
+@@ -1556,43 +1571,49 @@ |
134 |
+ <parameter name="aPostData"/> |
135 |
+ <parameter name="aFocusNewTab"/> |
136 |
+ <parameter name="aAllowThirdPartyFixup"/> |
137 |
+ <body> |
138 |
+ <![CDATA[ |
139 |
+ var aTriggeringPrincipal; |
140 |
+ var aReferrerPolicy; |
141 |
+ var aFromExternal; |
142 |
++ var aOwner; |
143 |
+ var aRelatedToCurrent; |
144 |
+ var aAllowMixedContent; |
145 |
+ var aNoReferrer; |
146 |
+ var aUserContextId; |
147 |
+ var aOriginPrincipal; |
148 |
+ var aOpener; |
149 |
+ if (arguments.length == 2 && |
150 |
+ arguments[1] != null && |
151 |
+ typeof arguments[1] == "object" && |
152 |
+ !(arguments[1] instanceof Ci.nsIURI)) { |
153 |
+ let params = arguments[1]; |
154 |
+ aTriggeringPrincipal = params.triggeringPrincipal; |
155 |
+ aReferrerURI = params.referrerURI; |
156 |
+ aReferrerPolicy = params.referrerPolicy; |
157 |
+ aCharset = params.charset; |
158 |
+ aPostData = params.postData; |
159 |
++ aOwner = params.ownerTab; |
160 |
+ aFocusNewTab = params.focusNewTab; |
161 |
+ aAllowThirdPartyFixup = params.allowThirdPartyFixup; |
162 |
+ aFromExternal = params.fromExternal; |
163 |
+ aRelatedToCurrent = params.relatedToCurrent; |
164 |
+ aAllowMixedContent = params.allowMixedContent; |
165 |
+ aNoReferrer = params.noReferrer; |
166 |
+ aUserContextId = params.userContextId; |
167 |
+ aOriginPrincipal = params.originPrincipal; |
168 |
+ aOpener = params.opener; |
169 |
+ } |
170 |
+ |
171 |
++ // if we're adding tabs, we're past interrupt mode, ditch the owner |
172 |
++ if (this.mCurrentTab.owner) |
173 |
++ this.mCurrentTab.owner = null; |
174 |
++ |
175 |
+ this._browsers = null; // invalidate cache |
176 |
+ |
177 |
+ var t = this.referenceTab.cloneNode(true); |
178 |
+ |
179 |
+ var blank = !aURI || aURI == "about:blank"; |
180 |
+ |
181 |
+ if (!blank) |
182 |
+ t.setAttribute("label", aURI); |
183 |
+@@ -1640,16 +1661,20 @@ |
184 |
+ |
185 |
+ // We start our browsers out as inactive. |
186 |
+ b.docShellIsActive = false; |
187 |
+ |
188 |
+ this.mStrip.collapsed = false; |
189 |
+ |
190 |
+ Services.prefs.setBoolPref("browser.tabs.forceHide", false); |
191 |
+ |
192 |
++ // If this new tab is owned by another, assert that relationship |
193 |
++ if (aOwner) |
194 |
++ t.owner = aOwner; |
195 |
++ |
196 |
+ // wire up a progress listener for the new browser object. |
197 |
+ var position = this.tabs.length - 1; |
198 |
+ var tabListener = this.mTabProgressListener(t, b, blank); |
199 |
+ const filter = Cc["@mozilla.org/appshell/component/browser-status-filter;1"] |
200 |
+ .createInstance(Ci.nsIWebProgress); |
201 |
+ filter.addProgressListener(tabListener, Ci.nsIWebProgress.NOTIFY_ALL); |
202 |
+ b.webProgress.addProgressListener(filter, Ci.nsIWebProgress.NOTIFY_ALL); |
203 |
+ this.mTabListeners[position] = tabListener; |
204 |
+@@ -1689,16 +1714,20 @@ |
205 |
+ // aReferrerURI is null or undefined if the tab is opened from |
206 |
+ // an external application or bookmark, i.e. somewhere other |
207 |
+ // than the current tab. |
208 |
+ if ((aRelatedToCurrent || aReferrerURI || |
209 |
+ Services.prefs.getBoolPref("browser.tabs.insertAllTabsAfterCurrent")) && |
210 |
+ Services.prefs.getBoolPref("browser.tabs.insertRelatedAfterCurrent")) { |
211 |
+ var lastRelatedIndex = this.mLastRelatedIndex || |
212 |
+ this.tabContainer.selectedIndex; |
213 |
++ if (this.mLastRelatedIndex) |
214 |
++ this.tabs[this.mLastRelatedIndex].owner = null; |
215 |
++ else |
216 |
++ t.owner = this.selectedTab; |
217 |
+ this.moveTabTo(t, ++lastRelatedIndex); |
218 |
+ this.mLastRelatedIndex = lastRelatedIndex; |
219 |
+ } |
220 |
+ |
221 |
+ if (aFocusNewTab) { |
222 |
+ var parentTab = this.selectedTab; |
223 |
+ this.selectedTab = t; |
224 |
+ this.mPreviousTab = parentTab; |
225 |
+@@ -2007,16 +2036,23 @@ |
226 |
+ oldBrowser.webProgress.removeProgressListener(filter); |
227 |
+ filter.removeProgressListener(this.mTabListeners[index]); |
228 |
+ this.mTabFilters.splice(index, 1); |
229 |
+ this.mTabListeners.splice(index, 1); |
230 |
+ |
231 |
+ // We are no longer the primary content area |
232 |
+ oldBrowser.removeAttribute("primary"); |
233 |
+ |
234 |
++ // Remove this tab as the owner of any other tabs, since it's going away. |
235 |
++ for (let tab of this.tabs) { |
236 |
++ if ("owner" in tab && tab.owner == aTab) |
237 |
++ // |tab| is a child of the tab we're removing, make it an orphan |
238 |
++ tab.owner = null; |
239 |
++ } |
240 |
++ |
241 |
+ // Now select the new tab before nuking the old one. |
242 |
+ var currentIndex = this.tabContainer.selectedIndex; |
243 |
+ |
244 |
+ var newIndex = -1; |
245 |
+ if (currentIndex > index) |
246 |
+ newIndex = currentIndex - 1; |
247 |
+ else if (currentIndex < index) |
248 |
+ newIndex = currentIndex; |
249 |
+@@ -2033,17 +2069,21 @@ |
250 |
+ this._browsers = null; |
251 |
+ |
252 |
+ // Clean up before/afterselected attributes before removing the tab |
253 |
+ aTab._selected = false; |
254 |
+ aTab.remove(); |
255 |
+ |
256 |
+ // When the current tab is removed select a new tab |
257 |
+ // and fire select events on tabpanels and tabs |
258 |
+- if (this.mPreviousTab && (aTab == this.mCurrentTab)) |
259 |
++ if (aTab.owner && !aTab.owner.hidden && !aTab.owner.closing && |
260 |
++ Services.prefs.getBoolPref("browser.tabs.selectOwnerOnClose")) { |
261 |
++ this.selectedTab = aTab.owner; |
262 |
++ } |
263 |
++ else if (this.mPreviousTab && (aTab == this.mCurrentTab)) |
264 |
+ this.selectedTab = this.mPreviousTab; |
265 |
+ else { |
266 |
+ this.tabContainer.selectedIndex = newIndex; |
267 |
+ |
268 |
+ // We need to explicitly clear this, because updateCurrentBrowser |
269 |
+ // doesn't get called for a background tab |
270 |
+ this.mPreviousTab = null; |
271 |
+ } |
272 |
|
273 |
diff --git a/www-client/seamonkey/seamonkey-2.53.7.1.ebuild b/www-client/seamonkey/seamonkey-2.53.7.1.ebuild |
274 |
new file mode 100644 |
275 |
index 00000000000..6bc46b25ede |
276 |
--- /dev/null |
277 |
+++ b/www-client/seamonkey/seamonkey-2.53.7.1.ebuild |
278 |
@@ -0,0 +1,557 @@ |
279 |
+# Copyright 1999-2021 Gentoo Authors |
280 |
+# Distributed under the terms of the GNU General Public License v2 |
281 |
+ |
282 |
+EAPI=7 |
283 |
+ |
284 |
+WANT_AUTOCONF="2.1" |
285 |
+ |
286 |
+PYTHON_COMPAT=( python3_{7..9} ) |
287 |
+PYTHON_REQ_USE='ncurses,sqlite,ssl,threads(+)' |
288 |
+ |
289 |
+# This list can be updated with scripts/get_langs.sh from the mozilla overlay |
290 |
+# note - could not roll langpacks for: ca fi |
291 |
+#MOZ_LANGS=(ca cs de en-GB es-AR es-ES fi fr gl hu it ja lt nb-NO nl pl pt-PT |
292 |
+# ru sk sv-SE tr uk zh-CN zh-TW) |
293 |
+MOZ_LANGS=(cs de en-GB es-AR es-ES fr hu it ja lt nl pl pt-PT |
294 |
+ ru sk sv-SE zh-CN zh-TW) |
295 |
+ |
296 |
+MOZ_PV="${PV/_pre*}" |
297 |
+MOZ_PV="${MOZ_PV/_alpha/a}" |
298 |
+MOZ_PV="${MOZ_PV/_beta/b}" |
299 |
+MOZ_PV="${MOZ_PV/_rc/rc}" |
300 |
+MOZ_P="${P}" |
301 |
+MY_MOZ_P="${PN}-${MOZ_PV}" |
302 |
+ |
303 |
+if [[ ${PV} == *_pre* ]] ; then |
304 |
+ MOZ_HTTP_URI="https://archive.mozilla.org/pub/${PN}/candidates/${MOZ_PV}-candidates/build${PV##*_pre}" |
305 |
+else |
306 |
+ MOZ_HTTP_URI="https://archive.mozilla.org/pub/${PN}/releases/${MOZ_PV}" |
307 |
+fi |
308 |
+ |
309 |
+SRC_URI="${MOZ_HTTP_URI}/source/${MY_MOZ_P}.source.tar.xz -> ${P}.source.tar.xz |
310 |
+ ${MOZ_HTTP_URI}/source/${MY_MOZ_P}.source-l10n.tar.xz -> ${P}.source-l10n.tar.xz" |
311 |
+S="${WORKDIR}/${MY_MOZ_P}" |
312 |
+ |
313 |
+MOZ_GENERATE_LANGPACKS=1 |
314 |
+MOZ_L10N_SOURCEDIR="${S}/${P}-l10n" |
315 |
+inherit autotools check-reqs desktop flag-o-matic mozcoreconf-v6 mozextension mozlinguas-v2 pax-utils toolchain-funcs xdg-utils |
316 |
+ |
317 |
+DESCRIPTION="Seamonkey Web Browser" |
318 |
+HOMEPAGE="https://www.seamonkey-project.org/" |
319 |
+ |
320 |
+PATCH="${PN}-2.53.6_beta1-patches-01" |
321 |
+SRC_URI+=" |
322 |
+ https://dev.gentoo.org/~polynomial-c/mozilla/patchsets/${PATCH}.tar.xz |
323 |
+ system-libvpx? ( https://dev.gentoo.org/~polynomial-c/mozilla/${PN}-2.53.3-system_libvpx-1.8.patch.xz ) |
324 |
+" |
325 |
+ |
326 |
+LICENSE="MPL-2.0 GPL-2 LGPL-2.1" |
327 |
+SLOT="0" |
328 |
+SYSTEM_IUSE=( +system-{av1,harfbuzz,icu,jpeg,libevent,libvpx,sqlite} ) |
329 |
+IUSE="+chatzilla cpu_flags_arm_neon +crypt dbus debug +gmp-autoupdate +ipc jack |
330 |
+lto minimal pulseaudio +roaming selinux startup-notification test wifi" |
331 |
+IUSE+=" ${SYSTEM_IUSE[@]}" |
332 |
+KEYWORDS="~amd64 ~ppc64 ~x86" |
333 |
+ |
334 |
+RESTRICT="!test? ( test )" |
335 |
+ |
336 |
+ASM_DEPEND=">=dev-lang/yasm-1.1" |
337 |
+ |
338 |
+BDEPEND=" |
339 |
+ app-arch/unzip |
340 |
+ app-arch/zip |
341 |
+ dev-lang/perl |
342 |
+ sys-apps/findutils |
343 |
+ >=sys-devel/binutils-2.16.1 |
344 |
+ virtual/pkgconfig |
345 |
+ >=virtual/rust-1.34.0 |
346 |
+ amd64? ( ${ASM_DEPEND} ) |
347 |
+ lto? ( sys-devel/binutils[gold] ) |
348 |
+ x86? ( ${ASM_DEPEND} ) |
349 |
+" |
350 |
+COMMON_DEPEND=" |
351 |
+ >=app-text/hunspell-1.5.4:= |
352 |
+ dev-libs/atk |
353 |
+ >=dev-libs/glib-2.26:2 |
354 |
+ >=dev-libs/libffi-3.0.10:= |
355 |
+ >=dev-libs/nspr-4.23 |
356 |
+ >=dev-libs/nss-3.47.1 |
357 |
+ media-libs/fontconfig |
358 |
+ >=media-libs/freetype-2.4.10 |
359 |
+ >=media-libs/libpng-1.6.31:0=[apng] |
360 |
+ >=media-libs/mesa-10.2:= |
361 |
+ >=sys-libs/zlib-1.2.3 |
362 |
+ >=x11-libs/cairo-1.10[X] |
363 |
+ x11-libs/gdk-pixbuf |
364 |
+ >=x11-libs/gtk+-2.18:2 |
365 |
+ >=x11-libs/gtk+-3.4.0:3 |
366 |
+ x11-libs/libX11 |
367 |
+ x11-libs/libXcomposite |
368 |
+ x11-libs/libXdamage |
369 |
+ x11-libs/libXext |
370 |
+ x11-libs/libXfixes |
371 |
+ x11-libs/libXrender |
372 |
+ x11-libs/libXt |
373 |
+ >=x11-libs/pango-1.22.0 |
374 |
+ >=x11-libs/pixman-0.19.2 |
375 |
+ media-video/ffmpeg |
376 |
+ virtual/freedesktop-icon-theme |
377 |
+ dbus? ( |
378 |
+ >=dev-libs/dbus-glib-0.72 |
379 |
+ >=sys-apps/dbus-0.60 |
380 |
+ ) |
381 |
+ jack? ( virtual/jack ) |
382 |
+ crypt? ( <x11-plugins/enigmail-2.1.0 ) |
383 |
+ kernel_linux? ( !pulseaudio? ( media-libs/alsa-lib ) ) |
384 |
+ pulseaudio? ( || ( |
385 |
+ media-sound/pulseaudio |
386 |
+ >=media-sound/apulse-0.1.9 |
387 |
+ ) ) |
388 |
+ startup-notification? ( >=x11-libs/startup-notification-0.8 ) |
389 |
+ system-av1? ( |
390 |
+ >=media-libs/dav1d-0.3.0:= |
391 |
+ >=media-libs/libaom-1.0.0:= |
392 |
+ ) |
393 |
+ system-harfbuzz? ( |
394 |
+ >=media-gfx/graphite2-1.3.9-r1 |
395 |
+ >=media-libs/harfbuzz-1.3.3:0= |
396 |
+ ) |
397 |
+ system-icu? ( >=dev-libs/icu-59.1:= ) |
398 |
+ system-jpeg? ( >=media-libs/libjpeg-turbo-1.2.1 ) |
399 |
+ system-libevent? ( >=dev-libs/libevent-2.0:0= ) |
400 |
+ system-libvpx? ( >=media-libs/libvpx-1.8.0:0=[postproc] ) |
401 |
+ system-sqlite? ( >=dev-db/sqlite-3.19.3:3[secure-delete,debug=] ) |
402 |
+ wifi? ( |
403 |
+ kernel_linux? ( |
404 |
+ >=dev-libs/dbus-glib-0.72 |
405 |
+ net-misc/networkmanager |
406 |
+ >=sys-apps/dbus-0.60 |
407 |
+ ) |
408 |
+ ) |
409 |
+" |
410 |
+RDEPEND="${COMMON_DEPEND} |
411 |
+ selinux? ( sec-policy/selinux-mozilla ) |
412 |
+" |
413 |
+DEPEND="${COMMON_DEPEND} |
414 |
+ amd64? ( virtual/opengl ) |
415 |
+ x86? ( virtual/opengl ) |
416 |
+" |
417 |
+ |
418 |
+# allow GMP_PLUGIN_LIST to be set in an eclass or |
419 |
+# overridden in the enviromnent (advanced hackers only) |
420 |
+[[ -z ${GMP_PLUGIN_LIST} ]] && GMP_PLUGIN_LIST=( gmp-gmpopenh264 gmp-widevinecdm ) |
421 |
+ |
422 |
+BUILD_OBJ_DIR="${S}/seamonk" |
423 |
+ |
424 |
+pkg_setup() { |
425 |
+ if [[ ${PV} == *_beta* ]] || [[ ${PV} == *_pre* ]] ; then |
426 |
+ ewarn "You're using an unofficial release of ${PN}. Don't file any bug in" |
427 |
+ ewarn "Gentoo's Bugtracker against this package in case it breaks for you." |
428 |
+ ewarn "Those belong to upstream: https://bugzilla.mozilla.org" |
429 |
+ fi |
430 |
+ |
431 |
+ moz_pkgsetup |
432 |
+} |
433 |
+ |
434 |
+pkg_pretend() { |
435 |
+ # Ensure we have enough disk space to compile |
436 |
+ if use debug || use lto || use test ; then |
437 |
+ CHECKREQS_DISK_BUILD="16G" |
438 |
+ else |
439 |
+ CHECKREQS_DISK_BUILD="12G" |
440 |
+ fi |
441 |
+ check-reqs_pkg_setup |
442 |
+} |
443 |
+ |
444 |
+spkg_setup() { |
445 |
+ # Ensure we have enough disk space to compile |
446 |
+ if use debug || use lto || use test ; then |
447 |
+ CHECKREQS_DISK_BUILD="16G" |
448 |
+ else |
449 |
+ CHECKREQS_DISK_BUILD="12G" |
450 |
+ fi |
451 |
+ check-reqs_pkg_setup |
452 |
+} |
453 |
+ |
454 |
+src_unpack() { |
455 |
+ local l10n_sources="${P}.source-l10n.tar.xz" |
456 |
+ unpack ${A/ ${l10n_sources}} |
457 |
+ |
458 |
+ mkdir "${S}/${P}-l10n" || die |
459 |
+ cd "${S}/${P}-l10n" || die |
460 |
+ unpack ${l10n_sources} |
461 |
+} |
462 |
+ |
463 |
+src_prepare() { |
464 |
+ rm "${WORKDIR}/mozilla/6009_musl_sandbox_membarrier.patch" || die |
465 |
+ |
466 |
+ # Apply our patches |
467 |
+ eapply "${WORKDIR}"/mozilla |
468 |
+ |
469 |
+ # https://bugzilla.mozilla.org/show_bug.cgi?id=1623054 |
470 |
+ eapply "${FILESDIR}/${PN}-2.53.7-ownertab.patch" |
471 |
+ |
472 |
+ # Shell scripts sometimes contain DOS line endings; bug 391889 |
473 |
+ grep -rlZ --include="*.sh" $'\r$' . | |
474 |
+ while read -r -d $'\0' file ; do |
475 |
+ einfo edos2unix "${file}" |
476 |
+ edos2unix "${file}" |
477 |
+ done |
478 |
+ |
479 |
+ use system-libvpx \ |
480 |
+ && eapply -p2 "${WORKDIR}/${PN}-2.53.3-system_libvpx-1.8.patch" |
481 |
+ |
482 |
+ # Allow user to apply any additional patches without modifing ebuild |
483 |
+ eapply_user |
484 |
+ |
485 |
+ # Don't error for format with gcc-9 |
486 |
+ grep -rl -- '-Werror=format' | xargs sed -i 's/error=format/no-&/' || die |
487 |
+ |
488 |
+ # Enable gnomebreakpad |
489 |
+ if use debug ; then |
490 |
+ sed -i -e "s:GNOME_DISABLE_CRASH_DIALOG=1:GNOME_DISABLE_CRASH_DIALOG=0:g" \ |
491 |
+ build/unix/run-mozilla.sh || die |
492 |
+ fi |
493 |
+ |
494 |
+ # Ensure that are plugins dir is enabled as default |
495 |
+ sed -i -e "s:/usr/$(get_libdir)/mozilla/plugins:/usr/$(get_libdir)/${PN}/plugins:" \ |
496 |
+ xpcom/io/nsAppFileLocationProvider.cpp || die |
497 |
+ |
498 |
+ # Don't exit with error when some libs are missing which we have in |
499 |
+ # system. |
500 |
+ sed '/^MOZ_PKG_FATAL_WARNINGS/s@= 1@= 0@' \ |
501 |
+ -i comm/suite/installer/Makefile.in || die |
502 |
+ # Don't error out when there's no files to be removed: |
503 |
+ sed 's@\(xargs rm\)$@\1 -f@' \ |
504 |
+ -i toolkit/mozapps/installer/packager.mk || die |
505 |
+ |
506 |
+ # Don't build libs-% locale files for chatzilla if we are not building chatzilla |
507 |
+ # (this is hard-coded in the build system at present rather than being based on configuration) |
508 |
+ if ! use chatzilla ; then |
509 |
+ sed '/extensions\/irc\/locales libs-/s@^@#@' \ |
510 |
+ -i comm/suite/locales/Makefile.in || die |
511 |
+ fi |
512 |
+ |
513 |
+ eautoreconf old-configure.in |
514 |
+ cd js/src || die |
515 |
+ eautoconf old-configure.in |
516 |
+} |
517 |
+ |
518 |
+src_configure() { |
519 |
+ MEXTENSIONS="default" |
520 |
+ # Google API keys (see http://www.chromium.org/developers/how-tos/api-keys) |
521 |
+ # Note: These are for Gentoo Linux use ONLY. For your own distribution, please |
522 |
+ # get your own set of keys. |
523 |
+ _google_api_key=AIzaSyDEAOvatFo0eTgsV_ZlEzx0ObmepsMzfAc |
524 |
+ |
525 |
+ ###################################### |
526 |
+ # |
527 |
+ # mozconfig, CFLAGS and CXXFLAGS setup |
528 |
+ # |
529 |
+ ###################################### |
530 |
+ |
531 |
+ mozconfig_init |
532 |
+ |
533 |
+ ################################## |
534 |
+ # Former mozconfig_config() part # |
535 |
+ ################################## |
536 |
+ |
537 |
+ # Migrated from mozcoreconf-2 |
538 |
+ mozconfig_annotate 'system_libs' --with-system-bz2 |
539 |
+ mozconfig_annotate 'system_libs' --with-system-zlib |
540 |
+ |
541 |
+ # Disable for testing purposes only |
542 |
+ mozconfig_annotate 'Upstream bug 1341234' --disable-stylo |
543 |
+ |
544 |
+ # Must pass release in order to properly select linker via gold useflag |
545 |
+ mozconfig_annotate 'Enable by Gentoo' --enable-release |
546 |
+ |
547 |
+ # Must pass --enable-gold if using ld.gold |
548 |
+ if tc-ld-is-gold ; then |
549 |
+ mozconfig_annotate 'tc-ld-is-gold=true' --enable-gold |
550 |
+ else |
551 |
+ mozconfig_annotate 'tc-ld-is-gold=false' --disable-gold |
552 |
+ fi |
553 |
+ |
554 |
+ # Enable position independent executables |
555 |
+ mozconfig_annotate 'enabled by Gentoo' --enable-pie |
556 |
+ |
557 |
+ mozconfig_use_enable debug |
558 |
+ mozconfig_use_enable debug tests |
559 |
+ if ! use debug ; then |
560 |
+ mozconfig_annotate 'disabled by Gentoo' --disable-debug-symbols |
561 |
+ else |
562 |
+ mozconfig_annotate 'enabled by Gentoo' --enable-debug-symbols |
563 |
+ fi |
564 |
+ |
565 |
+ mozconfig_use_enable startup-notification |
566 |
+ |
567 |
+ # wifi pulls in dbus so manage both here |
568 |
+ mozconfig_use_enable wifi necko-wifi |
569 |
+ if use kernel_linux && use wifi && ! use dbus ; then |
570 |
+ echo "Enabling dbus support due to wifi request" |
571 |
+ mozconfig_annotate 'dbus required by necko-wifi on linux' --enable-dbus |
572 |
+ else |
573 |
+ mozconfig_use_enable dbus |
574 |
+ mozconfig_annotate 'disabled' --disable-necko-wifi |
575 |
+ fi |
576 |
+ |
577 |
+ # These are enabled by default in all mozilla applications |
578 |
+ mozconfig_annotate '' --with-system-nspr --with-nspr-prefix="${SYSROOT}${EPREFIX}"/usr |
579 |
+ mozconfig_annotate '' --with-system-nss --with-nss-prefix="${SYSROOT}${EPREFIX}"/usr |
580 |
+ mozconfig_annotate '' --x-includes="${SYSROOT}${EPREFIX}"/usr/include --x-libraries="${SYSROOT}${EPREFIX}"/usr/$(get_libdir) |
581 |
+ if use system-libevent ; then |
582 |
+ mozconfig_annotate '' --with-system-libevent="${SYSROOT}${EPREFIX}"/usr |
583 |
+ fi |
584 |
+ mozconfig_annotate '' --prefix="${EPREFIX}"/usr |
585 |
+ mozconfig_annotate '' --libdir="${EPREFIX}"/usr/$(get_libdir) |
586 |
+ mozconfig_annotate 'Gentoo default' --enable-system-hunspell |
587 |
+ mozconfig_annotate '' --disable-crashreporter |
588 |
+ mozconfig_annotate 'Gentoo default' --with-system-png |
589 |
+ mozconfig_annotate '' --enable-system-ffi |
590 |
+ mozconfig_annotate '' --disable-gconf |
591 |
+ mozconfig_annotate '' --with-intl-api |
592 |
+ |
593 |
+ # skia has no support for big-endian platforms |
594 |
+ if [[ $(tc-endian) == "big" ]] ; then |
595 |
+ mozconfig_annotate 'big endian target' --disable-skia |
596 |
+ else |
597 |
+ mozconfig_annotate '' --enable-skia |
598 |
+ fi |
599 |
+ |
600 |
+ # default toolkit is cairo-gtk3, optional use flags can change this |
601 |
+ mozconfig_annotate '' --enable-default-toolkit=cairo-gtk3 |
602 |
+ |
603 |
+ # Instead of the standard --build= and --host=, mozilla uses --host instead |
604 |
+ # of --build, and --target intstead of --host. |
605 |
+ # Note, mozilla also has --build but it does not do what you think it does. |
606 |
+ # Set both --target and --host as mozilla uses python to guess values otherwise |
607 |
+ mozconfig_annotate '' --target="${CHOST}" |
608 |
+ mozconfig_annotate '' --host="${CBUILD:-${CHOST}}" |
609 |
+ |
610 |
+ mozconfig_use_enable pulseaudio |
611 |
+ # force the deprecated alsa sound code if pulseaudio is disabled |
612 |
+ if use kernel_linux && ! use pulseaudio ; then |
613 |
+ mozconfig_annotate '-pulseaudio' --enable-alsa |
614 |
+ fi |
615 |
+ |
616 |
+ # For testing purpose only |
617 |
+ mozconfig_annotate 'Sandbox' --enable-content-sandbox |
618 |
+ |
619 |
+ mozconfig_use_enable system-sqlite |
620 |
+ mozconfig_use_with system-jpeg |
621 |
+ mozconfig_use_with system-icu |
622 |
+ mozconfig_use_with system-libvpx |
623 |
+ mozconfig_use_with system-harfbuzz |
624 |
+ mozconfig_use_with system-harfbuzz system-graphite2 |
625 |
+ mozconfig_use_with system-av1 |
626 |
+ |
627 |
+ # Modifications to better support ARM, bug 553364 |
628 |
+ if use cpu_flags_arm_neon ; then |
629 |
+ mozconfig_annotate '' --with-fpu=neon |
630 |
+ mozconfig_annotate '' --with-thumb=yes |
631 |
+ mozconfig_annotate '' --with-thumb-interwork=no |
632 |
+ fi |
633 |
+ if [[ ${CHOST} == armv* ]] ; then |
634 |
+ mozconfig_annotate '' --with-float-abi=hard |
635 |
+ if ! use system-libvpx ; then |
636 |
+ sed -i -e "s|softfp|hard|" media/libvpx/moz.build || die |
637 |
+ fi |
638 |
+ fi |
639 |
+ |
640 |
+ if use lto ; then |
641 |
+ # Linking only works when using ld.gold when LTO is enabled |
642 |
+ mozconfig_annotate "forcing ld=gold due to USE=lto" --enable-linker=gold |
643 |
+ # ThinLTO is currently broken, see bmo#1644409 |
644 |
+ mozconfig_annotate '+lto' --enable-lto=full |
645 |
+ else |
646 |
+ if tc-ld-is-gold ; then |
647 |
+ mozconfig_annotate "linker is set to gold" --enable-linker=gold |
648 |
+ else |
649 |
+ mozconfig_annotate "linker is set to bfd" --enable-linker=bfd |
650 |
+ fi |
651 |
+ fi |
652 |
+ # LTO flag was handled via configure |
653 |
+ filter-flags '-flto*' |
654 |
+ |
655 |
+ ################################## |
656 |
+ # Former mozconfig_config() end # |
657 |
+ ################################## |
658 |
+ |
659 |
+ # enable JACK, bug 600002 |
660 |
+ mozconfig_use_enable jack |
661 |
+ |
662 |
+ # It doesn't compile on alpha without this LDFLAGS |
663 |
+ use alpha && append-ldflags "-Wl,--no-relax" |
664 |
+ |
665 |
+ # Linking fails without this due to memory exhaustion |
666 |
+ use x86 && append-ldflags "-Wl,--no-keep-memory" |
667 |
+ |
668 |
+ if ! use chatzilla ; then |
669 |
+ MEXTENSIONS+=",-irc" |
670 |
+ fi |
671 |
+ if ! use roaming ; then |
672 |
+ MEXTENSIONS+=",-sroaming" |
673 |
+ fi |
674 |
+ |
675 |
+ # Setup api key for location services |
676 |
+ echo -n "${_google_api_key}" > "${S}"/google-api-key |
677 |
+ mozconfig_annotate '' --with-google-location-service-api-keyfile="${S}/google-api-key" |
678 |
+ mozconfig_annotate '' --with-google-safebrowsing-api-keyfile="${S}/google-api-key" |
679 |
+ |
680 |
+ mozconfig_annotate '' --enable-extensions="${MEXTENSIONS}" |
681 |
+ |
682 |
+ # use startup-cache for faster startup time |
683 |
+ mozconfig_annotate '' --enable-startupcache |
684 |
+ |
685 |
+ # Use an objdir to keep things organized. |
686 |
+ echo "mk_add_options MOZ_OBJDIR=${BUILD_OBJ_DIR}" >> "${S}"/.mozconfig |
687 |
+ echo "mk_add_options XARGS=/usr/bin/xargs" >> "${S}"/.mozconfig |
688 |
+ |
689 |
+ mozlinguas_mozconfig |
690 |
+ |
691 |
+ # Finalize and report settings |
692 |
+ mozconfig_final |
693 |
+ |
694 |
+ # Work around breakage in makeopts with --no-print-directory |
695 |
+ MAKEOPTS="${MAKEOPTS/--no-print-directory/}" |
696 |
+ |
697 |
+ if [[ $(gcc-major-version) -lt 4 ]] ; then |
698 |
+ append-cxxflags -fno-stack-protector |
699 |
+ elif [[ $(gcc-major-version) -gt 4 || $(gcc-minor-version) -gt 3 ]] ; then |
700 |
+ if use amd64 || use x86 ; then |
701 |
+ append-flags -mno-avx |
702 |
+ fi |
703 |
+ fi |
704 |
+ |
705 |
+ # Pass $MAKEOPTS to build system |
706 |
+ export MOZ_MAKE_FLAGS="${MAKEOPTS}" |
707 |
+ # Use system's Python environment |
708 |
+ #export MACH_USE_SYSTEM_PYTHON=1 |
709 |
+ # Disable notification when build system has finished |
710 |
+ export MOZ_NOSPAM=1 |
711 |
+ |
712 |
+ # workaround for funky/broken upstream configure... |
713 |
+ SHELL="${SHELL:-${EPREFIX}/bin/bash}" \ |
714 |
+ emake V=1 -f client.mk configure |
715 |
+ #./mach configure || die |
716 |
+} |
717 |
+ |
718 |
+src_compile() { |
719 |
+ MOZ_MAKE_FLAGS="${MAKEOPTS}" SHELL="${SHELL}" \ |
720 |
+ emake V=1 -f client.mk |
721 |
+ #./mach build --verbose || die |
722 |
+ |
723 |
+ mozlinguas_src_compile |
724 |
+} |
725 |
+ |
726 |
+src_install() { |
727 |
+ MOZILLA_FIVE_HOME="/usr/$(get_libdir)/${PN}" |
728 |
+ DICTPATH="\"${EPREFIX}/usr/share/myspell\"" |
729 |
+ |
730 |
+ local emid |
731 |
+ cd "${BUILD_OBJ_DIR}" || die |
732 |
+ |
733 |
+ # Pax mark xpcshell for hardened support, only used for startupcache creation. |
734 |
+ pax-mark m dist/bin/xpcshell |
735 |
+ |
736 |
+ # Copy our preference before omnijar is created. |
737 |
+ sed "s|SEAMONKEY_PVR|${PVR}|" "${FILESDIR}"/all-gentoo-1.js > \ |
738 |
+ dist/bin/defaults/pref/all-gentoo.js \ |
739 |
+ || die |
740 |
+ |
741 |
+ # Set default path to search for dictionaries. |
742 |
+ echo "pref(\"spellchecker.dictionary_path\", ${DICTPATH});" \ |
743 |
+ >> dist/bin/defaults/pref/all-gentoo.js \ |
744 |
+ || die |
745 |
+ |
746 |
+ echo 'pref("extensions.autoDisableScopes", 3);' >> \ |
747 |
+ dist/bin/defaults/pref/all-gentoo.js \ |
748 |
+ || die |
749 |
+ |
750 |
+ local plugin |
751 |
+ if ! use gmp-autoupdate ; then |
752 |
+ for plugin in "${GMP_PLUGIN_LIST[@]}" ; do |
753 |
+ echo "pref(\"media.${plugin}.autoupdate\", false);" >> \ |
754 |
+ dist/bin/defaults/pref/all-gentoo.js || die |
755 |
+ done |
756 |
+ fi |
757 |
+ |
758 |
+ MOZ_MAKE_FLAGS="${MAKEOPTS}" SHELL="${SHELL:-${EPREFIX}/bin/bash}" \ |
759 |
+ emake DESTDIR="${D}" install |
760 |
+ MOZ_P="${MY_MOZ_P}" mozlinguas_src_install |
761 |
+ |
762 |
+ cp "${FILESDIR}"/${PN}.desktop "${T}" || die |
763 |
+ |
764 |
+ sed 's|^\(MimeType=.*\)$|\1text/x-vcard;text/directory;application/mbox;message/rfc822;x-scheme-handler/mailto;|' \ |
765 |
+ -i "${T}"/${PN}.desktop || die |
766 |
+ sed 's|^\(Categories=.*\)$|\1Email;|' -i "${T}"/${PN}.desktop \ |
767 |
+ || die |
768 |
+ |
769 |
+ # Install icon and .desktop for menu entry |
770 |
+ newicon "${S}"/comm/suite/branding/${PN}/default64.png ${PN}.png |
771 |
+ domenu "${T}"/${PN}.desktop |
772 |
+ |
773 |
+ # Required in order to use plugins and even run seamonkey on hardened. |
774 |
+ pax-mark m "${ED}"/${MOZILLA_FIVE_HOME}/{seamonkey,seamonkey-bin,plugin-container} |
775 |
+ |
776 |
+ if use minimal ; then |
777 |
+ rm -r "${ED}"/usr/include "${ED}/${MOZILLA_FIVE_HOME}"/{idl,include,lib,sdk} || die |
778 |
+ fi |
779 |
+ |
780 |
+ if use chatzilla ; then |
781 |
+ emid='{59c81df5-4b7a-477b-912d-4e0fdf64e5f2}' |
782 |
+ |
783 |
+ # remove the en_US-only xpi file so a version with all requested locales can be installed |
784 |
+ if [[ -e "${ED}"/${MOZILLA_FIVE_HOME}/distribution/extensions/${emid}.xpi ]] ; then |
785 |
+ rm -f "${ED}"/${MOZILLA_FIVE_HOME}/distribution/extensions/${emid}.xpi || die |
786 |
+ fi |
787 |
+ |
788 |
+ # merge the extra locales into the main extension |
789 |
+ mozlinguas_xpistage_langpacks dist/xpi-stage/chatzilla |
790 |
+ |
791 |
+ # install the merged extension |
792 |
+ mkdir -p "${T}/${emid}" || die |
793 |
+ cp -RLp -t "${T}/${emid}" dist/xpi-stage/chatzilla/* || die |
794 |
+ insinto ${MOZILLA_FIVE_HOME}/distribution/extensions |
795 |
+ doins -r "${T}/${emid}" |
796 |
+ fi |
797 |
+ |
798 |
+ # Provide a place for plugins |
799 |
+ keepdir "${MOZILLA_FIVE_HOME}/plugins" |
800 |
+ |
801 |
+ # revdep-rebuild entry |
802 |
+ insinto /etc/revdep-rebuild |
803 |
+ echo "SEARCH_DIRS_MASK=${MOZILLA_FIVE_HOME}*" >> ${T}/11${PN} |
804 |
+ doins "${T}"/11${PN} |
805 |
+ |
806 |
+} |
807 |
+ |
808 |
+pkg_preinst() { |
809 |
+ SEAMONKEY_PLUGINS_DIR="${ROOT}/usr/$(get_libdir)/${PN}/plugins" |
810 |
+ |
811 |
+ if [[ -L "${SEAMONKEY_PLUGINS_DIR}" ]] ; then |
812 |
+ rm "${SEAMONKEY_PLUGINS_DIR}" || die |
813 |
+ fi |
814 |
+} |
815 |
+ |
816 |
+pkg_postinst() { |
817 |
+ # Update mimedb for the new .desktop file |
818 |
+ xdg_desktop_database_update |
819 |
+ |
820 |
+ if ! use gmp-autoupdate ; then |
821 |
+ elog "USE='-gmp-autoupdate' has disabled the following plugins from updating or" |
822 |
+ elog "installing into new profiles:" |
823 |
+ local plugin |
824 |
+ for plugin in "${GMP_PLUGIN_LIST[@]}"; do elog "\t ${plugin}" ; done |
825 |
+ fi |
826 |
+ |
827 |
+ if use chatzilla ; then |
828 |
+ elog "chatzilla is now an extension which can be en-/disabled and configured via" |
829 |
+ elog "the Add-on manager." |
830 |
+ fi |
831 |
+} |
832 |
+ |
833 |
+pkg_postrm() { |
834 |
+ xdg_desktop_database_update |
835 |
+} |