summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRaúl Porcel <armin76@gentoo.org>2007-10-26 18:37:10 +0000
committerRaúl Porcel <armin76@gentoo.org>2007-10-26 18:37:10 +0000
commit7e49d12d0133f6627a0d332b70935aacfff2cfc0 (patch)
tree50efd371c929a2a2fe128e034b33a4fe38e06ced /app-office
parentVersion bump, bug 195040 (diff)
downloadgentoo-2-7e49d12d0133f6627a0d332b70935aacfff2cfc0.tar.gz
gentoo-2-7e49d12d0133f6627a0d332b70935aacfff2cfc0.tar.bz2
gentoo-2-7e49d12d0133f6627a0d332b70935aacfff2cfc0.zip
Version bump, bug 195040
(Portage version: 2.1.3.16)
Diffstat (limited to 'app-office')
-rw-r--r--app-office/mozilla-sunbird-bin/ChangeLog8
-rw-r--r--app-office/mozilla-sunbird-bin/files/digest-mozilla-sunbird-bin-0.781
-rw-r--r--app-office/mozilla-sunbird-bin/mozilla-sunbird-bin-0.7.ebuild144
3 files changed, 232 insertions, 1 deletions
diff --git a/app-office/mozilla-sunbird-bin/ChangeLog b/app-office/mozilla-sunbird-bin/ChangeLog
index af1a5db615e4..66cd6aafceaa 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.26 2007/07/21 18:25:19 armin76 Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-office/mozilla-sunbird-bin/ChangeLog,v 1.27 2007/10/26 18:37:09 armin76 Exp $
+
+*mozilla-sunbird-bin-0.7 (26 Oct 2007)
+
+ 26 Oct 2007; Raúl Porcel <armin76@gentoo.org>
+ +mozilla-sunbird-bin-0.7.ebuild:
+ Version bump, bug 195040
21 Jul 2007; Raúl Porcel <armin76@gentoo.org>
mozilla-sunbird-bin-0.5.ebuild:
diff --git a/app-office/mozilla-sunbird-bin/files/digest-mozilla-sunbird-bin-0.7 b/app-office/mozilla-sunbird-bin/files/digest-mozilla-sunbird-bin-0.7
new file mode 100644
index 000000000000..02fe565fff6d
--- /dev/null
+++ b/app-office/mozilla-sunbird-bin/files/digest-mozilla-sunbird-bin-0.7
@@ -0,0 +1,81 @@
+MD5 4e3cbcb9fa2f228b6bfcd551a6455e9f mozilla-sunbird-0.7-ca.xpi 103329
+RMD160 018a441423878b6a09f086a3f8c0d2200087997b mozilla-sunbird-0.7-ca.xpi 103329
+SHA256 e513daed95d79e64e0d8ca9d7010121f79331978f580faf0e86e173098d7460d mozilla-sunbird-0.7-ca.xpi 103329
+MD5 937673bedbf28dc172fd8f2d4bd541ed mozilla-sunbird-0.7-cs.xpi 103797
+RMD160 ff84d19232aaf532f40263c718514ab146b93580 mozilla-sunbird-0.7-cs.xpi 103797
+SHA256 e25427e2842ef17ddd0eeea361b881fd14140eda8b23cf6857575d6f43e5d61a mozilla-sunbird-0.7-cs.xpi 103797
+MD5 3f4b4aa898f9fe314acfa8ee5fe41615 mozilla-sunbird-0.7-da.xpi 100903
+RMD160 0ef774747d7fb261bf4dfa917a866bfe54d9d3dd mozilla-sunbird-0.7-da.xpi 100903
+SHA256 e743df1ea04056da774244dc1ea14b87235346439210294a26c830a12aa12fdd mozilla-sunbird-0.7-da.xpi 100903
+MD5 21802f939e3a63322957e1a4e73bd675 mozilla-sunbird-0.7-de.xpi 95646
+RMD160 29624400007060b681af13db11cd2350507fc3ef mozilla-sunbird-0.7-de.xpi 95646
+SHA256 e0c45247ed758eea94ed7782c89de04261ffaa07f4df3a71b54480dd959cf6c5 mozilla-sunbird-0.7-de.xpi 95646
+MD5 93b2198808f14500b045ddd9c17d913a mozilla-sunbird-0.7-es-AR.xpi 102738
+RMD160 a963095fe02a73e76eab1e089621314077d8bd77 mozilla-sunbird-0.7-es-AR.xpi 102738
+SHA256 c17922dc422fc7edd7e3d003f4072fa050b24a5b19dc463b1715c55cf9d2d9d9 mozilla-sunbird-0.7-es-AR.xpi 102738
+MD5 c5ea9b3874cd529436e360279910fbc9 mozilla-sunbird-0.7-es-ES.xpi 88864
+RMD160 45493a9173c0b5513fe33e9c0d5d65647b449f60 mozilla-sunbird-0.7-es-ES.xpi 88864
+SHA256 0a777840b007393534bbbbd533191956af276bb96b4942c6974d2afb42121bca mozilla-sunbird-0.7-es-ES.xpi 88864
+MD5 e2704b7214773cabea91c60a24c76790 mozilla-sunbird-0.7-eu.xpi 99891
+RMD160 e9a31252f484a30fffae71a8c01945b6334d94e2 mozilla-sunbird-0.7-eu.xpi 99891
+SHA256 75ce824e1085cdfc83172f0b121695dc86987f19ea3094b2e48ace36ed61ac0e mozilla-sunbird-0.7-eu.xpi 99891
+MD5 850bd04ac692c9760fb19ef9b9b0a19d mozilla-sunbird-0.7-fr.xpi 106179
+RMD160 8bf361af24d25de601a831d26fe2d075ce0a4268 mozilla-sunbird-0.7-fr.xpi 106179
+SHA256 976105e35c21ba3dbca460a985676b86b685845269dac9eb477213a01bdfcd96 mozilla-sunbird-0.7-fr.xpi 106179
+MD5 5e0d38d9f360ee7b2efe563189ea158f mozilla-sunbird-0.7-ga-IE.xpi 103944
+RMD160 14ac46f0a0816bb88a09d501b63ba6a01a9d72ef mozilla-sunbird-0.7-ga-IE.xpi 103944
+SHA256 e31e272386d49edf4d99b38e2e4e78aef0a8c57049070353a90e80feb673799d mozilla-sunbird-0.7-ga-IE.xpi 103944
+MD5 4a29390b8fab1131d002b5560cabb2e7 mozilla-sunbird-0.7-hu.xpi 106028
+RMD160 f344d130ec4cb72d5ef49ddfcc02694d0e6dc654 mozilla-sunbird-0.7-hu.xpi 106028
+SHA256 47c4f25f4ef63b6396e9b1a3809701db7ae50dd6fb7d3f6c6646540eb2e6929b mozilla-sunbird-0.7-hu.xpi 106028
+MD5 db51409dc74c9d4afa5de506183fd69c mozilla-sunbird-0.7-it.xpi 90847
+RMD160 d9fc63ae1cd4ee4a39fddd724c19dd0fb4d7fd5e mozilla-sunbird-0.7-it.xpi 90847
+SHA256 e973b8169fb6a4c9233792977615cafb4e1d957150c0f3f9c6e90df6a3a5fe7c mozilla-sunbird-0.7-it.xpi 90847
+MD5 ecf838ee0a840472b5472f10db2d03a0 mozilla-sunbird-0.7-ka.xpi 126620
+RMD160 a1154fd7b3d4a592d580b33ffd5eb0552d7df7a7 mozilla-sunbird-0.7-ka.xpi 126620
+SHA256 87b1d06843912328b19f03d80f7f527f408f4bfc466b0d92f4581c9bd065844e mozilla-sunbird-0.7-ka.xpi 126620
+MD5 ad693131e606422f2d51033647cd7d49 mozilla-sunbird-0.7-lt.xpi 105593
+RMD160 c0733972de98523c3f576b4492fb39b82097bc74 mozilla-sunbird-0.7-lt.xpi 105593
+SHA256 dfdb7d28b07fbd4986791c65e652b178311da4c04ed861eb3d1b73a8d1aa44b7 mozilla-sunbird-0.7-lt.xpi 105593
+MD5 c87d6cae128201f36ba7a846ce38030f mozilla-sunbird-0.7-mk.xpi 105941
+RMD160 f31d91329bff6a281de9d56856b92f8ebcc1f6ab mozilla-sunbird-0.7-mk.xpi 105941
+SHA256 6b97fe9c7bd8e02132c7c8be11b229ae09acdb6977c592d7b5e7c9befac2242e mozilla-sunbird-0.7-mk.xpi 105941
+MD5 76cea0b476ea5d6aed19db566665d262 mozilla-sunbird-0.7-nb-NO.xpi 101293
+RMD160 bb51cc6c8f70ee078bf75d6326d25dd666ea22c8 mozilla-sunbird-0.7-nb-NO.xpi 101293
+SHA256 b1c8e27402f0797a085cdbd2f6ec516209e0662f351a0903127e9ed8595166b4 mozilla-sunbird-0.7-nb-NO.xpi 101293
+MD5 acfcdd644f49e252e6516dbd0fd284dd mozilla-sunbird-0.7-nl.xpi 102848
+RMD160 78629632672485fea1f362da850c94dad35f9348 mozilla-sunbird-0.7-nl.xpi 102848
+SHA256 0d340ab535a12d7eb460485dd2719791eac70257f43218b1b0f940681f671c39 mozilla-sunbird-0.7-nl.xpi 102848
+MD5 67341f0a4fda1e604bbb7eec43b2f93c mozilla-sunbird-0.7-pa-IN.xpi 113753
+RMD160 9983c3dd7f9b778c86acdc49570545f5a22839a9 mozilla-sunbird-0.7-pa-IN.xpi 113753
+SHA256 491c6c8603fdf346d126e78c064b6ad2e238943bb571b38adb26373d370bfeab mozilla-sunbird-0.7-pa-IN.xpi 113753
+MD5 b7babdbb547d73158f05d00e54083a29 mozilla-sunbird-0.7-pl.xpi 106336
+RMD160 c1ab8da7bdef0e4e2abf730b6897693bf20e5c21 mozilla-sunbird-0.7-pl.xpi 106336
+SHA256 9b05d0ed86f1e28416fbb7525972ff7a8b1ad46078497a8e5cd47eab27284077 mozilla-sunbird-0.7-pl.xpi 106336
+MD5 4458cb0ac16cfc837d1ca5874b4ad8ea mozilla-sunbird-0.7-pt-BR.xpi 101521
+RMD160 e3face9e0716fe1bb858d76353ef80f4ceaef857 mozilla-sunbird-0.7-pt-BR.xpi 101521
+SHA256 4e9c7ee44fca5f14f52fc5f8b3a11a8e2058904db1cf78e1d3513af0d6d370e6 mozilla-sunbird-0.7-pt-BR.xpi 101521
+MD5 853f9ada671257a9b00013788ca6cc50 mozilla-sunbird-0.7-pt-PT.xpi 100882
+RMD160 e1292ad15f2e0a988911ad1c5e6fdb3471657f5c mozilla-sunbird-0.7-pt-PT.xpi 100882
+SHA256 c48425fa74647ceb6c3d7e15d7982b291b94df809947c761df01d240bfc5581f mozilla-sunbird-0.7-pt-PT.xpi 100882
+MD5 b60d25227ef636c1db1e435a7cea3a29 mozilla-sunbird-0.7-ru.xpi 109340
+RMD160 54cdb2fbdd30c701e3cca2c142c52c147805d549 mozilla-sunbird-0.7-ru.xpi 109340
+SHA256 cf13e324657c47a83c28c1e9d5ea289639f42cef5de8c04ae8a9455a6d0279cd mozilla-sunbird-0.7-ru.xpi 109340
+MD5 afd5b67b0a3874088599d6ac20493c2b mozilla-sunbird-0.7-sk.xpi 107082
+RMD160 97a042a2fb0ddb34b66fe66d7b3ae699f22ff179 mozilla-sunbird-0.7-sk.xpi 107082
+SHA256 ea64ebcc865f4c0f91b807d1ecef7d1d18baa759ce82348261f4aa9924ead2a0 mozilla-sunbird-0.7-sk.xpi 107082
+MD5 4d7c226abc8dcf415db61966d10a4244 mozilla-sunbird-0.7-sl.xpi 103506
+RMD160 e040beccca2f065d32d712510a3e4aa17bded425 mozilla-sunbird-0.7-sl.xpi 103506
+SHA256 ca5d532cd3ffef250d6e41881d14cc9257d4c5477f279340d84a2218e3c7af49 mozilla-sunbird-0.7-sl.xpi 103506
+MD5 0977540e368747a16cea2c1122a8dd28 mozilla-sunbird-0.7-sv-SE.xpi 105175
+RMD160 2cfe28c5928dd453f4d45ed3da6fbe54fff26e52 mozilla-sunbird-0.7-sv-SE.xpi 105175
+SHA256 97d9a08a713cbce4490d7c27dc779bcce38cf53dd7a208a355ac14ab518e5865 mozilla-sunbird-0.7-sv-SE.xpi 105175
+MD5 7098b8b147791b7b33e772e9435ed8c4 mozilla-sunbird-0.7-tr.xpi 97238
+RMD160 724e18a583cb75cd3c150a849609c0680abae10c mozilla-sunbird-0.7-tr.xpi 97238
+SHA256 ba2668107e93e71ca169a711bd0888fed5fb76a0cd0189c94418bc4cddb9545b mozilla-sunbird-0.7-tr.xpi 97238
+MD5 579faad64c8bda4e56ae2db431dcd2df mozilla-sunbird-0.7-zh-CN.xpi 91681
+RMD160 ed820e0f6e3fe7de1d41e8d0b4e81f90a7d8352a mozilla-sunbird-0.7-zh-CN.xpi 91681
+SHA256 f127b67e4f6fd65410552970f00de3b304465f74e0fabd23902ea856e799e53c mozilla-sunbird-0.7-zh-CN.xpi 91681
+MD5 0ade66a25e0d8c2f83e361861d5c7223 sunbird-0.7.en-US.linux-i686.tar.gz 8606252
+RMD160 dd63e31bc6c03aa00bd660d44ed636291941da0d sunbird-0.7.en-US.linux-i686.tar.gz 8606252
+SHA256 77aa8aa0a4b13172c26e4e5fa3674da0752de9f8db9adf0b5291d78a5579a40e sunbird-0.7.en-US.linux-i686.tar.gz 8606252
diff --git a/app-office/mozilla-sunbird-bin/mozilla-sunbird-bin-0.7.ebuild b/app-office/mozilla-sunbird-bin/mozilla-sunbird-bin-0.7.ebuild
new file mode 100644
index 000000000000..bd5af91d4dfa
--- /dev/null
+++ b/app-office/mozilla-sunbird-bin/mozilla-sunbird-bin-0.7.ebuild
@@ -0,0 +1,144 @@
+# Copyright 1999-2007 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.7.ebuild,v 1.1 2007/10/26 18:37:09 armin76 Exp $
+
+inherit eutils mozilla-launcher multilib mozextension
+
+LANGS="ca cs da de 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="Mozilla Sunbird Calendar"
+SRC_URI="http://releases.mozilla.org/pub/mozilla.org/calendar/sunbird/releases/${PV}/linux-i686/en-US/sunbird-${PV}.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_PN/-bin}-${PV}.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
+}