[tbb-commits] [tor-browser-build/master] Bug 32676: Create a tarball with all Linux x86_64 language packs.

gk at torproject.org gk at torproject.org
Mon Dec 9 10:54:47 UTC 2019


commit f01757118ffd65096a66d73dec47cb747b0ac6a4
Author: intrigeri <intrigeri at boum.org>
Date:   Thu Dec 5 18:22:57 2019 +0000

    Bug 32676: Create a tarball with all Linux x86_64 language packs.
    
    This will significantly improve the quality of life of Tails release managers
    and developers. Thanks to boklm for the help!
---
 projects/tor-browser/build | 11 +++++++++++
 1 file changed, 11 insertions(+)

diff --git a/projects/tor-browser/build b/projects/tor-browser/build
index 0869f50..2979658 100644
--- a/projects/tor-browser/build
+++ b/projects/tor-browser/build
@@ -274,6 +274,17 @@ cp $rootdir/[% c('input_files_by_name/firefox') %]/mar-tools-*.zip "$OUTDIR"/
   cp $rootdir/[% c('input_files_by_name/tor') %]/tor-debug.tar.xz "$OUTDIR"/tor-[% c("var/mar_osname") %]-debug.tar.xz
 [% END -%]
 
+# Create a tarball with all Linux x86_64 language packs (Bug 32676)
+[% IF c("var/release") && c("var/linux-x86_64") && ! c("var/multi_lingual") && ! c("var/testbuild") -%]
+  pushd $rootdir/[% c('input_files_by_name/firefox-langpacks') %]
+  [% c('tar', {
+           tar_src => [ '.' ],
+           tar_args => '-cJf $OUTDIR/langpacks-tor-browser-linux64-' _ c("var/torbrowser_version") _ '.tar.xz',
+     })
+  %]
+  popd
+[% END -%]
+
 # If we did not create a multi-lingual package above, create a package for
 # each locale.
 [% IF ! c("var/multi_lingual") %]



More information about the tbb-commits mailing list