[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

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



commit 26d96cf4284c524f1b620bcd59b370fb0f3001db
Author: intrigeri <intrigeri@xxxxxxxx>
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 67419a8..cf31331 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") %]

_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits