config 6.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226
  1. # vim: filetype=yaml sw=2
  2. version: '[% c("abbrev") %]'
  3. filename: 'firefox-[% c("version") %]-[% c("var/osname") %]-[% c("var/build_id") %]'
  4. git_hash: 'tor-browser-[% c("var/firefox_version") %]-[% c("var/torbrowser_branch") %]-1-build1'
  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. var:
  10. firefox_platform_version: 91.4.0
  11. firefox_version: '[% c("var/firefox_platform_version") %]esr'
  12. torbrowser_branch: 11.5
  13. branding_directory: 'browser/branding/alpha'
  14. copyright_year: '[% exec("git show -s --format=%ci").remove("-.*") %]'
  15. deps:
  16. - build-essential
  17. - unzip
  18. - zip
  19. - autoconf2.13
  20. - yasm
  21. - pkg-config
  22. container:
  23. use_container: 1
  24. steps:
  25. src-tarballs:
  26. filename: 'src-[% project %]-[% c("version") %].tar.xz'
  27. version: '[% c("git_hash") %]'
  28. input_files: []
  29. var:
  30. container:
  31. use_container: 0
  32. targets:
  33. nightly:
  34. version: '[% c("abbrev") %]'
  35. list_toolchain_updates:
  36. git_url: https://github.com/mozilla/gecko-dev.git
  37. git_hash: esr91
  38. tag_gpg_id: 0
  39. input_files: []
  40. var:
  41. container:
  42. use_container: 0
  43. targets:
  44. release:
  45. var:
  46. branding_directory: 'browser/branding/official'
  47. nightly:
  48. git_hash: 'tor-browser-[% c("var/firefox_version") %]-[% c("var/torbrowser_branch") %]-1'
  49. tag_gpg_id: 0
  50. var:
  51. branding_directory: 'browser/branding/nightly'
  52. linux-x86_64:
  53. var:
  54. martools_filename: mar-tools-linux64.zip
  55. arch_deps:
  56. - libgtk2.0-dev
  57. - libgtk-3-dev
  58. - libdbus-glib-1-dev
  59. - libxt-dev
  60. - hardening-wrapper
  61. # To pass configure since ESR 31.
  62. - libpulse-dev
  63. # To pass configure since ESR 52
  64. - libx11-xcb-dev
  65. # To support Wayland mode
  66. - libdrm-dev
  67. linux-i686:
  68. var:
  69. martools_filename: mar-tools-linux32.zip
  70. sort_deps: 0
  71. arch_deps:
  72. - libgtk2.0-dev:i386
  73. - libgtk-3-dev:i386
  74. - libdbus-glib-1-dev:i386
  75. - libxt-dev:i386
  76. - hardening-wrapper
  77. # To pass configure since ESR 31.
  78. - libpulse-dev:i386
  79. # To pass configure since ESR 52
  80. - libx11-xcb-dev:i386
  81. # To support Wayland mode
  82. - libdrm-dev:i386
  83. linux-arm:
  84. var:
  85. martools_filename: mar-tools-linuxarm.zip
  86. linux-ppc64le:
  87. var:
  88. martools_filename: mar-tools-linuxppc64le.zip
  89. linux-cross:
  90. var:
  91. container:
  92. use_container: 1
  93. suite: buster
  94. arch: amd64
  95. post_pkginst: |
  96. export DEBIAN_FRONTEND=noninteractive
  97. # The recommended packages produce a package conflict.
  98. apt-get -y install --no-install-suggests --no-install-recommends libgtk2.0-dev:[% c("var/arch_debian") %]
  99. apt-get -y install --no-install-suggests --no-install-recommends libgtk-3-dev:[% c("var/arch_debian") %]
  100. apt-get -y install --no-install-suggests --no-install-recommends libdbus-glib-1-dev:[% c("var/arch_debian") %]
  101. apt-get -y install --no-install-suggests --no-install-recommends libxt-dev:[% c("var/arch_debian") %]
  102. apt-get -y install --no-install-suggests --no-install-recommends libpulse-dev:[% c("var/arch_debian") %]
  103. apt-get -y install --no-install-suggests --no-install-recommends libx11-xcb-dev:[% c("var/arch_debian") %]
  104. apt-get -y install --no-install-suggests --no-install-recommends libgcc-8-dev:[% c("var/arch_debian") %]
  105. apt-get -y install --no-install-suggests --no-install-recommends libstdc++-8-dev:[% c("var/arch_debian") %]
  106. # TODO: Build gcc+stdlib from source.
  107. arch_deps:
  108. - yasm
  109. osx-x86_64:
  110. var:
  111. martools_filename: mar-tools-mac64.zip
  112. arch_deps:
  113. - python3
  114. - python3-distutils
  115. - rsync
  116. windows:
  117. var:
  118. arch_deps:
  119. - python3
  120. - python3-distutils
  121. - wine
  122. compiler: mingw-w64-clang
  123. windows-i686:
  124. var:
  125. martools_filename: mar-tools-win32.zip
  126. windows-x86_64:
  127. var:
  128. martools_filename: mar-tools-win64.zip
  129. input_files:
  130. - project: container-image
  131. - name: '[% c("var/compiler") %]'
  132. project: '[% c("var/compiler") %]'
  133. enable: '[% ! c("var/linux-cross") || c("var/linux-ppc64le") %]'
  134. - filename: get-moz-build-date
  135. - filename: 'mozconfig-[% c("var/osname") %][% IF c("var/asan") %]-asan[% END %]'
  136. name: mozconfig
  137. - project: binutils
  138. name: binutils
  139. enable: '[% c("var/linux") %]'
  140. - filename: fix-info-plist.py
  141. enable: '[% c("var/osx") %]'
  142. - filename: linux-arm-neon.patch
  143. enable: '[% c("var/linux-arm") %]'
  144. - filename: nsis-uninstall.patch
  145. enable: '[% c("var/windows") %]'
  146. - project: rust
  147. name: rust
  148. - project: cbindgen
  149. name: cbindgen
  150. - project: wasi-sysroot
  151. name: wasi-sysroot
  152. enable: '[% c("var/rlbox") %]'
  153. - project: lucetc
  154. name: lucetc
  155. enable: '[% c("var/rlbox") %]'
  156. - project: node
  157. name: node
  158. enable: '[% ! c("var/linux-cross") %]'
  159. - project: node
  160. name: node
  161. enable: '[% c("var/linux-cross") %]'
  162. target:
  163. - '[% c("var/channel") %]'
  164. - 'torbrowser-linux-x86_64'
  165. - project: nasm
  166. name: nasm
  167. enable: '[% ! c("var/linux-cross") %]'
  168. - project: nasm
  169. name: nasm
  170. enable: '[% c("var/linux-cross") %]'
  171. target:
  172. - '[% c("var/channel") %]'
  173. - 'torbrowser-linux-x86_64'
  174. - project: python
  175. name: python
  176. enable: '[% c("var/linux") %]'
  177. - project: clang
  178. name: clang
  179. enable: '[% ! c("var/linux-cross") %]'
  180. - project: clang
  181. name: clang
  182. enable: '[% c("var/linux-cross") %]'
  183. target:
  184. - '[% c("var/channel") %]'
  185. - 'torbrowser-linux-x86_64'
  186. - project: gcc
  187. name: gcc-host
  188. enable: '[% c("var/linux-cross") %]'
  189. target:
  190. - '[% c("var/channel") %]'
  191. - 'torbrowser-linux-x86_64'
  192. - project: fxc2
  193. name: fxc2
  194. enable: '[% c("var/windows") %]'
  195. target_prepend:
  196. - torbrowser-windows-x86_64
  197. - name: mingw-w64
  198. project: mingw-w64
  199. enable: '[% c("var/windows") %]'
  200. - filename: abicheck.cc
  201. enable: '[% c("var/linux") %]'
  202. - filename: start-firefox
  203. enable: '[% c("var/linux") %]'
  204. - project: tor-launcher
  205. name: tor-launcher
  206. - filename: namecoin-torbutton.patch
  207. enable: '[% c("var/namecoin") %]'
  208. # TorButton patch authored by Arthur Edelstein, from https://github.com/arthuredelstein/torbutton/ branch 2.1.10-namecoin
  209. - filename: namecoin-etld.patch
  210. enable: '[% c("var/namecoin") %]'