config 4.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178
  1. # vim: filetype=yaml sw=2
  2. version: '[% c("abbrev") %]'
  3. filename: 'firefox-[% c("var/project-name") %]-[% c("version") %]-[% c("var/osname") %]-[% c("var/build_id") %]'
  4. git_hash: '[% c("var/project-name") %]-[% c("var/firefox_version") %]-[% c("var/browser_branch") %]-build[% c("var/browser_build") %]'
  5. tag_gpg_id: 1
  6. git_url: https://git.torproject.org/tor-browser.git
  7. git_submodule: 1
  8. gpg_keyring: torbutton.gpg
  9. container:
  10. use_container: 1
  11. var:
  12. firefox_platform_version: 91.10.0
  13. firefox_version: '[% c("var/firefox_platform_version") %]esr'
  14. browser_branch: '11.5-1'
  15. browser_build: 2
  16. branding_directory: 'browser/branding/alpha'
  17. copyright_year: '[% exec("git show -s --format=%ci").remove("-.*") %]'
  18. deps:
  19. - build-essential
  20. - unzip
  21. - zip
  22. - autoconf2.13
  23. - yasm
  24. - pkg-config
  25. rezip: |
  26. rezip_tmpdir=$(mktemp -d)
  27. mkdir -p "$rezip_tmpdir/z"
  28. unzip -d "$rezip_tmpdir/z" -- [% c("rezip_file") %] || [ $? -lt 3 ]
  29. pushd "$rezip_tmpdir/z"
  30. [% c("zip", {
  31. zip_src => [ '.' ],
  32. zip_args => '$rezip_tmpdir/new.zip',
  33. }) %]
  34. popd
  35. mv -f -- "$rezip_tmpdir/new.zip" [% c("rezip_file") %]
  36. rm -Rf "$rezip_tmpdir"
  37. steps:
  38. src-tarballs:
  39. filename: 'src-[% project %]-[% c("version") %].tar.xz'
  40. version: '[% c("git_hash") %]'
  41. input_files: []
  42. container:
  43. use_container: 0
  44. targets:
  45. nightly:
  46. version: '[% c("abbrev") %]'
  47. list_toolchain_updates:
  48. git_url: https://github.com/mozilla/gecko-dev.git
  49. git_hash: esr91
  50. tag_gpg_id: 0
  51. input_files: []
  52. container:
  53. use_container: 0
  54. targets:
  55. release:
  56. var:
  57. branding_directory: 'browser/branding/official'
  58. nightly:
  59. git_hash: '[% c("var/project-name") %]-[% c("var/firefox_version") %]-[% c("var/browser_branch") %]'
  60. tag_gpg_id: 0
  61. var:
  62. branding_directory: 'browser/branding/nightly'
  63. linux-x86_64:
  64. var:
  65. martools_filename: mar-tools-linux64.zip
  66. arch_deps:
  67. - libgtk2.0-dev
  68. - libgtk-3-dev
  69. - libdbus-glib-1-dev
  70. - libxt-dev
  71. - hardening-wrapper
  72. # To pass configure since ESR 31.
  73. - libpulse-dev
  74. # To pass configure since ESR 52
  75. - libx11-xcb-dev
  76. # To support Wayland mode
  77. - libdrm-dev
  78. linux-i686:
  79. var:
  80. martools_filename: mar-tools-linux32.zip
  81. sort_deps: 0
  82. arch_deps:
  83. - libgtk2.0-dev:i386
  84. - libgtk-3-dev:i386
  85. - libdbus-glib-1-dev:i386
  86. - libxt-dev:i386
  87. - hardening-wrapper
  88. # To pass configure since ESR 31.
  89. - libpulse-dev:i386
  90. # To pass configure since ESR 52
  91. - libx11-xcb-dev:i386
  92. # To support Wayland mode
  93. - libdrm-dev:i386
  94. osx-x86_64:
  95. var:
  96. martools_filename: mar-tools-mac64.zip
  97. arch_deps:
  98. - python3
  99. - python3-distutils
  100. - rsync
  101. windows:
  102. var:
  103. arch_deps:
  104. - python3
  105. - python3-distutils
  106. - wine
  107. compiler: mingw-w64-clang
  108. windows-i686:
  109. var:
  110. martools_filename: mar-tools-win32.zip
  111. windows-x86_64:
  112. var:
  113. martools_filename: mar-tools-win64.zip
  114. input_files:
  115. - project: container-image
  116. - name: '[% c("var/compiler") %]'
  117. project: '[% c("var/compiler") %]'
  118. - filename: get-moz-build-date
  119. - project: binutils
  120. name: binutils
  121. enable: '[% c("var/linux") %]'
  122. - filename: fix-info-plist.py
  123. enable: '[% c("var/osx") %]'
  124. - filename: nsis-uninstall.patch
  125. enable: '[% c("var/windows") %]'
  126. - project: rust
  127. name: rust
  128. - project: cbindgen
  129. name: cbindgen
  130. - project: wasi-sysroot
  131. name: wasi-sysroot
  132. enable: '[% c("var/rlbox") %]'
  133. - project: lucetc
  134. name: lucetc
  135. enable: '[% c("var/rlbox") %]'
  136. - project: node
  137. name: node
  138. - project: nasm
  139. name: nasm
  140. - project: python
  141. name: python
  142. enable: '[% c("var/linux") %]'
  143. - project: clang
  144. name: clang
  145. - project: fxc2
  146. name: fxc2
  147. enable: '[% c("var/windows") %]'
  148. target_prepend:
  149. - torbrowser-windows-x86_64
  150. - name: mingw-w64
  151. project: mingw-w64
  152. enable: '[% c("var/windows") %]'
  153. - filename: abicheck.cc
  154. enable: '[% c("var/linux") %]'
  155. - filename: start-firefox
  156. enable: '[% c("var/linux") %]'
  157. - project: tor-launcher
  158. name: tor-launcher
  159. enable: '[% c("var/tor-browser") %]'
  160. - filename: namecoin-torbutton.patch
  161. enable: '[% c("var/namecoin") %]'
  162. # TorButton patch authored by Arthur Edelstein, from https://github.com/arthuredelstein/torbutton/ branch 2.1.10-namecoin
  163. - filename: namecoin-etld.patch
  164. enable: '[% c("var/namecoin") %]'