[oe-commits] Otavio Salvador : firefox.inc: properly support locale usage based in system locale
GIT User account
git at amethyst.openembedded.net
Fri Apr 3 20:20:44 UTC 2009
Module: openembedded.git
Branch: org.openembedded.dev
Commit: 0b9cb309ce90b4f0394859625365ca948fe25812
URL: http://gitweb.openembedded.net/?p=openembedded.git&a=commit;h=0b9cb309ce90b4f0394859625365ca948fe25812
Author: Otavio Salvador <otavio at ossystems.com.br>
Date: Mon Mar 23 04:38:35 2009 -0300
firefox.inc: properly support locale usage based in system locale
Signed-off-by: Otavio Salvador <otavio at ossystems.com.br>
---
recipes/mozilla/firefox.inc | 6 ++++++
1 files changed, 6 insertions(+), 0 deletions(-)
diff --git a/recipes/mozilla/firefox.inc b/recipes/mozilla/firefox.inc
index 84082cd..1be9c4d 100644
--- a/recipes/mozilla/firefox.inc
+++ b/recipes/mozilla/firefox.inc
@@ -37,6 +37,12 @@ do_install() {
install -m 0644 ${WORKDIR}/mozilla-${PN}.desktop ${D}${datadir}/applications/
install -m 0644 ${WORKDIR}/mozilla-${PN}.png ${D}${datadir}/pixmaps/
rm -f ${D}${libdir}/${PN}-*/TestGtkEmbed
+ rm -f ${D}${libdir}/${PN}-*/defaults/pref/firefox-l10n.js
+
+ # use locale settings
+ grep -Rl intl.locale.matchOS ${D}${libdir}/${PN}-*/ \
+ | grep '.js$' \
+ | xargs -n 1 sed -i 's/\(pref("intl.locale.matchOS",\s*\)false)/\1true)/g'
# disable application updating
grep -Rl app.update.enabled ${D}${libdir}/${PN}-*/ \
More information about the Openembedded-commits
mailing list