summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRaúl Porcel <armin76@gentoo.org>2008-03-08 12:14:36 +0000
committerRaúl Porcel <armin76@gentoo.org>2008-03-08 12:14:36 +0000
commit4f7e248aaad55611dcbde555f56ab1274b81fb94 (patch)
treeb9add78831feae5f81e5c7e235874d504fdf5215 /app-office
parentAdded mask for samba-3.2* (diff)
downloadhistorical-4f7e248aaad55611dcbde555f56ab1274b81fb94.tar.gz
historical-4f7e248aaad55611dcbde555f56ab1274b81fb94.tar.bz2
historical-4f7e248aaad55611dcbde555f56ab1274b81fb94.zip
version bump
Package-Manager: portage-2.1.4.4
Diffstat (limited to 'app-office')
-rw-r--r--app-office/mozilla-sunbird-bin/ChangeLog10
-rw-r--r--app-office/mozilla-sunbird-bin/Manifest33
-rw-r--r--app-office/mozilla-sunbird-bin/mozilla-sunbird-bin-0.8_rc1.ebuild144
3 files changed, 184 insertions, 3 deletions
diff --git a/app-office/mozilla-sunbird-bin/ChangeLog b/app-office/mozilla-sunbird-bin/ChangeLog
index 73e229e66157..769dd67cb55a 100644
--- a/app-office/mozilla-sunbird-bin/ChangeLog
+++ b/app-office/mozilla-sunbird-bin/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for app-office/mozilla-sunbird-bin
-# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-office/mozilla-sunbird-bin/ChangeLog,v 1.28 2007/12/04 11:10:57 armin76 Exp $
+# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/app-office/mozilla-sunbird-bin/ChangeLog,v 1.29 2008/03/08 12:14:36 armin76 Exp $
+
+*mozilla-sunbird-bin-0.8_rc1 (08 Mar 2008)
+
+ 08 Mar 2008; Raúl Porcel <armin76@gentoo.org>
+ +mozilla-sunbird-bin-0.8_rc1.ebuild:
+ Version bump
04 Dec 2007; Raúl Porcel <armin76@gentoo.org>
-mozilla-sunbird-bin-0.5.ebuild, mozilla-sunbird-bin-0.7.ebuild:
diff --git a/app-office/mozilla-sunbird-bin/Manifest b/app-office/mozilla-sunbird-bin/Manifest
index b595fd9ddfce..d3a94a214bcd 100644
--- a/app-office/mozilla-sunbird-bin/Manifest
+++ b/app-office/mozilla-sunbird-bin/Manifest
@@ -26,7 +26,38 @@ DIST mozilla-sunbird-0.7-sl.xpi 103506 RMD160 e040beccca2f065d32d712510a3e4aa17b
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_rc1-ca.xpi 106975 RMD160 0cc3c079b52b16824e904807c7ea6dc57f048567 SHA1 41c73e798f67128f191ae687374f0e5a414ffb54 SHA256 601e2eb9a7e03fe0897850dff308083af321290265d342a9c3b465a13db9e6da
+DIST mozilla-sunbird-0.8_rc1-cs.xpi 107175 RMD160 6351f598d5e6bbed7d0b63576bb276d3bb4600a8 SHA1 412111d868710dacbe9787c4ec714cedaacbd638 SHA256 91b1bf179d03da7f2e16112eb8e91fe760d2a7a6c61c8c6f0bfb520e3473c13e
+DIST mozilla-sunbird-0.8_rc1-da.xpi 104331 RMD160 088f8dc503aa111ca1296c4e8293af1327c71ff3 SHA1 3e652dce1b3d3c236257f1497302153b92e6535c SHA256 501e1fbe4eda0d2728dbf1d1e0769f26f6518a991889170821aeccbaf2a11044
+DIST mozilla-sunbird-0.8_rc1-de.xpi 99619 RMD160 a60be766eb5f770eecfaeccafdcc0e00b2e8c349 SHA1 90ba3055bd15b687bdd18342e0d76a48a6f4aea9 SHA256 6ae9515a83ac53fca4601e5009ca36e0864a54233e9be7734bf933c2ace6f17b
+DIST mozilla-sunbird-0.8_rc1-es-AR.xpi 106462 RMD160 501165a23b18858657f9f44ea4196ab330e1eb4f SHA1 77dd55c7da0cb6860ed5043fa10eeb2e98ef01fb SHA256 15591794eb2ecdafde935a828131696028d337e3ea913d21e88d32ec27fb0674
+DIST mozilla-sunbird-0.8_rc1-es-ES.xpi 91099 RMD160 74a27ec9cb98ebf24efa3fed03624465d5b0bb05 SHA1 056ee6699b4339f132497415ba944efe31dd2167 SHA256 6e9d85eb893f504dbfd3c9ef8a290e8b02893d2c96aecdd28cfff6f8483b62de
+DIST mozilla-sunbird-0.8_rc1-eu.xpi 103418 RMD160 e26d8189352afd010d8a905c6df273f6d6e3f299 SHA1 29c6f44fe90308a25017d07a1ce65d80654b232b SHA256 a5254b31675da666e0680b8c9f44af556da9e3e465f277c71ec383035b84f998
+DIST mozilla-sunbird-0.8_rc1-fr.xpi 110036 RMD160 2993bb3b7dfa8b28847ee34b66f393398ac2b2dc SHA1 4609522bf3a8a532b4e87186b25c668ebf9c031f SHA256 ed68b39bc5d378440db64e1a08e81bf86ab874875cb2d683073d608dd22aaad9
+DIST mozilla-sunbird-0.8_rc1-ga-IE.xpi 107364 RMD160 90c2a357cebfd383122e708309a356d365743402 SHA1 547a03e84ea6d679ca23deea0e470a6d0de0917a SHA256 199e4718a99136437ee89f8933d294e3fc9b797e27119c51ab6cfcf2b4331ad8
+DIST mozilla-sunbird-0.8_rc1-hu.xpi 109772 RMD160 d6690a7d228ab02e36ef5048d3d5ec401dc80185 SHA1 8c982d2f4c8de41be3db73a558a0ca12304b7881 SHA256 e56af2f31c08f46ed296d8e04f89c7e4942d3ddcce16c9027963cb8086da8e34
+DIST mozilla-sunbird-0.8_rc1-it.xpi 93157 RMD160 984a934b68eb9e0679728041c3669b2f90949350 SHA1 bc273eb544bd1b331b39897254719b8b8eda6bc4 SHA256 05a5cee98d3366fabfdfe39bd50f65d3618cdcb870f0103847613fbeae6969cc
+DIST mozilla-sunbird-0.8_rc1-ja.xpi 114215 RMD160 53400aa31fba2427dba766c6bd4ab59d53f412f7 SHA1 5398963bfa1aa5f44f6159549c825aada15003c0 SHA256 6c840ce85d35e7cddc0de384abdd4a00aec921ff87a57724eecae354ffe0a9ff
+DIST mozilla-sunbird-0.8_rc1-ka.xpi 131841 RMD160 86a056e13ac38f8127d9449c6f99f330750ba931 SHA1 7b2cb6f91dffc1575fbee93984953d6d2ae8286f SHA256 27641730452114096bdfa0ced3dfb361ea71c3ec738765a66655cf48f504af7f
+DIST mozilla-sunbird-0.8_rc1-ko.xpi 98692 RMD160 281c6e0520ea7044d7db89ee82898b6d8b869c38 SHA1 c52af41c65b3ecd95985bf7ac18446018f333bcb SHA256 681a0ab03f5a70109019a92a1572ad6ec25c7a512e09c5febc5be47783b0300b
+DIST mozilla-sunbird-0.8_rc1-lt.xpi 109146 RMD160 03188e620ce942ce75d37dfc2915e20273c1804e SHA1 132b92131dd22ac1776cedbc401a0706b1cb530a SHA256 b6ea521a9d354c78a0df91cf2f764fe6c443f237f62cff8050340482b2e8c4dc
+DIST mozilla-sunbird-0.8_rc1-mk.xpi 108302 RMD160 19c4c9013024064578d0d4b3fb1c7186ca6664d7 SHA1 6830866274c8d198182a065a31127c346477610a SHA256 bf31ead934c5b09fad741127be3ce5932e6380785f70a92c72e8ad3df3927d10
+DIST mozilla-sunbird-0.8_rc1-nb-NO.xpi 104925 RMD160 e5cf205db3a43afbb6de26b4b10fab7e4676ec29 SHA1 058d1c881049427ea334da0e4ded2698f6d596a9 SHA256 4c9f11ef32fb77e17e6d0d27472aaaae160fd8504cb54e5111876d4b24a8f5a5
+DIST mozilla-sunbird-0.8_rc1-nl.xpi 106594 RMD160 9fc4afcab0633404ce8639a892811f45af4b0423 SHA1 0919328ba0371fd5f41c185cca4787258281ba1e SHA256 b7fae7a542b9ec75614eef35ad3eb8ce8858a100dec48be164588b9f0eb5fb9b
+DIST mozilla-sunbird-0.8_rc1-pa-IN.xpi 82750 RMD160 95dc8c34c541e8a6372339c8b0ccbbb4b972179d SHA1 5b7de8f88d67ae9891f2f110804735168cecb7e8 SHA256 2f2107e9dfca29d427aa42f3d0d86a7202a5f46d642214805dbac8e3254191eb
+DIST mozilla-sunbird-0.8_rc1-pl.xpi 110513 RMD160 8c08e343681eb3631027f85a201aa2e8c204f106 SHA1 88fd8424d4d1d0aefd0faad94ae198f8c14fd6e0 SHA256 87dae2efe91cc9cdb6ed0d7e849410d6a71ef80eff85a40784fa9f1a53786886
+DIST mozilla-sunbird-0.8_rc1-pt-BR.xpi 105043 RMD160 7834a1f3e3e2b9411f937a9a4529256b4ebea262 SHA1 f758f0c25eeab3ab86697446cae480c0967c083b SHA256 973579868b047c7f477fd4f056b127572eeb2f3bdfccbe698c24d3536450d91d
+DIST mozilla-sunbird-0.8_rc1-pt-PT.xpi 104476 RMD160 169b52b24210181b333a7f1453fa7f2b5a29129f SHA1 dc8cedb2d9eccfa3dccb4baf8f0d47299d0231b8 SHA256 0c89be7f38fb18938d6f91c1f95de162b4b6ff3d6c6ef3c79f5c4fb9a3c899c1
+DIST mozilla-sunbird-0.8_rc1-ru.xpi 113531 RMD160 e86a2d235ff85fb2ebab84c569a7a81a7ab53d7b SHA1 c99fd1f40bdd60d814e9e1bd2c3e22ccb067cbb6 SHA256 f459742b273778674d89a6a9b254d5885ed1970660fa391085fe520791daae0b
+DIST mozilla-sunbird-0.8_rc1-sk.xpi 110767 RMD160 f1f3f63f702133b18dc3cd1a4bbf7d6f8d6ab3c5 SHA1 69b47995ccaa59ddb05280065f9ba26265ad7892 SHA256 c3bcda5bfee985c20517af25001cf76b8690505071579693d1b6c0c3621f1fdf
+DIST mozilla-sunbird-0.8_rc1-sl.xpi 107060 RMD160 97387f0add47154195b841c53f60618bbee4d3ae SHA1 5353c4da5d674a8c102870e9620339f94af0091e SHA256 41c3ec35264e489fcd6a61f7ed4d94b83840a5a1ce1641d7c0ba192ab2d976fc
+DIST mozilla-sunbird-0.8_rc1-sv-SE.xpi 108813 RMD160 a7d02ab7ec5f90367d410112debdecb3a3440706 SHA1 a9c55036bb94e4c95bd03f870f10fba2064b6207 SHA256 11afda6a992d007e91f9294d11d98c11aa47196cacd39e121a5cfc08ccad626f
+DIST mozilla-sunbird-0.8_rc1-tr.xpi 100083 RMD160 79f43def875b767daf7b0d208fea90193f394e29 SHA1 c63b54d8bbdade8f0c4f95d08bf1de9f9d1c67de SHA256 673f492dc75489bb78ea4ab2de465e923dbe598009099ec00bfb6cdabec5b403
+DIST mozilla-sunbird-0.8_rc1-uk.xpi 108154 RMD160 4bd9e5683e46f09100d7c476495a381c9ea7a506 SHA1 de7d8851912b1de4fec0bae89070d67515f50a33 SHA256 db2bbc73091b288c9569f651fe1fef1fe76c2d1acd750efd75942d175a2a4d70
+DIST mozilla-sunbird-0.8_rc1-zh-CN.xpi 98258 RMD160 f0db3e3161ad4e82e82bab3275a67672806e461f SHA1 d7ace3c9a2634aae2944fbb30490a129615f0c9e SHA256 c6b27cac7ad419ab58c1f1e45c45d437d1d1a22c0f0f40353d6f2d3267aa143e
DIST sunbird-0.7.en-US.linux-i686.tar.gz 8606252 RMD160 dd63e31bc6c03aa00bd660d44ed636291941da0d SHA1 4d7bf88f765d1bef84e1e9834a9ff1644bf8c0e6 SHA256 77aa8aa0a4b13172c26e4e5fa3674da0752de9f8db9adf0b5291d78a5579a40e
+DIST sunbird-0.8rc1.en-US.linux-i686.tar.gz 8761903 RMD160 1da9a992695d244514283eaed3930b1d947db66e SHA1 40d48eae5cdc325e7604d717ecbbdec57a313a5c SHA256 8094a91227aeef763c03d3522a4714619a3d7b73c202ddbec59315a33caa66b2
EBUILD mozilla-sunbird-bin-0.7.ebuild 4357 RMD160 e17253178870913764285cb6e20412b55d365010 SHA1 0d3f2053fd4166bbad8e0c0520086a67599376fa SHA256 436bc303bfb5f2ee56be0e09e0c15f4ccf394bd219f4a31a847bd26f97252a80
-MISC ChangeLog 5559 RMD160 56f7103ceb0756fc02af8221a8664d5b834333d6 SHA1 b08f03d0eca52be537e8a84f0e2af6318bd88c28 SHA256 703e421398116bd8bdf700400c67febf516c43895d2aadd5e683c22a23d7966e
+EBUILD mozilla-sunbird-bin-0.8_rc1.ebuild 4372 RMD160 5ea2d562316e1c70f51681dd9e1adf91d3755d5b SHA1 a92bb9e5e9820ae655e5700bd9537b0b1c854e99 SHA256 1d8e2638bb7b5eaa46971829460d41e521882d9618a9180e94bc4b81914601d1
+MISC ChangeLog 5707 RMD160 d7f15912db34d2fad0a464099bb220db090015aa SHA1 8a1b5e30871368be583b8167a87eb14141fb7f97 SHA256 6492cc761bf96921984cb256a6642a650614ef163f33108ab1fa37760bde6b55
MISC metadata.xml 160 RMD160 d5a9f0bf8989621c2bde30facb53bcae00aba709 SHA1 5015c07af2083f20f9552d7fb11afb5ea69af345 SHA256 0cc5126362a12cee42ec1197c528a804cf36859329dd2c6d9225726831d14b8b
diff --git a/app-office/mozilla-sunbird-bin/mozilla-sunbird-bin-0.8_rc1.ebuild b/app-office/mozilla-sunbird-bin/mozilla-sunbird-bin-0.8_rc1.ebuild
new file mode 100644
index 000000000000..1ce08b20f5c3
--- /dev/null
+++ b/app-office/mozilla-sunbird-bin/mozilla-sunbird-bin-0.8_rc1.ebuild
@@ -0,0 +1,144 @@
+# 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-bin/mozilla-sunbird-bin-0.8_rc1.ebuild,v 1.1 2008/03/08 12:14:36 armin76 Exp $
+
+inherit eutils mozilla-launcher multilib mozextension
+
+LANGS="ca cs da de es-AR es-ES eu fr ga-IE hu it ja ka ko lt mk nb-NO nl pa-IN pl pt-BR pt-PT ru sk sl sv-SE tr uk zh-CN"
+NOSHORTLANGS="es-AR pt-BR zh-TW"
+
+MY_PN="${PN/mozilla-}"
+MY_P="${MY_PN/-bin}-${PV/_rc/rc}"
+DESCRIPTION="Mozilla Sunbird Calendar"
+SRC_URI="http://releases.mozilla.org/pub/mozilla.org/calendar/sunbird/releases/${PV/_rc/rc}/linux-i686/en-US/${MY_P}.en-US.linux-i686.tar.gz"
+HOMEPAGE="http://www.mozilla.org/projects/calendar/sunbird.html"
+RESTRICT="strip"
+
+KEYWORDS="-* ~amd64 ~x86"
+SLOT="0"
+LICENSE="MPL-1.1 GPL-2 LGPL-2.1"
+IUSE=""
+
+# 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
+ SRC_URI="${SRC_URI}
+ linguas_${X/-/_}? ( http://dev.gentooexperimental.org/~armin76/dist/${P/-bin}-xpi/${P/-bin/}-${X}.xpi )"
+ IUSE="${IUSE} linguas_${X/-/_}"
+ # english is handled internally
+ if [ "${#X}" == 5 ] && ! has ${X} ${NOSHORTLANGS}; then
+ SRC_URI="${SRC_URI}
+ linguas_${X%%-*}? ( http://dev.gentooexperimental.org/~armin76/dist/${P/-bin}-xpi/${P/-bin/}-${X}.xpi )"
+ IUSE="${IUSE} linguas_${X%%-*}"
+ fi
+done
+
+DEPEND="app-arch/unzip"
+RDEPEND="x11-libs/libXrender
+ x11-libs/libXt
+ x11-libs/libXmu
+ x86? (
+ >=x11-libs/gtk+-2.2
+ =virtual/libstdc++-3.3
+ )
+ amd64? (
+ >=app-emulation/emul-linux-x86-baselibs-1.0
+ >=app-emulation/emul-linux-x86-gtklibs-1.0
+ app-emulation/emul-linux-x86-compat
+ )
+ >=www-client/mozilla-launcher-1.56"
+
+S="${WORKDIR}/sunbird"
+
+pkg_config() {
+ # This is a binary x86 package => ABI=x86
+ # Please keep this in future versions
+ # Danny van Dyk <kugelfang@gentoo.org> 2005/03/26
+ has_multilib_profile && ABI="x86"
+}
+
+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 mozilla-firefox does not support the ${LANG} LINGUA"
+ done
+}
+
+src_unpack() {
+ unpack ${MY_P}.en-US.linux-i686.tar.gz
+
+ linguas
+ for X in ${linguas}; do
+ [[ ${X} != "en" ]] && xpi_unpack "${P/-bin/}-${X}.xpi"
+ done
+ if [[ ${linguas} != "" ]]; then
+ einfo "Selected language packs (first will be default): ${linguas}"
+ fi
+}
+
+src_install() {
+ declare MOZILLA_FIVE_HOME="/opt/sunbird"
+
+ # Install sunbird in /opt
+ dodir ${MOZILLA_FIVE_HOME%/*}
+ touch "${S}"/extensions/talkback@mozilla.org/chrome.manifest
+ touch "${S}"/extensions/{972ce4c6-7e08-4474-a285-3208198ce6fd}/chrome.manifest
+ touch "${S}"/extensions/{e2fda1a4-762b-4020-b5ad-a41df1933103}/chrome.manifest
+ mv "${S}" "${D}"${MOZILLA_FIVE_HOME}
+
+ linguas
+ for X in ${linguas}; do
+ [[ ${X} != "en" ]] && xpi_install "${WORKDIR}"/"${P/-bin/}-${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-bin
+ install_mozilla_launcher_stub sunbird-bin ${MOZILLA_FIVE_HOME}
+
+ # Install icon and .desktop for menu entry
+ doicon "${FILESDIR}"/icon/${PN}-icon.png
+ domenu "${FILESDIR}"/icon/${PN}.desktop
+}
+
+pkg_preinst() {
+ declare MOZILLA_FIVE_HOME="/opt/sunbird"
+
+ # Remove entire installed instance to prevent all kinds of
+ # problems... see bug 44772 for example
+ rm -rf "${ROOT}"${MOZILLA_FIVE_HOME}
+}
+
+pkg_postinst() {
+ use amd64 && einfo "NB: You just installed a 32-bit sunbird"
+ update_mozilla_launcher_symlinks
+}
+
+pkg_postrm() {
+ update_mozilla_launcher_symlinks
+}