123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178 |
- # vim: filetype=yaml sw=2
- version: '[% c("abbrev") %]'
- filename: 'firefox-[% c("var/project-name") %]-[% c("version") %]-[% c("var/osname") %]-[% c("var/build_id") %]'
- git_hash: '[% c("var/project-name") %]-[% c("var/firefox_version") %]-[% c("var/browser_branch") %]-build[% c("var/browser_build") %]'
- tag_gpg_id: 1
- git_url: https://git.torproject.org/tor-browser.git
- git_submodule: 1
- gpg_keyring: torbutton.gpg
- container:
- use_container: 1
- var:
- firefox_platform_version: 91.10.0
- firefox_version: '[% c("var/firefox_platform_version") %]esr'
- browser_branch: '11.5-1'
- browser_build: 2
- branding_directory: 'browser/branding/alpha'
- copyright_year: '[% exec("git show -s --format=%ci").remove("-.*") %]'
- deps:
- - build-essential
- - unzip
- - zip
- - autoconf2.13
- - yasm
- - pkg-config
- rezip: |
- rezip_tmpdir=$(mktemp -d)
- mkdir -p "$rezip_tmpdir/z"
- unzip -d "$rezip_tmpdir/z" -- [% c("rezip_file") %] || [ $? -lt 3 ]
- pushd "$rezip_tmpdir/z"
- [% c("zip", {
- zip_src => [ '.' ],
- zip_args => '$rezip_tmpdir/new.zip',
- }) %]
- popd
- mv -f -- "$rezip_tmpdir/new.zip" [% c("rezip_file") %]
- rm -Rf "$rezip_tmpdir"
- steps:
- src-tarballs:
- filename: 'src-[% project %]-[% c("version") %].tar.xz'
- version: '[% c("git_hash") %]'
- input_files: []
- container:
- use_container: 0
- targets:
- nightly:
- version: '[% c("abbrev") %]'
- list_toolchain_updates:
- git_url: https://github.com/mozilla/gecko-dev.git
- git_hash: esr91
- tag_gpg_id: 0
- input_files: []
- container:
- use_container: 0
- targets:
- release:
- var:
- branding_directory: 'browser/branding/official'
- nightly:
- git_hash: '[% c("var/project-name") %]-[% c("var/firefox_version") %]-[% c("var/browser_branch") %]'
- tag_gpg_id: 0
- var:
- branding_directory: 'browser/branding/nightly'
- 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
- # To support Wayland mode
- - libdrm-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
- # To support Wayland mode
- - libdrm-dev:i386
- osx-x86_64:
- var:
- martools_filename: mar-tools-mac64.zip
- arch_deps:
- - python3
- - python3-distutils
- - rsync
- windows:
- var:
- arch_deps:
- - python3
- - python3-distutils
- - wine
- 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") %]'
- - filename: get-moz-build-date
- - project: binutils
- name: binutils
- enable: '[% c("var/linux") %]'
- - filename: fix-info-plist.py
- enable: '[% c("var/osx") %]'
- - filename: nsis-uninstall.patch
- enable: '[% c("var/windows") %]'
- - project: rust
- name: rust
- - project: cbindgen
- name: cbindgen
- - project: wasi-sysroot
- name: wasi-sysroot
- enable: '[% c("var/rlbox") %]'
- - project: lucetc
- name: lucetc
- enable: '[% c("var/rlbox") %]'
- - project: node
- name: node
- - project: nasm
- name: nasm
- - project: python
- name: python
- enable: '[% c("var/linux") %]'
- - project: clang
- name: clang
- - project: fxc2
- name: fxc2
- enable: '[% c("var/windows") %]'
- target_prepend:
- - torbrowser-windows-x86_64
- - 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/tor-browser") %]'
- - 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") %]'
|