summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--www-client/seamonkey/Manifest25
-rw-r--r--www-client/seamonkey/seamonkey-2.48_beta1.ebuild428
2 files changed, 0 insertions, 453 deletions
diff --git a/www-client/seamonkey/Manifest b/www-client/seamonkey/Manifest
index 73d2d832c0a0..b0a443c4f950 100644
--- a/www-client/seamonkey/Manifest
+++ b/www-client/seamonkey/Manifest
@@ -49,28 +49,3 @@ DIST seamonkey-2.48-sv-SE.xpi 930510 SHA256 831a4b42faa31f4006984269e2d6d3472a0f
DIST seamonkey-2.48-zh-CN.xpi 934871 SHA256 991629043056dd722202116ef026aeb86a8615539aabf41a28b6a78da63eab7b SHA512 18485d34b90f3f619dde55c1772c5f4873a4efd5b828755eec28b20aa74d98050ccd206b19fa409ab6bea7f0053a94f2d684b54e19f763004fb752ad8e002d2c WHIRLPOOL cb8f4f34abd0eddd3f815c0b6d5efb30aa9cf7b29a2c1e948cd429befe732e6143bfb15b723cfab1c18eac7f18538ab33ee3ca4ba9c9eeae5ca8cd590cb78877
DIST seamonkey-2.48-zh-TW.xpi 991735 SHA256 bb41ee50948baca9e78ae1ba0174046bde21d7bb823c6b365e32d7a8c6a9c50f SHA512 d14be0b9da910e3c7014c4ac9e6fc8270eb43176623280c55eec9e63c5fd0ce9b83db781cdbcd1eae67281fd09ad6dc2218df479e66076878c6bda12c2f2eeb3 WHIRLPOOL cc9bda10829ad4149e28b82f59580bc5d2a8d91c00c0e153bdb130be60e57f155df72929029f92c61ef444b5cea48bb47e10aa48615af4686e2dfc8370565c09
DIST seamonkey-2.48.source.tar.xz 220412744 SHA256 6f9a07c86ba6474b44e5083f9d1315d01778c097937f7da4c5701debffab2631 SHA512 b1992a1dbaeb045aea10ff02aa214ec0c1725e3ad0844d2dffd1c0d0c26754fbd98b5fb5df25a2a490ebcb7a47037c61599b0a2e9240338b4e769e529faa33cf WHIRLPOOL ab0a2ee21efb8d446283ae1df6b2af8fe318fe5dbb41563c140f13f59780c8f252028019d9c181e0b0369201808dfe306058ac6fb5d7207cfbc241ba098ab7a6
-DIST seamonkey-2.48_beta1-ca.xpi 934005 SHA256 ec7b4bf0340f678700eef060f57c7eeddca7bf8085f604a9a111c4784c66b3bd SHA512 69945260ce53ad14358c6da24a68d3b34459a3f5c045f73db86c4766b2c3f321bb57daa9d3a456b7ee751b39595fcc0d10fdd1b18efc2556732048fbdfbebf14 WHIRLPOOL 0d425578721dff88f94dae79426309eba2064c98e8eabfe94e5ee672007d8f6fa0d01561a058af17d78ab07753d8a12b6ec887902892ecdbcd8330d3e7dc2144
-DIST seamonkey-2.48_beta1-cs.xpi 929570 SHA256 a8b955affee247a1c541bcca68fa383444fcf5db37659da045f47c0f6451d351 SHA512 edaf752c349eff6b0b49e4c63e93b64027b9183ad2c30aab43bd2159ef3e0ca61d6ba0cca7d222372bb051163d9b62377de017b31ecb29e34b95e9eabab7ea83 WHIRLPOOL 0400b151e39d0e6dacac68bc6a6c055f4188d238eb99bfc26d9507492705f4b52be6f9ef16e7e197ee06c7a656144ca0218bf3e6774b5d1a6557d635e19e4926
-DIST seamonkey-2.48_beta1-de.xpi 937351 SHA256 66cf0338e5607582824dffbd71dd6d82954275501de50bca3ebe70a2462c2b8a SHA512 8a9ad75af63685b86e8c0a1191b83ea25d0c01870e700a2cf9b9a2c1f8793570320acae408f686699d19ec2467064582c8d5e4fa6220b40d02e928e7185a1797 WHIRLPOOL b7846922cc6cbed3ac566fc6e3324f507101cc5689ea061e17eb635281edfabc39cc0bf506b71a84918ad624977149ad383075553ff810c0d48bb025c46f09cf
-DIST seamonkey-2.48_beta1-en-GB.xpi 901731 SHA256 835dbdca2c0d40be3e76045ec04932f0fff8223030febf7533885b9ff9868067 SHA512 25a8eb0b532ab7becbf60dbf9e6720b389d820fb51805c5447161e55e52426344590b2efe92d7fd151b097e48cc148a712b6b18229a286fc42e8e0147620a685 WHIRLPOOL 9ee2f546daec2c9b16325678dbc032a70bf89807fa8b4cdad0125053fd9ef784aecf883692ce8ce26cac9e3e0533dbefe0620e7b626779ea97bda6548c4ad260
-DIST seamonkey-2.48_beta1-es-AR.xpi 941407 SHA256 78680bec36912e021ab35f144bd51c726dc9ce8031dbf7012bf9f2ef685872f4 SHA512 06802ad0e68255d6e0b2f216d71d806ac26c486f9b0c802e54604f842da5fb84cc073e35bb4fbed9f7d964a6a9c4f28041da2821ae70461a6837f0872697dc57 WHIRLPOOL e526aad56c54aaa16faad2811bf37e804574190140bed0cdf8878553c27bf4861ff125c3b2365bf7d130590c6a5cb4c90d855acef186c29dc8360b7884359dfc
-DIST seamonkey-2.48_beta1-es-ES.xpi 890255 SHA256 37702e2d54e965c6dffbd5c0c7bde9e4494ddfa9fc984136c826974a9fd253e5 SHA512 72d0fad247be52ddae72ef1265c84441677eaeb8f6633c21c9bd4b9f2b84898cd4ddbb46932e0dd041b4afbd04357b85e77e76b6e3533f6f55857a528c98f2f7 WHIRLPOOL 2b8d9c000f219754c8061935c43367bcb09c5a1ce8dbc39e850979c6549d1dfa24f6d3136147e3aced920b24e000e42a16b82a2d91c92783376130ac75b90e71
-DIST seamonkey-2.48_beta1-fi.xpi 891903 SHA256 aaa667e5435293e804564861cbe221628eefc1a3a1ec529967528cc62d8cb627 SHA512 1557ec23f311e97c2187f93768e952413463310bfcb6680712c8853075bc791e4b0f2ad19fa2dc1cfc0816d178350ad3568b904bb1f7b8d2b43515785746e89e WHIRLPOOL f6a905bece77f11a733eeee4c918245bc34a22c69150b5f17c331d8c129445f4225d8a6979a49672d66cc25495a12847ee4317adb6a02d503a622eeec82139ba
-DIST seamonkey-2.48_beta1-fr.xpi 957402 SHA256 f7a7c207878bfc84e9dd53f7111f00b7c297ad9c75c594ef4df4ddac532179a2 SHA512 ab5c57722026dd1abc1311cb3f72c452c3aaa6ade7a9737cdfeee6c97319b82a196d0ff79893e270e162a02c00aac67cbdcf7e9ba507d2a15844d47416db7a6a WHIRLPOOL fb00205bd4578494b4a091cd79cd9296211c05b9f97724314fd76cd107b58505fa31dce6bb541206f775f26bdd7de9528202b5870130c62c9e414876f0fac934
-DIST seamonkey-2.48_beta1-gl.xpi 910182 SHA256 7217bc8a3329d578e3afca1605562199b93dd586eba7107d9d958c834201c591 SHA512 b6c3569dfc8c736a3c1434afcd59b14a1159b8286b4a27246f37874bf21af3362e4202eb9d446c7d2145e04f78fe09e192e3615c23aec6236e440ef4bbf5b098 WHIRLPOOL 33c107bd14e9cc9ed94487f8937d401ea25af7e4ddfa418ad432968d7566a7709d988272fa3eec073c80927d29543eaa3d14c03911a88eacf3a362f9138d0a1b
-DIST seamonkey-2.48_beta1-hu.xpi 943677 SHA256 2f1138ca9a9d1321dbe38d24cc0b6994a4a1569eb2bd4baebbcec00ed0e5355e SHA512 5f6bd359df25fa979a480f8c82ca2b0795a8c380075e2ac68290c939b48bb9cc0c6940166efe9dd2b24ce75b4b84e18ef781430ccca7ddda9d6141703fdeaec9 WHIRLPOOL 0bc0c7d95a3d130cc5daba4ae361c52d214dd0b8976d476706a178587d439e219dae63ca7189dd425371cb16ead898fb275641f6ffdf9806d9a6815e396f6295
-DIST seamonkey-2.48_beta1-it.xpi 783035 SHA256 f0084a1ce0681a1e3038597c6a77a2f3436b91166263f50b325a86cf9c708716 SHA512 c083aecefa5b77e3a7472fc40ac1627147037ba0a6f856d4d0c83ce848d2253acd2fadf80beaa68fd1f260e39cde675c0a26e00907ebb9b0f2f7443cab7edd35 WHIRLPOOL 89cc3c1ce60aae88002f608df9ed6718a9037f9eaa67e22d44c6e29e3dc2f4af4ae3a767e6b36ccde5561564c63a4f40d866811ac9cedf6f472955ef979be6f8
-DIST seamonkey-2.48_beta1-ja.xpi 1027353 SHA256 fb3029513e8fcf9713b5ad565e66ee6842d59822af509336e56b713373fce6bd SHA512 67172ad5d7c14f5d1f8dc66825d1ba328c5396bf3e2b18b0c12568fb7792d8ddd845e8212ee92ccc14519c7646d6170802633ce71fbfbb95bd575f9fb4304bfd WHIRLPOOL f018614bb361ccd139360c85ac8235e94be037e1bdaca2d4479b327de1e9f58cf98fd3cdfbe5a8bda550563b0d84b139c6ddd7a1159550a9697e95482177b7a4
-DIST seamonkey-2.48_beta1-lt.xpi 944779 SHA256 54ccbd5b07e8260462ec060135f969a10dd94569238958fd96bde55e0cf61056 SHA512 599a8d6295237237a2be5710faaa3ddf11789db0f9223415cc471dd864fd357ee56e173bc443b13a8e4414f2e571fea9556926fa423a4042edb74e9fcbc99547 WHIRLPOOL 1a547f9f3edaf7c3e8602527cd3dc3dc9ccae51dd3e0d366b1ed6516e1434db2f06c79b40ac42f2770b67db0320cf70e0f51ab9cd57619ffcb190ad498527344
-DIST seamonkey-2.48_beta1-nb-NO.xpi 915870 SHA256 d991c49d2ca146bcc749a02de4c50f93e8db30dddb1a101dcf9e870f4d8b530d SHA512 6ee74a37e677a04f667cd71cbeabf1600ae55ecb0018687a8d20d00cf6911e549011a570dd8d1bf8ae0a753170ffe9cf2e7ef961ad7f68549cf4a9093aaf9093 WHIRLPOOL b910225636801565cd5429cf42e510202566b7e2a3106913db7e7183ee5c86fb77fbd6e554b0221970e99346be771ddefc543cf0a442bab8708c689c2064e3a4
-DIST seamonkey-2.48_beta1-nl.xpi 946317 SHA256 a2de7dcc53b7d0db496a8f1efab774fa603b4635a200fcf00cb503ebebb3227d SHA512 864526d3898171454e3a6acc199c8653348631e936d411bd9006da285706bd6500f83bda00d7ef8fcdb0223b626c78fc20fda47b1bed488637dc6fc74626119a WHIRLPOOL a9c50223d6976ecaded684a5e0a7d62e21bc5a5e32616906d41f7f7dd0d5421bd2ab2838e9788fa30843eb292e0ce16f79af826e89391f35ff1ff2ada9c7d925
-DIST seamonkey-2.48_beta1-pl.xpi 905621 SHA256 4083874a25597b833d4b9473f05bdac1f7de92d5f095793597a9fc855cb160b0 SHA512 cfa4cfa12d52b39fc8abdd57ad0438fcf613997fa28e0625eb2b15b2ac0d0851dfdc629161eac91534a42bc5b51108dd93733d89f094fb783be651015c15c03d WHIRLPOOL 5fb90db4ab9c67edfc5395354c31ab5f8b73751690194c5ef1ed28dec86fc929fd158394fe101801c7c45d2e55c3f6776906defc447fbceb5ee0ad0c62b1596c
-DIST seamonkey-2.48_beta1-pt-PT.xpi 928435 SHA256 2c22ee0372cebea03737f6b506a0aaf002e67be9ed26662f70204250964dc642 SHA512 86795aa2fcfa1b52973c132f230273c9ebe9c271f5be3f279ec43c76ff35fd45c8d3b72076748d71924711a4dc2c39b23fcdee88aa62a731f947ffdea9613051 WHIRLPOOL 09908f154cd07591eff559e890501d9ac9c4c8aa63e2d21326bbc8d1fc73c5fd72ac92ad0ef3790cb2cfca94847f783b9072adf6f93e87a076310f4ebdf92b32
-DIST seamonkey-2.48_beta1-ru.xpi 986167 SHA256 0ee69e3b81708004bb7c155b68343a80d15c60735a603207a86939ff7b033060 SHA512 a21b6647ebf91eae3ce8467d9b71d8a80a8478d7701dd777c0ab8d517e85fce6a06f0438e68a01c9439612ff3f51b6626be2c9c5cc637be5980d9870ee7ad813 WHIRLPOOL c586a913610bd7a4b6936f182854a838769cb2da7db01832cc0c7af1b9a2bf2a2188a39066791ade18b0697a8d49cc02aaaaa48b9bb61360614c6e2c3afcf183
-DIST seamonkey-2.48_beta1-sk.xpi 956279 SHA256 cc176898ef9cb67728f0ed3eae24336cf52582bf0144a894f3fa04fc71140861 SHA512 08d4c51cb6b23e522fb41f2cb507fd459afd4b02a9f27d5249b76a5e9105d48cd44c210d28e5a4575b0f9565e3c73c16c7f7136a65b006440183646e640c3761 WHIRLPOOL 270fb04dc96e23d7fb9716e1afa316f4d6f9a6a03fc315e8cffef0cd354c79085e23c835163ac7cee3d58ebc31e9d231d95d70e5444b0194bb5231577cf79b0f
-DIST seamonkey-2.48_beta1-sv-SE.xpi 930510 SHA256 831a4b42faa31f4006984269e2d6d3472a0f1450f92895fb8190c1719e2ff2c8 SHA512 098ffc81d2115f055b2cf4f5ef195e1f6bb58068d143225dba42dff00a5efb8d660641c4bd295f1bcccd3c032f6bdc940e20f9e4ba6aa7d3624cf61e9ee8440f WHIRLPOOL 019946480deb17c9a73886fa93e68eecdcaef46d7670d727c34dc6055e0a4b88a626c505c8ac3d4d19961499f303403ebb9668ce56030cb1abea061e00909cb9
-DIST seamonkey-2.48_beta1-tr.xpi 906685 SHA256 c59eac3162289789c5b6877be76bcc07dc235156584ad2fa91c8e3684d2ccf64 SHA512 9a8e1ac6392e953248ef5957a47b48496d286474f4d4aaf2fc3c565470afa1c112601a3c4b2f14593d5cf4db72c2bdb6f1f8d2766d4f3a848f281425602a82fe WHIRLPOOL c99f9a51b29c593f4e33bfc5b56ebaab607e10224783f12639d0a9c56a38deb00944c0c898f972a7a1fcde53cab75b4c5a896fc4bf27c45d3954d334b1138c40
-DIST seamonkey-2.48_beta1-uk.xpi 988358 SHA256 b7708142b9700236d0ed5c49c82ea9057adc540e1df6162a7d937f9aa4bc48d8 SHA512 127c3d0fc4f34859cc4344e56652026d93f9bbdd6bb636d80925f76a07d92f61c9db708be8ab3b4a0ccf7545361d9236bfd5245fcc7e2ddc2b1a3c07aa0f9c57 WHIRLPOOL 876cbc23fb1889ba134cc844865fd610f65d1af80c216b561bc4af4edef3f4d570956a298310b32bdb4313feb763f3af201525bcf1f07512ba90098315f4a9ad
-DIST seamonkey-2.48_beta1-zh-CN.xpi 942530 SHA256 6e4ae5043546a7c8dc4516c542a6e8d2af5e4a24d33ec1dec5cada481d0d0e9e SHA512 7f7af4e4546b77a847b1dd5821e40b6ae213bdc0190c1babe84334c13b0c48d4f482f22b8f43e442eb9d26e403a3337c2067a1076375b47e9a659b2868e24dfa WHIRLPOOL 46228dd5711d1d629bfbde91199333453a55a983ecae7562df1d8538237430d3979818bdcd78cba9ac4bde1a1806ce471bfa352e9b7c8fd6db7da9ed62eb51b8
-DIST seamonkey-2.48_beta1-zh-TW.xpi 991735 SHA256 bb41ee50948baca9e78ae1ba0174046bde21d7bb823c6b365e32d7a8c6a9c50f SHA512 d14be0b9da910e3c7014c4ac9e6fc8270eb43176623280c55eec9e63c5fd0ce9b83db781cdbcd1eae67281fd09ad6dc2218df479e66076878c6bda12c2f2eeb3 WHIRLPOOL cc9bda10829ad4149e28b82f59580bc5d2a8d91c00c0e153bdb130be60e57f155df72929029f92c61ef444b5cea48bb47e10aa48615af4686e2dfc8370565c09
-DIST seamonkey-2.48_beta1.source.tar.xz 220308524 SHA256 c042cf76689b279d439db9953d4981197061f4ebe7c3eb8177a9cccf9c1e4987 SHA512 2fa3f272797735a5911beb55dcaf8ac0fef40a93c6aa593dcbf721d9783a0a038b2db9e8d4ef13f69de43770f846e7fbb644914d6cc6c702aa64e33323646e45 WHIRLPOOL fb541ff56461fd22e1b2ee92b165be235934262856aa222fec3d47c330f9390c935b0c3b9841ad5dabc540fdcae0148107213bea30b4ac20c8a30796ca713c75
diff --git a/www-client/seamonkey/seamonkey-2.48_beta1.ebuild b/www-client/seamonkey/seamonkey-2.48_beta1.ebuild
deleted file mode 100644
index 9f5f5eb9e1c7..000000000000
--- a/www-client/seamonkey/seamonkey-2.48_beta1.ebuild
+++ /dev/null
@@ -1,428 +0,0 @@
-# Copyright 1999-2017 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-WANT_AUTOCONF="2.1"
-
-# This list can be updated with scripts/get_langs.sh from the mozilla overlay
-# note - could not roll langpacks for: ca fi
-MOZ_LANGS=(ca cs de en-GB es-AR es-ES fi fr gl hu it ja lt nb-NO nl pl pt-PT
- ru sk sv-SE tr uk zh-CN zh-TW)
-
-MOZ_PV="${PV/_pre*}"
-MOZ_PV="${MOZ_PV/_alpha/a}"
-MOZ_PV="${MOZ_PV/_beta/b}"
-MOZ_PV="${MOZ_PV/_rc/rc}"
-MOZ_PV="${MOZ_PV/_p[0-9]}"
-MOZ_P="${P}"
-MY_MOZ_P="${PN}-${MOZ_PV}"
-
-if [[ ${PV} == *_pre* ]] ; then
-# the following are for upstream build candidates
- MOZ_HTTP_URI="https://archive.mozilla.org/pub/${PN}/candidates/${MOZ_PV}-candidates/build${PV##*_pre}"
- MOZ_LANGPACK_PREFIX="linux-i686/xpi/"
- SRC_URI+=" ${MOZ_HTTP_URI}/source/${MY_MOZ_P}.source.tar.xz -> ${P}.source.tar.xz"
- S="${WORKDIR}/${MY_MOZ_P}"
- # And the langpack stuff stays at eclass defaults
-# the following is for self-rolled releases
- #MOZ_HTTP_URI="https://dev.gentoo.org/~axs/distfiles"
- #MOZ_LANGPACK_PREFIX="${MY_MOZ_P}."
- #MOZ_LANGPACK_SUFFIX=".langpack.xpi"
- #SRC_URI="${SRC_URI}
- #${MOZ_HTTP_URI}/${P}.source.tar.xz
- #"
-elif [[ ${PV} == *_p[0-9] ]]; then
- # gentoo-unofficial release using thunderbird distfiles to build seamonkey instead
- TB_MAJOR=45
- SMPV="${PV%.[0-9].*}"
- MOZ_P="${PN}-${SMPV}"
- MOZ_HTTP_URI="https://archive.mozilla.org/pub/thunderbird/releases/${MOZ_PV/${SMPV}/${TB_MAJOR}}"
- MOZ_GENERATE_LANGPACKS=1
- S="${WORKDIR}/thunderbird-${MOZ_PV/${SMPV}/${TB_MAJOR}}"
- SRC_URI="${SRC_URI}
- ${MOZ_HTTP_URI}/source/${MY_MOZ_P/${MOZ_P}/thunderbird-${TB_MAJOR}}.source.tar.xz
- https://dev.gentoo.org/~axs/distfiles/${PN}-2.42.3.0-l10n-sources.tar.xz
- https://dev.gentoo.org/~axs/distfiles/chatzilla-2.42.tar.xz
- https://dev.gentoo.org/~axs/distfiles/dom-inspector-2.0.16.tar.xz
- "
-else
- MOZ_HTTP_URI="https://archive.mozilla.org/pub/${PN}/releases/${MOZ_PV}"
- MOZ_LANGPACK_PREFIX="langpack/${MY_MOZ_P}."
- MOZ_LANGPACK_SUFFIX=".langpack.xpi"
- S="${WORKDIR}/${PN}-${MOZ_PV}"
- SRC_URI="${SRC_URI}
- ${MOZ_HTTP_URI}/source/${MY_MOZ_P}.source.tar.xz -> ${P}.source.tar.xz
- "
-fi
-
-MOZCONFIG_OPTIONAL_GTK3=1
-MOZCONFIG_OPTIONAL_WIFI=1
-inherit check-reqs flag-o-matic toolchain-funcs eutils mozconfig-v6.51 multilib pax-utils fdo-mime autotools mozextension nsplugins mozlinguas-v2
-
-PATCHFF="firefox-51.0-patches-06"
-PATCH="${PN}-2.46-patches-01"
-EMVER="1.9.6.1"
-
-DESCRIPTION="Seamonkey Web Browser"
-HOMEPAGE="http://www.seamonkey-project.org"
-KEYWORDS="~alpha ~amd64 ~arm ~ppc ~ppc64 ~x86"
-
-SLOT="0"
-LICENSE="MPL-2.0 GPL-2 LGPL-2.1"
-IUSE="+calendar +chatzilla +crypt +gmp-autoupdate +ipc jack minimal pulseaudio +roaming selinux test"
-
-SRC_URI+="
- https://dev.gentoo.org/~anarchy/mozilla/patchsets/${PATCHFF}.tar.xz
- https://dev.gentoo.org/~axs/mozilla/patchsets/${PATCHFF}.tar.xz
- https://dev.gentoo.org/~polynomial-c/mozilla/patchsets/${PATCHFF}.tar.xz
- https://dev.gentoo.org/~axs/mozilla/patchsets/${PATCH}.tar.xz
- https://dev.gentoo.org/~polynomial-c/mozilla/patchsets/${PATCH}.tar.xz
- crypt? ( https://www.enigmail.net/download/source/enigmail-${EMVER}.tar.gz )
-"
-
-ASM_DEPEND=">=dev-lang/yasm-1.1"
-
-RDEPEND="
- >=dev-libs/nss-3.28.1
- >=dev-libs/nspr-4.13
- crypt? ( || (
- ( >=app-crypt/gnupg-2.0
- || (
- app-crypt/pinentry[gtk]
- app-crypt/pinentry[qt5]
- app-crypt/pinentry[qt4]
- )
- )
- =app-crypt/gnupg-1.4* ) )
- jack? ( virtual/jack )
-"
-
-DEPEND="
- ${RDEPEND}
- !elibc_glibc? ( !elibc_uclibc? ( !elibc_musl? ( dev-libs/libexecinfo ) ) )
- crypt? ( dev-lang/perl )
- amd64? ( ${ASM_DEPEND}
- virtual/opengl )
- x86? ( ${ASM_DEPEND}
- virtual/opengl )
-"
-
-BUILD_OBJ_DIR="${S}/seamonk"
-
-# allow GMP_PLUGIN_LIST to be set in an eclass or
-# overridden in the enviromnent (advanced hackers only)
-if [[ -z $GMP_PLUGIN_LIST ]] ; then
- GMP_PLUGIN_LIST=( gmp-gmpopenh264 gmp-widevinecdm )
-fi
-
-pkg_setup() {
- if [[ ${PV} == *_pre* ]] ; then
- ewarn "You're using an unofficial release of ${PN}. Don't file any bug in"
- ewarn "Gentoo's Bugtracker against this package in case it breaks for you."
- ewarn "Those belong to upstream: https://bugzilla.mozilla.org"
- fi
-
- moz_pkgsetup
-}
-
-pkg_pretend() {
- # Ensure we have enough disk space to compile
- if use debug || use test ; then
- CHECKREQS_DISK_BUILD="8G"
- else
- CHECKREQS_DISK_BUILD="4G"
- fi
- check-reqs_pkg_setup
-}
-
-src_unpack() {
- unpack ${A}
-
- # Unpack language packs
- mozlinguas_src_unpack
-}
-
-src_prepare() {
- # Apply our patches
- eapply "${WORKDIR}"/seamonkey
-
- # browser patches go here
- pushd "${S}"/mozilla &>/dev/null || die
- rm -f "${WORKDIR}"/firefox/1000_gentoo_install_dir.patch
- rm -f "${WORKDIR}"/firefox/2000-firefox_gentoo_install_dirs.patch
- eapply "${WORKDIR}"/firefox
- eapply "${FILESDIR}/firefox-Include-sys-sysmacros.h-for-major-minor-when-availab.patch"
- popd &>/dev/null || die
-
- # ugly hackaround for system-harfbuzz
- if ! grep -Fq "harfbuzz/hb-glib.h" mozilla/config/system-headers ; then
- sed '/MOZ_SYSTEM_HARFBUZZ/aharfbuzz/hb-glib.h' \
- -i mozilla/config/system-headers || die
- else
- einfo "harfbuzz hackery no longer needed."
- fi
-
- if grep -q '^sdkdir.*$(MOZ_APP_NAME)-devel' mozilla/config/baseconfig.mk ; then
- sed '/^sdkdir/s@-devel@@' \
- -i mozilla/config/baseconfig.mk || die
- else
- einfo "baseconfig.mk hackery no longer needed."
- fi
-
- # Shell scripts sometimes contain DOS line endings; bug 391889
- grep -rlZ --include="*.sh" $'\r$' . |
- while read -r -d $'\0' file ; do
- einfo edos2unix "${file}"
- edos2unix "${file}"
- done
-
- # Allow user to apply any additional patches without modifing ebuild
- eapply_user
-
- local ms="${S}/mozilla"
-
- # Enable gnomebreakpad
- if use debug ; then
- sed -i -e "s:GNOME_DISABLE_CRASH_DIALOG=1:GNOME_DISABLE_CRASH_DIALOG=0:g" \
- "${ms}"/build/unix/run-mozilla.sh || die "sed failed!"
- fi
-
- # Ensure that are plugins dir is enabled as default
- sed -i -e "s:/usr/lib/mozilla/plugins:/usr/lib/nsbrowser/plugins:" \
- "${ms}"/xpcom/io/nsAppFileLocationProvider.cpp || die "sed failed to replace plugin path for 32bit!"
- sed -i -e "s:/usr/lib64/mozilla/plugins:/usr/lib64/nsbrowser/plugins:" \
- "${ms}"/xpcom/io/nsAppFileLocationProvider.cpp || die "sed failed to replace plugin path for 64bit!"
-
- # Don't exit with error when some libs are missing which we have in
- # system.
- sed '/^MOZ_PKG_FATAL_WARNINGS/s@= 1@= 0@' \
- -i "${S}"/suite/installer/Makefile.in || die
- # Don't error out when there's no files to be removed:
- sed 's@\(xargs rm\)$@\1 -f@' \
- -i "${ms}"/toolkit/mozapps/installer/packager.mk || die
-
- eautoreconf old-configure.in
- cd "${S}"/mozilla || die
- eautoconf old-configure.in
- cd "${S}"/mozilla/js/src || die
- eautoconf old-configure.in
- cd "${S}"/mozilla/memory/jemalloc/src || die
- WANT_AUTOCONF= eautoconf
-}
-
-src_configure() {
- MOZILLA_FIVE_HOME="/usr/$(get_libdir)/${PN}"
- MEXTENSIONS="default"
- # Google API keys (see http://www.chromium.org/developers/how-tos/api-keys)
- # Note: These are for Gentoo Linux use ONLY. For your own distribution, please
- # get your own set of keys.
- _google_api_key=AIzaSyDEAOvatFo0eTgsV_ZlEzx0ObmepsMzfAc
-
- ####################################
- #
- # mozconfig, CFLAGS and CXXFLAGS setup
- #
- ####################################
-
- mozconfig_init
- mozconfig_config
-
- # enable JACK, bug 600002
- mozconfig_use_enable jack
-
- # It doesn't compile on alpha without this LDFLAGS
- use alpha && append-ldflags "-Wl,--no-relax"
-
- if ! use chatzilla ; then
- MEXTENSIONS+=",-irc"
- fi
- if ! use roaming ; then
- MEXTENSIONS+=",-sroaming"
- fi
-
- # Setup api key for location services
- echo -n "${_google_api_key}" > "${S}"/google-api-key
- mozconfig_annotate '' --with-google-api-keyfile="${S}/google-api-key"
-
- mozconfig_annotate '' --enable-extensions="${MEXTENSIONS}"
-
- # Other sm-specific settings
- mozconfig_annotate '' --with-default-mozilla-five-home=${MOZILLA_FIVE_HOME}
- mozconfig_annotate '' --enable-safe-browsing
- mozconfig_use_enable calendar
-
- mozlinguas_mozconfig
-
- # Use an objdir to keep things organized.
- echo "mk_add_options MOZ_OBJDIR=${BUILD_OBJ_DIR}" >> "${S}"/.mozconfig
- echo "mk_add_options XARGS=/usr/bin/xargs" >> "${S}"/.mozconfig
-
- # Finalize and report settings
- mozconfig_final
-
- if use crypt ; then
- pushd "${WORKDIR}"/enigmail &>/dev/null || die
- econf
- popd &>/dev/null || die
- fi
-
- # Work around breakage in makeopts with --no-print-directory
- MAKEOPTS="${MAKEOPTS/--no-print-directory/}"
-
- if [[ $(gcc-major-version) -lt 4 ]] ; then
- append-cxxflags -fno-stack-protector
- elif [[ $(gcc-major-version) -gt 4 || $(gcc-minor-version) -gt 3 ]] ; then
- if use amd64 || use x86 ; then
- append-flags -mno-avx
- fi
- fi
-
- # workaround for funky/broken upstream configure...
- SHELL="${SHELL:-${EPREFIX%/}/bin/bash}" \
- emake V=1 -f client.mk configure
-}
-
-src_compile() {
- MOZ_MAKE_FLAGS="${MAKEOPTS}" SHELL="${SHELL}" \
- emake V=1 -f client.mk
-
- mozlinguas_src_compile
-
- # Only build enigmail extension if conditions are met.
- if use crypt ; then
- einfo "Building enigmail"
- pushd "${WORKDIR}"/enigmail &>/dev/null || die
- emake -j1
- emake xpi
- popd &>/dev/null || die
- fi
-}
-
-src_install() {
- MOZILLA_FIVE_HOME="/usr/$(get_libdir)/${PN}"
- DICTPATH="\"${EPREFIX}/usr/share/myspell\""
-
- local emid
- cd "${BUILD_OBJ_DIR}" || die
-
- # Pax mark xpcshell for hardened support, only used for startupcache creation.
- pax-mark m "${BUILD_OBJ_DIR}/dist/bin/xpcshell"
-
- # Copy our preference before omnijar is created.
- sed "s|SEAMONKEY_PVR|${PVR}|" "${FILESDIR}"/all-gentoo-1.js > \
- "${BUILD_OBJ_DIR}/dist/bin/defaults/pref/all-gentoo.js" \
- || die
-
- # Set default path to search for dictionaries.
- echo "pref(\"spellchecker.dictionary_path\", ${DICTPATH});" \
- >> "${BUILD_OBJ_DIR}/dist/bin/defaults/pref/all-gentoo.js" \
- || die
-
- echo 'pref("extensions.autoDisableScopes", 3);' >> \
- "${BUILD_OBJ_DIR}/dist/bin/defaults/pref/all-gentoo.js" \
- || die
-
- local plugin
- if ! use gmp-autoupdate ; then
- for plugin in "${GMP_PLUGIN_LIST[@]}" ; do
- echo "pref(\"media.${plugin}.autoupdate\", false);" >> \
- "${S}/${BUILD_OBJ_DIR}/dist/bin/browser/defaults/preferences/all-gentoo.js" \
- || dir
- done
- fi
-
- MOZ_MAKE_FLAGS="${MAKEOPTS}" SHELL="${SHELL:-${EPREFIX%/}/bin/bash}" \
- emake DESTDIR="${D}" install
- cp "${FILESDIR}"/${PN}.desktop "${T}" || die
-
- if use crypt ; then
- local em_dir="${WORKDIR}/enigmail/build"
- pushd "${T}" &>/dev/null || die
- unzip "${em_dir}"/enigmail*.xpi install.rdf || die
- emid=$(sed -n '/<em:id>/!d; s/.*\({.*}\).*/\1/; p; q' install.rdf)
- #'
- dodir ${MOZILLA_FIVE_HOME}/extensions/${emid}
- cd "${D}"${MOZILLA_FIVE_HOME}/extensions/${emid} || die
- unzip "${em_dir}"/enigmail*.xpi || die
-
- popd &>/dev/null || die
- fi
-
- sed 's|^\(MimeType=.*\)$|\1text/x-vcard;text/directory;application/mbox;message/rfc822;x-scheme-handler/mailto;|' \
- -i "${T}"/${PN}.desktop || die
- sed 's|^\(Categories=.*\)$|\1Email;|' -i "${T}"/${PN}.desktop \
- || die
-
- # Install language packs
- mozlinguas_src_install
-
- # Add StartupNotify=true bug 290401
- if use startup-notification ; then
- echo "StartupNotify=true" >> "${T}"/${PN}.desktop || die
- fi
-
- # Install icon and .desktop for menu entry
- newicon "${S}"/suite/branding/nightly/content/icon64.png ${PN}.png
- domenu "${T}"/${PN}.desktop
-
- # Required in order to use plugins and even run seamonkey on hardened.
- pax-mark m "${ED}"${MOZILLA_FIVE_HOME}/{seamonkey,seamonkey-bin,plugin-container}
-
- if use minimal ; then
- rm -rf "${ED}"/usr/include "${ED}${MOZILLA_FIVE_HOME}"/{idl,include,lib,sdk}
- fi
-
- if use chatzilla ; then
- local emid='{59c81df5-4b7a-477b-912d-4e0fdf64e5f2}'
-
- # remove the en_US-only xpi file so a version with all requested locales can be installed
- if [[ -e "${ED}"${MOZILLA_FIVE_HOME}/distribution/extensions/${emid}.xpi ]]; then
- rm -f "${ED}"${MOZILLA_FIVE_HOME}/distribution/extensions/${emid}.xpi || die
- fi
-
- # merge the extra locales into the main extension
- mozlinguas_xpistage_langpacks "${BUILD_OBJ_DIR}"/dist/xpi-stage/chatzilla
-
- # install the merged extension
- mkdir -p "${T}/${emid}" || die
- cp -RLp -t "${T}/${emid}" "${BUILD_OBJ_DIR}"/dist/xpi-stage/chatzilla/* || die
- insinto ${MOZILLA_FIVE_HOME}/distribution/extensions
- doins -r "${T}/${emid}"
- fi
-
- # Handle plugins dir through nsplugins.eclass
- share_plugins_dir
-
- # revdep-rebuild entry
- insinto /etc/revdep-rebuild
- echo "SEARCH_DIRS_MASK=${MOZILLA_FIVE_HOME}*" >> ${T}/11${PN}
- doins "${T}"/11${PN}
-}
-
-pkg_preinst() {
- MOZILLA_FIVE_HOME="${ROOT}/usr/$(get_libdir)/${PN}"
-
- if [ -d ${MOZILLA_FIVE_HOME}/plugins ] ; then
- rm ${MOZILLA_FIVE_HOME}/plugins -rf
- fi
-}
-
-pkg_postinst() {
- MOZILLA_FIVE_HOME="/usr/$(get_libdir)/${PN}"
-
- # Update mimedb for the new .desktop file
- fdo-mime_desktop_database_update
- #gnome2_icon_cache_update
-
- if ! use gmp-autoupdate ; then
- elog "USE='-gmp-autoupdate' has disabled the following plugins from updating or"
- elog "installing into new profiles:"
- local plugin
- for plugin in "${GMP_PLUGIN_LIST[@]}"; do elog "\t ${plugin}" ; done
- fi
-
- if use chatzilla ; then
- elog "chatzilla is now an extension which can be en-/disabled and configured via"
- elog "the Add-on manager."
- fi
-}