diff options
author | Raúl Porcel <armin76@gentoo.org> | 2007-06-29 14:34:03 +0000 |
---|---|---|
committer | Raúl Porcel <armin76@gentoo.org> | 2007-06-29 14:34:03 +0000 |
commit | 973d4b1160a97f4f3775c919495be3afa7da996b (patch) | |
tree | f9dc8992b2b921f7fd8d9494a9abbf3aac81f6da /app-office | |
parent | Version bump (diff) | |
download | gentoo-2-973d4b1160a97f4f3775c919495be3afa7da996b.tar.gz gentoo-2-973d4b1160a97f4f3775c919495be3afa7da996b.tar.bz2 gentoo-2-973d4b1160a97f4f3775c919495be3afa7da996b.zip |
Version bump, bug 183609
(Portage version: 2.1.3_rc6)
Diffstat (limited to 'app-office')
3 files changed, 209 insertions, 1 deletions
diff --git a/app-office/mozilla-sunbird-bin/ChangeLog b/app-office/mozilla-sunbird-bin/ChangeLog index b8888e5053be..b89cf00d428e 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.21 2007/06/08 13:53:24 armin76 Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-office/mozilla-sunbird-bin/ChangeLog,v 1.22 2007/06/29 14:34:03 armin76 Exp $ + +*mozilla-sunbird-bin-0.5 (29 Jun 2007) + + 29 Jun 2007; Raúl Porcel <armin76@gentoo.org> + +mozilla-sunbird-bin-0.5.ebuild: + Version bump, bug 183609 08 Jun 2007; Raúl Porcel <armin76@gentoo.org> mozilla-sunbird-bin-0.3.1.ebuild: diff --git a/app-office/mozilla-sunbird-bin/files/digest-mozilla-sunbird-bin-0.5 b/app-office/mozilla-sunbird-bin/files/digest-mozilla-sunbird-bin-0.5 new file mode 100644 index 000000000000..131c951dab8a --- /dev/null +++ b/app-office/mozilla-sunbird-bin/files/digest-mozilla-sunbird-bin-0.5 @@ -0,0 +1,66 @@ +MD5 b12089f79efe4df070a705f776bf8db6 mozilla-sunbird-0.5-ca.xpi 98426 +RMD160 cc0f6b17bb1e62eac35c5a6943bed12e7753edbc mozilla-sunbird-0.5-ca.xpi 98426 +SHA256 ea577a50a79fe1fb833e7bdd6e07fcfed194d651328f1af9152ff65f39847053 mozilla-sunbird-0.5-ca.xpi 98426 +MD5 c3ad951044e54f6c451fcf6016cf45e3 mozilla-sunbird-0.5-cs.xpi 99044 +RMD160 7ce259ade4433e4de4c843fea3b144caacef8083 mozilla-sunbird-0.5-cs.xpi 99044 +SHA256 df4534c9889fdb5b8f231de65c99b28c444f3cb7ae0853494c8ecd983d551d4c mozilla-sunbird-0.5-cs.xpi 99044 +MD5 d13701c67e3c0444d3750f9257e49496 mozilla-sunbird-0.5-da.xpi 96478 +RMD160 1e50e93d17511855d97731de6e5d5e971d2876a5 mozilla-sunbird-0.5-da.xpi 96478 +SHA256 f6ee510de2991ae7193e31f71b1e592fcbcca4db9c98757a27440fbb3af771fc mozilla-sunbird-0.5-da.xpi 96478 +MD5 56d60f6060e970cc1249cf97dfb079d2 mozilla-sunbird-0.5-de.xpi 90258 +RMD160 01864c5008a90da544105994faaedce83efba9cf mozilla-sunbird-0.5-de.xpi 90258 +SHA256 bf013bc4a446b8c613a580bef5d615026bb2be6216ad351a04ddd66ecb3e5fc0 mozilla-sunbird-0.5-de.xpi 90258 +MD5 6dc6da8cd3e82022a442fcc0ac9a3def mozilla-sunbird-0.5-es-ES.xpi 84723 +RMD160 3b78f95d8aecd7eee78bd7dfb811a5419048fff7 mozilla-sunbird-0.5-es-ES.xpi 84723 +SHA256 de37b883d9bfac70f3962815bc2cfff7384e0c19bfd912f0a030719dc979073b mozilla-sunbird-0.5-es-ES.xpi 84723 +MD5 6bb44bd18de60ddf90a88447f5283f27 mozilla-sunbird-0.5-eu.xpi 95444 +RMD160 aba40e29efe9cad5f3752d55209bdf11c5452b80 mozilla-sunbird-0.5-eu.xpi 95444 +SHA256 54bfef25c574e2bfb7992608ef58cec12452a564f0505e750943b65d1393a307 mozilla-sunbird-0.5-eu.xpi 95444 +MD5 ca3def66ad490f94e58d671960fdad35 mozilla-sunbird-0.5-fr.xpi 101397 +RMD160 90f8d11bb78567ff05c486ed302385b54fb60005 mozilla-sunbird-0.5-fr.xpi 101397 +SHA256 2418c7abfadb4b9fbe0a0d8dad02f32a94de8d21b180975c5c886d21b504f88c mozilla-sunbird-0.5-fr.xpi 101397 +MD5 4d0a6847b5e06d9659ce74805dfa813b mozilla-sunbird-0.5-ga-IE.xpi 99394 +RMD160 ca840c491dec304aaa0be6dce7c250b60c3ebe95 mozilla-sunbird-0.5-ga-IE.xpi 99394 +SHA256 d36f8e694cfc52aa13aef570bd4e876f6bebe9e148afe1cacf4a372505a81aba mozilla-sunbird-0.5-ga-IE.xpi 99394 +MD5 5fb05f4420094269781808db674c3407 mozilla-sunbird-0.5-hu.xpi 101133 +RMD160 014657168c9c4ae3c13501927656c1ac5c2f52bb mozilla-sunbird-0.5-hu.xpi 101133 +SHA256 90c683cd8fbfff5189e9f31b2f5676987b87d061866aa6bcb91f2eadbf2aa608 mozilla-sunbird-0.5-hu.xpi 101133 +MD5 89a3e900c4d4cb7beb1c0235dc284c1a mozilla-sunbird-0.5-it.xpi 86693 +RMD160 fbe53317a1a253bd22576e63e3f531a93acf0ce9 mozilla-sunbird-0.5-it.xpi 86693 +SHA256 f7160a727e5728afad191f04d4664df4a308b857103de0841992ec2e8b29591f mozilla-sunbird-0.5-it.xpi 86693 +MD5 640ed87717ce1a6895ec53fbed641da4 mozilla-sunbird-0.5-mk.xpi 101289 +RMD160 f5bf59ccc4e461f248106a0f4cbd594760e3a1ef mozilla-sunbird-0.5-mk.xpi 101289 +SHA256 3e546173c9d80e6eaed05744066a5c605733b2835e6b3ad796dfa3fb9ece266d mozilla-sunbird-0.5-mk.xpi 101289 +MD5 3b4c8147800d064a4b7c4909b1b4399a mozilla-sunbird-0.5-mn.xpi 98796 +RMD160 d09ec2bf5dc7b36438438c3faac1d6fc2552fb9b mozilla-sunbird-0.5-mn.xpi 98796 +SHA256 c31c3c0e2f7a206abfb0a3026c0f98eeee9492f5d129963df9a5810186ab1ca7 mozilla-sunbird-0.5-mn.xpi 98796 +MD5 5a2b955bdbbd66172d7c47eab6277a68 mozilla-sunbird-0.5-nb-NO.xpi 96634 +RMD160 b28cdadd84e73d5ac06fc957f187439004ec85e8 mozilla-sunbird-0.5-nb-NO.xpi 96634 +SHA256 f3d230073e59746ddc8bcb723d63d804fdac5e51c869faa435c6f6d22b2bad48 mozilla-sunbird-0.5-nb-NO.xpi 96634 +MD5 54692dd1f30134b84fd5d2672f21869e mozilla-sunbird-0.5-nl.xpi 98125 +RMD160 e1ac30470e059f97b610dd1db8c0cf081f53b065 mozilla-sunbird-0.5-nl.xpi 98125 +SHA256 db1399db3efa75f59cdf6de04082666fccf2c50a96a91f49c966ab828bbe68b5 mozilla-sunbird-0.5-nl.xpi 98125 +MD5 8ba635baa9381e3304fd84994ad85b4b mozilla-sunbird-0.5-pa-IN.xpi 109152 +RMD160 5fe9792f6ceedae82897b15439a5d366aea0d827 mozilla-sunbird-0.5-pa-IN.xpi 109152 +SHA256 e2e65c5a49e8d79b6725d2174b77b83d75284afdbf605b75cbdc562850fa36e6 mozilla-sunbird-0.5-pa-IN.xpi 109152 +MD5 a732ba09af848e7942250bfdeef607f2 mozilla-sunbird-0.5-pl.xpi 101170 +RMD160 6a4dce3503fc9deb5014cd8968abe7ed93825642 mozilla-sunbird-0.5-pl.xpi 101170 +SHA256 6e5ad6cdcc77e82d44c8c83783b2b7e40877d3f59a2cad7b6ea5e75d9092efde mozilla-sunbird-0.5-pl.xpi 101170 +MD5 aa2dbed9dbd629604106658a140e4c10 mozilla-sunbird-0.5-pt-BR.xpi 96651 +RMD160 48d4cdc06fd54282ce4bcc5b69dba66c0c760e79 mozilla-sunbird-0.5-pt-BR.xpi 96651 +SHA256 56384ba7ad5930d3b7a53478c52edc3c414fe833907d59aec94a8460f736df4d mozilla-sunbird-0.5-pt-BR.xpi 96651 +MD5 0f37376920b29dc1843fe1a607013fda mozilla-sunbird-0.5-ru.xpi 103659 +RMD160 1c247726046ea01039a4e67dad3879e5e11a8ce7 mozilla-sunbird-0.5-ru.xpi 103659 +SHA256 520ea32c61efd7fa43b6692f662c24ed9c3d4d95b99924c95a3050d29201136d mozilla-sunbird-0.5-ru.xpi 103659 +MD5 490bad9941bf24b3146ecde3fab8343e mozilla-sunbird-0.5-sk.xpi 102021 +RMD160 a07b3fc6d0569f61b637a9eb4453e6929b67ed58 mozilla-sunbird-0.5-sk.xpi 102021 +SHA256 d7382af523f869c1d777e6eb16f05955d3d0b6922e35734f0ef7c2e1519b9e30 mozilla-sunbird-0.5-sk.xpi 102021 +MD5 b3d245b919ac6f5805031eea0375e2aa mozilla-sunbird-0.5-sl.xpi 98555 +RMD160 2a4aeec93efcb8ba09ef554da9f6f9e852f69198 mozilla-sunbird-0.5-sl.xpi 98555 +SHA256 9974bcbcec9b8fcae591cd267f23605910dbf3ed39f54e2984f363bd6786052a mozilla-sunbird-0.5-sl.xpi 98555 +MD5 b016122f50fa44b171f21aefd7dac3a2 mozilla-sunbird-0.5-sv-SE.xpi 100429 +RMD160 9d82271a82ed36ea8042e8212fb7711337d5dfe7 mozilla-sunbird-0.5-sv-SE.xpi 100429 +SHA256 5908afe31b2f9e26bf50c291815418d91df77ced52597f5eff29c1b0c2427f8c mozilla-sunbird-0.5-sv-SE.xpi 100429 +MD5 c50e2e2d81f12538918ff362445b83c9 sunbird-0.5.en-US.linux-i686.tar.gz 8323561 +RMD160 e3346a9f64df7a38c4a47385c506c4ed7afa6c64 sunbird-0.5.en-US.linux-i686.tar.gz 8323561 +SHA256 868dbe7524397a4841f1d03275965f5b839421d05ab75d8b8a01df023a097e05 sunbird-0.5.en-US.linux-i686.tar.gz 8323561 diff --git a/app-office/mozilla-sunbird-bin/mozilla-sunbird-bin-0.5.ebuild b/app-office/mozilla-sunbird-bin/mozilla-sunbird-bin-0.5.ebuild new file mode 100644 index 000000000000..f7a96eb63839 --- /dev/null +++ b/app-office/mozilla-sunbird-bin/mozilla-sunbird-bin-0.5.ebuild @@ -0,0 +1,136 @@ +# 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.5.ebuild,v 1.1 2007/06/29 14:34:03 armin76 Exp $ + +inherit eutils mozilla-launcher multilib mozextension + +LANGS="ca cs da de es-ES eu fr ga-IE hu it mk mn nb-NO nl pa-IN pl pt-BR ru sk sl sv-SE" + +MY_PN="${PN/mozilla-}" +MY_P="${MY_PN}-${PV}" +DESCRIPTION="The 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="nostrip" + +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 +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.41" + +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}-"* ]] && != *" ${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 ${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%/*} + 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 + + keepdir ${MOZILLA_FIVE_HOME}/extensions # required to run! + + # Create /usr/bin/sunbird-bin + install_mozilla_launcher_stub sunbird-bin ${MOZILLA_FIVE_HOME} + + # Install icon and .desktop for menu entry + doicon ${FILESDIR}/icon/mozilla-sunbird-bin-icon.png + domenu ${FILESDIR}/icon/mozilla-sunbird-bin.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() { + update_mozilla_launcher_symlinks +} + +pkg_postrm() { + update_mozilla_launcher_symlinks +} |