diff options
author | 2008-05-27 14:12:55 +0000 | |
---|---|---|
committer | 2008-05-27 14:12:55 +0000 | |
commit | 8e00bf581bf8e8f37127b9125e68d431910d1cc5 (patch) | |
tree | 2b0c244efb79db0cd6ff559b3988c0f08a4e041f /app-office | |
parent | Typing error libgotdocdir to lingotdocdir in src_install (diff) | |
download | historical-8e00bf581bf8e8f37127b9125e68d431910d1cc5.tar.gz historical-8e00bf581bf8e8f37127b9125e68d431910d1cc5.tar.bz2 historical-8e00bf581bf8e8f37127b9125e68d431910d1cc5.zip |
old
Package-Manager: portage-2.1.4.4
Diffstat (limited to 'app-office')
-rw-r--r-- | app-office/mozilla-sunbird/ChangeLog | 6 | ||||
-rw-r--r-- | app-office/mozilla-sunbird/Manifest | 41 | ||||
-rw-r--r-- | app-office/mozilla-sunbird/mozilla-sunbird-0.7.ebuild | 238 |
3 files changed, 6 insertions, 279 deletions
diff --git a/app-office/mozilla-sunbird/ChangeLog b/app-office/mozilla-sunbird/ChangeLog index eb3199283cb3..62a8622287e5 100644 --- a/app-office/mozilla-sunbird/ChangeLog +++ b/app-office/mozilla-sunbird/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for app-office/mozilla-sunbird # Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-office/mozilla-sunbird/ChangeLog,v 1.32 2008/05/23 21:23:53 maekke Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-office/mozilla-sunbird/ChangeLog,v 1.33 2008/05/27 14:12:55 armin76 Exp $ + + 27 May 2008; Raúl Porcel <armin76@gentoo.org> + -mozilla-sunbird-0.7.ebuild: + old 23 May 2008; Markus Meier <maekke@gentoo.org> mozilla-sunbird-0.8.ebuild: amd64 stable, bug #223045 diff --git a/app-office/mozilla-sunbird/Manifest b/app-office/mozilla-sunbird/Manifest index 2d471d36991b..f1635ae33ce0 100644 --- a/app-office/mozilla-sunbird/Manifest +++ b/app-office/mozilla-sunbird/Manifest @@ -1,39 +1,8 @@ ------BEGIN PGP SIGNED MESSAGE----- -Hash: SHA1 - AUX icon/mozilla-sunbird-icon.png 6418 RMD160 92df6105a3ba07f961d5a54000e772791f1d89ac SHA1 e4e23c74234d688040f6cdaff4ace7f71d69dce4 SHA256 792fa9c96e825a0ba5d9f837910386dcb819e215fcc18c00936718823dee076e AUX icon/mozilla-sunbird-unbranded-icon.png 4862 RMD160 31c18ecb694c24476ea4b025554394c9161ca4a1 SHA1 c9e0f3d85934a18319ea16220940d0a6e8eed1c3 SHA256 1a732f3ccbbcd7288a2bca566e94af7dee554d419a7e8855a9d20b22b19f3a4e AUX icon/mozilla-sunbird-unbranded.desktop 188 RMD160 8338a27dc0f7a9b618b4b0994ce19ba1dd739c6e SHA1 dd77543a71ab37daa5ea1dbdb02a3a43de016766 SHA256 b2379ebdff6012c8e1f85891351a985fbe750787861058bdb7b08b44d1be53d8 AUX icon/mozilla-sunbird.desktop 178 RMD160 2f032684c794bbf6659ce631843661eeacf02acb SHA1 c481835c1905e35cee98bbb1b6029bf7a2f62d23 SHA256 f3ddcac36c7c6f10a4180c6ff77b377743841cb76eaf409b40e0568eede16469 -DIST lightning-sunbird-0.7-source.tar.bz2 39951865 RMD160 f4ead53117fbbbe208dbdada01800446b800116d SHA1 aa98305783a6ea765a2ea83667ead8fd664cb379 SHA256 814628a87e803734e401a26b3beff46adeed47b0cb10f3241fe8fc6034f9baa1 DIST lightning-sunbird-0.8-source.tar.bz2 37154747 RMD160 40aab90f240ccf76fdc4e725b3524d61bb0a30ec SHA1 462b4724b7aa129c21e2b38bcda6be62ed2b9500 SHA256 234b534d9478dc4f3b44d4685da54233baee90b365963fb683e37beadd61ae6e -DIST mozilla-sunbird-0.7-ca.xpi 103329 RMD160 018a441423878b6a09f086a3f8c0d2200087997b SHA1 6b4318d08360b2d3b7610fe196798dccef3bf406 SHA256 e513daed95d79e64e0d8ca9d7010121f79331978f580faf0e86e173098d7460d -DIST mozilla-sunbird-0.7-cs.xpi 103797 RMD160 ff84d19232aaf532f40263c718514ab146b93580 SHA1 4191a6f463d26a56c0e855defdfc44768929c43f SHA256 e25427e2842ef17ddd0eeea361b881fd14140eda8b23cf6857575d6f43e5d61a -DIST mozilla-sunbird-0.7-da.xpi 100903 RMD160 0ef774747d7fb261bf4dfa917a866bfe54d9d3dd SHA1 818ebd757cfd8301534e0a0009763f6faea5d3db SHA256 e743df1ea04056da774244dc1ea14b87235346439210294a26c830a12aa12fdd -DIST mozilla-sunbird-0.7-de.xpi 95646 RMD160 29624400007060b681af13db11cd2350507fc3ef SHA1 766beb3e37ceb518c9c0d8458cd7830178a61f3c SHA256 e0c45247ed758eea94ed7782c89de04261ffaa07f4df3a71b54480dd959cf6c5 -DIST mozilla-sunbird-0.7-es-AR.xpi 102738 RMD160 a963095fe02a73e76eab1e089621314077d8bd77 SHA1 f6796d36531493be20de6ad3244cf3993ecbc043 SHA256 c17922dc422fc7edd7e3d003f4072fa050b24a5b19dc463b1715c55cf9d2d9d9 -DIST mozilla-sunbird-0.7-es-ES.xpi 88864 RMD160 45493a9173c0b5513fe33e9c0d5d65647b449f60 SHA1 dbbf3389ea6d53e8dbd03c9f66ff8fa470852dbd SHA256 0a777840b007393534bbbbd533191956af276bb96b4942c6974d2afb42121bca -DIST mozilla-sunbird-0.7-eu.xpi 99891 RMD160 e9a31252f484a30fffae71a8c01945b6334d94e2 SHA1 4bc408a1dc455f80b19b6cebf65814a1cfcee9ab SHA256 75ce824e1085cdfc83172f0b121695dc86987f19ea3094b2e48ace36ed61ac0e -DIST mozilla-sunbird-0.7-fr.xpi 106179 RMD160 8bf361af24d25de601a831d26fe2d075ce0a4268 SHA1 530715f9dc3386203687a496c63d50a0590e65b5 SHA256 976105e35c21ba3dbca460a985676b86b685845269dac9eb477213a01bdfcd96 -DIST mozilla-sunbird-0.7-ga-IE.xpi 103944 RMD160 14ac46f0a0816bb88a09d501b63ba6a01a9d72ef SHA1 a1d878ee239d246f0e44a6bc6efb0f2d710ef4ce SHA256 e31e272386d49edf4d99b38e2e4e78aef0a8c57049070353a90e80feb673799d -DIST mozilla-sunbird-0.7-hu.xpi 106028 RMD160 f344d130ec4cb72d5ef49ddfcc02694d0e6dc654 SHA1 5bbc926d3d313ba8f125f202f4bb20a5322a04ee SHA256 47c4f25f4ef63b6396e9b1a3809701db7ae50dd6fb7d3f6c6646540eb2e6929b -DIST mozilla-sunbird-0.7-it.xpi 90847 RMD160 d9fc63ae1cd4ee4a39fddd724c19dd0fb4d7fd5e SHA1 5845ba84f1a07b44346324300f08b0a20d3c2761 SHA256 e973b8169fb6a4c9233792977615cafb4e1d957150c0f3f9c6e90df6a3a5fe7c -DIST mozilla-sunbird-0.7-ka.xpi 126620 RMD160 a1154fd7b3d4a592d580b33ffd5eb0552d7df7a7 SHA1 a863ccb680b77f34f4139fad522c18c6d256bbc4 SHA256 87b1d06843912328b19f03d80f7f527f408f4bfc466b0d92f4581c9bd065844e -DIST mozilla-sunbird-0.7-lt.xpi 105593 RMD160 c0733972de98523c3f576b4492fb39b82097bc74 SHA1 4d1b193a49157989e53b9d2d0dc63726a3b971e6 SHA256 dfdb7d28b07fbd4986791c65e652b178311da4c04ed861eb3d1b73a8d1aa44b7 -DIST mozilla-sunbird-0.7-mk.xpi 105941 RMD160 f31d91329bff6a281de9d56856b92f8ebcc1f6ab SHA1 50a9f048b7f0e1df8c28bf275d483be9863419b3 SHA256 6b97fe9c7bd8e02132c7c8be11b229ae09acdb6977c592d7b5e7c9befac2242e -DIST mozilla-sunbird-0.7-nb-NO.xpi 101293 RMD160 bb51cc6c8f70ee078bf75d6326d25dd666ea22c8 SHA1 8a50a22060653d5614a398bd023d21814e8b7679 SHA256 b1c8e27402f0797a085cdbd2f6ec516209e0662f351a0903127e9ed8595166b4 -DIST mozilla-sunbird-0.7-nl.xpi 102848 RMD160 78629632672485fea1f362da850c94dad35f9348 SHA1 dc27b894b946d56b880254c3452458e6b4866026 SHA256 0d340ab535a12d7eb460485dd2719791eac70257f43218b1b0f940681f671c39 -DIST mozilla-sunbird-0.7-pa-IN.xpi 113753 RMD160 9983c3dd7f9b778c86acdc49570545f5a22839a9 SHA1 4f4a7e087b9ea1b528290a5888a53e8cac225818 SHA256 491c6c8603fdf346d126e78c064b6ad2e238943bb571b38adb26373d370bfeab -DIST mozilla-sunbird-0.7-patches-0.5.tar.bz2 10949 RMD160 603a3ba3f0c3e87ad0e713edb0f8d01b4ef714c6 SHA1 22cffaaf74ca5cb5e6d25cb234fb315422f073c1 SHA256 51906d014a1b8bd509959fddabf1317bc3b20109e1111e5521926b0e7a505cec -DIST mozilla-sunbird-0.7-pl.xpi 106336 RMD160 c1ab8da7bdef0e4e2abf730b6897693bf20e5c21 SHA1 0a4e9185e0d7afadd54959dcd4727dcdaa747239 SHA256 9b05d0ed86f1e28416fbb7525972ff7a8b1ad46078497a8e5cd47eab27284077 -DIST mozilla-sunbird-0.7-pt-BR.xpi 101521 RMD160 e3face9e0716fe1bb858d76353ef80f4ceaef857 SHA1 3484b078c0054a24a5c4b94b51975a5e0675d10e SHA256 4e9c7ee44fca5f14f52fc5f8b3a11a8e2058904db1cf78e1d3513af0d6d370e6 -DIST mozilla-sunbird-0.7-pt-PT.xpi 100882 RMD160 e1292ad15f2e0a988911ad1c5e6fdb3471657f5c SHA1 1fb5c0e81e246704e1be178ce22ee910a9cde893 SHA256 c48425fa74647ceb6c3d7e15d7982b291b94df809947c761df01d240bfc5581f -DIST mozilla-sunbird-0.7-ru.xpi 109340 RMD160 54cdb2fbdd30c701e3cca2c142c52c147805d549 SHA1 51e6932891d0e66b679ca590cc36a62dc9c05bb3 SHA256 cf13e324657c47a83c28c1e9d5ea289639f42cef5de8c04ae8a9455a6d0279cd -DIST mozilla-sunbird-0.7-sk.xpi 107082 RMD160 97a042a2fb0ddb34b66fe66d7b3ae699f22ff179 SHA1 843c33bba99d503b79e410ded14e4ca8029a36c4 SHA256 ea64ebcc865f4c0f91b807d1ecef7d1d18baa759ce82348261f4aa9924ead2a0 -DIST mozilla-sunbird-0.7-sl.xpi 103506 RMD160 e040beccca2f065d32d712510a3e4aa17bded425 SHA1 4d6809b860acbc6f9537499d6184d4c6f596bed9 SHA256 ca5d532cd3ffef250d6e41881d14cc9257d4c5477f279340d84a2218e3c7af49 -DIST mozilla-sunbird-0.7-sv-SE.xpi 105175 RMD160 2cfe28c5928dd453f4d45ed3da6fbe54fff26e52 SHA1 4137d039f5aac23a74781be1e0b230ceae90bdf7 SHA256 97d9a08a713cbce4490d7c27dc779bcce38cf53dd7a208a355ac14ab518e5865 -DIST mozilla-sunbird-0.7-tr.xpi 97238 RMD160 724e18a583cb75cd3c150a849609c0680abae10c SHA1 1e72d4a222f26a10e97e169546f7841e107471d2 SHA256 ba2668107e93e71ca169a711bd0888fed5fb76a0cd0189c94418bc4cddb9545b -DIST mozilla-sunbird-0.7-zh-CN.xpi 91681 RMD160 ed820e0f6e3fe7de1d41e8d0b4e81f90a7d8352a SHA1 a2213a9a007f474ed343a1ef3f0e6274e447c1a8 SHA256 f127b67e4f6fd65410552970f00de3b304465f74e0fabd23902ea856e799e53c DIST mozilla-sunbird-0.8-ca.xpi 106858 RMD160 026b3b89f3fb962a64b490cc4020f8fe68e77dd0 SHA1 d28bd69e588b1fddcd41fc93f355c03b95843e42 SHA256 27e08678f66c04fde8b6fe299b12a5cb9170dffe757851040167b848f274752f DIST mozilla-sunbird-0.8-cs.xpi 107057 RMD160 135ca8ea2026edc01d834442d95ca5039b546ba1 SHA1 3a364cd23c383e4e5637c253354481f7b865f440 SHA256 b070dd92ec0e68e8cfd671a00ddcbd1f98c8f909bc623c72d58b6e90e692ff3a DIST mozilla-sunbird-0.8-da.xpi 104206 RMD160 2a745bfb4c0bd4edcdff6ad5b7b3e1a337155234 SHA1 49b327d089a7e38e24e8be5d6050e0819f2e98f0 SHA256 bd0b05689ced40de58e3970ff8033ef9099eb0b212723e83ec4b4384a9b17912 @@ -65,14 +34,6 @@ DIST mozilla-sunbird-0.8-sv-SE.xpi 108696 RMD160 ff3e08d2e83be6cd618724f7dee086a DIST mozilla-sunbird-0.8-tr.xpi 99990 RMD160 ea556609e19c704efa511ce350bd5eea025e08d8 SHA1 c9e2c76b82fda591f7617f6ebe332fce557387f1 SHA256 3c9d921c5f6ac70eac823e29f5a09c67ed4d4d68be63ac3df28b8711251de7db DIST mozilla-sunbird-0.8-uk.xpi 108041 RMD160 2f254e9c10f7623d8860c8054bfe5a5385e6655a SHA1 5aacf29178d6ba55595c288189df285613086dc2 SHA256 68cb11d0437f89b90e77700d87a0d63b90ae416d67f0dce3a86a0b31865cace7 DIST mozilla-sunbird-0.8-zh-CN.xpi 99526 RMD160 1c3b9fab504a002b3c820921e7491b8bf5ebe73b SHA1 d35cd7690a5787ca5809b7f85109dc61cdf12eea SHA256 7d4bb10104e7db761966a22efa6ba65e3a844f8c8c8c7eb6e7667a5fb4f0fa27 -EBUILD mozilla-sunbird-0.7.ebuild 7375 RMD160 c399794644836955ab1f028f74c46db3979c9388 SHA1 208a1b70406f73f5dfeaca6d494ef3effb8ad464 SHA256 d8121c60cc78efaa9d5cead9159f1c7a9ed00c3347281d43b80bae8cb0ac29bc EBUILD mozilla-sunbird-0.8.ebuild 7385 RMD160 df0bbd47d729d329db276286cab1d0bec8dfff1c SHA1 d85570db0785748e60d2ddbdd40e743786eca9e3 SHA256 7bed914a4682cf122de9acb3637e44b3da7a733328664656529524ccad2d6dc9 -MISC ChangeLog 4694 RMD160 84cf5bb473523539eb4b362172514420a7107386 SHA1 be2dcfa22c49ef7983c85dc8495b072d071f259a SHA256 aede3987190c54d3821625d0521db73c0f1e34b7bff6b66b5c44a7f794d746ce +MISC ChangeLog 4782 RMD160 a28f2f811aee9ff9f153c2b168b19a33fa9beb79 SHA1 2b407a0037f61e7d2dc536a769eeee54219c8234 SHA256 b070e9a5ac879ce093e753445fa4dfff7fe761b04bd33ce961098ad16ccc29da MISC metadata.xml 160 RMD160 d5a9f0bf8989621c2bde30facb53bcae00aba709 SHA1 5015c07af2083f20f9552d7fb11afb5ea69af345 SHA256 0cc5126362a12cee42ec1197c528a804cf36859329dd2c6d9225726831d14b8b ------BEGIN PGP SIGNATURE----- -Version: GnuPG v2.0.9 (GNU/Linux) - -iEYEARECAAYFAkg3Nh0ACgkQkKaRLQcq0GLJTgCfTX0/pipAc8dxuHDQ6vpyzC16 -Al4AoJBF50fNAY2tzwKEeq6o9nUNz/pT -=n1tn ------END PGP SIGNATURE----- diff --git a/app-office/mozilla-sunbird/mozilla-sunbird-0.7.ebuild b/app-office/mozilla-sunbird/mozilla-sunbird-0.7.ebuild deleted file mode 100644 index 15a2aa610327..000000000000 --- a/app-office/mozilla-sunbird/mozilla-sunbird-0.7.ebuild +++ /dev/null @@ -1,238 +0,0 @@ -# Copyright 1999-2008 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/app-office/mozilla-sunbird/mozilla-sunbird-0.7.ebuild,v 1.13 2008/04/19 17:04:30 armin76 Exp $ - -WANT_AUTOCONF="2.1" - -inherit flag-o-matic toolchain-funcs eutils mozconfig-2 mozilla-launcher makeedit multilib fdo-mime mozextension autotools - -PATCH="${P}-patches-0.5" -LANGS="ca cs da de en-US es-AR es-ES eu fr ga-IE hu it ka lt mk nb-NO nl pa-IN pl pt-BR pt-PT ru sk sl sv-SE tr zh-CN" -NOSHORTLANGS="es-AR pt-BR zh-TW" - -MY_PN="${PN/mozilla-}" -MY_P="${MY_PN}-${PV}" -DESCRIPTION="The Mozilla Sunbird Calendar" -HOMEPAGE="http://www.mozilla.org/projects/calendar/sunbird.html" -IUSE="bindist" -SRC_URI="http://releases.mozilla.org/pub/mozilla.org/calendar/${MY_PN}/releases/${PV}/source/lightning-${MY_P}-source.tar.bz2 - mirror://gentoo/${PATCH}.tar.bz2" - -# These are in -# -# http://releases.mozilla.org/pub/mozilla.org/calendar/sunbird/releases/${PV}/langpacks/ -# -# for i in $LANGS $SHORTLANGS; do wget $i.xpi -O ${P}-$i.xpi; done -for X in ${LANGS} ; do - if [ "${X}" != "en" ] && [ "${X}" != "en-US" ]; then - SRC_URI="${SRC_URI} - linguas_${X/-/_}? ( http://dev.gentooexperimental.org/~armin76/dist/${P}-xpi/${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%%-*}? ( http://dev.gentooexperimental.org/~armin76/dist/${P}-xpi/${P}-${X}.xpi )" - fi - IUSE="${IUSE} linguas_${X%%-*}" - fi -done - -KEYWORDS="amd64 ~ppc ~ppc64 x86" -SLOT="0" -LICENSE="|| ( MPL-1.1 GPL-2 LGPL-2.1 )" - -RDEPEND=">=www-client/mozilla-launcher-1.55 - >=dev-libs/nss-3.11.7" - -S="${WORKDIR}/mozilla" - -# Needed by src_compile() and src_install(). -# Would do in pkg_setup but that loses the export attribute, they -# become pure shell variables. -export MOZ_CO_PROJECT=calendar -export BUILD_OFFICIAL=1 -export MOZILLA_OFFICIAL=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 -} - -pkg_setup(){ - if ! built_with_use x11-libs/cairo X; then - eerror "Cairo is not built with X useflag." - eerror "Please add 'X' to your USE flags, and re-emerge cairo." - die "Cairo needs X" - fi - - if ! built_with_use --missing true x11-libs/pango X; then - eerror "Pango is not built with X useflag." - eerror "Please add 'X' to your USE flags, and re-emerge pango." - die "Pango needs X" - fi - - if ! use bindist; then - elog "You are enabling official branding. You may not redistribute this build" - elog "to any users on your network or the internet. Doing so puts yourself into" - elog "a legal problem with mozilla foundation" - fi - - use moznopango && warn_mozilla_launcher_stub -} - -src_unpack() { - unpack ${A%bz2*}bz2 - - linguas - for X in ${linguas}; do - [[ ${X} != "en" ]] && xpi_unpack "${P}-${X}.xpi" - done - if [[ ${linguas} != "" && ${linguas} != "en" ]]; then - einfo "Selected language packs (first will be default): ${linguas}" - fi - - # Apply our patches - cd "${S}" || die "cd failed" - EPATCH_SUFFIX="patch" \ - EPATCH_FORCE="yes" \ - epatch "${WORKDIR}"/patch - - eautoreconf -} - -src_compile() { - declare MOZILLA_FIVE_HOME="/usr/$(get_libdir)/${PN}" - - #################################### - # - # mozconfig, CFLAGS and CXXFLAGS setup - # - #################################### - - mozconfig_init - mozconfig_config - - mozconfig_annotate '' --enable-application=calendar - mozconfig_annotate '' --enable-extensions=default - mozconfig_annotate '' --with-default-mozilla-five-home=${MOZILLA_FIVE_HOME} - mozconfig_annotate '' --with-system-nss - mozconfig_annotate '' --with-system-nspr - - if ! use bindist; then - mozconfig_annotate '' --enable-official-branding - fi - - # Finalize and report settings - mozconfig_final - - # hardened GCC uses -fstack-protector-all by default, which breaks us - gcc-specs-ssp && append-flags -fno-stack-protector-all - replace-flags -fstack-protector-all -fstack-protector - - #################################### - # - # Configure and build - # - #################################### - - CPPFLAGS="${CPPFLAGS} -DARON_WAS_HERE" \ - CC="$(tc-getCC)" CXX="$(tc-getCXX)" LD="$(tc-getLD)" \ - econf || die - - # It would be great if we could pass these in via CPPFLAGS or CFLAGS prior - # to econf, but the quotes cause configure to fail. - sed -i -e \ - 's|-DARON_WAS_HERE|-DGENTOO_NSPLUGINS_DIR=\\\"/usr/'"$(get_libdir)"'/nsplugins\\\" -DGENTOO_NSBROWSER_PLUGINS_DIR=\\\"/usr/'"$(get_libdir)"'/nsbrowser/plugins\\\"|' \ - "${S}"/config/autoconf.mk \ - "${S}"/nsprpub/config/autoconf.mk \ - "${S}"/xpfe/global/buildconfig.html - - # This removes extraneous CFLAGS from the Makefiles to reduce RAM - # requirements while compiling - edit_makefiles - - [ "${WANT_MP}" = "true" ] && jobs=${MAKEOPTS} || jobs="-j1" - emake ${jobs} || die -} - -pkg_preinst() { - declare MOZILLA_FIVE_HOME="/usr/$(get_libdir)/${PN}" - - einfo "Removing old installs though some really ugly code. It potentially" - einfo "eliminates any problems during the install, however suggestions to" - einfo "replace this are highly welcome. Send comments and suggestions to" - einfo "mozilla@gentoo.org." - rm -rf "${ROOT}"/"${MOZILLA_FIVE_HOME}" -} - -src_install() { - declare MOZILLA_FIVE_HOME="/usr/$(get_libdir)/${PN}" - - # Most of the installation happens here - dodir ${MOZILLA_FIVE_HOME} - cp -RL "${S}"/dist/bin/* "${D}"${MOZILLA_FIVE_HOME} || die "Copy of files failed" - touch "${D}"${MOZILLA_FIVE_HOME}/extensions/{972ce4c6-7e08-4474-a285-3208198ce6fd}/chrome.manifest - touch "${D}"${MOZILLA_FIVE_HOME}/extensions/{e2fda1a4-762b-4020-b5ad-a41df1933103}/chrome.manifest - - linguas - for X in ${linguas}; do - [[ ${X} != "en" ]] && xpi_install "${WORKDIR}"/"${P}-${X}" - done - - local LANG=${linguas%% *} - if [[ -n ${LANG} && ${LANG} != "en" ]]; then - einfo "Setting default locale to ${LANG}" - dosed -e "s:general.useragent.locale\", \"en-US\":general.useragent.locale\", \"${LANG}\":" \ - ${MOZILLA_FIVE_HOME}/defaults/pref/sunbird.js \ - ${MOZILLA_FIVE_HOME}/defaults/pref/sunbird-l10n.js || \ - die "sed failed to change locale" - fi - - # Create /usr/bin/sunbird - install_mozilla_launcher_stub sunbird ${MOZILLA_FIVE_HOME} - - # Install icon and .desktop for menu entry - if ! use bindist; then - doicon "${FILESDIR}"/icon/${PN}-icon.png - domenu "${FILESDIR}"/icon/${PN}.desktop - else - doicon "${FILESDIR}"/icon/${PN}-unbranded-icon.png - newmenu "${FILESDIR}"/icon/${PN}-unbranded.desktop \ - ${PN}.desktop - - fi -} - -pkg_postinst() { - declare MOZILLA_FIVE_HOME="/usr/$(get_libdir)/${PN}" - - # This should be called in the postinst and postrm of all the - # mozilla, mozilla-bin, firefox, firefox-bin, thunderbird and - # thunderbird-bin ebuilds. - update_mozilla_launcher_symlinks -} - -pkg_postrm() { - declare MOZILLA_FIVE_HOME="/usr/$(get_libdir)/${PN}" - - update_mozilla_launcher_symlinks -} |