Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 84255 Details for
Bug 124052
www-client/mozilla-firefox-1.5.0.1 up to and including -r3 fails on certain LINGUAS flags
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
mozilla-linguas.patch
mozilla-linguas.patch (text/plain), 1.77 KB, created by
Harald van Dijk (RETIRED)
on 2006-04-09 02:06:44 UTC
(
hide
)
Description:
mozilla-linguas.patch
Filename:
MIME Type:
Creator:
Harald van Dijk (RETIRED)
Created:
2006-04-09 02:06:44 UTC
Size:
1.77 KB
patch
obsolete
>Index: mozilla-firefox-1.5.0.1-r4.ebuild >=================================================================== >RCS file: /var/cvsroot/gentoo-x86/www-client/mozilla-firefox/mozilla-firefox-1.5.0.1-r4.ebuild,v >retrieving revision 1.3 >diff -u -B -u -r1.3 mozilla-firefox-1.5.0.1-r4.ebuild >--- mozilla-firefox-1.5.0.1-r4.ebuild 1 Apr 2006 04:39:56 -0000 1.3 >+++ mozilla-firefox-1.5.0.1-r4.ebuild 9 Apr 2006 09:05:25 -0000 >@@ -48,25 +48,32 @@ > export MOZILLA_OFFICIAL=1 > > linguas() { >+ linguas= > local LANG > for LANG in ${LINGUAS}; do > if hasq ${LANG} ${LANGS//-/_} en; then >- echo -n "${LANG//_/-} " >+ hasq ${LANG//_/-} ${linguas} || \ >+ linguas="${linguas} ${LANG//_/-}" >+ continue > else > local SLANG > for SLANG in ${SHORTLANGS}; do >- [[ ${LANG} == ${SLANG%%-*} ]] && \ >- echo -n "${SLANG} " >+ if [[ ${LANG} == ${SLANG%%-*} ]]; then >+ hasq ${SLANG} ${linguas} || \ >+ linguas="${linguas} ${SLANG}" >+ continue 2 >+ fi > done > fi >+ ewarn "Sorry, but mozilla-firefox does not support the ${LANG} LINGUA" > done > } > > src_unpack() { > unpack firefox-${PV}-source.tar.bz2 ${P}-patches-${PVER}.tar.bz2 > >- LINGUAS=$(linguas) >- for X in ${LINGUAS}; do >+ linguas >+ for X in ${linguas}; do > [[ ${X} != en ]] && xpi_unpack firefox-${X}-${PV}.xpi > done > >@@ -184,12 +191,12 @@ > dodir ${MOZILLA_FIVE_HOME} > cp -RL ${S}/dist/bin/* ${D}${MOZILLA_FIVE_HOME} > >- LINGUAS=$(linguas) >- for X in ${LINGUAS}; do >+ linguas >+ for X in ${linguas}; do > [[ ${X} != en ]] && xpi_install ${WORKDIR}/firefox-${X}-${PV} > done > >- local LANG=${LINGUAS%% *} >+ local LANG=${linguas%% *} > if [[ ${LANG} != "" && ${LANG} != "en" ]]; then > ebegin "Setting default locale to ${LANG}" > sed -i "s:pref(\"general.useragent.locale\", \"en-US\"):pref(\"general.useragent.locale\", \"${LANG}\"):" \
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 124052
: 84255