git.iko.soy/typeable/nixpkgs
on master help sign in
chromium: Update all channels to latest versions.

Overview of the updated versions: stable: 43.0.2357.124 -> 43.0.2357.125 beta: 44.0.2403.39 -> 44.0.2403.52 [1] dev: 45.0.2421.0 -> 45.0.2431.0 [2] [1] Beta channel fixes: I had to fetch a patch from a newer revision of Blink (r195908), see https://codereview.chromium.org/1157943002/ for more information about the patch. Here is the failing build log: https://headcounter.org/hydra/build/704037/nixlog/2 Another fix for Blink, was needed in order to get it to build, see: https://codereview.chromium.org/1156113007/ Also I needed to revert https://codereview.chromium.org/1150543002/ using another patch, because the build won't succeed and bail out with WEBRTC_VIDEO_CODEC_FALLBACK_SOFTWARE not being found (it's only used once in the source, but isn't defined anywhere). Here are the trybot results: https://chromium-cq-status.appspot.com/patch-status/1150543002/20001 [2] Dev channel fixes: The "ffmpegsumo" shared library is now no longer built, because it is now statically linked against Chromium, for details see: https://codereview.chromium.org/1141703002 All channels built and tested on my Hydra at: https://headcounter.org/hydra/eval/178458 Test reports: x86: https://headcounter.org/hydra/build/704908/download/1/log.html x86_64: https://headcounter.org/hydra/build/704914/download/1/log.html Signed-off-by: aszlig <aszlig@redmoonstudios.org>

commitc290595e5b60822d342c5e6354da4dac35a87c5a authoraszlig <aszlig@redmoonstudios.org> dateFri 19 Jun 2015, 04:34 (11 years ago) parentd2df553
3 files changed+50−19
pkgs/applications/networking/browsers/chromium/browser.nix+3−1 pkgs/applications/networking/browsers/chromium/source/default.nix+35−6 pkgs/applications/networking/browsers/chromium/source/sources.nix+12−12
pkgs/applications/networking/browsers/chromium/browser.nix+3−1
@@ -12,7 +12,9 @@ mkChromiumDerivation (base: rec {
1212 cp -v "$buildPath/"*.pak "$buildPath/"*.bin "$libExecPath/"
1313 cp -v "$buildPath/icudtl.dat" "$libExecPath/"
1414 cp -vLR "$buildPath/locales" "$buildPath/resources" "$libExecPath/"
15− cp -v "$buildPath/libffmpegsumo.so" "$libExecPath/"
15+ ${optionalString (versionOlder base.version "45.0.0.0") ''
16+ cp -v "$buildPath/libffmpegsumo.so" "$libExecPath/"
17+ ''}
1618 ${optionalString (versionOlder base.version "42.0.0.0") ''
1719 cp -v "$buildPath/libpdf.so" "$libExecPath/"
1820 ''}
pkgs/applications/networking/browsers/chromium/source/default.nix+35−6
@@ -1,4 +1,4 @@
1−{ stdenv, fetchurl, python
1+{ stdenv, fetchurl, fetchpatch, patchutils, python
22, channel ? "stable"
33, useOpenSSL # XXX
44}:
@@ -19,6 +19,7 @@ let
1919 ]);
2020
2121 pre44 = versionOlder version "44.0.0.0";
22+ is44 = versionOlder version "45.0.0.0" && !pre44;
2223
2324in stdenv.mkDerivation {
2425 name = "chromium-source-${version}";
@@ -47,11 +48,39 @@ in stdenv.mkDerivation {
4748 done
4849 '';
4950
50− patches = if pre44 then [
51− ./nix_plugin_paths_42.patch
52− ] else [
53− ./nix_plugin_paths_44.patch
54− ];
51+ patches = let
52+ baseURL = "https://codereview.chromium.org/download";
53+
54+ mkBlinkFix = issue: sha256: fetchpatch {
55+ url = "${baseURL}/issue${issue}.diff";
56+ inherit sha256;
57+ postFetch = ''
58+ sed -i -e 's,^\(---\|+++\) *[ab]/,&third_party/WebKit/,' "$out"
59+ '';
60+ };
61+
62+ fixes44 = [
63+ # WebPluginContainer::setNeedsLayout
64+ # https://codereview.chromium.org/1157943002/
65+ (mkBlinkFix "1157943002_20001"
66+ "0932yd15zlh2g5a5bbm6qrnfvv22jlfdg8pj0w9z58m5zdzw1p82")
67+ # WebRuntimeFeatures::enablePermissionsAPI
68+ # https://codereview.chromium.org/1156113007/
69+ (mkBlinkFix "1156113007_1"
70+ "1v76brrgdziv1q62ba4bimg0my2dmnkyl68b21nv2vw661v0hzwh")
71+ # Revert of https://codereview.chromium.org/1150543002/
72+ (fetchpatch {
73+ url = "${baseURL}/issue1150543002_1.diff";
74+ sha256 = "0x9sya0m1zcb2vcp2vfss88qqdrh6bzcbx2ngfiql7rkbynnpqn6";
75+ postFetch = ''
76+ ${patchutils}/bin/interdiff "$out" /dev/null > reversed.patch
77+ mv reversed.patch "$out"
78+ '';
79+ })
80+ ];
81+ pluginPaths = if pre44 then singleton ./nix_plugin_paths_42.patch
82+ else singleton ./nix_plugin_paths_44.patch;
83+ in pluginPaths ++ optionals is44 fixes44;
5584
5685 patchPhase = let
5786 diffmod = sym: "/^${sym} /{s/^${sym} //;${transform ""};s/^/${sym} /}";
pkgs/applications/networking/browsers/chromium/source/sources.nix+12−12
@@ -1,21 +1,21 @@
11# This file is autogenerated from update.sh in the parent directory.
22{
33 dev = {
4− version = "45.0.2421.0";
5− sha256 = "1qc80y0mhwnvxrvpc3csskgb536wq34c0fgk19h1qb4xc62lxhsk";
6− sha256bin32 = "1xqhyrlmh00md6i1q4wr0xihqbvcpshzscnjclrn53dlw5zs2s89";
7− sha256bin64 = "0akdhwwdfcbqfh65a82zigbhsi8sbhhw6904cjprb3bmv4l3c598";
4+ version = "45.0.2431.0";
5+ sha256 = "0irlrym8r1wa6zb5bg4paxy3h5fg300k5c9vkj3xmhdp567clfja";
6+ sha256bin32 = "1lfrd7x7cav5mr7pg0a3d4a9dyy6f0rklarprfrcvqwipjkddb3f";
7+ sha256bin64 = "1jzmkgiqn17ynbv0xljiifvlj1136jq98zrkd4hdmkgv8xrrzd74";
88 };
99 beta = {
10− version = "44.0.2403.39";
11− sha256 = "15c4adg0r9ym3pxya7vv4d148gv2pdwaaymxvvw511fjwffdv71n";
12− sha256bin32 = "1gaypkah10y31gb5f7vnyv0v73z5zjznmsp6vh2m4hfajx7s55jn";
13− sha256bin64 = "1j1ma6asl3ibjv3apyw24vhyi1qy64f586w8jizqzp4h962gj95c";
10+ version = "44.0.2403.52";
11+ sha256 = "0zgcqbxm2slxpj6i50w7r3xxql1k6kgd51qn8w8gwfzhmad4zxyx";
12+ sha256bin32 = "1kfgl2l7j5fhj6wg4i3bsany2rlwspprypdy0z7k3pqiwwyiw658";
13+ sha256bin64 = "1sabqqh1hii7appmx6xwabnapf4cv7smsy31nvz063fa5p6h21m8";
1414 };
1515 stable = {
16− version = "43.0.2357.124";
17− sha256 = "09m8bb5f17mx6cd3h5irslw07h2s0drda35v17vcr7qfhk8jdh92";
18− sha256bin32 = "15n2fla1ixrqzi0in0vyl8n5wkv20fpd96lff65rwr9diylz287p";
19− sha256bin64 = "0x6igpcf29zmwqgphvy9nm527k9g7na2cvgc5nimw4fs5dakzzjr";
16+ version = "43.0.2357.125";
17+ sha256 = "01alba50zrc50bn4p3f298khk8fam2rv5wyysz7rq3zrjg8785xg";
18+ sha256bin32 = "0527bdlf4nd4b1ydmwn6rnxy377388qb98v9anicfd4bc2p9jjml";
19+ sha256bin64 = "0yhgcjaxcpgk32l1sjrgkq447ywcj156a7372v87m22dcwl8fi01";
2020 };
2121}