Skip to content
Snippets Groups Projects

Bug 40641: Use packaged locales on Firefox and remove references to language packs

Merged Pier Angelo Vendrame requested to merge pierov/tor-browser-build:bug_40641 into main
1 unresolved thread
6 files
+ 6
225
Compare changes
  • Side-by-side
  • Inline
Files
6
+ 15
1
@@ -134,6 +134,12 @@ export MACH_BUILD_PYTHON_NATIVE_PACKAGE_SOURCE=system
# Create .mozbuild to avoid interactive prompt in configure
mkdir "$HOME/.mozbuild"
l10ncentral="$HOME/.mozbuild/l10n-central"
mkdir "$l10ncentral"
for tarball in $rootdir/[% c('input_files_by_name/firefox-l10n') %]/*; do
tar -C "$l10ncentral" -xf "$tarball"
done
Please register or sign in to reply
# PyYAML tries to read files as ASCII, otherwise
export LC_ALL=C.UTF-8
export LANG=C.UTF-8
@@ -146,7 +152,15 @@ export LANG=C.UTF-8
[% IF !c("var/rlbox") -%]--without-wasm-sandboxed-libraries[% END %] \
./mach build --verbose
./mach build stage-package
[% IF !c("var/testbuild") %]
export MOZ_CHROME_MULTILOCALE="[% tmpl(c('var/locales').join(' ')) %]"
for AB_CD in $MOZ_CHROME_MULTILOCALE; do
./mach build chrome-$AB_CD
done
AB_CD=multi ./mach build stage-package
[% ELSE %]
./mach build stage-package
[% END %]
[% IF c("var/osx") %]
cp -a obj-*/dist/firefox/* $distdir
Loading