summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRaúl Porcel <armin76@gentoo.org>2008-04-19 16:09:17 +0000
committerRaúl Porcel <armin76@gentoo.org>2008-04-19 16:09:17 +0000
commite4ab622a60c427811b1781940a09ba7f90da76a8 (patch)
treec591fefd0afabb278a9235f8c830e74c30937d55 /mail-client
parentWe need pango built with X use-flag bug #216377 (diff)
downloadgentoo-2-e4ab622a60c427811b1781940a09ba7f90da76a8.tar.gz
gentoo-2-e4ab622a60c427811b1781940a09ba7f90da76a8.tar.bz2
gentoo-2-e4ab622a60c427811b1781940a09ba7f90da76a8.zip
Fix linguas, bug #218147
(Portage version: 2.1.4.4)
Diffstat (limited to 'mail-client')
-rw-r--r--mail-client/mozilla-thunderbird-bin/ChangeLog6
-rw-r--r--mail-client/mozilla-thunderbird-bin/mozilla-thunderbird-bin-2.0.0.12.ebuild18
2 files changed, 16 insertions, 8 deletions
diff --git a/mail-client/mozilla-thunderbird-bin/ChangeLog b/mail-client/mozilla-thunderbird-bin/ChangeLog
index bac580bd5c43..3f9dd358b276 100644
--- a/mail-client/mozilla-thunderbird-bin/ChangeLog
+++ b/mail-client/mozilla-thunderbird-bin/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for mail-client/mozilla-thunderbird-bin
# Copyright 2000-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/mail-client/mozilla-thunderbird-bin/ChangeLog,v 1.104 2008/03/17 12:24:00 armin76 Exp $
+# $Header: /var/cvsroot/gentoo-x86/mail-client/mozilla-thunderbird-bin/ChangeLog,v 1.105 2008/04/19 16:09:17 armin76 Exp $
+
+ 19 Apr 2008; Raúl Porcel <armin76@gentoo.org>
+ mozilla-thunderbird-bin-2.0.0.12.ebuild:
+ Fix linguas, bug #218147
17 Mar 2008; Raúl Porcel <armin76@gentoo.org>
mozilla-thunderbird-bin-2.0.0.12.ebuild:
diff --git a/mail-client/mozilla-thunderbird-bin/mozilla-thunderbird-bin-2.0.0.12.ebuild b/mail-client/mozilla-thunderbird-bin/mozilla-thunderbird-bin-2.0.0.12.ebuild
index 60f08b692963..713803cc4c03 100644
--- a/mail-client/mozilla-thunderbird-bin/mozilla-thunderbird-bin-2.0.0.12.ebuild
+++ b/mail-client/mozilla-thunderbird-bin/mozilla-thunderbird-bin-2.0.0.12.ebuild
@@ -1,10 +1,10 @@
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/mail-client/mozilla-thunderbird-bin/mozilla-thunderbird-bin-2.0.0.12.ebuild,v 1.4 2008/03/17 12:24:00 armin76 Exp $
+# $Header: /var/cvsroot/gentoo-x86/mail-client/mozilla-thunderbird-bin/mozilla-thunderbird-bin-2.0.0.12.ebuild,v 1.5 2008/04/19 16:09:17 armin76 Exp $
inherit eutils mozilla-launcher multilib mozextension
-LANGS="af be bg ca cs da de el en-GB es-AR es-ES eu fi fr ga-IE he hu it ja ko lt mk nb-NO nl nn-NO pa-IN pl pt-BR pt-PT ru sk sl sv-SE tr zh-CN zh-TW"
+LANGS="af be bg ca cs da de el en-GB en-US es-AR es-ES eu fi fr ga-IE he hu it ja ko lt mk nb-NO nl nn-NO pa-IN pl pt-BR pt-PT ru sk sl sv-SE tr zh-CN zh-TW"
NOSHORTLANGS="en-GB es-AR pt-BR zh-TW"
DESCRIPTION="Thunderbird Mail Client"
@@ -18,13 +18,17 @@ LICENSE="|| ( MPL-1.1 GPL-2 LGPL-2.1 )"
IUSE=""
for X in ${LANGS} ; do
- SRC_URI="${SRC_URI}
- linguas_${X/-/_}? ( http://dev.gentooexperimental.org/~armin76/dist/${P/-bin}-xpi/${P/-bin/}-${X}.xpi )"
+ if [ "${X}" != "en" ] && [ "${X}" != "en-US" ]; then
+ SRC_URI="${SRC_URI}
+ linguas_${X/-/_}? ( http://dev.gentooexperimental.org/~armin76/dist/${P/-bin}-xpi/${P/-bin/}-${X}.xpi )"
+ fi
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 )"
+ if [ "${X}" != "en-US" ]; then
+ SRC_URI="${SRC_URI}
+ linguas_${X%%-*}? ( http://dev.gentooexperimental.org/~armin76/dist/${P/-bin}-xpi/${P/-bin/}-${X}.xpi )"
+ fi
IUSE="${IUSE} linguas_${X%%-*}"
fi
done
@@ -82,7 +86,7 @@ src_unpack() {
for X in ${linguas}; do
[[ ${X} != en ]] && xpi_unpack ${P/-bin}-${X}.xpi
done
- if [[ ${linguas} != "" ]]; then
+ if [[ ${linguas} != "" && ${linguas} != "en" ]]; then
einfo "Selected language packs (first will be default): ${linguas}"
fi
}