View | Details | Raw Unified | Return to bug 221335 | Differences between
and this patch

Collapse All | Expand All

(-)b/Mk/Uses/gecko.mk (-2 / +2 lines)
Lines 37-48 RUN_DEPENDS+= libxul>=45:www/libxul Link Here
37
.elif ${gecko_ARGS:Mfirefox}
37
.elif ${gecko_ARGS:Mfirefox}
38
38
39
_GECKO_DEFAULT_VERSION=	52
39
_GECKO_DEFAULT_VERSION=	52
40
_GECKO_VERSIONS=		52 55
40
_GECKO_VERSIONS=		52 56
41
_GECKO_TYPE=	firefox
41
_GECKO_TYPE=	firefox
42
42
43
# Dependence lines for different Firefox versions
43
# Dependence lines for different Firefox versions
44
52_DEPENDS=		${LOCALBASE}/lib/firefox/firefox:www/firefox-esr
44
52_DEPENDS=		${LOCALBASE}/lib/firefox/firefox:www/firefox-esr
45
55_DEPENDS=		${LOCALBASE}/lib/firefox/firefox:www/firefox
45
56_DEPENDS=		${LOCALBASE}/lib/firefox/firefox:www/firefox
46
46
47
.if exists(${LOCALBASE}/bin/firefox)
47
.if exists(${LOCALBASE}/bin/firefox)
48
_GECKO_INSTALLED_VER!=	${LOCALBASE}/bin/firefox --version 2>/dev/null
48
_GECKO_INSTALLED_VER!=	${LOCALBASE}/bin/firefox --version 2>/dev/null
(-)b/Mk/bsd.gecko.mk (-3 / +5 lines)
Lines 387-399 post-patch-SNDIO-on: Link Here
387
		${MOZSRC}/media/webrtc/signaling/test/common.build
387
		${MOZSRC}/media/webrtc/signaling/test/common.build
388
.endif
388
.endif
389
389
390
.if ${PORT_OPTIONS:MRUST}
390
.if ${PORT_OPTIONS:MRUST} || ${MOZILLA_VER:R:R} >= 54
391
BUILD_DEPENDS+=	rust>=1.15.1:${RUST_PORT}
391
BUILD_DEPENDS+=	rust>=1.17.0:${RUST_PORT}
392
. if ${MOZILLA_VER:R:R} >= 51
392
. if ${MOZILLA_VER:R:R} >= 51
393
BUILD_DEPENDS+=	cargo>=0.16.0:devel/cargo
393
BUILD_DEPENDS+=	cargo>=0.18.0:devel/cargo
394
. endif
394
. endif
395
RUST_PORT?=		lang/rust
395
RUST_PORT?=		lang/rust
396
. if ${MOZILLA_VER:R:R} < 54
396
MOZ_OPTIONS+=	--enable-rust
397
MOZ_OPTIONS+=	--enable-rust
398
. endif
397
.else
399
.else
398
MOZ_OPTIONS+=	--disable-rust
400
MOZ_OPTIONS+=	--disable-rust
399
.endif
401
.endif
(-)b/www/firefox-i18n/Makefile (-2 / +2 lines)
Lines 2-8 Link Here
2
# $FreeBSD$
2
# $FreeBSD$
3
3
4
PORTNAME=	firefox-i18n
4
PORTNAME=	firefox-i18n
5
PORTVERSION=	55.0
5
PORTVERSION=	56.0b1
6
CATEGORIES=	www
6
CATEGORIES=	www
7
MASTER_SITES=	MOZILLA/${PORTNAME:S|-i18n||}/releases/${DISTVERSION}/linux-i686/xpi \
7
MASTER_SITES=	MOZILLA/${PORTNAME:S|-i18n||}/releases/${DISTVERSION}/linux-i686/xpi \
8
		MOZILLA/${PORTNAME:S|-i18n||}/candidates/${DISTVERSION}-candidates/build3/linux-i686/xpi
8
		MOZILLA/${PORTNAME:S|-i18n||}/candidates/${DISTVERSION}-candidates/build3/linux-i686/xpi
Lines 15-21 COMMENT= Localized interface for Firefox Link Here
15
15
16
EXTRACT_DEPENDS=	zip:archivers/zip
16
EXTRACT_DEPENDS=	zip:archivers/zip
17
17
18
USES=		zip:infozip gecko:firefox,55,build
18
USES=		zip:infozip gecko:firefox,56,build
19
USE_XPI=	firefox
19
USE_XPI=	firefox
20
20
21
NO_ARCH=	yes
21
NO_ARCH=	yes
(-)b/www/firefox-i18n/distinfo (-191 / +191 lines)
Lines 1-191 Link Here
1
TIMESTAMP = 1501529467
1
TIMESTAMP = 1502172478
2
SHA256 (xpi/firefox-i18n-55.0/ach.xpi) = 7effd111a095cddfa54f351259213bf344a63a594ecee1619c5ea181dae1b26f
2
SHA256 (xpi/firefox-i18n-56.0b1/ach.xpi) = 412d590806c83a0048e0e0fe90b55a05feb225f98d7ab7bd17ccbc8da4ea5d22
3
SIZE (xpi/firefox-i18n-55.0/ach.xpi) = 447503
3
SIZE (xpi/firefox-i18n-56.0b1/ach.xpi) = 453652
4
SHA256 (xpi/firefox-i18n-55.0/af.xpi) = b17db928990810aac31c86d01d92e73f0e4a0bfcdb98d7ec3d9ab1dcaadb0e30
4
SHA256 (xpi/firefox-i18n-56.0b1/af.xpi) = 492a985216b9991620c70a4aa67083afb27e5861821cca8c967e72cf0d50eab9
5
SIZE (xpi/firefox-i18n-55.0/af.xpi) = 448923
5
SIZE (xpi/firefox-i18n-56.0b1/af.xpi) = 454977
6
SHA256 (xpi/firefox-i18n-55.0/an.xpi) = e15aa4930d21d29b7f409beb1fdcf18603eee54670672f856eb0019304442b34
6
SHA256 (xpi/firefox-i18n-56.0b1/an.xpi) = 6894dd02211ddce20a4805eb5bbbbb469815599397f3df298c542f6e5275e4e6
7
SIZE (xpi/firefox-i18n-55.0/an.xpi) = 468637
7
SIZE (xpi/firefox-i18n-56.0b1/an.xpi) = 474624
8
SHA256 (xpi/firefox-i18n-55.0/ar.xpi) = 6f574ebea13627ade9f0732f5ef8857cf24c9986b41f83d4162f5b4dd934f65b
8
SHA256 (xpi/firefox-i18n-56.0b1/ar.xpi) = d43ba5d761c86f6f72df9ba56fe8228490546cb41aff2efcdb1e0d465ccb8b5f
9
SIZE (xpi/firefox-i18n-55.0/ar.xpi) = 492759
9
SIZE (xpi/firefox-i18n-56.0b1/ar.xpi) = 499454
10
SHA256 (xpi/firefox-i18n-55.0/as.xpi) = eda8c3227dcc8ff518a85184a9d9bd121b54a9d9bef7936650a59ff405bee942
10
SHA256 (xpi/firefox-i18n-56.0b1/as.xpi) = 2299695121e34d4b55c62107d1ff7ddcf32a63aaf3f145fdeb461d1a8ddeac54
11
SIZE (xpi/firefox-i18n-55.0/as.xpi) = 501506
11
SIZE (xpi/firefox-i18n-56.0b1/as.xpi) = 507000
12
SHA256 (xpi/firefox-i18n-55.0/ast.xpi) = 4003edf17a241136abcc2722131b4d0c9f0ad5f9d3cad30f0903786c11dbe527
12
SHA256 (xpi/firefox-i18n-56.0b1/ast.xpi) = eeb3ea046af00cab26633a3a4d370e704dd9ce8a0a8fd50deb3907bb24997acd
13
SIZE (xpi/firefox-i18n-55.0/ast.xpi) = 460839
13
SIZE (xpi/firefox-i18n-56.0b1/ast.xpi) = 467915
14
SHA256 (xpi/firefox-i18n-55.0/az.xpi) = 227f74edc75a27483eacac85f775a7aed4d551f2da8b80ec8f6df102855d0e0d
14
SHA256 (xpi/firefox-i18n-56.0b1/az.xpi) = 8945fa6a28ee498cb23c401e7e4458cb007857fea7bace6cf6c890b5517497bc
15
SIZE (xpi/firefox-i18n-55.0/az.xpi) = 475367
15
SIZE (xpi/firefox-i18n-56.0b1/az.xpi) = 483745
16
SHA256 (xpi/firefox-i18n-55.0/be.xpi) = 3e93a38c9e81ecd6b12686cb553a9d4963b3aa27544eca1a7d702dfb4d59bf17
16
SHA256 (xpi/firefox-i18n-56.0b1/be.xpi) = 2c9df8ad9115952d87af9ffe6612e79c630ea7fe8310afa74e20699b8ab0bb76
17
SIZE (xpi/firefox-i18n-55.0/be.xpi) = 522574
17
SIZE (xpi/firefox-i18n-56.0b1/be.xpi) = 530147
18
SHA256 (xpi/firefox-i18n-55.0/bg.xpi) = 85a0566d0df2b8501f76c7680c47aed147d07f74bad80a4734a3e5a0f1c5d93a
18
SHA256 (xpi/firefox-i18n-56.0b1/bg.xpi) = 6af8ae541c535c6f78b6a29e649bef6581fbb9b6cea39ada86f79d70e166f91d
19
SIZE (xpi/firefox-i18n-55.0/bg.xpi) = 520010
19
SIZE (xpi/firefox-i18n-56.0b1/bg.xpi) = 527542
20
SHA256 (xpi/firefox-i18n-55.0/bn-BD.xpi) = 477429b439a1bf73b59f21690988786ae87c06c5b587cdee8269c1cc2f5ffeca
20
SHA256 (xpi/firefox-i18n-56.0b1/bn-BD.xpi) = a8b4fff82480a173a0d20969e427bb9c5c30ec7dcac21ca56cc334c1e3674bec
21
SIZE (xpi/firefox-i18n-55.0/bn-BD.xpi) = 535105
21
SIZE (xpi/firefox-i18n-56.0b1/bn-BD.xpi) = 541521
22
SHA256 (xpi/firefox-i18n-55.0/bn-IN.xpi) = 9d7004f7d7cc21ec8026d34fbc7a78c52bc8205f738df715d9d53bd57e56f664
22
SHA256 (xpi/firefox-i18n-56.0b1/bn-IN.xpi) = edf7026aed76ecb633357cd5ccb6febdc54284a65a12f9cc6380fff2ef04b22f
23
SIZE (xpi/firefox-i18n-55.0/bn-IN.xpi) = 526353
23
SIZE (xpi/firefox-i18n-56.0b1/bn-IN.xpi) = 533200
24
SHA256 (xpi/firefox-i18n-55.0/br.xpi) = 1f2c64f8e11262340895ce55c16130745cff855778068b576b0e832cfa3a8f8c
24
SHA256 (xpi/firefox-i18n-56.0b1/br.xpi) = 5c16c2b88700918bb472a21c97d0a5734a53beacbcc0af4c11ac2c818f22b6ad
25
SIZE (xpi/firefox-i18n-55.0/br.xpi) = 457058
25
SIZE (xpi/firefox-i18n-56.0b1/br.xpi) = 463042
26
SHA256 (xpi/firefox-i18n-55.0/bs.xpi) = b18b81b09302846fdc9a53294b5c905406949fbe54abb172229ab5da62ae03fb
26
SHA256 (xpi/firefox-i18n-56.0b1/bs.xpi) = dc52da64489e662d76877d87e92cdedc15ff74795a5862bc2c09bfa88a7bafcb
27
SIZE (xpi/firefox-i18n-55.0/bs.xpi) = 465024
27
SIZE (xpi/firefox-i18n-56.0b1/bs.xpi) = 471016
28
SHA256 (xpi/firefox-i18n-55.0/ca.xpi) = 6060c966fe663d4e6c44b4de7f4b8accab722ebc5788ca41fc2c1b846d238ede
28
SHA256 (xpi/firefox-i18n-56.0b1/ca.xpi) = 8908a3e4bce9cbbe8ba2b6cc0665aa94d67a86f403401f4f54854e8a5257fec2
29
SIZE (xpi/firefox-i18n-55.0/ca.xpi) = 473016
29
SIZE (xpi/firefox-i18n-56.0b1/ca.xpi) = 478874
30
SHA256 (xpi/firefox-i18n-55.0/cak.xpi) = 057900bfde342f8543734d95d83a31873a7bd727879f2a0662826ffef66f6855
30
SHA256 (xpi/firefox-i18n-56.0b1/cak.xpi) = 7baf225b38756d018421bb2348cb6b0a9b05332b7b66c5fa79b6fcf43ff96188
31
SIZE (xpi/firefox-i18n-55.0/cak.xpi) = 481773
31
SIZE (xpi/firefox-i18n-56.0b1/cak.xpi) = 488264
32
SHA256 (xpi/firefox-i18n-55.0/cs.xpi) = 807db70a47d46de4bce82027ca45fa2c1b0b0beecedd93c51134ac148e022025
32
SHA256 (xpi/firefox-i18n-56.0b1/cs.xpi) = 9bfc529442743cf8774aede1ca0453a39d815d9db359789e162956464689575a
33
SIZE (xpi/firefox-i18n-55.0/cs.xpi) = 476808
33
SIZE (xpi/firefox-i18n-56.0b1/cs.xpi) = 483852
34
SHA256 (xpi/firefox-i18n-55.0/cy.xpi) = 11d8e6ae3ef64b878d33de9c1e87627c71f3c8d7858cdfd7fb901fda0e51a05f
34
SHA256 (xpi/firefox-i18n-56.0b1/cy.xpi) = 8aa5b4f94ade896e3b530a7c0eb80af98847fac29e8a823e8c1f30bd4302afd4
35
SIZE (xpi/firefox-i18n-55.0/cy.xpi) = 458724
35
SIZE (xpi/firefox-i18n-56.0b1/cy.xpi) = 465054
36
SHA256 (xpi/firefox-i18n-55.0/da.xpi) = 5eee7d6abfdff7b63a71ad75c7628f8b9d2f3e06292c547d2c32521b86ddc170
36
SHA256 (xpi/firefox-i18n-56.0b1/da.xpi) = 63981fb0f02d05855b8b96fcac3d86c2ffaacb332f606117f44bc36198bcfa7b
37
SIZE (xpi/firefox-i18n-55.0/da.xpi) = 452603
37
SIZE (xpi/firefox-i18n-56.0b1/da.xpi) = 458855
38
SHA256 (xpi/firefox-i18n-55.0/de.xpi) = 9e59e27baff599dd0450c31a77532f8db37ca217f105b780ff14822607cfb85b
38
SHA256 (xpi/firefox-i18n-56.0b1/de.xpi) = 480cb992987c94577f7f0fb1aa522b24dbaca357ae00f1390b132b8875b0e350
39
SIZE (xpi/firefox-i18n-55.0/de.xpi) = 465988
39
SIZE (xpi/firefox-i18n-56.0b1/de.xpi) = 472957
40
SHA256 (xpi/firefox-i18n-55.0/dsb.xpi) = 1ace2c50ed147c64764eb9e55f8aa6a7917b4f1e76fac660f0ae282655d4fc43
40
SHA256 (xpi/firefox-i18n-56.0b1/dsb.xpi) = 8872d7e4a4e8ef858db9ffdbdf49dbb022a2a9df18904581544ab492dd22966e
41
SIZE (xpi/firefox-i18n-55.0/dsb.xpi) = 482080
41
SIZE (xpi/firefox-i18n-56.0b1/dsb.xpi) = 488655
42
SHA256 (xpi/firefox-i18n-55.0/el.xpi) = 776251cf76587518eebc4c3398168eb226d5e859c69e6068031d72e42d13d233
42
SHA256 (xpi/firefox-i18n-56.0b1/el.xpi) = 7729999f17bc385901ffdaa8c063434b62306a36619c1cc49ab2bf15b3d30453
43
SIZE (xpi/firefox-i18n-55.0/el.xpi) = 539776
43
SIZE (xpi/firefox-i18n-56.0b1/el.xpi) = 552883
44
SHA256 (xpi/firefox-i18n-55.0/en-GB.xpi) = 9f298233d64ed509211dced494b206271457d29d82a06e999a2e4ec3c09cfadf
44
SHA256 (xpi/firefox-i18n-56.0b1/en-GB.xpi) = 81a4f78ef57b46b705fed1d6ed7679fb5bd5fdc764125ebc8184b491458a0040
45
SIZE (xpi/firefox-i18n-55.0/en-GB.xpi) = 439267
45
SIZE (xpi/firefox-i18n-56.0b1/en-GB.xpi) = 446124
46
SHA256 (xpi/firefox-i18n-55.0/en-US.xpi) = 6e48418b8251189baa662323892c0ca71be87d22cd3e4b786557cecd813802ee
46
SHA256 (xpi/firefox-i18n-56.0b1/en-US.xpi) = 4c176fa8afd30fe128ab7165488f13e5d6e03836f10148b5cd58714ad012c6ee
47
SIZE (xpi/firefox-i18n-55.0/en-US.xpi) = 439813
47
SIZE (xpi/firefox-i18n-56.0b1/en-US.xpi) = 445701
48
SHA256 (xpi/firefox-i18n-55.0/en-ZA.xpi) = 3c207e0c0da51086665dfbcb3932e428b5a43fa78633df8165d6f164d8e12921
48
SHA256 (xpi/firefox-i18n-56.0b1/en-ZA.xpi) = 7e4984f7f32c7699b9ff30417b51eda74d16b7b2bab3601738bf5d964ee39b60
49
SIZE (xpi/firefox-i18n-55.0/en-ZA.xpi) = 438620
49
SIZE (xpi/firefox-i18n-56.0b1/en-ZA.xpi) = 444667
50
SHA256 (xpi/firefox-i18n-55.0/eo.xpi) = 43291d1441f465ccef16c78dd1d7185b105f853c072956b64cca85d25951ccb7
50
SHA256 (xpi/firefox-i18n-56.0b1/eo.xpi) = 0bd84a11d460b64b207b0b9ae5645f796f7dcc497dec202774daaa3b89f7f8e7
51
SIZE (xpi/firefox-i18n-55.0/eo.xpi) = 461138
51
SIZE (xpi/firefox-i18n-56.0b1/eo.xpi) = 467843
52
SHA256 (xpi/firefox-i18n-55.0/es-AR.xpi) = a15bdfad6500e6e5843c24d0e7ee05962505346db9c200269c4bf01dc4a5a6db
52
SHA256 (xpi/firefox-i18n-56.0b1/es-AR.xpi) = 1991f29026474146746ee71a5ef86cbb1356cb598342e329f93aad3ff4615fe1
53
SIZE (xpi/firefox-i18n-55.0/es-AR.xpi) = 467617
53
SIZE (xpi/firefox-i18n-56.0b1/es-AR.xpi) = 474190
54
SHA256 (xpi/firefox-i18n-55.0/es-CL.xpi) = 361e31c430cbb7cd6480d4449c6626c58688a4c2ccfcf29307542b7bd2c6fdae
54
SHA256 (xpi/firefox-i18n-56.0b1/es-CL.xpi) = b00006c35422638864ab2ba0d159e0a23cab15c2781af4a3ed3cf34e3bdaa747
55
SIZE (xpi/firefox-i18n-55.0/es-CL.xpi) = 471598
55
SIZE (xpi/firefox-i18n-56.0b1/es-CL.xpi) = 478668
56
SHA256 (xpi/firefox-i18n-55.0/es-ES.xpi) = 7f5a906ef66e606436763730909324171bbf32ae5ccb7604c76f503b91a34bdc
56
SHA256 (xpi/firefox-i18n-56.0b1/es-ES.xpi) = d741a9d9099364d5b2c92c86f80a0c09dd3b78c6404097b007c74906a2f6a33d
57
SIZE (xpi/firefox-i18n-55.0/es-ES.xpi) = 359822
57
SIZE (xpi/firefox-i18n-56.0b1/es-ES.xpi) = 364379
58
SHA256 (xpi/firefox-i18n-55.0/es-MX.xpi) = 5d72f78c861a79ee8e44a60b65bd6e0ff709a5233335dac2ce14b7434a660930
58
SHA256 (xpi/firefox-i18n-56.0b1/es-MX.xpi) = b6b8b8e0647232d712151b32e5efb355249808f5bd47a3aee103296cce719c6c
59
SIZE (xpi/firefox-i18n-55.0/es-MX.xpi) = 474243
59
SIZE (xpi/firefox-i18n-56.0b1/es-MX.xpi) = 481315
60
SHA256 (xpi/firefox-i18n-55.0/et.xpi) = 38b9ec43a0dbf4b9fa85c40e0dcf9105f4f685a4953145b6777fe93f20920e33
60
SHA256 (xpi/firefox-i18n-56.0b1/et.xpi) = 25b5f1a98d5fe4c6dc81d412d976dc79f7da9d0a2ed62fe6df21ef4691b4af1c
61
SIZE (xpi/firefox-i18n-55.0/et.xpi) = 454469
61
SIZE (xpi/firefox-i18n-56.0b1/et.xpi) = 462028
62
SHA256 (xpi/firefox-i18n-55.0/eu.xpi) = 9c389e96c5ae242b8a6367540c06726ec97b932ccb8e6648cfc1499072d724c1
62
SHA256 (xpi/firefox-i18n-56.0b1/eu.xpi) = 9a7aa4be11366d913d37d80f99caa05bfc0efa142787919e37aed128757a0d9a
63
SIZE (xpi/firefox-i18n-55.0/eu.xpi) = 460418
63
SIZE (xpi/firefox-i18n-56.0b1/eu.xpi) = 466768
64
SHA256 (xpi/firefox-i18n-55.0/fa.xpi) = 1447f4827395e5def561df5cd900087ff7ff1dd725c06a613eb9ab10bc8ea7e8
64
SHA256 (xpi/firefox-i18n-56.0b1/fa.xpi) = 898110bc2bd25a1f9fcda81b02c95b9a464993e12b44bcc21c3abb415ddf8184
65
SIZE (xpi/firefox-i18n-55.0/fa.xpi) = 511559
65
SIZE (xpi/firefox-i18n-56.0b1/fa.xpi) = 517415
66
SHA256 (xpi/firefox-i18n-55.0/ff.xpi) = df842a9519944fc4346c2ab1ddd303e3dfddbb0ae816e7c8d25541860a0cfe5b
66
SHA256 (xpi/firefox-i18n-56.0b1/ff.xpi) = 760b1035bf7d29ade6b31a848cf791b366957203ce49ab774998f45eabce05f0
67
SIZE (xpi/firefox-i18n-55.0/ff.xpi) = 455293
67
SIZE (xpi/firefox-i18n-56.0b1/ff.xpi) = 461860
68
SHA256 (xpi/firefox-i18n-55.0/fi.xpi) = d7d5e06340d93be95e392825f135482c85872578706920ef5cf5fa5d539c54d5
68
SHA256 (xpi/firefox-i18n-56.0b1/fi.xpi) = e5f9bd3526be82f67f03f091eb513b3532c206ce140e7e58832787ca8fbe1593
69
SIZE (xpi/firefox-i18n-55.0/fi.xpi) = 453944
69
SIZE (xpi/firefox-i18n-56.0b1/fi.xpi) = 461217
70
SHA256 (xpi/firefox-i18n-55.0/fr.xpi) = 8d671e1013ee08d17a7817f3a892ec497b53a0bf71acf94bfc8eb9d07e1fbaab
70
SHA256 (xpi/firefox-i18n-56.0b1/fr.xpi) = a3f4f53aae25570f6d316a60cfe735a5bb1acad6222f18ed776813fc87e6ae2f
71
SIZE (xpi/firefox-i18n-55.0/fr.xpi) = 476666
71
SIZE (xpi/firefox-i18n-56.0b1/fr.xpi) = 483323
72
SHA256 (xpi/firefox-i18n-55.0/fy-NL.xpi) = 9697130fdecbc7ac9efa4e4710b613de8f932dc2d13c935d6f6cd7aa6d25dd85
72
SHA256 (xpi/firefox-i18n-56.0b1/fy-NL.xpi) = 8700c551364f445fbda68e5e97f4926a15c4da32d0f238aee2ca5eb2b96238dc
73
SIZE (xpi/firefox-i18n-55.0/fy-NL.xpi) = 469967
73
SIZE (xpi/firefox-i18n-56.0b1/fy-NL.xpi) = 476804
74
SHA256 (xpi/firefox-i18n-55.0/ga-IE.xpi) = bc4116e1db74fa3505408a2bcd32ac4528c5378b1db218068120963dc984a6ea
74
SHA256 (xpi/firefox-i18n-56.0b1/ga-IE.xpi) = 489847a798fe28c3333c1d6d225ee0c87ac6d389ccbd2cd04b2092eb2b87ce62
75
SIZE (xpi/firefox-i18n-55.0/ga-IE.xpi) = 481439
75
SIZE (xpi/firefox-i18n-56.0b1/ga-IE.xpi) = 488128
76
SHA256 (xpi/firefox-i18n-55.0/gd.xpi) = 660b7b327fe3fdc6b4adb759086d8c9d3cf1cc7dc3d50067f94cece10861771d
76
SHA256 (xpi/firefox-i18n-56.0b1/gd.xpi) = a321811a4f5b051cc021d96516f6e2e104bccbeecf5ecc4913f62aa305cf0746
77
SIZE (xpi/firefox-i18n-55.0/gd.xpi) = 469053
77
SIZE (xpi/firefox-i18n-56.0b1/gd.xpi) = 475688
78
SHA256 (xpi/firefox-i18n-55.0/gl.xpi) = e086f3751c598394b3724afdb6d043df9dab988c4db67ead8871ce1ea7e74833
78
SHA256 (xpi/firefox-i18n-56.0b1/gl.xpi) = 2bd25e6a349b56045f5bc14247022908a92b5d7c6e42edd6c3b502569e1bbf9d
79
SIZE (xpi/firefox-i18n-55.0/gl.xpi) = 459110
79
SIZE (xpi/firefox-i18n-56.0b1/gl.xpi) = 465231
80
SHA256 (xpi/firefox-i18n-55.0/gn.xpi) = 1ebe6518168127627febf8fab8bfb14da0cf31d28af680506dc42c72283a1499
80
SHA256 (xpi/firefox-i18n-56.0b1/gn.xpi) = 5ac7af26986fbda50aeae171acf60c6d3a067f7421f765aed76087a76dbebe4f
81
SIZE (xpi/firefox-i18n-55.0/gn.xpi) = 476200
81
SIZE (xpi/firefox-i18n-56.0b1/gn.xpi) = 484550
82
SHA256 (xpi/firefox-i18n-55.0/gu-IN.xpi) = cb0d3a437140f901f11367bbd09ee8679f4c7d19c2984ef39e82411fd093617c
82
SHA256 (xpi/firefox-i18n-56.0b1/gu-IN.xpi) = 1b9c99da6217394db4117fc6af62ec380ff8bbbb2aee58ad5c85fd1bf76aee8d
83
SIZE (xpi/firefox-i18n-55.0/gu-IN.xpi) = 498981
83
SIZE (xpi/firefox-i18n-56.0b1/gu-IN.xpi) = 512486
84
SHA256 (xpi/firefox-i18n-55.0/he.xpi) = e2fb06c845cc39cf414793afdab3012b362faed05c52b7c821f70f2fbed6c84f
84
SHA256 (xpi/firefox-i18n-56.0b1/he.xpi) = ba17825233eddb38378ccc6d65f8f06c9e5d0c1a63c00cf9b14c5adaf8738edb
85
SIZE (xpi/firefox-i18n-55.0/he.xpi) = 479880
85
SIZE (xpi/firefox-i18n-56.0b1/he.xpi) = 487257
86
SHA256 (xpi/firefox-i18n-55.0/hi-IN.xpi) = bd2b6ebca05d02227168a51fe30f781a3836d707033074a76556394edb479e66
86
SHA256 (xpi/firefox-i18n-56.0b1/hi-IN.xpi) = c460aac15419564e5622f0fbec5584543fb75ceb0dc5e5edf41522e3590ec9d1
87
SIZE (xpi/firefox-i18n-55.0/hi-IN.xpi) = 530570
87
SIZE (xpi/firefox-i18n-56.0b1/hi-IN.xpi) = 535965
88
SHA256 (xpi/firefox-i18n-55.0/hr.xpi) = cdbd72e04a0432cd9177bb9b8ab92fc8d80a80ab5785746d3b9e4721fd65c298
88
SHA256 (xpi/firefox-i18n-56.0b1/hr.xpi) = bef1b02de45ff7890b33ce139c6452ea04e3d45e670950020462438f9d1566c9
89
SIZE (xpi/firefox-i18n-55.0/hr.xpi) = 467990
89
SIZE (xpi/firefox-i18n-56.0b1/hr.xpi) = 473820
90
SHA256 (xpi/firefox-i18n-55.0/hsb.xpi) = cc36ffd9f41dc787edaa9b2d80fa84cdd462bda961b02407e1a08f31ba7d9127
90
SHA256 (xpi/firefox-i18n-56.0b1/hsb.xpi) = 2835c02a078f136b55287ecb498458200684642ed7f2c766ae6ebb186aaa3cbe
91
SIZE (xpi/firefox-i18n-55.0/hsb.xpi) = 479796
91
SIZE (xpi/firefox-i18n-56.0b1/hsb.xpi) = 486353
92
SHA256 (xpi/firefox-i18n-55.0/hu.xpi) = 9e609583fa23225324b217862fd266300a0766e070a06c20812921d248fa19e1
92
SHA256 (xpi/firefox-i18n-56.0b1/hu.xpi) = d6c073f52cd2f89cdc8f0390249f13db3892555e444d3d870f1ccc56be20561a
93
SIZE (xpi/firefox-i18n-55.0/hu.xpi) = 481644
93
SIZE (xpi/firefox-i18n-56.0b1/hu.xpi) = 487561
94
SHA256 (xpi/firefox-i18n-55.0/hy-AM.xpi) = d050ef2cf16ce9dc955ec06155073315ecb73b8495e45bf278fa7f803c81ef15
94
SHA256 (xpi/firefox-i18n-56.0b1/hy-AM.xpi) = 2339c238812a85a3dbe2d1fbd181c7cd9bc74269e2bd3beb296c444e00ffbb99
95
SIZE (xpi/firefox-i18n-55.0/hy-AM.xpi) = 520877
95
SIZE (xpi/firefox-i18n-56.0b1/hy-AM.xpi) = 526461
96
SHA256 (xpi/firefox-i18n-55.0/id.xpi) = da15ba92adf6c3d745b294f1e2b264bcdfca1929c9a6320b9448e8dac2279ef3
96
SHA256 (xpi/firefox-i18n-56.0b1/id.xpi) = 67584ac2610826d818cf514ad19dc2a4dd8f12368fecec9d442c9cd608e8fd25
97
SIZE (xpi/firefox-i18n-55.0/id.xpi) = 450289
97
SIZE (xpi/firefox-i18n-56.0b1/id.xpi) = 457829
98
SHA256 (xpi/firefox-i18n-55.0/is.xpi) = 0f8efe945dd9faee7d4fd2c88ba3b9caa810e2fda7b390e0793b84b5c6575979
98
SHA256 (xpi/firefox-i18n-56.0b1/is.xpi) = 127e543846495b445b0b30f945167ac96d70d259b72ce5940ae566e261afe7ff
99
SIZE (xpi/firefox-i18n-55.0/is.xpi) = 464367
99
SIZE (xpi/firefox-i18n-56.0b1/is.xpi) = 466205
100
SHA256 (xpi/firefox-i18n-55.0/it.xpi) = 45daddf8cd24a00716877a9bac62fc76257d8abba7bde2861a16feb88778a4b8
100
SHA256 (xpi/firefox-i18n-56.0b1/it.xpi) = b23dc0a8f78e02c1240f977f92243e981ef4c42bb7679508d7a920d78b356f5f
101
SIZE (xpi/firefox-i18n-55.0/it.xpi) = 352939
101
SIZE (xpi/firefox-i18n-56.0b1/it.xpi) = 357457
102
SHA256 (xpi/firefox-i18n-55.0/ja.xpi) = 07a7a1adecbebaf193a77beec7df50ae44550c1bfea91de82b751a9bf256341f
102
SHA256 (xpi/firefox-i18n-56.0b1/ja.xpi) = 127f303ae88d3c947270514148d301c2480e56c9d42d504fc1cf05aa3495e509
103
SIZE (xpi/firefox-i18n-55.0/ja.xpi) = 519762
103
SIZE (xpi/firefox-i18n-56.0b1/ja.xpi) = 526423
104
SHA256 (xpi/firefox-i18n-55.0/ka.xpi) = a2de711f6531681ee4e9bff14fd0fe0d8d987eeb8bc9a1171da70d9708713c70
104
SHA256 (xpi/firefox-i18n-56.0b1/ka.xpi) = 9124e0792edfee04b48d0674704f667a561a5c3162f00a0a08e12f38efab1081
105
SIZE (xpi/firefox-i18n-55.0/ka.xpi) = 493534
105
SIZE (xpi/firefox-i18n-56.0b1/ka.xpi) = 507862
106
SHA256 (xpi/firefox-i18n-55.0/kab.xpi) = ca6b5c9c05ec6bfe7c209457b8f326e9554f7e6cfc0c7da942fbbf807373f4b7
106
SHA256 (xpi/firefox-i18n-56.0b1/kab.xpi) = 36487938f36d9226dd49f867b1f3828e6d179ae3cd8fea3099b36dd63da87a64
107
SIZE (xpi/firefox-i18n-55.0/kab.xpi) = 470043
107
SIZE (xpi/firefox-i18n-56.0b1/kab.xpi) = 476177
108
SHA256 (xpi/firefox-i18n-55.0/kk.xpi) = 91d5d5279c7ca52211c66b11ce16cbbe448ea1e0f77b8516bdb730dc26ede4a0
108
SHA256 (xpi/firefox-i18n-56.0b1/kk.xpi) = 46e085732ef0f3b81c688ccfd9153bf997846ad2da6d37ff4c6a4b28d96761a2
109
SIZE (xpi/firefox-i18n-55.0/kk.xpi) = 526706
109
SIZE (xpi/firefox-i18n-56.0b1/kk.xpi) = 533694
110
SHA256 (xpi/firefox-i18n-55.0/km.xpi) = 66b2d22c136861fe25b0030d937758f2b9304cebc00ea1c1204440ade26cf0d0
110
SHA256 (xpi/firefox-i18n-56.0b1/km.xpi) = 06dc4d42f14a882d12778d3e924d2078dd412e997b118345d02208a27748641e
111
SIZE (xpi/firefox-i18n-55.0/km.xpi) = 540645
111
SIZE (xpi/firefox-i18n-56.0b1/km.xpi) = 548107
112
SHA256 (xpi/firefox-i18n-55.0/kn.xpi) = 9304a1dd34f0549df39cd49e598945916a9342ca82497f8365bf69adfc845128
112
SHA256 (xpi/firefox-i18n-56.0b1/kn.xpi) = a25f35cc2d6b3cf120edde1a87155cc225cf8f377049abb4a8f29219138aed95
113
SIZE (xpi/firefox-i18n-55.0/kn.xpi) = 538857
113
SIZE (xpi/firefox-i18n-56.0b1/kn.xpi) = 544237
114
SHA256 (xpi/firefox-i18n-55.0/ko.xpi) = 10e257126a527261de33c1eb32aae8686d04074a5d158d0643f7728f51f0d761
114
SHA256 (xpi/firefox-i18n-56.0b1/ko.xpi) = 6e857e42d809e4093fbbe609c056a2693a857658b04cbadcdbc0df392198a4de
115
SIZE (xpi/firefox-i18n-55.0/ko.xpi) = 494545
115
SIZE (xpi/firefox-i18n-56.0b1/ko.xpi) = 501657
116
SHA256 (xpi/firefox-i18n-55.0/lij.xpi) = 0297bac042dcf9bbf5309b2162248a2a7f39c32ef28313aac40f8bbbf7291653
116
SHA256 (xpi/firefox-i18n-56.0b1/lij.xpi) = 712a0a2be68a5ea95059eac7c4cfd6fa570836aa1ce1fa91581d918ad3a29988
117
SIZE (xpi/firefox-i18n-55.0/lij.xpi) = 458696
117
SIZE (xpi/firefox-i18n-56.0b1/lij.xpi) = 466033
118
SHA256 (xpi/firefox-i18n-55.0/lt.xpi) = 119039f74baf681c36bebbbc1238c80b1a75cdf22a43aefdbe8973552d0173fc
118
SHA256 (xpi/firefox-i18n-56.0b1/lt.xpi) = 826b409a0f63a95bb1e178715f04f5b00804a93bd1d3a5c639c96ad96bf26071
119
SIZE (xpi/firefox-i18n-55.0/lt.xpi) = 481080
119
SIZE (xpi/firefox-i18n-56.0b1/lt.xpi) = 487111
120
SHA256 (xpi/firefox-i18n-55.0/lv.xpi) = 70c391da7f6e396a9dc0b5edae49858ea3b6bfd2d5790feb4ed1702f0f02d8d8
120
SHA256 (xpi/firefox-i18n-56.0b1/lv.xpi) = a0c9763f769f42189725f2d43e2bf10dba9e3f10bce56217a9743095e9adc44d
121
SIZE (xpi/firefox-i18n-55.0/lv.xpi) = 473735
121
SIZE (xpi/firefox-i18n-56.0b1/lv.xpi) = 480799
122
SHA256 (xpi/firefox-i18n-55.0/mai.xpi) = ab6ba18d08c4cacd10da473362c9b60037429b3fde6b65519ad975b1ce36fa40
122
SHA256 (xpi/firefox-i18n-56.0b1/mai.xpi) = 7139c3526d615b8049c250cea8e9265d3a3e5f43553b79c4062fa3d00f6a40af
123
SIZE (xpi/firefox-i18n-55.0/mai.xpi) = 517893
123
SIZE (xpi/firefox-i18n-56.0b1/mai.xpi) = 523460
124
SHA256 (xpi/firefox-i18n-55.0/mk.xpi) = 8e1bac561a9e4f8bf63e5fe5f0371869278ea8bf16a9dcd2b5d808daacf0cb3d
124
SHA256 (xpi/firefox-i18n-56.0b1/mk.xpi) = 071a2c25c3aa3dcff52aa187ff969a89022871e9cc8a1a8e92e81521922f7807
125
SIZE (xpi/firefox-i18n-55.0/mk.xpi) = 500205
125
SIZE (xpi/firefox-i18n-56.0b1/mk.xpi) = 506133
126
SHA256 (xpi/firefox-i18n-55.0/ml.xpi) = 53440574bd1e31bd11a31874c0a3dbad7bb4ebe6009cc4add6219ba9790010f9
126
SHA256 (xpi/firefox-i18n-56.0b1/ml.xpi) = dc49a4a04e31df5bb6ddf97c8e57c207ea45d8bdec7748db88a8bae3c768254d
127
SIZE (xpi/firefox-i18n-55.0/ml.xpi) = 540980
127
SIZE (xpi/firefox-i18n-56.0b1/ml.xpi) = 546308
128
SHA256 (xpi/firefox-i18n-55.0/mr.xpi) = 96556da0ac4ed3d4a328bfcfc0d1559de7857a10d6c5546efb659117e4e76f7c
128
SHA256 (xpi/firefox-i18n-56.0b1/mr.xpi) = 28c6a6e83d0de7340f8a3db9625b76bc40c40662f7869256d5068deec5cb4eda
129
SIZE (xpi/firefox-i18n-55.0/mr.xpi) = 528248
129
SIZE (xpi/firefox-i18n-56.0b1/mr.xpi) = 535225
130
SHA256 (xpi/firefox-i18n-55.0/ms.xpi) = 779321a93bd2a406fbbfa53977e3965678df5449f882cdfede8a71662943313d
130
SHA256 (xpi/firefox-i18n-56.0b1/ms.xpi) = eedac30fa348db7231249f37d65e69d4b6b917004bd4167182b453b47709acc9
131
SIZE (xpi/firefox-i18n-55.0/ms.xpi) = 459190
131
SIZE (xpi/firefox-i18n-56.0b1/ms.xpi) = 465275
132
SHA256 (xpi/firefox-i18n-55.0/my.xpi) = 610c3680b94ba69f17755e62428267d873375c1700d6cb7c2ebf1e14f85f4a44
132
SHA256 (xpi/firefox-i18n-56.0b1/my.xpi) = 3c2ba0009e2af5f16b53b19291e156d42dba42e6e60352c1d111c203f1c279f7
133
SIZE (xpi/firefox-i18n-55.0/my.xpi) = 528096
133
SIZE (xpi/firefox-i18n-56.0b1/my.xpi) = 535485
134
SHA256 (xpi/firefox-i18n-55.0/nb-NO.xpi) = 088ebff9c0be6ed01060d75a8b9bce408051093e4529ae1b7f6258311ed1e3f1
134
SHA256 (xpi/firefox-i18n-56.0b1/nb-NO.xpi) = c30f9792dad9f3dc3bc58d09ceb182ee16950c21bf7240102672fd27f00ead2c
135
SIZE (xpi/firefox-i18n-55.0/nb-NO.xpi) = 457644
135
SIZE (xpi/firefox-i18n-56.0b1/nb-NO.xpi) = 464328
136
SHA256 (xpi/firefox-i18n-55.0/nl.xpi) = d5755cd3d461dcf7003220bd93d8c8d7fa78a09d67a8ed09bb48ca372e61a0f6
136
SHA256 (xpi/firefox-i18n-56.0b1/nl.xpi) = dd801df2eca1c3d066b10a11be6f4cac923b55e1c3ebe005a88219a27c41f405
137
SIZE (xpi/firefox-i18n-55.0/nl.xpi) = 461509
137
SIZE (xpi/firefox-i18n-56.0b1/nl.xpi) = 467817
138
SHA256 (xpi/firefox-i18n-55.0/nn-NO.xpi) = 83fb7df21553416dc7e489b5968bc9824c8f971ea68194a3c7addab58db1ef9a
138
SHA256 (xpi/firefox-i18n-56.0b1/nn-NO.xpi) = 520f5d3c4d3fb14f8be937ef244e23a151b600566d721dbf2cc4952a3ada2e0c
139
SIZE (xpi/firefox-i18n-55.0/nn-NO.xpi) = 458455
139
SIZE (xpi/firefox-i18n-56.0b1/nn-NO.xpi) = 464961
140
SHA256 (xpi/firefox-i18n-55.0/or.xpi) = 4f36dfd176d808da70e67deb9029536a6ed2fa23c59129ca9cf520f22c607c8c
140
SHA256 (xpi/firefox-i18n-56.0b1/or.xpi) = 10b34d93c44f289062ea509aa98491680ecf70c80631ab1b13e3b4b15307e5f3
141
SIZE (xpi/firefox-i18n-55.0/or.xpi) = 511353
141
SIZE (xpi/firefox-i18n-56.0b1/or.xpi) = 516928
142
SHA256 (xpi/firefox-i18n-55.0/pa-IN.xpi) = b51b39635f527402cb2cb723b87b83c9939306f628835ef99a09bd75babfc737
142
SHA256 (xpi/firefox-i18n-56.0b1/pa-IN.xpi) = 527c19109c2e15f3fa21632af7c30c39390ca20379ca79589e129b26737115dd
143
SIZE (xpi/firefox-i18n-55.0/pa-IN.xpi) = 498452
143
SIZE (xpi/firefox-i18n-56.0b1/pa-IN.xpi) = 507796
144
SHA256 (xpi/firefox-i18n-55.0/pl.xpi) = 887fa9c5fc493d42ea9dfa3a7d79c16f2b24943e23473ca6031ef2a2993632e0
144
SHA256 (xpi/firefox-i18n-56.0b1/pl.xpi) = 43604f8e1b97d8da3622a973e7646630bb3603f7b0987e766962819e38f58d9b
145
SIZE (xpi/firefox-i18n-55.0/pl.xpi) = 372428
145
SIZE (xpi/firefox-i18n-56.0b1/pl.xpi) = 378149
146
SHA256 (xpi/firefox-i18n-55.0/pt-BR.xpi) = ff7e424a31a2c8488b8d35be6c8a369ccec3b7b6ec28909217d0f3275fba1a5b
146
SHA256 (xpi/firefox-i18n-56.0b1/pt-BR.xpi) = 09dfca88187e2885ba07639ec4abe0bb13f7a601f1d2e9ebf370c978b5346855
147
SIZE (xpi/firefox-i18n-55.0/pt-BR.xpi) = 462715
147
SIZE (xpi/firefox-i18n-56.0b1/pt-BR.xpi) = 469701
148
SHA256 (xpi/firefox-i18n-55.0/pt-PT.xpi) = 2b28680e0e18b5c2d6377fac95a24f307328cc1a92d83fcd934d4492def8f257
148
SHA256 (xpi/firefox-i18n-56.0b1/pt-PT.xpi) = 993091bd8ca3ef2a46aa054575a5929289d6a26b0581f663f6c0dfa91a5652c1
149
SIZE (xpi/firefox-i18n-55.0/pt-PT.xpi) = 465236
149
SIZE (xpi/firefox-i18n-56.0b1/pt-PT.xpi) = 471537
150
SHA256 (xpi/firefox-i18n-55.0/rm.xpi) = 2c856ef717e74bfce70667cd588bb722ee8e61ee6ae4f5c41c5cc32161451323
150
SHA256 (xpi/firefox-i18n-56.0b1/rm.xpi) = 7f5ba090ffb44f57e23bfc34fc8f82019a84019758d0080cc95a74c172b03ace
151
SIZE (xpi/firefox-i18n-55.0/rm.xpi) = 458263
151
SIZE (xpi/firefox-i18n-56.0b1/rm.xpi) = 466932
152
SHA256 (xpi/firefox-i18n-55.0/ro.xpi) = 74a29131e14d4168046d802227b9682c62d68531b4cafd536726baf0401e3dd0
152
SHA256 (xpi/firefox-i18n-56.0b1/ro.xpi) = be984bbdc3804036e8f78ec68d41240804c10a8849718c22e5fb3c48f68a1058
153
SIZE (xpi/firefox-i18n-55.0/ro.xpi) = 462971
153
SIZE (xpi/firefox-i18n-56.0b1/ro.xpi) = 469362
154
SHA256 (xpi/firefox-i18n-55.0/ru.xpi) = b0ebd011dd78ab946a8c06018bf74fed3e05b579f04df8a5c7d855f93282edfc
154
SHA256 (xpi/firefox-i18n-56.0b1/ru.xpi) = 79dc589f689b5809ff4411259214db6b8681dc5526ab0885c741697bb01b0eef
155
SIZE (xpi/firefox-i18n-55.0/ru.xpi) = 530900
155
SIZE (xpi/firefox-i18n-56.0b1/ru.xpi) = 540181
156
SHA256 (xpi/firefox-i18n-55.0/si.xpi) = 3691c7971d7cbec72294ca8c81258237b22add5cee54a5c7602421e46fb81baf
156
SHA256 (xpi/firefox-i18n-56.0b1/si.xpi) = 81a80d73e28a7cdfa4aad3fe1a2a5339b47de72986671164b258e48fab1a3fd3
157
SIZE (xpi/firefox-i18n-55.0/si.xpi) = 508352
157
SIZE (xpi/firefox-i18n-56.0b1/si.xpi) = 514681
158
SHA256 (xpi/firefox-i18n-55.0/sk.xpi) = 6a4dc2028c74439b36ef52bdd7348a52663fd007802ae730d014ca881d1a6d11
158
SHA256 (xpi/firefox-i18n-56.0b1/sk.xpi) = c629771b649d636da592e4de1c452f384f100ad97578085f42ff578c3aeed92d
159
SIZE (xpi/firefox-i18n-55.0/sk.xpi) = 487581
159
SIZE (xpi/firefox-i18n-56.0b1/sk.xpi) = 494327
160
SHA256 (xpi/firefox-i18n-55.0/sl.xpi) = 951fd5826419431e1ac0c6030e637bf57d043353b367472868bc0309197e2a63
160
SHA256 (xpi/firefox-i18n-56.0b1/sl.xpi) = e6dc80a580493bb4bf566d9366b378a5a05e9b6a0344c38ed2b10cee4eb7c924
161
SIZE (xpi/firefox-i18n-55.0/sl.xpi) = 465759
161
SIZE (xpi/firefox-i18n-56.0b1/sl.xpi) = 472564
162
SHA256 (xpi/firefox-i18n-55.0/son.xpi) = ba61b906f3d02913365c552a876cf30f0933e967d925f2c62bfe892d9218b829
162
SHA256 (xpi/firefox-i18n-56.0b1/son.xpi) = e34c7e0333bf7484b6eaba7868025707d3ac6d88fdabff38f5e8a6207f5e1e2a
163
SIZE (xpi/firefox-i18n-55.0/son.xpi) = 456958
163
SIZE (xpi/firefox-i18n-56.0b1/son.xpi) = 463080
164
SHA256 (xpi/firefox-i18n-55.0/sq.xpi) = 499e363cfe095148e945a768b6d6f2a9989df91b1435293dcfac9e3d1ee09866
164
SHA256 (xpi/firefox-i18n-56.0b1/sq.xpi) = afc266e4047dee27345c0a6444b4ca92ab52c22981fe221ea85771bde3728bc6
165
SIZE (xpi/firefox-i18n-55.0/sq.xpi) = 470630
165
SIZE (xpi/firefox-i18n-56.0b1/sq.xpi) = 478090
166
SHA256 (xpi/firefox-i18n-55.0/sr.xpi) = e7c70b9ff895314ddfa13a88b5cae2a94e40cfb2c972e2d861b746f878bb5454
166
SHA256 (xpi/firefox-i18n-56.0b1/sr.xpi) = bcefd7cb107a92ebb36b5ed80679adce44cff27b484ac5a5dc0a9d10fd1162ce
167
SIZE (xpi/firefox-i18n-55.0/sr.xpi) = 494876
167
SIZE (xpi/firefox-i18n-56.0b1/sr.xpi) = 503249
168
SHA256 (xpi/firefox-i18n-55.0/sv-SE.xpi) = 5d83139e9a87bc6fdbafc8c4a191cfbe0e7200dab351e2431b1394cf683a80d6
168
SHA256 (xpi/firefox-i18n-56.0b1/sv-SE.xpi) = 1b9dc86f9d0079599aac0a5442a5dfc885df4f6d32da781208d414c675566c3b
169
SIZE (xpi/firefox-i18n-55.0/sv-SE.xpi) = 466008
169
SIZE (xpi/firefox-i18n-56.0b1/sv-SE.xpi) = 472906
170
SHA256 (xpi/firefox-i18n-55.0/ta.xpi) = 05629092b140728440133c3d07c9263bdf42152bd02757d9afaf31d0128a4bee
170
SHA256 (xpi/firefox-i18n-56.0b1/ta.xpi) = 6c58721853c044a51a57da6296b434757443a731954127dc000ee93195344cd0
171
SIZE (xpi/firefox-i18n-55.0/ta.xpi) = 519995
171
SIZE (xpi/firefox-i18n-56.0b1/ta.xpi) = 529407
172
SHA256 (xpi/firefox-i18n-55.0/te.xpi) = 5115e0039746aafa84a01b867a2e05d702776574eb09ce43ed71f1ab98d3868e
172
SHA256 (xpi/firefox-i18n-56.0b1/te.xpi) = 159cbe9398fe3b4b35f8ff4cc5f59f38af708b8c3ab3014dbf51da27385f4bd7
173
SIZE (xpi/firefox-i18n-55.0/te.xpi) = 542538
173
SIZE (xpi/firefox-i18n-56.0b1/te.xpi) = 548885
174
SHA256 (xpi/firefox-i18n-55.0/th.xpi) = d4b2df41441fbfc46a94728ec16c99d2a30f1de6a7f4b33b848114d8dba0e9f7
174
SHA256 (xpi/firefox-i18n-56.0b1/th.xpi) = 3d0527bf8d4e123e99fc9dc27e3e5ef44706fa4d03e3cebb3ef29ddf327fcc44
175
SIZE (xpi/firefox-i18n-55.0/th.xpi) = 511902
175
SIZE (xpi/firefox-i18n-56.0b1/th.xpi) = 519059
176
SHA256 (xpi/firefox-i18n-55.0/tr.xpi) = 31d971310a408e20bf792dfe42cbb5cd66d148bc66d072b735ff20f4be344a0e
176
SHA256 (xpi/firefox-i18n-56.0b1/tr.xpi) = 11586e465484b5590370f22483ed1418ba1b4d5ba649543addc60a19a4830cca
177
SIZE (xpi/firefox-i18n-55.0/tr.xpi) = 472160
177
SIZE (xpi/firefox-i18n-56.0b1/tr.xpi) = 479826
178
SHA256 (xpi/firefox-i18n-55.0/uk.xpi) = 174f6c9acb71ec6ae67f60f6c25ced02fdc639d97be2347376552d6908d7d298
178
SHA256 (xpi/firefox-i18n-56.0b1/uk.xpi) = fe544ee562f63790d7e8e4b6b3191fbc78e8e0842781908ce69e8d5423315846
179
SIZE (xpi/firefox-i18n-55.0/uk.xpi) = 526435
179
SIZE (xpi/firefox-i18n-56.0b1/uk.xpi) = 534199
180
SHA256 (xpi/firefox-i18n-55.0/ur.xpi) = 6a829c48c17a3fbcf51474c6e7aac74c855ea4fb5db954bcaffc6f847bafca49
180
SHA256 (xpi/firefox-i18n-56.0b1/ur.xpi) = a25c8ed3d6cb5d9d0e42f107e01561d04f07d1976c4d3f9101578780404f245a
181
SIZE (xpi/firefox-i18n-55.0/ur.xpi) = 520745
181
SIZE (xpi/firefox-i18n-56.0b1/ur.xpi) = 526109
182
SHA256 (xpi/firefox-i18n-55.0/uz.xpi) = 67efdac191ae3e71e1d3148857ba2a88cbcc9b059fd662c75fb13162fae76197
182
SHA256 (xpi/firefox-i18n-56.0b1/uz.xpi) = 8cca61c59f1153b82bcf88bae6e308154ca923fb46e2726d4fe62eb07043637c
183
SIZE (xpi/firefox-i18n-55.0/uz.xpi) = 467670
183
SIZE (xpi/firefox-i18n-56.0b1/uz.xpi) = 473862
184
SHA256 (xpi/firefox-i18n-55.0/vi.xpi) = de824a1b4d8b3b9adccb5eb523e186b4d0e96b5ea134cd7856ac29d9ddf0255d
184
SHA256 (xpi/firefox-i18n-56.0b1/vi.xpi) = 925663ce548661100daf9a22a84a00c587769547fa7b0a157c9b2a7118eac80e
185
SIZE (xpi/firefox-i18n-55.0/vi.xpi) = 476525
185
SIZE (xpi/firefox-i18n-56.0b1/vi.xpi) = 485059
186
SHA256 (xpi/firefox-i18n-55.0/xh.xpi) = 8c06e786d7ba8c302f3be831b1c39aa770131af4f0ffb3b2f0930eba9ae0a27c
186
SHA256 (xpi/firefox-i18n-56.0b1/xh.xpi) = 7321e4b31ece1a339f3cd57f23c8fa69686974ae6b8c0b42c5ee85b7b2a60abf
187
SIZE (xpi/firefox-i18n-55.0/xh.xpi) = 470718
187
SIZE (xpi/firefox-i18n-56.0b1/xh.xpi) = 476601
188
SHA256 (xpi/firefox-i18n-55.0/zh-CN.xpi) = d7f69b51ba7ab586714221b1dce74e0896459b218067155b10bc461e9f4d5d55
188
SHA256 (xpi/firefox-i18n-56.0b1/zh-CN.xpi) = 656c406c0722978577d1db973f0abaf5b876023b160d737a4cc6a9234cd2ff2e
189
SIZE (xpi/firefox-i18n-55.0/zh-CN.xpi) = 490382
189
SIZE (xpi/firefox-i18n-56.0b1/zh-CN.xpi) = 497771
190
SHA256 (xpi/firefox-i18n-55.0/zh-TW.xpi) = bc110d30be7ad0cced842c2d50774d76d5feec842284722fa11ee9034bc2757b
190
SHA256 (xpi/firefox-i18n-56.0b1/zh-TW.xpi) = 82cce54bcddbcb07e55efa141df16618995c4eecf3e6aeb817e0af9f7f893d9b
191
SIZE (xpi/firefox-i18n-55.0/zh-TW.xpi) = 489345
191
SIZE (xpi/firefox-i18n-56.0b1/zh-TW.xpi) = 496513
(-)b/www/firefox/Makefile (-13 / +12 lines)
Lines 2-8 Link Here
2
# $FreeBSD$
2
# $FreeBSD$
3
3
4
PORTNAME=	firefox
4
PORTNAME=	firefox
5
DISTVERSION=	55.0
5
DISTVERSION=	56.0b1
6
DISTVERSIONSUFFIX=.source
6
DISTVERSIONSUFFIX=.source
7
PORTEPOCH=	1
7
PORTEPOCH=	1
8
CATEGORIES=	www ipv6
8
CATEGORIES=	www ipv6
Lines 12-31 MASTER_SITES= MOZILLA/${PORTNAME}/releases/${DISTVERSION}/source \ Link Here
12
MAINTAINER=	gecko@FreeBSD.org
12
MAINTAINER=	gecko@FreeBSD.org
13
COMMENT=	Web browser based on the browser portion of Mozilla
13
COMMENT=	Web browser based on the browser portion of Mozilla
14
14
15
BUILD_DEPENDS=	nspr>=4.15:devel/nspr \
15
BUILD_DEPENDS=	nspr>=4.16:devel/nspr \
16
		nss>=3.31:security/nss \
16
		nss>=3.32:security/nss \
17
		libevent>=2.0.22:devel/libevent \
17
		harfbuzz>=1.4.7:print/harfbuzz \
18
		harfbuzz>=1.4.6:print/harfbuzz \
19
		graphite2>=1.3.10:graphics/graphite2 \
18
		graphite2>=1.3.10:graphics/graphite2 \
20
		png>=1.6.28:graphics/png \
19
		png>=1.6.31:graphics/png \
21
		libvorbis>=1.3.5,3:audio/libvorbis \
20
		libvorbis>=1.3.5,3:audio/libvorbis \
22
		libvpx>=1.5.0:multimedia/libvpx \
21
		libvpx>=1.5.0:multimedia/libvpx \
23
		sqlite3>=3.19.2:databases/sqlite3 \
22
		sqlite3>=3.19.3:databases/sqlite3 \
24
		${PYTHON_PKGNAMEPREFIX}sqlite3>0:databases/py-sqlite3 \
23
		${PYTHON_PKGNAMEPREFIX}sqlite3>0:databases/py-sqlite3 \
25
		v4l_compat>0:multimedia/v4l_compat \
24
		v4l_compat>0:multimedia/v4l_compat \
26
		autoconf-2.13:devel/autoconf213 \
25
		autoconf-2.13:devel/autoconf213 \
27
		yasm:devel/yasm \
26
		yasm:devel/yasm \
27
		llvm40>0:devel/llvm40 \
28
		zip:archivers/zip
28
		zip:archivers/zip
29
#		libevent>=2.1.8:devel/libevent \
30
#		icu>=59.1,1:devel/icu \
29
#		soundtouch>=1.9.0:audio/soundtouch \
31
#		soundtouch>=1.9.0:audio/soundtouch \
30
32
31
LIB_DEPENDS=	libv4l2.so:multimedia/libv4l
33
LIB_DEPENDS=	libv4l2.so:multimedia/libv4l
Lines 33-39 LIB_DEPENDS= libv4l2.so:multimedia/libv4l Link Here
33
USE_GECKO=	gecko
35
USE_GECKO=	gecko
34
CONFLICTS_INSTALL=	firefox-esr-45.* firefox-esr-3[18].* firefox-esr-24.*
36
CONFLICTS_INSTALL=	firefox-esr-45.* firefox-esr-3[18].* firefox-esr-24.*
35
MOZ_PKGCONFIG_FILES=	# empty
37
MOZ_PKGCONFIG_FILES=	# empty
36
USE_MOZILLA=	-soundtouch
38
USE_MOZILLA=	-event -icu -soundtouch # XXX bug 1372546, ports/218788
37
MOZILLA_NAME=	Firefox
39
MOZILLA_NAME=	Firefox
38
40
39
USE_GL=		gl
41
USE_GL=		gl
Lines 41-56 USES= tar:xz Link Here
41
43
42
FIREFOX_ICON=		${MOZILLA}.png
44
FIREFOX_ICON=		${MOZILLA}.png
43
FIREFOX_ICON_SRC=	${PREFIX}/lib/${MOZILLA}/browser/chrome/icons/default/default48.png
45
FIREFOX_ICON_SRC=	${PREFIX}/lib/${MOZILLA}/browser/chrome/icons/default/default48.png
46
MOZ_EXPORT=	BINDGEN_CFLAGS="-isystem${LOCALBASE}/include/nspr \
47
			-isystem${LOCALBASE}/include/pixman-1" # XXX bug 1341234
44
MOZ_OPTIONS=	--enable-application=browser \
48
MOZ_OPTIONS=	--enable-application=browser \
45
		--enable-official-branding
49
		--enable-official-branding
46
50
47
OPTIONS_DEFINE=		RUST
48
OPTIONS_DEFAULT=	BUNDLED_CAIRO
51
OPTIONS_DEFAULT=	BUNDLED_CAIRO
49
OPTIONS_EXCLUDE=	GNOMEUI
52
OPTIONS_EXCLUDE=	GNOMEUI
50
# XXX lang/rust and devel/cargo currently build only on these platforms
51
OPTIONS_DEFAULT_aarch64=RUST
52
OPTIONS_DEFAULT_amd64=	RUST
53
OPTIONS_DEFAULT_i386=	RUST
54
53
55
.include "${.CURDIR}/../../www/firefox/Makefile.options"
54
.include "${.CURDIR}/../../www/firefox/Makefile.options"
56
55
(-)b/www/firefox/distinfo (-3 / +3 lines)
Lines 1-3 Link Here
1
TIMESTAMP = 1501791759
1
TIMESTAMP = 1502172478
2
SHA256 (firefox-55.0.source.tar.xz) = 0db9f315ca67c65e36b4298465af4d08c4245eedeccf04040051c2fdc9f4576f
2
SHA256 (firefox-56.0b1.source.tar.xz) = 35353aee58d087d22fa83428b9b502663fafec5e287872b5917d1d19529011d2
3
SIZE (firefox-55.0.source.tar.xz) = 235014712
3
SIZE (firefox-56.0b1.source.tar.xz) = 252869028
(-)a/www/firefox/files/patch-bug1312182 (-376 lines)
Removed Link Here
1
commit 0d02dac1638ad
2
Author: Alessio Placitelli <alessio.placitelli@gmail.com>
3
Date:   Tue May 30 10:42:42 2017 +0200
4
5
    Bug 1312182 - Consolidate the uses of MOZ_TELEMETRY_REPORTING in the code. r=flod,gfritzsche,jaws
6
    
7
    The MOZ_TELEMETRY_REPORTING define does not control whether or not Telemetry is enabled
8
    but rather if it will send the gathered data to Mozilla servers. We still want to
9
    display the about:preferences options and let developers know about this behaviour.
10
    Please note that this patch is not changing any behaviour: it's only making it explicit
11
    by showing the options as disabled rather than hiding them.
12
    
13
    MozReview-Commit-ID: 7A0y0E0hm0Q
14
    
15
    --HG--
16
    extra : rebase_source : 36d1a7f5ec5c05b43731daf9507d3068fe7674ee
17
---
18
 browser/base/content/baseMenuOverlay.xul           |  2 +-
19
 browser/components/nsBrowserGlue.js                |  8 +--
20
 .../components/preferences/in-content-new/main.xul |  2 -
21
 .../preferences/in-content-new/privacy.js          | 32 +++++------
22
 .../preferences/in-content-new/privacy.xul         | 14 ++---
23
 .../components/preferences/in-content/advanced.js  | 63 +++++++++++-----------
24
 .../components/preferences/in-content/advanced.xul |  7 ++-
25
 .../chrome/browser/preferences-old/advanced.dtd    |  5 ++
26
 .../en-US/chrome/browser/preferences/advanced.dtd  |  5 ++
27
 9 files changed, 67 insertions(+), 71 deletions(-)
28
29
diff --git browser/base/content/baseMenuOverlay.xul browser/base/content/baseMenuOverlay.xul
30
index 1befa2bb66cc..804bbdebb797 100644
31
--- browser/base/content/baseMenuOverlay.xul
32
+++ browser/base/content/baseMenuOverlay.xul
33
@@ -61,7 +61,7 @@
34
                   onclick="checkForMiddleClick(this, event);"
35
                   label="&helpKeyboardShortcuts.label;"
36
                   accesskey="&helpKeyboardShortcuts.accesskey;"/>
37
-#ifdef MOZ_TELEMETRY_REPORTING
38
+#ifdef MOZ_SERVICES_HEALTHREPORT
39
         <menuitem id="healthReport"
40
                   label="&healthReport2.label;"
41
                   accesskey="&healthReport2.accesskey;"
42
diff --git browser/components/nsBrowserGlue.js browser/components/nsBrowserGlue.js
43
index 554c279356b9..1c21bf4c4323 100644
44
--- browser/components/nsBrowserGlue.js
45
+++ browser/components/nsBrowserGlue.js
46
@@ -528,9 +528,7 @@ BrowserGlue.prototype = {
47
     os.addObserver(this, "distribution-customization-complete");
48
     os.addObserver(this, "handle-xul-text-link");
49
     os.addObserver(this, "profile-before-change");
50
-    if (AppConstants.MOZ_TELEMETRY_REPORTING) {
51
-      os.addObserver(this, "keyword-search");
52
-    }
53
+    os.addObserver(this, "keyword-search");
54
     os.addObserver(this, "browser-search-engine-modified");
55
     os.addObserver(this, "restart-in-safe-mode");
56
     os.addObserver(this, "flash-plugin-hang");
57
@@ -583,9 +581,7 @@ BrowserGlue.prototype = {
58
       os.removeObserver(this, "places-database-locked");
59
     os.removeObserver(this, "handle-xul-text-link");
60
     os.removeObserver(this, "profile-before-change");
61
-    if (AppConstants.MOZ_TELEMETRY_REPORTING) {
62
-      os.removeObserver(this, "keyword-search");
63
-    }
64
+    os.removeObserver(this, "keyword-search");
65
     os.removeObserver(this, "browser-search-engine-modified");
66
     os.removeObserver(this, "flash-plugin-hang");
67
     os.removeObserver(this, "xpi-signature-changed");
68
diff --git browser/components/preferences/in-content-new/main.xul browser/components/preferences/in-content-new/main.xul
69
index e89ee1891c91..8672557bede2 100644
70
--- browser/components/preferences/in-content-new/main.xul
71
+++ browser/components/preferences/in-content-new/main.xul
72
@@ -183,11 +183,9 @@
73
               name="layout.spellcheckDefault"
74
               type="int"/>
75
 
76
-#ifdef MOZ_TELEMETRY_REPORTING
77
   <preference id="toolkit.telemetry.enabled"
78
               name="toolkit.telemetry.enabled"
79
               type="bool"/>
80
-#endif
81
 
82
   <preference id="browser.preferences.defaultPerformanceSettings.enabled"
83
               name="browser.preferences.defaultPerformanceSettings.enabled"
84
diff --git browser/components/preferences/in-content-new/privacy.js browser/components/preferences/in-content-new/privacy.js
85
index be057bfad611..73f72391b991 100644
86
--- browser/components/preferences/in-content-new/privacy.js
87
+++ browser/components/preferences/in-content-new/privacy.js
88
@@ -321,11 +321,9 @@ var gPrivacyPane = {
89
       this.initSubmitCrashes();
90
     }
91
     this.initTelemetry();
92
-    if (AppConstants.MOZ_TELEMETRY_REPORTING) {
93
-      this.initSubmitHealthReport();
94
-      setEventListener("submitHealthReportBox", "command",
95
-                       gPrivacyPane.updateSubmitHealthReport);
96
-    }
97
+    this.initSubmitHealthReport();
98
+    setEventListener("submitHealthReportBox", "command",
99
+                     gPrivacyPane.updateSubmitHealthReport);
100
 
101
     // Append search keywords into the elements could open subdialogs.
102
     let bundlePrefs = document.getElementById("bundlePreferences");
103
@@ -1414,8 +1412,10 @@ var gPrivacyPane = {
104
    * In all cases, set up the Learn More link sanely.
105
    */
106
   initTelemetry() {
107
-    if (AppConstants.MOZ_TELEMETRY_REPORTING) {
108
-      this._setupLearnMoreLink("toolkit.telemetry.infoURL", "telemetryLearnMore");
109
+    this._setupLearnMoreLink("toolkit.telemetry.infoURL", "telemetryLearnMore");
110
+    // If we're not sending any Telemetry, disable the telemetry upload checkbox as well.
111
+    if (!AppConstants.MOZ_TELEMETRY_REPORTING) {
112
+      document.getElementById("submitTelemetryBox").setAttribute("disabled", "true");
113
     }
114
   },
115
 
116
@@ -1439,9 +1439,6 @@ var gPrivacyPane = {
117
    * @param {Boolean} aEnabled False disables the controls, true enables them.
118
    */
119
   setTelemetrySectionEnabled(aEnabled) {
120
-    if (!AppConstants.MOZ_TELEMETRY_REPORTING) {
121
-      return;
122
-    }
123
     // If FHR is disabled, additional data sharing should be disabled as well.
124
     let disabled = !aEnabled;
125
     document.getElementById("submitTelemetryBox").disabled = disabled;
126
@@ -1456,19 +1453,21 @@ var gPrivacyPane = {
127
    * Initialize the health report service reference and checkbox.
128
    */
129
   initSubmitHealthReport() {
130
-    if (!AppConstants.MOZ_TELEMETRY_REPORTING) {
131
-      return;
132
-    }
133
     this._setupLearnMoreLink("datareporting.healthreport.infoURL", "FHRLearnMore");
134
 
135
     let checkbox = document.getElementById("submitHealthReportBox");
136
 
137
-    if (Services.prefs.prefIsLocked(PREF_UPLOAD_ENABLED)) {
138
+    // Telemetry is only sending data if MOZ_TELEMETRY_REPORTING is defined.
139
+    // We still want to display the preferences panel if that's not the case, but
140
+    // we want it to be disabled and unchecked.
141
+    if (Services.prefs.prefIsLocked(PREF_UPLOAD_ENABLED) ||
142
+        !AppConstants.MOZ_TELEMETRY_REPORTING) {
143
       checkbox.setAttribute("disabled", "true");
144
       return;
145
     }
146
 
147
-    checkbox.checked = Services.prefs.getBoolPref(PREF_UPLOAD_ENABLED);
148
+    checkbox.checked = Services.prefs.getBoolPref(PREF_UPLOAD_ENABLED) &&
149
+                       AppConstants.MOZ_TELEMETRY_REPORTING;
150
     this.setTelemetrySectionEnabled(checkbox.checked);
151
   },
152
 
153
@@ -1476,9 +1475,6 @@ var gPrivacyPane = {
154
    * Update the health report preference with state from checkbox.
155
    */
156
   updateSubmitHealthReport() {
157
-    if (!AppConstants.MOZ_TELEMETRY_REPORTING) {
158
-      return;
159
-    }
160
     let checkbox = document.getElementById("submitHealthReportBox");
161
     Services.prefs.setBoolPref(PREF_UPLOAD_ENABLED, checkbox.checked);
162
     this.setTelemetrySectionEnabled(checkbox.checked);
163
diff --git browser/components/preferences/in-content-new/privacy.xul browser/components/preferences/in-content-new/privacy.xul
164
index 9d531bd8274b..8030567573f8 100644
165
--- browser/components/preferences/in-content-new/privacy.xul
166
+++ browser/components/preferences/in-content-new/privacy.xul
167
@@ -760,9 +760,14 @@
168
 </groupbox>
169
 
170
 <!-- Data Choices -->
171
-#ifdef MOZ_TELEMETRY_REPORTING
172
-<groupbox id="historyGroup" data-category="panePrivacy" data-subcategory="reports" hidden="true">
173
+#ifdef MOZ_DATA_REPORTING
174
+
175
+<groupbox id="telemetryGroup" data-category="panePrivacy" data-subcategory="reports" hidden="true">
176
 <caption><label>&reports.label;</label></caption>
177
+#ifndef MOZ_TELEMETRY_REPORTING
178
+  <description id="TelemetryDisabledDesc" control="telemetryGroup">&healthReportingDisabled.label;</description>
179
+#endif
180
+
181
   <hbox align="center">
182
     <checkbox id="submitHealthReportBox" label="&enableHealthReport.label;"
183
               accesskey="&enableHealthReport.accesskey;"/>
184
@@ -782,14 +787,9 @@
185
                  class="indent">&telemetryDesc.label;</description>
186
   </vbox>
187
 </groupbox>
188
-#endif
189
 
190
-#ifdef MOZ_DATA_REPORTING
191
 #ifdef MOZ_CRASHREPORTER
192
 <groupbox id="crashReporterGroup" data-category="panePrivacy" data-subcategory="reports" hidden="true">
193
-#ifndef MOZ_TELEMETRY_REPORTING
194
-<caption><label>&reports.label;</label></caption>
195
-#endif
196
   <hbox align="center">
197
     <checkbox id="automaticallySubmitCrashesBox"
198
               preference="browser.crashReports.unsubmittedCheck.autoSubmit"
199
diff --git browser/components/preferences/in-content/advanced.js browser/components/preferences/in-content/advanced.js
200
index a6a2abaad9cf..9c7a2e716403 100644
201
--- browser/components/preferences/in-content/advanced.js
202
+++ browser/components/preferences/in-content/advanced.js
203
@@ -46,9 +46,7 @@ var gAdvancedPane = {
204
       this.initSubmitCrashes();
205
     }
206
     this.initTelemetry();
207
-    if (AppConstants.MOZ_TELEMETRY_REPORTING) {
208
-      this.initSubmitHealthReport();
209
-    }
210
+    this.initSubmitHealthReport();
211
     this.updateOnScreenKeyboardVisibility();
212
     this.updateCacheSizeInputField();
213
     this.updateActualCacheSize();
214
@@ -78,10 +76,8 @@ var gAdvancedPane = {
215
                      gAdvancedPane.updateHardwareAcceleration);
216
     setEventListener("advancedPrefs", "select",
217
                      gAdvancedPane.tabSelectionChanged);
218
-    if (AppConstants.MOZ_TELEMETRY_REPORTING) {
219
-      setEventListener("submitHealthReportBox", "command",
220
-                       gAdvancedPane.updateSubmitHealthReport);
221
-    }
222
+    setEventListener("submitHealthReportBox", "command",
223
+                     gAdvancedPane.updateSubmitHealthReport);
224
 
225
     setEventListener("connectionSettings", "command",
226
                      gAdvancedPane.showConnections);
227
@@ -293,8 +289,10 @@ var gAdvancedPane = {
228
    * In all cases, set up the Learn More link sanely.
229
    */
230
   initTelemetry() {
231
-    if (AppConstants.MOZ_TELEMETRY_REPORTING) {
232
-      this._setupLearnMoreLink("toolkit.telemetry.infoURL", "telemetryLearnMore");
233
+    this._setupLearnMoreLink("toolkit.telemetry.infoURL", "telemetryLearnMore");
234
+    // If we're not sending any Telemetry, disable the telemetry upload checkbox as well.
235
+    if (!AppConstants.MOZ_TELEMETRY_REPORTING) {
236
+      document.getElementById("submitTelemetryBox").setAttribute("disabled", "true");
237
     }
238
   },
239
 
240
@@ -303,46 +301,45 @@ var gAdvancedPane = {
241
    * @param {Boolean} aEnabled False disables the controls, true enables them.
242
    */
243
   setTelemetrySectionEnabled(aEnabled) {
244
-    if (AppConstants.MOZ_TELEMETRY_REPORTING) {
245
-      // If FHR is disabled, additional data sharing should be disabled as well.
246
-      let disabled = !aEnabled;
247
-      document.getElementById("submitTelemetryBox").disabled = disabled;
248
-      if (disabled) {
249
-        // If we disable FHR, untick the telemetry checkbox.
250
-        Services.prefs.setBoolPref("toolkit.telemetry.enabled", false);
251
-      }
252
-      document.getElementById("telemetryDataDesc").disabled = disabled;
253
+    // If FHR is disabled, additional data sharing should be disabled as well.
254
+    let disabled = !aEnabled;
255
+    document.getElementById("submitTelemetryBox").disabled = disabled;
256
+    if (disabled) {
257
+      // If we disable FHR, untick the telemetry checkbox.
258
+      Services.prefs.setBoolPref("toolkit.telemetry.enabled", false);
259
     }
260
+    document.getElementById("telemetryDataDesc").disabled = disabled;
261
   },
262
 
263
   /**
264
    * Initialize the health report service reference and checkbox.
265
    */
266
   initSubmitHealthReport() {
267
-    if (AppConstants.MOZ_TELEMETRY_REPORTING) {
268
-      this._setupLearnMoreLink("datareporting.healthreport.infoURL", "FHRLearnMore");
269
-
270
-      let checkbox = document.getElementById("submitHealthReportBox");
271
+    this._setupLearnMoreLink("datareporting.healthreport.infoURL", "FHRLearnMore");
272
 
273
-      if (Services.prefs.prefIsLocked(PREF_UPLOAD_ENABLED)) {
274
-        checkbox.setAttribute("disabled", "true");
275
-        return;
276
-      }
277
+    let checkbox = document.getElementById("submitHealthReportBox");
278
 
279
-      checkbox.checked = Services.prefs.getBoolPref(PREF_UPLOAD_ENABLED);
280
-      this.setTelemetrySectionEnabled(checkbox.checked);
281
+    // Telemetry is only sending data if MOZ_TELEMETRY_REPORTING is defined.
282
+    // We still want to display the preferences panel if that's not the case, but
283
+    // we want it to be disabled and unchecked.
284
+    if (Services.prefs.prefIsLocked(PREF_UPLOAD_ENABLED) ||
285
+        !AppConstants.MOZ_TELEMETRY_REPORTING) {
286
+      checkbox.setAttribute("disabled", "true");
287
+      return;
288
     }
289
+
290
+    checkbox.checked = Services.prefs.getBoolPref(PREF_UPLOAD_ENABLED) &&
291
+                       AppConstants.MOZ_TELEMETRY_REPORTING;
292
+    this.setTelemetrySectionEnabled(checkbox.checked);
293
   },
294
 
295
   /**
296
    * Update the health report preference with state from checkbox.
297
    */
298
   updateSubmitHealthReport() {
299
-    if (AppConstants.MOZ_TELEMETRY_REPORTING) {
300
-      let checkbox = document.getElementById("submitHealthReportBox");
301
-      Services.prefs.setBoolPref(PREF_UPLOAD_ENABLED, checkbox.checked);
302
-      this.setTelemetrySectionEnabled(checkbox.checked);
303
-    }
304
+    let checkbox = document.getElementById("submitHealthReportBox");
305
+    Services.prefs.setBoolPref(PREF_UPLOAD_ENABLED, checkbox.checked);
306
+    this.setTelemetrySectionEnabled(checkbox.checked);
307
   },
308
 
309
   updateOnScreenKeyboardVisibility() {
310
diff --git browser/components/preferences/in-content/advanced.xul browser/components/preferences/in-content/advanced.xul
311
index f2330223fb18..1b2c62168a59 100644
312
--- browser/components/preferences/in-content/advanced.xul
313
+++ browser/components/preferences/in-content/advanced.xul
314
@@ -37,12 +37,9 @@
315
   <preference id="layout.spellcheckDefault"
316
               name="layout.spellcheckDefault"
317
               type="int"/>
318
-
319
-#ifdef MOZ_TELEMETRY_REPORTING
320
   <preference id="toolkit.telemetry.enabled"
321
               name="toolkit.telemetry.enabled"
322
               type="bool"/>
323
-#endif
324
 
325
   <!-- Data Choices tab -->
326
 #ifdef MOZ_CRASHREPORTER
327
@@ -189,6 +186,9 @@
328
     <!-- Data Choices -->
329
     <tabpanel id="dataChoicesPanel" orient="vertical">
330
 #ifdef MOZ_TELEMETRY_REPORTING
331
+      <description>&healthReportingDisabled.label;</description>
332
+      <separator class="thin"/>
333
+#endif
334
       <groupbox>
335
         <caption>
336
           <checkbox id="submitHealthReportBox" label="&enableHealthReport.label;"
337
@@ -216,7 +216,6 @@
338
           </hbox>
339
         </vbox>
340
       </groupbox>
341
-#endif
342
 #ifdef MOZ_CRASHREPORTER
343
       <groupbox>
344
         <caption>
345
diff --git browser/locales/en-US/chrome/browser/preferences-old/advanced.dtd browser/locales/en-US/chrome/browser/preferences-old/advanced.dtd
346
index 215b800d3385..bf23c4fd251f 100644
347
--- browser/locales/en-US/chrome/browser/preferences-old/advanced.dtd
348
+++ browser/locales/en-US/chrome/browser/preferences-old/advanced.dtd
349
@@ -28,6 +28,11 @@
350
 
351
 <!ENTITY dataChoicesTab.label            "Data Choices">
352
 
353
+<!-- LOCALIZATION NOTE (healthReportingDisabled.label): This message is displayed above
354
+disabled data sharing options in developer builds or builds with no Telemetry support
355
+available. -->
356
+<!ENTITY healthReportingDisabled.label   "Data reporting is disabled for this build configuration">
357
+
358
 <!ENTITY healthReportDesc.label          "Helps you understand your browser performance and shares data with &vendorShortName; about your browser health">
359
 <!ENTITY enableHealthReport.label        "Enable &brandShortName; Health Report">
360
 <!ENTITY enableHealthReport.accesskey    "R">
361
diff --git browser/locales/en-US/chrome/browser/preferences/advanced.dtd browser/locales/en-US/chrome/browser/preferences/advanced.dtd
362
index 58a6b38630cf..6c478e48244a 100644
363
--- browser/locales/en-US/chrome/browser/preferences/advanced.dtd
364
+++ browser/locales/en-US/chrome/browser/preferences/advanced.dtd
365
@@ -28,6 +28,11 @@
366
 
367
 <!ENTITY dataChoicesTab.label            "Data Choices">
368
 
369
+<!-- LOCALIZATION NOTE (healthReportingDisabled.label): This message is displayed above
370
+disabled data sharing options in developer builds or builds with no Telemetry support
371
+available. -->
372
+<!ENTITY healthReportingDisabled.label   "Data reporting is disabled for this build configuration">
373
+
374
 <!ENTITY healthReportDesc.label          "Helps you understand your browser performance and shares data with &vendorShortName; about your browser health">
375
 <!ENTITY enableHealthReport.label        "Enable &brandShortName; Health Report">
376
 <!ENTITY enableHealthReport.accesskey    "R">
(-)b/www/firefox/files/patch-bug1384655 (+72 lines)
Added Link Here
1
commit 023f1a00c766
2
Author: Paul Adenot <paul@paul.cx>
3
Date:   Tue Aug 8 10:00:37 2017 +0200
4
5
    Bug 1384655 - Remove obsolete latency measuring macros in downstream code we don't use anymore. r=jesup
6
    
7
    MozReview-Commit-ID: ARAWGe7yFM4
8
---
9
 .../modules/audio_device/linux/audio_device_alsa_linux.cc      | 10 ----------
10
 .../webrtc/modules/audio_device/sndio/audio_device_sndio.cc    |  6 ------
11
 2 files changed, 16 deletions(-)
12
13
diff --git build/gyp.mozbuild build/gyp.mozbuild
14
index 765540f30834..4e1c10df74ac 100644
15
--- build/gyp.mozbuild
16
+++ build/gyp.mozbuild
17
@@ -20,7 +20,7 @@ gyp_vars.update({
18
     'use_official_google_api_keys': 0,
19
     'have_clock_monotonic': 1 if CONFIG['HAVE_CLOCK_MONOTONIC'] else 0,
20
     'have_ethtool_cmd_speed_hi': 1 if CONFIG['MOZ_WEBRTC_HAVE_ETHTOOL_SPEED_HI'] else 0,
21
-    'include_alsa_audio': 0,
22
+    'include_alsa_audio': 1 if CONFIG['MOZ_ALSA'] else 0,
23
     'include_pulse_audio': 1 if CONFIG['MOZ_PULSEAUDIO'] else 0,
24
     'include_sndio_audio': 1 if CONFIG['MOZ_SNDIO'] else 0,
25
     'use_libv4l2': 1 if CONFIG['MOZ_LIBV4L2'] else 0,
26
diff --git media/webrtc/trunk/webrtc/modules/audio_device/linux/audio_device_alsa_linux.cc media/webrtc/trunk/webrtc/modules/audio_device/linux/audio_device_alsa_linux.cc
27
index c9a77d39b789..8926911abff4 100644
28
--- media/webrtc/trunk/webrtc/modules/audio_device/linux/audio_device_alsa_linux.cc
29
+++ media/webrtc/trunk/webrtc/modules/audio_device/linux/audio_device_alsa_linux.cc
30
@@ -17,14 +17,6 @@
31
 #include "webrtc/system_wrappers/include/event_wrapper.h"
32
 #include "webrtc/system_wrappers/include/sleep.h"
33
 #include "webrtc/system_wrappers/include/trace.h"
34
- 
35
-#include "Latency.h"
36
-
37
-#define LOG_FIRST_CAPTURE(x) LogTime(AsyncLatencyLogger::AudioCaptureBase, \
38
-                                     reinterpret_cast<uint64_t>(x), 0)
39
-#define LOG_CAPTURE_FRAMES(x, frames) LogLatency(AsyncLatencyLogger::AudioCapture, \
40
-                                                 reinterpret_cast<uint64_t>(x), frames)
41
-
42
 
43
 webrtc_adm_linux_alsa::AlsaSymbolTable AlsaSymbolTable;
44
 
45
@@ -2143,10 +2135,8 @@ bool AudioDeviceLinuxALSA::RecThreadProcess()
46
             _recordingFramesLeft = _recordingFramesIn10MS;
47
 
48
             if (_firstRecord) {
49
-              LOG_FIRST_CAPTURE(this);
50
               _firstRecord = false;
51
             }
52
-            LOG_CAPTURE_FRAMES(this, _recordingFramesIn10MS);
53
             // store the recorded buffer (no action will be taken if the
54
             // #recorded samples is not a full buffer)
55
             _ptrAudioBuffer->SetRecordedBuffer(_recordingBuffer,
56
diff --git media/webrtc/trunk/webrtc/modules/audio_device/sndio/audio_device_sndio.cc media/webrtc/trunk/webrtc/modules/audio_device/sndio/audio_device_sndio.cc
57
index 68bc72ec8680..0ec39f21c8c1 100644
58
--- media/webrtc/trunk/webrtc/modules/audio_device/sndio/audio_device_sndio.cc
59
+++ media/webrtc/trunk/webrtc/modules/audio_device/sndio/audio_device_sndio.cc
60
@@ -18,12 +18,6 @@
61
 #include "webrtc/system_wrappers/include/sleep.h"
62
 #include "webrtc/system_wrappers/include/trace.h"
63
 
64
-#include "Latency.h"
65
-
66
-#define LOG_FIRST_CAPTURE(x) LogTime(AsyncLatencyLogger::AudioCaptureBase, \
67
-                                     reinterpret_cast<uint64_t>(x), 0)
68
-#define LOG_CAPTURE_FRAMES(x, frames) LogLatency(AsyncLatencyLogger::AudioCapture, \
69
-                                                 reinterpret_cast<uint64_t>(x), frames)
70
 extern "C"
71
 {
72
     static void playOnmove(void *arg, int delta)
(-)a/www/firefox/files/patch-bug1385597 (-24 lines)
Removed Link Here
1
Properly restore system timezone on other POSIX systems. r?ehsan
2
    
3
--- toolkit/components/resistfingerprinting/nsRFPService.cpp
4
+++ toolkit/components/resistfingerprinting/nsRFPService.cpp
5
@@ -162,14 +162,14 @@ nsRFPService::UpdatePref()
6
         PR_SetEnv(tz);
7
       }
8
     } else {
9
-#if defined(XP_LINUX) || defined (XP_MACOSX)
10
-      // For POSIX like system, we reset the TZ to the /etc/localtime, which is the
11
-      // system timezone.
12
-      PR_SetEnv("TZ=:/etc/localtime");
13
-#else
14
+#if defined(XP_WIN)
15
       // For Windows, we reset the TZ to an empty string. This will make Windows to use
16
       // its system timezone.
17
       PR_SetEnv("TZ=");
18
+#else
19
+      // For POSIX like system, we reset the TZ to the /etc/localtime, which is the
20
+      // system timezone.
21
+      PR_SetEnv("TZ=:/etc/localtime");
22
 #endif
23
     }
24
   }
(-)b/www/firefox/files/patch-bug826985 (-8 / +8 lines)
Lines 107-116 index 12df1b3..e9863ba 100644 Link Here
107
 
107
 
108
 #include <new>
108
 #include <new>
109
 
109
 
110
@@ -26,6 +31,15 @@
110
@@ -32,6 +35,15 @@
111
 #include "critical_section_wrapper.h"
111
 #include "webrtc/modules/video_capture/linux/video_capture_linux.h"
112
 #include "video_capture_linux.h"
112
 #include "webrtc/system_wrappers/include/critical_section_wrapper.h"
113
 
113
 #include "webrtc/system_wrappers/include/trace.h"
114
+
114
+#ifdef HAVE_LIBV4L2
115
+#ifdef HAVE_LIBV4L2
115
+#define open	v4l2_open
116
+#define open	v4l2_open
116
+#define close	v4l2_close
117
+#define close	v4l2_close
Lines 119-128 index 12df1b3..e9863ba 100644 Link Here
119
+#define mmap	v4l2_mmap
120
+#define mmap	v4l2_mmap
120
+#define munmap	v4l2_munmap
121
+#define munmap	v4l2_munmap
121
+#endif
122
+#endif
122
+
123
 
123
 namespace webrtc
124
 namespace webrtc {
124
 {
125
 namespace videocapturemodule {
125
 namespace videocapturemodule
126
diff --git media/webrtc/trunk/webrtc/modules/video_capture/video_capture.gypi media/webrtc/trunk/webrtc/modules/video_capture/video_capture.gypi
126
diff --git media/webrtc/trunk/webrtc/modules/video_capture/video_capture.gypi media/webrtc/trunk/webrtc/modules/video_capture/video_capture.gypi
127
index d46b5aa..e452223 100644
127
index d46b5aa..e452223 100644
128
--- media/webrtc/trunk/webrtc/modules/video_capture/video_capture.gypi
128
--- media/webrtc/trunk/webrtc/modules/video_capture/video_capture.gypi
(-)b/www/firefox/files/patch-bug847568 (-1 / +1 lines)
Lines 261-267 index 9297e4d6f501..d8e273887e4b 100644 Link Here
261
+option('--with-system-harfbuzz',
261
+option('--with-system-harfbuzz',
262
+       help="Use system harfbuzz (located with pkgconfig)")
262
+       help="Use system harfbuzz (located with pkgconfig)")
263
+
263
+
264
+system_harfbuzz = pkg_check_modules('MOZ_HARFBUZZ', 'harfbuzz >= 1.4.6',
264
+system_harfbuzz = pkg_check_modules('MOZ_HARFBUZZ', 'harfbuzz >= 1.4.7',
265
+                                    when='--with-system-harfbuzz')
265
+                                    when='--with-system-harfbuzz')
266
+
266
+
267
+set_config('MOZ_SYSTEM_HARFBUZZ', depends_if(system_harfbuzz)(lambda _: True))
267
+set_config('MOZ_SYSTEM_HARFBUZZ', depends_if(system_harfbuzz)(lambda _: True))
(-)a/www/firefox/files/patch-rust-option (-816 lines)
Removed Link Here
1
Revert bug 1284816, bug 1341967, bug 1336153 to postpone bustage on non-x86 archs.
2
3
diff --git browser/confvars.sh browser/confvars.sh
4
index d8dcd99c2757..740d9d3e5fcf 100755
5
--- browser/confvars.sh
6
+++ browser/confvars.sh
7
@@ -30,6 +30,7 @@ if test "$OS_ARCH" = "WINNT"; then
8
   fi
9
 fi
10
 
11
+MOZ_RUST_MP4PARSE=1
12
 if test "$NIGHTLY_BUILD"; then
13
   MOZ_RUST_URLPARSE=1
14
 fi
15
diff --git build/moz.configure/rust.configure build/moz.configure/rust.configure
16
index 267d989f1597..f709820e60ae 100644
17
--- build/moz.configure/rust.configure
18
+++ build/moz.configure/rust.configure
19
@@ -4,10 +4,20 @@
20
 # License, v. 2.0. If a copy of the MPL was not distributed with this
21
 # file, You can obtain one at http://mozilla.org/MPL/2.0/.
22
 
23
-# Rust is required by `rust_compiler` below. We allow_missing here
24
-# to propagate failures to the better error message there.
25
-rustc = check_prog('RUSTC', ['rustc'], allow_missing=True)
26
-cargo = check_prog('CARGO', ['cargo'], allow_missing=True)
27
+option('--disable-rust', help='Don\'t include Rust language sources')
28
+
29
+@depends('--enable-rust')
30
+def rust_compiler_names(value):
31
+    if value:
32
+        return ['rustc']
33
+
34
+@depends('--enable-rust')
35
+def cargo_binary_names(value):
36
+    if value:
37
+        return ['cargo']
38
+
39
+rustc = check_prog('RUSTC', rust_compiler_names, allow_missing=True)
40
+cargo = check_prog('CARGO', cargo_binary_names, allow_missing=True)
41
 
42
 @depends_if(rustc)
43
 @checking('rustc version', lambda info: info.version)
44
@@ -43,9 +53,12 @@ def cargo_info(cargo):
45
         version=Version(version),
46
     )
47
 
48
-@depends(rustc_info, cargo_info)
49
+@depends('--enable-rust', rustc_info, cargo_info)
50
 @imports(_from='textwrap', _import='dedent')
51
-def rust_compiler(rustc_info, cargo_info):
52
+def rust_compiler(value, rustc_info, cargo_info):
53
+    if not value:
54
+        return None
55
+
56
     if not rustc_info:
57
         die(dedent('''\
58
         Rust compiler not found.
59
@@ -97,6 +110,9 @@ def rust_compiler(rustc_info, cargo_info):
60
 
61
     return True
62
 
63
+set_define('MOZ_RUST', rust_compiler)
64
+set_config('MOZ_RUST', rust_compiler)
65
+
66
 @template
67
 def rust_triple_alias(host_or_target):
68
     """Template defining the alias used for rustc's --target flag.
69
@@ -227,7 +243,8 @@ set_config('RUST_HOST_TARGET', rust_host_triple)
70
 
71
 @depends(rust_target_triple)
72
 def rust_target_env_name(triple):
73
-    return triple.upper().replace('-','_')
74
+    if triple:
75
+        return triple.upper().replace('-','_')
76
 
77
 # We need this to form various Cargo environment variables, as there is no
78
 # uppercase function in make, and we don't want to shell out just for
79
@@ -235,5 +252,6 @@ def rust_target_env_name(triple):
80
 set_config('RUST_TARGET_ENV_NAME', rust_target_env_name)
81
 
82
 # Until we remove all the other Rust checks in old-configure.
83
+add_old_configure_assignment('MOZ_RUST', rust_compiler)
84
 add_old_configure_assignment('RUSTC', rustc)
85
 add_old_configure_assignment('RUST_TARGET', rust_target_triple)
86
diff --git config/rules.mk config/rules.mk
87
index 94cc5556e3d0..7b143ebc5146 100644
88
--- config/rules.mk
89
+++ config/rules.mk
90
@@ -900,6 +900,7 @@ endif
91
 
92
 $(foreach file,$(DUMP_SYMS_TARGETS),$(eval $(call syms_template,$(file),$(file)_syms.track)))
93
 
94
+ifdef MOZ_RUST
95
 cargo_host_flag := --target=$(RUST_HOST_TARGET)
96
 cargo_target_flag := --target=$(RUST_TARGET)
97
 
98
@@ -1055,6 +1056,7 @@ force-cargo-host-program-build:
99
 
100
 $(HOST_RUST_PROGRAMS): force-cargo-host-program-build
101
 endif # HOST_RUST_PROGRAMS
102
+endif # MOZ_RUST
103
 
104
 $(SOBJS):
105
 	$(REPORT_BUILD)
106
diff --git dom/media/MediaPrefs.h dom/media/MediaPrefs.h
107
index 4dcc659222a4..559334d89fd1 100644
108
--- dom/media/MediaPrefs.h
109
+++ dom/media/MediaPrefs.h
110
@@ -183,7 +183,7 @@ private:
111
   DECL_MEDIA_PREF("media.ogg.flac.enabled",                   FlacInOgg, bool, false);
112
   DECL_MEDIA_PREF("media.flac.enabled",                       FlacEnabled, bool, true);
113
 
114
-#if !defined(RELEASE_OR_BETA)
115
+#if defined(MOZ_RUST_MP4PARSE) && !defined(RELEASE_OR_BETA)
116
   DECL_MEDIA_PREF("media.rust.test_mode",                     RustTestMode, bool, false);
117
 #endif
118
 
119
diff --git dom/media/gtest/moz.build dom/media/gtest/moz.build
120
index c66ac4a9437f..e2203c0a4321 100644
121
--- dom/media/gtest/moz.build
122
+++ dom/media/gtest/moz.build
123
@@ -22,7 +22,6 @@ UNIFIED_SOURCES += [
124
     'TestMozPromise.cpp',
125
     'TestMP3Demuxer.cpp',
126
     'TestMP4Demuxer.cpp',
127
-    'TestRust.cpp',
128
     'TestTrackEncoder.cpp',
129
     'TestVideoSegment.cpp',
130
     'TestVideoUtils.cpp',
131
@@ -36,6 +35,9 @@ if CONFIG['MOZ_WEBM_ENCODER']:
132
         'TestWebMWriter.cpp',
133
     ]
134
 
135
+if CONFIG['MOZ_RUST']:
136
+    UNIFIED_SOURCES += ['TestRust.cpp',]
137
+
138
 TEST_HARNESS_FILES.gtest += [
139
     '../test/gizmo-frag.mp4',
140
     '../test/gizmo.mp4',
141
diff --git media/libcubeb/src/moz.build media/libcubeb/src/moz.build
142
index c65b53b80f63..8953f646e831 100644
143
--- media/libcubeb/src/moz.build
144
+++ media/libcubeb/src/moz.build
145
@@ -32,7 +32,8 @@ if CONFIG['MOZ_PULSEAUDIO']:
146
         'cubeb_pulse.c',
147
     ]
148
     DEFINES['USE_PULSE'] = True
149
-    DEFINES['USE_PULSE_RUST'] = True
150
+    if CONFIG['MOZ_RUST']:
151
+        DEFINES['USE_PULSE_RUST'] = True
152
 
153
 if CONFIG['MOZ_JACK']:
154
     SOURCES += [
155
diff --git media/libstagefright/binding/DecoderData.cpp media/libstagefright/binding/DecoderData.cpp
156
index 109ea329d154..a06e533b1e62 100644
157
--- media/libstagefright/binding/DecoderData.cpp
158
+++ media/libstagefright/binding/DecoderData.cpp
159
@@ -13,9 +13,11 @@
160
 #include "mozilla/ArrayUtils.h"
161
 #include "include/ESDS.h"
162
 
163
+#ifdef MOZ_RUST_MP4PARSE
164
 // OpusDecoder header is really needed only by MP4 in rust
165
 #include "OpusDecoder.h"
166
 #include "mp4parse.h"
167
+#endif // MOZ_RUST_MP4PARSE
168
 
169
 using namespace stagefright;
170
 using mozilla::media::TimeUnit;
171
@@ -177,6 +179,7 @@ MP4VideoInfo::Update(const MetaData* aMetaData, const char* aMimeType)
172
   FindData(aMetaData, kKeyAVCC, mExtraData);
173
 }
174
 
175
+#ifdef MOZ_RUST_MP4PARSE
176
 static void
177
 UpdateTrackProtectedInfo(mozilla::TrackInfo& aConfig,
178
                          const mp4parse_sinf_info& aSinf)
179
@@ -263,6 +266,7 @@ MP4VideoInfo::Update(const mp4parse_track_info* track,
180
     mExtraData->AppendElements(video->extra_data.data, video->extra_data.length);
181
   }
182
 }
183
+#endif // MOZ_RUST_MP4PARSE
184
 
185
 bool
186
 MP4VideoInfo::IsValid() const
187
diff --git media/libstagefright/binding/MP4Metadata.cpp media/libstagefright/binding/MP4Metadata.cpp
188
index 5c3810d99a38..5d14dfd8b8a9 100644
189
--- media/libstagefright/binding/MP4Metadata.cpp
190
+++ media/libstagefright/binding/MP4Metadata.cpp
191
@@ -20,14 +20,18 @@
192
 #include "mp4_demuxer/MP4Metadata.h"
193
 #include "mp4_demuxer/Stream.h"
194
 #include "MediaPrefs.h"
195
+#ifdef MOZ_RUST_MP4PARSE
196
 #include "mp4parse.h"
197
+#endif // MOZ_RUST_MP4PARSE
198
 
199
 #include <limits>
200
 #include <stdint.h>
201
 #include <vector>
202
 
203
 
204
+#ifdef MOZ_RUST_MP4PARSE
205
 struct FreeMP4Parser { void operator()(mp4parse_parser* aPtr) { mp4parse_free(aPtr); } };
206
+#endif // MOZ_RUST_MP4PARSE
207
 
208
 using namespace stagefright;
209
 using mozilla::media::TimeUnit;
210
@@ -105,6 +109,7 @@ private:
211
   bool mCanSeek;
212
 };
213
 
214
+#ifdef MOZ_RUST_MP4PARSE
215
 // Wrap an mp4_demuxer::Stream to remember the read offset.
216
 
217
 class RustStreamAdaptor {
218
@@ -151,6 +156,7 @@ private:
219
   RustStreamAdaptor mRustSource;
220
   mozilla::UniquePtr<mp4parse_parser, FreeMP4Parser> mRustParser;
221
 };
222
+#endif // MOZ_RUST_MP4PARSE
223
 
224
 class IndiceWrapperStagefright : public IndiceWrapper {
225
 public:
226
@@ -187,6 +193,7 @@ IndiceWrapperStagefright::GetIndice(size_t aIndex, Index::Indice& aIndice) const
227
   return true;
228
 }
229
 
230
+#ifdef MOZ_RUST_MP4PARSE
231
 // the owner of mIndice is rust mp4 paser, so lifetime of this class
232
 // SHOULD NOT longer than rust parser.
233
 class IndiceWrapperRust : public IndiceWrapper
234
@@ -232,9 +239,11 @@ IndiceWrapperRust::GetIndice(size_t aIndex, Index::Indice& aIndice) const
235
   aIndice.sync = indice->sync;
236
   return true;
237
 }
238
+#endif // MOZ_RUST_MP4PARSE
239
 
240
 MP4Metadata::MP4Metadata(Stream* aSource)
241
  : mStagefright(MakeUnique<MP4MetadataStagefright>(aSource))
242
+#ifdef MOZ_RUST_MP4PARSE
243
  , mRust(MakeUnique<MP4MetadataRust>(aSource))
244
  , mPreferRust(MediaPrefs::EnableRustMP4Parser())
245
  , mReportedAudioTrackTelemetry(false)
246
@@ -242,6 +251,7 @@ MP4Metadata::MP4Metadata(Stream* aSource)
247
 #ifndef RELEASE_OR_BETA
248
  , mRustTestMode(MediaPrefs::RustTestMode())
249
 #endif
250
+#endif // MOZ_RUST_MP4PARSE
251
 {
252
 }
253
 
254
@@ -274,8 +284,11 @@ MP4Metadata::GetNumberTracks(mozilla::TrackInfo::TrackType aType) const
255
   MP4Metadata::ResultAndTrackCount numTracks =
256
     mStagefright->GetNumberTracks(aType);
257
 
258
+#ifdef MOZ_RUST_MP4PARSE
259
   if (!mRust) {
260
+#endif // MOZ_RUST_MP4PARSE
261
     return numTracks;
262
+#ifdef MOZ_RUST_MP4PARSE
263
   }
264
 
265
   MP4Metadata::ResultAndTrackCount numTracksRust =
266
@@ -350,8 +363,10 @@ MP4Metadata::GetNumberTracks(mozilla::TrackInfo::TrackType aType) const
267
   // Same non-error numbers, just return any.
268
   // (Choosing Rust here, in case it carries a warning, we'd want to know that.)
269
   return numTracksRust;
270
+#endif // MOZ_RUST_MP4PARSE
271
 }
272
 
273
+#ifdef MOZ_RUST_MP4PARSE
274
 bool MP4Metadata::ShouldPreferRust() const {
275
   if (!mRust) {
276
     return false;
277
@@ -389,6 +404,7 @@ bool MP4Metadata::ShouldPreferRust() const {
278
   // Otherwise, fall back.
279
   return false;
280
 }
281
+#endif // MOZ_RUST_MP4PARSE
282
 
283
 static const char*
284
 GetDifferentField(const mozilla::TrackInfo& info,
285
@@ -443,6 +459,7 @@ MP4Metadata::GetTrackInfo(mozilla::TrackInfo::TrackType aType,
286
   MP4Metadata::ResultAndTrackInfo info =
287
     mStagefright->GetTrackInfo(aType, aTrackNumber);
288
 
289
+#ifdef MOZ_RUST_MP4PARSE
290
   if (!mRust) {
291
     return info;
292
   }
293
@@ -514,6 +531,7 @@ MP4Metadata::GetTrackInfo(mozilla::TrackInfo::TrackType aType,
294
   if (mPreferRust) {
295
     return infoRust;
296
   }
297
+#endif // MOZ_RUST_MP4PARSE
298
 
299
   return info;
300
 }
301
@@ -528,6 +546,7 @@ MP4Metadata::ResultAndCryptoFile
302
 MP4Metadata::Crypto() const
303
 {
304
   MP4Metadata::ResultAndCryptoFile crypto = mStagefright->Crypto();
305
+#ifdef MOZ_RUST_MP4PARSE
306
   MP4Metadata::ResultAndCryptoFile rustCrypto = mRust->Crypto();
307
 
308
 #ifndef RELEASE_OR_BETA
309
@@ -548,6 +567,7 @@ MP4Metadata::Crypto() const
310
   if (mPreferRust) {
311
     return rustCrypto;
312
   }
313
+#endif // MOZ_RUST_MP4PARSE
314
 
315
   return crypto;
316
 }
317
@@ -556,17 +576,22 @@ MP4Metadata::ResultAndIndice
318
 MP4Metadata::GetTrackIndice(mozilla::TrackID aTrackID)
319
 {
320
   FallibleTArray<Index::Indice> indiceSF;
321
+#ifdef MOZ_RUST_MP4PARSE
322
   if (!mPreferRust
323
 #ifndef RELEASE_OR_BETA
324
       || mRustTestMode
325
 #endif
326
      ) {
327
+#endif // MOZ_RUST_MP4PARSE
328
     MediaResult rv = mStagefright->ReadTrackIndex(indiceSF, aTrackID);
329
     if (NS_FAILED(rv)) {
330
       return {Move(rv), nullptr};
331
     }
332
+#ifdef MOZ_RUST_MP4PARSE
333
   }
334
+#endif // MOZ_RUST_MP4PARSE
335
 
336
+#ifdef MOZ_RUST_MP4PARSE
337
   mp4parse_byte_data indiceRust = {};
338
   if (mPreferRust
339
 #ifndef RELEASE_OR_BETA
340
@@ -592,13 +617,18 @@ MP4Metadata::GetTrackIndice(mozilla::TrackID aTrackID)
341
     }
342
   }
343
 #endif
344
+#endif // MOZ_RUST_MP4PARSE
345
 
346
   UniquePtr<IndiceWrapper> indice;
347
+#ifdef MOZ_RUST_MP4PARSE
348
   if (mPreferRust) {
349
     indice = mozilla::MakeUnique<IndiceWrapperRust>(indiceRust);
350
   } else {
351
+#endif // MOZ_RUST_MP4PARSE
352
     indice = mozilla::MakeUnique<IndiceWrapperStagefright>(indiceSF);
353
+#ifdef MOZ_RUST_MP4PARSE
354
   }
355
+#endif // MOZ_RUST_MP4PARSE
356
 
357
   return {NS_OK, Move(indice)};
358
 }
359
@@ -856,6 +886,7 @@ MP4MetadataStagefright::Metadata(Stream* aSource)
360
   return {NS_OK, Move(buffer)};
361
 }
362
 
363
+#ifdef MOZ_RUST_MP4PARSE
364
 bool
365
 RustStreamAdaptor::Read(uint8_t* buffer, uintptr_t size, size_t* bytes_read)
366
 {
367
@@ -1152,5 +1183,6 @@ MP4MetadataRust::Metadata(Stream* aSource)
368
   MOZ_ASSERT(false, "Not yet implemented");
369
   return {NS_ERROR_NOT_IMPLEMENTED, nullptr};
370
 }
371
+#endif // MOZ_RUST_MP4PARSE
372
 
373
 } // namespace mp4_demuxer
374
diff --git media/libstagefright/binding/include/mp4_demuxer/DecoderData.h media/libstagefright/binding/include/mp4_demuxer/DecoderData.h
375
index 3cd4b7c142f4..dc25ddf03b10 100644
376
--- media/libstagefright/binding/include/mp4_demuxer/DecoderData.h
377
+++ media/libstagefright/binding/include/mp4_demuxer/DecoderData.h
378
@@ -19,11 +19,13 @@ namespace stagefright
379
 class MetaData;
380
 }
381
 
382
+#ifdef MOZ_RUST_MP4PARSE
383
 extern "C" {
384
 typedef struct mp4parse_track_info mp4parse_track_info;
385
 typedef struct mp4parse_track_audio_info mp4parse_track_audio_info;
386
 typedef struct mp4parse_track_video_info mp4parse_track_video_info;
387
 }
388
+#endif // MOZ_RUST_MP4PARSE
389
 
390
 namespace mp4_demuxer
391
 {
392
@@ -71,8 +73,10 @@ public:
393
   void Update(const stagefright::MetaData* aMetaData,
394
               const char* aMimeType);
395
 
396
+#ifdef MOZ_RUST_MP4PARSE
397
   void Update(const mp4parse_track_info* track,
398
               const mp4parse_track_audio_info* audio);
399
+#endif // MOZ_RUST_MP4PARSE
400
 
401
   virtual bool IsValid() const override;
402
 };
403
@@ -85,8 +89,10 @@ public:
404
   void Update(const stagefright::MetaData* aMetaData,
405
               const char* aMimeType);
406
 
407
+#ifdef MOZ_RUST_MP4PARSE
408
   void Update(const mp4parse_track_info* track,
409
               const mp4parse_track_video_info* video);
410
+#endif // MOZ_RUST_MP4PARSE
411
 
412
   virtual bool IsValid() const override;
413
 };
414
diff --git media/libstagefright/binding/include/mp4_demuxer/MP4Metadata.h media/libstagefright/binding/include/mp4_demuxer/MP4Metadata.h
415
index 492c9c1c1bc3..e16dbbd1155e 100644
416
--- media/libstagefright/binding/include/mp4_demuxer/MP4Metadata.h
417
+++ media/libstagefright/binding/include/mp4_demuxer/MP4Metadata.h
418
@@ -13,7 +13,9 @@
419
 #include "MediaInfo.h"
420
 #include "MediaResult.h"
421
 #include "Stream.h"
422
+#ifdef MOZ_RUST_MP4PARSE
423
 #include "mp4parse.h"
424
+#endif // MOZ_RUST_MP4PARSE
425
 
426
 namespace mp4_demuxer {
427
 
428
@@ -82,6 +84,7 @@ public:
429
 
430
 private:
431
   UniquePtr<MP4MetadataStagefright> mStagefright;
432
+#ifdef MOZ_RUST_MP4PARSE
433
   UniquePtr<MP4MetadataRust> mRust;
434
   mutable bool mPreferRust;
435
   mutable bool mReportedAudioTrackTelemetry;
436
@@ -90,6 +93,7 @@ private:
437
   mutable bool mRustTestMode;
438
 #endif
439
   bool ShouldPreferRust() const;
440
+#endif // MOZ_RUST_MP4PARSE
441
 };
442
 
443
 } // namespace mp4_demuxer
444
diff --git media/libstagefright/gtest/moz.build media/libstagefright/gtest/moz.build
445
index be4d56fc93f7..66fdd365f8f3 100644
446
--- media/libstagefright/gtest/moz.build
447
+++ media/libstagefright/gtest/moz.build
448
@@ -38,12 +38,13 @@ TEST_HARNESS_FILES.gtest += [
449
     'test_case_1351094.mp4',
450
 ]
451
 
452
-UNIFIED_SOURCES += ['TestMP4Rust.cpp',]
453
-TEST_HARNESS_FILES.gtest += [
454
-    '../../../dom/media/test/street.mp4',
455
-]
456
-LOCAL_INCLUDES += [
457
-    '../binding/include',
458
-]
459
+if CONFIG['MOZ_RUST']:
460
+    UNIFIED_SOURCES += ['TestMP4Rust.cpp',]
461
+    TEST_HARNESS_FILES.gtest += [
462
+        '../../../dom/media/test/street.mp4',
463
+    ]
464
+    LOCAL_INCLUDES += [
465
+        '../binding/include',
466
+    ]
467
 
468
 FINAL_LIBRARY = 'xul-gtest'
469
diff --git media/libstagefright/moz.build media/libstagefright/moz.build
470
index af5d1194d621..6725a0179989 100644
471
--- media/libstagefright/moz.build
472
+++ media/libstagefright/moz.build
473
@@ -83,9 +83,10 @@ SOURCES += [
474
     'system/core/libutils/VectorImpl.cpp',
475
 ]
476
 
477
-EXPORTS += [
478
-    'binding/include/mp4parse.h',
479
-]
480
+if CONFIG['MOZ_RUST']:
481
+    EXPORTS += [
482
+        'binding/include/mp4parse.h',
483
+    ]
484
 
485
 UNIFIED_SOURCES += [
486
     'binding/Adts.cpp',
487
diff --git mobile/android/confvars.sh mobile/android/confvars.sh
488
index e79b6f5c0707..eb62763acaf7 100644
489
--- mobile/android/confvars.sh
490
+++ mobile/android/confvars.sh
491
@@ -30,6 +30,8 @@ MOZ_XULRUNNER=
492
 MOZ_CAPTURE=1
493
 MOZ_RAW=1
494
 
495
+MOZ_RUST_MP4PARSE=1
496
+
497
 # use custom widget for html:select
498
 MOZ_USE_NATIVE_POPUP_WINDOWS=1
499
 
500
diff --git netwerk/base/moz.build netwerk/base/moz.build
501
index 61d022a9660e..e5ca1d77d859 100644
502
--- netwerk/base/moz.build
503
+++ netwerk/base/moz.build
504
@@ -256,7 +256,7 @@ UNIFIED_SOURCES += [
505
     'TLSServerSocket.cpp',
506
 ]
507
 
508
-if CONFIG['MOZ_RUST_URLPARSE']:
509
+if CONFIG['MOZ_RUST'] and CONFIG['MOZ_RUST_URLPARSE']:
510
     EXPORTS.mozilla.net += [ 'RustURL.h' ]
511
     UNIFIED_SOURCES += [ 'RustURL.cpp' ]
512
 
513
diff --git netwerk/base/nsStandardURL.cpp netwerk/base/nsStandardURL.cpp
514
index 608b918a4ecf..20bcdeb34ab8 100644
515
--- netwerk/base/nsStandardURL.cpp
516
+++ netwerk/base/nsStandardURL.cpp
517
@@ -858,6 +858,7 @@ nsStandardURL::BuildNormalizedSpec(const char *spec)
518
         if (!SegmentIs(spec, mScheme, "resource") &&
519
             !SegmentIs(spec, mScheme, "chrome")) {
520
             nsAutoCString ipString;
521
+#ifdef MOZ_RUST
522
             if (encHost.Length() > 0 &&
523
                 encHost.First() == '[' && encHost.Last() == ']' &&
524
                 ValidIPv6orHostname(encHost.get(), encHost.Length())) {
525
@@ -866,7 +867,9 @@ nsStandardURL::BuildNormalizedSpec(const char *spec)
526
                     return rv;
527
                 }
528
                 encHost = ipString;
529
-            } else if (NS_SUCCEEDED(NormalizeIPv4(encHost, ipString))) {
530
+            } else
531
+#endif
532
+            if (NS_SUCCEEDED(NormalizeIPv4(encHost, ipString))) {
533
                 encHost = ipString;
534
             }
535
         }
536
@@ -2112,6 +2115,7 @@ nsStandardURL::SetHost(const nsACString &input)
537
 
538
     if (!SegmentIs(mScheme, "resource") && !SegmentIs(mScheme, "chrome")) {
539
         nsAutoCString ipString;
540
+#ifdef MOZ_RUST
541
         if (hostBuf.Length() > 0 &&
542
             hostBuf.First() == '[' && hostBuf.Last() == ']' &&
543
             ValidIPv6orHostname(hostBuf.get(), hostBuf.Length())) {
544
@@ -2120,7 +2124,9 @@ nsStandardURL::SetHost(const nsACString &input)
545
                 return rv;
546
             }
547
             hostBuf = ipString;
548
-        } else if (NS_SUCCEEDED(NormalizeIPv4(hostBuf, ipString))) {
549
+        } else
550
+#endif
551
+        if (NS_SUCCEEDED(NormalizeIPv4(hostBuf, ipString))) {
552
           hostBuf = ipString;
553
         }
554
     }
555
diff --git old-configure.in old-configure.in
556
index 717a94fcc692..54b29d737cc1 100644
557
--- old-configure.in
558
+++ old-configure.in
559
@@ -2330,9 +2330,14 @@ if test -n "$MOZ_MULET"; then
560
 fi
561
 
562
 # Propagate feature switches for code written in rust from confvars.sh
563
-if test -n "$MOZ_RUST_URLPARSE"; then
564
-    AC_DEFINE(MOZ_RUST_URLPARSE)
565
-    AC_SUBST(MOZ_RUST_URLPARSE)
566
+if test -n "$MOZ_RUST"; then
567
+    if test -n "$MOZ_RUST_MP4PARSE"; then
568
+        AC_DEFINE(MOZ_RUST_MP4PARSE)
569
+    fi
570
+    if test -n "$MOZ_RUST_URLPARSE"; then
571
+        AC_DEFINE(MOZ_RUST_URLPARSE)
572
+        AC_SUBST(MOZ_RUST_URLPARSE)
573
+    fi
574
 fi
575
 
576
 AC_SUBST(MOZ_PHOENIX)
577
diff --git toolkit/components/telemetry/Histograms.json toolkit/components/telemetry/Histograms.json
578
index 061c55f6a5b6..e49dfd176952 100644
579
--- toolkit/components/telemetry/Histograms.json
580
+++ toolkit/components/telemetry/Histograms.json
581
@@ -8320,7 +8320,8 @@
582
     "expires_in_version": "60",
583
     "kind": "boolean",
584
     "bug_numbers": [1220885],
585
-    "description": "Whether the rust mp4 demuxer successfully parsed a stream segment."
586
+    "description": "Whether the rust mp4 demuxer successfully parsed a stream segment.",
587
+    "cpp_guard": "MOZ_RUST_MP4PARSE"
588
   },
589
   "MEDIA_RUST_MP4PARSE_ERROR_CODE": {
590
     "record_in_processes": ["main", "content"],
591
@@ -8329,7 +8330,8 @@
592
     "kind": "enumerated",
593
     "n_values": 32,
594
     "bug_numbers": [1238420],
595
-    "description": "The error code reported when an MP4 parse attempt has failed.0 = OK, 1 = bad argument, 2 = invalid data, 3 = unsupported, 4 = unexpected end of file, 5 = read error."
596
+    "description": "The error code reported when an MP4 parse attempt has failed.0 = OK, 1 = bad argument, 2 = invalid data, 3 = unsupported, 4 = unexpected end of file, 5 = read error.",
597
+    "cpp_guard": "MOZ_RUST_MP4PARSE"
598
   },
599
   "MEDIA_RUST_MP4PARSE_TRACK_MATCH_AUDIO": {
600
     "record_in_processes": ["main", "content"],
601
@@ -8337,7 +8339,8 @@
602
     "expires_in_version": "60",
603
     "kind": "boolean",
604
     "bug_numbers": [1231169],
605
-    "description": "Whether rust and stagefight mp4 parser audio track results match."
606
+    "description": "Whether rust and stagefight mp4 parser audio track results match.",
607
+    "cpp_guard": "MOZ_RUST_MP4PARSE"
608
   },
609
   "MEDIA_RUST_MP4PARSE_TRACK_MATCH_VIDEO": {
610
     "record_in_processes": ["main", "content"],
611
@@ -8345,7 +8348,8 @@
612
     "expires_in_version": "60",
613
     "kind": "boolean",
614
     "bug_numbers": [1231169],
615
-    "description": "Whether rust and stagefight mp4 parser video track results match."
616
+    "description": "Whether rust and stagefight mp4 parser video track results match.",
617
+    "cpp_guard": "MOZ_RUST_MP4PARSE"
618
   },
619
   "MEDIA_WMF_DECODE_ERROR": {
620
     "record_in_processes": ["main", "content", "gpu"],
621
diff --git toolkit/library/gtest/moz.build toolkit/library/gtest/moz.build
622
index 69a8fb1f4893..c684f48e456e 100644
623
--- toolkit/library/gtest/moz.build
624
+++ toolkit/library/gtest/moz.build
625
@@ -7,7 +7,6 @@
626
 FINAL_TARGET = 'dist/bin/gtest'
627
 
628
 USE_LIBS += [
629
-    'gkrust-gtest',
630
     'static:xul',
631
     # xul-gtest is an intermediate static library. It is used as FINAL_TARGET
632
     # for gtest code.
633
@@ -21,6 +20,11 @@ USE_LIBS += [
634
 # before StaticXULComponentStart.
635
 Libxul('xul-gtest-real')
636
 
637
+if CONFIG['MOZ_RUST']:
638
+    USE_LIBS += [
639
+        'gkrust-gtest',
640
+    ]
641
+
642
 DIRS += [
643
     'static',
644
 ]
645
diff --git toolkit/library/moz.build toolkit/library/moz.build
646
index 650f6eaba980..191e90ceb09a 100644
647
--- toolkit/library/moz.build
648
+++ toolkit/library/moz.build
649
@@ -63,7 +63,7 @@ def Libxul(name):
650
 
651
     # This option should go away in bug 1290972, but we need to wait until
652
     # Rust 1.12 has been released.
653
-    if CONFIG['OS_ARCH'] == 'Darwin':
654
+    if CONFIG['MOZ_RUST'] and CONFIG['OS_ARCH'] == 'Darwin':
655
         LDFLAGS += ['-Wl,-no_compact_unwind']
656
 
657
 Libxul('xul')
658
@@ -343,4 +343,5 @@ USE_LIBS += ['StaticXULComponentsEnd']
659
 # The above library needs to be last for C++ purposes.  This library,
660
 # however, is entirely composed of Rust code, and needs to come after
661
 # all the C++ code so any possible C++ -> Rust calls can be resolved.
662
-USE_LIBS += ['gkrust']
663
+if CONFIG['MOZ_RUST']:
664
+    USE_LIBS += ['gkrust']
665
diff --git toolkit/moz.configure toolkit/moz.configure
666
index ac9d123224ce..e90da70f0fa5 100644
667
--- toolkit/moz.configure
668
+++ toolkit/moz.configure
669
@@ -88,8 +88,7 @@ include('../js/moz.configure')
670
 
671
 # Rust
672
 # ==============================================================
673
-include('../build/moz.configure/rust.configure',
674
-        when='--enable-compile-environment')
675
+include('../build/moz.configure/rust.configure')
676
 
677
 
678
 # L10N
679
@@ -623,13 +622,13 @@ id_and_secret_keyfile('Leanplum SDK')
680
 option('--enable-stylo', nargs='?', choices=('build',),
681
        help='Include Stylo in the build and/or enable it at runtime')
682
 
683
-@depends('--enable-stylo')
684
-def stylo_config(value):
685
+@depends('--enable-stylo', '--enable-rust')
686
+def stylo_config(value, rust_enabled):
687
     build_stylo = None
688
     enable_stylo = None
689
 
690
     # The default is to not build Stylo at all.
691
-    if value.origin == 'default':
692
+    if not rust_enabled or value.origin == 'default':
693
         pass
694
     elif value == 'build':
695
         build_stylo = True
696
@@ -769,12 +768,14 @@ set_config('SERVO_TARGET_DIR', servo_target_dir)
697
 option('--enable-webrender', nargs='?', choices=('build',),
698
        help='Include WebRender in the build and/or enable it at runtime')
699
 
700
-@depends('--enable-webrender', milestone)
701
-def webrender(value, milestone):
702
+@depends('--enable-webrender', '--enable-rust', milestone)
703
+def webrender(value, rust_enabled, milestone):
704
     build_webrender = None
705
     enable_webrender = None
706
 
707
-    if value.origin == 'default':
708
+    if not rust_enabled:
709
+        pass
710
+    elif value.origin == 'default':
711
         # if nothing is specified, default to just building on Nightly
712
         build_webrender = milestone.is_nightly
713
     elif value == 'build':
714
diff --git toolkit/toolkit.mozbuild toolkit/toolkit.mozbuild
715
index b845aab48023..9215afc6dd2d 100644
716
--- toolkit/toolkit.mozbuild
717
+++ toolkit/toolkit.mozbuild
718
@@ -133,16 +133,23 @@ if CONFIG['MOZ_PREF_EXTENSIONS']:
719
 
720
 DIRS += [
721
     '/devtools',
722
-    '/toolkit/library',
723
-    '/toolkit/library/gtest/rust',
724
-    '/toolkit/library/rust',
725
-    '/toolkit/library/StaticXULComponentsEnd',
726
     '/services',
727
     '/startupcache',
728
     '/js/ductwork/debugger',
729
     '/other-licenses/snappy',
730
 ]
731
 
732
+if CONFIG['MOZ_RUST']:
733
+    DIRS += [
734
+        '/toolkit/library/gtest/rust',
735
+        '/toolkit/library/rust',
736
+    ]
737
+
738
+DIRS += [
739
+    '/toolkit/library/StaticXULComponentsEnd',
740
+    '/toolkit/library',
741
+]
742
+
743
 if 'gtk' in CONFIG['MOZ_WIDGET_TOOLKIT']:
744
     DIRS += ['/toolkit/system/gnome']
745
 
746
diff --git toolkit/xre/nsAppRunner.cpp toolkit/xre/nsAppRunner.cpp
747
index 667c2eb1b365..6fb6cf102baa 100644
748
--- toolkit/xre/nsAppRunner.cpp
749
+++ toolkit/xre/nsAppRunner.cpp
750
@@ -227,11 +227,13 @@
751
 extern uint32_t gRestartMode;
752
 extern void InstallSignalHandlers(const char *ProgramName);
753
 
754
+#ifdef MOZ_RUST
755
 // This workaround is fixed in Rust 1.19. For details, see bug 1358151.
756
 // Implementation in toolkit/library/rust/shared/lib.rs
757
 extern "C" {
758
   void rust_init_please_remove_this_after_updating_rust_1_19();
759
 }
760
+#endif
761
 
762
 #define FILE_COMPATIBILITY_INFO NS_LITERAL_CSTRING("compatibility.ini")
763
 #define FILE_INVALIDATE_CACHES NS_LITERAL_CSTRING(".purgecaches")
764
@@ -3122,8 +3124,10 @@ XREMain::XRE_mainInit(bool* aExitFlag)
765
     return 1;
766
   *aExitFlag = false;
767
 
768
+#ifdef MOZ_RUST
769
   // This workaround is fixed in Rust 1.19. For details, see bug 1358151.
770
   rust_init_please_remove_this_after_updating_rust_1_19();
771
+#endif
772
 
773
   atexit(UnexpectedExit);
774
   auto expectedShutdown = mozilla::MakeScopeExit([&] {
775
diff --git xpcom/base/nsDebugImpl.cpp xpcom/base/nsDebugImpl.cpp
776
index e6bb623c258b..c49d61dce605 100644
777
--- xpcom/base/nsDebugImpl.cpp
778
+++ xpcom/base/nsDebugImpl.cpp
779
@@ -148,14 +148,20 @@ nsDebugImpl::Abort(const char* aFile, int32_t aLine)
780
   return NS_OK;
781
 }
782
 
783
+#ifdef MOZ_RUST
784
 // From toolkit/library/rust/lib.rs
785
 extern "C" void intentional_panic(const char* message);
786
+#endif
787
 
788
 NS_IMETHODIMP
789
 nsDebugImpl::RustPanic(const char* aMessage)
790
 {
791
+#ifdef MOZ_RUST
792
   intentional_panic(aMessage);
793
   return NS_OK;
794
+#else
795
+  return NS_ERROR_NOT_IMPLEMENTED;
796
+#endif
797
 }
798
 
799
 NS_IMETHODIMP
800
diff --git xpcom/rust/nsstring/gtest/moz.build xpcom/rust/nsstring/gtest/moz.build
801
index 197411678815..5bed9e57e57d 100644
802
--- xpcom/rust/nsstring/gtest/moz.build
803
+++ xpcom/rust/nsstring/gtest/moz.build
804
@@ -4,8 +4,9 @@
805
 # License, v. 2.0. If a copy of the MPL was not distributed with this
806
 # file, You can obtain one at http://mozilla.org/MPL/2.0/.
807
 
808
-UNIFIED_SOURCES += [
809
-    'Test.cpp'
810
-]
811
+if CONFIG['MOZ_RUST']:
812
+    UNIFIED_SOURCES += [
813
+        'Test.cpp'
814
+    ]
815
 
816
 FINAL_LIBRARY = 'xul-gtest'
(-)b/www/firefox/files/patch-toolkit_moz.configure (+13 lines)
Added Link Here
1
Bindgen crashes on i386
2
3
--- toolkit/moz.configure.orig	2017-08-08 06:07:58 UTC
4
+++ toolkit/moz.configure
5
@@ -620,7 +620,7 @@ def stylo_config(value, _, target):
6
 
7
     # If nothing is specified, default to building stylo where possible.
8
     if value.origin == 'default':
9
-        if target.os == 'GNU' and target.bitness == 32:
10
+        if target.os != 'WINNT' and target.bitness == 32:
11
             # The clang setup we use in automation is a little unusual, and
12
             # doesn't play well with bindgen on 32-bit Linux.
13
             pass

Return to bug 221335