diff options
author | Lars Wendler <polynomial-c@gentoo.org> | 2010-11-02 07:09:00 +0000 |
---|---|---|
committer | Lars Wendler <polynomial-c@gentoo.org> | 2010-11-02 07:09:00 +0000 |
commit | 4ec40ac7ce8aa1e9d07ba299052bf946ab4de4bd (patch) | |
tree | 51f805bf8294ac5d80640409c7031867d9050d1c /www-client | |
parent | Stable for PPC (bug #331611). (diff) | |
download | historical-4ec40ac7ce8aa1e9d07ba299052bf946ab4de4bd.tar.gz historical-4ec40ac7ce8aa1e9d07ba299052bf946ab4de4bd.tar.bz2 historical-4ec40ac7ce8aa1e9d07ba299052bf946ab4de4bd.zip |
Removed old.
Package-Manager: portage-2.2.0_alpha3/cvs/Linux x86_64
Diffstat (limited to 'www-client')
-rw-r--r-- | www-client/seamonkey/ChangeLog | 6 | ||||
-rw-r--r-- | www-client/seamonkey/Manifest | 37 | ||||
-rw-r--r-- | www-client/seamonkey/seamonkey-2.0.9.ebuild | 320 |
3 files changed, 6 insertions, 357 deletions
diff --git a/www-client/seamonkey/ChangeLog b/www-client/seamonkey/ChangeLog index e00f100d73f1..a5af5e98e955 100644 --- a/www-client/seamonkey/ChangeLog +++ b/www-client/seamonkey/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for www-client/seamonkey # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/www-client/seamonkey/ChangeLog,v 1.273 2010/10/30 18:24:15 maekke Exp $ +# $Header: /var/cvsroot/gentoo-x86/www-client/seamonkey/ChangeLog,v 1.274 2010/11/02 07:09:00 polynomial-c Exp $ + + 02 Nov 2010; Lars Wendler <polynomial-c@gentoo.org> + -seamonkey-2.0.9.ebuild: + Removed old. 30 Oct 2010; Markus Meier <maekke@gentoo.org> seamonkey-2.0.10.ebuild: arm stable, bug #342847 diff --git a/www-client/seamonkey/Manifest b/www-client/seamonkey/Manifest index 056760cd24fe..65955bbb23ee 100644 --- a/www-client/seamonkey/Manifest +++ b/www-client/seamonkey/Manifest @@ -1,6 +1,3 @@ ------BEGIN PGP SIGNED MESSAGE----- -Hash: SHA1 - AUX all-gentoo.js 712 RMD160 9c8352b0780ee3ac1e6f372dccb15975dfa09212 SHA1 5825d4485807fe53ddf8bbee70c7352f16c5ea45 SHA256 dfe92f212383bb79b3e2aebb03763c1ad179b3cbc90b22eb4b6aeddba98d100b AUX bug-606109.patch 1259 RMD160 6d3f5d354524268e34293e9ce2d8b173c47163af SHA1 e1488807cc61ec04b2caa50019c000ba5d077450 SHA256 f2e645dfaa03cabcf46703be5bdeff8ee021694896465d3d263b038682dc0395 AUX enigmail/70_enigmail-fix.patch 343 RMD160 a81caaa4cb6507b5a41b2593e26b984c8748a8b8 SHA1 7028cd7cf09c60325887fd0fb68a20ba3bb98b12 SHA256 895c5ffec6aa321290115f2c995658ae87f9bde027ac0414e5d76a7c9d451165 @@ -57,39 +54,7 @@ DIST seamonkey-2.0.7-sv-SE.xpi 509053 RMD160 6116526ee928fc781b4a3f346fa1451ac9c DIST seamonkey-2.0.7-tr.xpi 493819 RMD160 001e0ff7747d8fc33216baa5feead60d0833013d SHA1 638f43bdad38bb8f20084e61f299a4cc80e4628b SHA256 8ed6a9117dee1c8f70eec3c61f4baaecb1aa89f112b1e669a801521f9ccf0795 DIST seamonkey-2.0.7-zh-CN.xpi 503590 RMD160 1729bccbeda2e2764cc8aded2ae5f225d1468e38 SHA1 72bec6fe96b7c972c343ec31e6beae48a4a6afa7 SHA256 689e2cf5e3d77b6e22de93e7cc7e33ec4d251ecf24b2fd14cc76ce5e7e381b28 DIST seamonkey-2.0.7.source.tar.bz2 61496455 RMD160 6f3fd9ea0352718631fd11c568f869f626782e56 SHA1 ec03e359accdd40d0183ee1bef623aeaf7d04b81 SHA256 c0e1f2da7e91a6acae4af8462500d4eb038ada1134ffec77995598577d60fb09 -DIST seamonkey-2.0.9-be.xpi 482591 RMD160 cd662b03aef94c5942aaa05dd76d1e00c81c9dd1 SHA1 a97b1311e9f6a698b57961320cb93dd6c44a0a7a SHA256 84df0367dff71e820c863a6fe9c73c2add36665a1f0cd1d930aaf95c8344be30 -DIST seamonkey-2.0.9-ca.xpi 488155 RMD160 92c406325a3e6bdbfbf50f7f3af48b5fa3cfe665 SHA1 47bef1df428ef904347c2d1c1d89c6fbaa24280e SHA256 5bc95544bb992879a1580cb3bd5c00b7ce62e880a2abad1dc191d1e7ec01fdac -DIST seamonkey-2.0.9-cs.xpi 522802 RMD160 8758264b271e2e005b6edacecfc9d35d4444ecd8 SHA1 87c9845cbb9bd7fa7f92276d1a32312b3f9ff9a7 SHA256 08508f6e1ab3311cdabe5d20d5c27c7d3cae562e9aba35bec6b13a4ada7847a7 -DIST seamonkey-2.0.9-de.xpi 542576 RMD160 c135b67d2ee38d05254ae07f180312b60279d119 SHA1 8a668ff65d92d664f862b477052215ce67c59b55 SHA256 9d81127e401e98342eb541a1758df748f6734a76fd321084a83084369266f4d2 -DIST seamonkey-2.0.9-en-GB.xpi 486760 RMD160 a398cefb9f54483408db12db3159c6ed7f202943 SHA1 e5a3714a06e6cabb60e011696acae741fb11c334 SHA256 6e3ae824210d680144308f61e4aa92f50a26aa9e6a18965ecfb3532005050eef -DIST seamonkey-2.0.9-es-AR.xpi 489551 RMD160 ad51cbf76c61c589c1bf749f9608ec8a47bc4a20 SHA1 c41075f5a7b87da846eec6217897643744f84d27 SHA256 e93c8f9aa59b9d609ed1b1cfc524e089ae689a3bcfde1262e18cf924b1389de5 -DIST seamonkey-2.0.9-es-ES.xpi 509735 RMD160 eb744e9e3c040ea7d5691f1f3fe8c3d26f9d2781 SHA1 709c4c40f4eefc8cf319398a009575c0244ee104 SHA256 11d27ed5514986a976a357970fe7832ae418458ebda9cbd99f9bb2f6d03aa0c6 -DIST seamonkey-2.0.9-fr.xpi 578841 RMD160 6697cab035da0996166187da07643c9a57aa3e15 SHA1 56df66b1e240f7eff4d331944d10f026434a228d SHA256 b4c0bf9a434ab0ed2e2cddee74137543b87e492a209fb48f11987db528463a22 -DIST seamonkey-2.0.9-gl.xpi 496059 RMD160 be6770c8bdd45ed10a0c403377fe510eb0729243 SHA1 3ad8eb38864d859add3ca32cf58f10832529e288 SHA256 a3887b9894efa9b7c251804d39242d74db94a1200d6ca194eb18fe88e2fb43de -DIST seamonkey-2.0.9-hu.xpi 521392 RMD160 3b25192d94d0585816ec803393971fcbb97ba07e SHA1 6b75a33534ceb43ae39b37a61dd16bf4aa2c0c8b SHA256 6bf68c3f323645c7b758eac03d0169eca65814bb8e8b49d2c34e6fa7bef928cc -DIST seamonkey-2.0.9-it.xpi 468242 RMD160 6af385026c103ccc3f70e906dfa8e302d91b6385 SHA1 b5c588589b264399776e5178a105841643aa75df SHA256 2dfe9d9a8fd671c0e7adb15372792b69ee558023804b547e5de8bedfbc701bbd -DIST seamonkey-2.0.9-ja.xpi 515505 RMD160 87ef4a0ab1ed488c4351240f3deea258439eafe7 SHA1 8b7239bc95291a0d5089a89cc16c9150080daaf5 SHA256 4445ad7eaa268c75d2bbb6fe670b3f57af3feb78e843acd72cafd2a8e82c99d7 -DIST seamonkey-2.0.9-ka.xpi 547317 RMD160 efaccd3329b194f34340086dcd4086f8b5f658fa SHA1 91abedd1c32b5f5acb45f37df0dbcc48e1a20df4 SHA256 d25f2f10efd7f99eb00266de8d4f2dc39b63ebbf10e6aa735af24a6c97da34f8 -DIST seamonkey-2.0.9-lt.xpi 522629 RMD160 8eae986d0caf43ab21b16f5e42ff637e28dd391c SHA1 a45863c974a036830ca77da6b21de509f7746013 SHA256 ac2f411a8ed692559df39e5048f95a8c7c9b7ce7c3e0c99bc929ffe959d09f66 -DIST seamonkey-2.0.9-nb-NO.xpi 491228 RMD160 8eca22d8437abc70efd07537850ca012145000c2 SHA1 09a4ba6b40e80d1b1c3f06ceef057d4d917fc8cd SHA256 8194205f035c29cdf2499a2dcd88416b2b057f0f65f75743ec0e4666afe209fb -DIST seamonkey-2.0.9-nl.xpi 499512 RMD160 00a7a0ad0116195f2f97478ac63a586c2b87c880 SHA1 0658dccb386aa3be9899724905a98055f5380533 SHA256 608dd0d8f043cca062baf238ae364d6b9a9348bf173723d24ebbb1fd7108eca5 -DIST seamonkey-2.0.9-pl.xpi 520028 RMD160 ae56869e505cc57a584fb6c3c2efdf12dcdb3bb9 SHA1 13edf7b8362e14a7e537f3acc412d0552f8b77f3 SHA256 84dbbec6677a958660522013b7597949c6188063dfabb8d957b7eac514cd8286 -DIST seamonkey-2.0.9-pt-PT.xpi 489992 RMD160 921e51421256c52c6133742b8778a4497d6cd512 SHA1 9a40870c95b80f46a1c31fe8c824089b027d1434 SHA256 2123c5ff1df7370f6843150083aa2075033aafac6ad2f022331ed32d6e0d0b17 -DIST seamonkey-2.0.9-ru.xpi 560166 RMD160 10b21f2e08da2bd07f79d87ac247d0fe0e1c4f4e SHA1 d59d9685c3ab33158a474bf8b3cc3011965ddb35 SHA256 153c58020adaca03fcd313b439cdb657fe8845e5b5b565e764daaae57980df3c -DIST seamonkey-2.0.9-sk.xpi 524803 RMD160 7eb6db366dec904eec1d2c9b0a6d5bd61275d1a0 SHA1 fd3e8f72035b12c2b5734ff5b0145d878a005392 SHA256 d115c7c84c4fb1451e060103df12c3d4577900137d767d8034df8575af11023b -DIST seamonkey-2.0.9-sv-SE.xpi 509039 RMD160 df1b78889da5b603f6a99bc171f2ce568c5c5b90 SHA1 cc8d365a78a0d14c65ac0c202af553d8e0770c55 SHA256 fef2eef801e8d69cb68731077941a87c6d14cb61d9c8787d11f5ff98ae8fdcda -DIST seamonkey-2.0.9-tr.xpi 493750 RMD160 aab4f0c8eda5b6937741f0372cc4397faeeceeac SHA1 8e9f6d22f1b87c920b9f59a37d190b48e14a29ad SHA256 6b27e30f27f8b45ceb29dc1aff0cdc89d44b95df58bc0c957a335581b088a8eb -DIST seamonkey-2.0.9-zh-CN.xpi 503793 RMD160 380888790f23573cef96759ba0f080cbb4571a81 SHA1 178fd84360960b6e99b0a4865037e88c780632f0 SHA256 0ea5e4337de93f8ddeb4491b8ad61f24b8010c2103402c2736f4cdea05412ca2 -DIST seamonkey-2.0.9.source.tar.bz2 61599701 RMD160 d6f7cc463564b4e18ed5d71f15ccd611c7b7050b SHA1 c23f61d06c54cda841da128b3e2a649a2390eebb SHA256 726d4461dd6b3e58b53439ac86d06c11b36574836a4075232aa3d65f33979372 EBUILD seamonkey-2.0.10.ebuild 9459 RMD160 1a9403f0b16fb20d1335a0ad1f0f276ea7c6d306 SHA1 557f3f94f5f6fbaefaa11edc5a43b25f687e1c26 SHA256 d9bf1e4ba4987652c47c776630336b75deb4fe20191b85c271a55d158d2cf3ec EBUILD seamonkey-2.0.7.ebuild 9165 RMD160 441bfa79e9eb75f6b2df347e6ce6f2203b6ceb9a SHA1 bc594e1d6071dc07d931dbae245f26778b162f1f SHA256 d93ed1d42dd58c475d4777f9807b6d7c22f536e8882198678daebcbf04702698 -EBUILD seamonkey-2.0.9.ebuild 9412 RMD160 47171821ddea6697599c442b7026e84d4f142fd0 SHA1 0944376982ea589635f827101eacf840ca332548 SHA256 7614d706c5b9c434c0fb8fbc569ddfab897fd1ef4dbcca8742c63cd99ce5d359 -MISC ChangeLog 35225 RMD160 280deaa9c381904789cd3ec81e93ac57805242b4 SHA1 2e5c773ff954fa8f3f86ed97579e0aa469cb4974 SHA256 3ea0fe69fe41242cca4aeadec4a92ed9a4aa16a79e3bf993dc565bb86f591a80 +MISC ChangeLog 35328 RMD160 cb2e59b617b32abb800bb79dda2b02894697b108 SHA1 587073cefe9575156177edae9233b01fe6394dac SHA256 78eb184bf8d47b70832d0b625a32d2620b1772c98db125e33bd54b6173a7fa44 MISC metadata.xml 845 RMD160 d313bde4cd255346a825ea0d99afb7585151cc0f SHA1 7941c776107161a6278ba5893345aeac2a5cbe7a SHA256 404caecf817491893c2ef118b48f025bc0d5c37d910979dd5602273127e479f9 ------BEGIN PGP SIGNATURE----- -Version: GnuPG v2.0.16 (GNU/Linux) - -iEYEARECAAYFAkzMYx0ACgkQkKaRLQcq0GJgIgCfQ+kFOOr29ISYawHy0a1fP255 -oQwAoKsfFhwJSgQHzBBX5CbF9Q3DHXj2 -=V9as ------END PGP SIGNATURE----- diff --git a/www-client/seamonkey/seamonkey-2.0.9.ebuild b/www-client/seamonkey/seamonkey-2.0.9.ebuild deleted file mode 100644 index 6ff58372a761..000000000000 --- a/www-client/seamonkey/seamonkey-2.0.9.ebuild +++ /dev/null @@ -1,320 +0,0 @@ -# Copyright 1999-2010 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/www-client/seamonkey/seamonkey-2.0.9.ebuild,v 1.6 2010/10/25 00:33:01 fauli Exp $ - -EAPI="2" -WANT_AUTOCONF="2.1" - -inherit flag-o-matic toolchain-funcs eutils mozconfig-3 makeedit multilib fdo-mime autotools mozextension java-pkg-opt-2 - -PATCH="${PN}-2.0.7-patches-01" -EMVER="1.0.1" - -LANGS="be ca cs de en-GB en-US es-AR es-ES fr gl hu it ja ka lt nb-NO nl pl pt-PT ru sk sv-SE tr zh-CN" -NOSHORTLANGS="en-GB es-AR es-ES nb-NO pt-PT sv-SE zh-CN" - -MY_PV="${PV/_pre*}" -MY_PV="${MY_PV/_alpha/a}" -MY_PV="${MY_PV/_beta/b}" -MY_PV="${MY_PV/_rc/rc}" -MY_P="${PN}-${MY_PV}" - -# release versions usually have language packs. So be careful with changing this. -HAS_LANGS="true" -if [[ ${PV} == *_pre* ]] ; then - # pre-releases. No need for arch teams to change KEYWORDS here. - - REL_URI="ftp://ftp.mozilla.org/pub/mozilla.org/${PN}/nightly/${MY_PV}-candidates/build${PV##*_pre}" - #KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86" - KEYWORDS="" - #HAS_LANGS="false" -else - # This is where arch teams should change the KEYWORDS. - - REL_URI="http://releases.mozilla.org/pub/mozilla.org/${PN}/releases/${MY_PV}" - KEYWORDS="~alpha amd64 ~arm hppa ~ia64 ~ppc ~ppc64 ~sparc x86" - [[ ${PV} == *alpha* ]] && HAS_LANGS="false" -fi - -DESCRIPTION="Seamonkey Web Browser" -HOMEPAGE="http://www.seamonkey-project.org" - -SLOT="0" -LICENSE="|| ( MPL-1.1 GPL-2 LGPL-2.1 )" -IUSE="+alsa +chatzilla +composer +crypt java ldap +mailclient +roaming system-sqlite" - -SRC_URI="${REL_URI}/source/${MY_P}.source.tar.bz2 - http://dev.gentoo.org/~polynomial-c/mozilla/patchsets/${PATCH}.tar.bz2 - crypt? ( mailclient? ( http://www.mozilla-enigmail.org/download/source/enigmail-${EMVER}.tar.gz ) )" - -if ${HAS_LANGS} ; then - for X in ${LANGS} ; do - if [ "${X}" != "en" ] && [ "${X}" != "en-US" ]; then - SRC_URI="${SRC_URI} - linguas_${X/-/_}? ( ${REL_URI}/langpack/${MY_P}.${X}.langpack.xpi -> ${MY_P}-${X}.xpi )" - fi - IUSE="${IUSE} linguas_${X/-/_}" - # english is handled internally - if [ "${#X}" == 5 ] && ! has ${X} ${NOSHORTLANGS}; then - if [ "${X}" != "en-US" ]; then - SRC_URI="${SRC_URI} - linguas_${X%%-*}? ( ${REL_URI}/langpack/${MY_P}.${X}.langpack.xpi -> ${MY_P}-${X}.xpi )" - fi - IUSE="${IUSE} linguas_${X%%-*}" - fi - done -fi - -RDEPEND="java? ( virtual/jre ) - >=sys-devel/binutils-2.16.1 - >=dev-libs/nss-3.12.8 - >=dev-libs/nspr-4.8.6 - alsa? ( media-libs/alsa-lib ) - system-sqlite? ( >=dev-db/sqlite-3.6.22-r2[fts3,secure-delete] ) - >=app-text/hunspell-1.2 - >=x11-libs/gtk+-2.10.0 - >=x11-libs/pango-1.14.0[X] - crypt? ( mailclient? ( >=app-crypt/gnupg-1.4 ) )" - -DEPEND="${RDEPEND} - dev-util/pkgconfig - java? ( >=virtual/jdk-1.4 )" - -S="${WORKDIR}/comm-1.9.1" - -linguas() { - local LANG SLANG - for LANG in ${LINGUAS}; do - if has ${LANG} en en_US; then - has en ${linguas} || linguas="${linguas:+"${linguas} "}en" - continue - elif has ${LANG} ${LANGS//-/_}; then - has ${LANG//_/-} ${linguas} || linguas="${linguas:+"${linguas} "}${LANG//_/-}" - continue - elif [[ " ${LANGS} " == *" ${LANG}-"* ]]; then - for X in ${LANGS}; do - if [[ "${X}" == "${LANG}-"* ]] && \ - [[ " ${NOSHORTLANGS} " != *" ${X} "* ]]; then - has ${X} ${linguas} || linguas="${linguas:+"${linguas} "}${X}" - continue 2 - fi - done - fi - ewarn "Sorry, but ${PN} does not support the ${LANG} LINGUA" - done -} - -src_unpack() { - unpack ${A} - - if ${HAS_LANGS} ; then - linguas - for X in ${linguas}; do - # FIXME: Add support for unpacking xpis to portage - [[ ${X} != "en" ]] && xpi_unpack "${MY_P}-${X}.xpi" - done - if [[ ${linguas} != "" && ${linguas} != "en" ]]; then - einfo "Selected language packs (first will be default): ${linguas}" - fi - 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 - - # Ensure we always build with C locale. - export LANG="C" - export LC_ALL="C" - export LC_MESSAGES="C" - export LC_CTYPE="C" - - export BUILD_OFFICIAL=1 - export MOZILLA_OFFICIAL=1 - - java-pkg-opt-2_pkg_setup -} - -src_prepare() { - java-pkg-opt-2_src_prepare - - # Apply our patches - EPATCH_SUFFIX="patch" \ - EPATCH_FORCE="yes" \ - epatch "${WORKDIR}/patch" - - epatch "${FILESDIR}"/bug-606109.patch - - if use crypt && use mailclient ; then - mv "${WORKDIR}"/enigmail "${S}"/mailnews/extensions/enigmail - cd "${S}"/mailnews/extensions/enigmail || die - epatch "${FILESDIR}"/enigmail/70_enigmail-fix.patch - makemake2 - cd "${S}" - fi - - eautoreconf -} - -src_configure() { - declare MOZILLA_FIVE_HOME="/usr/$(get_libdir)/${PN}" - MEXTENSIONS="" - - #################################### - # - # mozconfig, CFLAGS and CXXFLAGS setup - # - #################################### - - mozconfig_init - mozconfig_config - - # seamonkey has issues with >=x11-libs/cairo-1.10.0 (bug #337813). - # If you don't like this blame upstream as they don't care about - # anything than their damned bundled shit!!! - sed '/--enable-system-cairo/s:enable:disable:' -i "${S}"/.mozconfig \ - || die - - # It doesn't compile on alpha without this LDFLAGS - use alpha && append-ldflags "-Wl,--no-relax" - - if ! use chatzilla ; then - MEXTENSIONS="${MEXTENSIONS},-irc" - fi - if ! use roaming ; then - MEXTENSIONS="${MEXTENSIONS},-sroaming" - fi - - if ! use gnome ; then - MEXTENSIONS="${MEXTENSIONS},-gnomevfs" - fi - - if ! use composer ; then - if ! use chatzilla && ! use mailclient ; then - mozconfig_annotate '-composer' --disable-composer - fi - fi - - mozconfig_annotate '' --enable-extensions="${MEXTENSIONS}" - mozconfig_annotate '' --enable-application=suite - mozconfig_annotate 'broken' --disable-mochitest - mozconfig_annotate 'broken' --disable-crashreporter - mozconfig_annotate '' --enable-system-hunspell - mozconfig_annotate '' --enable-jsd - mozconfig_annotate '' --enable-image-encoder=all - mozconfig_annotate '' --enable-canvas - mozconfig_annotate '' --with-system-nspr - mozconfig_annotate '' --with-system-nss - mozconfig_annotate '' --with-system-bz2 - mozconfig_annotate '' --enable-oji --enable-mathml - mozconfig_annotate 'places' --enable-storage --enable-places --enable-places_bookmarks - mozconfig_annotate '' --disable-installer - mozconfig_annotate '' --with-default-mozilla-five-home=${MOZILLA_FIVE_HOME} - mozconfig_annotate '' --enable-printing - - # Enable/Disable based on USE flags - mozconfig_use_enable alsa ogg - mozconfig_use_enable alsa wave - mozconfig_use_enable java javaxpcom - mozconfig_use_enable ldap - mozconfig_use_enable ldap ldap-experimental - mozconfig_use_enable mailclient mailnews - mozconfig_use_enable system-sqlite - - # Finalize and report settings - mozconfig_final - - if [[ $(gcc-major-version) -lt 4 ]]; then - append-cxxflags -fno-stack-protector - fi - - #################################### - # - # Configure and build - # - #################################### - - # Work around breakage in makeopts with --no-print-directory - MAKEOPTS="${MAKEOPTS/--no-print-directory/}" - - CC="$(tc-getCC)" CXX="$(tc-getCXX)" LD="$(tc-getLD)" econf -} - -src_compile() { - # Should the build use multiprocessing? Not enabled by default, as it tends to break. - [ "${WANT_MP}" = "true" ] && jobs=${MAKEOPTS} || jobs="-j1" - emake ${jobs} || die - - # Only build enigmail extension if conditions are met. - if use crypt && use mailclient ; then - emake -C "${S}"/mailnews/extensions/enigmail || die "make enigmail failed" - emake -j1 -C "${S}"/mailnews/extensions/enigmail xpi || die "make enigmail xpi failed" - fi -} - -src_install() { - declare MOZILLA_FIVE_HOME="/usr/$(get_libdir)/${PN}" - declare emid - - emake DESTDIR="${D}" install || die "emake install failed" - - if use crypt && use mailclient ; then - cd "${T}" || die - unzip "${S}"/mozilla/dist/bin/enigmail*.xpi install.rdf || die - emid=$(sed -n '/<em:id>/!d; s/.*\({.*}\).*/\1/; p; q' install.rdf) - - dodir ${MOZILLA_FIVE_HOME}/extensions/${emid} || die - cd "${D}"${MOZILLA_FIVE_HOME}/extensions/${emid} || die - unzip "${S}"/mozilla/dist/bin/enigmail*.xpi || die - fi - - if ${HAS_LANGS} ; then - linguas - for X in ${linguas}; do - [[ ${X} != "en" ]] && xpi_install "${WORKDIR}"/"${MY_P}-${X}" - done - fi - - # Install icon and .desktop for menu entry - newicon "${S}"/suite/branding/content/icon64.png seamonkey.png || die - domenu "${FILESDIR}"/icon/seamonkey.desktop || die - - # Add StartupNotify=true bug 290401 - if use startup-notification ; then - echo "StartupNotify=true" >> "${D}"/usr/share/applications/seamonkey.desktop - fi - - # Add our default prefs - sed "s|SEAMONKEY_PVR|${PVR}|" "${FILESDIR}"/all-gentoo.js \ - > "${D}"${MOZILLA_FIVE_HOME}/defaults/pref/all-gentoo.js - - # Plugins dir - rm -rf "${D}"${MOZILLA_FIVE_HOME}/plugins || die "failed to remove existing plugins dir" - dosym ../nsbrowser/plugins "${MOZILLA_FIVE_HOME}"/plugins || die - - # shiny new man page - doman "${S}"/suite/app/${PN}.1 || die -} - -pkg_preinst() { - declare MOZILLA_FIVE_HOME="${ROOT}/usr/$(get_libdir)/${PN}" - - if [ -d ${MOZILLA_FIVE_HOME}/plugins ] ; then - rm ${MOZILLA_FIVE_HOME}/plugins -rf - fi -} - -pkg_postinst() { - declare MOZILLA_FIVE_HOME="/usr/$(get_libdir)/${PN}" - - # Update mimedb for the new .desktop file - fdo-mime_desktop_database_update - - if use chatzilla ; then - elog "chatzilla is now an extension which can be en-/disabled and configured via" - elog "the Add-on manager." - fi -} |