config 4.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159
  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. gpg_keyring: torbutton.gpg
  8. var:
  9. firefox_platform_version: 52.8.0
  10. firefox_version: '[% c("var/firefox_platform_version") %]esr'
  11. torbrowser_branch: 8.0
  12. torbrowser_update_channel: alpha
  13. copyright_year: '[% exec("git show -s --format=%ci").remove("-.*") %]'
  14. deps:
  15. - build-essential
  16. - unzip
  17. - zip
  18. - autoconf2.13
  19. - yasm
  20. - python
  21. container:
  22. use_container: 1
  23. targets:
  24. release:
  25. var:
  26. torbrowser_update_channel: release
  27. nightly:
  28. git_hash: 'tor-browser-[% c("var/firefox_version") %]-[% c("var/torbrowser_branch") %]-1'
  29. tag_gpg_id: 0
  30. var:
  31. torbrowser_update_channel: default
  32. linux:
  33. var:
  34. arch_deps:
  35. - libgtk2.0-dev
  36. - libdbus-glib-1-dev
  37. - libxt-dev
  38. - hardening-wrapper
  39. # To pass configure since ESR 31.
  40. - libpulse-dev
  41. # To pass configure since ESR 45.
  42. - libgconf2-dev
  43. # To pass configure since ESR 52
  44. - libx11-xcb-dev
  45. # We built GCC but not the libmpc2, thus we need to install it
  46. - libmpc2
  47. linux-x86_64:
  48. var:
  49. martools_filename: mar-tools-linux64.zip
  50. linux-i686:
  51. var:
  52. martools_filename: mar-tools-linux32.zip
  53. linux-arm:
  54. var:
  55. martools_filename: mar-tools-linuxarm.zip
  56. arch_deps:
  57. # Based on configure errors observed with no extra deps:
  58. #- 'libx11-xcb1:armhf'
  59. #- 'libxcb-shm0:armhf'
  60. #- 'libxext6:armhf'
  61. #- 'libxt6:armhf'
  62. # Based on deps installed for x86:
  63. #- 'libgtk2.0-dev'
  64. #- 'libgtk2.0-0:armhf'
  65. #- 'libdbus-glib-1-dev'
  66. #- 'libdbus-glib-1-2:armhf'
  67. #- 'libxt-dev'
  68. #- 'hardening-wrapper'
  69. # To pass configure since ESR 31.
  70. #- 'libpulse-dev'
  71. # To pass configure since ESR 45.
  72. #- 'libgconf2-dev'
  73. # To pass configure since ESR 52
  74. #- 'libx11-xcb-dev'
  75. # We built GCC but not the libmpc2, thus we need to install it
  76. #- 'libmpc2'
  77. # Attempt to use debootstrap to get the needed deps
  78. #- libgtk2.0-dev
  79. #- libdbus-glib-1-dev
  80. #- libxt-dev
  81. #- hardening-wrapper
  82. # To pass configure since ESR 31.
  83. #- libpulse-dev
  84. # To pass configure since ESR 45.
  85. #- libgconf2-dev
  86. # To pass configure since ESR 52
  87. #- libx11-xcb-dev
  88. # We built GCC but not the libmpc2, thus we need to install it
  89. #- libmpc2
  90. #- debootstrap
  91. #- qemu-user-static
  92. #- fakeroot
  93. # Attempt to use apt-get download to get the needed deps
  94. - libgtk2.0-dev
  95. - libdbus-glib-1-dev
  96. - libxt-dev
  97. - hardening-wrapper
  98. # To pass configure since ESR 31.
  99. - libpulse-dev
  100. # To pass configure since ESR 45.
  101. - libgconf2-dev
  102. # To pass configure since ESR 52
  103. - libx11-xcb-dev
  104. # We built GCC but not the libmpc2, thus we need to install it
  105. - libmpc2
  106. - apt-rdepends
  107. osx-x86_64:
  108. var:
  109. martools_filename: mar-tools-mac64.zip
  110. arch_deps:
  111. - rsync
  112. windows-i686:
  113. var:
  114. martools_filename: mar-tools-win32.zip
  115. windows-x86_64:
  116. var:
  117. martools_filename: mar-tools-win64.zip
  118. input_files:
  119. - project: container-image
  120. - name: '[% c("var/compiler") %]'
  121. project: '[% c("var/compiler") %]'
  122. - name: gcc-cross
  123. project: gcc-cross
  124. enable: '[% c("var/linux-arm") %]'
  125. - filename: get-moz-build-date
  126. - filename: 'mozconfig-[% c("var/osname") %]'
  127. name: mozconfig
  128. - project: binutils
  129. name: binutils
  130. enable: '[% c("var/linux") %]'
  131. - project: selfrando
  132. name: selfrando
  133. enable: '[% c("var/linux") && ! c("var/release") %]'
  134. - filename: fix-info-plist.py
  135. enable: '[% c("var/osx") %]'
  136. - URL: https://people.torproject.org/~gk/mirrors/sources/msvcr100.dll
  137. sha256sum: 8793353461826fbd48f25ea8b835be204b758ce7510db2af631b28850355bd18
  138. enable: '[% c("var/windows-i686") %]'
  139. - URL: https://people.torproject.org/~boklm/mirrors/sources/msvcr100-x86_64.dll
  140. sha256sum: ae3cb6c6afba9a4aa5c85f66023c35338ca579b30326dd02918f9d55259503d5
  141. enable: '[% c("var/windows-x86_64") %]'
  142. - project: gcc
  143. name: gcc
  144. enable: '[% c("var/windows") %]'
  145. - filename: STL_win64.patch
  146. enable: '[% c("var/windows-x86_64") %]'
  147. - filename: jsnativestack_unistd_armhf.patch
  148. enable: '[% c("var/linux-arm") %]'