blob: 86c311cb621b587b1c2a04c6a65f7726cbe4a982 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
|
#!/bin/bash
# Copyright 2017 The Chromium Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
SCRIPT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
DISTRO=debian
DIST=sid
# Keep the "experimental" repo before the "sid" repo. There are some packages
# that are currently only available in experimental like libgtk-4-1, but if it
# were to be placed first, experimental (unreleased) versions of other packages
# like libc6 would take precedence over the sid (released) versions. While this
# may be useful for certain kinds of development, the standard sysroots should
# continue to be shipped only with released packages.
# Also keep "stretch" before "sid". For now, it's needed to bring back
# libgnome-keyring-dev which has since been deprecated and removed from sid.
# It will be needed until gnome keyring is removed (http://crbug.com/466975 and
# http://crbug.com/355223).
ARCHIVE_URL="https://snapshot.debian.org/archive/debian"
ARCHIVE_TIMESTAMP=20210309T203820Z
APT_SOURCES_LIST="${ARCHIVE_URL}/${ARCHIVE_TIMESTAMP}/ stretch main
${ARCHIVE_URL}/${ARCHIVE_TIMESTAMP}/ experimental main
${ARCHIVE_URL}/${ARCHIVE_TIMESTAMP}/ sid main"
# gpg keyring file generated using generate_debian_archive_unstable.sh
KEYRING_FILE="${SCRIPT_DIR}/debian_archive_unstable.gpg"
HAS_ARCH_AMD64=1
HAS_ARCH_I386=1
HAS_ARCH_ARM=1
HAS_ARCH_ARM64=1
HAS_ARCH_ARMEL=1
HAS_ARCH_MIPS=1
HAS_ARCH_MIPS64EL=1
# Sysroot packages: these are the packages needed to build chrome.
# NOTE: When DEBIAN_PACKAGES is modified, the packagelist files must be updated
# by running this script in GeneratePackageList mode.
DEBIAN_PACKAGES="\
comerr-dev
krb5-multidev
libappindicator-dev
libappindicator1
libappindicator3-1
libappindicator3-dev
libasound2
libasound2-dev
libasyncns0
libatk-bridge2.0-0
libatk-bridge2.0-dev
libatk1.0-0
libatk1.0-dev
libatomic1
libatspi2.0-0
libatspi2.0-dev
libattr1
libaudit1
libavahi-client3
libavahi-common3
libblkid-dev
libblkid1
libbluetooth-dev
libbluetooth3
libbrotli-dev
libbrotli1
libbsd0
libc6
libc6-dev
libcairo-gobject2
libcairo-script-interpreter2
libcairo2
libcairo2-dev
libcap-dev
libcap-ng0
libcap2
libcolord2
libcom-err2
libcups2
libcups2-dev
libcupsimage2
libcupsimage2-dev
libdatrie-dev
libcurl3-gnutls
libcurl4-gnutls-dev
libdatrie1
libdb5.3
libdbus-1-3
libdbus-1-dev
libdbus-glib-1-2
libdbusmenu-glib-dev
libdbusmenu-glib4
libdbusmenu-gtk3-4
libdbusmenu-gtk4
libdeflate0
libdrm-amdgpu1
libdrm-dev
libdrm-nouveau2
libdrm-radeon1
libdrm2
libegl-dev
libegl1
libegl1-mesa
libegl1-mesa-dev
libelf-dev
libelf1
libepoxy-dev
libepoxy0
libevdev-dev
libevdev2
libevent-2.1-7
libexpat1
libexpat1-dev
libffi-dev
libffi6
libffi7
libflac-dev
libflac8
libfontconfig-dev
libfontconfig1
libfreetype-dev
libfreetype6
libfribidi-dev
libfribidi0
libgbm-dev
libgbm1
libgcc-10-dev
libgcc1
libgcrypt20
libgcrypt20-dev
libgdk-pixbuf-2.0-0
libgdk-pixbuf-2.0-dev
libgl-dev
libgl1
libgl1-mesa-dev
libgl1-mesa-glx
libglapi-mesa
libgles-dev
libgles1
libgles2
libglib2.0-0
libglib2.0-dev
libglvnd-dev
libglvnd0
libglx-dev
libglx0
libgmp10
libgnome-keyring-dev
libgnome-keyring0
libgnutls-dane0
libgnutls-openssl27
libgnutls28-dev
libgnutls30
libgnutlsxx28
libgomp1
libgpg-error-dev
libgpg-error0
libgraphene-1.0-0
libgraphene-1.0-dev
libgraphite2-3
libgraphite2-dev
libgssapi-krb5-2
libgssrpc4
libgtk-3-0
libgtk-3-dev
libgtk2.0-0
libgudev-1.0-0
libharfbuzz-dev
libharfbuzz-gobject0
libharfbuzz-icu0
libharfbuzz0b
libhogweed6
libice6
libicu-le-hb0
libicu67
libidl-2-0
libidn11
libidn2-0
libindicator3-7
libindicator7
libinput-dev
libinput10
libjbig0
libjpeg62-turbo
libjpeg62-turbo-dev
libjson-glib-1.0-0
libjsoncpp-dev
libjsoncpp24
libk5crypto3
libkadm5clnt-mit12
libkadm5srv-mit12
libkdb5-10
libkeyutils1
libkrb5-3
libkrb5-dev
libkrb5support0
liblcms2-2
libldap-2.4-2
libltdl7
liblz4-1
liblzma5
liblzo2-2
libmd0
libminizip-dev
libminizip1
libmount-dev
libmount1
libmtdev1
libncurses-dev
libncurses6
libncursesw6
libnettle8
libnghttp2-14
libnsl2
libnspr4
libnspr4-dev
libnss-db
libnss3
libnss3-dev
libogg-dev
libogg0
libopengl0
libopus-dev
libopus0
libp11-kit0
libpam0g
libpam0g-dev
libpango-1.0-0
libpango1.0-dev
libpangocairo-1.0-0
libpangoft2-1.0-0
libpangox-1.0-0
libpangoxft-1.0-0
libpci-dev
libpci3
libpciaccess0
libpcre16-3
libpcre2-16-0
libpcre2-32-0
libpcre2-8-0
libpcre2-dev
libpcre2-posix0
libpcre2-posix2
libpcre3
libpcre3-dev
libpcre32-3
libpcrecpp0v5
libpipewire-0.3-0
libpipewire-0.3-dev
libpixman-1-0
libpixman-1-dev
libpng-dev
libpng16-16
libpsl5
libpthread-stubs0-dev
libpulse-dev
libpulse-mainloop-glib0
libpulse0
libre2-9
libre2-dev
librest-0.7-0
librtmp1
libsasl2-2
libselinux1
libselinux1-dev
libsepol1
libsepol1-dev
libsm6
libsnappy-dev
libsnappy1v5
libsndfile1
libsoup-gnome2.4-1
libsoup2.4-1
libspa-0.2-dev
libspeechd-dev
libspeechd2
libsqlite3-0
libssh2-1
libssl-dev
libssl1.1
libstdc++-10-dev
libstdc++6
libsystemd0
libtasn1-6
libthai-dev
libthai0
libtiff5
libtinfo6
libtirpc3
libudev-dev
libudev1
libunbound8
libunistring2
libuuid1
libva-dev
libva-drm2
libva-glx2
libva-wayland2
libva-x11-2
libva2
libvorbis0a
libvorbisenc2
libvpx-dev
libvpx6
libvulkan-dev
libvulkan1
libwacom2
libwayland-client0
libwayland-cursor0
libwayland-dev
libwayland-egl1
libwayland-egl1-mesa
libwayland-server0
libwebp-dev
libwebp6
libwebpdemux2
libwebpmux3
libwrap0
libx11-6
libx11-dev
libx11-xcb-dev
libx11-xcb1
libxau-dev
libxau6
libxcb-dri2-0
libxcb-dri2-0-dev
libxcb-dri3-0
libxcb-dri3-dev
libxcb-glx0
libxcb-glx0-dev
libxcb-present-dev
libxcb-present0
libxcb-render0
libxcb-render0-dev
libxcb-shm0
libxcb-shm0-dev
libxcb-sync1
libxcb-xfixes0
libxcb1
libxcb1-dev
libxcomposite-dev
libxcomposite1
libxcursor-dev
libxcursor1
libxdamage-dev
libxdamage1
libxdmcp-dev
libxdmcp6
libxext-dev
libxext6
libxfixes-dev
libxfixes3
libxft-dev
libxft2
libxi-dev
libxi6
libxinerama-dev
libxinerama1
libxkbcommon-dev
libxkbcommon0
libxml2
libxml2-dev
libxrandr-dev
libxrandr2
libxrender-dev
libxrender1
libxshmfence-dev
libxshmfence1
libxslt1-dev
libxslt1.1
libxss-dev
libxss1
libxt-dev
libxt6
libxtst-dev
libxtst6
libxxf86vm-dev
libxxf86vm1
libzstd1
linux-libc-dev
mesa-common-dev
shared-mime-info
speech-dispatcher
uuid-dev
wayland-protocols
x11proto-composite-dev
x11proto-damage-dev
x11proto-dev
x11proto-fixes-dev
x11proto-input-dev
x11proto-kb-dev
x11proto-randr-dev
x11proto-record-dev
x11proto-render-dev
x11proto-scrnsaver-dev
x11proto-xext-dev
x11proto-xinerama-dev
zlib1g
zlib1g-dev
"
DEBIAN_PACKAGES_AMD64="
libgtk-4-1
libgtk-4-dev
liblsan0
libtsan0
"
DEBIAN_PACKAGES_X86="
libasan6
libcilkrts5
libdrm-intel1
libgtk-4-1
libgtk-4-dev
libitm1
libmpx2
libquadmath0
libubsan1
"
DEBIAN_PACKAGES_ARM="
libasan6
libdrm-etnaviv1
libdrm-exynos1
libdrm-freedreno1
libdrm-omap1
libdrm-tegra0
libgtk-4-1
libgtk-4-dev
libubsan1
"
DEBIAN_PACKAGES_ARM64="
libasan6
libdrm-etnaviv1
libdrm-freedreno1
libdrm-tegra0
libgmp10
libgtk-4-1
libgtk-4-dev
libitm1
liblsan0
libthai0
libtsan0
libubsan1
"
DEBIAN_PACKAGES_ARMEL="
libasan6
libdrm-exynos1
libdrm-freedreno1
libdrm-omap1
libdrm-tegra0
libgtk-4-1
libgtk-4-dev
libubsan1
"
DEBIAN_PACKAGES_MIPS64EL="
"
. "${SCRIPT_DIR}/sysroot-creator.sh"
|