123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239 |
- # vim: filetype=yaml sw=2
- version: '[% c("abbrev") %]'
- filename: 'firefox-[% c("version") %]-[% c("var/osname") %]-[% c("var/build_id") %]'
- git_hash: 'tor-browser-[% c("var/firefox_version") %]-[% c("var/torbrowser_branch") %]-1-build2'
- tag_gpg_id: 1
- git_url: https://git.torproject.org/tor-browser.git
- git_submodule: 1
- gpg_keyring: torbutton.gpg
- var:
- firefox_platform_version: 68.8.0
- firefox_version: '[% c("var/firefox_platform_version") %]esr'
- torbrowser_branch: 9.5
- branding_directory: '[% IF c("var/android") %]mobile/android[% ELSE %]browser[% END %]/branding/alpha'
- copyright_year: '[% exec("git show -s --format=%ci").remove("-.*") %]'
- deps:
- - build-essential
- - unzip
- - zip
- - autoconf2.13
- - yasm
- # We are building our own version of Python 3.6, which is required
- # for the build. However mach still requires Python 2.7, so we
- # install this version using the package.
- - python
- - pkg-config
- container:
- use_container: 1
- # this should be updated when the list of gradle dependencies is changed
- gradle_dependencies_version: 6
- # used by projects/firefox-locale-bundle
- l10n-changesets.json: '[% exec("cat mobile/locales/l10n-changesets.json") %]'
- steps:
- src-tarballs:
- filename: 'src-[% project %]-[% c("version") %].tar.xz'
- version: '[% c("git_hash") %]'
- input_files: []
- var:
- container:
- use_container: 0
- targets:
- nightly:
- version: '[% c("abbrev") %]'
- targets:
- release:
- var:
- branding_directory: '[% IF c("var/android") %]mobile/android[% ELSE %]browser[% END %]/branding/official'
- nightly:
- git_hash: 'tor-browser-[% c("var/firefox_version") %]-[% c("var/torbrowser_branch") %]-1'
- tag_gpg_id: 0
- var:
- branding_directory: '[% IF c("var/android") %]mobile/android[% ELSE %]browser[% END %]/branding/nightly'
- linux:
- var:
- post_pkginst: |
- # Firefox ESR68 needs Yasm >= 1.2.0 which Debian Wheezy ships in backports.
- echo 'deb http://archive.debian.org/debian/ wheezy-backports main' >> /etc/apt/sources.list
- export DEBIAN_FRONTEND=noninteractive
- apt-get update
- apt-get install -t wheezy-backports -y yasm
- linux-x86_64:
- var:
- martools_filename: mar-tools-linux64.zip
- arch_deps:
- - libgtk2.0-dev
- - libgtk-3-dev
- - libdbus-glib-1-dev
- - libxt-dev
- - hardening-wrapper
- # To pass configure since ESR 31.
- - libpulse-dev
- # To pass configure since ESR 52
- - libx11-xcb-dev
- linux-i686:
- var:
- martools_filename: mar-tools-linux32.zip
- sort_deps: 0
- arch_deps:
- - libgtk2.0-dev:i386
- - libgtk-3-dev:i386
- - libdbus-glib-1-dev:i386
- - libxt-dev:i386
- - hardening-wrapper
- # To pass configure since ESR 31.
- - libpulse-dev:i386
- # To pass configure since ESR 52
- - libx11-xcb-dev:i386
- linux-arm:
- var:
- martools_filename: mar-tools-linuxarm.zip
- linux-cross:
- var:
- container:
- use_container: 1
- suite: buster
- arch: amd64
- post_pkginst: |
- export DEBIAN_FRONTEND=noninteractive
- # The recommended packages produce a package conflict.
- apt-get -y install --no-install-suggests --no-install-recommends libgtk2.0-dev:[% c("var/arch_debian") %]
- apt-get -y install --no-install-suggests --no-install-recommends libgtk-3-dev:[% c("var/arch_debian") %]
- apt-get -y install --no-install-suggests --no-install-recommends libdbus-glib-1-dev:[% c("var/arch_debian") %]
- apt-get -y install --no-install-suggests --no-install-recommends libxt-dev:[% c("var/arch_debian") %]
- apt-get -y install --no-install-suggests --no-install-recommends libpulse-dev:[% c("var/arch_debian") %]
- apt-get -y install --no-install-suggests --no-install-recommends libx11-xcb-dev:[% c("var/arch_debian") %]
- apt-get -y install --no-install-suggests --no-install-recommends libgcc-8-dev:[% c("var/arch_debian") %]
- apt-get -y install --no-install-suggests --no-install-recommends libstdc++-8-dev:[% c("var/arch_debian") %]
- # TODO: Build gcc+stdlib from source.
- arch_deps:
- - yasm
- osx-x86_64:
- var:
- martools_filename: mar-tools-mac64.zip
- arch_deps:
- - rsync
- windows:
- var:
- arch_deps:
- - wine
- pre_pkginst: |
- [% IF c("var/windows-i686") -%]
- # We need this to install wine32
- dpkg --add-architecture i386
- [% END -%]
- echo 'deb http://ftp.debian.org/debian stretch-backports main' >> /etc/apt/sources.list
- post_pkginst: |
- # We need to have at least 3.0.3 which Mozilla is using in the
- # mingw-w64/clang build process
- apt-get -y -t stretch-backports install wine[% IF c("var/windows-i686") %]32[% END %]
- compiler: mingw-w64-clang
- windows-i686:
- var:
- martools_filename: mar-tools-win32.zip
- windows-x86_64:
- var:
- martools_filename: mar-tools-win64.zip
- input_files:
- - project: container-image
- - name: '[% c("var/compiler") %]'
- project: '[% c("var/compiler") %]'
- enable: '[% ! c("var/linux-cross") %]'
- - filename: get-moz-build-date
- - filename: 'mozconfig-[% c("var/osname") %]'
- name: mozconfig
- - project: binutils
- name: binutils
- enable: '[% c("var/linux") || c("var/android") %]'
- - filename: fix-info-plist.py
- enable: '[% c("var/osx") %]'
- - filename: linux-arm-neon.patch
- enable: '[% c("var/linux-arm") %]'
- - filename: linux-arm-wasm.patch
- enable: '[% c("var/linux-arm") %]'
- # Linux ARM WASM patch from https://github.com/archlinuxarm/PKGBUILDs/blob/001eccbae9dcac00b6bf29b032f28786aba9afdd/extra/firefox/arm.patch
- - filename: nsis-uninstall.patch
- enable: '[% c("var/windows") %]'
- - project: rust
- name: rust
- - project: cbindgen
- name: cbindgen
- - project: node
- name: node
- enable: '[% ! c("var/linux-cross") %]'
- - project: node
- name: node
- enable: '[% c("var/linux-cross") %]'
- target:
- - '[% c("var/channel") %]'
- - 'torbrowser-linux-x86_64'
- - project: nasm
- name: nasm
- enable: '[% ! c("var/linux-cross") %]'
- - project: nasm
- name: nasm
- enable: '[% c("var/linux-cross") %]'
- target:
- - '[% c("var/channel") %]'
- - 'torbrowser-linux-x86_64'
- - project: python
- name: python
- - project: clang
- name: clang
- enable: '[% ! c("var/linux-cross") %]'
- - project: clang
- name: clang
- enable: '[% c("var/linux-cross") %]'
- target:
- - '[% c("var/channel") %]'
- - 'torbrowser-linux-x86_64'
- - project: fxc2
- name: fxc2
- enable: '[% c("var/windows") %]'
- - name: mingw-w64
- project: mingw-w64
- enable: '[% c("var/windows") %]'
- - filename: abicheck.cc
- enable: '[% c("var/linux") %]'
- - filename: start-firefox
- enable: '[% c("var/linux") %]'
- - project: tor-launcher
- name: tor-launcher
- enable: '[% ! c("var/android") %]'
- - filename: 'gradle-dependencies-[% c("var/gradle_dependencies_version") %]'
- name: gradle-dependencies
- exec: '[% INCLUDE "fetch-gradle-dependencies" %]'
- enable: '[% c("var/android") %]'
- - project: tor-android-service
- name: tor-android-service
- enable: '[% c("var/android") %]'
- - project: tor-onion-proxy-library
- name: topl
- enable: '[% c("var/android") %]'
- - project: firefox-locale-bundle
- name: firefox-locale-bundle
- enable: '[% c("var/android") %]'
- - project: tba-translation
- name: tba-translation
- enable: '[% c("var/android") %]'
- - filename: nightly-marsigner.der
- enable: '[% c("var/nightly") %]'
- - filename: namecoin-torbutton.patch
- enable: '[% c("var/namecoin") %]'
- # TorButton patch authored by Arthur Edelstein, from https://github.com/arthuredelstein/torbutton/ branch 2.1.10-namecoin
- - filename: namecoin-etld.patch
- enable: '[% c("var/namecoin") %]'
|