config 6.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221
  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-build2'
  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: 60.8.0
  11. firefox_version: '[% c("var/firefox_platform_version") %]esr'
  12. torbrowser_branch: 9.0
  13. torbrowser_update_channel: alpha
  14. branding_directory: '[% IF c("var/android") %]mobile/android[% ELSE %]browser[% END %]/branding/alpha'
  15. copyright_year: '[% exec("git show -s --format=%ci").remove("-.*") %]'
  16. deps:
  17. - build-essential
  18. - unzip
  19. - zip
  20. - autoconf2.13
  21. - yasm
  22. - python
  23. container:
  24. use_container: 1
  25. # this should be updated when the list of gradle dependencies is changed
  26. gradle_dependencies_version: 5
  27. # used by projects/firefox-locale-bundle
  28. l10n-changesets.json: '[% exec("cat mobile/locales/l10n-changesets.json") %]'
  29. steps:
  30. src-tarballs:
  31. filename: 'src-[% project %]-[% c("version") %].tar.xz'
  32. version: '[% c("git_hash") %]'
  33. input_files: []
  34. var:
  35. container:
  36. use_container: 0
  37. targets:
  38. nightly:
  39. version: '[% c("abbrev") %]'
  40. targets:
  41. release:
  42. var:
  43. torbrowser_update_channel: release
  44. branding_directory: '[% IF c("var/android") %]mobile/android[% ELSE %]browser[% END %]/branding/official'
  45. nightly:
  46. git_hash: 'tor-browser-[% c("var/firefox_version") %]-[% c("var/torbrowser_branch") %]-1'
  47. tag_gpg_id: 0
  48. var:
  49. torbrowser_update_channel: default
  50. branding_directory: '[% IF c("var/android") %]mobile/android[% ELSE %]browser[% END %]/branding/nightly'
  51. android:
  52. var:
  53. arch_deps:
  54. - openjdk-8-jdk
  55. linux:
  56. var:
  57. post_pkginst: |
  58. # Firefox ESR68 needs Yasm >= 1.2.0 which Debian Wheezy ships in backports.
  59. echo 'deb http://archive.debian.org/debian/ wheezy-backports main' >> /etc/apt/sources.list
  60. export DEBIAN_FRONTEND=noninteractive
  61. apt-get update
  62. apt-get install -t wheezy-backports -y yasm
  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 45.
  75. - libgconf2-dev
  76. # To pass configure since ESR 52
  77. - libx11-xcb-dev
  78. # We built GCC but not the libmpc2, thus we need to install it
  79. - libmpc2
  80. linux-i686:
  81. var:
  82. martools_filename: mar-tools-linux32.zip
  83. sort_deps: 0
  84. arch_deps:
  85. - libgtk2.0-dev:i386
  86. - libgtk-3-dev:i386
  87. - libdbus-glib-1-dev:i386
  88. - libxt-dev:i386
  89. # To pass configure since ESR 31.
  90. - libpulse-dev:i386
  91. # To pass configure since ESR 45.
  92. - libgconf2-dev:i386
  93. # To pass configure since ESR 52
  94. - libx11-xcb-dev:i386
  95. # We built GCC but not the libmpc2, thus we need to install it
  96. - libmpc2
  97. - hardening-wrapper
  98. linux-arm:
  99. var:
  100. martools_filename: mar-tools-linuxarm.zip
  101. linux-cross:
  102. var:
  103. container:
  104. disable_network:
  105. # enable network in the build script for linux-cross, because we need
  106. # to download some packages with "apt-get download".
  107. # TODO: Find a better way to handle this that doesn't require network
  108. # access in the Firefox build container.
  109. build: 0
  110. arch_deps:
  111. - libgtk2.0-dev
  112. - libgtk-3-dev
  113. - libdbus-glib-1-dev
  114. - libxt-dev
  115. - hardening-wrapper
  116. # To pass configure since ESR 31.
  117. - libpulse-dev
  118. # To pass configure since ESR 45.
  119. - libgconf2-dev
  120. # To pass configure since ESR 52
  121. - libx11-xcb-dev
  122. # We built GCC but not the libmpc2, thus we need to install it
  123. - libmpc2
  124. # needed to remove RUNPATH added by selfrando (see #22242)
  125. - chrpath
  126. - apt-rdepends
  127. osx-x86_64:
  128. var:
  129. martools_filename: mar-tools-mac64.zip
  130. arch_deps:
  131. - rsync
  132. windows:
  133. var:
  134. arch_deps:
  135. - wine
  136. windows-i686:
  137. var:
  138. martools_filename: mar-tools-win32.zip
  139. windows-x86_64:
  140. var:
  141. martools_filename: mar-tools-win64.zip
  142. input_files:
  143. - project: container-image
  144. - name: '[% c("var/compiler") %]'
  145. project: '[% c("var/compiler") %]'
  146. - name: gcc-host
  147. project: gcc
  148. enable: '[% c("var/linux-cross") %]'
  149. target:
  150. - '[% c("var/channel") %]'
  151. - 'torbrowser-linux-x86_64'
  152. - filename: get-moz-build-date
  153. - filename: 'mozconfig-[% c("var/osname") %]'
  154. name: mozconfig
  155. - project: binutils
  156. name: binutils
  157. enable: '[% c("var/linux") %]'
  158. - filename: fix-info-plist.py
  159. enable: '[% c("var/osx") %]'
  160. - URL: https://people.torproject.org/~gk/mirrors/sources/msvcr100.dll
  161. sha256sum: 8793353461826fbd48f25ea8b835be204b758ce7510db2af631b28850355bd18
  162. enable: '[% c("var/windows-i686") %]'
  163. - URL: https://people.torproject.org/~boklm/mirrors/sources/msvcr100-x86_64.dll
  164. sha256sum: ae3cb6c6afba9a4aa5c85f66023c35338ca579b30326dd02918f9d55259503d5
  165. enable: '[% c("var/windows-x86_64") %]'
  166. - project: gcc
  167. name: gcc
  168. enable: '[% c("var/windows") %]'
  169. - filename: nsis-uninstall.patch
  170. enable: '[% c("var/windows") %]'
  171. - project: rust
  172. name: rust
  173. - project: llvm
  174. name: llvm
  175. enable: '[% c("var/linux") %]'
  176. - project: fxc2
  177. name: fxc2
  178. enable: '[% c("var/windows") %]'
  179. - filename: abicheck.cc
  180. enable: '[% c("var/linux") %]'
  181. - filename: start-firefox
  182. enable: '[% c("var/linux") %]'
  183. - project: tor-launcher
  184. name: tor-launcher
  185. enable: '[% ! c("var/android") %]'
  186. - filename: 'gradle-dependencies-[% c("var/gradle_dependencies_version") %]'
  187. name: gradle-dependencies
  188. exec: '[% INCLUDE "fetch-gradle-dependencies" %]'
  189. enable: '[% c("var/android") %]'
  190. - project: tor-android-service
  191. name: tor-android-service
  192. enable: '[% c("var/android") %]'
  193. - project: tor-onion-proxy-library
  194. name: topl
  195. enable: '[% c("var/android") %]'
  196. - filename: android-dependencies.patch
  197. enable: '[% c("var/android") %]'
  198. - project: firefox-locale-bundle
  199. name: firefox-locale-bundle
  200. enable: '[% c("var/android") %]'
  201. - project: tba-translation
  202. name: tba-translation
  203. enable: '[% c("var/android") %]'
  204. - filename: 1527534.patch
  205. enable: '[% c("var/android") %]'