Chromium

  • Done
  • quality assurance status badge
Details
23 participants
  • Adonay Felipe Nogueira
  • Amirouche Boubekki
  • Amin Bandali
  • bill-auger
  • Björn Höfling
  • brettg
  • Clément Lassieur
  • Christopher Lemmer Webber
  • Efraim Flashner
  • Giovanni Biscuolo
  • Oleg Pykhalov
  • Ineiev
  • Leo Famulari
  • Ludovic Courtès
  • Marius Bakke
  • Tobias Geerinckx-Rice
  • Mark H Weaver
  • Mike Gerwitz
  • ng0
  • ng0
  • Julie Marchant
  • Pjotr Prins
  • swedebugia
Owner
unassigned
Submitted by
Marius Bakke
Severity
normal
M
M
Marius Bakke wrote on 7 Aug 2017 21:58
(address . guix-patches@gnu.org)
87y3qvb15k.fsf@fastmail.com
Hello Guix!

Attached is a patch for Chromium, a popular web browser.

It requires the new ld wrapper from 'core-updates' and a very powerful
build machine (a quad-core Sandy Bridge Xeon uses 2-3 hours).

Note that I cannot guarantee timely delivery of security updates. Major
version upgrades are hugely painful, and almost always contain many
high-severity fixes. Should we mention that in the description?

Happy for any feedback.
-----BEGIN PGP SIGNATURE-----

iQEzBAEBCgAdFiEEu7At3yzq9qgNHeZDoqBt8qM6VPoFAlmIxmgACgkQoqBt8qM6
VPohGQf/aE97eOjQpjyF93GU6xb2DYFASSUOjCgHn/8UUyZj1hmqfDXUNsPeNEo3
kZW9U9vGQH4dKK2j4wpc72rQZQ8598VCwnr2lg8sT3vU+DOOEVsRr5KjnMLKMoZJ
pgLbEnHbnNtlVPmFGBWi0M3VvMqn4XWJRJKAZsl69CQBUDOTCW148PqnG8UfNL4U
/bBVsKJWk/vhtXR0PSPyJzeHLbPFlopbxh7uPISacX/j5waY6jE7qdh8hy7q+TR0
JyVsX/nszBWGIXU+Dr7pCo/C0nbRz7qt+IDE5iCv247Ao4zhnp4+Jtbwej0QFPuo
kXcvP2GoZy7m4r1nx6GzveU/Eg2g5g==
=9Kg8
-----END PGP SIGNATURE-----

N
(name . Marius Bakke)(address . mbakke@fastmail.com)(address . 28004@debbugs.gnu.org)
20170807202341.5c54jx4mpudor47i@abyayala
Hi Marius,

Marius Bakke transcribed 43K bytes:
Toggle quote (4 lines)
> Hello Guix!
>
> Attached is a patch for Chromium, a popular web browser.

Nice! I've been using this from your branch for a while now,
works just fine :)
Is this not affected by the chromium discussion which happened
a while back? Can we include this? I'm all for this, because I
mainly use it for websites where firefox/icecat doesn't work so
well, and building it locally takes a very long time.
(Pro-tip: Don't offload from very powerful laptops to 10 year
old computers with 2 cores ;))

Toggle quote (3 lines)
> It requires the new ld wrapper from 'core-updates' and a very powerful
> build machine (a quad-core Sandy Bridge Xeon uses 2-3 hours).

But to notice: it builds with less than 3GB RAM.

Toggle quote (7 lines)
> Note that I cannot guarantee timely delivery of security updates. Major
> version upgrades are hugely painful, and almost always contain many
> high-severity fixes. Should we mention that in the description?
>
> Happy for any feedback.
>

Shouldn't you mention defines in addition to the define-public aswell,
or don't we do that?
--
ng0
GnuPG: A88C8ADD129828D7EAC02E52E22F9BBFEE348588
-----BEGIN PGP SIGNATURE-----

iQIzBAABCgAdFiEEqIyK3RKYKNfqwC5S4i+bv+40hYgFAlmIzE0ACgkQ4i+bv+40
hYgyExAAjy+7Xrssgze/xnwH7xII69/0vvrBhg+pcEF0M7Qv6pvyaABa8y8/jZHN
bgNo9YDb3e+CvGl40xKXypkrIdd4UH7Lv9iV3N4eoueUJJy7d8th/x/sU1crpltP
ydKlLafzCCkZ1aWxhMJ1tvcbS3/Kl3DCgknToujlVMSK+YQM+qxl8R/rXkapA6Bt
dQgy9LO7cpNvKmgldRSTaJI4OcyKnxkqFEz4wBSdhXpgOFXDM5KQCc1uFmo78eVJ
o2LDsIy/lCjwVy7v7tEvQC0Bsg5BKmKhuj5yWitUT6je1dv2o6dNit0yn3X7rmHa
bYl2CQ/AtSUZyXL09OwKIHeJDno0vVQJWSoR1KdcAdIprnebhWgK/BqnJ5PntqoS
Z3y0MCZlj+IRtJnidI0aDGLMBrPcErRjNbrE8BvkLBa+COlgHqnEL/x8AFz37dx/
MF/J9jlF/3P4HHnqMVhXJPKgSflkOq8VpVPqFXCS9ILamgFOpUOlUn09/KwpHrWO
gK+WFmfFbGBMW5U5XKrCjfnmpsM+C/Flink01N7pWTMFf+OqBt312eyIS4W1IKTx
8ENmQcpeu4hT9w1jbp3a1JdEW6xmLFTI1V3VLc+sc1CW7NCMiAEzPK+W9pHPDWKy
99qGyGel+kXI/kO6lbqrbe6SyW/dj/4JNmkLF3PzdbN4AbHP5p4=
=Llsp
-----END PGP SIGNATURE-----


M
M
Marius Bakke wrote on 7 Aug 2017 23:16
(name . ng0)(address . ng0@infotropique.org)(address . 28004@debbugs.gnu.org)
87shh3axjf.fsf@fastmail.com
ng0 <ng0@infotropique.org> writes:

Toggle quote (14 lines)
> Hi Marius,
>
> Marius Bakke transcribed 43K bytes:
>> Hello Guix!
>>
>> Attached is a patch for Chromium, a popular web browser.
>
> Nice! I've been using this from your branch for a while now,
> works just fine :)
> Is this not affected by the chromium discussion which happened
> a while back? Can we include this? I'm all for this, because I
> mainly use it for websites where firefox/icecat doesn't work so
> well, and building it locally takes a very long time.

I believe this is within the Free System Distribution Guidelines. DRM
("Widevine") is disabled at build time, and the Web Store is
non-functional without the end user explicitly enabling it.

There are some grey areas though. The browser may interact with certain
non-free APIs (apart from regular browser duties) such as translation or
prediction services. These features are optional, but some are enabled
by default, and difficult to maintain patches for (I've tried).

However, I have verified that it does not send any unsolicited requests
with the current command-line options, apart from the very first launch
which spawns a login prompt (help wanted!). Without either of those
flags the browser "calls home" every time it starts.

Toggle quote (10 lines)
>> Note that I cannot guarantee timely delivery of security updates. Major
>> version upgrades are hugely painful, and almost always contain many
>> high-severity fixes. Should we mention that in the description?
>>
>> Happy for any feedback.
>>
>
> Shouldn't you mention defines in addition to the define-public aswell,
> or don't we do that?

Not for new files (modules), typically. I don't think Magit can fill out
those variable names (by pressing C on the hunks) either ;-) But it
should probably go in web-browsers.scm anyway.
-----BEGIN PGP SIGNATURE-----

iQEzBAEBCgAdFiEEu7At3yzq9qgNHeZDoqBt8qM6VPoFAlmI2LQACgkQoqBt8qM6
VPq/MQgAjq8CBcZi+jDFnJsWC6UuBVsJ4YMgfkApERqAnVFxLCgylPM012u50HB1
cI6bj7G1r8x6yIHG77wex1H0aI764AOIamGHpZAzCbaAOQq9kiY6xpvkSWW4i2b9
WkJus2l/kNMKRJmF+qDOCUj9CGotYTX2Hr+JvSA0j1mXWGBRQcWKuOM7oZMKu76u
I0E3MlRlenaAZ3lMatl7gfxmDTwbCgu3npkSXxN9h4CGp58QEEeMDb1bJxx3MpM+
VWWF56SnUkAzdVr/bYvV2oV/ZW5vrBNT4OqkhQXUtXyOZ+RXiGwdbF1mN1YVrKVo
InjpK7QSOh8MV53gIx+INT0izAEm+w==
=rqKg
-----END PGP SIGNATURE-----

N
(name . Marius Bakke)(address . mbakke@fastmail.com)
20170808055329.pnlmynfcfpmon3lk@abyayala
Marius Bakke transcribed 2.4K bytes:
Toggle quote (18 lines)
> ng0 <ng0@infotropique.org> writes:
>
> > Hi Marius,
> >
> > Marius Bakke transcribed 43K bytes:
> >> Hello Guix!
> >>
> >> Attached is a patch for Chromium, a popular web browser.
> >
> > Nice! I've been using this from your branch for a while now,
> > works just fine :)
> > Is this not affected by the chromium discussion which happened
> > a while back? Can we include this? I'm all for this, because I
> > mainly use it for websites where firefox/icecat doesn't work so
> > well, and building it locally takes a very long time.
>
> I believe this is within the Free System Distribution Guidelines.

What I meant was this long discussion about "QTWebengine is nonfree",
but as far as I experienced in being one of the early users of chromium
for a long time, it doesn't depend on anything Qt and doesn't bundle it.
So without having the time this morning to refresh the discussion, I think
it was about Chromium as a part for other software which is provided
through QtWebengine (Or maybe I'm tired and write only almost nonsense).

Toggle quote (28 lines)
> DRM
> ("Widevine") is disabled at build time, and the Web Store is
> non-functional without the end user explicitly enabling it.
>
> There are some grey areas though. The browser may interact with certain
> non-free APIs (apart from regular browser duties) such as translation or
> prediction services. These features are optional, but some are enabled
> by default, and difficult to maintain patches for (I've tried).
>
> However, I have verified that it does not send any unsolicited requests
> with the current command-line options, apart from the very first launch
> which spawns a login prompt (help wanted!). Without either of those
> flags the browser "calls home" every time it starts.
>
> >> Note that I cannot guarantee timely delivery of security updates. Major
> >> version upgrades are hugely painful, and almost always contain many
> >> high-severity fixes. Should we mention that in the description?
> >>
> >> Happy for any feedback.
> >>
> >
> > Shouldn't you mention defines in addition to the define-public aswell,
> > or don't we do that?
>
> Not for new files (modules), typically. I don't think Magit can fill out
> those variable names (by pressing C on the hunks) either ;-) But it
> should probably go in web-browsers.scm anyway.

Isn't web-browsers just for smaller browsers? we have gnuzilla, and I'm
about to add palemoon when I have analysed and cleaned up my build of it.

Of course we coukd add them all to web-browser, the file won't become too large.
--
ng0
GnuPG: A88C8ADD129828D7EAC02E52E22F9BBFEE348588
-----BEGIN PGP SIGNATURE-----

iQIzBAABCgAdFiEEqIyK3RKYKNfqwC5S4i+bv+40hYgFAlmJUdkACgkQ4i+bv+40
hYj/YxAAubXpNlkkHNFk6SBMjqzqIljNeGPbO691BmojeiCfcCCwf/he9NkIcQuD
bWAcUBnz+W75OneginHj3WB8pkF0UhmNmoi6mKlOCZTnSwdBDaTim9HlSc4wtPo0
AM2qVgV1w41wNzMPs0kuFCbyXBQ9SwMsx9JLrCebmKJEYElHP2gC0wogBnKVwPH8
DBzl/eN0KkRnB9EDYCEM2Yspck5tlurhnXzxjoGBM/GPaCXYVjTRDiPi1S4U01uW
ThNNpDO+dPvBv+Nqrfc1Vs3qhUlfBKOrISZYwHhwJbZYhG8SU3acuSIgkcK5oKe7
dWhgkD3sIHV7E8Zl/II0jMCTgqB5QVYwzZwexCLGnL/yQ81w+8zOQpmHbyfeDCso
jc8EkiGnX602neFKZRMxWBYJ1HVkIzQ5vt/XwpDHyWR/assQybrJ+6pBTbyAc8DS
IE/zJbw/VKaNaFDUVt9GPEMUzGDN86p5ntvl34kueGKCipqEgxkOdyP3zO3PN1VY
AwjHhIz+hgHJTxIjwGlZw7IveILJX4iKqr3cp8XLcIeAtd5SjiQr+3MlEm5No1Vu
/82iHJoE09ls75y3M40YCSyCES3hjV68sBpaprVWLYzBcKW9M3HhXPUsCUSiYOnX
ei9RTC990tY9Cd44YR4oyaYQC5A0QvLeOlhkoebXEJE1bmml2tg=
=iLCQ
-----END PGP SIGNATURE-----


N
(name . Marius Bakke)(address . mbakke@fastmail.com)
20170808131801.snryxiiehczhnibr@abyayala
Marius Bakke transcribed 2.4K bytes:
Toggle quote (44 lines)
> ng0 <ng0@infotropique.org> writes:
>
> > Hi Marius,
> >
> > Marius Bakke transcribed 43K bytes:
> >> Hello Guix!
> >>
> >> Attached is a patch for Chromium, a popular web browser.
> >
> > Nice! I've been using this from your branch for a while now,
> > works just fine :)
> > Is this not affected by the chromium discussion which happened
> > a while back? Can we include this? I'm all for this, because I
> > mainly use it for websites where firefox/icecat doesn't work so
> > well, and building it locally takes a very long time.
>
> I believe this is within the Free System Distribution Guidelines. DRM
> ("Widevine") is disabled at build time, and the Web Store is
> non-functional without the end user explicitly enabling it.
>
> There are some grey areas though. The browser may interact with certain
> non-free APIs (apart from regular browser duties) such as translation or
> prediction services. These features are optional, but some are enabled
> by default, and difficult to maintain patches for (I've tried).
>
> However, I have verified that it does not send any unsolicited requests
> with the current command-line options, apart from the very first launch
> which spawns a login prompt (help wanted!). Without either of those
> flags the browser "calls home" every time it starts.
>
> >> Note that I cannot guarantee timely delivery of security updates. Major
> >> version upgrades are hugely painful, and almost always contain many
> >> high-severity fixes. Should we mention that in the description?
> >>
> >> Happy for any feedback.
> >>
> >
> > Shouldn't you mention defines in addition to the define-public aswell,
> > or don't we do that?
>
> Not for new files (modules), typically. I don't think Magit can fill out
> those variable names (by pressing C on the hunks) either ;-) But it
> should probably go in web-browsers.scm anyway.

Unless someone else is already building this, I'm giving it a spin.

I guess you changed some things since the version of yours I have in
so I have to rebuild it.
It might take a while because I'm offloading to something much slower
but which doesn't care about heat as much as a this one ;)
--
ng0
GnuPG: A88C8ADD129828D7EAC02E52E22F9BBFEE348588
-----BEGIN PGP SIGNATURE-----

iQIzBAABCgAdFiEEqIyK3RKYKNfqwC5S4i+bv+40hYgFAlmJuggACgkQ4i+bv+40
hYjEvg/6A+sEDd80ky69QnV1f+o/D0CNmcB0ktGereRo2M5j63lbNxCoIeDtWKm/
LoVmoCrUdO15qm06GPGGUB2ymWlt0jLRFbui1ooj8P33jHqjSue4E8OCe4ls7Y/K
QHUnTVJdRtbQcpm/ZK8ZfdstMGJrf3akWVD4KlzGsr2bPCYotV8iMEJHJhWucbKK
RL2TWSH19pZfyd7w8a1QEueucuytQ5iUyAD53TOXOb3yiZRYfUr8I2xLEjfUO++2
bkmzKIC/0Gn+VDQrsBlktO3S1HxOko9UUVd5fKAgLOf+fAh6zO2ZWWGPq87rH/ao
K5+UyHd2rWMMYBK9frjbPsKkQ8VppD0MBGOhWB9b01H55gAjocBQiklk8XsL0NSh
dLFm7PJBlmLRoQlLGlJty1Gq26jZOf3WOmIHO3nCAJfxS/EpcpvO7lMQMsAnBA/d
heHYdvUYjeyAx/WglXj4BKmPdPZr9z6ElpkZjBFpnrJRQYxSL2hp+SPyUEUA7z7X
pk7wIloDCDaIcWYa+d9vYWYkVF5S40WTcXy4j+om28Z9JWb6TyrW1aahZgm9MfT/
S0JMMTinOMAczOc1DWgDS4eFmU3VqwMm+TMs1LQHFczRVkipjPpkCYgJ2oE8lUbe
PyP5GYnhvAjBYsT1wmL2pqOJu47J/OrefR+xPZJJoJxjgVK2uUQ=
=SVds
-----END PGP SIGNATURE-----


N
20170808142223.re52odap7y32eten@abyayala
ng0 transcribed 3.4K bytes:
Toggle quote (53 lines)
> Marius Bakke transcribed 2.4K bytes:
> > ng0 <ng0@infotropique.org> writes:
> >
> > > Hi Marius,
> > >
> > > Marius Bakke transcribed 43K bytes:
> > >> Hello Guix!
> > >>
> > >> Attached is a patch for Chromium, a popular web browser.
> > >
> > > Nice! I've been using this from your branch for a while now,
> > > works just fine :)
> > > Is this not affected by the chromium discussion which happened
> > > a while back? Can we include this? I'm all for this, because I
> > > mainly use it for websites where firefox/icecat doesn't work so
> > > well, and building it locally takes a very long time.
> >
> > I believe this is within the Free System Distribution Guidelines. DRM
> > ("Widevine") is disabled at build time, and the Web Store is
> > non-functional without the end user explicitly enabling it.
> >
> > There are some grey areas though. The browser may interact with certain
> > non-free APIs (apart from regular browser duties) such as translation or
> > prediction services. These features are optional, but some are enabled
> > by default, and difficult to maintain patches for (I've tried).
> >
> > However, I have verified that it does not send any unsolicited requests
> > with the current command-line options, apart from the very first launch
> > which spawns a login prompt (help wanted!). Without either of those
> > flags the browser "calls home" every time it starts.
> >
> > >> Note that I cannot guarantee timely delivery of security updates. Major
> > >> version upgrades are hugely painful, and almost always contain many
> > >> high-severity fixes. Should we mention that in the description?
> > >>
> > >> Happy for any feedback.
> > >>
> > >
> > > Shouldn't you mention defines in addition to the define-public aswell,
> > > or don't we do that?
> >
> > Not for new files (modules), typically. I don't think Magit can fill out
> > those variable names (by pressing C on the hunks) either ;-) But it
> > should probably go in web-browsers.scm anyway.
>
> Unless someone else is already building this, I'm giving it a spin.
>
> I guess you changed some things since the version of yours I have in
> here: https://gitlab.com/ng0_guix/packages/blob/master/ng0/packages/chromium.scm
> so I have to rebuild it.
> It might take a while because I'm offloading to something much slower
> but which doesn't care about heat as much as a this one ;)

Patch itself LGTM, I'm now waiting on the build to finish in the
next couple of hours.

Thanks for your work on this!
--
ng0
GnuPG: A88C8ADD129828D7EAC02E52E22F9BBFEE348588
-----BEGIN PGP SIGNATURE-----

iQIzBAABCgAdFiEEqIyK3RKYKNfqwC5S4i+bv+40hYgFAlmJyR8ACgkQ4i+bv+40
hYgTTw//fB8XVC9a/WYkzW3eJWQ6zfBgXRwRYjb+dO48WHdmzbkxfs4ub5vwcOce
SQeJg1Dj2JwkxSlJYvxAa9Gadh2LiXNyaBhqlAEWdmesDcF2CPAlDicw2uADUMTu
JFKyA0HkJLnSaTWaD4THqGTpDX6vLcnEDEbCNp9bisJQqky4S955zIz4QWf7VbTa
+7p854l36h91aUW5VYHQFTH5jMgMBVt4UIlhWrEbAV7CQE5u0Jv3Bfa8Tq1qlmM4
oXEC1tCorK39vbnW4Op2/YnWA5C3DfdNIPgikmMuKq4jwZO4ECR+S99DRY/6i/Mn
cCbonTt/hFaVG4DHvaru5DSAVx2tzszO8EFj3uGBt2CacFkfYmouHzDL+D24AhVD
xlFnO5XZIilvq9jo+BFUu5D7LwbvsqX1ohjSxmBo5SC3W1riMB554/dc+01OjIhr
AsXjhEGR4r5p0O56k5ks7vW2jdRWOfhfgGkuarr4rmO0AixH8XDQfW7B07OwOzBq
TWECe3q8+PoeSrHT+4WPrnmpAB2XGRLp1x4TYEAC0DN//jqthnGcrdSdWV5cdC6Y
kTMoa2P6UzGzZcoAADLzm6mWlHlDSuasQbgeavAD/bglM+f4ShIlluQNNSSEByDE
7xJi/gcq+T+zeWMLnLzn5ERLEhg/M5XuT82tbsPmuOCzbMlkwpw=
=XXF+
-----END PGP SIGNATURE-----


N
20170808154422.rfmrom3qkgscloyj@abyayala
ng0 transcribed 3.7K bytes:
Toggle quote (57 lines)
> ng0 transcribed 3.4K bytes:
> > Marius Bakke transcribed 2.4K bytes:
> > > ng0 <ng0@infotropique.org> writes:
> > >
> > > > Hi Marius,
> > > >
> > > > Marius Bakke transcribed 43K bytes:
> > > >> Hello Guix!
> > > >>
> > > >> Attached is a patch for Chromium, a popular web browser.
> > > >
> > > > Nice! I've been using this from your branch for a while now,
> > > > works just fine :)
> > > > Is this not affected by the chromium discussion which happened
> > > > a while back? Can we include this? I'm all for this, because I
> > > > mainly use it for websites where firefox/icecat doesn't work so
> > > > well, and building it locally takes a very long time.
> > >
> > > I believe this is within the Free System Distribution Guidelines. DRM
> > > ("Widevine") is disabled at build time, and the Web Store is
> > > non-functional without the end user explicitly enabling it.
> > >
> > > There are some grey areas though. The browser may interact with certain
> > > non-free APIs (apart from regular browser duties) such as translation or
> > > prediction services. These features are optional, but some are enabled
> > > by default, and difficult to maintain patches for (I've tried).
> > >
> > > However, I have verified that it does not send any unsolicited requests
> > > with the current command-line options, apart from the very first launch
> > > which spawns a login prompt (help wanted!). Without either of those
> > > flags the browser "calls home" every time it starts.
> > >
> > > >> Note that I cannot guarantee timely delivery of security updates. Major
> > > >> version upgrades are hugely painful, and almost always contain many
> > > >> high-severity fixes. Should we mention that in the description?
> > > >>
> > > >> Happy for any feedback.
> > > >>
> > > >
> > > > Shouldn't you mention defines in addition to the define-public aswell,
> > > > or don't we do that?
> > >
> > > Not for new files (modules), typically. I don't think Magit can fill out
> > > those variable names (by pressing C on the hunks) either ;-) But it
> > > should probably go in web-browsers.scm anyway.
> >
> > Unless someone else is already building this, I'm giving it a spin.
> >
> > I guess you changed some things since the version of yours I have in
> > here: https://gitlab.com/ng0_guix/packages/blob/master/ng0/packages/chromium.scm
> > so I have to rebuild it.
> > It might take a while because I'm offloading to something much slower
> > but which doesn't care about heat as much as a this one ;)
>
> Patch itself LGTM, I'm now waiting on the build to finish in the
> next couple of hours.

x86_64 architecture, builds fails at this point:

[6247/27388] STAMP obj/mojo/common/common.stamp
[6248/27388] ACTION //net/http:generate_transport_security_state(//build/toolchain/linux:x64)
FAILED: gen/net/http/transport_security_state_static.h
python ../../build/gn_run_binary.py transport_security_state_generator ../../net/http/transport_security_state_static.json ../../net/http/transport_security_state_static.pins ../../net/http/transport_security_state_static.template gen/net/http/transport_security_state_static.h
./transport_security_state_generator: error while loading shared libraries: libglib-2.0.so.0: cannot open shared object file: No such file or directory
transport_security_state_generator failed with exit code 127
[6249/27388] AR obj/sandbox/linux/libsandbox_services.a
ninja: build stopped: subcommand failed.
phase `build' failed after 1777.2 seconds
builder for `/gnu/store/2afpy542vywbmk093dd1kzlfx74s2460-chromium-60.0.3112.90.drv' failed with exit code 1
@ build-failed /gnu/store/2afpy542vywbmk093dd1kzlfx74s2460-chromium-60.0.3112.90.drv - 1 builder for `/gnu/store/2afpy542vywbmk093dd1kzlfx74s2460-chromium-60.0.3112.90.drv' failed with exit code 1
derivation '/gnu/store/2afpy542vywbmk093dd1kzlfx74s2460-chromium-60.0.3112.90.drv' offloaded to '192.168.1.179' failed: build of `/gnu/store/2afpy542vywbmk093dd1kzlfx74s2460-chromium-60.0.3112.90.drv' failed
@ build-failed /gnu/store/2afpy542vywbmk093dd1kzlfx74s2460-chromium-60.0.3112.90.drv - 1 builder for `/gnu/store/2afpy542vywbmk093dd1kzlfx74s2460-chromium-60.0.3112.90.drv' failed with exit code 100
guix build: error: build failed: build of `/gnu/store/2afpy542vywbmk093dd1kzlfx74s2460-chromium-60.0.3112.90.drv' failed

Have you experienced this before?

--
ng0
GnuPG: A88C8ADD129828D7EAC02E52E22F9BBFEE348588
-----BEGIN PGP SIGNATURE-----

iQIzBAABCgAdFiEEqIyK3RKYKNfqwC5S4i+bv+40hYgFAlmJ3FYACgkQ4i+bv+40
hYihDQ//Tyv9Ii84cUS30tYe15JjJF1WN0R6wol4BBhOvuwi8DHldBhXwBUZKRAg
exBQ63x4/JaFIlVdH02vMNbnIj1o1R6wAIzddvyRDAOMcQWNoMXYsD8NOmIRNbcU
XJkBroRNF04wzujNO3xx31txj54dxlkzcz+SJ7IQ7sR3oYFWBE3q7EGMChRxzgVJ
ddFI1zfRVlFatQ5PaIxanKDZoHMiQ3MXSiGlayWvIIvOa9Yosh5sImXOjMXH2Wlh
6S3se4io70HSN19vTqUkSQnP+Ph38kDmc3aQGX21MWDAflapb4tcT3vg7xlaZJCA
Itxi9jmRY19oPsl1IKs6cXBmUg079Rd88l5t0ez7LEiYkdUQyhI0yDSuN0mtSBEh
cGdoGPLUV8F46N8bUj9rDjt2FujYx9cQd5Qvr69fl/QouPIhJapeBQiNgWBnWLP4
aw0WXO2OW4MoTRWZvOLOuI452WJrWbLCPcwmhSUtydDVvb+1VddJO4p26/yIh31b
cHhhSh1y0J0VYS0EBGGpBpRb7fd58FaOudSenW7JteD3ZrZZPcMFJL70hKEFWhmw
BGne3WWULfw+mQUtuZYj3CEUkKdorR/UOuSF2z1wDJYNC+8Q3VIApVDfR0sxE2B1
fCenKWCCuZrDS7DODTRiSClKHV6L2FgWhOpFSyE2S22G9D4ui5k=
=qTMb
-----END PGP SIGNATURE-----


N
20170808185952.3fduefzgmc4nmrjh@abyayala
ng0 transcribed 5.5K bytes:
Toggle quote (77 lines)
> ng0 transcribed 3.7K bytes:
> > ng0 transcribed 3.4K bytes:
> > > Marius Bakke transcribed 2.4K bytes:
> > > > ng0 <ng0@infotropique.org> writes:
> > > >
> > > > > Hi Marius,
> > > > >
> > > > > Marius Bakke transcribed 43K bytes:
> > > > >> Hello Guix!
> > > > >>
> > > > >> Attached is a patch for Chromium, a popular web browser.
> > > > >
> > > > > Nice! I've been using this from your branch for a while now,
> > > > > works just fine :)
> > > > > Is this not affected by the chromium discussion which happened
> > > > > a while back? Can we include this? I'm all for this, because I
> > > > > mainly use it for websites where firefox/icecat doesn't work so
> > > > > well, and building it locally takes a very long time.
> > > >
> > > > I believe this is within the Free System Distribution Guidelines. DRM
> > > > ("Widevine") is disabled at build time, and the Web Store is
> > > > non-functional without the end user explicitly enabling it.
> > > >
> > > > There are some grey areas though. The browser may interact with certain
> > > > non-free APIs (apart from regular browser duties) such as translation or
> > > > prediction services. These features are optional, but some are enabled
> > > > by default, and difficult to maintain patches for (I've tried).
> > > >
> > > > However, I have verified that it does not send any unsolicited requests
> > > > with the current command-line options, apart from the very first launch
> > > > which spawns a login prompt (help wanted!). Without either of those
> > > > flags the browser "calls home" every time it starts.
> > > >
> > > > >> Note that I cannot guarantee timely delivery of security updates. Major
> > > > >> version upgrades are hugely painful, and almost always contain many
> > > > >> high-severity fixes. Should we mention that in the description?
> > > > >>
> > > > >> Happy for any feedback.
> > > > >>
> > > > >
> > > > > Shouldn't you mention defines in addition to the define-public aswell,
> > > > > or don't we do that?
> > > >
> > > > Not for new files (modules), typically. I don't think Magit can fill out
> > > > those variable names (by pressing C on the hunks) either ;-) But it
> > > > should probably go in web-browsers.scm anyway.
> > >
> > > Unless someone else is already building this, I'm giving it a spin.
> > >
> > > I guess you changed some things since the version of yours I have in
> > > here: https://gitlab.com/ng0_guix/packages/blob/master/ng0/packages/chromium.scm
> > > so I have to rebuild it.
> > > It might take a while because I'm offloading to something much slower
> > > but which doesn't care about heat as much as a this one ;)
> >
> > Patch itself LGTM, I'm now waiting on the build to finish in the
> > next couple of hours.
>
> x86_64 architecture, builds fails at this point:
>
> [6247/27388] STAMP obj/mojo/common/common.stamp
> [6248/27388] ACTION //net/http:generate_transport_security_state(//build/toolchain/linux:x64)
> FAILED: gen/net/http/transport_security_state_static.h
> python ../../build/gn_run_binary.py transport_security_state_generator ../../net/http/transport_security_state_static.json ../../net/http/transport_security_state_static.pins ../../net/http/transport_security_state_static.template gen/net/http/transport_security_state_static.h
> ./transport_security_state_generator: error while loading shared libraries: libglib-2.0.so.0: cannot open shared object file: No such file or directory
> transport_security_state_generator failed with exit code 127
> [6249/27388] AR obj/sandbox/linux/libsandbox_services.a
> ninja: build stopped: subcommand failed.
> phase `build' failed after 1777.2 seconds
> builder for `/gnu/store/2afpy542vywbmk093dd1kzlfx74s2460-chromium-60.0.3112.90.drv' failed with exit code 1
> @ build-failed /gnu/store/2afpy542vywbmk093dd1kzlfx74s2460-chromium-60.0.3112.90.drv - 1 builder for `/gnu/store/2afpy542vywbmk093dd1kzlfx74s2460-chromium-60.0.3112.90.drv' failed with exit code 1
> derivation '/gnu/store/2afpy542vywbmk093dd1kzlfx74s2460-chromium-60.0.3112.90.drv' offloaded to '192.168.1.179' failed: build of `/gnu/store/2afpy542vywbmk093dd1kzlfx74s2460-chromium-60.0.3112.90.drv' failed
> @ build-failed /gnu/store/2afpy542vywbmk093dd1kzlfx74s2460-chromium-60.0.3112.90.drv - 1 builder for `/gnu/store/2afpy542vywbmk093dd1kzlfx74s2460-chromium-60.0.3112.90.drv' failed with exit code 100
> guix build: error: build failed: build of `/gnu/store/2afpy542vywbmk093dd1kzlfx74s2460-chromium-60.0.3112.90.drv' failed
>
> Have you experienced this before?

As efraim pointed out I missed the part where you wrote that
it is for core-updates. I just assumed it worked like it is
on master because what I had locally (chromium 58) works on
master).

Someone else must test it then.
--
ng0
GnuPG: A88C8ADD129828D7EAC02E52E22F9BBFEE348588
-----BEGIN PGP SIGNATURE-----

iQIzBAABCgAdFiEEqIyK3RKYKNfqwC5S4i+bv+40hYgFAlmKCigACgkQ4i+bv+40
hYjM8RAAqfGzQRj7U7ZfN/e7hWROq4fN/VAs2hCdIIfviR9wQ+sURnxb+YMLG6+/
wjH8Mouy1A5NwHZIvCPlt2x2BkQ6jnqykgHVmjqKpeSdbSAm2wq8ticJXvs4V23P
gogHuMShmnzG2zP3H6BARHfyZkYznMZhkWP/Viokbxmz5OZHdQPsyxEfgVcsbhDc
YKNP3LJQ7Uy5ew5tHULvCMnnfV7lSdZv+odxM0hq3pcIenyiMG7U0mtF4T0DbK4j
nliJcicyREzz14tmOv4oAdkFVn5XQL3aLz9UJl6Jlgp3JueLxyHKiH8JAS65dVvG
hN7160Q1NWHVBCpzU4ges5vbOjcpIFEisGDBffKL100tEcn2+rk8gUdf+y5gWstZ
h34hb+qnnvcm4j6UbfL2lfEet+9EQRT7zfal/wbl5l+yl0NKEc7YjOipVdaM2tQV
LDimFP96ENFXqGD8RFRulTsxhsH+guUOwmNn+7Wpye68hAIQeXoooDZqYlcb9W6w
mU8ShuP1LYDQCaWrLi88EeS0fitm7dUHRP7UDkMqfK6syOMz8amJyILbL/CFltw6
kRuUZ1Mu4IhdBBBqJE9AkOhCjh5pkYDCMA+8ITp1Gt4RsgFTbjBiTqRzAf9kJq+i
67kjvEjIvs7y+XrQE7V+dQ2wwDC62WFWoVR5xO853pqwygqMvV4=
=0TyA
-----END PGP SIGNATURE-----


L
L
Leo Famulari wrote on 8 Aug 2017 21:51
20170808195139.GB32221@jasmine.lan
On Tue, Aug 08, 2017 at 03:44:22PM +0000, ng0 wrote:
Toggle quote (19 lines)
> x86_64 architecture, builds fails at this point:
>
> [6247/27388] STAMP obj/mojo/common/common.stamp
> [6248/27388] ACTION //net/http:generate_transport_security_state(//build/toolchain/linux:x64)
> FAILED: gen/net/http/transport_security_state_static.h
> python ../../build/gn_run_binary.py transport_security_state_generator ../../net/http/transport_security_state_static.json ../../net/http/transport_security_state_static.pins ../../net/http/transport_security_state_static.template gen/net/http/transport_security_state_static.h
> ./transport_security_state_generator: error while loading shared libraries: libglib-2.0.so.0: cannot open shared object file: No such file or directory
> transport_security_state_generator failed with exit code 127
> [6249/27388] AR obj/sandbox/linux/libsandbox_services.a
> ninja: build stopped: subcommand failed.
> phase `build' failed after 1777.2 seconds
> builder for `/gnu/store/2afpy542vywbmk093dd1kzlfx74s2460-chromium-60.0.3112.90.drv' failed with exit code 1
> @ build-failed /gnu/store/2afpy542vywbmk093dd1kzlfx74s2460-chromium-60.0.3112.90.drv - 1 builder for `/gnu/store/2afpy542vywbmk093dd1kzlfx74s2460-chromium-60.0.3112.90.drv' failed with exit code 1
> derivation '/gnu/store/2afpy542vywbmk093dd1kzlfx74s2460-chromium-60.0.3112.90.drv' offloaded to '192.168.1.179' failed: build of `/gnu/store/2afpy542vywbmk093dd1kzlfx74s2460-chromium-60.0.3112.90.drv' failed
> @ build-failed /gnu/store/2afpy542vywbmk093dd1kzlfx74s2460-chromium-60.0.3112.90.drv - 1 builder for `/gnu/store/2afpy542vywbmk093dd1kzlfx74s2460-chromium-60.0.3112.90.drv' failed with exit code 100
> guix build: error: build failed: build of `/gnu/store/2afpy542vywbmk093dd1kzlfx74s2460-chromium-60.0.3112.90.drv' failed
>
> Have you experienced this before?

Based on discussion on #guix, this package is based on core-updates. Did
you try building it on core-updates?
-----BEGIN PGP SIGNATURE-----

iQIzBAABCAAdFiEEsFFZSPHn08G5gDigJkb6MLrKfwgFAlmKFkoACgkQJkb6MLrK
fwhSLBAAxNeYKxomhmWr1g0YP/ljXvMPys1+UouTzWoJmX/yvRK4jku/sMXnfinY
qmWUgmLFAqcnUdV/fZVPm4SPnyi0uVh4pbNfi1C1gGrcvck33N3L0cYE2rDfl6zL
VMMhxVYkFg7Vs92l5wMilbgfqpv4kz+BO66BQvJkP+zcaQoOgknf6ToqR3weNE80
kQiccUsR+/B4jj6+fVAq7ugRUFU4kBnYuhYwR3Xq2BWU8aCv6CfhmVyajairB9QV
jB0lI4QCrjBrbFH9dLKaFcbCCHYAfkWJHV5+zyzIjevR4vlAGN0xPEPluEu1rbwJ
htcWlrB4i7A6PvavMXtjMoCujqXaF12YjSK6FmoLmt2J19/sEImjmz5zoKvu7K7B
LXxEqWixPaP29RlgwEGxI0X7yE8sjZkYvUthdgEV7+rvABxXrxf6waF6vV1dBJ8M
iv2KgoAPHYC92GBJc5WPpDr5jh5zBhxcZl5KK3nfS/neOMcVWavLLecWzT3k1rpX
WC2CfnR6FQr1ISQpPmleBSckAWQjf/9agWEUtLr3Nv81DXA/USAE/JO1NkQCMyka
XC4zxuVF1jTSyHJ1+xEAUdJoqSQO0v3J4u9NGueKWDOGgBqoGvIW6Fjik7u2gsKU
dbE1OaDduwNaWsHRxRXliqdynGe2xN0iONvjMEjm3W45ClZqCZo=
=5paE
-----END PGP SIGNATURE-----


N
(name . Leo Famulari)(address . leo@famulari.name)
20170808204633.6imimm5u3fycyb6o@abyayala
Leo Famulari transcribed 3.0K bytes:
Toggle quote (23 lines)
> On Tue, Aug 08, 2017 at 03:44:22PM +0000, ng0 wrote:
> > x86_64 architecture, builds fails at this point:
> >
> > [6247/27388] STAMP obj/mojo/common/common.stamp
> > [6248/27388] ACTION //net/http:generate_transport_security_state(//build/toolchain/linux:x64)
> > FAILED: gen/net/http/transport_security_state_static.h
> > python ../../build/gn_run_binary.py transport_security_state_generator ../../net/http/transport_security_state_static.json ../../net/http/transport_security_state_static.pins ../../net/http/transport_security_state_static.template gen/net/http/transport_security_state_static.h
> > ./transport_security_state_generator: error while loading shared libraries: libglib-2.0.so.0: cannot open shared object file: No such file or directory
> > transport_security_state_generator failed with exit code 127
> > [6249/27388] AR obj/sandbox/linux/libsandbox_services.a
> > ninja: build stopped: subcommand failed.
> > phase `build' failed after 1777.2 seconds
> > builder for `/gnu/store/2afpy542vywbmk093dd1kzlfx74s2460-chromium-60.0.3112.90.drv' failed with exit code 1
> > @ build-failed /gnu/store/2afpy542vywbmk093dd1kzlfx74s2460-chromium-60.0.3112.90.drv - 1 builder for `/gnu/store/2afpy542vywbmk093dd1kzlfx74s2460-chromium-60.0.3112.90.drv' failed with exit code 1
> > derivation '/gnu/store/2afpy542vywbmk093dd1kzlfx74s2460-chromium-60.0.3112.90.drv' offloaded to '192.168.1.179' failed: build of `/gnu/store/2afpy542vywbmk093dd1kzlfx74s2460-chromium-60.0.3112.90.drv' failed
> > @ build-failed /gnu/store/2afpy542vywbmk093dd1kzlfx74s2460-chromium-60.0.3112.90.drv - 1 builder for `/gnu/store/2afpy542vywbmk093dd1kzlfx74s2460-chromium-60.0.3112.90.drv' failed with exit code 100
> > guix build: error: build failed: build of `/gnu/store/2afpy542vywbmk093dd1kzlfx74s2460-chromium-60.0.3112.90.drv' failed
> >
> > Have you experienced this before?
>
> Based on discussion on #guix, this package is based on core-updates. Did
> you try building it on core-updates?

No, I have no time for switching a system to core-updates for a moment and dealing with
whatever needs to be dealt with before I can build it there, unless core-updates is
stable.
I don't want to be the roadblock, I could test it at some point in the next 2 - 3 weeks
and this package looks like it is good to go if it builds.
--
ng0
GnuPG: A88C8ADD129828D7EAC02E52E22F9BBFEE348588
-----BEGIN PGP SIGNATURE-----

iQIzBAABCgAdFiEEqIyK3RKYKNfqwC5S4i+bv+40hYgFAlmKIykACgkQ4i+bv+40
hYifmA//cuH4rNuNE4c2046amm5+QtEoNi481/GEQadiptjZhDZO4wXhU7QO1Muc
uHBJm/f9LK3hCg0bMgi3fvLXqaqAU16XTgJgkIr6jDzXPAG5h0ujgNnORMRqPFp+
bkzBmvEVG4+M14sOpVCqfGSJMu8TuO83hF06X0mJCrRfUU1Xp+nCyEOOzfDqllNy
xDRc64MXZWeSARcCE29w3Rq35gYK8O1ZoVIyCrw6/oM7yY5Uy9p64M/++thk2qRs
LX1kFf6YGfuhnyie2cRYV+6VJfcw3Vw1MtqFoI6Mkmtcripn2m7o0w/vnb3/AHP0
9BONRowt6FDJtwr+jerwxVFImp79aIEyYFSCA8FnLPKMhFiawmO0jrH5/WUMxHHK
RBjHxLvI7dXJiICiGpaWGnltv4xpJaVsWKbDyo2uOClfyRgPvrIBkDxto03OhviZ
D4/FPaQVnUJa+FFJWfyIBAkwVnDbwc8B98qD7eoVzss5rq0qVqiIYNsEI/FDWB5k
0p9hOBLqOmKzO8LakeaX19a4OUJ6Q8R0mh7WZl2o8PvDOr3mv64f68ZUQhH/M5U0
fWAT6QkhwmYekAB/t2XgkVf4xFdmGSgQu4PaXGt7OHP9WTjtiyLi19dQj7YH/AYW
34zzMTpD0XAwbpI0LqvFkB4YDhNwM65iKmgKMRoBkVwfUFYhPAI=
=5DGU
-----END PGP SIGNATURE-----


E
E
Efraim Flashner wrote on 10 Aug 2017 07:31
(address . 28004@debbugs.gnu.org)
20170810053149.GH2458@macbook42.flashner.co.il
This built on aarch64 on core-updates in about 12.5 hours. I did need to
add the following substitution* to the package definition.

Toggle diff (26 lines)
diff --git a/gnu/packages/chromium.scm b/gnu/packages/chromium.scm
index 81bcb8f05..855779a11 100644
--- a/gnu/packages/chromium.scm
+++ b/gnu/packages/chromium.scm
@@ -346,6 +346,13 @@
(("include \"third_party/curl") "include \"curl"))
(substitute* "media/base/decode_capabilities.cc"
(("third_party/libvpx/source/libvpx/") ""))
+
+ ;; We don't cross compile most packages, so get rid of the
+ ;; unnecessary ARCH-linux-gnu* prefix.
+ (substitute* "build/toolchain/linux/BUILD.gn"
+ (("aarch64-linux-gnu-") "")
+ (("arm-linux-gnueabihf-") ""))
+
#t))
(replace 'configure
(lambda* (#:key inputs outputs #:allow-other-keys)

With this addition it builds for me.


--
Efraim Flashner <efraim@flashner.co.il> ????? ?????
GPG key = A28B F40C 3E55 1372 662D 14F7 41AA E7DC CA3D 8351
Confidentiality cannot be guaranteed on emails sent or received unencrypted
-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEEoov0DD5VE3JmLRT3Qarn3Mo9g1EFAlmL77oACgkQQarn3Mo9
g1HLEw//Z1BXa7VVH3fdq+YCGVNmaOmw6UUG8Szq4MVJJQX9n2DWpJkVPNOxpoPS
8IFEXxetMTKvaB5Ph1SJ80S+BWPlQO3wCmwPWFkk5EARRirajydqmVfZWoiBfwSc
R8Z0TKPjCnyinxBet9aoj3t7sWUm379E++VSlYPSx5gi2Imhfk6wiUaysiNZf/pG
ZF4qqk3RzYO9BoIn+l9lS1HZhN8EmcJWEMzeVg8Cdzx0IWDKhP7Z26+yIHR6vBMB
IEzwv502Kc6U7qhnu+NJKKz/EttbrNv2dTlHzhZ/iRamb6+2PZv7bOjUwMyXyms5
Rg0L0NZiXq11Y2xFMZXwvbY3hz60vv6dXYyT0kwlzB7MLymeQ7Kj5A/hhfHsIkUk
ZLN1kma1AlPuHCKhDRAT1NsmILVHQz8aASXjYLWIEI+OB1AOk0tuZw2Aa2ryII54
9JpocoAGDkUHsey2gtLgXMuVnUlpEYB8Qq+aqZgkPVr7WCukOZqG7WT+azUp5mLm
EgV5YI/Au+vXn6Z433xIe0D4r16IUKSH8T/5LmFFgXIqYrOjPIkrwSHWWttzTZdu
+rkrX9ROli4XW/XRc/pE5rInPPLd0baEvZnuEhFMjDx7qtAEtoIJNkhAb8OZASIZ
+Qt2D49Nub6TU+ACnravUMfSKDL584d2k9nlc7LkVrTlEqSQYA4=
=l6O7
-----END PGP SIGNATURE-----


N
(name . Efraim Flashner)(address . efraim@flashner.co.il)(address . 28004@debbugs.gnu.org)
20170831073649.ln3fhfj6l33kha46@abyayala
Efraim Flashner transcribed 2.2K bytes:
Toggle quote (3 lines)
> This built on aarch64 on core-updates in about 12.5 hours. I did need to
> add the following substitution* to the package definition.

As core-updates has been merged now, is this package good
to go? I could build it on my x86_64 builder this afternoon
if it requires one more check.
--
ng0
GnuPG: A88C8ADD129828D7EAC02E52E22F9BBFEE348588
-----BEGIN PGP SIGNATURE-----

iQIzBAABCgAdFiEEqIyK3RKYKNfqwC5S4i+bv+40hYgFAlmnvJEACgkQ4i+bv+40
hYh6+A//ZRKWqt0lDh9zOKxk/jL4y64Q63Unt1/ENauWPzkgY6ZHl1ouQlLOPet9
fuA7b/KNfAgf4Q8S1Vn2TxAiCOfxV2W+FV7Xf98C8JoDcXuOFi1l5vDtWyLKnhQK
78mLWTCswa1go8Gp9e0HPKfUzs6EaxXiHmn3RYOWZJJpDFlY5v8mFn2uJ5/Cj4Le
21NdKb/TrBMOFoM5ULxzehXqGMg14wjwSD/Y427QY67hWM3cz1Qlpqra9mkoZXTU
KhUO3ruu4LBmjiJ3Szh6KaDaH+OpL3lE+GSjQByCTZ2c3IA9XQ49kZjELn+WFmxS
olGsdJxNKn7fypQKRP36fSSoSNfcl7dkEzuRsHXLDh7AbLVLtmqiQ0hUA8+EDVxA
TJWA7/2ArU1lsGGNsKW4aCq/rC8a2rHdNU6m4HFgU+IHoN/ei7GKtmheryMGgcQ9
MAiGFg9qh06TguX0A7GJPnBV1b7gQjPMweqB+rIbhOE/sDi+X6ppuYhkqrA5+Utr
KCyId4TKPZh1R+2wBrQzVgTfx+39semlxbUZgXkcoD0lF9ejz3FL5QvEjXG17Z1d
Rb/ZuWw2pg1MUSO4dNtak0pQ2juee8YAs2NgPLiHsvliDHROo7+XUn2IMeViOe3E
gHVlnypnATlvGFkxDlCxGAT3wpkDylCpmJauamOxC1Whxrh/Ndg=
=ezrJ
-----END PGP SIGNATURE-----


N
(name . Marius Bakke)(address . mbakke@fastmail.com)(address . 28004@debbugs.gnu.org)
20171010131949.y43plpzxbppvrigr@abyayala
Marius Bakke transcribed 43K bytes:
Toggle quote (13 lines)
> Hello Guix!
>
> Attached is a patch for Chromium, a popular web browser.
>
> It requires the new ld wrapper from 'core-updates' and a very powerful
> build machine (a quad-core Sandy Bridge Xeon uses 2-3 hours).
>
> Note that I cannot guarantee timely delivery of security updates. Major
> version upgrades are hugely painful, and almost always contain many
> high-severity fixes. Should we mention that in the description?
>
> Happy for any feedback.

Hi,

could this patch be merged into master now?
It would be too bad to see this gathering digitial dust.
--
ng0
GnuPG: A88C8ADD129828D7EAC02E52E22F9BBFEE348588
https://www.infotropique.orghttps://ng0.infotropique.org
-----BEGIN PGP SIGNATURE-----

iQIzBAABCgAdFiEEqIyK3RKYKNfqwC5S4i+bv+40hYgFAlncyPUACgkQ4i+bv+40
hYh+OA/8DL/2Ce/FbX+yHFPaTgTYTXIy7mnPQYChqSxitmC2V8ot9hsci9dOvPwu
bJXFc3vbC1OPaELaPkI0E7ZVBso8maApMy/Pp9ajNQwZxTxDfmcH7ofUc1lqS6z5
oBO6l0cd8golJedSpWBM2fiD6EsbgBA7gYGnND+1fJAdFkxvFWp7wmTekxfCjQKR
gWsPFtF1uOS+4fRoLHrlHBs5CMeiULOsJV6ju+amiUlBg5wziwaUz6X33c8JoOXM
Twa0vADwa4Lz1pO1IqMZCRAjitPuW6/bjYf3+D7PcW4OazxJ5f9C/NyYFnrAcmnr
sK7+rKs0JrfYvq/dSerhh+XKyf7wfapiHxEs3PeBmfnBPrTrTivaCJjdZAQM3KZQ
V1KXEQBcrvbQrIR5dEOw8/YdsfwR0lJSle3vWaL6/6AWeJ4T4r2rHgbiRyjN9djT
VVuLY81YnUmUrsC6rvZUXHzFIQmzwEooIif9jGAh+JsgXReZrlS5GLBNWMqKzJh5
skQl3DeDNtfs7Yg9X7eJqzoracnygCToC0rx55NmBGSJjH4Sb4eA3D9GQ2q+xKfQ
bQoJIhN5zHaLEyy4UxUYmvv3DEvvzWlck3VJ3SGYBfpwMo3+RJ8I8VErcblDRdEe
jt8uzWb6hNPhAErr0JFOcjm8xh2gcGqB8wPQAvrhjiAGDjtx8PI=
=SY74
-----END PGP SIGNATURE-----


L
L
Ludovic Courtès wrote on 11 Oct 2017 21:52
87lgkha2cx.fsf@gnu.org
Hi!

ng0 <ng0@infotropique.org> skribis:

Toggle quote (18 lines)
> Marius Bakke transcribed 43K bytes:
>> Hello Guix!
>>
>> Attached is a patch for Chromium, a popular web browser.
>>
>> It requires the new ld wrapper from 'core-updates' and a very powerful
>> build machine (a quad-core Sandy Bridge Xeon uses 2-3 hours).
>>
>> Note that I cannot guarantee timely delivery of security updates. Major
>> version upgrades are hugely painful, and almost always contain many
>> high-severity fixes. Should we mention that in the description?
>>
>> Happy for any feedback.
>
> Hi,
>
> could this patch be merged into master now?

Probably (I think at the time Marius submitted it the ‘ld’ wrapper
enhancements were not in ‘master’ yet.)

For the security aspect though, given that it’s a fairly critical
component, I’d like to have Leo’s opinion. Thoughts?

Toggle quote (2 lines)
> It would be too bad to see this gathering digitial dust.

Indeed!

Thanks,
Ludo’.
L
L
Leo Famulari wrote on 12 Oct 2017 21:56
(name . Ludovic Courtès)(address . ludo@gnu.org)
20171012195628.GA31843@jasmine.lan
On Wed, Oct 11, 2017 at 09:52:46PM +0200, Ludovic Courtès wrote:
Toggle quote (9 lines)
> ng0 <ng0@infotropique.org> skribis:
> > could this patch be merged into master now?
>
> Probably (I think at the time Marius submitted it the ‘ld’ wrapper
> enhancements were not in ‘master’ yet.)
>
> For the security aspect though, given that it’s a fairly critical
> component, I’d like to have Leo’s opinion. Thoughts?

Any questions in particular?

For me, the primary question is maintenance.

As Marius pointed out when sending the patch, major version upgrades may
be difficult, and timely delivery of security updates cannot be
guaranteed. But these caveats apply to every package. [0] They aren't a
reason to exclude Chromium from Guix.

Now, if we add the Chromium package and then let if fall behind for
weeks or months, that will be a problem, and we will need to remove it.
It's relatively easy to remove packages of end-user applications, since
it's rare that other packages depend on them.

As always, I'm willing to help with security updates as much as my
volunteer schedule allows.

The other issue will be bugs caused by the use of non-bundled libraries.
Presumably, important bugs are fixed in the bundled libraries before
they are released by the upstream library (if ever). But again, this is
an issue with all of our packages. We will address these issues when we
find them.

There was a new release last month, 61.0.3163. I'd like to try updating
to it this weekend if I have the disk (does anyone know how much is
required) and computing power. Then we can push :)

[0] Users who really need to rely on the security of Chromium or Chrome
should use the "official" installation from the Chromium or Google
teams, and turn on auto-updates. Every update can be expected to fix
critical bugs.
-----BEGIN PGP SIGNATURE-----

iQIzBAABCAAdFiEEsFFZSPHn08G5gDigJkb6MLrKfwgFAlnfyOkACgkQJkb6MLrK
fwhMuRAAzRlNHHyaU11WhgvdpnUdH/cN4sKNUW9sYQdigUSq+CnFEvCAK2WonkH9
D6+jfgcmZDL4d1/h/e8dIuA8+3SpL7sisrYhqrwxnIm7DmFEIAmM783QM0Z80+NF
V1MdC7LBb5Rho5cRbXdMQxIGz8BbgEzwZFgjvpuAeMAkKhX46LP3S8f/NYm8obpN
TmZhrRtFEzMkYa5Z3RPgeMEaxiyFmUSExppguhjbXeMuW6/Gl161lV6mF6AD6qza
ExT0YY+xF5w3o+k3i80mfKzA9XPH9mi7LWbRuaORgO0OiNqyw6mP+rUaJfMwE0n7
ZTglRIL1iJgCXteTp9zl/EJOAcNUvVVuKR9kHOMaz1VIFvmhtscMRirHkWDd47iH
4SvmkbQ9qvMDUne59uulQKC7p08R8hG+IG+ZJUHEa7i3/lLeCAkb3jS1GbSVXQ0w
vJFDBfg5IKmHDGLgA8niZxmVFmHva6L0neoT5RMkeuRLYw0Z8Wpgbl7Y21UyoLKL
bsehhMC+kVBtMvA+y2F0rYHlTOkYxKL9j576as1OvJjaLm+jJHlKlrnUYMAA8oud
xYSL88sqGEgJ9JiRusf+Ehrres+CAYxuNJItqSRzQmyLBKl7NReDCGtuOAGAMcMC
dYH3FFgCBalyqDX0xifPOSlaoMxEQfGeUV1jmBMxEygwctL+330=
=GPw3
-----END PGP SIGNATURE-----


N
(name . Leo Famulari)(address . leo@famulari.name)
20171012202818.kuxrucng2xbvabo3@abyayala
Leo Famulari transcribed 2.9K bytes:
Toggle quote (37 lines)
> On Wed, Oct 11, 2017 at 09:52:46PM +0200, Ludovic Courtès wrote:
> > ng0 <ng0@infotropique.org> skribis:
> > > could this patch be merged into master now?
> >
> > Probably (I think at the time Marius submitted it the ‘ld’ wrapper
> > enhancements were not in ‘master’ yet.)
> >
> > For the security aspect though, given that it’s a fairly critical
> > component, I’d like to have Leo’s opinion. Thoughts?
>
> Any questions in particular?
>
> For me, the primary question is maintenance.
>
> As Marius pointed out when sending the patch, major version upgrades may
> be difficult, and timely delivery of security updates cannot be
> guaranteed. But these caveats apply to every package. [0] They aren't a
> reason to exclude Chromium from Guix.
>
> Now, if we add the Chromium package and then let if fall behind for
> weeks or months, that will be a problem, and we will need to remove it.
> It's relatively easy to remove packages of end-user applications, since
> it's rare that other packages depend on them.
>
> As always, I'm willing to help with security updates as much as my
> volunteer schedule allows.
>
> The other issue will be bugs caused by the use of non-bundled libraries.
> Presumably, important bugs are fixed in the bundled libraries before
> they are released by the upstream library (if ever). But again, this is
> an issue with all of our packages. We will address these issues when we
> find them.
>
> There was a new release last month, 61.0.3163. I'd like to try updating
> to it this weekend if I have the disk (does anyone know how much is
> required) and computing power. Then we can push :)

Around 8 GiB for a full build as far as I know, that is when you include
debbuging symbols. So it's less than 8 GiB.

Toggle quote (4 lines)
> [0] Users who really need to rely on the security of Chromium or Chrome
> should use the "official" installation from the Chromium or Google
> teams, and turn on auto-updates. Every update can be expected to fix
> critical bugs.
--
ng0
GnuPG: A88C8ADD129828D7EAC02E52E22F9BBFEE348588
https://www.infotropique.orghttps://ng0.infotropique.org
-----BEGIN PGP SIGNATURE-----

iQIzBAABCgAdFiEEqIyK3RKYKNfqwC5S4i+bv+40hYgFAlnf0GIACgkQ4i+bv+40
hYhDYQ/7BEycQQ89P6BWD45IXq/kk5va4Nk40CSFiZlI+Ja3FJAIiPGX1PzAxEQJ
Rc8nl0bsUt+wkkAyOsShGktFXmIgHdgJ+QpqOSv/pZVu5tcV3hZ0wq8Df0X6rIDL
1l3+KEzlHwlphzGk/lrvKot5Np/OiTSWTNE8iRnvlqSxKBv4g/o5PNup9fuvNCsd
QRn9Mlm42sCm+g4Jg9Qr+xN6qOBadVutG6NFfPHPIAVAiLoe4nx6JcZX+xs2xEvw
PJbmQlRp4ObkDUo3rC+AS/++tGhE3bpI4BWGlmePpBQdiRDMVlNkA73o5HfNjKzt
S14Isrzd3ri6xuWMri8aOMCgwJeRdleqrPENpXukl2cQLx5uBj5BrQRe1lEnfgVM
PE9jBq7dZVwTDNNFy6NgTmodM+oucJHE4ILN3ZPnj4meARQVZUZ7cfeFL3uRozdR
jBxo4WdCt4W4QtdqvbpvE9YoiRPStcFJSoWCR9ZqhD13rcBBhMuXR8kUdB6erZ/J
U4iiMqiAp7GZvzV6SQp/99II3Ym3PeTcB0RT16HVuX9mJDiKRANAwebfkeVSJ3yk
Kv9Z+NotWFSDq4m3Ha86c0/+w8Nyv7wwM2b9p5i4iLGby1WapsRaJUaghAhPPujn
wl8WqgreaZ6KAS5B1NJC12FPEC3uZln4BbYDn85Vt/oUn389NJ0=
=zg6Y
-----END PGP SIGNATURE-----


L
L
Ludovic Courtès wrote on 13 Oct 2017 08:51
(name . Leo Famulari)(address . leo@famulari.name)
87shensfq6.fsf@gnu.org
Heya,

Leo Famulari <leo@famulari.name> skribis:

Toggle quote (12 lines)
> On Wed, Oct 11, 2017 at 09:52:46PM +0200, Ludovic Courtès wrote:
>> ng0 <ng0@infotropique.org> skribis:
>> > could this patch be merged into master now?
>>
>> Probably (I think at the time Marius submitted it the ‘ld’ wrapper
>> enhancements were not in ‘master’ yet.)
>>
>> For the security aspect though, given that it’s a fairly critical
>> component, I’d like to have Leo’s opinion. Thoughts?
>
> Any questions in particular?

Not really, I was wondering about the Marius’ warning as to the
difficulty of keeping it up-to-date.

Toggle quote (7 lines)
> For me, the primary question is maintenance.
>
> As Marius pointed out when sending the patch, major version upgrades may
> be difficult, and timely delivery of security updates cannot be
> guaranteed. But these caveats apply to every package. [0] They aren't a
> reason to exclude Chromium from Guix.

Right. A browser is particularly sensitive though.

Toggle quote (14 lines)
> Now, if we add the Chromium package and then let if fall behind for
> weeks or months, that will be a problem, and we will need to remove it.
> It's relatively easy to remove packages of end-user applications, since
> it's rare that other packages depend on them.
>
> As always, I'm willing to help with security updates as much as my
> volunteer schedule allows.
>
> The other issue will be bugs caused by the use of non-bundled libraries.
> Presumably, important bugs are fixed in the bundled libraries before
> they are released by the upstream library (if ever). But again, this is
> an issue with all of our packages. We will address these issues when we
> find them.

Yeah.

Toggle quote (4 lines)
> There was a new release last month, 61.0.3163. I'd like to try updating
> to it this weekend if I have the disk (does anyone know how much is
> required) and computing power. Then we can push :)

Sounds like a plan!

Toggle quote (5 lines)
> [0] Users who really need to rely on the security of Chromium or Chrome
> should use the "official" installation from the Chromium or Google
> teams, and turn on auto-updates. Every update can be expected to fix
> critical bugs.

I get your point, but OTOH getting binaries from Google is not something
I feel like recommending. :-)

I think we should make sure that our package does not call home in any
way. That’s what I expect from a security- and privacy-conscious
distro.

WDYT?

Thanks for your feedback!

Ludo’.
M
M
Marius Bakke wrote on 19 Oct 2017 00:41
87o9p45bb6.fsf@fastmail.com
Ludovic Courtès <ludo@gnu.org> writes:

Toggle quote (4 lines)
> I think we should make sure that our package does not call home in any
> way. That’s what I expect from a security- and privacy-conscious
> distro.

Currently, it calls home at first launch, prompting for a login. But
I've verified that it does not send any unsolicited requests for
subsequent startups, as long as the user does not change the
command-line flags.

Anyway I'm attaching the current iteration of this patch. Chromium 62
is out today, I'll try to update this weekend and will push it after
that in lieu of other feedback.

I would be very happy if someone managed to complete the 62 upgrade
before me, however! ;-)
-----BEGIN PGP SIGNATURE-----

iQEzBAEBCgAdFiEEu7At3yzq9qgNHeZDoqBt8qM6VPoFAlnn2H0ACgkQoqBt8qM6
VPpwOwf/UD+ihwoQbrbiP0UE8gzYMbFb35Xnsc5klnFLYaqBsZiz1fCLYq6KGYhQ
T7GLDQjdb88Hftlw/byGgbLUAsAC62StpwxZtLjYf2RffF88YYZCe6PP/RBy+1LK
r56iTWGF/+wEJ5WkkWabRkc+msvQAfO71qYDXNoTcHZ+fpzG0Z2iPvbGOAByRcyM
NyR3oaEX4y6LT0SpbmMBZm25VBwtko9rjZDx7PllJRYPuYwJV3ErYJ9LFfwuGZW/
lR+qOSFQYjgpvTfYio5ujFwFLaNRQ8esXmkR34uQC3tsdYpO7Lb/9wIcmsS/7q5j
nRdSYO9O1fA+Rq6muVY4qvFBzch+4g==
=KE1Q
-----END PGP SIGNATURE-----

N
(name . Marius Bakke)(address . mbakke@fastmail.com)
20171019054822.mka2hpj5bkgiuypd@abyayala
Marius Bakke transcribed 37K bytes:
Toggle quote (11 lines)
> Ludovic Courtès <ludo@gnu.org> writes:
>
> > I think we should make sure that our package does not call home in any
> > way. That’s what I expect from a security- and privacy-conscious
> > distro.
>
> Currently, it calls home at first launch, prompting for a login. But
> I've verified that it does not send any unsolicited requests for
> subsequent startups, as long as the user does not change the
> command-line flags.

Could the first launch just be a matter of changing what gets
displayed at first launch? At least that's my current plan
for meissa (my fork of Pale Moon), where the default is to
visit a tracker including homepage.
--
ng0
GnuPG: A88C8ADD129828D7EAC02E52E22F9BBFEE348588
https://www.infotropique.orghttps://ng0.infotropique.org
-----BEGIN PGP SIGNATURE-----

iQIzBAABCgAdFiEEqIyK3RKYKNfqwC5S4i+bv+40hYgFAlnoPKYACgkQ4i+bv+40
hYh09RAAhelOJx69ja+YavLTuyPLHv4mNVveB/Ul3UMgyuuxL8F6+VjNt8knIRj0
AH90jfv+/iR5S2nngpl1IZJVsF8BZaRwueCSRgcDzlNrT0/YuT7Kh9wC9LCNLUXC
FHsGPLIr6Qbu8nV0lGdYgMn+fKn3iGUDFWwHG6JkYrA7/H/s1ZC/Rmb+SQY4y71H
2AEI1PmZ3H4E0MbMN4RQviXb82E6SeAh2DU8xWWEgI9u6w7FFj+zA5qLMG2aPvDa
egl/t7+FghWalo906BcwhmKQB7NZ9CqXqOGeoPjsFyvGxN3ORr0oWS+gd5k9hv5s
BpTfifCr7p3SHqwGNGos07eorO9sD/7L9hUQa3Oc+I3Bp5WCBSDDXzmtFYOoTKXw
rD3xntMTGDaN68K0MNm4EPffIZZZcVfgQd+/LjIyTLlyD0KxfDJT9jfFjDOk2F2O
R5CNuzhjD6S266Jga4LaAo0AHXHh3Oli7Nwcf+J97WY5IQ6jr6Uu99pqhbSocMrb
fZWnw6KKRkJ3ib+pBi7Ua1GxoV+FdtRgu0vXR4ZbRKutmAVELPA/PSu/YZGV3zl8
02B9aZVGLYsEU5JJ3+WdsHUDpFYcDbhtIqCRL2BZgbxds1XR60mHn5lWxQptmaDe
X+ozafIk2XdYN/XNBfrWSsfdTMOhvYsWRfEorIjDcAWnBrB6ds4=
=jfkQ
-----END PGP SIGNATURE-----


M
M
Marius Bakke wrote on 24 Oct 2017 23:11
(name . Leo Famulari)(address . leo@famulari.name)(address . 28004@debbugs.gnu.org)
87efpsz1xt.fsf@fastmail.com
Marius Bakke <mbakke@fastmail.com> writes:

Toggle quote (4 lines)
> Anyway I'm attaching the current iteration of this patch. Chromium 62
> is out today, I'll try to update this weekend and will push it after
> that in lieu of other feedback.

Here is the interdiff for the 62 upgrade. I mixed in some unrelated
changes after reading through Debians 61 refresh[0] and Archs 62
update[1], but overall it was straightforward (apart from the slow
hack-test-fix cycle).
Attachment: chromium-62.diff
Below is the full patch for convenience. I plan to commit it on Friday
or Saturday, after a cosmetic check. Especially the description could
use some work, and the grouping of "configure flags".

One final note for future contributors is that Gentoo[2] is kind-of
upstream for Chromium, as ChromiumOS is based on Portage and I've seen
several Gentoo developers on the Chromium bug tracker. They often have
early compatibility patches (e.g. when it invariably breaks with GCC).

-----BEGIN PGP SIGNATURE-----

iQEzBAEBCgAdFiEEu7At3yzq9qgNHeZDoqBt8qM6VPoFAlnvrG4ACgkQoqBt8qM6
VPoBVAf/UbHKaag7cX0rOfVE+gMfe7MhXHLHsOI8gDTx5UXKqvta+hg5iWiEX2Of
AE0prNmx/u7DQc0MXVi3USpC1fmC8W6W/wI4L0rrgYDQzAyGqayNjVqiTIDB0CH/
iFaFSAMLoyy+oB5+IAAp7P0pLeCufIPxUcorMlzJ+snC7HEKtEItGLDFFkx6jWr4
MEaLLGVnd7RfgZmbO5bGei4sd8uLLwQ3xyPP4hBwLKBhgmcNsw8Ep6bHS0eMLzrn
bugXnAzrqzNcobUnFPvYDBXUe7RhfVJlY+2U378Kw/jpPq95qx+tyDBffWXY+U1x
fiFTjxeGlE/ezAdBOwxs2QWltSPb0w==
=IUER
-----END PGP SIGNATURE-----

M
M
Marius Bakke wrote on 6 Nov 2017 00:52
87o9og4727.fsf@fastmail.com
Marius Bakke <mbakke@fastmail.com> writes:

Toggle quote (11 lines)
> Ludovic Courtès <ludo@gnu.org> writes:
>
>> I think we should make sure that our package does not call home in any
>> way. That’s what I expect from a security- and privacy-conscious
>> distro.
>
> Currently, it calls home at first launch, prompting for a login. But
> I've verified that it does not send any unsolicited requests for
> subsequent startups, as long as the user does not change the
> command-line flags.

I tried picking two other Debian patches[0][1] to see if it helped with
the annoying splash screen and decided to verify whether the browser
still "calls home" from a clean profile. The last time I checked was
many versions ago.

After dismissing the sign-in dialog, the "New Tab Page" loads a regular
Google search bar, and "pre-fills" two of the "most commonly used" slots
with Chrome URLs, (still) downloading a bunch of data in the process.

Not great, but maybe we could live with that if it was just for the
first run (it wasn't; had to change search engine to prevent the New Tab
Page from calling the mothership).

To my great surprise, while watching tcpdump from a different window, it
also called home *when I switched windows*. Every time the Chromium
window was activated, some data was sent to Google servers.

Going into settings and toggling the "Use a prediction service to help
complete searches and URLs typed in the address bar" option (to off)
disabled that behaviour.

Not very confidence-instilling.

I'm going to try to incorporate the "Inox Patchset"[2], which is a set
of patches that attempts to remove all such misfeatures from Chromium.
They seem to have managed to stay on top of recent Chromium development,
unlike two other prominent privacy-focused "forks", so I'm optimistic.

But it might take some weeks before the next update. Stay tuned..

-----BEGIN PGP SIGNATURE-----

iQEzBAEBCgAdFiEEu7At3yzq9qgNHeZDoqBt8qM6VPoFAln/pEAACgkQoqBt8qM6
VPq3VwgAycCAXzPEfUOb40FCNfmgCvYld4O8BdaTtDXhFj6DzMqdVXq3jNddGpDn
xMKRHZPCEKFAzNeh2a+YAW2m1isPnw6EQywJl4jXnMSUVhFUSZiNQB4NTTVxYeCL
Z51yjQcYBBfJvcS0b40V2Lq0Ij8LRu4rasrLQICiHtypFxoOToy5640P3KVP9nAL
re1Y6IUL57YUzc0kEkgpspb0hh2gNOQb7/tW9H5v15Ecd0vhF57SYil1H+GNRbac
7hCK5D4MbDeYobrXo4pwjh4FPjwwA66/jPU0xV9C7YLLok7Upxa448P40qxhg95G
BtMhSAlvts54B7X1RPcLY0gaSE8CIg==
=1ceO
-----END PGP SIGNATURE-----

A
A
Adonay Felipe Nogueira wrote on 10 Nov 2017 12:33
(address . guix-patches@gnu.org)
877euy8j2m.fsf@hyperbola.info
As a continuation, directory-discuss started to discuss the Chromium
issue once again ([1]).


Marius Bakke <mbakke@fastmail.com> writes:

Toggle quote (35 lines)
> I tried picking two other Debian patches[0][1] to see if it helped with
> the annoying splash screen and decided to verify whether the browser
> still "calls home" from a clean profile. The last time I checked was
> many versions ago.
>
> After dismissing the sign-in dialog, the "New Tab Page" loads a regular
> Google search bar, and "pre-fills" two of the "most commonly used" slots
> with Chrome URLs, (still) downloading a bunch of data in the process.
>
> Not great, but maybe we could live with that if it was just for the
> first run (it wasn't; had to change search engine to prevent the New Tab
> Page from calling the mothership).
>
> To my great surprise, while watching tcpdump from a different window, it
> also called home *when I switched windows*. Every time the Chromium
> window was activated, some data was sent to Google servers.
>
> Going into settings and toggling the "Use a prediction service to help
> complete searches and URLs typed in the address bar" option (to off)
> disabled that behaviour.
>
> Not very confidence-instilling.
>
> I'm going to try to incorporate the "Inox Patchset"[2], which is a set
> of patches that attempts to remove all such misfeatures from Chromium.
> They seem to have managed to stay on top of recent Chromium development,
> unlike two other prominent privacy-focused "forks", so I'm optimistic.
>
> But it might take some weeks before the next update. Stay tuned..
>
> [0]
> <https://anonscm.debian.org/cgit/pkg-chromium/pkg-chromium.git/tree/debian/patches/disable/promo.patch>
> [1]
> <https://anonscm.debian.org/cgit/pkg-chromium/pkg-chromium.git/tree/debian/patches/disable/external-components.patch>
> [2] <https://github.com/gcarq/inox-patchset>
N
(name . Marius Bakke)(address . mbakke@fastmail.com)
20180104191648.custe7w3l57fvbac@abyayala
Attachment: file
-----BEGIN PGP SIGNATURE-----

iQIzBAABCgAdFiEEqIyK3RKYKNfqwC5S4i+bv+40hYgFAlpOfaAACgkQ4i+bv+40
hYgbwA/+MkmSWzs84ZAEAJC0cI8nvwE+cSplcQReUxebkDacVOykqBHti2cds3+l
cO7ovSd8U0VifKZ3j3HkR7UGxdRIfbwwrdQzcpm4TBe34LO0iXMGnRv26EgQ7HZQ
9cHjDHVaB8vmlH5IFZJu95K7dkgYiPu+BxbD9dYlr4V7c1KLs/aQflCnh9Ymcknd
7SyTfxr5XXgMd4BDZKerDTqa0ccdH57WujybEuzOmfRnH7L9Wr3tzQ7njh2qRLMZ
Aiz+P6KWfnnKOb9iaxvaK7YGH0B3yCl6yz/9D+0JYmZLQiwA3t2obqr1cwcZLrOv
OsZ+fwSPLqUaRvXlCskeZbmCT20XW142p5q9eo/BuMB38p99IgoiXKFnzrDDjWxv
mK8X56rodgjMdHI3HwEFDJ1E4MnLzfBQdMNusCTqrzTNd7SsgnYDChRFZc1Yshif
+J/83Izu4M7Aq6XXYzNMXLCmdtnGFCxBnYvkbImbvnEeK/WiSxHNbIVZsLUWudw1
QWyE4sJDT6K0lq9yOh0Bpm7v2AkgT4XprFIw61Ps4C8vj3pwcqhaw8DBera7GHQh
ZSJ5uf8GHSGGP1b7Ah8H6XAFEXveXaGFaKFSsJ7KwdGgOXVLjfMElAozfzTe8KJq
3UE+VwuoCTOnsGM5HMHOS2/c8gGriQ6Wf4YPC7uPeoODGthYzRk=
=J5lQ
-----END PGP SIGNATURE-----


M
M
Marius Bakke wrote on 8 Jan 2018 22:56
(name . ng0)(address . ng0@n0.is)
87wp0s2ewl.fsf@fastmail.com
ng0 <ng0@n0.is> writes:

Toggle quote (9 lines)
>> + (substitute* "chrome/common/chrome_paths.cc"
>> + (("/usr/share/chromium/extensions")
>> + ;; TODO: Add ~/.guix-profile.
>> + "/run/current-system/profile/share/chromium/extensions"))
>
> What's the idea behind this? Did you test it? Do you have any guix build-system
> using Chromium extensions as an example? So far this completely disables the
> installation of any plugins and addons.

The idea is to eventually be able to distribute extensions with Guix. I
added this path mostly to document it, but don't see how keeping the
default makes a difference. If you can place an extension in
/usr/share, you can also copy it to the system profile through your
config.scm, or symlink this location on a foreign distribution.

Toggle quote (8 lines)
>> + (mkdir-p bin)
>> + ;; Add a thin wrapper to prevent the user from inadvertently
>> + ;; installing non-free software through the Web Store.
>> + ;; TODO: Discover extensions from the profile and pass
>> + ;; something like "--disable-extensions-except=...".
>
> Same question here.

The Web Store has serious freedom issues, thus we can not enable it by
default. Enabling it *must* be a conscious choice by the end user.

The TODO here is inspired by Debians wrapper script, which enumerates
the location where apt places extensions, and gives that list to
"--disable-extensions-except".

Toggle quote (4 lines)
> If you need help, there's at least 3 users of Chromium now. I'd like to read
> your ideas on how to solve the TODOs, aswell as: Do you have any unpushed
> progress? Maybe we can team collaborate on this huge browser.

I do maintain this patch, but unfortunately not in a public repository.
I've attached the latest iteration here (sorry for squashed).

New since the last time are some fixes from the "Inox patchset" that
resolves most of the privacy issues. Namely removing the "login
wizard", changing to sensible defaults, and forcing the "classic" New
Tab Page that does not load a search engine.

Also, all patches have been moved to remote origins.

Testing and feedback welcome!

Currently there are two "important" (blocking?) TODOs left:

* Move the 'delete-bundled-software' phase to a source snippet.
Repacking the ~500MiB compressed tarball is *really* expensive. It
should also aid the licensing situation.
* Delete the two default entries from the "most used" list on the New
Tab page. The first run will download thumbnails for these sites,
leaking data. One of them also leads to the disabled-by-default
store, promoting non-free software.

I'm optimistic that fixing the second item will make the browser not
leak *any* data at launch with the default configuration. Which leads
to a third item: writing a system test that verifies that launching
Chromium does indeed not initiate any network traffic.

Anyway, here is the latest patch:
-----BEGIN PGP SIGNATURE-----

iQEzBAEBCgAdFiEEu7At3yzq9qgNHeZDoqBt8qM6VPoFAlpT6QoACgkQoqBt8qM6
VPpUtwgAq+kfYJHXhUn4kFeWpKffMt3woWyztcTHYrKaoqGIwpnR41+/tom/8yf2
qsdcmoD7p632w/ZrFtuDKhq28IriFi0cHZqmnacZU2Y1/9+UlQf7DmQYO2RdV5Rl
RNlAFVSO+vhuAzMTwhXePAg1vDHWUGpF/vuy6GTyzhehoG/bKIY+t0xIaAL4ViBI
6/Lw/Fh/+QfCruGHs4x58sG0CMQM38xdrsK4hQS/ywX1Sz0zPSzckXlnthb0E18q
VzHqBAh80EOGZ3NubX9u46gW0d+n4vlgtGlY4RirUBJ3TZKVsrN604bpV+LNSs4p
pY7dXovy62hkYISj0J3Ax3e3ZbrOTg==
=u9L2
-----END PGP SIGNATURE-----

N
(name . Marius Bakke)(address . mbakke@fastmail.com)
20180108232042.nqjurjr2bcfl2yyc@abyayala
Attachment: file
-----BEGIN PGP SIGNATURE-----

iQIzBAABCgAdFiEEqIyK3RKYKNfqwC5S4i+bv+40hYgFAlpT/MoACgkQ4i+bv+40
hYjbrQ//Zjn3rfUb3Q59OwOO0JE2rGEzFxTF3jCDI3vqiZSIMNcadFVh9bqovElj
kyJSMznAPMt/tysticouvpO4nOe8mnPT15E6+LbYfHM1RIEvp/wlliUQhgGVbPQZ
YA/Jn8PNpJmibh8EKVFzqvYH4eYZ7RvRChqPDpaDKTZpl6qjIwHe9lAzX+N8nky/
oSS3d+qYq1f8j3UzhbP/3qGHxkHS+mD/ee0NqrMd8kaQ4jUJ2cZFAlzuWrszaefF
gSXw+hTPuXlv0lqGQEV9AFg5nrk86n3o1cNjfAIZpsbC3pZGnJ6mlnzlvdn/wLAm
CZ7oeQStZEbvQcFAfsdc5IefZubMSLo+D5ha0toeQpBslmfzORep+3l/6ubN2Dgn
q0lidy4mr6YWyTfzoMnBJFnkWyGUnUs8lxXwcizhT719pWNcTmxvgA6LRqIYZbhV
ujIFb+VkzcuQw3wsm8Tn7+K8mFuKNS2rwQGKeuuo73IrvPAki4HylxpSJ5rpK2Rk
kQTt78OaJbYpB1MfbarIknDJxmMBrLLX8emTwrhZk8BDKcn2WxRE6DT9a5V5Urw1
oBkOLQBT56nyRzRvPEFG5Uvi9uZUZzpJDnALKpU2Of0DE9GUuDWaXWNxcqyB7trc
hf87C7YW4EbVE58uksIx2EZUX/QVTgNrOJVQHwM4WyQJSCDNu6M=
=Lewy
-----END PGP SIGNATURE-----


M
M
Marius Bakke wrote on 9 Jan 2018 00:40
(name . ng0)(address . ng0@n0.is)(address . 28004@debbugs.gnu.org)
87vagb3oo6.fsf@fastmail.com
ng0 <ng0@n0.is> writes:

Toggle quote (7 lines)
> Many thanks for your ongoing work with this (and the patience :))
> As this is 63, you you are keeping track of Debian, right? I tried
> to package 64 a couple of days ago because I wanted the workaround
> for some of the recent security clusterfucks, but Debian is still
> on 63 :/
> I hope they'll update their patchset soon.

I track the upstream stable branch, which is currently 63.


-----BEGIN PGP SIGNATURE-----

iQEzBAEBCgAdFiEEu7At3yzq9qgNHeZDoqBt8qM6VPoFAlpUAVoACgkQoqBt8qM6
VPok2QgAvDcEaANEPdl0Jmoy2Ds6ZVfs5dkkFNQ1CukK5rcp4SWpnM7kn5GEc+3m
qLLFAmzLVpPjL6MVnw6/4FF4NFyZuDjNcfW1PkbMGU6F06dd9dclo3TsdfVvtSmQ
qJ8r2uPiOUQgkcxfqt85YUjHbguPvLluusykN5HeuF85w4J8scIJ9l9ZbqJTj0Xz
aMd83lx7x3ggd1RToPR5Y4rTHv6AvdQ4R3GQbU/ngnPXhEjSNyVvbGN2Id4PwRyd
F7YYX0SgGrEn1P7SPvGfQWdcZfe5xea5BuIZ/3z9FQ9k61J3rU9nUga3FHTH+EGH
Ne1FgA3HnXA6CDeUGJ6IZnVLQuxGtw==
=DXgb
-----END PGP SIGNATURE-----

N
(name . Marius Bakke)(address . mbakke@fastmail.com)
20180109065800.j2gfid7o6a6db2fv@abyayala
Marius Bakke transcribed 39K bytes:

Toggle quote (28 lines)
> Testing and feedback welcome!
>
> Currently there are two "important" (blocking?) TODOs left:
>
> * Move the 'delete-bundled-software' phase to a source snippet.
> Repacking the ~500MiB compressed tarball is *really* expensive. It
> should also aid the licensing situation.
> * Delete the two default entries from the "most used" list on the New
> Tab page. The first run will download thumbnails for these sites,
> leaking data. One of them also leads to the disabled-by-default
> store, promoting non-free software.
>
> I'm optimistic that fixing the second item will make the browser not
> leak *any* data at launch with the default configuration. Which leads
> to a third item: writing a system test that verifies that launching
> Chromium does indeed not initiate any network traffic.
>
> Anyway, here is the latest patch:
>

> From f813b2d7ec0728a906720fa74bf9f442af6ab10d Mon Sep 17 00:00:00 2001
> From: Marius Bakke <mbakke@fastmail.com>
> Date: Wed, 12 Oct 2016 17:25:05 +0100
> Subject: [PATCH] gnu: Add chromium.
>
> * gnu/packages/chromium.scm: New file.
> * gnu/local.mk: Record it.

I think you forgot a package:

gnu/packages/chromium.scm:664:5: icu4c-59.1: unbound variable



--
GnuPG: A88C8ADD129828D7EAC02E52E22F9BBFEE348588
WWW: https://n0.is/a/ :: https://ea.n0.is
-----BEGIN PGP SIGNATURE-----

iQIzBAABCgAdFiEEqIyK3RKYKNfqwC5S4i+bv+40hYgFAlpUZ/gACgkQ4i+bv+40
hYg+Xw/9HiYWwK9A98bhaH660mjWErXctm2ji130kuet22b/Y7KbyjL/ShmcOB/B
Bz7q7QcCTqsU7e1WMlFoIeeBMi7wKcMQxY5EnM7F1DfQkiKpIJF7XhXgPNq/EOHy
sHpUiI1pfbvtL+l6MVf7iCyzvveHC/iidt2eZczdAAGMTJoJ8psm3SK/Bg9kb24U
Y3o/GyXXpa6jx5hKN65aGlp/Pl8iAtFhzPlgwiHv8FKDzpUjhMKS2nAG53or2CiK
fvYwdVrxxkrgxqQnyg8ql42zY+O6YvT+xa26PyQUhnZW18NO2L3hDs6TnqCGB+kv
WA+3rjVzpVjMDJpTK1HOfY9YgZx+op7TBBGRujLhexbV32Cuwb3zQgDfRZSHaWN6
nW0lGWrVixNsDE/M0l+liItjh97ogU0kApyOmqKGDrWgo9x4bbglZHhYXMMqRinH
nLDvbPVNcmyKe71S92qdzZIPukwYpOCwpDsmZR9HHXdqCDpzOUQXhDb+leJBI2Bq
vJUiHB/QEhxn0l/G1xadjNUaLmz/euL7Xo4MGwMc1wikvP/LTGH4GMD3OMMEJ517
3cV1w0bYULL4cBTKIzpZ1SaYEJCDun3b87r57foYXI2lO8gSekCz7ay63VUhq6fj
1ISeqsNrejJSGTfHHaNHqSAxdw/m5K/KOEZtLKIMcMICkfPBS5I=
=OSHa
-----END PGP SIGNATURE-----


M
M
Marius Bakke wrote on 12 Jan 2018 01:03
(name . ng0)(address . ng0@n0.is)
876088eyff.fsf@fastmail.com
ng0 <ng0@n0.is> writes:

Toggle quote (34 lines)
> Marius Bakke transcribed 39K bytes:
>
>> Testing and feedback welcome!
>>
>> Currently there are two "important" (blocking?) TODOs left:
>>
>> * Move the 'delete-bundled-software' phase to a source snippet.
>> Repacking the ~500MiB compressed tarball is *really* expensive. It
>> should also aid the licensing situation.
>> * Delete the two default entries from the "most used" list on the New
>> Tab page. The first run will download thumbnails for these sites,
>> leaking data. One of them also leads to the disabled-by-default
>> store, promoting non-free software.
>>
>> I'm optimistic that fixing the second item will make the browser not
>> leak *any* data at launch with the default configuration. Which leads
>> to a third item: writing a system test that verifies that launching
>> Chromium does indeed not initiate any network traffic.
>>
>> Anyway, here is the latest patch:
>>
>
>> From f813b2d7ec0728a906720fa74bf9f442af6ab10d Mon Sep 17 00:00:00 2001
>> From: Marius Bakke <mbakke@fastmail.com>
>> Date: Wed, 12 Oct 2016 17:25:05 +0100
>> Subject: [PATCH] gnu: Add chromium.
>>
>> * gnu/packages/chromium.scm: New file.
>> * gnu/local.mk: Record it.
>
> I think you forgot a package:
>
> gnu/packages/chromium.scm:664:5: icu4c-59.1: unbound variable

Indeed. This can now be changed to use the regular "icu4c" package.

Tangentially, these kinds of problems are typical with new Chromium
releases. In 63 or later, system harfbuzz had to be disabled. If we
are going to carry this package, changes like these *will* be normal.

Upstream only tests their releases with Clang, and with the bundled
versions of packages, regardless of the unbundling script. Not great.
-----BEGIN PGP SIGNATURE-----

iQEzBAEBCgAdFiEEu7At3yzq9qgNHeZDoqBt8qM6VPoFAlpX+zQACgkQoqBt8qM6
VPqWtAgAvnDlgruvslsmvlTIZriBXiLl5VCYvD14DNcagotW/7W+BzT4ne5XdLcL
5vEtd0p8hwX2St2FpYGq8FpcKbazLDuA9qWAvFg3bGY8hyHCwLYHXFSHMoodAZbV
wlKxTZuXlmEKek0Wn1FNuCgqbh/iDLsf6hJ0fGRzS04EupEwI2IWArhsalKzMSvC
tKYynIDSNzMkRgfw6+MJKngqxahVyH31nTjB98RGVm4vYwzvZTKgpkdT9EIIVPIm
jBG9DYwedeiSKFIF86ptVfmho/iV8D/XnzTSnCCC/k+tnJToMhK2eghyAshFIG4z
Px/idB9WdG/XpMVmBgMfC1eLC01fdw==
=4q8R
-----END PGP SIGNATURE-----

M
M
Marius Bakke wrote on 12 Jan 2018 01:09
(name . ng0)(address . ng0@n0.is)
87373cey5b.fsf@fastmail.com
ng0 <ng0@n0.is> writes:

Toggle quote (7 lines)
> Many thanks for your ongoing work with this (and the patience :))
> As this is 63, you you are keeping track of Debian, right? I tried
> to package 64 a couple of days ago because I wanted the workaround
> for some of the recent security clusterfucks, but Debian is still
> on 63 :/
> I hope they'll update their patchset soon.

Indeed Google did not add the Spectre mitigation to Chromium 63, even
though the latest version was released after the fact.


For reasons that beat me, they only added it to the proprietary Chrome
browser, which follows the same version number as Chromium.

The attached patch adds Spectre mitigation to the current Chromium
release. The patch was pulled from the Chrome 64 branch:
From b011b57f357af97f3a003a3b1c481fc8bd2b869c Mon Sep 17 00:00:00 2001
From: Marius Bakke <mbakke@fastmail.com>
Date: Thu, 11 Jan 2018 14:36:47 +0100
Subject: [PATCH] gnu: chromium: Add spectre mitigation.

* gnu/packages/patches/chromium-spectre-mitigation.patch: New file.
* gnu/local.mk (dist_patch_DATA): Register it.
* gnu/packages/chromium.scm (chromium)[source]: Use it.
---
gnu/local.mk | 1 +
gnu/packages/chromium.scm | 3 ++-
gnu/packages/patches/chromium-spectre-mitigation.patch | 13 +++++++++++++
3 files changed, 16 insertions(+), 1 deletion(-)
create mode 100644 gnu/packages/patches/chromium-spectre-mitigation.patch

Toggle diff (47 lines)
diff --git a/gnu/local.mk b/gnu/local.mk
index 513f64043..89dab227c 100644
--- a/gnu/local.mk
+++ b/gnu/local.mk
@@ -575,6 +575,7 @@ dist_patch_DATA = \
%D%/packages/patches/ceph-skip-collect-sys-info-test.patch \
%D%/packages/patches/ceph-skip-unittest_blockdev.patch \
%D%/packages/patches/chmlib-inttypes.patch \
+ %D%/packages/patches/chromium-spectre-mitigation.patch \
%D%/packages/patches/clang-libc-search-path.patch \
%D%/packages/patches/clang-3.8-libc-search-path.patch \
%D%/packages/patches/clementine-use-openssl.patch \
diff --git a/gnu/packages/chromium.scm b/gnu/packages/chromium.scm
index dd040527b..1e9dba42e 100644
--- a/gnu/packages/chromium.scm
+++ b/gnu/packages/chromium.scm
@@ -240,7 +240,8 @@
%chromium-system-icu.patch
%chromium-system-nspr.patch
%chromium-system-libevent.patch
- %chromium-disable-api-keys-warning.patch))
+ %chromium-disable-api-keys-warning.patch
+ (search-patch "chromium-spectre-mitigation.patch")))
(modules '((srfi srfi-1)
(guix build utils)))
(snippet
diff --git a/gnu/packages/patches/chromium-spectre-mitigation.patch b/gnu/packages/patches/chromium-spectre-mitigation.patch
new file mode 100644
index 000000000..a44a3bce4
--- /dev/null
+++ b/gnu/packages/patches/chromium-spectre-mitigation.patch
@@ -0,0 +1,13 @@
+diff --git a/content/public/common/content_features.cc b/content/public/common/content_features.cc
+index 43feb76..33a49b8 100644
+--- a/content/public/common/content_features.cc
++++ b/content/public/common/content_features.cc
+@@ -308,7 +308,7 @@
+
+ // http://tc39.github.io/ecmascript_sharedmem/shmem.html
+ const base::Feature kSharedArrayBuffer{"SharedArrayBuffer",
+- base::FEATURE_ENABLED_BY_DEFAULT};
++ base::FEATURE_DISABLED_BY_DEFAULT};
+
+ // An experiment to require process isolation for the sign-in origin,
+ // https://accounts.google.com. Launch bug: https://crbug.com/739418.
--
2.15.1
-----BEGIN PGP SIGNATURE-----

iQEzBAEBCgAdFiEEu7At3yzq9qgNHeZDoqBt8qM6VPoFAlpX/KAACgkQoqBt8qM6
VPp9Ugf9EcLGWsYQsyktXTYY7fo37j1CKGiXuzbBtyXpJGWCAz8MBHVC0qA1H7Lf
EhK7HBpf1dybG7yyIC2M5wV9wMi8y1fB0m05HNH5JmYoVe1oZFtdaeV8XFNmLxqa
Gjh9SOwo41YTX+tPciv1Z0Y6i+4XBYSaSw8FUh9Xm1E3ceJHBVx3GNsde9KZ4Vng
twCWeii97hhnnmKjhZ67B/AzuvJz2ar5AmHaj8nL8wAlK1xd14l7O2LGAKeLQe0x
+R/0ihjae/y2SUnnffOt0k9X9oqYF/E59QKArY//8j/aoMJtbKYZfu+pEoYIjrdF
z5TOdQR6W0ePo1gOPE37bIgMAhj3Yw==
=8mQZ
-----END PGP SIGNATURE-----

N
(name . Marius Bakke)(address . mbakke@fastmail.com)
20180112093819.763dsyiuxcyreh5z@abyayala
Marius Bakke transcribed 2.3K bytes:
Toggle quote (38 lines)
> ng0 <ng0@n0.is> writes:
>
> > Marius Bakke transcribed 39K bytes:
> >
> >> Testing and feedback welcome!
> >>
> >> Currently there are two "important" (blocking?) TODOs left:
> >>
> >> * Move the 'delete-bundled-software' phase to a source snippet.
> >> Repacking the ~500MiB compressed tarball is *really* expensive. It
> >> should also aid the licensing situation.
> >> * Delete the two default entries from the "most used" list on the New
> >> Tab page. The first run will download thumbnails for these sites,
> >> leaking data. One of them also leads to the disabled-by-default
> >> store, promoting non-free software.
> >>
> >> I'm optimistic that fixing the second item will make the browser not
> >> leak *any* data at launch with the default configuration. Which leads
> >> to a third item: writing a system test that verifies that launching
> >> Chromium does indeed not initiate any network traffic.
> >>
> >> Anyway, here is the latest patch:
> >>
> >
> >> From f813b2d7ec0728a906720fa74bf9f442af6ab10d Mon Sep 17 00:00:00 2001
> >> From: Marius Bakke <mbakke@fastmail.com>
> >> Date: Wed, 12 Oct 2016 17:25:05 +0100
> >> Subject: [PATCH] gnu: Add chromium.
> >>
> >> * gnu/packages/chromium.scm: New file.
> >> * gnu/local.mk: Record it.
> >
> > I think you forgot a package:
> >
> > gnu/packages/chromium.scm:664:5: icu4c-59.1: unbound variable
>
> Indeed. This can now be changed to use the regular "icu4c" package.

Okay, will change. Thanks!

Toggle quote (7 lines)
> Tangentially, these kinds of problems are typical with new Chromium
> releases. In 63 or later, system harfbuzz had to be disabled. If we
> are going to carry this package, changes like these *will* be normal.
>
> Upstream only tests their releases with Clang, and with the bundled
> versions of packages, regardless of the unbundling script. Not great.

Yeah. I've been there, and read the frustration of other packagers
when I worked on getting a basic skeleton of chromium + dependencies
ready one(?) year ago.
--
GnuPG: A88C8ADD129828D7EAC02E52E22F9BBFEE348588
WWW: https://n0.is/a/ :: https://ea.n0.is
-----BEGIN PGP SIGNATURE-----

iQIzBAABCgAdFiEEqIyK3RKYKNfqwC5S4i+bv+40hYgFAlpYggoACgkQ4i+bv+40
hYjN4Q/+KGObsSC509gmQg5SnAMBjF+MGqXs56d8+j7xHyBoVVlFyy8P81Z1csGO
Lfd+q36s2EoOXgIRlCQLw/g2nnlCTeITKmme0/fvXoqGxxkc5pc6YcvbRDH5S7rw
eW5N7XW6F1d6OiQBkXfGNnlZd78agHN798BDbcoP877OjIa0OPZ1aDtdYk1ZOqyp
Jmehha9SY5Jdxl5xQRJbLv6Aq7fzNdqS1o0UzN/I4hDTNNI3ucZ5F1LLX36YQGky
QA8BLnqTu3+uAzIETK5QaSvHyycE2fUW6x3f3Pr4EDNDQZgmbOhPKzdH3Ayt5mo+
y0nJzyiORfwNRzUvC7kyrlgG0oCLMEAbSMSNTKOY9dEo2gzAmS2imMfqvJvjNI8f
XpCwyOC3LBMLNd7xICkwGHyAIVtBoLFlqA94Sc0fXLrzzh0qqNg3p9QO68wt5IdE
56eUYZFHdQLabfzZd+kVejbRcp/5P1SB4kulYNvKosP7dg1btJ63RmPILm+vI8Yn
r7jZW2Fm+fPbyBOX1MRn2eLaGCMVvlvOgU9H99iK5lnDXBbU/0xfHzSOPcrL5aEg
swcSM740OBvMaGc62bqfj20LuovCZXLK3bRPZ1CaLfDjFIzaFtMv1pgOordOMjE6
OEueYJ0/V7yykc0IlBb4sxrep2xKjQfr9o8K4L8QIJp+wjl2pic=
=pPQ9
-----END PGP SIGNATURE-----


N
(name . Marius Bakke)(address . mbakke@fastmail.com)
20180113190235.4yhko2v5cxiu7p6f@abyayala
I just got a bug report for the build via:

guix pull --url="https://c.n0.is/git/ng0/guix/guix.git"--branch="pretest/chromium"
guix package --install chromium

Failing with the attached build log excerpt. We are not FreeBSD, but I found
Maybe it helps to debug this, or maybe you've encountered this before.

I myself have been able to build this without issues on two systems.

All mentioned systems are GuixSD.


This should be a blocker, but maybe a head-up in potential build issues.
Marius Bakke transcribed 4.5K bytes:
Toggle quote (88 lines)
> ng0 <ng0@n0.is> writes:
>
> > Many thanks for your ongoing work with this (and the patience :))
> > As this is 63, you you are keeping track of Debian, right? I tried
> > to package 64 a couple of days ago because I wanted the workaround
> > for some of the recent security clusterfucks, but Debian is still
> > on 63 :/
> > I hope they'll update their patchset soon.
>
> Indeed Google did not add the Spectre mitigation to Chromium 63, even
> though the latest version was released after the fact.
>
> https://xlab.tencent.com/special/spectre/spectre_check.html
>
> For reasons that beat me, they only added it to the proprietary Chrome
> browser, which follows the same version number as Chromium.
>
> The attached patch adds Spectre mitigation to the current Chromium
> release. The patch was pulled from the Chrome 64 branch:
>

> From b011b57f357af97f3a003a3b1c481fc8bd2b869c Mon Sep 17 00:00:00 2001
> From: Marius Bakke <mbakke@fastmail.com>
> Date: Thu, 11 Jan 2018 14:36:47 +0100
> Subject: [PATCH] gnu: chromium: Add spectre mitigation.
>
> * gnu/packages/patches/chromium-spectre-mitigation.patch: New file.
> * gnu/local.mk (dist_patch_DATA): Register it.
> * gnu/packages/chromium.scm (chromium)[source]: Use it.
> ---
> gnu/local.mk | 1 +
> gnu/packages/chromium.scm | 3 ++-
> gnu/packages/patches/chromium-spectre-mitigation.patch | 13 +++++++++++++
> 3 files changed, 16 insertions(+), 1 deletion(-)
> create mode 100644 gnu/packages/patches/chromium-spectre-mitigation.patch
>
> diff --git a/gnu/local.mk b/gnu/local.mk
> index 513f64043..89dab227c 100644
> --- a/gnu/local.mk
> +++ b/gnu/local.mk
> @@ -575,6 +575,7 @@ dist_patch_DATA = \
> %D%/packages/patches/ceph-skip-collect-sys-info-test.patch \
> %D%/packages/patches/ceph-skip-unittest_blockdev.patch \
> %D%/packages/patches/chmlib-inttypes.patch \
> + %D%/packages/patches/chromium-spectre-mitigation.patch \
> %D%/packages/patches/clang-libc-search-path.patch \
> %D%/packages/patches/clang-3.8-libc-search-path.patch \
> %D%/packages/patches/clementine-use-openssl.patch \
> diff --git a/gnu/packages/chromium.scm b/gnu/packages/chromium.scm
> index dd040527b..1e9dba42e 100644
> --- a/gnu/packages/chromium.scm
> +++ b/gnu/packages/chromium.scm
> @@ -240,7 +240,8 @@
> %chromium-system-icu.patch
> %chromium-system-nspr.patch
> %chromium-system-libevent.patch
> - %chromium-disable-api-keys-warning.patch))
> + %chromium-disable-api-keys-warning.patch
> + (search-patch "chromium-spectre-mitigation.patch")))
> (modules '((srfi srfi-1)
> (guix build utils)))
> (snippet
> diff --git a/gnu/packages/patches/chromium-spectre-mitigation.patch b/gnu/packages/patches/chromium-spectre-mitigation.patch
> new file mode 100644
> index 000000000..a44a3bce4
> --- /dev/null
> +++ b/gnu/packages/patches/chromium-spectre-mitigation.patch
> @@ -0,0 +1,13 @@
> +diff --git a/content/public/common/content_features.cc b/content/public/common/content_features.cc
> +index 43feb76..33a49b8 100644
> +--- a/content/public/common/content_features.cc
> ++++ b/content/public/common/content_features.cc
> +@@ -308,7 +308,7 @@
> +
> + // http://tc39.github.io/ecmascript_sharedmem/shmem.html
> + const base::Feature kSharedArrayBuffer{"SharedArrayBuffer",
> +- base::FEATURE_ENABLED_BY_DEFAULT};
> ++ base::FEATURE_DISABLED_BY_DEFAULT};
> +
> + // An experiment to require process isolation for the sign-in origin,
> + // https://accounts.google.com. Launch bug: https://crbug.com/739418.
> --
> 2.15.1
>




--
A88C8ADD129828D7EAC02E52E22F9BBFEE348588 :: https://ea.n0.is/keys/
-----BEGIN PGP SIGNATURE-----

iQIzBAABCgAdFiEEqIyK3RKYKNfqwC5S4i+bv+40hYgFAlpaV8sACgkQ4i+bv+40
hYh3Sw//b6MPJEuZrE7/amksG3/kWlJlxjqmWqrSGmVHcfJuJqfEtulyJq6zT+va
YWQNcsXelCbKUX/hD3BWLE2J0N8lWHn8oa8FNFrv6Yd3PJrgZT2VS+qJ4Fhv788t
dMK2VTWJZ/cOgJjt+qohIipjuxQEnZpUDk3WZpWzljA8AcukSrzGc15Tw04ALucK
polnXLRvcUUk2zmFf5D1h3Ebahy4VdBEHl6Uv9ar7PvjbgHzYFiABa0ed3s9xuii
MyLYWEXM8LW7xOHr/uTEBMYfMpL40tHVNxQFVHGjDM1sL9oMT1iXEr1QKzXIsDz0
c+54Tk1dIgOOnNvov2sDWqyvlq1xO+1a0ZK0iqm1x3Yk4pRXHGU8YQ4hNIryyLoc
erfwyfsGjOVyhfFLNkcph+0Jov1NH+k/8mjyfaNRlIZdg0xTG5UwOO9NaZKLFfWX
Op3qlLZBDbQbqM760hMLC6zvI+84TyCYohTQwLJ6+Usr0M2t/UhzBCj4UMBM799z
CR7P2M9fQ3EsMO0BkD+WQHpzWQtPOKhG7nSfZDslTcCi7eO0fomY16m7Nxa6mgZk
QNtxpQMdKDHS/cd2OEyMsphq/5tKL4VhWnn09JciEUN6a5gDv/4VbDM/KFoqlcFY
uttIG2CfIfWHcTOHxNDFWinonot8713BTWCMK7g07YMBfwYS4kg=
=Resk
-----END PGP SIGNATURE-----


N
(name . Marius Bakke)(address . mbakke@fastmail.com)
20180113191357.lqiwwyw3jxcimaqa@abyayala
ng0 transcribed 5.6K bytes:
Toggle quote (14 lines)
> I just got a bug report for the build via:
>
> guix pull --url="https://c.n0.is/git/ng0/guix/guix.git" --branch="pretest/chromium"
> guix package --install chromium
>
> Failing with the attached build log excerpt. We are not FreeBSD, but I found
> this in the first 5 minutes: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=160935
> Maybe it helps to debug this, or maybe you've encountered this before.
>
> I myself have been able to build this without issues on two systems.
>
> All mentioned systems are GuixSD.
>

this time with attached file.

Toggle quote (96 lines)
> This should be a blocker, but maybe a head-up in potential build issues.
> Marius Bakke transcribed 4.5K bytes:
> > ng0 <ng0@n0.is> writes:
> >
> > > Many thanks for your ongoing work with this (and the patience :))
> > > As this is 63, you you are keeping track of Debian, right? I tried
> > > to package 64 a couple of days ago because I wanted the workaround
> > > for some of the recent security clusterfucks, but Debian is still
> > > on 63 :/
> > > I hope they'll update their patchset soon.
> >
> > Indeed Google did not add the Spectre mitigation to Chromium 63, even
> > though the latest version was released after the fact.
> >
> > https://xlab.tencent.com/special/spectre/spectre_check.html
> >
> > For reasons that beat me, they only added it to the proprietary Chrome
> > browser, which follows the same version number as Chromium.
> >
> > The attached patch adds Spectre mitigation to the current Chromium
> > release. The patch was pulled from the Chrome 64 branch:
> >
>
> > From b011b57f357af97f3a003a3b1c481fc8bd2b869c Mon Sep 17 00:00:00 2001
> > From: Marius Bakke <mbakke@fastmail.com>
> > Date: Thu, 11 Jan 2018 14:36:47 +0100
> > Subject: [PATCH] gnu: chromium: Add spectre mitigation.
> >
> > * gnu/packages/patches/chromium-spectre-mitigation.patch: New file.
> > * gnu/local.mk (dist_patch_DATA): Register it.
> > * gnu/packages/chromium.scm (chromium)[source]: Use it.
> > ---
> > gnu/local.mk | 1 +
> > gnu/packages/chromium.scm | 3 ++-
> > gnu/packages/patches/chromium-spectre-mitigation.patch | 13 +++++++++++++
> > 3 files changed, 16 insertions(+), 1 deletion(-)
> > create mode 100644 gnu/packages/patches/chromium-spectre-mitigation.patch
> >
> > diff --git a/gnu/local.mk b/gnu/local.mk
> > index 513f64043..89dab227c 100644
> > --- a/gnu/local.mk
> > +++ b/gnu/local.mk
> > @@ -575,6 +575,7 @@ dist_patch_DATA = \
> > %D%/packages/patches/ceph-skip-collect-sys-info-test.patch \
> > %D%/packages/patches/ceph-skip-unittest_blockdev.patch \
> > %D%/packages/patches/chmlib-inttypes.patch \
> > + %D%/packages/patches/chromium-spectre-mitigation.patch \
> > %D%/packages/patches/clang-libc-search-path.patch \
> > %D%/packages/patches/clang-3.8-libc-search-path.patch \
> > %D%/packages/patches/clementine-use-openssl.patch \
> > diff --git a/gnu/packages/chromium.scm b/gnu/packages/chromium.scm
> > index dd040527b..1e9dba42e 100644
> > --- a/gnu/packages/chromium.scm
> > +++ b/gnu/packages/chromium.scm
> > @@ -240,7 +240,8 @@
> > %chromium-system-icu.patch
> > %chromium-system-nspr.patch
> > %chromium-system-libevent.patch
> > - %chromium-disable-api-keys-warning.patch))
> > + %chromium-disable-api-keys-warning.patch
> > + (search-patch "chromium-spectre-mitigation.patch")))
> > (modules '((srfi srfi-1)
> > (guix build utils)))
> > (snippet
> > diff --git a/gnu/packages/patches/chromium-spectre-mitigation.patch b/gnu/packages/patches/chromium-spectre-mitigation.patch
> > new file mode 100644
> > index 000000000..a44a3bce4
> > --- /dev/null
> > +++ b/gnu/packages/patches/chromium-spectre-mitigation.patch
> > @@ -0,0 +1,13 @@
> > +diff --git a/content/public/common/content_features.cc b/content/public/common/content_features.cc
> > +index 43feb76..33a49b8 100644
> > +--- a/content/public/common/content_features.cc
> > ++++ b/content/public/common/content_features.cc
> > +@@ -308,7 +308,7 @@
> > +
> > + // http://tc39.github.io/ecmascript_sharedmem/shmem.html
> > + const base::Feature kSharedArrayBuffer{"SharedArrayBuffer",
> > +- base::FEATURE_ENABLED_BY_DEFAULT};
> > ++ base::FEATURE_DISABLED_BY_DEFAULT};
> > +
> > + // An experiment to require process isolation for the sign-in origin,
> > + // https://accounts.google.com. Launch bug: https://crbug.com/739418.
> > --
> > 2.15.1
> >
>
>
>
>
> --
> ng0 :: https://ea.n0.is
> A88C8ADD129828D7EAC02E52E22F9BBFEE348588 :: https://ea.n0.is/keys/



--
A88C8ADD129828D7EAC02E52E22F9BBFEE348588 :: https://ea.n0.is/keys/
Attachment: chromium.fail
-----BEGIN PGP SIGNATURE-----

iQIzBAABCgAdFiEEqIyK3RKYKNfqwC5S4i+bv+40hYgFAlpaWnUACgkQ4i+bv+40
hYhE0RAAhjXzAIYYYwPEC38gItQP6jeHA8O8pxQfI6xLXdpy0KZNllzcis87RzWK
XYQkiw3nnUQB3pkFGsAhrAJ5c0R4IOTjFHPtwbppoy5uQ/YL6jIZKwGmhL4NoLKN
EdRNHH5/nl07pWIGPYmJiQH8YqHmKgykq3GUamVcU4T6xkdwMpZzDlGb5UnjVuda
MUj1oX5Ex29CONACDaoo1pDZnHn/UVp2QuV8WwedZr3LTESvaMvj/m3CPY4qov8l
z6gAUe5tFcm66q+gBU5t0VYXGWRliiM5JFnfLiOhXmgd6/A0SaMGZIpBGOp0JLJD
33/w3Dud8P/0Omw8ZsFXBgXA4O5/NCE/YtBi5tmjU181T5SUk05Q3Tdu8qwi0h38
u3sAvRK0eQvcsHlLfNaYX0w2f+H2OeV0+NGjKoY1JCvf+HVQiriM14lJ2SQwsfPl
51U2hZeQnOsF56CfX7z1vfnaJ2EF6ws47OGU6xvSa2LcumwtkkHBUVRYO6R+DlUU
W+3qMSoG0nPtXLhiOqy/oFu1gfza2ZJZ6CzHFIaYmRhJxAmRX9jv0cQehBZ4lkwB
jdpeLrbabxVc/ESADRfgEq2/24y8tZDFyOEMpeCuNstZZa4jT4mfc7HOzTqOjWbN
Ni5AoigSRLehRrwe+w+GhJ+/ZXiatE81EqUvCmm9LC25cK5XyaE=
=lG00
-----END PGP SIGNATURE-----


N
(name . Marius Bakke)(address . mbakke@fastmail.com)
20180114121021.kjkkfzpvwkepaxsh@abyayala
Attachment: file
-----BEGIN PGP SIGNATURE-----

iQIzBAABCgAdFiEEqIyK3RKYKNfqwC5S4i+bv+40hYgFAlpbSK0ACgkQ4i+bv+40
hYhzXxAArDgVnBuXsW8jofkbBp4Iq843KaULtKxF3QcKzT1ZXO4x6S1XCAc9C9bg
QY941InFbH8C2hSzmfKsK9RXSmzfsUn3cdsxmE+rL7LKd7YIAlc4B/dvLiMW0Vuq
SlRNpWzYRnvXLJRSJFWg02s91pKa90klINTQfLvlQMvgCm6lAclxs8ufkgPuRMyu
24xQtO1pBOA6meOa4C13Z1XhaWLoknvci/n1IsnANszV8iYZ/iW2YQqc4x9ebCoq
rBn9/WvC/piGwafWEdnWgTaoYw9CWRLGuoBoTXprpU/wiVudUfrgSbTOJsmg03hg
zG82KX96FcVvwtWLkXMm/jRAt3inuxbtCogACOjYcWXSV5iz/Hrgvx4X6jCO0GdX
lg/ew4No+6kytOmDPG9SM6z+wBfcvgg7SFP93CYDwj5xHqJujhRN6t+5hL3c2XUL
uB6MMZW7Fs4bbbweY9Eb7o/1klit5I/6olHSP/FbB0U5rGM3wW/Y6HMmfdpqyFqI
lOSPBNbQUqyAWWyI7Ffl+SlcOnSdiqcKrw1UMs5e9gQqZu7IlbRv2XiNm6deD78P
vRHAtDAEb9VpTImWOwRJnYs6VD3kNnAtkRmTDWVYkD7I8iPeP0bMcSivjtQXm1dq
jRNOqVyJE2IbVOnmdHU+lH5M3J3ImyR5trLadggQLaQ89lVV3oQ=
=FWRC
-----END PGP SIGNATURE-----


L
L
Ludovic Courtès wrote on 16 Jan 2018 15:18
(name . Marius Bakke)(address . mbakke@fastmail.com)
87vag16g5z.fsf@gnu.org
Hi Marius,

Marius Bakke <mbakke@fastmail.com> skribis:

Toggle quote (12 lines)
> The attached patch adds Spectre mitigation to the current Chromium
> release. The patch was pulled from the Chrome 64 branch:
>
> From b011b57f357af97f3a003a3b1c481fc8bd2b869c Mon Sep 17 00:00:00 2001
> From: Marius Bakke <mbakke@fastmail.com>
> Date: Thu, 11 Jan 2018 14:36:47 +0100
> Subject: [PATCH] gnu: chromium: Add spectre mitigation.
>
> * gnu/packages/patches/chromium-spectre-mitigation.patch: New file.
> * gnu/local.mk (dist_patch_DATA): Register it.
> * gnu/packages/chromium.scm (chromium)[source]: Use it.

I didn’t really follow the whole discussion :-), but if what you have is
now OK from the freedom and security viewpoints (including bundling),
perhaps you can go ahead?

Ludo’.
M
M
Marius Bakke wrote on 16 Jan 2018 20:01
(name . Ludovic Courtès)(address . ludo@gnu.org)
87fu75aar5.fsf@fastmail.com
Ludovic Courtès <ludo@gnu.org> writes:

Toggle quote (20 lines)
> Hi Marius,
>
> Marius Bakke <mbakke@fastmail.com> skribis:
>
>> The attached patch adds Spectre mitigation to the current Chromium
>> release. The patch was pulled from the Chrome 64 branch:
>>
>> From b011b57f357af97f3a003a3b1c481fc8bd2b869c Mon Sep 17 00:00:00 2001
>> From: Marius Bakke <mbakke@fastmail.com>
>> Date: Thu, 11 Jan 2018 14:36:47 +0100
>> Subject: [PATCH] gnu: chromium: Add spectre mitigation.
>>
>> * gnu/packages/patches/chromium-spectre-mitigation.patch: New file.
>> * gnu/local.mk (dist_patch_DATA): Register it.
>> * gnu/packages/chromium.scm (chromium)[source]: Use it.
>
> I didn’t really follow the whole discussion :-), but if what you have is
> now OK from the freedom and security viewpoints (including bundling),
> perhaps you can go ahead?

I believe this is pretty much ready. However Chromium 64 is due in one
week, so I'll wait for that. Meanwhile I'll try to get rid of the
default "most used" sites which links to the nonfree Web Store.

Not sure what to put in the description. Can I hire Tobias for this? :P

If there are no objections, expect to see this in 'master' in 1-2 weeks.
-----BEGIN PGP SIGNATURE-----

iQEzBAEBCgAdFiEEu7At3yzq9qgNHeZDoqBt8qM6VPoFAlpeTA4ACgkQoqBt8qM6
VPqvkAf8DWaQTEwZG4k8tUyN0YpBoeWn61SGaMl4YFsID0u8ZTgZJl84Zl4qBsbh
YZOE+DtciImNSUp4BPEJYtGcEIS75YKM8tvPgXUWUJFbUZLrHgHU7S/Dfd2LVIuh
cmqLhaxTVj0qEzK9xRtpqlEmNarHtryMniHvZS5vgqVw+cqBYCzYO/IrO/mD1MW5
g5tGu3zwPvms0uS/ku4s3w0vqKjtRIRomnRr0eOToq9sUBG6ANFwVMfNB6Ua71jW
QTSRyKdjVZYe7bK60kawtvW24I5PtziV++6jzVunQWlqIlQviDx3nxLjq4yAYSd9
+6Q91PkIa/fBJxkiXd65UuB8424biQ==
=TzwX
-----END PGP SIGNATURE-----

N
(name . Ludovic Courtès)(address . ludo@gnu.org)
20180116200421.irjxlsumisngpob5@abyayala
Ludovic Courtès transcribed 0.8K bytes:
Toggle quote (23 lines)
> Hi Marius,
>
> Marius Bakke <mbakke@fastmail.com> skribis:
>
> > The attached patch adds Spectre mitigation to the current Chromium
> > release. The patch was pulled from the Chrome 64 branch:
> >
> > From b011b57f357af97f3a003a3b1c481fc8bd2b869c Mon Sep 17 00:00:00 2001
> > From: Marius Bakke <mbakke@fastmail.com>
> > Date: Thu, 11 Jan 2018 14:36:47 +0100
> > Subject: [PATCH] gnu: chromium: Add spectre mitigation.
> >
> > * gnu/packages/patches/chromium-spectre-mitigation.patch: New file.
> > * gnu/local.mk (dist_patch_DATA): Register it.
> > * gnu/packages/chromium.scm (chromium)[source]: Use it.
>
> I didn’t really follow the whole discussion :-), but if what you have is
> now OK from the freedom and security viewpoints (including bundling),
> perhaps you can go ahead?
>
> Ludo’.
>

From a usability point of view it's definitely okay, I've been using this
for a while now, no crashes so far.
Coming up with a way to define extensions is just a matter of placing the
Lego blocks in the right position. Gentoo and other systems (maybe Nix) offer
insights.
I'd say to get to a PoC package for an easy extension, under the assumption
that the general integration works, it could be done in a couple of working
weekends.
--
A88C8ADD129828D7EAC02E52E22F9BBFEE348588 :: https://ea.n0.is/keys/
-----BEGIN PGP SIGNATURE-----

iQIzBAABCgAdFiEEqIyK3RKYKNfqwC5S4i+bv+40hYgFAlpeWsUACgkQ4i+bv+40
hYi9Lg/9HrswBaKnqUaxo3k7yWD0ZGE4vrPqtlIZX04puBYBBrziUhcrU/1EZnw6
K/JU2+UvD9jnaa8hiK6qmppjXiAASDvCny5qo/f7hl5zqETL0VD5RMxlK9cbrykQ
tiDc+R5Y7BhDJOBZD66/UvBzwaXoQlgAaAMCNL4B0dXQxaMBj2MCO6dbA5ZBT30s
PrauHrS0mEMb36c2tFdALk0N0vVUrX/TGeOctDCGYbTGyjppwpsoiJ1ckpN8V3FJ
c6FVlWg8szKsbsuP3aj/ZhDD2vu3vXxWv5fr89NH8jipKohZrlqC9HoNBFKwPrYa
Qjpp0utDALz7DAB9z8ZMVou0RPFpCQnvXwNvC5/o/+Fj7nxwfm8tApMz4DJxyGn0
jQksCdarGVYjqXv7I1c0Wa/4tN4O0T/uQ6oOYkMWvbeMYkG1NimvdZ6bQdfng6pG
Q8E+ZJuL5DKak9/5HIjwgdXyA+WlhZbBeNha/QH8Vbf+dl/agABcBb00StjtDC7G
QLSwe3ojIR3V2QFV6llmG8TDOYXsKGA5kHuD5ZRW+wDw1Y8YCP6C4b7gkfjWn3z4
4xmev8N40xOUkQCalXBSGu1lRb3XcvBSp0aEECdm3Y6cQLsjZoicz9RF556O5Lae
vk9cAoSCNgChvKZAa1f1Ne/wnTfrixKyXYzAzG6BkQ2NZiGyUzg=
=wsUS
-----END PGP SIGNATURE-----


T
T
Tobias Geerinckx-Rice wrote on 16 Jan 2018 20:09
(address . 28004@debbugs.gnu.org)
ee73cfd1-e05b-f8e1-0c5c-6a589be176a3@tobias.gr
Marius!

Marius Bakke wrote on 16/01/18 at 20:01:
Toggle quote (2 lines)
> Not sure what to put in the description. Can I hire Tobias for this? :P

You probably don't want me writing what I think of Chromium.

Kind regards,

T G-R
Attachment: signature.asc
M
M
Marius Bakke wrote on 16 Jan 2018 20:22
(address . 28004@debbugs.gnu.org)
87d129a9s7.fsf@fastmail.com
Tobias Geerinckx-Rice <me@tobias.gr> writes:

Toggle quote (7 lines)
> Marius!
>
> Marius Bakke wrote on 16/01/18 at 20:01:
>> Not sure what to put in the description. Can I hire Tobias for this? :P
>
> You probably don't want me writing what I think of Chromium.

LOL, fair enough.

I tend to assume zero-knowledge when writing descriptions and have been
playing on spins of "Chromium is a browser designed to spy on the user",
but carrying software with that description does not reflect very well
on us...besides, I've gone great lengths to remove those antifeatures.

I'd like to make it very clear that users concerned about privacy should
prefer GNU IceCat though... Suggestions welcome. :-)
-----BEGIN PGP SIGNATURE-----

iQEzBAEBCgAdFiEEu7At3yzq9qgNHeZDoqBt8qM6VPoFAlpeUPgACgkQoqBt8qM6
VPpgPwgAmY4+KJFwJRgYrPnnV6gZDjpC1GGx2IhsFIGGwMTqGzh62VKvW1Dp2bzA
1Sc+/WuWZ7grQ+XD9BGVVeb6sxFLNMOwVzPZCaoXTKElebWOZ4t1ZCPBmprA/7gh
i4aErnj/T3agIMrFJLHo0kz8KqBI4UEzYkW+DTca1doWTVOebye3KGWfA5RgVaNV
l2XO9Svf6K3MFNifnZnZROgzSnbc9nRdVF3VjLehd24U+riypl4W9KbNZAt4xnfP
pPmwv12XUkEsv4VSoKTApLNgKN39O+PD8pLBlPK/APPjy6bjpTvtphPMnMTPpBpE
BWp1m47Talkuni95eKw+FicfnLztIA==
=fOnt
-----END PGP SIGNATURE-----

L
L
Leo Famulari wrote on 16 Jan 2018 21:41
(name . Marius Bakke)(address . mbakke@fastmail.com)
20180116204115.GA18014@jasmine.lan
On Tue, Jan 16, 2018 at 08:22:32PM +0100, Marius Bakke wrote:
Toggle quote (16 lines)
> Tobias Geerinckx-Rice <me@tobias.gr> writes:
> > Marius Bakke wrote on 16/01/18 at 20:01:
> >> Not sure what to put in the description. Can I hire Tobias for this? :P
> >
> > You probably don't want me writing what I think of Chromium.
>
> LOL, fair enough.
>
> I tend to assume zero-knowledge when writing descriptions and have been
> playing on spins of "Chromium is a browser designed to spy on the user",
> but carrying software with that description does not reflect very well
> on us...besides, I've gone great lengths to remove those antifeatures.
>
> I'd like to make it very clear that users concerned about privacy should
> prefer GNU IceCat though... Suggestions welcome. :-)

The Synopses and Descriptions section of the manual says "Please avoid
marketing phrases" and "try to be factual, mentioning use cases and
features". I think we should also avoid "anti-marketing" language.

Why not keep it simple and say something like this:

"Chromium is a graphical web browser. This package omits the FOO, BAR,
and BAZ features in order to help protect the user's privacy."

The IceCat description is similarly terse.
-----BEGIN PGP SIGNATURE-----

iQIzBAABCAAdFiEEsFFZSPHn08G5gDigJkb6MLrKfwgFAlpeY2gACgkQJkb6MLrK
fwjPSQ/+OLT/vl6OjM8Xo8wIanmBEXBE8QbJce6ohtSnNJzD9SsZsU6ZGlkYG8Xo
2cK37vqHalm5N0YPHwnEEh9Fjx5MuM/fODBeiKJtHezr8oHznCqQK3hhMVqxSxIk
G3+hQ76hUsiSzZb/EKClIdEEiwYm7Q6nP2k2KSudq/PDEJriJU0jtiKKdVp1de1t
+wLccj9ytsr7hQQEhxVeE67eLqO+V5qpLZ8qYmsr+kS/PDn9Qd+KJg7ExSA5zD9Z
ROzKXh6OyAIoLVWB9le1oprrKio96zvFw2A1fhDMmA2eYZ+sN9RyBohnzAAHxUxl
jBSOBb65EAxkSEH0eeH4HBE5A7y08upvw0WBNZhTqCBRa2yLAxASjaemO3Tcw94u
GJCCW50nIsMon1/ruf8ORlSi/SMG7ogd2wj6Kv3PjEBeou2G8lzt+GAiNn3O5Xee
5k9Ji/M8nHUKMLJseOMFlp4w3lVWRObvifSPGLcL3DSrT6v+h+yUM9/hGq51/ka6
QDiMj7h1xKpHr1IYUo665I2kXllmTHe9PiPb9PwX3v1R2Kp5O0ev58JVnskVcewk
L6HamgKS6l42Mwj0L0DlVPpwCLwIebwkAKRmux40qKbAog0m0ybT3sTuv3qZyGQo
TkXk/sh71/uR9eyDISneOIRMZb10qObHbu2Zx8knmY9tM/d51+Q=
=ps9d
-----END PGP SIGNATURE-----


L
L
Ludovic Courtès wrote on 17 Jan 2018 09:53
(name . Marius Bakke)(address . mbakke@fastmail.com)
87po687toi.fsf@gnu.org
Hello,

Marius Bakke <mbakke@fastmail.com> skribis:

Toggle quote (4 lines)
> I believe this is pretty much ready. However Chromium 64 is due in one
> week, so I'll wait for that. Meanwhile I'll try to get rid of the
> default "most used" sites which links to the nonfree Web Store.

Oh yes, we should definitely do that.

Toggle quote (4 lines)
> Not sure what to put in the description. Can I hire Tobias for this? :P
>
> If there are no objections, expect to see this in 'master' in 1-2 weeks.

Sounds good. Quite an achievement!

Thanks,
Ludo’.
M
M
Mike Gerwitz wrote on 17 Jan 2018 15:55
(name . Marius Bakke)(address . mbakke@fastmail.com)(address . 28004@debbugs.gnu.org)
874lnkr0vf.fsf@gnu.org
On Tue, Jan 16, 2018 at 20:01:34 +0100, Marius Bakke wrote:
Toggle quote (2 lines)
> If there are no objections, expect to see this in 'master' in 1-2 weeks.

I want to express gratitude for your hard work on this---given that
IceCat does not contain many of the FF devtool updates, Chromium is very
desirable for web development. It's also needed for certain Node.js
tools, like node-inspector.

So, thank you!

--
Mike Gerwitz
Free Software Hacker+Activist | GNU Maintainer & Volunteer
GPG: D6E9 B930 028A 6C38 F43B 2388 FEF6 3574 5E6F 6D05
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2

iQIcBAEBCgAGBQJaX2PUAAoJEIyRe39dxRuiRZgP/iZfOgozMPR3XNHTPVpEbpNc
W9WjD5lQtDsX3cAUimLEoxGX5ehxvRGats0Ffhb2+Ui4oCFq7I2FeznwZ5UM7TmC
/bAFedXVFQOrmHRAwp0Uc9ZswiyvsmBNFYiZZMKW46RBwFhLdDqySkWCRfgfzoQa
87KCQ8WpBRlip4BKlg8+++FoGXzad5L65Ii0tdAKShUC0CbdPeGCGL3ugl6u47qA
D9LuSEKzxWW7IlQ+d4ZMdNrASWdhl+468gmfrK2MQAStpbx/TXfYZvFgi9Gky5si
nzVMkvKho9nFGmTL3e5xrf2IJvGgz4PQ5mFWOP5siTYh13xTwoLhpnWOE/T9o5kR
bLcJ81xXpTkxU1CxjD+C17Xy55s6dJD5ZFHOI3EVBwSFdUnmox3aUbPXLwy4Yyvw
2bZrjCnXGaZKyHGGCdhwNrmaywBJ4rRQ/juB9qTy3fGPWqEI4GkTP613JnwxiJHe
8xVShgHvX5EztPodXnt+LeRV9lhOUsY5yZMgm7wNmyIl/0wt3Gm9N3yL1EZcUGxe
oNSRSRekCSvfjEY7kMmoHdjNGat3qAe6ynqxJ3eUFWz4zR0ZqoeQRcF6bB/R6G1e
pgLFJAKigXjZ84XVcycz4f1UkEdwWPwb0Wsulu7yBzCyQNY/3aE+BJPjAQ/kRnxF
vg6clndP1X+MRNcK0e8q
=UADH
-----END PGP SIGNATURE-----

M
M
Marius Bakke wrote on 26 Feb 2018 19:18
(name . Mike Gerwitz)(address . mtg@gnu.org)(address . 28004@debbugs.gnu.org)
87vaejvclc.fsf@fastmail.com
Mike Gerwitz <mtg@gnu.org> writes:

Toggle quote (10 lines)
> On Tue, Jan 16, 2018 at 20:01:34 +0100, Marius Bakke wrote:
>> If there are no objections, expect to see this in 'master' in 1-2 weeks.
>
> I want to express gratitude for your hard work on this---given that
> IceCat does not contain many of the FF devtool updates, Chromium is very
> desirable for web development. It's also needed for certain Node.js
> tools, like node-inspector.
>
> So, thank you!

Thank *you* for the kind words! :-)

Here is the latest iteration of this patch. New in this version:

* Chromium 64 (duh).
* The 'delete-bundled-software' phase has been moved to a snippet,
shaving ~100MiB (~22%) off the compressed tarball size (and
drastically reduces (de)compression time).
* The New Tab page does not show any thumbnails for new profiles.

I've also added more comments about the patches and other flags.

Now, when launching the browser for the first time, it *still* connects
to Google services. After a while it also does a lookup for AdWords...
However subsequent launches are "silent" as long as the Web Store is
disabled and "--disable-background-networking" is passed, like the
wrapper script does.

Incidentally, now that IceCat supports WebRTC (and somehow plugged the
IP address leak[0]!), I no longer *need* this package. However, having
multiple high quality browsers at hand is a huge advantage IMO, so I'd
still like to have it in Guix.

What do y'all think? Feedback on the snippet and description very
welcome.

-----BEGIN PGP SIGNATURE-----

iQEzBAEBCgAdFiEEu7At3yzq9qgNHeZDoqBt8qM6VPoFAlqUT38ACgkQoqBt8qM6
VPrloggAq1FiRB2E8ycl17PaYtQw+w44/QaCDprS69Pz1vuWg05EthVcTgcvPGZb
fwLk13vLYcNlsI/ka7QHuov0XNb71O8CV/vt4AhReVZVVnIoXF5z/BmsKoSNd2u1
5LG0X/6tUi6ICdnsni/A1LzG63Gk+JZpctVS0lvrqqikWdzXrdfn4vvpZj+O9waL
+OQKv7qXWINLP7utj3jypfG4N17Sy0THsJpddBoyNYXjAEcu5M9VQdHQGWd/ptup
EA9N97iPqbOF9XmccEzxLbga2WfJ+SI+Wd5wefmz/6UbMmUBkhf6WXH3SdtYfF4b
pESr7422UheU1oWZzPzRtryma+AU2Q==
=T/a0
-----END PGP SIGNATURE-----

M
M
Marius Bakke wrote on 26 Feb 2018 19:19
[PATCH] gnu: Add chromium.
(address . 28004@debbugs.gnu.org)(name . Marius Bakke)(address . mbakke@fastmail.com)
20180226181914.18955-1-mbakke@fastmail.com
* gnu/packages/chromium.scm: New file.
* gnu/packages/patches/chromium-gcc.patch,
gnu/packages/patches/chromium-remove-default-history.patch: New files.
* gnu/local.mk: Record it.
---
gnu/local.mk | 3 +
gnu/packages/chromium.scm | 756 +++++++++++++++++++++
gnu/packages/patches/chromium-gcc5.patch | 39 ++
.../patches/chromium-remove-default-history.patch | 13 +
4 files changed, 811 insertions(+)
create mode 100644 gnu/packages/chromium.scm
create mode 100644 gnu/packages/patches/chromium-gcc5.patch
create mode 100644 gnu/packages/patches/chromium-remove-default-history.patch

Toggle diff (406 lines)
diff --git a/gnu/local.mk b/gnu/local.mk
index fa98810d6..fb1320f7b 100644
--- a/gnu/local.mk
+++ b/gnu/local.mk
@@ -92,6 +92,7 @@ GNU_SYSTEM_MODULES = \
%D%/packages/check.scm \
%D%/packages/chemistry.scm \
%D%/packages/chez.scm \
+ %D%/packages/chromium.scm \
%D%/packages/ci.scm \
%D%/packages/cinnamon.scm \
%D%/packages/cmake.scm \
@@ -581,6 +582,8 @@ dist_patch_DATA = \
%D%/packages/patches/ceph-skip-collect-sys-info-test.patch \
%D%/packages/patches/ceph-skip-unittest_blockdev.patch \
%D%/packages/patches/chmlib-inttypes.patch \
+ %D%/packages/patches/chromium-gcc5.patch \
+ %D%/packages/patches/chromium-remove-default-history.patch \
%D%/packages/patches/clang-libc-search-path.patch \
%D%/packages/patches/clang-3.8-libc-search-path.patch \
%D%/packages/patches/clang-runtime-asan-build-fixes.patch \
diff --git a/gnu/packages/chromium.scm b/gnu/packages/chromium.scm
new file mode 100644
index 000000000..1dd77b089
--- /dev/null
+++ b/gnu/packages/chromium.scm
@@ -0,0 +1,756 @@
+;;; GNU Guix --- Functional package management for GNU
+;;; Copyright © 2016, 2017, 2018 Marius Bakke <mbakke@fastmail.com>
+;;;
+;;; This file is part of GNU Guix.
+;;;
+;;; GNU Guix is free software; you can redistribute it and/or modify it
+;;; under the terms of the GNU General Public License as published by
+;;; the Free Software Foundation; either version 3 of the License, or (at
+;;; your option) any later version.
+;;;
+;;; GNU Guix is distributed in the hope that it will be useful, but
+;;; WITHOUT ANY WARRANTY; without even the implied warranty of
+;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+;;; GNU General Public License for more details.
+;;;
+;;; You should have received a copy of the GNU General Public License
+;;; along with GNU Guix. If not, see <http://www.gnu.org/licenses/>.
+
+(define-module (gnu packages chromium)
+ #:use-module ((guix licenses) #:prefix license:)
+ #:use-module (guix packages)
+ #:use-module (guix download)
+ #:use-module (guix git-download)
+ #:use-module (guix utils)
+ #:use-module (guix build-system gnu)
+ #:use-module (gnu packages)
+ #:use-module (gnu packages assembly)
+ #:use-module (gnu packages base)
+ #:use-module (gnu packages bison)
+ #:use-module (gnu packages compression)
+ #:use-module (gnu packages cups)
+ #:use-module (gnu packages curl)
+ #:use-module (gnu packages databases)
+ #:use-module (gnu packages fontutils)
+ #:use-module (gnu packages ghostscript)
+ #:use-module (gnu packages gl)
+ #:use-module (gnu packages glib)
+ #:use-module (gnu packages gnome)
+ #:use-module (gnu packages gnuzilla)
+ #:use-module (gnu packages gperf)
+ #:use-module (gnu packages gtk)
+ #:use-module (gnu packages icu4c)
+ #:use-module (gnu packages image)
+ #:use-module (gnu packages libevent)
+ #:use-module (gnu packages libffi)
+ #:use-module (gnu packages libusb)
+ #:use-module (gnu packages linux)
+ #:use-module (gnu packages kerberos)
+ #:use-module (gnu packages ninja)
+ #:use-module (gnu packages node)
+ #:use-module (gnu packages pciutils)
+ #:use-module (gnu packages photo)
+ #:use-module (gnu packages pkg-config)
+ #:use-module (gnu packages protobuf)
+ #:use-module (gnu packages pulseaudio)
+ #:use-module (gnu packages python)
+ #:use-module (gnu packages python-web)
+ #:use-module (gnu packages regex)
+ #:use-module (gnu packages serialization)
+ #:use-module (gnu packages speech)
+ #:use-module (gnu packages tls)
+ #:use-module (gnu packages valgrind)
+ #:use-module (gnu packages version-control)
+ #:use-module (gnu packages video)
+ #:use-module (gnu packages xiph)
+ #:use-module (gnu packages xml)
+ #:use-module (gnu packages xdisorg)
+ #:use-module (gnu packages xorg))
+
+(define (strip-directory-prefix pathspec)
+ "Return everything after the last '/' in PATHSPEC."
+ (let ((index (string-rindex pathspec #\/)))
+ (if index
+ (string-drop pathspec (+ 1 index))
+ pathspec)))
+
+(define (chromium-patch-file-name pathspec)
+ (let ((patch-name (strip-directory-prefix pathspec)))
+ (if (string-prefix? "chromium-" patch-name)
+ patch-name
+ (string-append "chromium-" patch-name))))
+
+;; https://anonscm.debian.org/cgit/pkg-chromium/pkg-chromium.git/tree/debian/patches
+(define (debian-patch pathspec revision hash)
+ (origin
+ (method url-fetch)
+ (uri (string-append
+ "https://anonscm.debian.org/cgit/pkg-chromium/pkg-chromium.git"
+ "/plain/debian/patches/" pathspec "?id=" revision))
+ (sha256 (base32 hash))
+ (file-name (chromium-patch-file-name pathspec))))
+
+;; https://gitweb.gentoo.org/repo/gentoo.git/tree/www-client/chromium/files
+(define (gentoo-patch pathspec revision hash)
+ (origin
+ (method url-fetch)
+ (uri (string-append
+ "https://gitweb.gentoo.org/repo/gentoo.git/plain/www-client"
+ "/chromium/files/" pathspec "?id=" revision))
+ (sha256 (base32 hash))
+ (file-name (chromium-patch-file-name pathspec))))
+
+;; https://github.com/gcarq/inox-patchset
+(define (inox-patch pathspec revision hash)
+ (origin
+ (method url-fetch)
+ (uri (string-append "https://raw.githubusercontent.com/gcarq/inox-patchset/"
+ revision "/" pathspec))
+ (sha256 (base32 hash))
+ (file-name (chromium-patch-file-name pathspec))))
+
+;; https://github.com/NixOS/nixpkgs/tree/master/pkgs/applications/networking/browsers/chromium
+(define (nixos-patch pathspec revision hash)
+ (origin
+ (method url-fetch)
+ (uri (string-append "https://raw.githubusercontent.com/NixOS/nixpkgs/"
+ revision "/pkgs/applications/networking/browsers"
+ "/chromium/patches/" pathspec))
+ (sha256 (base32 hash))
+ (file-name (chromium-patch-file-name pathspec))))
+
+;; Fix build for older versions of GCC.
+(define %chromium-angle-gcc-compat.patch
+ (gentoo-patch "chromium-angle-r0.patch"
+ "08971011b4d6fa37aa906920fba7564e48b9e60b"
+ "0izdrqwsyr48117dhvwdsk8c6dkrnq2njida1q4mb1lagvwbz7gc"))
+
+;; https://webrtc-review.googlesource.com/9384
+(define %chromium-webrtc-gcc-compat.patch
+ (gentoo-patch "chromium-webrtc-r0.patch"
+ "08971011b4d6fa37aa906920fba7564e48b9e60b"
+ "0qj5b4w9kav51ylpdf38vm5w7p2gx4qp8p45vrfggp7miicg9cmw"))
+
+;; https://chromium-review.googlesource.com/813737
+(define %chromium-memcpy.patch
+ (gentoo-patch "chromium-memcpy-r0.patch"
+ "08971011b4d6fa37aa906920fba7564e48b9e60b"
+ "1d3vra59wjg2lva7ddv55ff6l57mk9k50llsplr0b7vxk0lh0ps5"))
+
+(define %chromium-system-nspr.patch
+ (debian-patch "system/nspr.patch"
+ "debian/64.0.3282.119-2"
+ "0pcwk3jsx8hjzd4s1v7p11jd8vpdqfnq82di31222cjx0bl6275r"))
+
+(define %chromium-system-libevent.patch
+ (debian-patch "system/event.patch"
+ "debian/64.0.3282.119-2"
+ "1dxzn1yf05mzf21c25sczj4zhkknf03x9bc3xzznqpvnsf3cjpr0"))
+
+(define %chromium-system-icu.patch
+ (debian-patch "system/icu.patch"
+ "debian/64.0.3282.119-2"
+ "0kf77d8lyma3w0xpgfv2k0c741zp6ii08gzllfja6d5s59c15ylv"))
+
+;; Don't show a warning about missing API keys.
+(define %chromium-disable-api-keys-warning.patch
+ (debian-patch "disable/google-api-warning.patch"
+ "debian/64.0.3282.119-2"
+ "1932xkrskm4nnglzj6xfjpycx4chsycj9ay3ipkq5f6xk21a1xm0"))
+
+;; Add DuckDuckGo and set it as the default search engine.
+(define %chromium-duckduckgo.patch
+ (inox-patch "0011-add-duckduckgo-search-engine.patch"
+ "d655594419af6b82a2a070e4d3eedd926a04fa79"
+ "0p8x98g71ngkd3wbl5q36wrl18ff185sfrr5fcwjbgrv3v7r6ra7"))
+
+;; Don't start a "Login Wizard" at first launch.
+(define %chromium-first-run.patch
+ (inox-patch "0018-disable-first-run-behaviour.patch"
+ "d655594419af6b82a2a070e4d3eedd926a04fa79"
+ "1y4zsqqf2125jkb1phwy9g5hcbd9xhyv5lr4xcaly66rpdzx2ayb"))
+
+;; Use privacy-preserving defaults.
+(define %chromium-default-preferences.patch
+ (inox-patch "0006-modify-default-prefs.patch"
+ "d655594419af6b82a2a070e4d3eedd926a04fa79"
+ "0qpd5l3wiw7325cicjzvdql0gay7jl4afml4nrbmy3w40i1ai2rf"))
+
+;; Recent versions of Chromium may load a remote search engine on the
+;; New Tab Page, causing unnecessary and involuntary network traffic.
+(define %chromium-restore-classic-ntp.patch
+ (inox-patch "0008-restore-classic-ntp.patch"
+ "d655594419af6b82a2a070e4d3eedd926a04fa79"
+ "0lj018q6vd6m43cj8rnraqgi4lp2iq76i1i0078dav4cxnzdryfs"))
+
+(define opus+custom
+ (package (inherit opus)
+ (name "opus+custom")
+ (arguments
+ `(;; Opus Custom is an optional extension of the Opus
+ ;; specification that allows for unsupported frame
+ ;; sizes. Chromium requires that this is enabled.
+ #:configure-flags '("--enable-custom-modes")
+ ,@(package-arguments opus)))))
+
+(define libvpx+experimental
+ (package
+ (inherit libvpx)
+ (name "libvpx+experimental")
+ (arguments
+ `(,@(substitute-keyword-arguments (package-arguments libvpx)
+ ((#:configure-flags flags ''())
+ ;; Spatial SVC is an experimental VP9 encoder required by Chromium.
+ `(cons* "--enable-experimental" "--enable-spatial-svc"
+ ,flags)))))))
+
+(define-public chromium
+ (package
+ (name "chromium")
+ (version "64.0.3282.186")
+ (synopsis "Graphical web browser")
+ (source (origin
+ (method url-fetch)
+ (uri (string-append "https://commondatastorage.googleapis.com/"
+ "chromium-browser-official/chromium-"
+ version ".tar.xz"))
+ (sha256
+ (base32
+ "0q0q1whspmzyln04gxhgl3jd2vrgb4imh8r9qw6c06i3b63j3l2z"))
+ (patches (list %chromium-duckduckgo.patch
+ %chromium-default-preferences.patch
+ %chromium-first-run.patch
+ %chromium-restore-classic-ntp.patch
+ %chromium-angle-gcc-compat.patch
+ %chromium-webrtc-gcc-compat.patch
+ %chromium-memcpy.patch
+ %chromium-system-icu.patch
+ %chromium-system-nspr.patch
+ %chromium-system-libevent.patch
+ %chromium-disable-api-keys-warning.patch
+ (search-patch "chromium-gcc5.patch")
+ (search-patch "chromium-remove-default-history.patch")))
+ (modules '((srfi srfi-1)
+ (ice-9 ftw)
+ (ice-9 regex)
+ (guix build utils)))
+ (snippet
+ '(begin
+ (let ((preserved-files
+ (map
+ (lambda (path) (string-append "./" path))
+ (list
+ "base/third_party/dmg_fp"
+ "base/third_party/dynamic_annotations"
+ "base/third_party/icu"
+ "base/third_party/libevent"
+ "base/third_party/nspr"
+ "base/third_party/superfasthash"
+ "base/third_party/symbolize" ;glog
+ "base/third_party/xdg_mime"
+ "base/third_party/xdg_user_dirs"
+ "buildtools/third_party/libc++"
+ "chrome/third_party/mozilla_security_manager"
+ "courgette/third_party"
+ "net/third_party/mozilla_security_manager"
+ "net/third_party/nss"
+ "third_party/adobe/flash/flapper_version.h"
+ ;; FIXME: This is used in:
+ ;; * ui/webui/resources/js/analytics.js
+ ;; * ui/file_manager/
+ "third_party/analytics"
+ "third_party/angle"
+ "third_party/angle/src/common/third_party/base"
+ "third_party/angle/src/common/third_party/smhasher"
+ "third_party/angle/src/third_party/compiler"
+ "third_party/angle/src/third_party/libXNVCtrl"
+ "third_party/angle/src/third_party/trace_event"
+ "third_party/blink"
+ "third_party/boringssl"
+ "third_party/boringssl/src/third_party/fiat"
+ "third_party/breakpad"
+ "third_party/brotli"
+ "third_party/cacheinvalidation"
+ "third_party/catapult"
+ "third_party/catapult/common/py_vulcanize/third_party/rcssmin"
+ "third_party/catapult/common/py_vulcanize/third_party/rjsmin"
+ "third_party/catapult/third_party/polymer"
+ "third_party/catapult/tracing/third_party/d3"
+ "third_party/catapult/tracing/third_party/gl-matrix"
+ "third_party/catapult/tracing/third_party/jszip"
+ "third_party/catapult/tracing/third_party/mannwhitneyu"
+ "third_party/catapult/tracing/third_party/oboe"
+ "third_party/catapult/tracing/third_party/pako"
+ "third_party/ced"
+ "third_party/cld_3"
+ "third_party/crc32c"
+ "third_party/cros_system_api"
+ "third_party/dom_distiller_js"
+ "third_party/fips181"
+ "third_party/flatbuffers"
+ ;; PDFium requires a private freetype API.
+ ;; <https://bugs.chromium.org/p/pdfium/issues/detail?id=733>
+ "third_party/freetype/src/src/psnames/pstables.h"
+ "third_party/glslang-angle"
+ "third_party/google_input_tools"
+ "third_party/google_input_tools/third_party/closure_library"
+ (string-append "third_party/google_input_tools/third_party"
+ "/closure_library/third_party/closure")
+ "third_party/googletest"
+ "third_party/harfbuzz-ng"
+ "third_party/hunspell"
+ "third_party/iccjpeg"
+ "third_party/inspector_protocol"
+ "third_party/jinja2"
+ "third_party/jstemplate"
+ "third_party/khronos"
+ "third_party/leveldatabase"
+ "third_party/libXNVCtrl"
+ "third_party/libaddressinput"
+ "third_party/libjingle_xmpp"
+ "third_party/libphonenumber"
+ "third_party/libsecret" ;FIXME: needs pkg-config support.
+ "third_party/libsrtp" ;TODO: Requires libsrtp@2.
+ "third_party/libudev"
+ "third_party/libwebm"
+ "third_party/libxml"
+ "third_party/libyuv"
+ "third_party/lss"
+ "third_party/lzma_sdk"
+ "third_party/markupsafe"
+ "third_party/mesa"
+ "third_party/metrics_proto"
+ "third_party/modp_b64"
+ "third_party/mt19937ar"
+ "third_party/node"
+ (string-append "third_party/node/node_modules/"
+ "polymer-bundler/lib/third_party/UglifyJS2")
+ "third_party/openmax_dl"
+ "third_party/ots"
+ "third_party/pdfium"
+ "third_party/pdfium/third_party"
+ "third_party/ply"
+ "third_party/polymer"
+ "third_party/protobuf"
+ "third_party/protobuf/third_party/six"
+ "third_party/qcms"
+ "third_party/sfntly"
+ "third_party/skia"
+ "third_party/skia/third_party/vulkan"
+ "third_party/skia/third_party/gif"
+ "third_party/smhasher"
+ "third_party/speech-dispatcher"
+ "third_party/spirv-headers"
+ "third_party/spirv-tools-angle"
+ "third_party/sqlite"
+ "third_party/swiftshader"
+ "third_party/swiftshader/third_party"
+ "third_party/usb_ids"
+ "third_party/usrsctp"
+ "third_party/vulkan"
+ "third_party/vulkan-validation-layers"
+ "third_party/WebKit"
+ "third_party/web-animations-js"
+ "third_party/webrtc"
+ "third_party/webrtc_overrides"
+ "third_party/widevine/cdm/widevine_cdm_version.h"
+ "third_party/widevine/cdm/widevine_cdm_common.h"
+ "third_party/woff2"
+ "third_party/xdg-utils"
+ "third_party/yasm/run_yasm.py"
+ "third_party/zlib/google"
+ "url/third_party/mozilla"
+ "v8/src/third_party/valgrind"
+ "v8/third_party/inspector_protocol"))))
+
+ ;; This is an implementation of
+ ;; "build/linux/unbundle/remove_bundled_libraries.py".
+ ;; It traverses any "third_party" directory and deletes
+ ;; files that are:
+ ;; * not ending with ".gn" or ".gni"; or
+ ;; * not explicitly named as argument (folder or file).
+ ;; TODO: Remove empty directories.
+ (define (delete-files-except exceptions dir)
+
+ (define (enter? name stat result)
+ (not (member name exceptions)))
+
+ (define (leaf name stat result)
+ (let ((protected-fil
This message was truncated. Download the full message here.
N
Re: [bug#28004] Chromium
(name . Marius Bakke)(address . mbakke@fastmail.com)
20180226200133.zsnahblbgzovrtmu@abyayala
Marius Bakke transcribed 2.1K bytes:
Toggle quote (22 lines)
> Mike Gerwitz <mtg@gnu.org> writes:
>
> > On Tue, Jan 16, 2018 at 20:01:34 +0100, Marius Bakke wrote:
> >> If there are no objections, expect to see this in 'master' in 1-2 weeks.
> >
> > I want to express gratitude for your hard work on this---given that
> > IceCat does not contain many of the FF devtool updates, Chromium is very
> > desirable for web development. It's also needed for certain Node.js
> > tools, like node-inspector.
> >
> > So, thank you!
>
> Thank *you* for the kind words! :-)
>
> Here is the latest iteration of this patch. New in this version:
>
> * Chromium 64 (duh).
> * The 'delete-bundled-software' phase has been moved to a snippet,
> shaving ~100MiB (~22%) off the compressed tarball size (and
> drastically reduces (de)compression time).
> * The New Tab page does not show any thumbnails for new profiles.

I think you forgot to attach the patches :)

Toggle quote (16 lines)
> I've also added more comments about the patches and other flags.
>
> Now, when launching the browser for the first time, it *still* connects
> to Google services. After a while it also does a lookup for AdWords...
> However subsequent launches are "silent" as long as the Web Store is
> disabled and "--disable-background-networking" is passed, like the
> wrapper script does.
>
> Incidentally, now that IceCat supports WebRTC (and somehow plugged the
> IP address leak[0]!), I no longer *need* this package. However, having
> multiple high quality browsers at hand is a huge advantage IMO, so I'd
> still like to have it in Guix.
>
> What do y'all think? Feedback on the snippet and description very
> welcome.

I still would like to have Chromium in Guix too. Icecat doesn't work
for everyone's needs and requirements. I'd help volunteering time to
building and updating, when it's possible for me.

Toggle quote (4 lines)


--
ng0
A88C8ADD129828D7EAC02E52E22F9BBFEE348588
http://krosos.org | https://n0.is/~ng0/| https://crash.cx
-----BEGIN PGP SIGNATURE-----

iQIzBAABCgAdFiEEqIyK3RKYKNfqwC5S4i+bv+40hYgFAlqUZ50ACgkQ4i+bv+40
hYhRRhAAsEF+sW7/SVVp7ROYvltI65fhb6jK7GSoBq5VUicYQLaRWKo3HiAQuuyL
3NhFGEIi6UH5fQHr22kSYCcx2uNmX494JYhGIJ38nj3A3wiumVG6zZtFPgPllrqO
XPP7GMcWiNIwbhCnzPtBCl6KPllJMxa3tdbgsb7pWio9fRtcZUE7+7RPVtMBa5q/
R4pd3stwA7lYl8VB9wR87YesSeeGMsRGSRi8DN8eF8nfiuiwDkzsYhRWomvR5Ocd
KhehTcoQkFuzdsLICHWjPrGaxZfBzwktTHiy4seo8cOaU/LLK1n4yK9Y6djrAWx1
pwXtkRMQ87L89R0mM38CrVE+GPxgnhL1/WzSe10GjT5vRsXdVB/NwKuF0X4BXGAa
gN5EIjHJdFaW7Yb5OK78EehbezR55WHArOOaesEB1ktFwPFG6o5uDDPJhgitqg4J
JPy3oNX5EiLua7uywd7f+j/UEcVY3GD8MwakzqcyN3cFzUDno9Y4pdGaVaOGXudu
1WYg3QG0pQtASCRmgXlcKJc5Fju4kYRasuCfmR59E013VsnaRAJCVJPKn1bRFUNo
/Rvk25Nzb6NblgpAAummXhwdbe5lpwEgHf8CZyJC3RVKiJ9oCeshGhomJmDqt1sj
092lVphpvGJMIcDANnU6aTywg650G9T+lLnXycHhjHZOTBEchUA=
=NLO2
-----END PGP SIGNATURE-----


M
M
Marius Bakke wrote on 26 Feb 2018 21:06
(name . ng0)(address . ng0@n0.is)
87muzvv7ku.fsf@fastmail.com
ng0 <ng0@n0.is> writes:

Toggle quote (25 lines)
> Marius Bakke transcribed 2.1K bytes:
>> Mike Gerwitz <mtg@gnu.org> writes:
>>
>> > On Tue, Jan 16, 2018 at 20:01:34 +0100, Marius Bakke wrote:
>> >> If there are no objections, expect to see this in 'master' in 1-2 weeks.
>> >
>> > I want to express gratitude for your hard work on this---given that
>> > IceCat does not contain many of the FF devtool updates, Chromium is very
>> > desirable for web development. It's also needed for certain Node.js
>> > tools, like node-inspector.
>> >
>> > So, thank you!
>>
>> Thank *you* for the kind words! :-)
>>
>> Here is the latest iteration of this patch. New in this version:
>>
>> * Chromium 64 (duh).
>> * The 'delete-bundled-software' phase has been moved to a snippet,
>> shaving ~100MiB (~22%) off the compressed tarball size (and
>> drastically reduces (de)compression time).
>> * The New Tab page does not show any thumbnails for new profiles.
>
> I think you forgot to attach the patches :)

Derp. I realized that and just used `git send-email`[0], but have
attached it here for convenience since the debbugs web UI doesn't allow
easy download of a raw message.

-----BEGIN PGP SIGNATURE-----

iQEzBAEBCgAdFiEEu7At3yzq9qgNHeZDoqBt8qM6VPoFAlqUaOEACgkQoqBt8qM6
VPp+iggAvr9wYNhGdMfXaMVCqNG/bC20MBmGdhGWvurkvNCuzr4uXPXuxfhjFTC2
cOCkxZ8Af2eL/+lTyM+s0C+LAuBLdfSQsiQHVYK8At0520K6e4QY8zhXu87/y5KG
xjYABvUA5UUj7ryArOeBffpStb9KSJ79kuXB4K76cswvRSrEb0GX01tCqcAe7Zu4
ODWL9A25XHfTzBJ2wa8tsaw3DSZ5IGczl5KpvyPpF5ddQ9MLZm4x7AKiXeJCCiGk
XAdIDzFwLrYLA3ZxIIyawqsK2U+ifA5jAoDsjAaHlHey7BoAEccLrdNHMGH3QJel
sTz73/q50Lkyk7dF+3OFkcLeT0RNow==
=o25f
-----END PGP SIGNATURE-----

N
(name . Marius Bakke)(address . mbakke@fastmail.com)
20180226203434.s4rtbfprzwvziutz@abyayala
Marius Bakke transcribed 43K bytes:
Toggle quote (34 lines)
> ng0 <ng0@n0.is> writes:
>
> > Marius Bakke transcribed 2.1K bytes:
> >> Mike Gerwitz <mtg@gnu.org> writes:
> >>
> >> > On Tue, Jan 16, 2018 at 20:01:34 +0100, Marius Bakke wrote:
> >> >> If there are no objections, expect to see this in 'master' in 1-2 weeks.
> >> >
> >> > I want to express gratitude for your hard work on this---given that
> >> > IceCat does not contain many of the FF devtool updates, Chromium is very
> >> > desirable for web development. It's also needed for certain Node.js
> >> > tools, like node-inspector.
> >> >
> >> > So, thank you!
> >>
> >> Thank *you* for the kind words! :-)
> >>
> >> Here is the latest iteration of this patch. New in this version:
> >>
> >> * Chromium 64 (duh).
> >> * The 'delete-bundled-software' phase has been moved to a snippet,
> >> shaving ~100MiB (~22%) off the compressed tarball size (and
> >> drastically reduces (de)compression time).
> >> * The New Tab page does not show any thumbnails for new profiles.
> >
> > I think you forgot to attach the patches :)
>
> Derp. I realized that and just used `git send-email`[0], but have
> attached it here for convenience since the debbugs web UI doesn't allow
> easy download of a raw message.
>
> [0] https://debbugs.gnu.org/cgi/bugreport.cgi?msg=131;bug=28004#131
>

Great, thanks! I'll comment after building (so the usual 3 - 16 hours ;D).

Something I noticed in the past: A succesful build for Chromium depends on
the system libraries we use. The last version broke a while back when icu4c
got updated I think.
So changes need to be adjusted. We can not know when this happens, but we
can act when it happens.
--
ng0
A88C8ADD129828D7EAC02E52E22F9BBFEE348588
http://krosos.org | https://n0.is/~ng0/| https://crash.cx
-----BEGIN PGP SIGNATURE-----

iQIzBAABCgAdFiEEqIyK3RKYKNfqwC5S4i+bv+40hYgFAlqUb1oACgkQ4i+bv+40
hYiK5g/+K/WMXSSybQ4bpNeGfutyEqW0dn0DvSHYcl9IrtvtAIWZ/BVZJ35fkbWL
cJ53PDD/fHcVYlFQAaWSwZmDY8UI5u4IWwx+I/bssAOm9ki1e6pu4AyXytgCXf07
f1B7y3lxIKqB3A3m/dPGRLKyuQOH/vIyPHIgKTDpX1YNzJ1hix2mOZpYbJVdPlQ0
pBCIq0n1H0qpkRsrj5ppRMfmye4Yx65ZeTnZzTEy+CZwHx9OjJjkbfUFYI/y4DFn
I+RevT0CGgZ4ItYx5uqQCibdlPBIeZ/o5JJqbb1ekQ3lx98df9Riv6Xj/vpxL6Uu
dhy8R9cv/uB3aFoU/3S7vUfwCnQQHYrUhjENMHgcSVFCL7sup0eO+KI09IoNkH4f
Pf2s7vtL/4gB3bAkavQRSBjtkYhV+WbZg5oEtK0491RcAx0L/eFvAE3ne5qSQwfZ
PLmedJ8Ek/9jlse46imDSeiKhaboZQk4z7vYOxlubFGAuaufqe1Lep6Z3MQ8G2XY
h7jKfOmeU3HiUbIU07m77Wq5A6jf/eW5kxfrJOuECu893nKJWduGn0RsIrZT7ymh
OEGOKvtVc4a91I9A3Arg7fbZMJGxFHYntq/E/pVSo1xVBfB/lXKliGZNfKJKLtGJ
ecxfRjCmXisYs+Q8LvahHn0mWmh6YG6Aur0AfkQoghVOZHQVr+o=
=iYgb
-----END PGP SIGNATURE-----


B
B
Björn Höfling wrote on 26 Feb 2018 23:41
(name . Marius Bakke)(address . mbakke@fastmail.com)(address . 28004@debbugs.gnu.org)
20180226234144.032af030@alma-ubu
Hi Marius,

On Mon, 26 Feb 2018 21:06:57 +0100
Marius Bakke <mbakke@fastmail.com> wrote:

Toggle quote (36 lines)
> ng0 <ng0@n0.is> writes:
>
> > Marius Bakke transcribed 2.1K bytes:
> >> Mike Gerwitz <mtg@gnu.org> writes:
> >>
> >> > On Tue, Jan 16, 2018 at 20:01:34 +0100, Marius Bakke wrote:
> >> >> If there are no objections, expect to see this in 'master' in
> >> >> 1-2 weeks.
> >> >
> >> > I want to express gratitude for your hard work on this---given
> >> > that IceCat does not contain many of the FF devtool updates,
> >> > Chromium is very desirable for web development. It's also
> >> > needed for certain Node.js tools, like node-inspector.
> >> >
> >> > So, thank you!
> >>
> >> Thank *you* for the kind words! :-)
> >>
> >> Here is the latest iteration of this patch. New in this version:
> >>
> >> * Chromium 64 (duh).
> >> * The 'delete-bundled-software' phase has been moved to a snippet,
> >> shaving ~100MiB (~22%) off the compressed tarball size (and
> >> drastically reduces (de)compression time).
> >> * The New Tab page does not show any thumbnails for new profiles.
> >
> > I think you forgot to attach the patches :)
>
> Derp. I realized that and just used `git send-email`[0], but have
> attached it here for convenience since the debbugs web UI doesn't
> allow easy download of a raw message.
>
> [0] https://debbugs.gnu.org/cgi/bugreport.cgi?msg=131;bug=28004#131
>


This looks like a lot of work. Thank you!

I quickly tried to apply and build the patch and have two first remarks:

The file says:

;;; Copyright © 2016, 2017, 2018 Marius Bakke <mbakke@fastmail.com>

I haven't followed history, have you worked on this since 2016?

One patch has a hash-mismatch:

Starting download of /gnu/store/q8hlws48cjfcmz6i40jrnxn3kp750gy4-chromium-icu.patch
icu.patch 2KiB 1.8MiB/s 00:00 [####################] 100.0%
output path `/gnu/store/q8hlws48cjfcmz6i40jrnxn3kp750gy4-chromium-icu.patch' should have sha256 hash `0kf77d8lyma3w0xpgfv2k0c741zp6ii08gzllfja6d5s59c15ylv', instead has `19r0bpv2hapzq5m0m7rlz1dwn3h2ijgkilb2hmhw56qvwpbw0b59'
@ build-failed /gnu/store/cqdllqn8ig5wnjn0yqvnh4vlzsvnpzv6-chromium-icu.patch.drv - 1 output path `/gnu/store/q8hlws48cjfcmz6i40jrnxn3kp750gy4-chromium-icu.patch' should have sha256 hash `0kf77d8lyma3w0xpgfv2k0c741zp6ii08gzllfja6d5s59c15ylv', instead has `19r0bpv2hapzq5m0m7rlz1dwn3h2ijgkilb2hmhw56qvwpbw0b59'
cannot build derivation `/gnu/store/vacxbwsprcp52vp6q975450zi091dak2-chromium-64.0.3282.186.tar.xz.drv': 1 dependencies couldn't be built
@ build-started /gnu/store/7q53inn1v32b5fain0h0wcrliclf0ff1-libvpx+experimental-1.7.0.drv - x86_64-linux /var/log/guix/drvs/7q//53inn1v32b5fain0h0wcrliclf0ff1-libvpx+experimental-1.7.0.drv.bz2
cannot build derivation `/gnu/store/5qv7anaaqk4576pma9mhcsz1nhrx1n01-chromium-64.0.3282.186.drv': 1 dependencies couldn't be built
guix build: error: build failed: build of `/gnu/store/5qv7anaaqk4576pma9mhcsz1nhrx1n01-chromium-64.0.3282.186.drv' failed

I looked into the file and it looks reasonable, like a patch-file. It has no download errors.

It starts like this:

description: backwards compatibility for older versions of icu
author: Michael Gilbert <mgilbert@debian.org>

--- a/v8/src/runtime/runtime-intl.cc
+++ b/v8/src/runtime/runtime-intl.cc
@@ -627,7 +627,11 @@ RUNTIME_FUNCTION(Runtime_PluralRulesSele

...

Can you check this file again?

Björn
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2

iEYEARECAAYFAlqUjSkACgkQvyhstlk+X/3RbACgoiitBCu1qBpIOijeNOOUXK7t
8yUAn1Gu6XXYAOwrG82NpCf0PDWqp3Km
=1Egd
-----END PGP SIGNATURE-----


M
M
Mike Gerwitz wrote on 27 Feb 2018 03:00
(name . Marius Bakke)(address . mbakke@fastmail.com)(address . 28004@debbugs.gnu.org)
87k1uznqcu.fsf@gnu.org
On Mon, Feb 26, 2018 at 19:18:39 +0100, Marius Bakke wrote:
Toggle quote (3 lines)
> Now, when launching the browser for the first time, it *still* connects
> to Google services. After a while it also does a lookup for AdWords...

Do you know what code initiates this? Would it be easy to remove, and
would that harm other functionality?

Saying that it only runs the first time implies to me that there's a
flag, and that perhaps the flag can either be permanently set or the
conditional triggering this behavior removed.

--
Mike Gerwitz
Free Software Hacker+Activist | GNU Maintainer & Volunteer
GPG: D6E9 B930 028A 6C38 F43B 2388 FEF6 3574 5E6F 6D05
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2

iQIcBAEBCgAGBQJalLvRAAoJEIyRe39dxRuigesP+wTO/zFQ29yQM6Q/PjL8rMoJ
LXkpDz+FNhMHgHHFVZ8AakPeRT+EqURy6lUybc3xyY0c+09Y0GvB51GJaFccHqIC
VYGUIrAWqvAQVfZBmu/DJ2olDt2RDfRTy2KmIYU8ML97tNg9JaxUb48VLLcuNoRY
n9nSecLBtmJAqoAAN8SguoV3wMVnMXprtjMeUfF9vrrJLRLmshs8eD84YWXJpxmq
Vxa2MbkyQFYpR4aLbKiCQ5eb9guH0AA0DC1iqq5AJ5svaR/bFz8xKbPVbCnsva3S
cXF7YJOCpCwTmzSkE7BQ/PaYMg3aOPyFWoFPwy0dQ2xsNiLwN8dwvhwuclbiXDwK
1FziPXIzva6Z+FYbHDTCWj1w4IVNUCLl078gQXhwPqz64ImBlM5zLPwZJGNTj5iJ
H6O1DgkTB1YpgVl0iXM4DBZUbfXimVFfhKeD9ufJIHwsUX2wAmJ5HfWrQhro71xy
BqluXS5b24E0ImJQsDp5DzgCO0jvAjbh0kigpAvkpq9V3GQHvFVk1u4XgXWEqhJ5
75pRRrXfBwbn/duR1e8Y0E7HxJbR8Ihtjae8GYkvBWfpjhtwnQCcWD8EfSGDG4Pb
lApFzxGBGtcEwtNHbbMbcXNFppUfipXM2vrSh1nJ7FKFXKzSkBlIOTgkMgxSVcbH
5HHvXtQ7KRkA5MdOF1yO
=sK36
-----END PGP SIGNATURE-----

N
(name . Björn Höfling)(address . bjoern.hoefling@bjoernhoefling.de)
20180227215717.bie4f2zdrn5s5oyo@abyayala
Björn Höfling transcribed 4.0K bytes:
Toggle quote (51 lines)
> Hi Marius,
>
> On Mon, 26 Feb 2018 21:06:57 +0100
> Marius Bakke <mbakke@fastmail.com> wrote:
>
> > ng0 <ng0@n0.is> writes:
> >
> > > Marius Bakke transcribed 2.1K bytes:
> > >> Mike Gerwitz <mtg@gnu.org> writes:
> > >>
> > >> > On Tue, Jan 16, 2018 at 20:01:34 +0100, Marius Bakke wrote:
> > >> >> If there are no objections, expect to see this in 'master' in
> > >> >> 1-2 weeks.
> > >> >
> > >> > I want to express gratitude for your hard work on this---given
> > >> > that IceCat does not contain many of the FF devtool updates,
> > >> > Chromium is very desirable for web development. It's also
> > >> > needed for certain Node.js tools, like node-inspector.
> > >> >
> > >> > So, thank you!
> > >>
> > >> Thank *you* for the kind words! :-)
> > >>
> > >> Here is the latest iteration of this patch. New in this version:
> > >>
> > >> * Chromium 64 (duh).
> > >> * The 'delete-bundled-software' phase has been moved to a snippet,
> > >> shaving ~100MiB (~22%) off the compressed tarball size (and
> > >> drastically reduces (de)compression time).
> > >> * The New Tab page does not show any thumbnails for new profiles.
> > >
> > > I think you forgot to attach the patches :)
> >
> > Derp. I realized that and just used `git send-email`[0], but have
> > attached it here for convenience since the debbugs web UI doesn't
> > allow easy download of a raw message.
> >
> > [0] https://debbugs.gnu.org/cgi/bugreport.cgi?msg=131;bug=28004#131
> >
>
>
> This looks like a lot of work. Thank you!
>
> I quickly tried to apply and build the patch and have two first remarks:
>
> The file says:
>
> ;;; Copyright © 2016, 2017, 2018 Marius Bakke <mbakke@fastmail.com>
>
> I haven't followed history, have you worked on this since 2016?

Marius, myself (and others?) have been working on this at least since October 2017.
I did a search, and indeed: Date: Tue, 27 Sep 2016 07:39:10 +0000 ... this is when I
first send the original Inox WIP. Wow.

Toggle quote (27 lines)
> One patch has a hash-mismatch:
>
> Starting download of /gnu/store/q8hlws48cjfcmz6i40jrnxn3kp750gy4-chromium-icu.patch
> From https://anonscm.debian.org/cgit/pkg-chromium/pkg-chromium.git/plain/debian/patches/system/icu.patch?id=debian/64.0.3282.119-2...
> icu.patch 2KiB 1.8MiB/s 00:00 [####################] 100.0%
> output path `/gnu/store/q8hlws48cjfcmz6i40jrnxn3kp750gy4-chromium-icu.patch' should have sha256 hash `0kf77d8lyma3w0xpgfv2k0c741zp6ii08gzllfja6d5s59c15ylv', instead has `19r0bpv2hapzq5m0m7rlz1dwn3h2ijgkilb2hmhw56qvwpbw0b59'
> @ build-failed /gnu/store/cqdllqn8ig5wnjn0yqvnh4vlzsvnpzv6-chromium-icu.patch.drv - 1 output path `/gnu/store/q8hlws48cjfcmz6i40jrnxn3kp750gy4-chromium-icu.patch' should have sha256 hash `0kf77d8lyma3w0xpgfv2k0c741zp6ii08gzllfja6d5s59c15ylv', instead has `19r0bpv2hapzq5m0m7rlz1dwn3h2ijgkilb2hmhw56qvwpbw0b59'
> cannot build derivation `/gnu/store/vacxbwsprcp52vp6q975450zi091dak2-chromium-64.0.3282.186.tar.xz.drv': 1 dependencies couldn't be built
> @ build-started /gnu/store/7q53inn1v32b5fain0h0wcrliclf0ff1-libvpx+experimental-1.7.0.drv - x86_64-linux /var/log/guix/drvs/7q//53inn1v32b5fain0h0wcrliclf0ff1-libvpx+experimental-1.7.0.drv.bz2
> cannot build derivation `/gnu/store/5qv7anaaqk4576pma9mhcsz1nhrx1n01-chromium-64.0.3282.186.drv': 1 dependencies couldn't be built
> guix build: error: build failed: build of `/gnu/store/5qv7anaaqk4576pma9mhcsz1nhrx1n01-chromium-64.0.3282.186.drv' failed
>
> I looked into the file and it looks reasonable, like a patch-file. It has no download errors.
>
> It starts like this:
>
> description: backwards compatibility for older versions of icu
> author: Michael Gilbert <mgilbert@debian.org>
>
> --- a/v8/src/runtime/runtime-intl.cc
> +++ b/v8/src/runtime/runtime-intl.cc
> @@ -627,7 +627,11 @@ RUNTIME_FUNCTION(Runtime_PluralRulesSele
>
> ...
>
> Can you check this file again?

With the patch Marius send yesterday it works for me.

Toggle quote (6 lines)
> Björn
>
>



--
A88C8ADD129828D7EAC02E52E22F9BBFEE348588
-----BEGIN PGP SIGNATURE-----

iQIzBAABCgAdFiEEqIyK3RKYKNfqwC5S4i+bv+40hYgFAlqV1D0ACgkQ4i+bv+40
hYhqAQ//UY2/WT2moFhQDbhUIXhDTt/k+FmWuYcTbFJku1s6nYyPQDas90ctE1wH
APbD7Zmv017EYCUIVSSiloboT1Q5EnNAHzgJwtcKCkRhVNpfTXaIG+vW6xXcbya0
bVcyKJ8KdjVrcOPlAopepI6uWuqSF6EL3LJG99iO6FySNDEDQ+20ZONXQX5g99UJ
v7uSaFgc51OHu3LNaaT+1K1DC8CgwdekhTIr/dI1vfhh42Zz+HMVv7pm/8my4VlD
KxUvaKRuNhU4SPbzWKSb9fKO0qfB2SysCMYpwPXkFCat2RALKNWxJfQj2ytTWIuN
br80H7DwsWCtaUDcCG240JGX8+4cag/lwVBYK+w++5swbV+Li/TndPuJLDvUj1x4
v0xRu4IXC4vCZ3xLTMBjHLxARUxpcIobwSSUEirKliMAi6BXsNp4y/l4L/9TNlMN
rIZYxosvPu3cZDPyJwnuAZuIAlBi0If+uKGht6GeThQKMpfktzvrdWfBEa+KQfjN
nLHqu3tzrC7Z74h0su3DZpXrX2ftA1Zt8ixVszE4Bu47cfhjp3KahrGgsc/hfVXv
KQxcYgCbW//gYJOjLmily/oR35X8nmQscXvdyp8KtTPQBWiCxWQZ+pia6TXw3/3c
Klvd9263lF4zAmfM6sgWevzOQ+1zWikEm7IHmpsFr1lZRwz86MU=
=ei6V
-----END PGP SIGNATURE-----


N
(name . Marius Bakke)(address . mbakke@fastmail.com)
20180227221711.omdpbgemrjwinohb@abyayala
Attachment: file
-----BEGIN PGP SIGNATURE-----

iQIzBAABCgAdFiEEqIyK3RKYKNfqwC5S4i+bv+40hYgFAlqV2OcACgkQ4i+bv+40
hYifLRAApm0yB/3PA0/l/lquHl/7zHHSIb6s6rUbRFD963FHyohC1ik49dTrhAY5
qo50m9vWFEAntwmq38oHCuWk7+m4v4mBUr5CellO6v8mhjMFHDl8+lODziy4IM9Y
07wGzHzdgMdDBq3ec0dUWTaJpP6QQ1F/583iSOlrOA8fcler+QMqUkVUPEMB4D5F
ojZ9NRoUD7XCwGYj2GA3bM6mYQw0Bq2sQGXfxaz/dvGD12vC1SRhITzGAiMQevMU
JQfLcwYi22cfJSo+1UQLjeXTxrKP41ZpmVxH+bkqnClbETxVonX0t8FY15rW3A7Z
Zee1Try+nJ77PI4OEKlahGciZMRAbdBr9n7hdRO7ijhQz/E26hDH/iLOhMMCKGHZ
uAghL9yhfZehQzJl3GoOKMSZMCekXOnHqjWYQVtyFJ3AoI9OPvV28iy+tUrFKJxo
A5Vf+UY4LcJQoYw9maZfDlSd8UK3unPQAb/3KvdPFmvVF3NsT5/a4X+7iMEY8udl
6S3q9bqjKpjSofg/uSZrEN4oZaCW34PcO9h8wP0Djm9kweiHPuY/3ADrQnFNI5Xu
Jml3/P7ZXR+yPibtww0Mh7t54VXzA9LysIdBtK/W43b8aX/nidpy1xAm868C/HaW
ut+RZ5GmNy+Au0PGmHOFQuSTXppgq3viWIp/wOkNhV80mliCiYs=
=+xOh
-----END PGP SIGNATURE-----


N
(name . Mike Gerwitz)(address . mtg@gnu.org)
20180228081707.nnjoolzbgwwtcgq5@abyayala
Mike Gerwitz transcribed 1.6K bytes:
Toggle quote (17 lines)
> On Mon, Feb 26, 2018 at 19:18:39 +0100, Marius Bakke wrote:
> > Now, when launching the browser for the first time, it *still* connects
> > to Google services. After a while it also does a lookup for AdWords...
>
> Do you know what code initiates this? Would it be easy to remove, and
> would that harm other functionality?
>
> Saying that it only runs the first time implies to me that there's a
> flag, and that perhaps the flag can either be permanently set or the
> conditional triggering this behavior removed.
>
> --
> Mike Gerwitz
> Free Software Hacker+Activist | GNU Maintainer & Volunteer
> GPG: D6E9 B930 028A 6C38 F43B 2388 FEF6 3574 5E6F 6D05
> https://mikegerwitz.com

Could this be a connectivity check?

switch "--connectivity-check-url" exists:
and there might be a flag here: chrome://flags/

We can also creatre our own settings file as suggested in
this thread:

Someone else suggested this file:
404 now.

Adwords query might really be rlz, but I'm just guessing for now. Post from 2010:

Toggle quote (2 lines)
> When we released a new stable version of Google Chrome last March, we tried to improve the transparency and privacy options of Google Chrome. One area where ve seen a lot of interest and questions is the RLZ library that is built into Google Chrome. RLZ gives us the ability to accurately measure the success of marketing promotions and distribution partnerships in order to meet our contractual and financial obligations. It assigns non-unique, non-personally identifiable promotion tracking labels to client products; these labels sometimes appear in Google search queries in Google Chrome.we

This is the source code view:


Different topic. This will help us to integrate packaged extensions once we get there:
and probably some more files.
--
A88C8ADD129828D7EAC02E52E22F9BBFEE348588
-----BEGIN PGP SIGNATURE-----

iQIzBAABCgAdFiEEqIyK3RKYKNfqwC5S4i+bv+40hYgFAlqWZYMACgkQ4i+bv+40
hYibBw/+NENBr9JWkdEKBrYDtr/QsggO0NHGsFJdbrVpG7lk6qjfzt8XZUIT54ZU
7j6Zitm+97BBovlK2BVaJkGXpOk5chPjBECpf78FZ5P+vJygbF9e5yMihBvEmW+S
ffNEwR1cT1W1mV3+HHL9u87hTnNzkvMhjsAzwYb6EwozUkfa6Iuay3BNELsEc/8I
btjC2CLGbeXeU74Vj9ZChkBjle6WVw+f7YZexUu+Q3fAi5q6BLMpsXs8tzA+qiC6
f3jG2ReegejOseMR7h5lEuA3jDi9rfncJD7cqgze3JLCaKQe41TLYfAoLDaQWqsD
s5/KtarS1lN92zjRQdH7qkBwTjx2DdEakwzQunYZGDgblO/AMtt/o5DBKmhTFpZk
oHjgMLHDjrVfzIaz9oF9GGHxZTolziUI+nVbVVfZMOlhTjgAR1CPBVzcw2QjUsMg
O7RxWc1B4jRNLdzZz5SvgKOvYkOoxUjlTydt0xvrZ5lhRevt8/a2FsHSAT6ah6PW
dn6PraygOhzyCtdxhh9OUCcHMyLTIhRO/qMMLOfIo3aXzr6J7noZtqAmtWT2i796
6ioVLmwVaCP+a4cXn9WJcCv0PZC4tQUJiX8JY9wlRvS9EQCNVi0ZlUZMkRiCI88c
pwI3y9THfYyyl4XPlhs2fsBHsczcfvoDx6ve7Mi9MXb+UgNLIn4=
=aUgs
-----END PGP SIGNATURE-----


M
M
Marius Bakke wrote on 28 Feb 2018 18:14
(name . ng0)(address . ng0@n0.is)
87371lujdr.fsf@fastmail.com
ng0 <ng0@n0.is> writes:

Toggle quote (42 lines)
> Marius Bakke transcribed 43K bytes:
>> ng0 <ng0@n0.is> writes:
>>
>> > Marius Bakke transcribed 2.1K bytes:
>> >> Mike Gerwitz <mtg@gnu.org> writes:
>> >>
>> >> > On Tue, Jan 16, 2018 at 20:01:34 +0100, Marius Bakke wrote:
>> >> >> If there are no objections, expect to see this in 'master' in 1-2 weeks.
>> >> >
>> >> > I want to express gratitude for your hard work on this---given that
>> >> > IceCat does not contain many of the FF devtool updates, Chromium is very
>> >> > desirable for web development. It's also needed for certain Node.js
>> >> > tools, like node-inspector.
>> >> >
>> >> > So, thank you!
>> >>
>> >> Thank *you* for the kind words! :-)
>> >>
>> >> Here is the latest iteration of this patch. New in this version:
>> >>
>> >> * Chromium 64 (duh).
>> >> * The 'delete-bundled-software' phase has been moved to a snippet,
>> >> shaving ~100MiB (~22%) off the compressed tarball size (and
>> >> drastically reduces (de)compression time).
>> >> * The New Tab page does not show any thumbnails for new profiles.
>> >
>> > I think you forgot to attach the patches :)
>>
>> Derp. I realized that and just used `git send-email`[0], but have
>> attached it here for convenience since the debbugs web UI doesn't allow
>> easy download of a raw message.
>>
>> [0] https://debbugs.gnu.org/cgi/bugreport.cgi?msg=131;bug=28004#131
>>
>
> Comments inlined, some words ahead.
>
> I think it's good that we will be able to handle extensions via Guix.
> But: We should point it out that you won't be able to install extensions
> manually, via the store or as a file. People who betatested this got
> confused.

I haven't tested installing from a file. Which error are you getting?

You can use extensions from the store by setting the variable
"CHROMIUM_ENABLE_WEB_STORE", as in Debian. But I don't see a need to
document it since it's unsupported territory from a Guix viewpoint.

Toggle quote (8 lines)
>> + (substitute* "chrome/common/chrome_paths.cc"
>> + (("/usr/share/chromium/extensions")
>> + ;; TODO: Add ~/.guix-profile.
>> + "/run/current-system/profile/share/chromium/extensions"))
>
> I don't know if I asked you about this in the past, but can you explain why you
> picked the run dir? I have to re-read the Gentoo eclass and Nix integration for this.

The plan is to package extensions with Guix and place them in
"out/share/chromium/extensions". Then you would be able to install
extensions through the system profile, until a better solution is in
place (like a search path).

Toggle quote (9 lines)
>> + (mkdir-p bin)
>> + ;; Add a thin wrapper to prevent the user from inadvertently
>> + ;; installing non-free software through the Web Store.
>> + ;; TODO: Discover extensions from the profile and pass
>> + ;; something like "--disable-extensions-except=...".
>
> To be able to work on this, can you (at least in this bug ticket,
> explain the TODO part a bit more?

This was inspired by Debians wrapper script, which discovers extensions
installed by Apt and composes this command line. It allows disabling
the web store while still using extensions. I'll see if I can improve
the comment.

Thanks for the feedback!
-----BEGIN PGP SIGNATURE-----

iQEzBAEBCgAdFiEEu7At3yzq9qgNHeZDoqBt8qM6VPoFAlqW42AACgkQoqBt8qM6
VPpRnggAmE+MC7xBreY8GO/9yNrpRVG0PmbEFR8PD35yuxffA2p+yI4y3oCPB5Zb
1Qd96cW5GgViyYnHHlIy1Ljct98hqo7mFP8+Sedoyzp546Ol2dPYAXVf0fw+YX65
AZu9Mf2OYanye+lQAmgHookcjHyleym1mCxFIEYdiJqVqeiL1mCKS2C59AwPt97s
k+jbiRJLZUeLbk9PN9fP8Wbi86WuO0poTpi6veamvFt3Irbn8jrmC2j+D0xS8J4C
JzvkfDgCpT0lcYifO3vcUP23CqmVs74iMMEtz3k0V9ZU/mljeoCoZOQizZSvaHC9
nSwOHjh82/b0cjSLnrr0b7dDCWbZRQ==
=/dbz
-----END PGP SIGNATURE-----

M
M
Marius Bakke wrote on 28 Feb 2018 18:28
(name . Mike Gerwitz)(address . mtg@gnu.org)(address . 28004@debbugs.gnu.org)
87zi3tt44x.fsf@fastmail.com
Mike Gerwitz <mtg@gnu.org> writes:

Toggle quote (7 lines)
> On Mon, Feb 26, 2018 at 19:18:39 +0100, Marius Bakke wrote:
>> Now, when launching the browser for the first time, it *still* connects
>> to Google services. After a while it also does a lookup for AdWords...
>
> Do you know what code initiates this? Would it be easy to remove, and
> would that harm other functionality?

Unfortunately, I don't know what triggers it. Feel free to try picking
some of the other Inox patches and see if it makes a difference:


Inox goes great lengths to "ungooglify" the browser. I've decided
against picking *all* their patches, for two reasons:

1) I'd like users to be able to use Chromium with their Google account
if they wish to (although I haven't actually tested this), and more
importantly:

2) More patches means more porting work every new release. Usually
major versions bumps come with a plethora of security fixes, so I wish
to minimize maintenance overhead. Just figuring out the changed
dependencies, build flags, and GCC bugs with every release is a lot of
work already.

Toggle quote (4 lines)
> Saying that it only runs the first time implies to me that there's a
> flag, and that perhaps the flag can either be permanently set or the
> conditional triggering this behavior removed.

Indeed. Any help figuring out the offender is very welcome! No external
connectivity in the default configuration is a goal we should strive for.
-----BEGIN PGP SIGNATURE-----

iQEzBAEBCgAdFiEEu7At3yzq9qgNHeZDoqBt8qM6VPoFAlqW5s4ACgkQoqBt8qM6
VPottwf5AXGEfvNf79MnW8g1W7l9o436utStYCIs+CJD8ZyDG5PIZQSA+BwxZ0nA
9cfS/JUwdbDjt/pk6ByU9qauCvEwC/zurhWGaUr/yJyMBHikjyn0/Cmu4hfuRGHG
hUPg1XnucEgDSsaCWRH2YStgDLfR2HHaVNKNHqgIVqcgvDJiY09lH5kNQIVDPeyH
TwHowGxIYm18a0gvBnxKqWQm2izQV4xGMpqv/Ub38AieSIsbv3yyHbWf0kCBfKTK
bohEWn2pApWJ0a+VUinXKyh5PILaHNq0DQMGGpcZH5givh94+Y2imNeEIKtDOjqp
7DD2qTLohAxjSmMoqsg23ojCfnkbug==
=gTUK
-----END PGP SIGNATURE-----

M
M
Marius Bakke wrote on 28 Feb 2018 18:38
(name . Björn Höfling)(address . bjoern.hoefling@bjoernhoefling.de)(address . 28004@debbugs.gnu.org)
87woyxt3nz.fsf@fastmail.com
Björn Höfling <bjoern.hoefling@bjoernhoefling.de> writes:

Toggle quote (51 lines)
> Hi Marius,
>
> On Mon, 26 Feb 2018 21:06:57 +0100
> Marius Bakke <mbakke@fastmail.com> wrote:
>
>> ng0 <ng0@n0.is> writes:
>>
>> > Marius Bakke transcribed 2.1K bytes:
>> >> Mike Gerwitz <mtg@gnu.org> writes:
>> >>
>> >> > On Tue, Jan 16, 2018 at 20:01:34 +0100, Marius Bakke wrote:
>> >> >> If there are no objections, expect to see this in 'master' in
>> >> >> 1-2 weeks.
>> >> >
>> >> > I want to express gratitude for your hard work on this---given
>> >> > that IceCat does not contain many of the FF devtool updates,
>> >> > Chromium is very desirable for web development. It's also
>> >> > needed for certain Node.js tools, like node-inspector.
>> >> >
>> >> > So, thank you!
>> >>
>> >> Thank *you* for the kind words! :-)
>> >>
>> >> Here is the latest iteration of this patch. New in this version:
>> >>
>> >> * Chromium 64 (duh).
>> >> * The 'delete-bundled-software' phase has been moved to a snippet,
>> >> shaving ~100MiB (~22%) off the compressed tarball size (and
>> >> drastically reduces (de)compression time).
>> >> * The New Tab page does not show any thumbnails for new profiles.
>> >
>> > I think you forgot to attach the patches :)
>>
>> Derp. I realized that and just used `git send-email`[0], but have
>> attached it here for convenience since the debbugs web UI doesn't
>> allow easy download of a raw message.
>>
>> [0] https://debbugs.gnu.org/cgi/bugreport.cgi?msg=131;bug=28004#131
>>
>
>
> This looks like a lot of work. Thank you!
>
> I quickly tried to apply and build the patch and have two first remarks:
>
> The file says:
>
> ;;; Copyright © 2016, 2017, 2018 Marius Bakke <mbakke@fastmail.com>
>
> I haven't followed history, have you worked on this since 2016?

Yeah, I started this shortly after going full-GuixSD in October 2016.
But I didn't submit it until now because I didn't think it met Guix's
standards (and still think it's questionable due to privacy concerns).

Toggle quote (27 lines)
> One patch has a hash-mismatch:
>
> Starting download of /gnu/store/q8hlws48cjfcmz6i40jrnxn3kp750gy4-chromium-icu.patch
> From https://anonscm.debian.org/cgit/pkg-chromium/pkg-chromium.git/plain/debian/patches/system/icu.patch?id=debian/64.0.3282.119-2...
> icu.patch 2KiB 1.8MiB/s 00:00 [####################] 100.0%
> output path `/gnu/store/q8hlws48cjfcmz6i40jrnxn3kp750gy4-chromium-icu.patch' should have sha256 hash `0kf77d8lyma3w0xpgfv2k0c741zp6ii08gzllfja6d5s59c15ylv', instead has `19r0bpv2hapzq5m0m7rlz1dwn3h2ijgkilb2hmhw56qvwpbw0b59'
> @ build-failed /gnu/store/cqdllqn8ig5wnjn0yqvnh4vlzsvnpzv6-chromium-icu.patch.drv - 1 output path `/gnu/store/q8hlws48cjfcmz6i40jrnxn3kp750gy4-chromium-icu.patch' should have sha256 hash `0kf77d8lyma3w0xpgfv2k0c741zp6ii08gzllfja6d5s59c15ylv', instead has `19r0bpv2hapzq5m0m7rlz1dwn3h2ijgkilb2hmhw56qvwpbw0b59'
> cannot build derivation `/gnu/store/vacxbwsprcp52vp6q975450zi091dak2-chromium-64.0.3282.186.tar.xz.drv': 1 dependencies couldn't be built
> @ build-started /gnu/store/7q53inn1v32b5fain0h0wcrliclf0ff1-libvpx+experimental-1.7.0.drv - x86_64-linux /var/log/guix/drvs/7q//53inn1v32b5fain0h0wcrliclf0ff1-libvpx+experimental-1.7.0.drv.bz2
> cannot build derivation `/gnu/store/5qv7anaaqk4576pma9mhcsz1nhrx1n01-chromium-64.0.3282.186.drv': 1 dependencies couldn't be built
> guix build: error: build failed: build of `/gnu/store/5qv7anaaqk4576pma9mhcsz1nhrx1n01-chromium-64.0.3282.186.drv' failed
>
> I looked into the file and it looks reasonable, like a patch-file. It has no download errors.
>
> It starts like this:
>
> description: backwards compatibility for older versions of icu
> author: Michael Gilbert <mgilbert@debian.org>
>
> --- a/v8/src/runtime/runtime-intl.cc
> +++ b/v8/src/runtime/runtime-intl.cc
> @@ -627,7 +627,11 @@ RUNTIME_FUNCTION(Runtime_PluralRulesSele
>
> ...
>
> Can you check this file again?

Whoops, indeed. I had an older patch in my store and apparently forgot
to update the hash.

The correct hash for %chromium-system-icu.patch is:

19r0bpv2hapzq5m0m7rlz1dwn3h2ijgkilb2hmhw56qvwpbw0b59

Thanks for letting me know! I'll send an updated patch later, with some
other minor improvements.
-----BEGIN PGP SIGNATURE-----

iQEzBAEBCgAdFiEEu7At3yzq9qgNHeZDoqBt8qM6VPoFAlqW6TAACgkQoqBt8qM6
VPrVOQgAmxdpWrvUsJjBCD8ISMJ3fs5nDZt3/jDfiwj2glLjCjGvqjqytxhOYkXM
CeeuO1Um8gb270ePmBAnY02dRL2Qx8oF6ORcw4xS7rh5MyJJzfbYk4pjx8MvvrI4
L4mV6piCMYj85BsYkud+9ni7P+HKoTaExve5DEImmz5ZiU5QkleJKoRspugIydQn
ExEekgSvG7kOsNY1NyQw3CE2CYToFrKyLsaWWYvkGzh7hkie/9x9Z/kMfK6HSqoq
5twX9XKHn2g9I+V1IXTIRua16TVy8qsbNtxEqcNXpFu9emrEbC7l5OFyKAXV0+yV
GEDEs14P/WnvwhFFADdNfTxI1JevNg==
=UrxJ
-----END PGP SIGNATURE-----

B
B
Björn Höfling wrote on 28 Feb 2018 19:09
(name . Marius Bakke)(address . mbakke@fastmail.com)(address . 28004@debbugs.gnu.org)
20180228190925.383c1e25@alma-ubu
On Wed, 28 Feb 2018 18:38:56 +0100
Marius Bakke <mbakke@fastmail.com> wrote:

Toggle quote (15 lines)
> Björn Höfling <bjoern.hoefling@bjoernhoefling.de> writes:

> > One patch has a hash-mismatch:
> >
> > Starting download
> > of /gnu/store/q8hlws48cjfcmz6i40jrnxn3kp750gy4-chromium-icu.patch
> > From
> > https://anonscm.debian.org/cgit/pkg-chromium/pkg-chromium.git/plain/debian/patches/system/icu.patch?id=debian/64.0.3282.119-2...
> > icu.patch 2KiB 1.8MiB/s 00:00
> > [####################] 100.0% output path
> > `/gnu/store/q8hlws48cjfcmz6i40jrnxn3kp750gy4-chromium-icu.patch'
> > should have sha256 hash
> > `0kf77d8lyma3w0xpgfv2k0c741zp6ii08gzllfja6d5s59c15ylv', instead has
> > `19r0bpv2hapzq5m0m7rlz1dwn3h2ijgkilb2hmhw56qvwpbw0b59' @

[..]

Toggle quote (11 lines)
>
> Whoops, indeed. I had an older patch in my store and apparently
> forgot to update the hash.
>
> The correct hash for %chromium-system-icu.patch is:
>
> 19r0bpv2hapzq5m0m7rlz1dwn3h2ijgkilb2hmhw56qvwpbw0b59
>
> Thanks for letting me know! I'll send an updated patch later, with
> some other minor improvements.

With that confirmation, I could build the source derivation.

Thanks.

Björn
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2

iEYEARECAAYFAlqW8FYACgkQvyhstlk+X/2k1QCeJxC3BaMrYTTL6xTdWSBk6ZcG
n8wAnjJTDY0qLaGgcFAYUabAJcXQtxmw
=EDDB
-----END PGP SIGNATURE-----


N
(name . Marius Bakke)(address . mbakke@fastmail.com)
20180316173044.dctlydfij7smndxd@abyayala
Marius Bakke transcribed 4.8K bytes:
Toggle quote (95 lines)
> Björn Höfling <bjoern.hoefling@bjoernhoefling.de> writes:
>
> > Hi Marius,
> >
> > On Mon, 26 Feb 2018 21:06:57 +0100
> > Marius Bakke <mbakke@fastmail.com> wrote:
> >
> >> ng0 <ng0@n0.is> writes:
> >>
> >> > Marius Bakke transcribed 2.1K bytes:
> >> >> Mike Gerwitz <mtg@gnu.org> writes:
> >> >>
> >> >> > On Tue, Jan 16, 2018 at 20:01:34 +0100, Marius Bakke wrote:
> >> >> >> If there are no objections, expect to see this in 'master' in
> >> >> >> 1-2 weeks.
> >> >> >
> >> >> > I want to express gratitude for your hard work on this---given
> >> >> > that IceCat does not contain many of the FF devtool updates,
> >> >> > Chromium is very desirable for web development. It's also
> >> >> > needed for certain Node.js tools, like node-inspector.
> >> >> >
> >> >> > So, thank you!
> >> >>
> >> >> Thank *you* for the kind words! :-)
> >> >>
> >> >> Here is the latest iteration of this patch. New in this version:
> >> >>
> >> >> * Chromium 64 (duh).
> >> >> * The 'delete-bundled-software' phase has been moved to a snippet,
> >> >> shaving ~100MiB (~22%) off the compressed tarball size (and
> >> >> drastically reduces (de)compression time).
> >> >> * The New Tab page does not show any thumbnails for new profiles.
> >> >
> >> > I think you forgot to attach the patches :)
> >>
> >> Derp. I realized that and just used `git send-email`[0], but have
> >> attached it here for convenience since the debbugs web UI doesn't
> >> allow easy download of a raw message.
> >>
> >> [0] https://debbugs.gnu.org/cgi/bugreport.cgi?msg=131;bug=28004#131
> >>
> >
> >
> > This looks like a lot of work. Thank you!
> >
> > I quickly tried to apply and build the patch and have two first remarks:
> >
> > The file says:
> >
> > ;;; Copyright © 2016, 2017, 2018 Marius Bakke <mbakke@fastmail.com>
> >
> > I haven't followed history, have you worked on this since 2016?
>
> Yeah, I started this shortly after going full-GuixSD in October 2016.
> But I didn't submit it until now because I didn't think it met Guix's
> standards (and still think it's questionable due to privacy concerns).
>
> > One patch has a hash-mismatch:
> >
> > Starting download of /gnu/store/q8hlws48cjfcmz6i40jrnxn3kp750gy4-chromium-icu.patch
> > From https://anonscm.debian.org/cgit/pkg-chromium/pkg-chromium.git/plain/debian/patches/system/icu.patch?id=debian/64.0.3282.119-2...
> > icu.patch 2KiB 1.8MiB/s 00:00 [####################] 100.0%
> > output path `/gnu/store/q8hlws48cjfcmz6i40jrnxn3kp750gy4-chromium-icu.patch' should have sha256 hash `0kf77d8lyma3w0xpgfv2k0c741zp6ii08gzllfja6d5s59c15ylv', instead has `19r0bpv2hapzq5m0m7rlz1dwn3h2ijgkilb2hmhw56qvwpbw0b59'
> > @ build-failed /gnu/store/cqdllqn8ig5wnjn0yqvnh4vlzsvnpzv6-chromium-icu.patch.drv - 1 output path `/gnu/store/q8hlws48cjfcmz6i40jrnxn3kp750gy4-chromium-icu.patch' should have sha256 hash `0kf77d8lyma3w0xpgfv2k0c741zp6ii08gzllfja6d5s59c15ylv', instead has `19r0bpv2hapzq5m0m7rlz1dwn3h2ijgkilb2hmhw56qvwpbw0b59'
> > cannot build derivation `/gnu/store/vacxbwsprcp52vp6q975450zi091dak2-chromium-64.0.3282.186.tar.xz.drv': 1 dependencies couldn't be built
> > @ build-started /gnu/store/7q53inn1v32b5fain0h0wcrliclf0ff1-libvpx+experimental-1.7.0.drv - x86_64-linux /var/log/guix/drvs/7q//53inn1v32b5fain0h0wcrliclf0ff1-libvpx+experimental-1.7.0.drv.bz2
> > cannot build derivation `/gnu/store/5qv7anaaqk4576pma9mhcsz1nhrx1n01-chromium-64.0.3282.186.drv': 1 dependencies couldn't be built
> > guix build: error: build failed: build of `/gnu/store/5qv7anaaqk4576pma9mhcsz1nhrx1n01-chromium-64.0.3282.186.drv' failed
> >
> > I looked into the file and it looks reasonable, like a patch-file. It has no download errors.
> >
> > It starts like this:
> >
> > description: backwards compatibility for older versions of icu
> > author: Michael Gilbert <mgilbert@debian.org>
> >
> > --- a/v8/src/runtime/runtime-intl.cc
> > +++ b/v8/src/runtime/runtime-intl.cc
> > @@ -627,7 +627,11 @@ RUNTIME_FUNCTION(Runtime_PluralRulesSele
> >
> > ...
> >
> > Can you check this file again?
>
> Whoops, indeed. I had an older patch in my store and apparently forgot
> to update the hash.
>
> The correct hash for %chromium-system-icu.patch is:
>
> 19r0bpv2hapzq5m0m7rlz1dwn3h2ijgkilb2hmhw56qvwpbw0b59
>
> Thanks for letting me know! I'll send an updated patch later, with some
> other minor improvements.


I think we found it to be good enough to be included in master, or did I miss anything?

Would be nice if I could drop my local patch (and building). The team around Taler seems
to be interested in it as well as far as I can remember our chats in Leipzig.
--
A88C8ADD129828D7EAC02E52E22F9BBFEE348588
M
M
Marius Bakke wrote on 16 Mar 2018 18:45
(name . ng0)(address . ng0@n0.is)
87h8pfc3tr.fsf@fastmail.com
ng0 <ng0@n0.is> writes:

Toggle quote (5 lines)
> I think we found it to be good enough to be included in master, or did I miss anything?
>
> Would be nice if I could drop my local patch (and building). The team around Taler seems
> to be interested in it as well as far as I can remember our chats in Leipzig.

Reading up on GNU Taler, Chromium seems like a poor choice for an
anonymous payment system. Why not GNU IceCat? I don't see Chromium
becoming stable enough for guaranteed privacy any time soon. And a full
fork would require a large maintenance team.

Unfortunately I got busy after the latest update, and haven't had time
to work on 65 yet. I will send an update once I get around to it, and
also try some other Inox patches and see if they help with the "first
launch" issue -- hopefully within a week or two.
-----BEGIN PGP SIGNATURE-----

iQEzBAEBCgAdFiEEu7At3yzq9qgNHeZDoqBt8qM6VPoFAlqsAqAACgkQoqBt8qM6
VPpoYgf+ILajYD73EBu0xTFNQGJn2XIbTesjwIgVWEIKWdlLswDaoP+eD0WnrBsu
5o/GrYeWMwKpxJ7mc7PLYCuYB8zpgLQB4C/heNKNpljS2BHVevaHE8DHpNam5dIr
fT001k7JHhZuXQQWauNfgmUBXP/oGp5+KyH+Co9zbXpX7OlegwNbc6DZwq+rRUG2
gmxgKxRKLDM51pAGQySV6eoBhGG1GJYxNdTeUdcEXoJtX0cBVcta9iswA2YQFMKL
vNXZPfgGsOv75KIFEzhdV5BYw3x7uQBYtvkcu6G9OkCeNbk6HJNYpfapM0WqBZhs
ymG1kcpiTDUD/e4uBDd80OrQnHhggQ==
=0xjP
-----END PGP SIGNATURE-----

N
(name . Marius Bakke)(address . mbakke@fastmail.com)
20180316175225.7jf4k2qaciyxnepp@abyayala
Marius Bakke transcribed 1.4K bytes:
Toggle quote (12 lines)
> ng0 <ng0@n0.is> writes:
>
> > I think we found it to be good enough to be included in master, or did I miss anything?
> >
> > Would be nice if I could drop my local patch (and building). The team around Taler seems
> > to be interested in it as well as far as I can remember our chats in Leipzig.
>
> Reading up on GNU Taler, Chromium seems like a poor choice for an
> anonymous payment system. Why not GNU IceCat? I don't see Chromium
> becoming stable enough for guaranteed privacy any time soon. And a full
> fork would require a large maintenance team.

Why: Ask Taler directly, I'm not involved with them.
And on for what: It is just for the Browser extension. No one is forking
Chromium again.

Toggle quote (5 lines)
> Unfortunately I got busy after the latest update, and haven't had time
> to work on 65 yet. I will send an update once I get around to it, and
> also try some other Inox patches and see if they help with the "first
> launch" issue -- hopefully within a week or two.

Cool, thanks! And thanks for your continued work on this. I'll definitely
try to help out once it is in master.
--
A88C8ADD129828D7EAC02E52E22F9BBFEE348588
-----BEGIN PGP SIGNATURE-----

iQIzBAABCgAdFiEEqIyK3RKYKNfqwC5S4i+bv+40hYgFAlqsBFkACgkQ4i+bv+40
hYhN/Q/9FpjVSMbtxcBVIhXk56gnCGGhohJxTKVVqsGrru/ZpO3XO0Sq5aOhvyPx
JkYG2iYL0pJboltQWFWw/NO4JRYVdTt/mNZMyaL/R3vd/eSQb7DqpohUOq9CKcJ8
a76LvqaLqTrAYrVCOLEYYayiKzxlky5HZLt1vkQ4MEW8h3gdVEicHa5axhICPuX+
brbXZTilWgCI2DZPhaSIdrEHeGMqXldhmskMz55Wq3mJiBStQisTbiIdd+KLHfMh
Ur407LLJxzghb3X0HSMH49Lk1A1k9xWothMM0dIQ6M2rvh2mJD/RMEyBER/B9bTu
3c+rOIuspsyVs7r9E6+S+0dR84R/XY3Eg9jVArNy5cF7fnEqYxUFXqeXs4Zbntlb
sDicqs/XpdxqTKHymzpIbL02LpLoF8j+zdSo9Hz3mVpqR3Kd55JkBZBV7I+WzHBy
fa6MWMpLNvLblonUqgu83SmWetky0YfDQSApWpvM0kAbiGDbyoV1pPNcW39nJJ1k
Vv4E0MwGFFCXRkWyX4zJgimkkPEZkaYUNz4IFbdxNazEhMdqp2HnuVzuHbfNvlX4
hGnpGhWwXyz3Z4mw/y5IkQlVD6WjziSIDUDHgdqTY/i71JfH9LdaDC6l2vKkgylE
B2oc6nrQDGJ5J0pRryhSp0XTsQK3i0fy//ZuavF5etCa83PXhnY=
=Ai+x
-----END PGP SIGNATURE-----


A
A
Adonay Felipe Nogueira wrote on 16 Mar 2018 20:01
(address . guix-patches@gnu.org)
87po43rgip.fsf@hyperbola.info
Toggle quote (5 lines)
> Reading up on GNU Taler, Chromium seems like a poor choice for an
> anonymous payment system. Why not GNU IceCat? I don't see Chromium
> becoming stable enough for guaranteed privacy any time soon. And a full
> fork would require a large maintenance team.

+1 (I agree with you).

--
- Palestrante e consultor sobre /software/ livre (não confundir com
gratis).
- "WhatsApp"? Ele não é livre. Por favor, veja formas de se comunicar
instantaneamente comigo no endereço abaixo.
- Arquivos comuns aceitos (apenas sem DRM): Corel Draw, Microsoft
Office, MP3, MP4, WMA, WMV.
- Arquivos comuns aceitos e enviados: CSV, GNU Dia, GNU Emacs Org, GNU
GIMP, Inkscape SVG, JPG, LibreOffice (padrão ODF), OGG, OPUS, PDF
(apenas sem DRM), PNG, TXT, WEBM.
N
(name . Adonay Felipe Nogueira)(address . adfeno@hyperbola.info)(address . 28004@debbugs.gnu.org)
20180316193422.wd6rybkpxpzyvqs7@abyayala
Adonay Felipe Nogueira transcribed 890 bytes:
Toggle quote (7 lines)
> > Reading up on GNU Taler, Chromium seems like a poor choice for an
> > anonymous payment system. Why not GNU IceCat? I don't see Chromium
> > becoming stable enough for guaranteed privacy any time soon. And a full
> > fork would require a large maintenance team.
>
> +1 (I agree with you).

Read the follow-up emails I've sent.

Also, 1 line emails which basically say "+1" are not really good,
even more so when it goes offtopic (this is about getting Chrmium into
Guix!). As we are already offtopic: Want Cross-Browser support
so that the Browser *extension* (Taler is not *a* Browser) runs
in legacy old cruft Icecat base and newer Firefox (which shares
extension format with Chrome?
Good, there's something to work on in Taler if you want it.

Again, I am not a Taler developer, reach out to them.
--
A88C8ADD129828D7EAC02E52E22F9BBFEE348588
A
A
Adonay Felipe Nogueira wrote on 16 Mar 2018 22:20
(address . 28004@debbugs.gnu.org)
87in9vpvj6.fsf@hyperbola.info
Toggle quote (8 lines)
> Guix!). As we are already offtopic: Want Cross-Browser support
> so that the Browser *extension* (Taler is not *a* Browser) runs
> in legacy old cruft Icecat base and newer Firefox (which shares
> extension format with Chrome?
> Good, there's something to work on in Taler if you want it.
>
> Again, I am not a Taler developer, reach out to them.

Indeed, sorry for the bother, I tought I was replying to Taler. I guess
I'm somewhat asleep today.
M
M
Marius Bakke wrote on 13 Apr 2018 21:10
Chromium 65
(address . 28004@debbugs.gnu.org)
87po32c47b.fsf@fastmail.com
Hello!

Attached is a patch for Chromium 65.

New in this version:

* Deleting third party files is now done with a single traversal of the
file system, instead of the "shotgun" approach used previously. I
also added a second pass to scrub bundled JARs and tarballs, that will
be incorporated in the "nftw" snippet eventually.

* It's using Clang instead of GCC since the latter is no longer
supported upstream (as in part of their continuous integration). GCC5
in particular is completely broken with this release. Debian and
NixOS are apparently able to build it with GCC 6 and 7 respectively,
but Arch and Gentoo changed to Clang with 65. Unfortunately GCC6 and
later has other problems in Guix: https://bugs.gnu.org/30756.

* Various tweaks to build options after reading the "GN" flags more
closely. In particular, more debugging symbols have been removed.

I haven't done anything on the privacy side since this update was
difficult enough as-is. You'll notice a few hacks around Clang and
libstdc++, and also that currently only x86_64 is supported due to
unconditionally adding the x86_64 triplet to CPLUS_INCLUDE_PATH.

Hopefully future updates will be easier. Any feedback on the
Clang/libstdc++ issues mentioned in the patch are very welcome.
-----BEGIN PGP SIGNATURE-----

iQEzBAEBCgAdFiEEu7At3yzq9qgNHeZDoqBt8qM6VPoFAlrRALkACgkQoqBt8qM6
VPos9AgAsv1OBxLJCbBTyGUj+KeoliQrfjD68RN6kppnZSsAIWXR/PMZRdrydXGo
TuBcigQdgRt/DNVS0p9MR3aJ01kFwZVZMSWLNNK+OTIOf+m9cuYcsFPP5RGfUEMc
C7o8zHaBVH6V2j1o+rqAi7D8vKNrIDxmEBHjFgY+hn6yrSP7T1Rrv10wq0471ROF
8ybupERXIN0rvj9OCIqXpOhw+fN+nXKnaear2M7vidGumVvqhU544utWJVPZCNYX
4buP5dsEwzlu9qWz8A2ZXRnJFAY9QeUeCGtbcWpom3A+wfwtUVCIa+1cITQpTrHA
7Y8Z1+tbz7f+aaNAevzan5IG4EkOdQ==
=eFI1
-----END PGP SIGNATURE-----

O
O
Oleg Pykhalov wrote on 17 Apr 2018 21:10
(name . Marius Bakke)(address . mbakke@fastmail.com)(address . 28004@debbugs.gnu.org)
877ep5myy5.fsf@gmail.com
Hello Marius,

First of all, thank you for working on this!

Marius Bakke <mbakke@fastmail.com> writes:

Toggle quote (2 lines)
> Attached is a patch for Chromium 65.

I've built it successfully. Thank you for such a hard work!


I build ‘chromium’ from my first day of using GuixSD (about one year).
Because of I cannot build it constantly, I always use out of date
‘chromium’ closure. It's more worse for privacy and security than
unchecked new ‘chromium’ version in my case (I guess).

Could we have it pushed to ‘origin/master’ for people like me? :-)

Thanks,
Oleg.
-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEEc+OyAXw1EaDPCmAPckbhHGm3lWkFAlrWRpIACgkQckbhHGm3
lWlZ5Q//S8RY1KguODn0MCqqmSF6LqIPT9x6loeetkM96cavvb2E/9RUXZZ0y1jN
qFkoveGlyc5xV6zxze8LRmOdgc6bMyMfvbWZfoIlrd/93EjbYZl49UggTKFnj4/F
k5y/Gl6mxEbZaNBgxOdBeYMU11Vql70+YR1id1U+QBXgsjwLjjBQNTU2FmqX8JDR
oHvP9VeBoX/l3/EcqiHZDHdP8uegwYrQQIvnwchMR4zupBWwTi2hnGjnLN1rEWxY
MDRZ14t2oRh/g9krj+Vm5le4VsXwmjhoh86F6kvnDye+4uWn7IZyfJoVNsTEkITF
7J1Q9sIvvjtOoyCVbpLssjYbnFrB2NONiAQs9P8AbfXJlPldPO5HlvV0E0bGadCm
U2HvVVLOgxS3CABgpKHfpc8NdCzC3mTRpFhZfq0fS+gGdne9JXKubhGs6AIbsbnG
Pmn8UUVQbMH4YW38NRMWnifSW6xYdmgxAkoFssdawZ+u4enf3n07wdIg7y+ZIa/v
rRiAMj0tT+QxKe42mCpXuo87g6Zff4pm9KjoWLbSPhgZ365N66druRziFGLXN93d
HmU76qAij7AG/PFVZynGPjZW9tAZnLarG4yYMGQK3m7zRZC3r3QaLhuLy1J+zZFV
/FSgph6Cas/nanzVKWCYXpFqi4ynRccRv4G6ERsh3LDBm8ICkWI=
=VX0B
-----END PGP SIGNATURE-----

C
C
Christopher Lemmer Webber wrote on 24 Apr 2018 19:05
(name . Marius Bakke)(address . mbakke@fastmail.com)(address . 28004@debbugs.gnu.org)
87po2own4s.fsf@dustycloud.org
Hello! I'd like to speak up in favor of getting Chromium merged into
Guix master. As a web developer, sometimes I have to test things
against multiple browsers. Having Chromium in GuixSD would help me out
a lot.

It looks like a mountain of hard work has been put into this. Could we
get it merged rather than have that work languish?
M
M
Marius Bakke wrote on 24 Apr 2018 20:08
Chromium 66 + status update
(name . Christopher Lemmer Webber)(address . cwebber@dustycloud.org)(address . 28004@debbugs.gnu.org)
87woww8ojw.fsf@fastmail.com
Christopher Lemmer Webber <cwebber@dustycloud.org> writes:

Toggle quote (8 lines)
> Hello! I'd like to speak up in favor of getting Chromium merged into
> Guix master. As a web developer, sometimes I have to test things
> against multiple browsers. Having Chromium in GuixSD would help me out
> a lot.
>
> It looks like a mountain of hard work has been put into this. Could we
> get it merged rather than have that work languish?

Hello!

I use this browser a lot, so it's hardly languishing.

There was a recent discussion[0] about the Pale Moon browser, where it
was pointed out that the FSDG[1] requires that any third-party
repositories must be committed to only free software.


Unfortunately there are UI links to the Chrome "Web Store" still. It's
not possible to install from it without setting the
CHROMIUM_ENABLE_WEB_STORE variable, but I'm not sure if that is
sufficient. It's unfortunate if an unsuspecting user stumbles into the
Web Store and tries to install something (free or not) and only then
finds out that it does not work.

The other remaining issue is that some data is sent to Google whenever
you start the browser for the first time. I don't think that's a
blocker, but it's certainly something we should aim to fix.

Attached are updates for 66. The first is an interdiff from the
previous 65 patch; the other is the full "squashed" patch for
convenience.

New in this version:

* The snippet will now error if a preserved directory is not present.
* Chromium again requires a git revision of libvpx.
* The "safe browsing" feature requires the nonfree "unrar" program(!!),
as such it has been compiled out. Luckily "Inox" already had a patch
to make the thing actually build with that flag disabled.
* Cosmetic rearrangement of patches to follow Debian and Inox patch order.
...and the full thing:
-----BEGIN PGP SIGNATURE-----

iQEzBAEBCgAdFiEEu7At3yzq9qgNHeZDoqBt8qM6VPoFAlrfcrMACgkQoqBt8qM6
VPrr3Qf/ZCU6KzY71fuLDXrskeAJ1ghoIVETr6aQcPkG0cca5JQqSaRhyZOXa/KY
LfI2PA9ZngwkdnL123ynVg/CEjvTpPdFsnMiuHoyLZkzgifx4bsfdCouyMqlgHbG
9frDYAzmkYR8vF+6sh8CEOJLtTsZZxDlnd33LFwY8ijVFYlCBQ/vXAWObEc+ufLd
KcrSWBpxDdNgFOO6veGJYYYF4owsZiHBBHkleI/GGb46bOxaJ9LyK4pHW73ibskc
5CxyFTB/7RdXsLiSJuiBHkNlXwpcPUYpyq5ff1VNWpmdzDM5kTj5qxJDCbqkaJjE
JXs+xFiLL5jX5fK8FgRoHGcNFFjqhQ==
=YBRz
-----END PGP SIGNATURE-----

C
C
Christopher Lemmer Webber wrote on 24 Apr 2018 20:45
(name . Marius Bakke)(address . mbakke@fastmail.com)(address . 28004@debbugs.gnu.org)
068e3226d5004773fa3cb007050bd463@dustycloud.org
Marius!

On 2018-04-24 20:08, Marius Bakke wrote:
Toggle quote (3 lines)
> The other remaining issue is that some data is sent to Google whenever
> you start the browser for the first time.

Sounds great! What data, exactly?

Toggle quote (2 lines)
> I don't think that's a blocker

I hope it is.

Kind regards,

T G-R

Sent from a Web browser. Excuse or enjoy my brevity.
T
T
Tobias Geerinckx-Rice wrote on 24 Apr 2018 20:46
(name . Marius Bakke)(address . mbakke@fastmail.com)(address . 28004@debbugs.gnu.org)
b0ebfaeac3dcf2641eda526754899bef@tobias.gr
Marius!

On 2018-04-24 20:08, Marius Bakke wrote:
Toggle quote (3 lines)
> The other remaining issue is that some data is sent to Google whenever
> you start the browser for the first time.

Sounds great! What data, exactly?

Toggle quote (2 lines)
> I don't think that's a blocker

I hope it is.

Kind regards,

T G-R

Sent from a Web browser. Excuse or enjoy my brevity.
T
T
Tobias Geerinckx-Rice wrote on 24 Apr 2018 20:48
(name . Christopher Lemmer Webber)(address . cwebber@dustycloud.org)
e4a4e0814d2152c9ae6f3f9cfedd190e@tobias.gr
Erm

On 2018-04-24 20:45, Christopher Lemmer Webber wrote:
Toggle quote (2 lines)
> some nonsense

My apologies: of course Chris did no such thing.

I really need to get rid of Roundcube, that's what.

Kind regards,

T G-R

Sent from a Web browser. Excuse or enjoy my brevity.
M
M
Marius Bakke wrote on 24 Apr 2018 21:30
(name . Tobias Geerinckx-Rice)(address . me@tobias.gr)(address . 28004@debbugs.gnu.org)
87tvs08ks0.fsf@fastmail.com
Tobias Geerinckx-Rice <me@tobias.gr> writes:

Toggle quote (8 lines)
> Marius!
>
> On 2018-04-24 20:08, Marius Bakke wrote:
>> The other remaining issue is that some data is sent to Google whenever
>> you start the browser for the first time.
>
> Sounds great! What data, exactly?

I haven't MITM'd it to check, unfortunately. Help wanted!

The reason I don't think it's a blocking issue, is because Chromium is
a massive project and I cannot guarantee that it will never "call
home". So while I am intent on fixing the issue, especially since it's
easy to test (chromium --user-data-dir=/tmp/foo), it's just one of many
"call home" scenarios/antifeatures. And if you enable extensions or log
in all bets are off. Even Inox, which goes great lengths to de-google
it, admits that they can't guarantee privacy.

Other scenarios include checking for IPv6 availability, testing for
captive portal, etc. And I think it even falls back to Google DNS if
the system resolver is unresponsive. :-(
-----BEGIN PGP SIGNATURE-----

iQEzBAEBCgAdFiEEu7At3yzq9qgNHeZDoqBt8qM6VPoFAlrfhc8ACgkQoqBt8qM6
VPr+MAf/Tc66pviRlefmT3NKksVCNDpM0xZBkg8FWj4vy22+o2Y+PDo9wRdI0OOp
EJQfXhnFiC12grqFDA9pExxqjyocdlEHeZKhtlLW8RZAse+3yxdeVJa8+n6ooa9+
mF3duTVmGWZG/TWOmzML4SjIbCXYF5PUAv3PJRk7+PjsNIaxpnzZFoo9SSUrcNQu
o2rmz6CcRPjJpI0ZvG0NBGf7719M0nFzKtKllHfM5rFKjbssjXGNVqhl1VAF+8TN
ug995Q7SBD+ywCQE7PxslC8tNk/FFlG7zL8dOzHDupS6rIoexStFDTT1//Vk+6Em
yVtZafAq7MtxzYkGXTtNyBp0uo6DvQ==
=PclY
-----END PGP SIGNATURE-----

L
L
Leo Famulari wrote on 25 Apr 2018 19:00
(name . Marius Bakke)(address . mbakke@fastmail.com)
20180425170006.GA23453@jasmine.lan
On Tue, Apr 24, 2018 at 09:30:23PM +0200, Marius Bakke wrote:
Toggle quote (8 lines)
> The reason I don't think it's a blocking issue, is because Chromium is
> a massive project and I cannot guarantee that it will never "call
> home". So while I am intent on fixing the issue, especially since it's
> easy to test (chromium --user-data-dir=/tmp/foo), it's just one of many
> "call home" scenarios/antifeatures. And if you enable extensions or log
> in all bets are off. Even Inox, which goes great lengths to de-google
> it, admits that they can't guarantee privacy.

I agree with Marius here.

Toggle quote (4 lines)
> Other scenarios include checking for IPv6 availability, testing for
> captive portal, etc. And I think it even falls back to Google DNS if
> the system resolver is unresponsive. :-(

I think that handling captive portals and falling back to Google DNS (or
any fallback DNS) are *great* features that address common problems that
most internet users can not work around on their own.

I don't believe these features are forbidden by the FSDG:


Finally, there are several packages that automatically send data out,
even in Guix. This is not a reason to exclude the software from Guix, in
my opinion.
-----BEGIN PGP SIGNATURE-----

iQIzBAABCAAdFiEEsFFZSPHn08G5gDigJkb6MLrKfwgFAlrgtBIACgkQJkb6MLrK
fwhz/xAAqBPjiWcv+I4QOxBK4jrcpSpz6iCdRZMZIMNYz+allgPivGafUV9VQGzT
PDOfLEDlkbr3eujp7qfqev2FTG2nzwFrqdWqKwnkBqC+cR5nx00pJjnnwelMifHU
LXFIh7Vai3jb2+AEqPZ3m5LvKwvKuKSkeBDyJd/45faQ/NQyUM30SEa6YLajYWCA
BHNnl6bckKB/msmmOBT9vZS9zKcMLYfsBhnpimY06fBNe4FZ/Vh+7NSyNG9+oVg1
WwPgDNWCt9CkQbu6LKy2z8685iPrbl5dqWDXq24wmPpm7UkP173Nz8MjziMNHPIZ
D+2Asir+x9lxdptFTBf2fvjm4L5Ry3hTA5fPV7zp5XaIb2cdzolu25HioQCXGUo0
ID1vitZdc15HHau3Mj9CN+WdQSck8/w8iN8x5vdqh1DanhanVHXZAQ8+aPmjkLvP
5TBuGwcUmsnFqdsIdcWiuTvw+w9C0wpRpp7Dvrk33MUPyziU82n3vUeMfJBsuo/L
80sCXDQms7A9FE37DbXFMVSYUEUqUzRdxphDPQ0bacsfx4ry5l4e52gFhdxzAkfR
l1m/YDTywu4a56CKRf/AiszG7ptuTB6dAePu7oFDHQhlsEMl3YneAzgfrC5i4zSW
IE6s37QR6oe6PolymjP7GMfACQW2Fs6poBHhkWy++0gZjMGV9B8=
=nx9V
-----END PGP SIGNATURE-----


L
L
Leo Famulari wrote on 25 Apr 2018 19:02
(name . Marius Bakke)(address . mbakke@fastmail.com)
20180425170229.GB23453@jasmine.lan
On Tue, Apr 24, 2018 at 09:30:23PM +0200, Marius Bakke wrote:
Toggle quote (8 lines)
> The reason I don't think it's a blocking issue, is because Chromium is
> a massive project and I cannot guarantee that it will never "call
> home". So while I am intent on fixing the issue, especially since it's
> easy to test (chromium --user-data-dir=/tmp/foo), it's just one of many
> "call home" scenarios/antifeatures. And if you enable extensions or log
> in all bets are off. Even Inox, which goes great lengths to de-google
> it, admits that they can't guarantee privacy.

I'd also like to point out that we cannot and should not try to
guarantee privacy.

Privacy from whom? For whom?

Of course we want to offer a system that is reasonably private, but if
we use words like "guarantee", we are setting an impossible and
undefined goal for ourselves.
-----BEGIN PGP SIGNATURE-----

iQIzBAABCAAdFiEEsFFZSPHn08G5gDigJkb6MLrKfwgFAlrgtKUACgkQJkb6MLrK
fwgWwQ//aVWUsdRGoCZQR2PWunOEPeb7CbMUQrBOyS/AKhjGFOZ93cetcusPR57S
EOVmOci26oxIy48ZCrfSw/7nCtML2HSlfAdlR7l7TyFyubswT/IIf0PO1vkZoKvS
aS2BiKZm+DAGPFoFvCL/EvGYfrOfY9/KLmBmhHP17OqunfGUJNHt0F1BPFAzDKRA
PTdsbsA3NN2VxRpbshfooU1kFUzZpL+MIFXmNG1rQb8BiOFjPKof9YhhGm7Z5otV
VBLeYehnjbWRi19VrDg3IQD+eJHzwU1m8C6s42VHRuMmgW6jVfFn+UuXB6ZuFiAQ
2i02jxXATrXus2xBvYZhmkhU3+6qCB5Z9+pL6IQw2Fax6+8u4/k91I7qb+AqDevr
jaRf4PVRTGq6Zh+PPwbCTtvNIc3mRODPKDZuKRNL2f087XrwO+nYwnvUigTgvh4f
0SVluYCmejn6LII0x5v8TZcDez/aqas3kEPvh3qpl9kKL2mxf3f6ZPkp81+Smk4w
B2IM5qi4sfzlQSDyUxfxO8ANfOEP3RP5a3EovmWJ+iEaq4CVafO5vsadzHjEEFaH
mFRKAy8bzMNZx0dbW42yRT0XmzzeyiJV7lxdCM3LpvH8cTcp+7LFYMc0Z7sESBOe
oc6Cly9b5BEFshuQGJM072Q2SDy5B0Nl5Q+WTAvFVUre6SRUdhI=
=BrDC
-----END PGP SIGNATURE-----


N
N
Nils Gillmann wrote on 3 May 2018 19:49
(name . Marius Bakke)(address . mbakke@fastmail.com)
20180503174903.asxoaobk6jy2dgk7@abyayala
Marius Bakke transcribed 69K bytes:
Toggle quote (50 lines)
> Christopher Lemmer Webber <cwebber@dustycloud.org> writes:
>
> > Hello! I'd like to speak up in favor of getting Chromium merged into
> > Guix master. As a web developer, sometimes I have to test things
> > against multiple browsers. Having Chromium in GuixSD would help me out
> > a lot.
> >
> > It looks like a mountain of hard work has been put into this. Could we
> > get it merged rather than have that work languish?
>
> Hello!
>
> I use this browser a lot, so it's hardly languishing.
>
> There was a recent discussion[0] about the Pale Moon browser, where it
> was pointed out that the FSDG[1] requires that any third-party
> repositories must be committed to only free software.
>
> [0] https://lists.gnu.org/archive/html/guix-devel/2018-03/msg00319.html
> [1] https://www.gnu.org/distros/free-system-distribution-guidelines.html#license-rules
>
> Unfortunately there are UI links to the Chrome "Web Store" still. It's
> not possible to install from it without setting the
> CHROMIUM_ENABLE_WEB_STORE variable, but I'm not sure if that is
> sufficient. It's unfortunate if an unsuspecting user stumbles into the
> Web Store and tries to install something (free or not) and only then
> finds out that it does not work.
>
> The other remaining issue is that some data is sent to Google whenever
> you start the browser for the first time. I don't think that's a
> blocker, but it's certainly something we should aim to fix.
>
> Attached are updates for 66. The first is an interdiff from the
> previous 65 patch; the other is the full "squashed" patch for
> convenience.
>
> New in this version:
>
> * The snippet will now error if a preserved directory is not present.
> * Chromium again requires a git revision of libvpx.
> * The "safe browsing" feature requires the nonfree "unrar" program(!!),
> as such it has been compiled out. Luckily "Inox" already had a patch
> to make the thing actually build with that flag disabled.
> * Cosmetic rearrangement of patches to follow Debian and Inox patch order.
>

> From a6ce5ebc121f129c3097f1f105b6a4de925b43e9 Mon Sep 17 00:00:00 2001
> From: Marius Bakke <mbakke@fastmail.com>
> Date: Tue, 17 Apr 2018 03:54:56 +0200
> Subject: [PATCH] Chromium 66 update.
>

Good progress :)

However, I'm a friend of bundling patches. Patches you have in a known location
don't run away, like "addmissingblinktools":

Starting download of /gnu/store/1djisy58jqjajbfcrd32vf7hrg9qvzwa-add-missing-blink-tools.patch

Starting download of /gnu/store/1djisy58jqjajbfcrd32vf7hrg9qvzwa-add-missing-blink-tools.patch

Starting download of /gnu/store/1djisy58jqjajbfcrd32vf7hrg9qvzwa-add-missing-blink-tools.patch
builder for `/gnu/store/5hbv5vgnla974qiw6kakc28a4k35h96n-add-missing-blink-tools.patch.drv' failed to produce output path `/gnu/store/1djisy58jqjajbfcrd32vf7hrg9qvzwa-add-missing-blink-tools.patch'
cannot build derivation `/gnu/store/2z8i7b4l4l0p5b3pj4swdl2pvbdj5q24-chromium-66.0.3359.117.tar.xz.drv': 1 dependencies couldn't be built
cannot build derivation `/gnu/store/4fxkp0aa1vr2b9fbl9kw8l8ijw0zrd25-chromium-66.0.3359.117.drv': 1 dependencies couldn't be built
guix package: error: build failed: build of `/gnu/store/4fxkp0aa1vr2b9fbl9kw8l8ijw0zrd25-chromium-66.0.3359.117.drv' failed
N
N
Nils Gillmann wrote on 3 May 2018 19:58
(name . Marius Bakke)(address . mbakke@fastmail.com)(address . 28004@debbugs.gnu.org)
20180503175845.xxz47o4gzj36udp3@abyayala
Nils Gillmann transcribed 4.4K bytes:
Toggle quote (78 lines)
> Marius Bakke transcribed 69K bytes:
> > Christopher Lemmer Webber <cwebber@dustycloud.org> writes:
> >
> > > Hello! I'd like to speak up in favor of getting Chromium merged into
> > > Guix master. As a web developer, sometimes I have to test things
> > > against multiple browsers. Having Chromium in GuixSD would help me out
> > > a lot.
> > >
> > > It looks like a mountain of hard work has been put into this. Could we
> > > get it merged rather than have that work languish?
> >
> > Hello!
> >
> > I use this browser a lot, so it's hardly languishing.
> >
> > There was a recent discussion[0] about the Pale Moon browser, where it
> > was pointed out that the FSDG[1] requires that any third-party
> > repositories must be committed to only free software.
> >
> > [0] https://lists.gnu.org/archive/html/guix-devel/2018-03/msg00319.html
> > [1] https://www.gnu.org/distros/free-system-distribution-guidelines.html#license-rules
> >
> > Unfortunately there are UI links to the Chrome "Web Store" still. It's
> > not possible to install from it without setting the
> > CHROMIUM_ENABLE_WEB_STORE variable, but I'm not sure if that is
> > sufficient. It's unfortunate if an unsuspecting user stumbles into the
> > Web Store and tries to install something (free or not) and only then
> > finds out that it does not work.
> >
> > The other remaining issue is that some data is sent to Google whenever
> > you start the browser for the first time. I don't think that's a
> > blocker, but it's certainly something we should aim to fix.
> >
> > Attached are updates for 66. The first is an interdiff from the
> > previous 65 patch; the other is the full "squashed" patch for
> > convenience.
> >
> > New in this version:
> >
> > * The snippet will now error if a preserved directory is not present.
> > * Chromium again requires a git revision of libvpx.
> > * The "safe browsing" feature requires the nonfree "unrar" program(!!),
> > as such it has been compiled out. Luckily "Inox" already had a patch
> > to make the thing actually build with that flag disabled.
> > * Cosmetic rearrangement of patches to follow Debian and Inox patch order.
> >
>
> > From a6ce5ebc121f129c3097f1f105b6a4de925b43e9 Mon Sep 17 00:00:00 2001
> > From: Marius Bakke <mbakke@fastmail.com>
> > Date: Tue, 17 Apr 2018 03:54:56 +0200
> > Subject: [PATCH] Chromium 66 update.
> >
>
> Good progress :)
>
> However, I'm a friend of bundling patches. Patches you have in a known location
> don't run away, like "addmissingblinktools":
>
> Starting download of /gnu/store/1djisy58jqjajbfcrd32vf7hrg9qvzwa-add-missing-blink-tools.patch
> From https://bazaar.launchpad.net/~chromium-team/chromium-browser/bionic-stable/download/head:/addmissingblinktools-20180416203514-02f50sz15c2mn6ei-1/add-missing-blink-tools.patch...
> download failed "https://bazaar.launchpad.net/~chromium-team/chromium-browser/bionic-stable/download/head:/addmissingblinktools-20180416203514-02f50sz15c2mn6ei-1/add-missing-blink-tools.patch" 404 "Not Found"
>
> Starting download of /gnu/store/1djisy58jqjajbfcrd32vf7hrg9qvzwa-add-missing-blink-tools.patch
> From http://mirror.hydra.gnu.org/file/add-missing-blink-tools.patch/sha256/1im2l1g6g9mangpfphbkg6zxyglbfwbkm5jxv122yxqgm6vxzz6s...
> download failed "http://mirror.hydra.gnu.org/file/add-missing-blink-tools.patch/sha256/1im2l1g6g9mangpfphbkg6zxyglbfwbkm5jxv122yxqgm6vxzz6s" 404 "Not Found"
>
> Starting download of /gnu/store/1djisy58jqjajbfcrd32vf7hrg9qvzwa-add-missing-blink-tools.patch
> From http://tarballs.nixos.org/sha256/1im2l1g6g9mangpfphbkg6zxyglbfwbkm5jxv122yxqgm6vxzz6s...
> download failed "http://tarballs.nixos.org/sha256/1im2l1g6g9mangpfphbkg6zxyglbfwbkm5jxv122yxqgm6vxzz6s" 404 "Not Found"
> failed to download "/gnu/store/1djisy58jqjajbfcrd32vf7hrg9qvzwa-add-missing-blink-tools.patch" from "https://bazaar.launchpad.net/~chromium-team/chromium-browser/bionic-stable/download/head:/addmissingblinktools-20180416203514-02f50sz15c2mn6ei-1/add-missing-blink-tools.patch"
> builder for `/gnu/store/5hbv5vgnla974qiw6kakc28a4k35h96n-add-missing-blink-tools.patch.drv' failed to produce output path `/gnu/store/1djisy58jqjajbfcrd32vf7hrg9qvzwa-add-missing-blink-tools.patch'
> cannot build derivation `/gnu/store/2z8i7b4l4l0p5b3pj4swdl2pvbdj5q24-chromium-66.0.3359.117.tar.xz.drv': 1 dependencies couldn't be built
> cannot build derivation `/gnu/store/4fxkp0aa1vr2b9fbl9kw8l8ijw0zrd25-chromium-66.0.3359.117.drv': 1 dependencies couldn't be built
> guix package: error: build failed: build of `/gnu/store/4fxkp0aa1vr2b9fbl9kw8l8ijw0zrd25-chromium-66.0.3359.117.drv' failed
>
>
>

Is this the patch you included?


guix hash is 1im2l1g6g9mangpfphbkg6zxyglbfwbkm5jxv122yxqgm6vxzz6s and matches the one the package definition expected.
M
M
Marius Bakke wrote on 4 May 2018 14:10
(name . Nils Gillmann)(address . ng0@n0.is)
87d0ybhb9g.fsf@fastmail.com
Nils Gillmann <ng0@n0.is> writes:

Toggle quote (75 lines)
> Marius Bakke transcribed 69K bytes:
>> Christopher Lemmer Webber <cwebber@dustycloud.org> writes:
>>
>> > Hello! I'd like to speak up in favor of getting Chromium merged into
>> > Guix master. As a web developer, sometimes I have to test things
>> > against multiple browsers. Having Chromium in GuixSD would help me out
>> > a lot.
>> >
>> > It looks like a mountain of hard work has been put into this. Could we
>> > get it merged rather than have that work languish?
>>
>> Hello!
>>
>> I use this browser a lot, so it's hardly languishing.
>>
>> There was a recent discussion[0] about the Pale Moon browser, where it
>> was pointed out that the FSDG[1] requires that any third-party
>> repositories must be committed to only free software.
>>
>> [0] https://lists.gnu.org/archive/html/guix-devel/2018-03/msg00319.html
>> [1] https://www.gnu.org/distros/free-system-distribution-guidelines.html#license-rules
>>
>> Unfortunately there are UI links to the Chrome "Web Store" still. It's
>> not possible to install from it without setting the
>> CHROMIUM_ENABLE_WEB_STORE variable, but I'm not sure if that is
>> sufficient. It's unfortunate if an unsuspecting user stumbles into the
>> Web Store and tries to install something (free or not) and only then
>> finds out that it does not work.
>>
>> The other remaining issue is that some data is sent to Google whenever
>> you start the browser for the first time. I don't think that's a
>> blocker, but it's certainly something we should aim to fix.
>>
>> Attached are updates for 66. The first is an interdiff from the
>> previous 65 patch; the other is the full "squashed" patch for
>> convenience.
>>
>> New in this version:
>>
>> * The snippet will now error if a preserved directory is not present.
>> * Chromium again requires a git revision of libvpx.
>> * The "safe browsing" feature requires the nonfree "unrar" program(!!),
>> as such it has been compiled out. Luckily "Inox" already had a patch
>> to make the thing actually build with that flag disabled.
>> * Cosmetic rearrangement of patches to follow Debian and Inox patch order.
>>
>
>> From a6ce5ebc121f129c3097f1f105b6a4de925b43e9 Mon Sep 17 00:00:00 2001
>> From: Marius Bakke <mbakke@fastmail.com>
>> Date: Tue, 17 Apr 2018 03:54:56 +0200
>> Subject: [PATCH] Chromium 66 update.
> >
>
> Good progress :)
>
> However, I'm a friend of bundling patches. Patches you have in a known location
> don't run away, like "addmissingblinktools":
>
> Starting download of /gnu/store/1djisy58jqjajbfcrd32vf7hrg9qvzwa-add-missing-blink-tools.patch
> From https://bazaar.launchpad.net/~chromium-team/chromium-browser/bionic-stable/download/head:/addmissingblinktools-20180416203514-02f50sz15c2mn6ei-1/add-missing-blink-tools.patch...
> download failed "https://bazaar.launchpad.net/~chromium-team/chromium-browser/bionic-stable/download/head:/addmissingblinktools-20180416203514-02f50sz15c2mn6ei-1/add-missing-blink-tools.patch" 404 "Not Found"
>
> Starting download of /gnu/store/1djisy58jqjajbfcrd32vf7hrg9qvzwa-add-missing-blink-tools.patch
> From http://mirror.hydra.gnu.org/file/add-missing-blink-tools.patch/sha256/1im2l1g6g9mangpfphbkg6zxyglbfwbkm5jxv122yxqgm6vxzz6s...
> download failed "http://mirror.hydra.gnu.org/file/add-missing-blink-tools.patch/sha256/1im2l1g6g9mangpfphbkg6zxyglbfwbkm5jxv122yxqgm6vxzz6s" 404 "Not Found"
>
> Starting download of /gnu/store/1djisy58jqjajbfcrd32vf7hrg9qvzwa-add-missing-blink-tools.patch
> From http://tarballs.nixos.org/sha256/1im2l1g6g9mangpfphbkg6zxyglbfwbkm5jxv122yxqgm6vxzz6s...
> download failed "http://tarballs.nixos.org/sha256/1im2l1g6g9mangpfphbkg6zxyglbfwbkm5jxv122yxqgm6vxzz6s" 404 "Not Found"
> failed to download "/gnu/store/1djisy58jqjajbfcrd32vf7hrg9qvzwa-add-missing-blink-tools.patch" from "https://bazaar.launchpad.net/~chromium-team/chromium-browser/bionic-stable/download/head:/addmissingblinktools-20180416203514-02f50sz15c2mn6ei-1/add-missing-blink-tools.patch"
> builder for `/gnu/store/5hbv5vgnla974qiw6kakc28a4k35h96n-add-missing-blink-tools.patch.drv' failed to produce output path `/gnu/store/1djisy58jqjajbfcrd32vf7hrg9qvzwa-add-missing-blink-tools.patch'
> cannot build derivation `/gnu/store/2z8i7b4l4l0p5b3pj4swdl2pvbdj5q24-chromium-66.0.3359.117.tar.xz.drv': 1 dependencies couldn't be built
> cannot build derivation `/gnu/store/4fxkp0aa1vr2b9fbl9kw8l8ijw0zrd25-chromium-66.0.3359.117.drv': 1 dependencies couldn't be built
> guix package: error: build failed: build of `/gnu/store/4fxkp0aa1vr2b9fbl9kw8l8ijw0zrd25-chromium-66.0.3359.117.drv' failed

Whoops. I'm not used to constructing stable Bazaar URLs.

However this patch is not needed for the latest tarball.

Here's a diff to the 66 patch updating to the latest Chromium. I also
removed some inputs and third party directories that were not needed.
Attachment: chromium.diff
-----BEGIN PGP SIGNATURE-----

iQEzBAEBCgAdFiEEu7At3yzq9qgNHeZDoqBt8qM6VPoFAlrsTbwACgkQoqBt8qM6
VPp17gf9Eh/QpxnVWwjbuHcXZKml1XUqqUZ5eMJeNu/vqQFAeOiGHYUwW0BPAvm3
rrMcTvpLS9c08cuLytyGVfy/I4HhHoEaBtFj9ZM/QXIsYdcXnUVhTX3cuGcDNDmh
dAQPJVI5foz76DMK0NAbHbR5RCgo5uCNPMX6e2m1xEBNnK5CGNK2tCqgMMmLfZEl
SMyUXMlpYTkTE7Tf+xB+EJygAOBTS/GMcrfidzqrKJJyUFiG4/J7xWmMxqaxJAOD
YJ0W5uhC23ul7NMdlJi0K5tFXXd7fSVoQ678fcvl9+xSimh8ZLT3RGGkl67Znn1F
X4e97zu/muJZBYuwr2OQrZm0GcK39g==
=w652
-----END PGP SIGNATURE-----

N
N
Nils Gillmann wrote on 4 May 2018 15:02
(name . Marius Bakke)(address . mbakke@fastmail.com)
20180504130220.xmw7vu5uchumrfn6@abyayala
Attachment: file
-----BEGIN PGP SIGNATURE-----

iQIzBAABCgAdFiEEqIyK3RKYKNfqwC5S4i+bv+40hYgFAlrsWdwACgkQ4i+bv+40
hYjY9Q//V1g5Ptsvu1ZH/18Q4Ve4GL0OZntB2PQdnLzkr3dAiZIPyQDSV67QkLLQ
B5ReMsSV6zVnf6mssHMkoCP1h1m6l+5jvMBTgXhR08+UBWd5am6wgIqjPFR+V1EA
kWsYw8l7oukzTttB+p9XSgq/g+20z1u4c51P6HrsuejtygmzsY+U8y7dxpDeer28
DKNvuLMZlkahzWkwPaxRmS8Cg9V5ZmCHakn2gkxQVOZ/SlZXfOH8yA1eGGCfFr5S
h1V2rQscfTE/iuAoyP6Jdw5YARqr7L2s2kOXvMBR97zyVvV82379Tt3MGDCGrPSi
dloortkYre/WIFJOs/2YD53U7qZnF508QfQCrEPy9WHad1eOLi+4IapJYED0n+r2
SY3JPRJCW5NoIyLrz7GusZqhJY6GygHh4+6MbawI11nhn9HP49YIc9MWjrk+DHuu
s09D6lMXpYXDQ2FhgGwDezm8z7vdNaDNR9ec60N5Exzsg5jGWTcPPvTGp616Rem6
emXH/7Zzd/MoJA2UoQ+PycQ7YKcw1AqAOviSxMeHjnx11Si1PYWuGnQMrinddHOD
rD7zkrhmvGp3teQRVjzTEpDG4+HHjfgIMGPF9puwBOgyJnaUMhgmHUJdE66fvcJG
afYHMTIWIKB9tpvhlOFBfYRluAv1s9QWOjhHlowsat3mjV79oKI=
=V+8/
-----END PGP SIGNATURE-----


N
Re: [bug#28004] Chromium
(name . Marius Bakke)(address . mbakke@fastmail.com)
20180725080800.stqijlny6om6powe@abyayala
Hi Marius,

any chance you had the time to update to a more recent version release
of Chromium?

--ng0
M
M
Marius Bakke wrote on 5 Aug 2018 15:04
(name . ng0)(address . ng0@n0.is)
87tvo9c6cs.fsf@fastmail.com
ng0 <ng0@n0.is> writes:

Toggle quote (5 lines)
> Hi Marius,
>
> any chance you had the time to update to a more recent version release
> of Chromium?

Good news! Please find Chromium 68 attached.

There are *a lot* of changes in this version. Some highlights:

* It's using GCC 8 instead of Clang.
* A bug in the source scrubber has been fixed, so .zip and .jar files
are now purged even if the parent directory is preserved. Currently
we're reducing the uncompressed size from 4.3 GiB to 2.1 GiB.
* External patches are now in an easier to manage format.
* Upstream have discontinued the libvpx "experiment"; but still
require an unreleased version.
* We're installing a "master_preferences" file, which allows us to
easily add defaults for new profiles.
* All the various knobs for the build system have been moved to
#:configure-flags. This should make it easier to create custom
Chromium variants based on this package (qtwebkit?).
* The 'configure' phase will now print *all* supported flags for
convenience (I usually did this manually every now and then).
* I've started cherry-picking patches from Ungoogled-Chromium in the
quest to reduce data transmission to Google.

TODO:

* There is still some data transmitted when starting the browser for the
first time. It seems related to the "domain_reliability" component.
* Remove remaining "Web Store" links. Currently I've only found it in
settings, under "accessibility" and "fonts".
* Opening settings transmits a bunch of data, the next version will
include the 'disable-translation-lang-fetch' patch from Inox.
* PDFium is built, but does not seem to work (the 'install' phase
probably needs tweaking). Might just disable it instead.

As always, feedback very welcome. Enjoy!
-----BEGIN PGP SIGNATURE-----

iQEzBAEBCgAdFiEEu7At3yzq9qgNHeZDoqBt8qM6VPoFAltm9dMACgkQoqBt8qM6
VPqK3AgAj9raw4PmBXnyC+2pmJf//9JtIA+7EDmpfs56Z/bXZ4HXVAZ1dZtm/IQA
ybxiqBLAOmFnTWk/Msy5HcsSEp3hjl0WbF4JEzpYqgLQMk75REZjKwSLsJFbhl04
LgtXzfmK89YpHD3jQFbaopGniowA9n0EpjnLXBggbwm2LthkG7uk9G35dz2xJd6U
NjO6w+3p4h2rcZHcMy9qie/kYZzidnL4bDoivZ7CJXE/2MXTKfcIiOUDBWLT2Hix
FMDBCimSdoEHPaVG4f0JWWsPa072SL0rUfKPh0Afg2OtzhaRJgJ5nCnu5u0nqH9d
4FF4LLxJi89nSr4uimRCUaAdcg5AWw==
=G8kc
-----END PGP SIGNATURE-----

N
(name . Marius Bakke)(address . mbakke@fastmail.com)
20180805161802.bif4ax5feqloxayz@abyayala
Attachment: file
-----BEGIN PGP SIGNATURE-----

iQIzBAABCgAdFiEEqIyK3RKYKNfqwC5S4i+bv+40hYgFAltnIzoACgkQ4i+bv+40
hYizlxAAkdUuL59mf7Z/i4u1lmVbsZNRNCkJ1x2DAA8aBdH04U85dUjXijQAysBg
rSihMoRnIOzm2gfPPpebKiOmVSfsjfUQGHRkRW48Q+RDY9fMVNjYySO1XoazFSI9
DqwkmFzBz9a3GeXVHXlfM78xA09SijVPxpUkQYVIs5BuotE9KRZOpXruzr30i+dp
Br4VcHcSAhkWTnIWp2Doea2vkGl7cCakScRxvkENSIKY5Nd1Vcg+c9LzkU28mOf9
JnT4ibvb/Txtkgeqn2ytBB5Cy7CUA4pBcyKStviyvGziUOb8T/nIiJMWluOkchx8
26jYtCrcPhAv82wAlnA3SPTmmJ1E93DmLjCkzIe8YoA6mdE7jKpHRsHi7VTIJJqi
yyVDujsVyi1tgyhmeYd8gtklmoKHuIECGCK/Fe5Xn3elMvcGuwiW/+xBwk6Zs/VJ
Z5www2ex1+MuiAtAxhg5P988xnfnDT1LR+uHOOuifZAa6JhDiS0W8Rr/lM0AfFao
xGJPbEYkeuEwHr+NQkXGV+Ds6mhh2RgwGPD+Pe6u+x9mfT1NP2gM+hTw1iKNBiRK
dcSvWlSX/YzBv5rFzFWjUIXriUhSDW/RQTATtRDWHYkDivXiCvNCMHkfNuHuD3TM
x2xYYE+UCfYUj2O+1UojroSTTw2QXdJDYoCcTg4hYKpT/FTo7Vg=
=dw1o
-----END PGP SIGNATURE-----


M
M
Marius Bakke wrote on 5 Aug 2018 20:25
(name . ng0)(address . ng0@n0.is)
87lg9kd61u.fsf@fastmail.com
ng0 <ng0@n0.is> writes:

Toggle quote (6 lines)
> Once we merge this into master, can we document the update procedure?
> Or even better, write an update script if possible? For me it was 40%
> hit everything which doesn't move and take what's left over and 60%
> reading. I understand the code, but some people might want an
> explanation for how it's decided which folder gets to stay.

The "preserved-club" are simply third_party directories that are
necessary for the build. Removing any single one will cause the build
to fail (in theory, there might be outdated entries..).

It's difficult to automate because you don't know what's needed until
the build process starts and fails because of some missing dependency.

Toggle quote (4 lines)
> Not related to this section, but: NixOS has a "sandbox" output for Chromium
> which "contains the sandboxed wrapper" of Chromium. Maybe it requires something
> Nix/NixOS specific, maybe we can add that.

I guess that's for the SUID sandbox binary. I haven't had a reason to
build that because the user namespace sandbox works just fine. Perhaps
it's useful for distributions that don't have user namespaces enabled?

Toggle quote (27 lines)
>> + ;; TODO: Install icons from "../../chrome/app/themes" into
>> + ;; "out/share/icons/hicolor/$size".
>
> I have more icons here in my definition, the whole section looked like...
>
>> + (install-file
>> + "product_logo_48.png"
>> + (string-append out "/share/icons/48x48/chromium.png"))
>
> this:
>
> + ;; XXX: What about ../../chrome/app/theme/chromium/linux/?
> + (for-each
> + (lambda (file)
> + (let* ((size (string-filter char-numeric? file))
> + (icons (string-append out "/share/icons/hicolor/"
> + size "x" size "/apps")))
> + (mkdir-p icons)
> + (copy-file file (string-append icons "/chromium.png"))))
> + '("../../chrome/app/theme/chromium/product_logo_128.png"
> + "../../chrome/app/theme/chromium/product_logo_22.png"
> + "../../chrome/app/theme/chromium/product_logo_22_mono.png"
> + "../../chrome/app/theme/chromium/product_logo_24.png"
> + "../../chrome/app/theme/chromium/product_logo_256.png"
> + "../../chrome/app/theme/chromium/product_logo_48.png"
> + "../../chrome/app/theme/chromium/product_logo_64.png"))

Nice. Now the next step is to generate the latter list, maybe with
find-files?

Thanks for the feedback!
-----BEGIN PGP SIGNATURE-----

iQEzBAEBCgAdFiEEu7At3yzq9qgNHeZDoqBt8qM6VPoFAltnQR0ACgkQoqBt8qM6
VPp9YwgAkNFCcTpNOmo0VwqqSUCSYVTZ8e+v0EaWXgWNkOGvvh4d6nA+IUnEin2F
W23JgtrtiFcHvj6hr6U4XiBkK4yumyv6WGCv1xRAXHAwB6mGUhRyQfr3n59tVHDD
IlAQpNgH0JJ0NxCv/ORieJmsW+/SexBui19aEVxPXiS1Z7sUfBVljzKtpZ3NVDbR
XXOpqiesekw88S2oS/Rh5gSlTHUkw2fEgJw9xYIB89FGL5asEGladg42mbmRQblI
Cb3SdqhXr0WsPfmonSgfCTWizLfgBIgTYAHNXwPjUOdeRGfciUbkQtO/AGvdwRhQ
v6ajiaK3FJcIPx94k2QBXez3KXUaOA==
=6bjy
-----END PGP SIGNATURE-----

N
(name . Marius Bakke)(address . mbakke@fastmail.com)
20180805203222.iyvpw5wansinz6tb@abyayala
Marius Bakke transcribed 3.2K bytes:
Toggle quote (15 lines)
> ng0 <ng0@n0.is> writes:
>
> > Once we merge this into master, can we document the update procedure?
> > Or even better, write an update script if possible? For me it was 40%
> > hit everything which doesn't move and take what's left over and 60%
> > reading. I understand the code, but some people might want an
> > explanation for how it's decided which folder gets to stay.
>
> The "preserved-club" are simply third_party directories that are
> necessary for the build. Removing any single one will cause the build
> to fail (in theory, there might be outdated entries..).
>
> It's difficult to automate because you don't know what's needed until
> the build process starts and fails because of some missing dependency.

Hm okay.
Yes, I noticed. But they usually fail very early, so it's just 4 - 20
minutes waiting depending on your harddrive and network speed.

Toggle quote (8 lines)
> > Not related to this section, but: NixOS has a "sandbox" output for Chromium
> > which "contains the sandboxed wrapper" of Chromium. Maybe it requires something
> > Nix/NixOS specific, maybe we can add that.
>
> I guess that's for the SUID sandbox binary. I haven't had a reason to
> build that because the user namespace sandbox works just fine. Perhaps
> it's useful for distributions that don't have user namespaces enabled?

Maybe, it's worth investigating. I haven't looked at it very much.

Toggle quote (33 lines)
>
> >> + ;; TODO: Install icons from "../../chrome/app/themes" into
> >> + ;; "out/share/icons/hicolor/$size".
> >
> > I have more icons here in my definition, the whole section looked like...
> >
> >> + (install-file
> >> + "product_logo_48.png"
> >> + (string-append out "/share/icons/48x48/chromium.png"))
> >
> > this:
> >
> > + ;; XXX: What about ../../chrome/app/theme/chromium/linux/?
> > + (for-each
> > + (lambda (file)
> > + (let* ((size (string-filter char-numeric? file))
> > + (icons (string-append out "/share/icons/hicolor/"
> > + size "x" size "/apps")))
> > + (mkdir-p icons)
> > + (copy-file file (string-append icons "/chromium.png"))))
> > + '("../../chrome/app/theme/chromium/product_logo_128.png"
> > + "../../chrome/app/theme/chromium/product_logo_22.png"
> > + "../../chrome/app/theme/chromium/product_logo_22_mono.png"
> > + "../../chrome/app/theme/chromium/product_logo_24.png"
> > + "../../chrome/app/theme/chromium/product_logo_256.png"
> > + "../../chrome/app/theme/chromium/product_logo_48.png"
> > + "../../chrome/app/theme/chromium/product_logo_64.png"))
>
> Nice. Now the next step is to generate the latter list, maybe with
> find-files?
>
> Thanks for the feedback!

Thanks for your continued work on this monster ;)
-----BEGIN PGP SIGNATURE-----

iQIzBAABCgAdFiEEqIyK3RKYKNfqwC5S4i+bv+40hYgFAltnXtYACgkQ4i+bv+40
hYgK7g//aLZYqsqZBhgj4yyB3tY3LDqEmyBeRB9Tvw2G+X5ec9nYoU/W8c0u7vFh
Za6xUuIa2DtKeyxq4++8+nA6AaX0ajwg6NpmxepRqgSJaCA9GrnPFHWG09vZ7Yjr
K6VljcKwacTw9ABezE21szDx1Rk8OSvncgO64L4VVuee9Q/TBNUWpnEXJuvipKXL
drSp+wbJMeIOmHoy/HzR/bleJpVu/JKxL5gyCarcIKfbqIwjNb6JG4RqSUt9i4aP
M1ofQLS/ITTLOJo4OoE64KyqvgC3F3XP45oaP9iC4JOBefeNugGQYWRmJNXaHtkC
dVnacmhI5zqdKUj2lROq7jEY/YWKGx0g+Y5qp99DLUUHLCuUfp29pMQniwkBKjcU
1PJsPUl1eTtoGtpmfXed1eimgF0otiGGaVSSnNP4FbWOHLBF5FL5Qq2t1ag/wFck
W6HlJ/3TL4Ynf7m157nDz8FNGTEZWbqtzh3gqGaHjcJznnrh2agNngGP5MkgZgqV
uEooahQG27kKWIVzG5Q+rTd04r5AGWJnJPlfRW4aJrawxKRFDrEpNaLbUsl9c3Bf
sMlOuPtqMub9rl/FQRABtHN0E+Q+BPVZVr3Dtf1oqk7m69ZVkdTX4EokHt6NAjoX
4wPMOfEwqmdK6woZG1kUTFxXd8tXBaSsIbT5lgYVnSUsD/BfFHQ=
=EkBc
-----END PGP SIGNATURE-----


N
(name . Marius Bakke)(address . mbakke@fastmail.com)
20180805235800.txqdbuawyu5y2i4m@abyayala
It took a while because of the heat, but here's a fail log appended. I'm going to bed,
and I don't know when I have time to look into it. Maybe you get to work on it
earlier than myself.

Thanks
Attachment: chromium68.txt
-----BEGIN PGP SIGNATURE-----

iQIzBAABCgAdFiEEqIyK3RKYKNfqwC5S4i+bv+40hYgFAltnjwgACgkQ4i+bv+40
hYjY1RAAr9vNjO5Np5VHwNffptodsFeE9pT3urEtdi18uDA9Cc0Pa4iekbHfj9nL
+6Yvu+/kcF8njlXu/GvJNy4odexb2O8JSvAHF3DG0vkcrNxpw71IddVPAlvOW6gu
U600x/RR96RvekqSjTHI907Tq1uM1kLy5WNuW7zSf3cVc5PsxBFQgyS1ISpEmpri
S+HtsmnPJgAB6wqci4BWZLjBSuwT6Oxkb6Jiyt72rH4xqo8SiGyZjvmzuhwOlI+e
HEAxPdj6ZTlGSBzutUOUHWUfCf7MivpZJec/4IuyX2g6mGrTcZsLvEKB4aFMxW0N
3wLNEFd9QP7e1S/0K6HNBMo8T5+fGslBrsF9Yh35JP6i3Un1aXXZ84HXRyB7HHyD
gmx/iQvpW68XwV3xcjahhvMGn2+6OUXMYxeOI7PTuRlT7k7d7qxWs4duw6qF4TRk
yqKJWoiXjTe4JwgDUh5RmeApn/gRw1S7F/0t3SmSLNNnYpyZgbVi/xmjw8/lwttN
Mpt7WjyYk++0M361OvnJDK/nui/tlR3LdFiXMqFUpweGLzH/ZJHwSAWGG8I6eMMU
84HNt35xiTkP3OUeT+FAHVHwNiZAUdeh0aCHANLCyQ6lgXV8idLTjd0GP+7FyJrv
x7erFvIZSDHwErx5UKjDCNOETGTT02iHsAVLAGKpJG8yY475WzE=
=8Dz1
-----END PGP SIGNATURE-----


O
O
Oleg Pykhalov wrote on 6 Aug 2018 10:22
(name . Marius Bakke)(address . mbakke@fastmail.com)(address . 28004@debbugs.gnu.org)
87tvo7lxa6.fsf@gmail.com
Hello,

compiled successfully on 340ee00bbf91a8e0ea567d00d7ff54dd025abc05

Thanks,
Oleg.
-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEEc+OyAXw1EaDPCmAPckbhHGm3lWkFAltoBUEACgkQckbhHGm3
lWnbDxAAtgEmUKqqvSyoVLZ7K5RShwgSVySLHudzWu+cYWvJpA+eAzPgKzZYdJwu
larVccguqwL1JodI1Gveoct5h1Pebmht5ivWKgC52Dgxziym9E4fpBoCJ4sGpIU1
DmKydR9Y5jmgXcsQGh1myywUHoZgX6dWGOlJYiZVUl67IATp7d1Z+KdOb5ybt9gw
ZMEJ265KKiTAoSn8dScHoCr1ZU87+YRZH2MASIRWU6g9qiGReGTGJyywGsl36X8B
ro/rcL9WJ5K4lmQvhfrvd5judhxq8gAouZwVxd2epu3JhYbysTn35GcVepsR0S8v
TFcv0+TZ8feNGN4UARuz+Y/GZAeq1FwsFmK/xooCkc7EjUpl8oKiJiFDj1Z9D/F0
QfhpSNRz/eUG9qWhnlqCjfyBUqmSW3tC+e9tj14kimlwTwr71r6x15RkF6rmkkxu
/dZVeEa+tiSNWI8aPYHuaqoXXZP+6Zy4dO6xPQS/PS4fG/mOUPvwr8onGjU4IMYi
T/DzcOpk6B4ONtDyUwAVqvDsH/6x/FoQr9rJnsNGVxD9INac1LKx6VQuEAqZ0ht4
35n0bIR3qnzdVBITaq41b7G3HI2+1R5Q6knLxA16UMvyenIroYPvrH2OEi8HcHjR
WSL6aW/zie0s/MCe/tir+vxVtipxreC/vQKbAS1qSAgn6biUH00=
=drr5
-----END PGP SIGNATURE-----

A
A
Amirouche Boubekki wrote on 30 Aug 2018 01:31
(no subject)
(address . 28004@debbugs.gnu.org)
a0ade17eaca10ddeeb94dfb1620fff60@hypermove.net
I would like to work on the TODO items.

* There is still some data transmitted when starting the browser for the
first time. It seems related to the "domain_reliability" component.

* Remove remaining "Web Store" links. Currently I've only found it in
settings, under "accessibility" and "fonts".

Is is taken by anybody?

The build is in progress, I will report later.
A
A
Amirouche Boubekki wrote on 30 Aug 2018 08:04
Re: [bug#28004] Chromium
(name . Oleg Pykhalov)(address . go.wigust@gmail.com)
867c3ef88a05a8398281df6bd717e24a@hypermove.net
compiled successfully on 256d5c6e339d59287284bb83f35c594f13bd08f9

I have the following messages appear:

Gtk-Message: 07:58:25.671: Failed to load module "canberra-gtk-module"

[3434:3434:0830/075901.665931:ERROR:sandbox_linux.cc(378)]
InitializeSandbox() called with multiple threads in process gpu-process.

libpng warning: iCCP: known incorrect sRGB profile

(pkix_CacheCert_Add: PKIX_PL_HashTable_Add for Certs skipped: entry
existed


I tested http://hyperdev.fr/ and https://zty.pe/


If nobody is working on the remaining TODO items, I will work my way
through it. LMK.
L
L
Ludovic Courtès wrote on 30 Aug 2018 11:57
Re: Firefox 52's end of life, packaging Chromium
(name . Clément Lassieur)(address . clement@lassieur.org)
87h8jcyy5y.fsf@gnu.org
Hello,

Clément Lassieur <clement@lassieur.org> skribis:

Toggle quote (5 lines)
> So the question is: can we push the Chromium package? I've read it's
> almost ready[2]. It's probably far better than everything we have,
> despite not being totally 'finished'. Maybe we can add what's left to
> do as a TODO and fix the package later?

As long as the freedom issues and phone-home issues are addressed, which
appears to be the case, I’m all for it.

Marius?

Thanks,
Ludo’.
N
Re: [bug#28004] Chromium
(name . Marius Bakke)(address . mbakke@fastmail.com)
20180830132541.6kyqgmp4w7f2i2di@abyayala
Build sucessfully on f9e140a243b6d6b5d28bd0813b69604562a39653.

Previously the lack of a swapfile was to blame - when you don't run
headless this really requires a swapfile when you have 8 GB RAM.
M
M
Mark H Weaver wrote on 2 Sep 2018 06:37
Re: [bug#28004] Chromium FSDG requirements
(name . Marius Bakke)(address . mbakke@fastmail.com)(address . 28004@debbugs.gnu.org)
87lg8kzf8e.fsf@netris.org
Hi Marius,

Does the modified version of Chromium in your draft package support
Encrypted Media Extensions (EME)?


Does it refer to third-party repositories of software that are not
committed to only including free software?

Does it contain spyware?

Thanks,
Mark
M
M
Marius Bakke wrote on 2 Sep 2018 15:16
(name . Mark H Weaver)(address . mhw@netris.org)(address . 28004@debbugs.gnu.org)
87sh2sjayg.fsf@fastmail.com
Mark H Weaver <mhw@netris.org> writes:

Toggle quote (7 lines)
> Hi Marius,
>
> Does the modified version of Chromium in your draft package support
> Encrypted Media Extensions (EME)?
>
> https://en.wikipedia.org/wiki/Encrypted_Media_Extensions

No. EME is called "Widevine" in Chromium lingo and I believe all
components are purged from the source.

Toggle quote (3 lines)
> Does it refer to third-party repositories of software that are not
> committed to only including free software?

Yes. It includes support for the Chromium "Web Store", although it's
not usable in the default configuration.

Toggle quote (2 lines)
> Does it contain spyware?

Not to my knowledge.
-----BEGIN PGP SIGNATURE-----

iQEzBAEBCgAdFiEEu7At3yzq9qgNHeZDoqBt8qM6VPoFAluL4sgACgkQoqBt8qM6
VPpZyQf+MeQc6zGR4e1k8Im6HmI2zAC/goCSZk3yW/NmLFAIbc6a+QKwmlurVcQ2
bRPR3giLDNAAOWtEusaBaZzH7VPxjq3Rqzb82WHwsLCxmaaoV5vLnjxHlSPPduX9
qPsNAI07hs8V6LHl6dgY8tpG3n/Mg+1PjhHxI93TqIjNb5QeY5/2IYde6XMTL9Gg
gBcBmkxjmOLQqB7QlbNQNaSdYLqiToI5CRHZcNHQv/HybOtra7izxvxW8vI2ygU9
n57DcMAVj+ImnBRfVbUia14W/cpwriGrmNwHtyxxWmFUwgVBv/7RziLD0BogRAuj
xVDJgG4B2ACvKzduFciway/XXysXeA==
=X/B0
-----END PGP SIGNATURE-----

C
C
Clément Lassieur wrote on 7 Sep 2018 11:29
Re: Firefox 52's end of life, packaging Chromium
(name . Marius Bakke)(address . mbakke@fastmail.com)
87y3cdlkop.fsf@lassieur.org
Hello :-)

Ludovic Courtès <ludo@gnu.org> writes:

Toggle quote (14 lines)
> Hello,
>
> Clément Lassieur <clement@lassieur.org> skribis:
>
>> So the question is: can we push the Chromium package? I've read it's
>> almost ready[2]. It's probably far better than everything we have,
>> despite not being totally 'finished'. Maybe we can add what's left to
>> do as a TODO and fix the package later?
>
> As long as the freedom issues and phone-home issues are addressed, which
> appears to be the case, I’m all for it.
>
> Marius?

Marius, what is the status, can we merge it?

Clément
C
C
Clément Lassieur wrote on 15 Sep 2018 12:36
(name . Marius Bakke)(address . mbakke@fastmail.com)
87sh2bnj22.fsf@lassieur.org
Clément Lassieur <clement@lassieur.org> writes:

Toggle quote (20 lines)
> Hello :-)
>
> Ludovic Courtès <ludo@gnu.org> writes:
>
>> Hello,
>>
>> Clément Lassieur <clement@lassieur.org> skribis:
>>
>>> So the question is: can we push the Chromium package? I've read it's
>>> almost ready[2]. It's probably far better than everything we have,
>>> despite not being totally 'finished'. Maybe we can add what's left to
>>> do as a TODO and fix the package later?
>>
>> As long as the freedom issues and phone-home issues are addressed, which
>> appears to be the case, I’m all for it.
>>
>> Marius?
>
> Marius, what is the status, can we merge it?

Ping
Toggle quote (2 lines)
>
> Clément
M
M
Marius Bakke wrote on 17 Sep 2018 15:28
Chromium channel
(name . Clément Lassieur)(address . clement@lassieur.org)
87efdsp820.fsf@fastmail.com
Clément Lassieur <clement@lassieur.org> writes:

Toggle quote (24 lines)
> Clément Lassieur <clement@lassieur.org> writes:
>
>> Hello :-)
>>
>> Ludovic Courtès <ludo@gnu.org> writes:
>>
>>> Hello,
>>>
>>> Clément Lassieur <clement@lassieur.org> skribis:
>>>
>>>> So the question is: can we push the Chromium package? I've read it's
>>>> almost ready[2]. It's probably far better than everything we have,
>>>> despite not being totally 'finished'. Maybe we can add what's left to
>>>> do as a TODO and fix the package later?
>>>
>>> As long as the freedom issues and phone-home issues are addressed, which
>>> appears to be the case, I’m all for it.
>>>
>>> Marius?
>>
>> Marius, what is the status, can we merge it?
>
> Ping

Hello, sorry for the delay.

I've set up a channel for Chromium here:


Chromium has been updated for version 69 as well.

I don't think we can merge as-is due to the tight Web Store integration
(even if it's disabled), but I will start work on packaging the full
"Ungoogled-Chromium" next:


I'll bump this thread once it is ready for testing. Developments will
happen in the Gitlab repository. Pull requests welcome! :-)
-----BEGIN PGP SIGNATURE-----

iQEzBAEBCgAdFiEEu7At3yzq9qgNHeZDoqBt8qM6VPoFAlufq/cACgkQoqBt8qM6
VPqH1gf/ZgiTMb5+8b85Jch3VtUWF5AWK+0V79MyQ/BR5+79sktDt9H4U2petp3G
7E4TV76DyloMw7ARNthlZgClJd7IsMt7j8KieX+m5zTmyH8oa+GV0Z04X5XnMZCi
Pfu4+TtQODnWjhpd/0I/U6lR7OofElPQHilxGs1RFZ2Bupak93P22YMnHVAMe7h/
n5ewxqjAuQtZHBZLVnV9q5uWw1BWoMUUFoR87k/ZWVkD8n4b3fE/ynUGef7LSLFl
I76dv0vduO0nBXLBOX03a9djQaGTlyUYvUwTUt5iFhzPy3wDXdjHM6+aNmF96RWo
OyueOoGE6dqLUjeu8vGhgkuq15CL4A==
=ubKT
-----END PGP SIGNATURE-----

C
C
Clément Lassieur wrote on 17 Sep 2018 16:16
(name . Marius Bakke)(address . mbakke@fastmail.com)
87pnxccipg.fsf@lassieur.org
Marius Bakke <mbakke@fastmail.com> writes:

Toggle quote (43 lines)
> Clément Lassieur <clement@lassieur.org> writes:
>
>> Clément Lassieur <clement@lassieur.org> writes:
>>
>>> Hello :-)
>>>
>>> Ludovic Courtès <ludo@gnu.org> writes:
>>>
>>>> Hello,
>>>>
>>>> Clément Lassieur <clement@lassieur.org> skribis:
>>>>
>>>>> So the question is: can we push the Chromium package? I've read it's
>>>>> almost ready[2]. It's probably far better than everything we have,
>>>>> despite not being totally 'finished'. Maybe we can add what's left to
>>>>> do as a TODO and fix the package later?
>>>>
>>>> As long as the freedom issues and phone-home issues are addressed, which
>>>> appears to be the case, I’m all for it.
>>>>
>>>> Marius?
>>>
>>> Marius, what is the status, can we merge it?
>>
>> Ping
>
> Hello, sorry for the delay.
>
> I've set up a channel for Chromium here:
>
> https://gitlab.com/mbakke/guix-chromium
>
> Chromium has been updated for version 69 as well.
>
> I don't think we can merge as-is due to the tight Web Store integration
> (even if it's disabled), but I will start work on packaging the full
> "Ungoogled-Chromium" next:
>
> https://github.com/Eloston/ungoogled-chromium
>
> I'll bump this thread once it is ready for testing. Developments will
> happen in the Gitlab repository. Pull requests welcome! :-)

Great!

Thank you very much Marius, and sorry for insisting. The 'channels'
solution seems to fit very well!

Clément
P
P
Pjotr Prins wrote on 17 Sep 2018 19:57
(name . Marius Bakke)(address . mbakke@fastmail.com)
20180917175707.hfxkyr6r7q6geqdb@thebird.nl
On Mon, Sep 17, 2018 at 03:28:23PM +0200, Marius Bakke wrote:
Toggle quote (4 lines)
> I've set up a channel for Chromium here:
>
> https://gitlab.com/mbakke/guix-chromium

Too much coolness. I am fainting!

Pj.
N
N
Nils Gillmann wrote on 17 Sep 2018 20:08
(name . Clément Lassieur)(address . clement@lassieur.org)
20180917180810.4phfdlo34jmu4r4r@abyayala
Clément Lassieur transcribed 1.4K bytes:
Toggle quote (36 lines)
> Marius Bakke <mbakke@fastmail.com> writes:
>
> > Clément Lassieur <clement@lassieur.org> writes:
> >
> >> Clément Lassieur <clement@lassieur.org> writes:
> >>
> >>> Hello :-)
> >>>
> >>> Ludovic Courtès <ludo@gnu.org> writes:
> >>>
> >>>> Hello,
> >>>>
> >>>> Clément Lassieur <clement@lassieur.org> skribis:
> >>>>
> >>>>> So the question is: can we push the Chromium package? I've read it's
> >>>>> almost ready[2]. It's probably far better than everything we have,
> >>>>> despite not being totally 'finished'. Maybe we can add what's left to
> >>>>> do as a TODO and fix the package later?
> >>>>
> >>>> As long as the freedom issues and phone-home issues are addressed, which
> >>>> appears to be the case, I’m all for it.
> >>>>
> >>>> Marius?
> >>>
> >>> Marius, what is the status, can we merge it?
> >>
> >> Ping
> >
> > Hello, sorry for the delay.
> >
> > I've set up a channel for Chromium here:
> >
> > https://gitlab.com/mbakke/guix-chromium
> >
> > Chromium has been updated for version 69 as well.

Huh! Did the requirement for building go up by 100% with version 69?

I will test if my 8GB RAM buildmachine can still build it like it
used to up to version 68.x.

Toggle quote (16 lines)
> > I don't think we can merge as-is due to the tight Web Store integration
> > (even if it's disabled), but I will start work on packaging the full
> > "Ungoogled-Chromium" next:
> >
> > https://github.com/Eloston/ungoogled-chromium
> >
> > I'll bump this thread once it is ready for testing. Developments will
> > happen in the Gitlab repository. Pull requests welcome! :-)
>
> Great!
>
> Thank you very much Marius, and sorry for insisting. The 'channels'
> solution seems to fit very well!
>
> Clément
>
L
L
Ludovic Courtès wrote on 22 Sep 2018 14:44
(name . Marius Bakke)(address . mbakke@fastmail.com)
87r2hlwvl4.fsf@gnu.org
Hello Marius,

Marius Bakke <mbakke@fastmail.com> skribis:

Toggle quote (4 lines)
> I've set up a channel for Chromium here:
>
> https://gitlab.com/mbakke/guix-chromium

Nice! Great to see channels put to good use. :-)

Though… let’s make sure this channel doesn’t derail “us” from the goal
of having an FSDG-compliant Chromium in Guix proper!

Ludo’.
M
M
Marius Bakke wrote on 2 Feb 2019 20:20
[PATCH] gnu: Add ungoogled-chromium.
(address . guix-devel@gnu.org)(address . 28004@debbugs.gnu.org)
20190202192023.22087-1-mbakke@fastmail.com
Thanks to Marks beautiful "computed-origin-method", Ungoogled-Chromium
is finally ready for inclusion in Guix.

Features:
* Chromium 72.
* No unsolicited network traffic.
* Free software only.
* No DRM.
* Not an April Fools joke.

It's currently using my trivial "fork" of Ungoogled-Chromium[0], which
will be upstreamed once the upstream reorganization[1] is done.

Comments appreciated!


* gnu/packages/aux-files/chromium/master-preferences.json,
gnu/packages/chromium.scm: New files.
* gnu/local.mk (GNU_SYSTEM_MODULES): Adjust accordingly.
---
gnu/local.mk | 1 +
.../chromium/master-preferences.json | 26 +
gnu/packages/chromium.scm | 741 ++++++++++++++++++
3 files changed, 768 insertions(+)
create mode 100644 gnu/packages/aux-files/chromium/master-preferences.json
create mode 100644 gnu/packages/chromium.scm

Toggle diff (439 lines)
diff --git a/gnu/local.mk b/gnu/local.mk
index 82db1488d6..b5e937cdd7 100644
--- a/gnu/local.mk
+++ b/gnu/local.mk
@@ -100,6 +100,7 @@ GNU_SYSTEM_MODULES = \
%D%/packages/check.scm \
%D%/packages/chemistry.scm \
%D%/packages/chez.scm \
+ %D%/packages/chromium.scm \
%D%/packages/ci.scm \
%D%/packages/cinnamon.scm \
%D%/packages/clojure.scm \
diff --git a/gnu/packages/aux-files/chromium/master-preferences.json b/gnu/packages/aux-files/chromium/master-preferences.json
new file mode 100644
index 0000000000..0caa7cc4cd
--- /dev/null
+++ b/gnu/packages/aux-files/chromium/master-preferences.json
@@ -0,0 +1,26 @@
+{
+ "distribution": {
+ "import_bookmarks": false,
+ "make_chrome_default": false,
+ "make_chrome_default_for_user": false,
+ "verbose_logging": true,
+ "skip_first_run_ui": true,
+ "suppress_first_run_default_browser_prompt": true
+ },
+ "browser": {
+ "has_seen_welcome_page" : true,
+ "check_default_browser" : false
+ },
+ "dns_prefetching": {
+ "enabled": false
+ },
+ "alternate_error_pages": {
+ "enabled": false
+ },
+ "hardware": {
+ "audio_capture_enabled": false
+ },
+ "default_apps": "noinstall",
+ "hide_web_store_icon": true,
+ "homepage": "https://www.gnu.org/software/guix"
+}
diff --git a/gnu/packages/chromium.scm b/gnu/packages/chromium.scm
new file mode 100644
index 0000000000..eb404246d3
--- /dev/null
+++ b/gnu/packages/chromium.scm
@@ -0,0 +1,741 @@
+;;; GNU Guix --- Functional package management for GNU
+;;; Copyright © 2019 Marius Bakke <mbakke@fastmail.com>
+;;;
+;;; GNU Guix is free software; you can redistribute it and/or modify it
+;;; under the terms of the GNU General Public License as published by
+;;; the Free Software Foundation; either version 3 of the License, or (at
+;;; your option) any later version.
+;;;
+;;; GNU Guix is distributed in the hope that it will be useful, but
+;;; WITHOUT ANY WARRANTY; without even the implied warranty of
+;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+;;; GNU General Public License for more details.
+;;;
+;;; You should have received a copy of the GNU General Public License
+;;; along with GNU Guix. If not, see <http://www.gnu.org/licenses/>.
+
+(define-module (gnu packages chromium)
+ #:use-module ((guix licenses) #:prefix license:)
+ #:use-module (guix packages)
+ #:use-module (guix gexp)
+ #:use-module (guix store)
+ #:use-module (guix monads)
+ #:use-module (guix download)
+ #:use-module (guix git-download)
+ #:use-module (guix utils)
+ #:use-module (guix build-system gnu)
+ #:use-module (gnu packages)
+ #:use-module (gnu packages assembly)
+ #:use-module (gnu packages base)
+ #:use-module (gnu packages bison)
+ #:use-module (gnu packages build-tools)
+ #:use-module (gnu packages compression)
+ #:use-module (gnu packages cups)
+ #:use-module (gnu packages curl)
+ #:use-module (gnu packages fontutils)
+ #:use-module (gnu packages gcc)
+ #:use-module (gnu packages ghostscript)
+ #:use-module (gnu packages gl)
+ #:use-module (gnu packages glib)
+ #:use-module (gnu packages gnome)
+ #:use-module (gnu packages gnuzilla)
+ #:use-module (gnu packages gperf)
+ #:use-module (gnu packages gtk)
+ #:use-module (gnu packages icu4c)
+ #:use-module (gnu packages image)
+ #:use-module (gnu packages libevent)
+ #:use-module (gnu packages libffi)
+ #:use-module (gnu packages linux)
+ #:use-module (gnu packages kerberos)
+ #:use-module (gnu packages ninja)
+ #:use-module (gnu packages node)
+ #:use-module (gnu packages pciutils)
+ #:use-module (gnu packages pkg-config)
+ #:use-module (gnu packages pulseaudio)
+ #:use-module (gnu packages python)
+ #:use-module (gnu packages python-web)
+ #:use-module (gnu packages python-xyz)
+ #:use-module (gnu packages regex)
+ #:use-module (gnu packages serialization)
+ #:use-module (gnu packages speech)
+ #:use-module (gnu packages tls)
+ #:use-module (gnu packages valgrind)
+ #:use-module (gnu packages vulkan)
+ #:use-module (gnu packages video)
+ #:use-module (gnu packages xiph)
+ #:use-module (gnu packages xml)
+ #:use-module (gnu packages xdisorg)
+ #:use-module (gnu packages xorg))
+
+(define %preserved-third-party-files
+ '("base/third_party/dmg_fp" ;X11-style
+ "base/third_party/dynamic_annotations" ;BSD-2
+ "base/third_party/icu" ;Unicode, X11-style
+ "base/third_party/superfasthash" ;BSD-3
+ "base/third_party/symbolize" ;BSD-3
+ "base/third_party/xdg_mime" ;LGPL2.1+ or Academic 2.0
+ "base/third_party/xdg_user_dirs" ;Expat
+ "chrome/third_party/mozilla_security_manager" ;MPL-1.1/GPL2+/LGPL2.1+
+ "courgette/third_party/bsdiff" ;BSD-2, BSD protection license
+ "courgette/third_party/divsufsort" ;Expat
+ "net/third_party/http2" ;BSD-3
+ "net/third_party/mozilla_security_manager" ;MPL-1.1/GPL2+/LGPL2.1+
+ "net/third_party/nss" ;MPL-2.0
+ "net/third_party/quic" ;BSD-3
+ "net/third_party/spdy" ;BSD-3
+ "net/third_party/uri_template" ;ASL2.0
+ "third_party/abseil-cpp" ;ASL2.0
+ "third_party/adobe/flash/flapper_version.h" ;no license, trivial
+ "third_party/angle" ;BSD-3
+ "third_party/angle/src/common/third_party/base" ;BSD-3
+ "third_party/angle/src/common/third_party/smhasher" ;Public domain
+ "third_party/angle/src/common/third_party/xxhash" ;BSD-2
+ "third_party/angle/src/third_party/compiler" ;BSD-2
+ "third_party/angle/src/third_party/libXNVCtrl" ;Expat
+ "third_party/angle/src/third_party/trace_event" ;BSD-3
+ "third_party/angle/third_party/glslang" ;BSD-3
+ "third_party/angle/third_party/spirv-headers" ;Expat
+ "third_party/angle/third_party/spirv-tools" ;Expat
+ "third_party/angle/third_party/vulkan-headers" ;ASL2.0
+ "third_party/angle/third_party/vulkan-loader" ;ASL2.0
+ "third_party/angle/third_party/vulkan-tools" ;ASL2.0
+ "third_party/angle/third_party/vulkan-validation-layers" ;ASL2.0
+ "third_party/apple_apsl" ;APSL2.0
+ "third_party/blink" ;BSD-3
+ "third_party/boringssl" ;OpenSSL/ISC (Google additions are ISC)
+ "third_party/boringssl/src/third_party/fiat" ;Expat
+ "third_party/breakpad" ;BSD-3
+ "third_party/brotli" ;Expat
+ "third_party/cacheinvalidation" ;ASL2.0
+ "third_party/catapult" ;BSD-3
+ "third_party/catapult/common/py_vulcanize/third_party/rcssmin" ;ASL2.0
+ "third_party/catapult/common/py_vulcanize/third_party/rjsmin" ;ASL2.0
+ "third_party/catapult/third_party/polymer" ;BSD-3
+ "third_party/catapult/tracing/third_party/d3" ;BSD-3
+ "third_party/catapult/tracing/third_party/gl-matrix" ;Expat
+ "third_party/catapult/tracing/third_party/jszip" ;Expat or GPL3
+ "third_party/catapult/tracing/third_party/mannwhitneyu" ;Expat
+ "third_party/catapult/tracing/third_party/oboe" ;BSD-2
+ "third_party/catapult/tracing/third_party/pako" ;Expat
+ "third_party/ced" ;BSD-3
+ "third_party/cld_3" ;ASL2.0
+ "third_party/closure_compiler" ;ASL2.0
+ "third_party/crashpad" ;ASL2.0
+ "third_party/crashpad/crashpad/third_party/zlib/zlib_crashpad.h" ;Zlib
+ "third_party/crc32c" ;BSD-3
+ "third_party/cros_system_api" ;BSD-3
+ "third_party/dom_distiller_js" ;BSD-3
+ "third_party/fips181" ;BSD-3
+ "third_party/flatbuffers" ;ASL2.0
+ "third_party/google_input_tools" ;ASL2.0
+ "third_party/google_input_tools/third_party/closure_library" ;ASL2.0
+ "third_party/google_input_tools/third_party/closure_library/third_party/closure" ;Expat
+ "third_party/googletest" ;BSD-3
+ "third_party/hunspell" ;MPL1.1/GPL2+/LGPL2.1+
+ "third_party/iccjpeg" ;IJG
+ "third_party/inspector_protocol" ;BSD-3
+ "third_party/jinja2" ;BSD-3
+ "third_party/jstemplate" ;ASL2.0
+ "third_party/khronos" ;Expat, SGI
+ "third_party/leveldatabase" ;BSD-3
+ "third_party/libXNVCtrl" ;Expat
+ "third_party/libaddressinput" ;ASL2.0
+ "third_party/libaom" ;BSD-2 or "Alliance for Open Media Patent License 1.0"
+ "third_party/libaom/source/libaom/third_party/vector" ;Expat
+ "third_party/libaom/source/libaom/third_party/x86inc" ;ISC
+ "third_party/libjingle_xmpp" ;BSD-3
+ "third_party/libphonenumber" ;ASL2.0
+ "third_party/libsecret" ;LGPL2.1+
+ "third_party/libsrtp" ;BSD-3
+ "third_party/libsync" ;ASL2.0
+ "third_party/libudev" ;LGPL2.1+
+ "third_party/libwebm" ;BSD-3
+ "third_party/libxml/chromium" ;BSD-3
+ "third_party/libyuv" ;BSD-3
+ "third_party/lss" ;BSD-3
+ "third_party/markupsafe" ;BSD-3
+ "third_party/mesa_headers" ;Expat, SGI
+ "third_party/metrics_proto" ;BSD-3
+ "third_party/modp_b64" ;BSD-3
+ "third_party/nasm" ;BSD-2
+ "third_party/node" ;Expat
+ "third_party/node/node_modules/polymer-bundler/lib/third_party/UglifyJS2" ;BSD-2
+ "third_party/ots" ;BSD-3
+ "third_party/pdfium" ;BSD-3
+ "third_party/pdfium/third_party/agg23" ;Expat
+ "third_party/pdfium/third_party/base" ;BSD-3
+ "third_party/pdfium/third_party/bigint" ;Public domain, BSD-3
+ "third_party/pdfium/third_party/skia_shared" ;BSD-3
+ "third_party/pdfium/third_party/freetype/include/pstables.h" ;FreeType
+ "third_party/ply" ;BSD-3
+ "third_party/polymer" ;BSD-3
+ "third_party/protobuf" ;BSD-3
+ "third_party/protobuf/third_party/six" ;Expat
+ "third_party/pyjson5" ;ASL2.0
+ "third_party/qcms" ;Expat
+ "third_party/rnnoise" ;BSD-3
+ "third_party/s2cellid" ;ASL2.0
+ "third_party/sfntly" ;ASL2.0
+ "third_party/skia" ;BSD-3
+ "third_party/skia/third_party/gif" ;MPL1.1/GPL2+/LGPL2.1+
+ "third_party/skia/third_party/skcms" ;BSD-3
+ "third_party/skia/third_party/vulkan" ;BSD-3
+ "third_party/smhasher" ;Expat, public domain
+ "third_party/speech-dispatcher" ;GPL2+
+ "third_party/spirv-headers" ;ASL2.0
+ "third_party/SPIRV-Tools" ;ASL2.0
+ "third_party/sqlite" ;Public domain
+ "third_party/ungoogled" ;BSD-3
+ "third_party/usb_ids" ;BSD-3
+ "third_party/usrsctp" ;BSD-2
+ "third_party/web-animations-js" ;ASL2.0
+ "third_party/webdriver" ;ASL2.0
+ "third_party/webrtc" ;BSD-3
+ "third_party/webrtc/common_audio/third_party/fft4g" ;Non-copyleft
+ "third_party/webrtc/common_audio/third_party/spl_sqrt_floor" ;Public domain
+ "third_party/webrtc/modules/third_party/fft" ;Non-copyleft
+ "third_party/webrtc/modules/third_party/g711" ;Public domain
+ "third_party/webrtc/modules/third_party/g722" ;Public domain
+ "third_party/webrtc/rtc_base/third_party/base64" ;Non-copyleft
+ "third_party/webrtc/rtc_base/third_party/sigslot" ;Public domain
+ "third_party/widevine/cdm/widevine_cdm_version.h" ;BSD-3
+ "third_party/widevine/cdm/widevine_cdm_common.h" ;BSD-3
+ "third_party/woff2" ;ASL2.0
+ "third_party/xdg-utils" ;Expat
+ "third_party/yasm/run_yasm.py" ;BSD-2 or BSD-3
+ "third_party/zlib/google" ;BSD-3
+ "url/third_party/mozilla" ;BSD-3, MPL1.1/GPL2+/LGPL2.1+
+ "v8/src/third_party/utf8-decoder" ;Expat
+ "v8/src/third_party/valgrind" ;BSD-4
+ "v8/third_party/inspector_protocol" ;BSD-3
+ "v8/third_party/v8/builtins")) ;PSFL
+
+(define* (computed-origin-method gexp-promise hash-algo hash
+ #:optional (name "source")
+ #:key (system (%current-system))
+ (guile (default-guile)))
+ "Return a derivation that executes the G-expression that results
+from forcing GEXP-PROMISE."
+ (mlet %store-monad ((guile (package->derivation guile system)))
+ (gexp->derivation (or name "computed-origin")
+ (force gexp-promise)
+ #:system system
+ #:guile-for-build guile)))
+
+(define %chromium-version "72.0.3626.81")
+(define %ungoogled-revision "f9b9074c322a67b04baf0982797cd7b7e09614b5")
+
+;; This is a computed origin that does the following:
+;; 1) Runs the Ungoogled scripts on a pristine Chromium tarball.
+;; 2) Prunes all third_party folders that are not explicitly preserved.
+;; 3) Adjusts "GN" build files such that system libraries are preferred.
+(define ungoogled-chromium-source
+ (let* ((chromium-source
+ (origin
+ (method url-fetch)
+ (uri (string-append "https://commondatastorage.googleapis.com"
+ "/chromium-browser-official/chromium-"
+ %chromium-version ".tar.xz"))
+ (sha256
+ (base32
+ "01l0vlvcckpag376mjld7qprv63l0z8li689k0h6v3h0i7irzs6z"))))
+ (ungoogled-source
+ (origin
+ (method git-fetch)
+ (uri (git-reference (url "https://github.com/mbakke/ungoogled-chromium")
+ (commit %ungoogled-revision)))
+ (file-name (git-file-name "ungoogled-chromium"
+ (string-take %ungoogled-revision 7)))
+ (sha256
+ (base32
+ "0gmk1n3i7lbm7rw8zl4df171yhvrlimj8ksj096bf2dlfhbd44rb")))))
+
+ (origin
+ (method computed-origin-method)
+ (file-name (string-append "ungoogled-chromium-" %chromium-version ".tar.xz"))
+ (sha256 #f)
+ (uri
+ (delay
+ (with-imported-modules '((guix build utils))
+ #~(begin
+ (use-modules (guix build utils))
+ (let ((chromium-dir (string-append "chromium-" #$%chromium-version))
+ (preserved-files (list #$@%preserved-third-party-files)))
+
+ (mkdir "/tmp/bin")
+ (set-path-environment-variable
+ "PATH" '("bin")
+ (list "/tmp"
+ #+(canonical-package patch)
+ #+(canonical-package xz)
+ #+(canonical-package tar)
+ #+python-2
+ #+python))
+
+ (copy-recursively #+ungoogled-source "/tmp/ungoogled")
+
+ (with-directory-excursion "/tmp/ungoogled"
+
+ (format #t "Unpacking chromium tarball...~%")
+ (force-output)
+ (invoke "tar" "xf" #+chromium-source)
+
+ (format #t "Ungooglifying...~%")
+ (force-output)
+ (invoke "python3" "run_buildkit_cli.py" "prune"
+ "-b" "config_bundles/guix" chromium-dir)
+ (invoke "python3" "run_buildkit_cli.py" "patches" "apply"
+ "-b" "config_bundles/guix" chromium-dir)
+ (invoke "python3" "run_buildkit_cli.py" "domains" "apply"
+ "-b" "config_bundles/linux_rooted"
+ "-c" "/tmp/domainscache.tar.gz" chromium-dir)
+
+ (with-directory-excursion chromium-dir
+ (format #t "Pruning third party files...~%")
+ (force-output)
+ (apply invoke "python"
+ "build/linux/unbundle/remove_bundled_libraries.py"
+ "--do-remove" preserved-files)
+
+ (format #t "Replacing GN files...~%")
+ (force-output)
+ (invoke "python3" "build/linux/unbundle/replace_gn_files.py"
+ "--system-libraries" "ffmpeg" "flac" "fontconfig"
+ "freetype" "harfbuzz-ng" "icu" "libdrm" "libevent"
+ "libjpeg" "libpng" "libvpx" "libwebp" "libxml"
+ "libxslt" "openh264" "opus" "re2" "snappy" "yasm"
+ "zlib"))
+
+ (format #t (string-append "Packing new Ungoogled tarball ...~%"))
+ (force-output)
+ (invoke "tar" "cvfa" #$output
+ ;; Avoid non-determinism in the archive.
+ "--mtime=@0"
+ "--owner=root:0"
+ "--group=root:0"
+ "--sort=name"
+ chromium-dir)
+
+ #t)))))))))
+
+(define opus+custom
+ (package/inherit opus
+ (name "opus+custom")
+ (arguments
+ (substitute-keyword-arguments (package-arguments opus)
+ ((#:configure-flags flags ''())
+ ;; Opus Custom is an optional extension of the Opus
+ ;; specification that allows for unsupported frame
+ ;; sizes. Chromium requires that this is enabled.
+ `(cons "--enable-custom-modes"
+ ,flags))))))
+
+(define libvpx/chromium
+ ;; Chromium 66 and later requires an unreleased libvpx, so we take the
+ ;; commit from "third_party/libvpx/README.chromium" in the tarball.
+ (let ((version (package-version libvpx))
+ (commit "e188b5435de71bcd602c378f1ac0441111f0f915")
+ (revision "0"))
+ (package/inherit libvpx
+ (name "libvpx-chromium")
+ (version (git-version version revision commit))
+ (source (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://chromium.googlesource.com/webm/libvpx")
+ (commit commit)))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32
+ "0v7lzvgy45zh7zwzmmzkvbcqmhs4xa97z0h97hd3j6myrxcfz1n9")))))))
+
+;; Transitional package until HarfBuzz 2.2 is available in Guix master branch.
+(define harfbuzz/chromium
+ (package/inherit harfbuzz
+ (version "2.2.0")
+ (source (origin
+ (inherit (package-source harfbuzz))
+ (uri (string-append "https://www.freedesktop.org/software/harfbuzz"
+ "/release/harfbuzz-" version ".tar.bz2"))
+ (sha256
+ (base32
+ "047q63jr513azf3g1y7f5xn60b4jdjs9zsmrx04sfw5rasyzrk5p"))))))
+
+(define-public ungoogled-chromium
+ (package
+ (name "ungoogled-chromium")
+ (version %chromium-version)
+ (synopsis "Graphical web browser")
+ (source ungoogled-chromium-source)
+ (build-system gnu-build-system)
+ (arguments
+ `(#:tests? #f
+ ;; FIXME: There is a "gn" option specifically for setting -rpath, but
+ ;; it overrides the RUNPATH set by the linker.
+ #:validate-runpath? #f
+ #:modules ((guix build gnu-build-system)
+ (guix build utils)
+ (ice-9 ftw)
+ (ice-9 regex)
+ (srfi srfi-26))
+ #:configure-flags
+ ;; See tools/gn/docs/cookbook.md and
+ ;; https://www.chromium.org/developers/gn-build-configuration
+ ;; for usage. Run "./gn args . --list" in the Release
+ ;; directory for an exhaustive list of supported flags.
+ ;; (Note: The 'configure' phase will do that for you.)
+ (list "is_debug=false"
+ "use_gold=false"
+ "
This message was truncated. Download the full message here.
A
A
Amin Bandali wrote on 3 Feb 2019 21:21
(name . Marius Bakke)(address . mbakke@fastmail.com)
878sywsjwr.fsf@aminb.org
Hello Marius,

Thanks for your work patching and packaging ungoogled-chromium!

I haven’t had a chance to have a closer look at your patch, but would
you mind elaborating on the “* Free software only.” part of your stated
feature-set and if/how it addresses licensing concerns raised previously
e.g. by bill-auger here[1] with respect to the FSDG status of Chromium,
as well as maintaining solidarity with other FSDG-complying distros?


Best,
amin
B
B
bill-auger wrote on 4 Feb 2019 05:52
(address . guix-devel@gnu.org)
20190203235204.63970587@parabola

i would like to remind readers of the guix-devel list that it was
discussed some months ago, why no FSDG distros currently distribute
chromium[1] - it appeared at that time, that most people in that
discussion were in agreement that chromium should not be included in
guix; and marius was instead hosting it in a private repo, as not to
taint the main guix repos with dubious software - has there been a
notable break-through since then?

what is the evidence for this claim that this guix package is "free
software only"? - what does "Marks beautiful computed-origin-method" do
toward that end? - if a procedure for liberating any chromium-derived
software has been discovered, this would be a marvelous accomplishment
and very good news indeed, of which people outside of the guix dev team
would also be interested to learn

if the guix team has discovered some new information or has concocted a
viable liberation recipe for chromium or any of it's offspring, then i
hope that, for the benefit of all fellow Fosstopians, someone would
present that information to the FSDG mailing list for review and
discussion - it would be extra neighborly if that happened *before*
offering this program to guix users, while fully knowing that the other
FSDG distros are still intentionally suppressing it in solidarity

again, i am totally indifferent as to whether anyone uses chromium or
not - my only interest in this is that i would like to strengthen the
FSDG by convincing FSDG distros to communicate and collaborate with each
other, and to achieve consensus about common issues such as this, that
clearly affect all distros equally; so that no one is compelled to ask
"why does guixsd endorse that popular program if other FSDG distros
reject it on principal?" - it is difficult enough to explain to users
why these programs are rejected in the first place; but at least the
way things are now, we can say that all FSDG distros are in agreement to
err on the conservative side until a satisfactory liberation procedure
is found and documented - currently, the documented liberation
procedure is: "Remove program/package. Use GNU IceCat, or
equivalent"[2] - if there is a better candidate procedure now, let us
get it onto the table for discussion

i would like to consider all FSDG distros as being part of a larger
federation, sharing the same primary goals; but we cant all be reading
all of the dev lists - let us communicate whenever applicable, in the
common venue that exists for that purpose[3] - i tried enticing the
folks on the guix team to do that previously - if there is indeed
something new to announce regarding chromium's dubious FSDG status,
please elect someone from guix to do so now - this would be very
interesting news to the readers of that list, and your effort and/or
accomplishment would be sincerely applauded - other FSDG distros would
be happy (and some quite eager) to re-instate any of these
chromium-derived packages if a consensus could be reached that any of
them could be distributed 100% freely; but if all distros are to decide
for themselves what is freely distributable and what is not, without
evidence and without discussing it with the other FSDG distros nor the
FSF, then the FSDG loses its teeth, and we all look wishy-washy and
flakey on that, the main, central FSDG concern: which programs are
freely distributable and which are not


[2]:
B
B
brettg wrote on 4 Feb 2019 06:52
(name . bill-auger)(address . bill-auger@peers.community)
25092084972c94d8c03a0a440465b924@posteo.net
As always, I second Bill here. There is a lot of history behind the
Chromium project that I think many of us are aware of. There, to my
knowledge, remains to be a complete audit of the Chromium source. Such
an audit is crucial for us to even know what is problematic and what is
not when it comes to FSDG compliance. So, unless the ungoogled chromium
project has done this audit successfully I remain a kind skeptic.

On 04.02.2019 05:52, bill-auger wrote:
Toggle quote (66 lines)
>
> i would like to remind readers of the guix-devel list that it was
> discussed some months ago, why no FSDG distros currently distribute
> chromium[1] - it appeared at that time, that most people in that
> discussion were in agreement that chromium should not be included in
> guix; and marius was instead hosting it in a private repo, as not to
> taint the main guix repos with dubious software - has there been a
> notable break-through since then?
>
> what is the evidence for this claim that this guix package is "free
> software only"? - what does "Marks beautiful computed-origin-method" do
> toward that end? - if a procedure for liberating any chromium-derived
> software has been discovered, this would be a marvelous accomplishment
> and very good news indeed, of which people outside of the guix dev team
> would also be interested to learn
>
> if the guix team has discovered some new information or has concocted a
> viable liberation recipe for chromium or any of it's offspring, then i
> hope that, for the benefit of all fellow Fosstopians, someone would
> present that information to the FSDG mailing list for review and
> discussion - it would be extra neighborly if that happened *before*
> offering this program to guix users, while fully knowing that the other
> FSDG distros are still intentionally suppressing it in solidarity
>
> again, i am totally indifferent as to whether anyone uses chromium or
> not - my only interest in this is that i would like to strengthen the
> FSDG by convincing FSDG distros to communicate and collaborate with
> each
> other, and to achieve consensus about common issues such as this, that
> clearly affect all distros equally; so that no one is compelled to ask
> "why does guixsd endorse that popular program if other FSDG distros
> reject it on principal?" - it is difficult enough to explain to users
> why these programs are rejected in the first place; but at least the
> way things are now, we can say that all FSDG distros are in agreement
> to
> err on the conservative side until a satisfactory liberation procedure
> is found and documented - currently, the documented liberation
> procedure is: "Remove program/package. Use GNU IceCat, or
> equivalent"[2] - if there is a better candidate procedure now, let us
> get it onto the table for discussion
>
> i would like to consider all FSDG distros as being part of a larger
> federation, sharing the same primary goals; but we cant all be reading
> all of the dev lists - let us communicate whenever applicable, in the
> common venue that exists for that purpose[3] - i tried enticing the
> folks on the guix team to do that previously - if there is indeed
> something new to announce regarding chromium's dubious FSDG status,
> please elect someone from guix to do so now - this would be very
> interesting news to the readers of that list, and your effort and/or
> accomplishment would be sincerely applauded - other FSDG distros would
> be happy (and some quite eager) to re-instate any of these
> chromium-derived packages if a consensus could be reached that any of
> them could be distributed 100% freely; but if all distros are to decide
> for themselves what is freely distributable and what is not, without
> evidence and without discussing it with the other FSDG distros nor the
> FSF, then the FSDG loses its teeth, and we all look wishy-washy and
> flakey on that, the main, central FSDG concern: which programs are
> freely distributable and which are not
>
>
> [1]:
> https://lists.gnu.org/archive/html/guix-devel/2018-09/msg00264.html
> [2]:
> https://libreplanet.org/wiki/List_of_software_that_does_not_respect_the_Free_System_Distribution_Guidelines#chromium-browser
> [3]: https://lists.nongnu.org/mailman/listinfo/gnu-linux-libre
I
I
Ineiev wrote on 4 Feb 2019 08:46
Re: [GNU-linux-libre] [PATCH] gnu: Add ungoogled-chromium.
(name . Workgroup for fully free GNU/Linux distributions)(address . gnu-linux-libre@nongnu.org)
20190204074629.GD14481@gnu.org
On Sun, Feb 03, 2019 at 11:52:04PM -0500, bill-auger wrote:
Toggle quote (4 lines)
> FSF, then the FSDG loses its teeth, and we all look wishy-washy and
> flakey on that, the main, central FSDG concern: which programs are
> freely distributable and which are not

I don't think the main FSDG concern is which programs are freely
distributable, and even which programs are free; IMHO it is,
"a free system distribution must not steer users towards obtaining
any nonfree information for practical use."
-----BEGIN PGP SIGNATURE-----

iQEzBAEBCAAdFiEEvZ1N7nsv8cvvLuDE4KzT4Mvnh0oFAlxX7dUACgkQ4KzT4Mvn
h0rDJwgAijceNPXVYo3IJs8nnIfuFqlkOFMfY9Y9RuThvZmsrrhLkyvkkaulzSVS
SD789mNKzSffuN/uJnT7Py83NG4PByll1OGeAi5ZgKNW3SlbGDggUfMw/PaiEEYL
fJ4vZ7UKxwZBkEius7YfutUeec1xVJ/M8S3o6GJ7ninqDO2m9M7qpPLev4PWfyML
xGBpTomM4xgnhuqn/Q+FPgX5py6HSv9u+QVxiW4Guor07NNyZcU2vASnSWDrutQD
CVc6V/gCNU1hitqMLd8PhnK8fTvOrEVr6t5R/DBsa+x/pNweEl7BLGX0gdgcS7yA
sTTGUxE+YygvM2uCMoJwfpbwTZfjvw==
=U1og
-----END PGP SIGNATURE-----


L
L
Leo Famulari wrote on 4 Feb 2019 14:46
Re: [PATCH] gnu: Add ungoogled-chromium.
(name . bill-auger)(address . bill-auger@peers.community)(address . 28004@debbugs.gnu.org)
20190204134638.GA8269@jasmine.lan
On Sun, Feb 03, 2019 at 11:52:04PM -0500, bill-auger wrote:
Toggle quote (7 lines)
> what is the evidence for this claim that this guix package is "free
> software only"? - what does "Marks beautiful computed-origin-method" do
> toward that end? - if a procedure for liberating any chromium-derived
> software has been discovered, this would be a marvelous accomplishment
> and very good news indeed, of which people outside of the guix dev team
> would also be interested to learn

If you have a concrete example of a Chromium component that is not free
software please list it in a reply-all this email.

In general, if upstream developers say their software is released under
a free software license by putting the license header in the repo or in
the files, then we take them at their word.
-----BEGIN PGP SIGNATURE-----

iQIzBAABCAAdFiEEsFFZSPHn08G5gDigJkb6MLrKfwgFAlxYQjcACgkQJkb6MLrK
fwi+KhAAhu6rRIJtnL3jhGFuB+S7yQcwb2vYinLXn/BWurEvX3rfiY3tw7zfCjq4
d85halwnQOAI/m1X0v9PhGN0ZMsFkGoCsOpZiOzi/KR5L26ScQoUsLQl2Yn+sd06
LlryQU+hRPNYLJV9zPhdROrcQJTy1RwfONGbPluupwRxZxLW8+3fuj3xu5ZcH2cp
O9MlPu3D+UwGTe3ysnJ8F3uvdEL6068jPTqRRYSi6/gQ0AXKZB+5QDLHiSAoiwu3
3OHnFBHxm+qm53fbXqh2fSbQE1CUPJD1vVCvZVhbydsVL92VxnSWY0sFjO6cQxvD
Xp0AoFO6DxnyfNvqYI69iyiSaXdMU1E/3d6VStXu0jzZ2QRjboFL4p8oOrIAnLjl
dorf9RRREgGv2kb3GNIJaNmp18MlydR7WMrqro9SvFHUPEc7WRDPnALdv6DOgyod
4+ZF3+AFM094n546g5SD+Ifzn/7RMgFWpUJTTlguOrnsVnVRsaUtGoqP8uwfrVm+
AzN+Z7N2uZLU4TJNfoQi1ybF9qtD7BuNhdpC7yupsvQ0tkPHSA0UJiOl15VZ1Von
vSWlp7UE3WtMW2xeSVgPIZUrMdSc202pTmpYGVQmtEN9shgEBLFhQq2cpPjyomH3
c8Zl0M1FfEKbeAg8RS9ie1TTkRl8hQHRYHcpDUB1jfWYCu5VD9A=
=N6fH
-----END PGP SIGNATURE-----


B
B
bill-auger wrote on 4 Feb 2019 15:47
(address . 28004@debbugs.gnu.org)
20190204094754.449ea14d@parabola
On Mon, 4 Feb 2019 14:46:38 +0100 Leo wrote:
Toggle quote (3 lines)
> If you have a concrete example of a Chromium component that is not
> free software please list it in a reply-all this email.

this is not a discussion list i will apologize in advance for this
length reply - i did not CC this list

if you demand evidence you need look no further than the upstream
itself - the upstream developers can not verify for themselves that
their program is freely licensed; as evidenced by the 10 year old bug
report on this issue that is still open


the default copy permissions for every copyrighted work is "none" - in
order for that work be be set free, the author must very explicitly
label it as such, and try their very best to ensure that their formal
statement of permission follows along with any copies of it - because if
that permission is missing, or difficult to locate or to comprehend,
there is no reason to assume the work is freely distributable

i would hope that i would not need to explain that to a member of
GNU

the burden of proof is not upon the one who claims that the default
case applies, it is upon the one who claims that some special case
applies

and anyway - let me please repeat this one more time - i have no desire
to defend nor condemn this particular program - this has been
discussed ad nauseam for many years - all that i intend today is to
entice the guix developers to communicate with the other FSDG distros
and the FSF to reach a uniform consensus on the matter - rather than to
see guix choose to distribute it, while all other FSDG distros are in
agreement not to distribute it
J
J
Julie Marchant wrote on 4 Feb 2019 13:26
Re: [GNU-linux-libre] [PATCH] gnu: Add ungoogled-chromium.
(address . guix-devel@gnu.org)(address . 28004@debbugs.gnu.org)
29af2ef2-0f37-8728-51c9-b861fef4bbc8@riseup.net
On 02/03/2019 11:52 PM, bill-auger wrote:
Toggle quote (64 lines)
>
> i would like to remind readers of the guix-devel list that it was
> discussed some months ago, why no FSDG distros currently distribute
> chromium[1] - it appeared at that time, that most people in that
> discussion were in agreement that chromium should not be included in
> guix; and marius was instead hosting it in a private repo, as not to
> taint the main guix repos with dubious software - has there been a
> notable break-through since then?
>
> what is the evidence for this claim that this guix package is "free
> software only"? - what does "Marks beautiful computed-origin-method" do
> toward that end? - if a procedure for liberating any chromium-derived
> software has been discovered, this would be a marvelous accomplishment
> and very good news indeed, of which people outside of the guix dev team
> would also be interested to learn
>
> if the guix team has discovered some new information or has concocted a
> viable liberation recipe for chromium or any of it's offspring, then i
> hope that, for the benefit of all fellow Fosstopians, someone would
> present that information to the FSDG mailing list for review and
> discussion - it would be extra neighborly if that happened *before*
> offering this program to guix users, while fully knowing that the other
> FSDG distros are still intentionally suppressing it in solidarity
>
> again, i am totally indifferent as to whether anyone uses chromium or
> not - my only interest in this is that i would like to strengthen the
> FSDG by convincing FSDG distros to communicate and collaborate with each
> other, and to achieve consensus about common issues such as this, that
> clearly affect all distros equally; so that no one is compelled to ask
> "why does guixsd endorse that popular program if other FSDG distros
> reject it on principal?" - it is difficult enough to explain to users
> why these programs are rejected in the first place; but at least the
> way things are now, we can say that all FSDG distros are in agreement to
> err on the conservative side until a satisfactory liberation procedure
> is found and documented - currently, the documented liberation
> procedure is: "Remove program/package. Use GNU IceCat, or
> equivalent"[2] - if there is a better candidate procedure now, let us
> get it onto the table for discussion
>
> i would like to consider all FSDG distros as being part of a larger
> federation, sharing the same primary goals; but we cant all be reading
> all of the dev lists - let us communicate whenever applicable, in the
> common venue that exists for that purpose[3] - i tried enticing the
> folks on the guix team to do that previously - if there is indeed
> something new to announce regarding chromium's dubious FSDG status,
> please elect someone from guix to do so now - this would be very
> interesting news to the readers of that list, and your effort and/or
> accomplishment would be sincerely applauded - other FSDG distros would
> be happy (and some quite eager) to re-instate any of these
> chromium-derived packages if a consensus could be reached that any of
> them could be distributed 100% freely; but if all distros are to decide
> for themselves what is freely distributable and what is not, without
> evidence and without discussing it with the other FSDG distros nor the
> FSF, then the FSDG loses its teeth, and we all look wishy-washy and
> flakey on that, the main, central FSDG concern: which programs are
> freely distributable and which are not
>
>
> [1]: https://lists.gnu.org/archive/html/guix-devel/2018-09/msg00264.html
> [2]:
> https://libreplanet.org/wiki/List_of_software_that_does_not_respect_the_Free_System_Distribution_Guidelines#chromium-browser
> [3]: https://lists.nongnu.org/mailman/listinfo/gnu-linux-libre

Sorry, I didn't notice that this thread was on multiple lists, so when I
hit "Reply List" it only went to the GNU-linux-libre list. Sending a
copy to the other lists; sorry for the messiness.

I'm not sure if I've mentioned it on the GNU-linux-libre list before,
but I have never seen any actual evidence of the current version of
Chromium containing proprietary components.

It's an unreasonable standard to demand proof that programs are libre.
That's an impossible thing to prove. If someone points out, as I have
many times, "I have looked through Chromium's code and not found a
single proprietary program," someone can simply say that they didn't
look hard enough.

That LibrePlanet page, by the way, is not evidence of Chromium
containing proprietary components. It claims such, but the only evidence
provided is a copyright file that clearly indicates a libre license, and
a bug report about not passing a license checking script, which I might
add is also not proof of any program being proprietary. Not to mention,
this is from over eight years ago. Should distro maintainers also take
the outdated recommendation to remove Project: Starfighter from that
page at face value, despite the fact that I released a completely libre
version almost four years ago? The point is, that's a wiki page
sporadically maintained by volunteers. It's a possible starting point
(though to be honest I'm not so sure it's even useful for that), but not
an indication of the GNU FSDG gold standard, so to speak.

--
Julie Marchant

Encrypt your emails with GnuPG:
L
L
Ludovic Courtès wrote on 4 Feb 2019 23:34
Re: [PATCH] gnu: Add ungoogled-chromium.
(name . bill-auger)(address . bill-auger@peers.community)
87sgx3mbcq.fsf@gnu.org
Hi bill-auger,

bill-auger <bill-auger@peers.community> skribis:

Toggle quote (10 lines)
>
> i would like to remind readers of the guix-devel list that it was
> discussed some months ago, why no FSDG distros currently distribute
> chromium[1] - it appeared at that time, that most people in that
> discussion were in agreement that chromium should not be included in
> guix; and marius was instead hosting it in a private repo, as not to
> taint the main guix repos with dubious software - has there been a
> notable break-through since then?

It’s not entirely clear to me what the problems are, to be honest.
Marius listed specific issues that were addressed by the patches; others
then pointed out at additional issues that ungoogled-chromium fixes,
which Marius took into account; what’s left now?

I understand you’re skeptical about Chromium, but we cannot base
decisions based on vague skepticism. If you know of issues that are
still unaddressed, please do list them.

I’d also like to stress that, if Chromium is eventually included in
Guix, we are committed to fixing it or removing it should someone later
discover that it does not comply with the FSDG (that’s the “Commitment
to Correct Mistakes” section of FSDG.)

Toggle quote (3 lines)
> i would like to consider all FSDG distros as being part of a larger
> federation, sharing the same primary goals;

As you know, several of us have occasionally asked for advice on the
gnu-linux-libre list regarding concrete issues that we encountered (a
recent example was Inferno, which we ended up not adding to the distro
due to unresolved issues.)

I believe Marius and others here made a real effort in understanding and
addressing the ways in which Chromium would not comply with the FSDG.
If you’re aware of issues that are unaddressed, please share!

Thank you,
Ludo’.
S
S
swedebugia wrote on 5 Feb 2019 06:22
Re: [bug#28004] [PATCH] gnu: Add ungoogled-chromium.
(address . 28004@debbugs.gnu.org)
0D2635DB-4B93-4285-A7C2-4BC699EA4D4D@riseup.net
Marius Bakke <mbakke@fastmail.com> skrev: (2 februari 2019 20:20:23 CET)
Toggle quote (502 lines)
>Thanks to Marks beautiful "computed-origin-method", Ungoogled-Chromium
>is finally ready for inclusion in Guix.
>
>Features:
>* Chromium 72.
>* No unsolicited network traffic.
>* Free software only.
>* No DRM.
>* Not an April Fools joke.
>
>It's currently using my trivial "fork" of Ungoogled-Chromium[0], which
>will be upstreamed once the upstream reorganization[1] is done.
>
>Comments appreciated!
>
>[0]:
>https://github.com/mbakke/ungoogled-chromium/commit/f9b9074c322a67b04baf0982797cd7b7e09614b5
>[1]: https://github.com/Eloston/ungoogled-chromium/issues/651
>
>* gnu/packages/aux-files/chromium/master-preferences.json,
>gnu/packages/chromium.scm: New files.
>* gnu/local.mk (GNU_SYSTEM_MODULES): Adjust accordingly.
>---
> gnu/local.mk | 1 +
> .../chromium/master-preferences.json | 26 +
> gnu/packages/chromium.scm | 741 ++++++++++++++++++
> 3 files changed, 768 insertions(+)
>create mode 100644
>gnu/packages/aux-files/chromium/master-preferences.json
> create mode 100644 gnu/packages/chromium.scm
>
>diff --git a/gnu/local.mk b/gnu/local.mk
>index 82db1488d6..b5e937cdd7 100644
>--- a/gnu/local.mk
>+++ b/gnu/local.mk
>@@ -100,6 +100,7 @@ GNU_SYSTEM_MODULES = \
> %D%/packages/check.scm \
> %D%/packages/chemistry.scm \
> %D%/packages/chez.scm \
>+ %D%/packages/chromium.scm \
> %D%/packages/ci.scm \
> %D%/packages/cinnamon.scm \
> %D%/packages/clojure.scm \
>diff --git a/gnu/packages/aux-files/chromium/master-preferences.json
>b/gnu/packages/aux-files/chromium/master-preferences.json
>new file mode 100644
>index 0000000000..0caa7cc4cd
>--- /dev/null
>+++ b/gnu/packages/aux-files/chromium/master-preferences.json
>@@ -0,0 +1,26 @@
>+{
>+ "distribution": {
>+ "import_bookmarks": false,
>+ "make_chrome_default": false,
>+ "make_chrome_default_for_user": false,
>+ "verbose_logging": true,
>+ "skip_first_run_ui": true,
>+ "suppress_first_run_default_browser_prompt": true
>+ },
>+ "browser": {
>+ "has_seen_welcome_page" : true,
>+ "check_default_browser" : false
>+ },
>+ "dns_prefetching": {
>+ "enabled": false
>+ },
>+ "alternate_error_pages": {
>+ "enabled": false
>+ },
>+ "hardware": {
>+ "audio_capture_enabled": false
>+ },
>+ "default_apps": "noinstall",
>+ "hide_web_store_icon": true,
>+ "homepage": "https://www.gnu.org/software/guix"
>+}
>diff --git a/gnu/packages/chromium.scm b/gnu/packages/chromium.scm
>new file mode 100644
>index 0000000000..eb404246d3
>--- /dev/null
>+++ b/gnu/packages/chromium.scm
>@@ -0,0 +1,741 @@
>+;;; GNU Guix --- Functional package management for GNU
>+;;; Copyright © 2019 Marius Bakke <mbakke@fastmail.com>
>+;;;
>+;;; GNU Guix is free software; you can redistribute it and/or modify
>it
>+;;; under the terms of the GNU General Public License as published by
>+;;; the Free Software Foundation; either version 3 of the License, or
>(at
>+;;; your option) any later version.
>+;;;
>+;;; GNU Guix is distributed in the hope that it will be useful, but
>+;;; WITHOUT ANY WARRANTY; without even the implied warranty of
>+;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
>+;;; GNU General Public License for more details.
>+;;;
>+;;; You should have received a copy of the GNU General Public License
>+;;; along with GNU Guix. If not, see <http://www.gnu.org/licenses/>.
>+
>+(define-module (gnu packages chromium)
>+ #:use-module ((guix licenses) #:prefix license:)
>+ #:use-module (guix packages)
>+ #:use-module (guix gexp)
>+ #:use-module (guix store)
>+ #:use-module (guix monads)
>+ #:use-module (guix download)
>+ #:use-module (guix git-download)
>+ #:use-module (guix utils)
>+ #:use-module (guix build-system gnu)
>+ #:use-module (gnu packages)
>+ #:use-module (gnu packages assembly)
>+ #:use-module (gnu packages base)
>+ #:use-module (gnu packages bison)
>+ #:use-module (gnu packages build-tools)
>+ #:use-module (gnu packages compression)
>+ #:use-module (gnu packages cups)
>+ #:use-module (gnu packages curl)
>+ #:use-module (gnu packages fontutils)
>+ #:use-module (gnu packages gcc)
>+ #:use-module (gnu packages ghostscript)
>+ #:use-module (gnu packages gl)
>+ #:use-module (gnu packages glib)
>+ #:use-module (gnu packages gnome)
>+ #:use-module (gnu packages gnuzilla)
>+ #:use-module (gnu packages gperf)
>+ #:use-module (gnu packages gtk)
>+ #:use-module (gnu packages icu4c)
>+ #:use-module (gnu packages image)
>+ #:use-module (gnu packages libevent)
>+ #:use-module (gnu packages libffi)
>+ #:use-module (gnu packages linux)
>+ #:use-module (gnu packages kerberos)
>+ #:use-module (gnu packages ninja)
>+ #:use-module (gnu packages node)
>+ #:use-module (gnu packages pciutils)
>+ #:use-module (gnu packages pkg-config)
>+ #:use-module (gnu packages pulseaudio)
>+ #:use-module (gnu packages python)
>+ #:use-module (gnu packages python-web)
>+ #:use-module (gnu packages python-xyz)
>+ #:use-module (gnu packages regex)
>+ #:use-module (gnu packages serialization)
>+ #:use-module (gnu packages speech)
>+ #:use-module (gnu packages tls)
>+ #:use-module (gnu packages valgrind)
>+ #:use-module (gnu packages vulkan)
>+ #:use-module (gnu packages video)
>+ #:use-module (gnu packages xiph)
>+ #:use-module (gnu packages xml)
>+ #:use-module (gnu packages xdisorg)
>+ #:use-module (gnu packages xorg))
>+
>+(define %preserved-third-party-files
>+ '("base/third_party/dmg_fp" ;X11-style
>+ "base/third_party/dynamic_annotations" ;BSD-2
>+ "base/third_party/icu" ;Unicode, X11-style
>+ "base/third_party/superfasthash" ;BSD-3
>+ "base/third_party/symbolize" ;BSD-3
>+ "base/third_party/xdg_mime" ;LGPL2.1+ or Academic 2.0
>+ "base/third_party/xdg_user_dirs" ;Expat
>+ "chrome/third_party/mozilla_security_manager"
>;MPL-1.1/GPL2+/LGPL2.1+
>+ "courgette/third_party/bsdiff" ;BSD-2, BSD protection license
>+ "courgette/third_party/divsufsort" ;Expat
>+ "net/third_party/http2" ;BSD-3
>+ "net/third_party/mozilla_security_manager" ;MPL-1.1/GPL2+/LGPL2.1+
>+ "net/third_party/nss" ;MPL-2.0
>+ "net/third_party/quic" ;BSD-3
>+ "net/third_party/spdy" ;BSD-3
>+ "net/third_party/uri_template" ;ASL2.0
>+ "third_party/abseil-cpp" ;ASL2.0
>+ "third_party/adobe/flash/flapper_version.h" ;no license, trivial
>+ "third_party/angle" ;BSD-3
>+ "third_party/angle/src/common/third_party/base" ;BSD-3
>+ "third_party/angle/src/common/third_party/smhasher" ;Public domain
>+ "third_party/angle/src/common/third_party/xxhash" ;BSD-2
>+ "third_party/angle/src/third_party/compiler" ;BSD-2
>+ "third_party/angle/src/third_party/libXNVCtrl" ;Expat
>+ "third_party/angle/src/third_party/trace_event" ;BSD-3
>+ "third_party/angle/third_party/glslang" ;BSD-3
>+ "third_party/angle/third_party/spirv-headers" ;Expat
>+ "third_party/angle/third_party/spirv-tools" ;Expat
>+ "third_party/angle/third_party/vulkan-headers" ;ASL2.0
>+ "third_party/angle/third_party/vulkan-loader" ;ASL2.0
>+ "third_party/angle/third_party/vulkan-tools" ;ASL2.0
>+ "third_party/angle/third_party/vulkan-validation-layers" ;ASL2.0
>+ "third_party/apple_apsl" ;APSL2.0
>+ "third_party/blink" ;BSD-3
>+ "third_party/boringssl" ;OpenSSL/ISC (Google additions are ISC)
>+ "third_party/boringssl/src/third_party/fiat" ;Expat
>+ "third_party/breakpad" ;BSD-3
>+ "third_party/brotli" ;Expat
>+ "third_party/cacheinvalidation" ;ASL2.0
>+ "third_party/catapult" ;BSD-3
>+ "third_party/catapult/common/py_vulcanize/third_party/rcssmin"
>;ASL2.0
>+ "third_party/catapult/common/py_vulcanize/third_party/rjsmin"
>;ASL2.0
>+ "third_party/catapult/third_party/polymer" ;BSD-3
>+ "third_party/catapult/tracing/third_party/d3" ;BSD-3
>+ "third_party/catapult/tracing/third_party/gl-matrix" ;Expat
>+ "third_party/catapult/tracing/third_party/jszip" ;Expat or GPL3
>+ "third_party/catapult/tracing/third_party/mannwhitneyu" ;Expat
>+ "third_party/catapult/tracing/third_party/oboe" ;BSD-2
>+ "third_party/catapult/tracing/third_party/pako" ;Expat
>+ "third_party/ced" ;BSD-3
>+ "third_party/cld_3" ;ASL2.0
>+ "third_party/closure_compiler" ;ASL2.0
>+ "third_party/crashpad" ;ASL2.0
>+ "third_party/crashpad/crashpad/third_party/zlib/zlib_crashpad.h"
>;Zlib
>+ "third_party/crc32c" ;BSD-3
>+ "third_party/cros_system_api" ;BSD-3
>+ "third_party/dom_distiller_js" ;BSD-3
>+ "third_party/fips181" ;BSD-3
>+ "third_party/flatbuffers" ;ASL2.0
>+ "third_party/google_input_tools" ;ASL2.0
>+ "third_party/google_input_tools/third_party/closure_library"
>;ASL2.0
>+
>"third_party/google_input_tools/third_party/closure_library/third_party/closure"
>;Expat
>+ "third_party/googletest" ;BSD-3
>+ "third_party/hunspell" ;MPL1.1/GPL2+/LGPL2.1+
>+ "third_party/iccjpeg" ;IJG
>+ "third_party/inspector_protocol" ;BSD-3
>+ "third_party/jinja2" ;BSD-3
>+ "third_party/jstemplate" ;ASL2.0
>+ "third_party/khronos" ;Expat, SGI
>+ "third_party/leveldatabase" ;BSD-3
>+ "third_party/libXNVCtrl" ;Expat
>+ "third_party/libaddressinput" ;ASL2.0
>+ "third_party/libaom" ;BSD-2 or "Alliance for Open Media Patent
>License 1.0"
>+ "third_party/libaom/source/libaom/third_party/vector" ;Expat
>+ "third_party/libaom/source/libaom/third_party/x86inc" ;ISC
>+ "third_party/libjingle_xmpp" ;BSD-3
>+ "third_party/libphonenumber" ;ASL2.0
>+ "third_party/libsecret" ;LGPL2.1+
>+ "third_party/libsrtp" ;BSD-3
>+ "third_party/libsync" ;ASL2.0
>+ "third_party/libudev" ;LGPL2.1+
>+ "third_party/libwebm" ;BSD-3
>+ "third_party/libxml/chromium" ;BSD-3
>+ "third_party/libyuv" ;BSD-3
>+ "third_party/lss" ;BSD-3
>+ "third_party/markupsafe" ;BSD-3
>+ "third_party/mesa_headers" ;Expat, SGI
>+ "third_party/metrics_proto" ;BSD-3
>+ "third_party/modp_b64" ;BSD-3
>+ "third_party/nasm" ;BSD-2
>+ "third_party/node" ;Expat
>+
>"third_party/node/node_modules/polymer-bundler/lib/third_party/UglifyJS2"
>;BSD-2
>+ "third_party/ots" ;BSD-3
>+ "third_party/pdfium" ;BSD-3
>+ "third_party/pdfium/third_party/agg23" ;Expat
>+ "third_party/pdfium/third_party/base" ;BSD-3
>+ "third_party/pdfium/third_party/bigint" ;Public domain, BSD-3
>+ "third_party/pdfium/third_party/skia_shared" ;BSD-3
>+ "third_party/pdfium/third_party/freetype/include/pstables.h"
>;FreeType
>+ "third_party/ply" ;BSD-3
>+ "third_party/polymer" ;BSD-3
>+ "third_party/protobuf" ;BSD-3
>+ "third_party/protobuf/third_party/six" ;Expat
>+ "third_party/pyjson5" ;ASL2.0
>+ "third_party/qcms" ;Expat
>+ "third_party/rnnoise" ;BSD-3
>+ "third_party/s2cellid" ;ASL2.0
>+ "third_party/sfntly" ;ASL2.0
>+ "third_party/skia" ;BSD-3
>+ "third_party/skia/third_party/gif" ;MPL1.1/GPL2+/LGPL2.1+
>+ "third_party/skia/third_party/skcms" ;BSD-3
>+ "third_party/skia/third_party/vulkan" ;BSD-3
>+ "third_party/smhasher" ;Expat, public domain
>+ "third_party/speech-dispatcher" ;GPL2+
>+ "third_party/spirv-headers" ;ASL2.0
>+ "third_party/SPIRV-Tools" ;ASL2.0
>+ "third_party/sqlite" ;Public domain
>+ "third_party/ungoogled" ;BSD-3
>+ "third_party/usb_ids" ;BSD-3
>+ "third_party/usrsctp" ;BSD-2
>+ "third_party/web-animations-js" ;ASL2.0
>+ "third_party/webdriver" ;ASL2.0
>+ "third_party/webrtc" ;BSD-3
>+ "third_party/webrtc/common_audio/third_party/fft4g" ;Non-copyleft
>+ "third_party/webrtc/common_audio/third_party/spl_sqrt_floor"
>;Public domain
>+ "third_party/webrtc/modules/third_party/fft" ;Non-copyleft
>+ "third_party/webrtc/modules/third_party/g711" ;Public domain
>+ "third_party/webrtc/modules/third_party/g722" ;Public domain
>+ "third_party/webrtc/rtc_base/third_party/base64" ;Non-copyleft
>+ "third_party/webrtc/rtc_base/third_party/sigslot" ;Public domain
>+ "third_party/widevine/cdm/widevine_cdm_version.h" ;BSD-3
>+ "third_party/widevine/cdm/widevine_cdm_common.h" ;BSD-3
>+ "third_party/woff2" ;ASL2.0
>+ "third_party/xdg-utils" ;Expat
>+ "third_party/yasm/run_yasm.py" ;BSD-2 or BSD-3
>+ "third_party/zlib/google" ;BSD-3
>+ "url/third_party/mozilla" ;BSD-3, MPL1.1/GPL2+/LGPL2.1+
>+ "v8/src/third_party/utf8-decoder" ;Expat
>+ "v8/src/third_party/valgrind" ;BSD-4
>+ "v8/third_party/inspector_protocol" ;BSD-3
>+ "v8/third_party/v8/builtins")) ;PSFL
>+
>+(define* (computed-origin-method gexp-promise hash-algo hash
>+ #:optional (name "source")
>+ #:key (system (%current-system))
>+ (guile (default-guile)))
>+ "Return a derivation that executes the G-expression that results
>+from forcing GEXP-PROMISE."
>+ (mlet %store-monad ((guile (package->derivation guile system)))
>+ (gexp->derivation (or name "computed-origin")
>+ (force gexp-promise)
>+ #:system system
>+ #:guile-for-build guile)))
>+
>+(define %chromium-version "72.0.3626.81")
>+(define %ungoogled-revision
>"f9b9074c322a67b04baf0982797cd7b7e09614b5")
>+
>+;; This is a computed origin that does the following:
>+;; 1) Runs the Ungoogled scripts on a pristine Chromium tarball.
>+;; 2) Prunes all third_party folders that are not explicitly
>preserved.
>+;; 3) Adjusts "GN" build files such that system libraries are
>preferred.
>+(define ungoogled-chromium-source
>+ (let* ((chromium-source
>+ (origin
>+ (method url-fetch)
>+ (uri (string-append
>"https://commondatastorage.googleapis.com"
>+ "/chromium-browser-official/chromium-"
>+ %chromium-version ".tar.xz"))
>+ (sha256
>+ (base32
>+
>"01l0vlvcckpag376mjld7qprv63l0z8li689k0h6v3h0i7irzs6z"))))
>+ (ungoogled-source
>+ (origin
>+ (method git-fetch)
>+ (uri (git-reference (url
>"https://github.com/mbakke/ungoogled-chromium")
>+ (commit %ungoogled-revision)))
>+ (file-name (git-file-name "ungoogled-chromium"
>+ (string-take %ungoogled-revision
>7)))
>+ (sha256
>+ (base32
>+
>"0gmk1n3i7lbm7rw8zl4df171yhvrlimj8ksj096bf2dlfhbd44rb")))))
>+
>+ (origin
>+ (method computed-origin-method)
>+ (file-name (string-append "ungoogled-chromium-"
>%chromium-version ".tar.xz"))
>+ (sha256 #f)
>+ (uri
>+ (delay
>+ (with-imported-modules '((guix build utils))
>+ #~(begin
>+ (use-modules (guix build utils))
>+ (let ((chromium-dir (string-append "chromium-"
>#$%chromium-version))
>+ (preserved-files (list
>#$@%preserved-third-party-files)))
>+
>+ (mkdir "/tmp/bin")
>+ (set-path-environment-variable
>+ "PATH" '("bin")
>+ (list "/tmp"
>+ #+(canonical-package patch)
>+ #+(canonical-package xz)
>+ #+(canonical-package tar)
>+ #+python-2
>+ #+python))
>+
>+ (copy-recursively #+ungoogled-source
>"/tmp/ungoogled")
>+
>+ (with-directory-excursion "/tmp/ungoogled"
>+
>+ (format #t "Unpacking chromium tarball...~%")
>+ (force-output)
>+ (invoke "tar" "xf" #+chromium-source)
>+
>+ (format #t "Ungooglifying...~%")
>+ (force-output)
>+ (invoke "python3" "run_buildkit_cli.py" "prune"
>+ "-b" "config_bundles/guix" chromium-dir)
>+ (invoke "python3" "run_buildkit_cli.py" "patches"
>"apply"
>+ "-b" "config_bundles/guix" chromium-dir)
>+ (invoke "python3" "run_buildkit_cli.py" "domains"
>"apply"
>+ "-b" "config_bundles/linux_rooted"
>+ "-c" "/tmp/domainscache.tar.gz"
>chromium-dir)
>+
>+ (with-directory-excursion chromium-dir
>+ (format #t "Pruning third party files...~%")
>+ (force-output)
>+ (apply invoke "python"
>+
>"build/linux/unbundle/remove_bundled_libraries.py"
>+ "--do-remove" preserved-files)
>+
>+ (format #t "Replacing GN files...~%")
>+ (force-output)
>+ (invoke "python3"
>"build/linux/unbundle/replace_gn_files.py"
>+ "--system-libraries" "ffmpeg" "flac"
>"fontconfig"
>+ "freetype" "harfbuzz-ng" "icu" "libdrm"
>"libevent"
>+ "libjpeg" "libpng" "libvpx" "libwebp"
>"libxml"
>+ "libxslt" "openh264" "opus" "re2"
>"snappy" "yasm"
>+ "zlib"))
>+
>+ (format #t (string-append "Packing new Ungoogled
>tarball ...~%"))
>+ (force-output)
>+ (invoke "tar" "cvfa" #$output
>+ ;; Avoid non-determinism in the archive.
>+ "--mtime=@0"
>+ "--owner=root:0"
>+ "--group=root:0"
>+ "--sort=name"
>+ chromium-dir)
>+
>+ #t)))))))))
>+
>+(define opus+custom
>+ (package/inherit opus
>+ (name "opus+custom")
>+ (arguments
>+ (substitute-keyword-arguments (package-arguments opus)
>+ ((#:configure-flags flags ''())
>+ ;; Opus Custom is an optional extension of the Opus
>+ ;; specification that allows for unsupported frame
>+ ;; sizes. Chromium requires that this is enabled.
>+ `(cons "--enable-custom-modes"
>+ ,flags))))))
>+
>+(define libvpx/chromium
>+ ;; Chromium 66 and later requires an unreleased libvpx, so we take
>the
>+ ;; commit from "third_party/libvpx/README.chromium" in the tarball.
>+ (let ((version (package-version libvpx))
>+ (commit "e188b5435de71bcd602c378f1ac0441111f0f915")
>+ (revision "0"))
>+ (package/inherit libvpx
>+ (name "libvpx-chromium")
>+ (version (git-version version revision commit))
>+ (source (origin
>+ (method git-fetch)
>+ (uri (git-reference
>+ (url
>"https://chromium.googlesource.com/webm/libvpx")
>+ (commit commit)))
>+ (file-name (git-file-name name version))
>+ (sha256
>+ (base32
>+
>"0v7lzvgy45zh7zwzmmzkvbcqmhs4xa97z0h97hd3j6myrxcfz1n9")))))))
>+
>+;; Transitional package until HarfBuzz 2.2 is available in Guix master
>branch.
>+(define harfbuzz/chromium
>+ (package/inherit harfbuzz
>+ (version "2.2.0")
>+ (source (origin
>+ (inherit (package-source harfbuzz))
>+ (uri (string-append
>"https://www.freedesktop.org/software/harfbuzz"
>+ "/release/harfbuzz-" version
>".tar.bz2"))
>+ (sha256
>+ (base32
>+
>"047q63jr513azf3g1y7f5xn60b4jdjs9zsmrx04sfw5rasyzrk5p"))))))
>+
>+(define-public ungoogled-chromium
>+ (package
>+ (name "ungoogled-chromium")
>+ (version %chromium-version)
>+ (synopsis "Graphical web browser")
>+ (source ungoogled-chromium-source)
>+ (build-system gnu-build-system)
>+ (arguments
>+ `(#:tests? #f
>+ ;; FIXME: There is a "gn" option specifically for setting
>-rpath, but
>+ ;; it overrides the RUNPATH set by the linker.
>+ #:validate-runpath? #f
>+ #:modules ((
This message was truncated. Download the full message here.
Attachment: file
M
M
Marius Bakke wrote on 6 Feb 2019 22:04
Re: [GNU-linux-libre] [PATCH] gnu: Add ungoogled-chromium.
87y36socg4.fsf@fastmail.com
Ludovic Courtès <ludo@gnu.org> writes:

Toggle quote (19 lines)
> Hi bill-auger,
>
> bill-auger <bill-auger@peers.community> skribis:
>
>> re: https://lists.gnu.org/archive/html/guix-devel/2019-02/msg00009.html
>>
>> i would like to remind readers of the guix-devel list that it was
>> discussed some months ago, why no FSDG distros currently distribute
>> chromium[1] - it appeared at that time, that most people in that
>> discussion were in agreement that chromium should not be included in
>> guix; and marius was instead hosting it in a private repo, as not to
>> taint the main guix repos with dubious software - has there been a
>> notable break-through since then?
>
> It’s not entirely clear to me what the problems are, to be honest.
> Marius listed specific issues that were addressed by the patches; others
> then pointed out at additional issues that ungoogled-chromium fixes,
> which Marius took into account; what’s left now?

Indeed, the only real breakthrough is that we now have a script to
create an Ungooglified source tarball with all unnecessary third_party
components removed. The compressed tarball is smaller than that of
IceCat and takes up around 2.1 GiB uncompressed, roughly 1GiB of which
is third_party stuff.

That leaves "just" over 1GiB of source code to audit (assuming my
third_party audit is correct). I haven't been able to find any
proprietary parts in first party code, and am convinced that the
remaining third_party components are free, hence this patch.

I am of course happy to help other FSDG distributions liberate their
Chromium too.
-----BEGIN PGP SIGNATURE-----

iQEzBAEBCgAdFiEEu7At3yzq9qgNHeZDoqBt8qM6VPoFAlxbS/sACgkQoqBt8qM6
VPocZgf+Pkn1O48620Eeq+46cW1UWmD9rO+sc2Mnm25TJZVneFWgnEel+cFVgp8c
FH1lvkScAkMi28WcI93nQCq7OqVJOZ7h9gvMmAhEZEvyoWFn/cylIFM39iNdU3pE
6sC5nWR5cEt6mNbjiddoV1OxftsgyVVyVizr/tCGHhLW/xtFaYHZ/zN+h3I1oZk2
aNqa33DaYf8A3ZbYsXmKqtQQIsuAPs10dTppt1mmEe9xnOndu8KO6n9Spa4f0IUR
RHoU05cz4uCAXmAbB5Lam6lbZmM2xlvZExTcvzmM51jvDHSQ5dE7yk4s1ZLCgAKT
VlaeQRdSI6GUe4wiFzhk3my2dkcDFg==
=yfJH
-----END PGP SIGNATURE-----

C
C
Christopher Lemmer Webber wrote on 8 Feb 2019 00:52
Re: [PATCH] gnu: Add ungoogled-chromium.
(name . Ludovic Courtès)(address . ludo@gnu.org)
87tvhf5f8d.fsf@dustycloud.org
Ludovic Courtès writes:

Toggle quote (28 lines)
> Hi bill-auger,
>
> bill-auger <bill-auger@peers.community> skribis:
>
>> re: https://lists.gnu.org/archive/html/guix-devel/2019-02/msg00009.html
>>
>> i would like to remind readers of the guix-devel list that it was
>> discussed some months ago, why no FSDG distros currently distribute
>> chromium[1] - it appeared at that time, that most people in that
>> discussion were in agreement that chromium should not be included in
>> guix; and marius was instead hosting it in a private repo, as not to
>> taint the main guix repos with dubious software - has there been a
>> notable break-through since then?
>
> It’s not entirely clear to me what the problems are, to be honest.
> Marius listed specific issues that were addressed by the patches; others
> then pointed out at additional issues that ungoogled-chromium fixes,
> which Marius took into account; what’s left now?
>
> I understand you’re skeptical about Chromium, but we cannot base
> decisions based on vague skepticism. If you know of issues that are
> still unaddressed, please do list them.
>
> I’d also like to stress that, if Chromium is eventually included in
> Guix, we are committed to fixing it or removing it should someone later
> discover that it does not comply with the FSDG (that’s the “Commitment
> to Correct Mistakes” section of FSDG.)

+1 ... If concrete problems are found, by all means those should be
raised and addressed. Otherwise I really think we ought to merge this
work.
J
J
Julie Marchant wrote on 8 Feb 2019 00:59
Re: [GNU-linux-libre] [PATCH] gnu: Add ungoogled-chromium.
794ccf8b-cee1-5588-976f-085d37a0bc2a@riseup.net
On 02/07/2019 06:52 PM, Christopher Lemmer Webber wrote:
Toggle quote (34 lines)
> Ludovic Courtès writes:
>
>> Hi bill-auger,
>>
>> bill-auger <bill-auger@peers.community> skribis:
>>
>>> re: https://lists.gnu.org/archive/html/guix-devel/2019-02/msg00009.html
>>>
>>> i would like to remind readers of the guix-devel list that it was
>>> discussed some months ago, why no FSDG distros currently distribute
>>> chromium[1] - it appeared at that time, that most people in that
>>> discussion were in agreement that chromium should not be included in
>>> guix; and marius was instead hosting it in a private repo, as not to
>>> taint the main guix repos with dubious software - has there been a
>>> notable break-through since then?
>>
>> It’s not entirely clear to me what the problems are, to be honest.
>> Marius listed specific issues that were addressed by the patches; others
>> then pointed out at additional issues that ungoogled-chromium fixes,
>> which Marius took into account; what’s left now?
>>
>> I understand you’re skeptical about Chromium, but we cannot base
>> decisions based on vague skepticism. If you know of issues that are
>> still unaddressed, please do list them.
>>
>> I’d also like to stress that, if Chromium is eventually included in
>> Guix, we are committed to fixing it or removing it should someone later
>> discover that it does not comply with the FSDG (that’s the “Commitment
>> to Correct Mistakes” section of FSDG.)
>
> +1 ... If concrete problems are found, by all means those should be
> raised and addressed. Otherwise I really think we ought to merge this
> work.

Yes, exactly.

--
Julie Marchant

Encrypt your emails with GnuPG:
A
A
Adonay Felipe Nogueira wrote on 9 Feb 2019 15:04
(address . 28004@debbugs.gnu.org)
1af79bfb-57f9-da16-8aea-ba6d33bb7eca@hyperbola.info
Em 04/02/2019 02:52, bill-auger escreveu:
Toggle quote (17 lines)
>
> i would like to remind readers of the guix-devel list that it was
> discussed some months ago, why no FSDG distros currently distribute
> chromium[1] - it appeared at that time, that most people in that
> discussion were in agreement that chromium should not be included in
> guix; and marius was instead hosting it in a private repo, as not to
> taint the main guix repos with dubious software - has there been a
> notable break-through since then?
>
> what is the evidence for this claim that this guix package is "free
> software only"? - what does "Marks beautiful computed-origin-method" do
> toward that end? - if a procedure for liberating any chromium-derived
> software has been discovered, this would be a marvelous accomplishment
> and very good news indeed, of which people outside of the guix dev team
> would also be interested to learn

On this matter, I think this discussion and also the review should be
tracked either in a bug report or in the Free Software Directory wiki
talk page about Chromium package/entry[1], this one also has a partial
review still to be finished. Besides, the last time I read the FSD's
entry inclusion requirements (about June, 2018) I was informed also in
IRC that they have plans to make the FSD mimic the requirements of the
GNU FSDG so that free/libre system distributions would have an easier
time getting a list of reviewed packages for inclusion. That means that
the FSD would also have the requirements from the GNU FSDG regarding not
including malware and not steering towards non-free functional data.
There are optional things to consider, for which the Antifeature Project
Team is working on drafting[2], although these are not requirements for
inclusion in the FSD.

Regarding the review results in the page referenced by [1], please keep
in mind that the torrents have no trackers, so please share/seed with
DHT and PEX enabled so others can discover the shares too.

Another alternative is of course to ditch Chromium and
Ungoogled-Chromium and focus on Iridium Browser[3].

Anyways, if you do want to see progress in the Chromium review, please
contribute by downloading, seeding and also actually reviewing parts of
the reports generated. The last stop is marked with "Continue.". I did
start the review, but I'm not the most experienced person in regards to
all of legal, security and privacy matters. Just remember to remake a
torrent with the modified report and change the old hash in the page to
the new one you're seeding if you do make changes to the report, and
mark/save the change as major so that other people get notified.

Lastly, bill-auger's question of which should be the "assumed value" for
the GNU FSDG compliance status of a unreviewed package, based on various
proofs related to the dangers of non-free software (well, gnu.org has a
page with these reports/news[4]) and also on the reasoning given by
Richard Stallman in his talks[5], the unreviewed entries should be
considered non-free.

[5]
Attachment: signature.asc
M
M
Marius Bakke wrote on 12 Feb 2019 16:58
[PATCH v2] gnu: Add ungoogled-chromium.
(address . guix-devel@gnu.org)(address . 28004@debbugs.gnu.org)
20190212155815.23817-1-mbakke@fastmail.com
Changes in this version:

* New upstream release.
* No longer using a fork of Ungoogled-Chromium.
* The special HarfBuzz and libvpx variants have been removed due to
obsolesence.

Enjoy (or despair)! Comments appreciated.

* gnu/packages/aux-files/chromium/master-preferences.json,
gnu/packages/chromium.scm: New files.
* gnu/local.mk (GNU_SYSTEM_MODULES): Adjust accordingly.
---
gnu/local.mk | 1 +
.../chromium/master-preferences.json | 26 +
gnu/packages/chromium.scm | 726 ++++++++++++++++++
3 files changed, 753 insertions(+)
create mode 100644 gnu/packages/aux-files/chromium/master-preferences.json
create mode 100644 gnu/packages/chromium.scm

Toggle diff (444 lines)
diff --git a/gnu/local.mk b/gnu/local.mk
index 154b03313a..1496bae066 100644
--- a/gnu/local.mk
+++ b/gnu/local.mk
@@ -100,6 +100,7 @@ GNU_SYSTEM_MODULES = \
%D%/packages/check.scm \
%D%/packages/chemistry.scm \
%D%/packages/chez.scm \
+ %D%/packages/chromium.scm \
%D%/packages/ci.scm \
%D%/packages/cinnamon.scm \
%D%/packages/clojure.scm \
diff --git a/gnu/packages/aux-files/chromium/master-preferences.json b/gnu/packages/aux-files/chromium/master-preferences.json
new file mode 100644
index 0000000000..5a2049fa72
--- /dev/null
+++ b/gnu/packages/aux-files/chromium/master-preferences.json
@@ -0,0 +1,26 @@
+{
+ "distribution": {
+ "import_bookmarks": false,
+ "make_chrome_default": false,
+ "make_chrome_default_for_user": false,
+ "verbose_logging": true,
+ "skip_first_run_ui": true,
+ "suppress_first_run_default_browser_prompt": true
+ },
+ "browser": {
+ "has_seen_welcome_page" : true,
+ "check_default_browser" : false
+ },
+ "dns_prefetching": {
+ "enabled": false
+ },
+ "alternate_error_pages": {
+ "enabled": false
+ },
+ "hardware": {
+ "audio_capture_enabled": false
+ },
+ "default_apps": "noinstall",
+ "hide_web_store_icon": true,
+ "homepage": "https://www.gnu.org/software/guix/"
+}
diff --git a/gnu/packages/chromium.scm b/gnu/packages/chromium.scm
new file mode 100644
index 0000000000..85e96131e3
--- /dev/null
+++ b/gnu/packages/chromium.scm
@@ -0,0 +1,726 @@
+;;; GNU Guix --- Functional package management for GNU
+;;; Copyright © 2019 Marius Bakke <mbakke@fastmail.com>
+;;;
+;;; This file is part of GNU Guix.
+;;;
+;;; GNU Guix is free software; you can redistribute it and/or modify it
+;;; under the terms of the GNU General Public License as published by
+;;; the Free Software Foundation; either version 3 of the License, or (at
+;;; your option) any later version.
+;;;
+;;; GNU Guix is distributed in the hope that it will be useful, but
+;;; WITHOUT ANY WARRANTY; without even the implied warranty of
+;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+;;; GNU General Public License for more details.
+;;;
+;;; You should have received a copy of the GNU General Public License
+;;; along with GNU Guix. If not, see <http://www.gnu.org/licenses/>.
+
+(define-module (gnu packages chromium)
+ #:use-module ((guix licenses) #:prefix license:)
+ #:use-module (guix packages)
+ #:use-module (guix gexp)
+ #:use-module (guix store)
+ #:use-module (guix monads)
+ #:use-module (guix download)
+ #:use-module (guix git-download)
+ #:use-module (guix utils)
+ #:use-module (guix build-system gnu)
+ #:use-module (gnu packages)
+ #:use-module (gnu packages assembly)
+ #:use-module (gnu packages base)
+ #:use-module (gnu packages bison)
+ #:use-module (gnu packages build-tools)
+ #:use-module (gnu packages compression)
+ #:use-module (gnu packages cups)
+ #:use-module (gnu packages curl)
+ #:use-module (gnu packages fontutils)
+ #:use-module (gnu packages gcc)
+ #:use-module (gnu packages ghostscript)
+ #:use-module (gnu packages gl)
+ #:use-module (gnu packages glib)
+ #:use-module (gnu packages gnome)
+ #:use-module (gnu packages gnuzilla)
+ #:use-module (gnu packages gperf)
+ #:use-module (gnu packages gtk)
+ #:use-module (gnu packages icu4c)
+ #:use-module (gnu packages image)
+ #:use-module (gnu packages libevent)
+ #:use-module (gnu packages libffi)
+ #:use-module (gnu packages linux)
+ #:use-module (gnu packages kerberos)
+ #:use-module (gnu packages ninja)
+ #:use-module (gnu packages node)
+ #:use-module (gnu packages pciutils)
+ #:use-module (gnu packages pkg-config)
+ #:use-module (gnu packages pulseaudio)
+ #:use-module (gnu packages python)
+ #:use-module (gnu packages python-web)
+ #:use-module (gnu packages python-xyz)
+ #:use-module (gnu packages regex)
+ #:use-module (gnu packages serialization)
+ #:use-module (gnu packages speech)
+ #:use-module (gnu packages tls)
+ #:use-module (gnu packages valgrind)
+ #:use-module (gnu packages vulkan)
+ #:use-module (gnu packages video)
+ #:use-module (gnu packages xiph)
+ #:use-module (gnu packages xml)
+ #:use-module (gnu packages xdisorg)
+ #:use-module (gnu packages xorg))
+
+(define %preserved-third-party-files
+ '("base/third_party/dmg_fp" ;X11-style
+ "base/third_party/dynamic_annotations" ;BSD-2
+ "base/third_party/icu" ;Unicode, X11-style
+ "base/third_party/superfasthash" ;BSD-3
+ "base/third_party/symbolize" ;BSD-3
+ "base/third_party/xdg_mime" ;LGPL2.1+ or Academic 2.0
+ "base/third_party/xdg_user_dirs" ;Expat
+ "chrome/third_party/mozilla_security_manager" ;MPL-1.1/GPL2+/LGPL2.1+
+ "courgette/third_party/bsdiff" ;BSD-2, BSD protection license
+ "courgette/third_party/divsufsort" ;Expat
+ "net/third_party/http2" ;BSD-3
+ "net/third_party/mozilla_security_manager" ;MPL-1.1/GPL2+/LGPL2.1+
+ "net/third_party/nss" ;MPL-2.0
+ "net/third_party/quic" ;BSD-3
+ "net/third_party/spdy" ;BSD-3
+ "net/third_party/uri_template" ;ASL2.0
+ "third_party/abseil-cpp" ;ASL2.0
+ "third_party/adobe/flash/flapper_version.h" ;no license, trivial
+ "third_party/angle" ;BSD-3
+ "third_party/angle/src/common/third_party/base" ;BSD-3
+ "third_party/angle/src/common/third_party/smhasher" ;Public domain
+ "third_party/angle/src/common/third_party/xxhash" ;BSD-2
+ "third_party/angle/src/third_party/compiler" ;BSD-2
+ "third_party/angle/src/third_party/libXNVCtrl" ;Expat
+ "third_party/angle/src/third_party/trace_event" ;BSD-3
+ "third_party/angle/third_party/glslang" ;BSD-3
+ "third_party/angle/third_party/spirv-headers" ;Expat
+ "third_party/angle/third_party/spirv-tools" ;Expat
+ "third_party/angle/third_party/vulkan-headers" ;ASL2.0
+ "third_party/angle/third_party/vulkan-loader" ;ASL2.0
+ "third_party/angle/third_party/vulkan-tools" ;ASL2.0
+ "third_party/angle/third_party/vulkan-validation-layers" ;ASL2.0
+ "third_party/apple_apsl" ;APSL2.0
+ "third_party/blink" ;BSD-3
+ "third_party/boringssl" ;OpenSSL/ISC (Google additions are ISC)
+ "third_party/boringssl/src/third_party/fiat" ;Expat
+ "third_party/breakpad" ;BSD-3
+ "third_party/brotli" ;Expat
+ "third_party/cacheinvalidation" ;ASL2.0
+ "third_party/catapult" ;BSD-3
+ "third_party/catapult/common/py_vulcanize/third_party/rcssmin" ;ASL2.0
+ "third_party/catapult/common/py_vulcanize/third_party/rjsmin" ;ASL2.0
+ "third_party/catapult/third_party/polymer" ;BSD-3
+ "third_party/catapult/tracing/third_party/d3" ;BSD-3
+ "third_party/catapult/tracing/third_party/gl-matrix" ;Expat
+ "third_party/catapult/tracing/third_party/jszip" ;Expat or GPL3
+ "third_party/catapult/tracing/third_party/mannwhitneyu" ;Expat
+ "third_party/catapult/tracing/third_party/oboe" ;BSD-2
+ "third_party/catapult/tracing/third_party/pako" ;Expat
+ "third_party/ced" ;BSD-3
+ "third_party/cld_3" ;ASL2.0
+ "third_party/crashpad" ;ASL2.0
+ "third_party/crashpad/crashpad/third_party/zlib/zlib_crashpad.h" ;Zlib
+ "third_party/crc32c" ;BSD-3
+ "third_party/cros_system_api" ;BSD-3
+ "third_party/dom_distiller_js" ;BSD-3
+ "third_party/fips181" ;BSD-3
+ "third_party/flatbuffers" ;ASL2.0
+ "third_party/google_input_tools" ;ASL2.0
+ "third_party/google_input_tools/third_party/closure_library" ;ASL2.0
+ "third_party/google_input_tools/third_party/closure_library/third_party/closure" ;Expat
+ "third_party/googletest" ;BSD-3
+ "third_party/hunspell" ;MPL1.1/GPL2+/LGPL2.1+
+ "third_party/iccjpeg" ;IJG
+ "third_party/inspector_protocol" ;BSD-3
+ "third_party/jinja2" ;BSD-3
+ "third_party/jstemplate" ;ASL2.0
+ "third_party/khronos" ;Expat, SGI
+ "third_party/leveldatabase" ;BSD-3
+ "third_party/libXNVCtrl" ;Expat
+ "third_party/libaddressinput" ;ASL2.0
+ "third_party/libaom" ;BSD-2 or "Alliance for Open Media Patent License 1.0"
+ "third_party/libaom/source/libaom/third_party/vector" ;Expat
+ "third_party/libaom/source/libaom/third_party/x86inc" ;ISC
+ "third_party/libjingle_xmpp" ;BSD-3
+ "third_party/libphonenumber" ;ASL2.0
+ "third_party/libsecret" ;LGPL2.1+
+ "third_party/libsrtp" ;BSD-3
+ "third_party/libsync" ;ASL2.0
+ "third_party/libudev" ;LGPL2.1+
+ "third_party/libwebm" ;BSD-3
+ "third_party/libxml/chromium" ;BSD-3
+ "third_party/libyuv" ;BSD-3
+ "third_party/lss" ;BSD-3
+ "third_party/markupsafe" ;BSD-3
+ "third_party/mesa_headers" ;Expat, SGI
+ "third_party/metrics_proto" ;BSD-3
+ "third_party/modp_b64" ;BSD-3
+ "third_party/nasm" ;BSD-2
+ "third_party/node" ;Expat
+ "third_party/node/node_modules/polymer-bundler/lib/third_party/UglifyJS2" ;BSD-2
+ "third_party/ots" ;BSD-3
+ "third_party/pdfium" ;BSD-3
+ "third_party/pdfium/third_party/agg23" ;Expat
+ "third_party/pdfium/third_party/base" ;BSD-3
+ "third_party/pdfium/third_party/bigint" ;Public domain, BSD-3
+ "third_party/pdfium/third_party/skia_shared" ;BSD-3
+ "third_party/pdfium/third_party/freetype/include/pstables.h" ;FreeType
+ "third_party/ply" ;BSD-3
+ "third_party/polymer" ;BSD-3
+ "third_party/protobuf" ;BSD-3
+ "third_party/protobuf/third_party/six" ;Expat
+ "third_party/pyjson5" ;ASL2.0
+ "third_party/qcms" ;Expat
+ "third_party/rnnoise" ;BSD-3
+ "third_party/s2cellid" ;ASL2.0
+ "third_party/sfntly" ;ASL2.0
+ "third_party/skia" ;BSD-3
+ "third_party/skia/third_party/gif" ;MPL1.1/GPL2+/LGPL2.1+
+ "third_party/skia/third_party/skcms" ;BSD-3
+ "third_party/skia/third_party/vulkan" ;BSD-3
+ "third_party/smhasher" ;Expat, public domain
+ "third_party/speech-dispatcher" ;GPL2+
+ "third_party/spirv-headers" ;ASL2.0
+ "third_party/SPIRV-Tools" ;ASL2.0
+ "third_party/sqlite" ;Public domain
+ "third_party/ungoogled" ;BSD-3
+ "third_party/usb_ids" ;BSD-3
+ "third_party/usrsctp" ;BSD-2
+ "third_party/web-animations-js" ;ASL2.0
+ "third_party/webdriver" ;ASL2.0
+ "third_party/webrtc" ;BSD-3
+ "third_party/webrtc/common_audio/third_party/fft4g" ;Non-copyleft
+ "third_party/webrtc/common_audio/third_party/spl_sqrt_floor" ;Public domain
+ "third_party/webrtc/modules/third_party/fft" ;Non-copyleft
+ "third_party/webrtc/modules/third_party/g711" ;Public domain
+ "third_party/webrtc/modules/third_party/g722" ;Public domain
+ "third_party/webrtc/rtc_base/third_party/base64" ;Non-copyleft
+ "third_party/webrtc/rtc_base/third_party/sigslot" ;Public domain
+ "third_party/widevine/cdm/widevine_cdm_version.h" ;BSD-3
+ "third_party/widevine/cdm/widevine_cdm_common.h" ;BSD-3
+ "third_party/woff2" ;ASL2.0
+ "third_party/xdg-utils" ;Expat
+ "third_party/yasm/run_yasm.py" ;BSD-2 or BSD-3
+ "third_party/zlib/google" ;BSD-3
+ "url/third_party/mozilla" ;BSD-3, MPL1.1/GPL2+/LGPL2.1+
+ "v8/src/third_party/utf8-decoder" ;Expat
+ "v8/src/third_party/valgrind" ;BSD-4
+ "v8/third_party/inspector_protocol" ;BSD-3
+ "v8/third_party/v8/builtins")) ;PSFL
+
+(define* (computed-origin-method gexp-promise hash-algo hash
+ #:optional (name "source")
+ #:key (system (%current-system))
+ (guile (default-guile)))
+ "Return a derivation that executes the G-expression that results
+from forcing GEXP-PROMISE."
+ (mlet %store-monad ((guile (package->derivation guile system)))
+ (gexp->derivation (or name "computed-origin")
+ (force gexp-promise)
+ #:system system
+ #:guile-for-build guile)))
+
+(define %chromium-version "72.0.3626.96")
+(define %ungoogled-revision "82b1194615a6542c28edfc5505d357c9dfca88c7")
+
+;; This is a "computed" origin that does the following:
+;; 1) Runs the Ungoogled scripts on a pristine Chromium tarball.
+;; 2) Prunes all third_party folders that are not explicitly preserved.
+;; 3) Adjusts "GN" build files such that system libraries are preferred.
+(define ungoogled-chromium-source
+ (let* ((chromium-source
+ (origin
+ (method url-fetch)
+ (uri (string-append "https://commondatastorage.googleapis.com"
+ "/chromium-browser-official/chromium-"
+ %chromium-version ".tar.xz"))
+ (sha256
+ (base32
+ "0fxavi4nwfiyb15lqm02vlq6kb8i4ipxnd7hp45bm7jdmhmgbnmj"))))
+ (ungoogled-source
+ (origin
+ (method git-fetch)
+ (uri (git-reference (url "https://github.com/Eloston/ungoogled-chromium")
+ (commit %ungoogled-revision)))
+ (file-name (git-file-name "ungoogled-chromium"
+ (string-take %ungoogled-revision 7)))
+ (sha256
+ (base32
+ "067bccrv67wh8p0vak0n38gc8mvb9hvx2pz83r0y1iiqkhrglnp3")))))
+
+ (origin
+ (method computed-origin-method)
+ (file-name (string-append "ungoogled-chromium-" %chromium-version ".tar.xz"))
+ (sha256 #f)
+ (uri
+ (delay
+ (with-imported-modules '((guix build utils))
+ #~(begin
+ (use-modules (guix build utils))
+ (let ((chromium-dir (string-append "chromium-" #$%chromium-version))
+ (preserved-files (list #$@%preserved-third-party-files)))
+
+ (mkdir "/tmp/bin")
+ (set-path-environment-variable
+ "PATH" '("bin")
+ (list "/tmp"
+ #+(canonical-package patch)
+ #+(canonical-package xz)
+ #+(canonical-package tar)
+ #+python-2
+ #+python))
+
+ (copy-recursively #+ungoogled-source "/tmp/ungoogled")
+
+ (with-directory-excursion "/tmp/ungoogled"
+
+ ;; Create a custom "bundle" that inherits from linux_rooted
+ ;; and adds an additional patch.
+ (format #t "Creating Guix config bundle...~%")
+ (force-output)
+ (mkdir-p "config_bundles/guix")
+ (call-with-output-file "config_bundles/guix/bundlemeta.ini"
+ (lambda (port)
+ (format port
+ "[bundle]
+display_name = GNU Guix
+depends = linux_rooted\n")))
+ (call-with-output-file "config_bundles/guix/patch_order.list"
+ (lambda (port)
+ (format port "debian_buster/system/openjpeg.patch\n")))
+
+ (format #t "Unpacking chromium tarball...~%")
+ (force-output)
+ (invoke "tar" "xf" #+chromium-source)
+
+ (format #t "Ungooglifying...~%")
+ (force-output)
+ (invoke "python3" "run_buildkit_cli.py" "prune"
+ "-b" "config_bundles/guix" chromium-dir)
+ (invoke "python3" "run_buildkit_cli.py" "patches" "apply"
+ "-b" "config_bundles/guix" chromium-dir)
+ (invoke "python3" "run_buildkit_cli.py" "domains" "apply"
+ "-b" "config_bundles/linux_rooted"
+ "-c" "/tmp/domainscache.tar.gz" chromium-dir)
+
+ (with-directory-excursion chromium-dir
+ (format #t "Pruning third party files...~%")
+ (force-output)
+ (apply invoke "python"
+ "build/linux/unbundle/remove_bundled_libraries.py"
+ "--do-remove" preserved-files)
+
+ (format #t "Replacing GN files...~%")
+ (force-output)
+ (invoke "python3" "build/linux/unbundle/replace_gn_files.py"
+ "--system-libraries" "ffmpeg" "flac" "fontconfig"
+ "freetype" "harfbuzz-ng" "icu" "libdrm" "libevent"
+ "libjpeg" "libpng" "libvpx" "libwebp" "libxml"
+ "libxslt" "openh264" "opus" "re2" "snappy" "yasm"
+ "zlib"))
+
+ (format #t (string-append "Packing new Ungoogled tarball ...~%"))
+ (force-output)
+ (invoke "tar" "cvfa" #$output
+ ;; Avoid non-determinism in the archive.
+ "--mtime=@0"
+ "--owner=root:0"
+ "--group=root:0"
+ "--sort=name"
+ chromium-dir)
+
+ #t)))))))))
+
+(define opus+custom
+ (package/inherit opus
+ (name "opus+custom")
+ (arguments
+ (substitute-keyword-arguments (package-arguments opus)
+ ((#:configure-flags flags ''())
+ ;; Opus Custom is an optional extension of the Opus
+ ;; specification that allows for unsupported frame
+ ;; sizes. Chromium requires that this is enabled.
+ `(cons "--enable-custom-modes"
+ ,flags))))))
+
+(define-public ungoogled-chromium
+ (package
+ (name "ungoogled-chromium")
+ (version %chromium-version)
+ (synopsis "Graphical web browser")
+ (source ungoogled-chromium-source)
+ (build-system gnu-build-system)
+ (arguments
+ `(#:tests? #f
+ ;; FIXME: There is a "gn" option specifically for setting -rpath, but
+ ;; it overrides the RUNPATH set by the linker.
+ #:validate-runpath? #f
+ #:modules ((guix build gnu-build-system)
+ (guix build utils)
+ (ice-9 ftw)
+ (ice-9 regex)
+ (srfi srfi-26))
+ #:configure-flags
+ ;; See tools/gn/docs/cookbook.md and
+ ;; https://www.chromium.org/developers/gn-build-configuration
+ ;; for usage. Run "./gn args . --list" in the Release
+ ;; directory for an exhaustive list of supported flags.
+ ;; (Note: The 'configure' phase will do that for you.)
+ (list "is_debug=false"
+ "use_gold=false"
+ "use_lld=false"
+ "linux_use_bundled_binutils=false"
+ "use_custom_libcxx=false"
+ "use_sysroot=false"
+ "enable_precompiled_headers=false"
+ "goma_dir=\"\""
+ "enable_nacl=false"
+ "enable_nacl_nonsfi=false"
+ "use_allocator=\"none\"" ;don't use tcmalloc
+ "use_unofficial_version_number=false"
+
+ ;; Define a custom toolchain that simply looks up CC, AR and
+ ;; friends from the environment.
+ "custom_toolchain=\"//build/toolchain/linux/unbundle:default\""
+ "host_toolchain=\"//build/toolchain/linux/unbundle:default\""
+
+ ;; Don't assume it's clang.
+ "is_clang=false"
+
+ ;; Optimize for building everything at once, as opposed to
+ ;; incrementally
This message was truncated. Download the full message here.
G
G
Giovanni Biscuolo wrote on 16 Feb 2019 19:56
Re: [PATCH] gnu: Add ungoogled-chromium.
(address . 28004@debbugs.gnu.org)
878syfblzq.fsf@roquette.mug.biscuolo.net
Hi guix-devel!

this is my humble contribution to this discussion...
(I'm not a Guix maintainer)

first and foremost, IMHO guix-devel is not the place to discuss GNU FSDG
criteria; I'm going to subscribe gnu-linux-libre@nongnu.org to send
my comments - and I _have_ some - on the FSDG compliance process

if you are interested please follow this thread:
:-D

bill-auger <bill-auger@peers.community> writes:

[...]

Toggle quote (11 lines)
> about a year ago, the FSDG review process and criteria for endorsement
> of new distros was updated the new FSDG criteria checklist for
> community review that was adopted includes the following essential
> criteria:
>
> "Programs commonly known to have freedom issues are liberated or
> excluded"
>
> that criteria is a link to the "software that does not respect the
> FSDG" wiki page,

Toggle quote (5 lines)
> which includes an entry for 'chromium-browser' (the
> debian package name) with the liberation procedure being specified as:
>
> "Remove program/package Use GNU IceCat, or equivalent"

[...]

Toggle quote (3 lines)
> it was also agreed upon at that time, that the FSDG criteria should be
> applicable to all currently endorsed distros in perpetuity, so ...

thank you for the clarification, Bill: you explained us the entire
FSDG_Checklist is *mandatory* for a distro to be GNU FSDG compliant; so
there's **no discussion** here

if Guix System Distribution wants to remain GNU FSDG compliant - as most
if not all Guix contributors would like, I suppose - ungoogled-chromium
should still not be included in Guix System Distribution

so, regarding this bug #28004 the natural resolution should be to
*postpone* the inclusion of this package with a statement like this one:

"ungoogled-chromium cannot be included in Guix System Distribution since
it is listed - as 'chromium-browser' - on the page
<List_of_software_that_does_not_respect_the_Free_System_Distribution_Guidelines#chromium-browser>
that is an integral part of the GNU FSDG Guidelines as extended by the

Happy hacking! :-)
Giovanni




--
Giovanni Biscuolo

Xelera IT Infrastructures
-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEERcxjuFJYydVfNLI5030Op87MORIFAlxoXOkACgkQ030Op87M
ORJVQw/+MeT+OL3S9VySebi3rL1GQkiaE8Qs6F3XPfAQUrcwYJNK+oRzpH3mjrbK
3UO7rUAbnzf6G4rojD4i3SaLa5nsw0z5gO3EpHtOQdx7iX/Ay+4TD0ixH92GLohC
RlNgvRuR9i8pzzKJzZ7H7zFdRer2iUdCmaWjvCyhBwMrj/8258H25ZHSQZAdjEzy
d/0e5PoQo14jrm7rZhMi+ZOuuZIraA4lTjOI4FS07sHR8hhgs0Rq92EmYAOGwk6v
Qo2Ycm41vD1o8Uo2aGiUlRtDNNWfDXqEewoQCD1NzM/xmSb9L0QQ51SVXLQ4eF1Y
hStfvvWb+bnIP6+nSzxcdK2s/TCdjNaYaTCASONCBCRJRPYo4UnII/9GoLa+LDFx
4YtfMEoyKu7oMI9yH+t6xYzYRydB/WagPLxpV+G5CK58ZkUcN+2vxlOw0SgzaNL3
/x5seVPgYDhWznmPZoZbM4jyI3e3xHIuZivI8jhGINUlc7XJd3pGZaYSa3uP3CzC
alCduWa8fk9dzYFreyULG6sQ3XZ1d+ocgRaI2u5oxy8iG4x5IzSIZLVdXPyqdXvn
4BGPHwQ2j1wdH+dhDC7pHWXmAqnIxnmvr8dX6dAZLV1fHZOjRDfPPKIXsT/L9n94
73Ffx4K5C4GT/MYyWVK+j4gF7ZTCp2V9WgN53kzrUWjX0ozZqhQ=
=qVmx
-----END PGP SIGNATURE-----

A
A
Adonay Felipe Nogueira wrote on 16 Feb 2019 20:47
Re: [GNU-linux-libre] [PATCH] gnu: Add ungoogled-chromium.
(address . guix-devel@gnu.org)
ba9ab8f7-f7c7-6757-4585-b6c1f35e3d93@hyperbola.info
Em 16/02/2019 12:18, Julie Marchant escreveu:
Toggle quote (4 lines)
> libre? The only argument I've seen on the matter is the way copyright
> works, but Chromium is under the Modified BSD License according to
> documentation I was able to find. If some files are not actually covered

For what is worth, what I learned with projects that don't follow the
Open Source Definition (I know that I shouldn't support this term here,
but I had to mention it) is that they mask their non-compliance behind a
license. Of course we don't intend to foster open source here, as this
project, having the goal to provide a package manager that is under the
GNU project, also aims to create a system distribution that follows the
GNU FSDG and uses such package manager

If the norm would be to only check the licenses, then we would have for
example, taken ages to figure out that the kernel source files from
upstream of GNU Linux-libre was/is non-free.

Having a requirement for a package to be first throughly reviewed
eliminates some of the possibility of having non-free functional data or
non-distributable non-functional data. It's not a perfect protection
(since the package in review might have implemented things from other
works that one of the reviewers might not be aware of).

As I said in a message to these mailing lists, I already started
reviewing Chromium, although this project is big and I might not have
the time nor all the skills to do it alone. Since today, I moved the
review, which was available at [1], to the appropriate Review namespace
at [2].


Attachment: signature.asc
B
B
Brett Gilio wrote on 16 Feb 2019 21:01
(name . Workgroup for fully free GNU/Linux distributions)(address . gnu-linux-libre@nongnu.org)
87lg2f5wqk.fsf@posteo.net
Adonay Felipe Nogueira writes:

Toggle quote (33 lines)
> Em 16/02/2019 12:18, Julie Marchant escreveu:
>> libre? The only argument I've seen on the matter is the way copyright
>> works, but Chromium is under the Modified BSD License according to
>> documentation I was able to find. If some files are not actually covered
>
> For what is worth, what I learned with projects that don't follow the
> Open Source Definition (I know that I shouldn't support this term here,
> but I had to mention it) is that they mask their non-compliance behind a
> license. Of course we don't intend to foster open source here, as this
> project, having the goal to provide a package manager that is under the
> GNU project, also aims to create a system distribution that follows the
> GNU FSDG and uses such package manager
>
> If the norm would be to only check the licenses, then we would have for
> example, taken ages to figure out that the kernel source files from
> upstream of GNU Linux-libre was/is non-free.
>
> Having a requirement for a package to be first throughly reviewed
> eliminates some of the possibility of having non-free functional data or
> non-distributable non-functional data. It's not a perfect protection
> (since the package in review might have implemented things from other
> works that one of the reviewers might not be aware of).
>
> As I said in a message to these mailing lists, I already started
> reviewing Chromium, although this project is big and I might not have
> the time nor all the skills to do it alone. Since today, I moved the
> review, which was available at [1], to the appropriate Review namespace
> at [2].
>
>
> [1] https://directory.fsf.org/wiki/Talk:Chromium
> [2] https://directory.fsf.org/wiki/Review:Chromium-REV-ID-1

Adonay, thank you for taking the initiative here! I think this is a
needed step forward.

Brett Gilio
B
B
Brett Gilio wrote on 16 Feb 2019 21:06
(name . Workgroup for fully free GNU/Linux distributions)(address . gnu-linux-libre@nongnu.org)
87k1hz5wh8.fsf@posteo.net
Brett Gilio writes:

Toggle quote (40 lines)
> Adonay Felipe Nogueira writes:
>
>> Em 16/02/2019 12:18, Julie Marchant escreveu:
>>> libre? The only argument I've seen on the matter is the way copyright
>>> works, but Chromium is under the Modified BSD License according to
>>> documentation I was able to find. If some files are not actually covered
>>
>> For what is worth, what I learned with projects that don't follow the
>> Open Source Definition (I know that I shouldn't support this term here,
>> but I had to mention it) is that they mask their non-compliance behind a
>> license. Of course we don't intend to foster open source here, as this
>> project, having the goal to provide a package manager that is under the
>> GNU project, also aims to create a system distribution that follows the
>> GNU FSDG and uses such package manager
>>
>> If the norm would be to only check the licenses, then we would have for
>> example, taken ages to figure out that the kernel source files from
>> upstream of GNU Linux-libre was/is non-free.
>>
>> Having a requirement for a package to be first throughly reviewed
>> eliminates some of the possibility of having non-free functional data or
>> non-distributable non-functional data. It's not a perfect protection
>> (since the package in review might have implemented things from other
>> works that one of the reviewers might not be aware of).
>>
>> As I said in a message to these mailing lists, I already started
>> reviewing Chromium, although this project is big and I might not have
>> the time nor all the skills to do it alone. Since today, I moved the
>> review, which was available at [1], to the appropriate Review namespace
>> at [2].
>>
>>
>> [1] https://directory.fsf.org/wiki/Talk:Chromium
>> [2] https://directory.fsf.org/wiki/Review:Chromium-REV-ID-1
>
> Adonay, thank you for taking the initiative here! I think this is a
> needed step forward.
>
> Brett Gilio

Also, maybe it would be of some help to involve somebody from the FSF to
be a neutral mediator on this process until we come to some reasonable
conclusion?

Marius,

I think you can probably go ahead and push that patch, knowing full well
that Bill warned a bug report will be filed against the Guix source tree
until such time that an audit concludes or Adonay's suggestion is
followed through with.

Bill,

What do you think here?

Brett Gilio
M
M
Marius Bakke wrote on 18 Feb 2019 23:43
Re: [bug#28004] [PATCH v2] gnu: Add ungoogled-chromium.
(address . guix-devel@gnu.org)(address . 28004-done@debbugs.gnu.org)
87k1hwogyt.fsf@fastmail.com
Marius Bakke <mbakke@fastmail.com> writes:

Toggle quote (7 lines)
> Changes in this version:
>
> * New upstream release.
> * No longer using a fork of Ungoogled-Chromium.
> * The special HarfBuzz and libvpx variants have been removed due to
> obsolesence.

I've pushed this patch now, with minor cosmetic improvements:


Thanks to everyone who participated!
-----BEGIN PGP SIGNATURE-----

iQEzBAEBCgAdFiEEu7At3yzq9qgNHeZDoqBt8qM6VPoFAlxrNRoACgkQoqBt8qM6
VPrmXAgAhZ6uZQJu8PPzCqj/vDYtT3aJla3ueKdhoEI0XNXq7AeYFQbifsCCgBbm
k32BnER4pepJpzgo0FHs0fR7teeQFQtfd2oCV4rDM77jy1x8jaG8wInqbib3VYhi
BbkP7wvL1PFwV7+ZMQKNPh0GdiwW+aQ88rJ30SNRA+gq+2MzxFXxm13vRk4pwxuv
Pq0psEVmv8KqEz02bwia3xMFzv9QJWg6Wjy3z2afAb1l0HbvZi+2rj6fPo4vU4NB
DbZeroMWyn7s6idL6qq+oVs7zRgA3M5PVM3niLtzPFNuHt4X2ZSNeJDMlrNcx2Y+
njyDSnVtMj5FnNnwWQk3phcLSGw3PA==
=mStS
-----END PGP SIGNATURE-----

Closed
?
Your comment

This issue is archived.

To comment on this conversation send an email to 28004@debbugs.gnu.org

To respond to this issue using the mumi CLI, first switch to it
mumi current 28004
Then, you may apply the latest patchset in this issue (with sign off)
mumi am -- -s
Or, compose a reply to this issue
mumi compose
Or, send patches to this issue
mumi send-email *.patch