Gentoo Archives: gentoo-commits

From: Mike Gilbert <floppym@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: www-client/chromium/, www-client/chromium/files/
Date: Mon, 26 Sep 2016 01:13:37
Message-Id: 1474852243.866c9234b87d1cf0e5e8794fa3aa9fc31d332711.floppym@gentoo
1 commit: 866c9234b87d1cf0e5e8794fa3aa9fc31d332711
2 Author: Mike Gilbert <floppym <AT> gentoo <DOT> org>
3 AuthorDate: Mon Sep 26 01:10:43 2016 +0000
4 Commit: Mike Gilbert <floppym <AT> gentoo <DOT> org>
5 CommitDate: Mon Sep 26 01:10:43 2016 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=866c9234
7
8 www-client/chromium: dev channel bump (55.0.2868.3)
9
10 Package-Manager: portage-2.3.1_p4_p152503
11
12 www-client/chromium/Manifest | 2 +-
13 ...0.2853.0.ebuild => chromium-55.0.2868.3.ebuild} | 26 +++++++++++-----------
14 www-client/chromium/files/chromium-gn-r6.patch | 13 +++++++++++
15 .../chromium/files/chromium-system-zlib-r1.patch | 9 ++++++++
16 4 files changed, 36 insertions(+), 14 deletions(-)
17
18 diff --git a/www-client/chromium/Manifest b/www-client/chromium/Manifest
19 index 6638750..00f8bc3 100644
20 --- a/www-client/chromium/Manifest
21 +++ b/www-client/chromium/Manifest
22 @@ -1,5 +1,5 @@
23 DIST chromium-53.0.2785.116.tar.xz 460903264 SHA256 7a87629504346f64122ca7754574d187a4c1bf5736dea672ff3e247a0af16062 SHA512 3a88b5b61642c4b947ae9cd9faa6d9d75fecfd6058982e705d36f1da2e94b902fb6d0af5289e00bbd0e5e7d096d5f5a788132c6e4374978620d6f7a1e2fb00da WHIRLPOOL fa067c68b217d494e16dfc78d63482a31006234ebae1c686426f011afde41a58d6939e3c5ee3a340ee099d5d88016f425b97e9f68957bb60d9b846d471702ac3
24 DIST chromium-54.0.2840.27.tar.xz 479647448 SHA256 75e195afbb9f0c3e69b637ef4fa34ba7e5b3e62e871ba1b60638d9e9c5eee088 SHA512 3ba86ec5418aa0d338e8cfd935e8e6664679721ee208dd560d00ff011610094bed03ed0d76e1bc478d6bb92db5074e71f3e4bbeb1a41bb0ae21927b4dd74865c WHIRLPOOL 383de90421b1d23eee7bc7030e9e9bfeeeccf2639681b5219a3b3d865ef1568a65d8fae41a0864ddbe7c7980cd90df11a5d2bb8e93f705f906ec8a742b158fa6
25 DIST chromium-54.0.2840.34.tar.xz 479636320 SHA256 b46c26a9e773b2c620acd2f96d69408f14a279aefaedfefed002ecf898a1ecf2 SHA512 23732e02ed30eaf36a4a4ee7bbb1af72c4202e061444004b515f0c49a578907719de3588f6d1e8dbb756cffa0220b677c920dc2f5ad6e8ec70a82168c094c99d WHIRLPOOL 822b41231a41aaeb8fc45ddc927c731535640a844ad25256a3f3daa86916c7cd9a5b79b30324c22efff03ef16a033b77d93df24f1ebf64df9373f77a8669fb41
26 -DIST chromium-55.0.2853.0.tar.xz 501960780 SHA256 f6cff02888c5a781f29ece91df38c874a2245f3e12495cbdb49c141db211835a SHA512 4963f9aa3b965845c518b6565f8b1494ef59ec090c3d9b559cb01ddbb883dbc421d72dac6f6a652fea484821096a0ce2ccc4370818a74803d29aebdfbf956efd WHIRLPOOL 0b8469540a0a952483629ee87f90368d4597fbb82ba532edc1b6d7f5670e3155bb822b5f30a1764d9c547ac71260ee0cb44328c9d6320b2ab331f1661dd948c6
27 DIST chromium-55.0.2859.0.tar.xz 501623820 SHA256 43c343096377195500b31ff97979883a2e6d34e30f3f76e7d6af45679696aa38 SHA512 11bee1761c4e27576ada7e6aae65a021001f1873091acc4f8f8c38e97fbd2fc303ce37788a166736008dba761c7dcbd105f0be9df1b0513dc5ff67af24a8188f WHIRLPOOL efcb483c81175a942cfcc5edcbcf335b63e06de233ad731d60a85201b76123d23ab23930a926a4929958ef02ae935a9bd0ef625fce665831acc98047724e9488
28 +DIST chromium-55.0.2868.3.tar.xz 505338268 SHA256 bec801332cdfb784d06a08da3936f5b9719e5b6a3bbaee88c3829651799077d1 SHA512 918c53f7380f889450b0e97e085f8d28af0ef4c25a5dd7b1ae0b2467ccc564747915c64d3bc6f64d31798ea4ef76f7a5cd7f64c06830ed9775756a495d9bb319 WHIRLPOOL df1fc03ebbc0ce4697e5aae6199c970d55b3cfdf78a00e18e47206dfc4f1995b3bae34216ea1d1023f7619febc87e9bfe738d015cee24123be386d6d41bec572
29
30 diff --git a/www-client/chromium/chromium-55.0.2853.0.ebuild b/www-client/chromium/chromium-55.0.2868.3.ebuild
31 similarity index 97%
32 rename from www-client/chromium/chromium-55.0.2853.0.ebuild
33 rename to www-client/chromium/chromium-55.0.2868.3.ebuild
34 index e025a39..d8eaa0b 100644
35 --- a/www-client/chromium/chromium-55.0.2853.0.ebuild
36 +++ b/www-client/chromium/chromium-55.0.2868.3.ebuild
37 @@ -34,6 +34,7 @@ COMMON_DEPEND="
38 >=dev-libs/elfutils-0.149
39 dev-libs/expat:=
40 dev-libs/glib:=
41 + dev-libs/icu:=
42 >=dev-libs/jsoncpp-0.5.0-r1:=
43 dev-libs/nspr:=
44 >=dev-libs/nss-3.14.3:=
45 @@ -73,7 +74,6 @@ COMMON_DEPEND="
46 x11-libs/libXtst:=
47 x11-libs/pango:=
48 app-arch/snappy:=
49 - >=dev-libs/libevent-1.4.13:=
50 dev-libs/libxml2:=[icu]
51 dev-libs/libxslt:=
52 media-libs/flac:=
53 @@ -83,6 +83,7 @@ COMMON_DEPEND="
54 kerberos? ( virtual/krb5 )
55 !gn? (
56 >=app-accessibility/speech-dispatcher-0.8:=
57 + >=dev-libs/libevent-1.4.13:=
58 )
59 "
60 # For nvidia-drivers blocker, see bug #413637 .
61 @@ -164,7 +165,9 @@ PATCHES=(
62 "${FILESDIR}/${PN}-system-ffmpeg-r4.patch"
63 "${FILESDIR}/${PN}-system-jinja-r14.patch"
64 "${FILESDIR}/${PN}-widevine-r1.patch"
65 - "${FILESDIR}/chromium-54-ffmpeg2compat.patch"
66 + "${FILESDIR}/${PN}-54-ffmpeg2compat.patch"
67 + "${FILESDIR}/${PN}-gn-r6.patch"
68 + "${FILESDIR}/${PN}-system-zlib-r1.patch"
69 )
70
71 pkg_pretend() {
72 @@ -234,7 +237,6 @@ src_prepare() {
73 third_party/cld_2
74 third_party/cld_3
75 third_party/cros_system_api
76 - third_party/cython/python_flags.py
77 third_party/devscripts
78 third_party/dom_distiller_js
79 third_party/fips181
80 @@ -245,7 +247,6 @@ src_prepare() {
81 third_party/google_input_tools/third_party/closure_library/third_party/closure
82 third_party/hunspell
83 third_party/iccjpeg
84 - third_party/icu
85 third_party/jstemplate
86 third_party/khronos
87 third_party/leveldatabase
88 @@ -339,7 +340,6 @@ src_configure() {
89
90 # Use system-provided libraries.
91 # TODO: use_system_hunspell (upstream changes needed).
92 - # TODO: use_system_icu (bug #576370).
93 # TODO: use_system_libsrtp (bug #459932).
94 # TODO: use_system_libusb (http://crbug.com/266149).
95 # TODO: use_system_opus (https://code.google.com/p/webrtc/issues/detail?id=3077).
96 @@ -365,10 +365,11 @@ src_configure() {
97 -Duse_system_xdg_utils=1
98 -Duse_system_zlib=1"
99
100 + # libevent: https://bugs.gentoo.org/593458
101 local gn_system_libraries="
102 flac
103 harfbuzz-ng
104 - libevent
105 + icu
106 libjpeg
107 libpng
108 libvpx
109 @@ -384,9 +385,6 @@ src_configure() {
110 fi
111 build/linux/unbundle/replace_gn_files.py --system-libraries ${gn_system_libraries} || die
112
113 - # Needed for system icu - we don't need additional data files.
114 - # myconf_gyp+=" -Dicu_use_data_file_flag=0"
115 -
116 # TODO: patch gyp so that this arm conditional is not needed.
117 if ! use arm; then
118 myconf_gyp+="
119 @@ -451,11 +449,12 @@ src_configure() {
120 -Dlinux_use_gold_flags=0
121 -Dsysroot="
122 # Trying to use gold results in linker crash.
123 - myconf_gn+=" use_gold=false use_sysroot=false"
124 + myconf_gn+=" use_gold=false use_sysroot=false linux_use_bundled_binutils=false"
125
126 ffmpeg_branding="$(usex proprietary-codecs Chrome Chromium)"
127 myconf_gyp+=" -Dproprietary_codecs=1 -Dffmpeg_branding=${ffmpeg_branding}"
128 - myconf_gn+=" proprietary_codecs=true ffmpeg_branding=\"${ffmpeg_branding}\""
129 + myconf_gn+=" proprietary_codecs=$(usex proprietary-codecs true false)"
130 + myconf_gn+=" ffmpeg_branding=\"${ffmpeg_branding}\""
131
132 # Set up Google API keys, see http://www.chromium.org/developers/how-tos/api-keys .
133 # Note: these are for Gentoo use ONLY. For your own distribution,
134 @@ -536,6 +535,9 @@ src_configure() {
135 # Make sure the build system will use the right tools, bug #340795.
136 tc-export AR CC CXX NM
137
138 + # Define a custom toolchain for GN
139 + myconf_gn+=" custom_toolchain=\"${FILESDIR}/toolchain:default\""
140 +
141 # Tools for building programs to be executed on the build system, bug #410883.
142 if tc-is-cross-compiler; then
143 export AR_host=$(tc-getBUILD_AR)
144 @@ -666,8 +668,6 @@ src_install() {
145 doins out/Release/*.bin || die
146 doins out/Release/*.pak || die
147
148 - doins out/Release/icudtl.dat || die
149 -
150 doins -r out/Release/locales || die
151 doins -r out/Release/resources || die
152
153
154 diff --git a/www-client/chromium/files/chromium-gn-r6.patch b/www-client/chromium/files/chromium-gn-r6.patch
155 new file mode 100644
156 index 00000000..0273f4e
157 --- /dev/null
158 +++ b/www-client/chromium/files/chromium-gn-r6.patch
159 @@ -0,0 +1,13 @@
160 +Index: tools/gn/bootstrap/bootstrap.py
161 +diff --git a/tools/gn/bootstrap/bootstrap.py b/tools/gn/bootstrap/bootstrap.py
162 +index b07fd0a8eaf139e4d09e1641ce265353a3cd3ee5..e8304549335350915380731713643cd57ec70407 100755
163 +--- a/tools/gn/bootstrap/bootstrap.py
164 ++++ b/tools/gn/bootstrap/bootstrap.py
165 +@@ -397,7 +397,6 @@ def write_gn_ninja(path, root_gen_dir, options):
166 + 'base/location.cc',
167 + 'base/logging.cc',
168 + 'base/md5.cc',
169 +- 'base/memory/ref_counted.cc',
170 + 'base/memory/ref_counted_memory.cc',
171 + 'base/memory/singleton.cc',
172 + 'base/memory/weak_ptr.cc',
173
174 diff --git a/www-client/chromium/files/chromium-system-zlib-r1.patch b/www-client/chromium/files/chromium-system-zlib-r1.patch
175 new file mode 100644
176 index 00000000..c6a6c40
177 --- /dev/null
178 +++ b/www-client/chromium/files/chromium-system-zlib-r1.patch
179 @@ -0,0 +1,9 @@
180 +--- a/extensions/browser/api/cast_channel/BUILD.gn.orig 2016-09-23 21:35:47.685867065 +0000
181 ++++ b/extensions/browser/api/cast_channel/BUILD.gn 2016-09-23 21:36:29.986723126 +0000
182 +@@ -27,5 +27,6 @@
183 + deps = [
184 + "//extensions/common/api",
185 + "//extensions/common/api/cast_channel:cast_channel_proto",
186 ++ "//third_party/zlib",
187 + ]
188 + }