config 4.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191
  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") %]-2-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: 78.13.0
  11. firefox_version: '[% c("var/firefox_platform_version") %]esr'
  12. torbrowser_branch: 10.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. # We are building our own version of Python 3.6, which is required
  22. # for the build. However mach still requires Python 2.7, so we
  23. # install this version using the package.
  24. - python
  25. - pkg-config
  26. container:
  27. use_container: 1
  28. steps:
  29. src-tarballs:
  30. filename: 'src-[% project %]-[% c("version") %].tar.xz'
  31. version: '[% c("git_hash") %]'
  32. input_files: []
  33. var:
  34. container:
  35. use_container: 0
  36. targets:
  37. nightly:
  38. version: '[% c("abbrev") %]'
  39. targets:
  40. release:
  41. var:
  42. branding_directory: 'browser/branding/official'
  43. nightly:
  44. git_hash: 'tor-browser-[% c("var/firefox_version") %]-[% c("var/torbrowser_branch") %]-1'
  45. tag_gpg_id: 0
  46. var:
  47. branding_directory: 'browser/branding/nightly'
  48. linux-x86_64:
  49. var:
  50. martools_filename: mar-tools-linux64.zip
  51. arch_deps:
  52. - libgtk2.0-dev
  53. - libgtk-3-dev
  54. - libdbus-glib-1-dev
  55. - libxt-dev
  56. - hardening-wrapper
  57. # To pass configure since ESR 31.
  58. - libpulse-dev
  59. # To pass configure since ESR 52
  60. - libx11-xcb-dev
  61. # To support Wayland mode
  62. - libdrm-dev
  63. linux-i686:
  64. var:
  65. martools_filename: mar-tools-linux32.zip
  66. sort_deps: 0
  67. arch_deps:
  68. - libgtk2.0-dev:i386
  69. - libgtk-3-dev:i386
  70. - libdbus-glib-1-dev:i386
  71. - libxt-dev:i386
  72. - hardening-wrapper
  73. # To pass configure since ESR 31.
  74. - libpulse-dev:i386
  75. # To pass configure since ESR 52
  76. - libx11-xcb-dev:i386
  77. # To support Wayland mode
  78. - libdrm-dev:i386
  79. linux-arm64:
  80. var:
  81. martools_filename: mar-tools-linux-arm64.zip
  82. arch_deps:
  83. - libgtk2.0-dev
  84. - libgtk-3-dev
  85. - libdbus-glib-1-dev
  86. - libxt-dev
  87. #- hardening-wrapper
  88. # To pass configure since ESR 31.
  89. - libpulse-dev
  90. # To pass configure since ESR 52
  91. - libx11-xcb-dev
  92. # To support Wayland mode
  93. - libdrm-dev
  94. linux-armhf:
  95. var:
  96. martools_filename: mar-tools-linux-armhf.zip
  97. arch_deps:
  98. - libgtk2.0-dev
  99. - libgtk-3-dev
  100. - libdbus-glib-1-dev
  101. - libxt-dev
  102. - hardening-wrapper
  103. # To pass configure since ESR 31.
  104. - libpulse-dev
  105. # To pass configure since ESR 52
  106. - libx11-xcb-dev
  107. # To support Wayland mode
  108. - libdrm-dev
  109. osx-x86_64:
  110. var:
  111. martools_filename: mar-tools-mac64.zip
  112. arch_deps:
  113. - rsync
  114. windows:
  115. var:
  116. arch_deps:
  117. - wine
  118. compiler: mingw-w64-clang
  119. windows-i686:
  120. var:
  121. martools_filename: mar-tools-win32.zip
  122. windows-x86_64:
  123. var:
  124. martools_filename: mar-tools-win64.zip
  125. input_files:
  126. - project: container-image
  127. - name: '[% c("var/compiler") %]'
  128. project: '[% c("var/compiler") %]'
  129. - filename: get-moz-build-date
  130. - filename: 'mozconfig-[% c("var/osname") %][% IF c("var/asan") %]-asan[% END %]'
  131. name: mozconfig
  132. - project: binutils
  133. name: binutils
  134. enable: '[% c("var/linux") %]'
  135. - filename: fix-info-plist.py
  136. enable: '[% c("var/osx") %]'
  137. - filename: nsis-uninstall.patch
  138. enable: '[% c("var/windows") %]'
  139. - filename: 1526653.patch
  140. enable: '[% c("var/linux-armhf") %]'
  141. - project: rust
  142. name: rust
  143. - project: cbindgen
  144. name: cbindgen
  145. - project: wasi-sysroot
  146. name: wasi-sysroot
  147. enable: '[% c("var/rlbox") %]'
  148. - project: lucetc
  149. name: lucetc
  150. enable: '[% c("var/rlbox") %]'
  151. - project: node
  152. name: node
  153. - project: nasm
  154. name: nasm
  155. - project: python
  156. name: python
  157. - project: clang
  158. name: clang
  159. - project: fxc2
  160. name: fxc2
  161. enable: '[% c("var/windows") %]'
  162. target_prepend:
  163. - torbrowser-windows-x86_64
  164. - name: mingw-w64
  165. project: mingw-w64
  166. enable: '[% c("var/windows") %]'
  167. - filename: abicheck.cc
  168. enable: '[% c("var/linux") %]'
  169. - filename: start-firefox
  170. enable: '[% c("var/linux") %]'
  171. - project: tor-launcher
  172. name: tor-launcher
  173. - filename: namecoin-torbutton.patch
  174. enable: '[% c("var/namecoin") %]'
  175. # TorButton patch authored by Arthur Edelstein, from https://github.com/arthuredelstein/torbutton/ branch 2.1.10-namecoin
  176. - filename: namecoin-etld.patch
  177. enable: '[% c("var/namecoin") %]'