1 |
commit: dd8f2882a3498d340046a91f8111307ca964e63c |
2 |
Author: Mike Gilbert <floppym <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sun Dec 4 22:42:39 2016 +0000 |
4 |
Commit: Mike Gilbert <floppym <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Dec 4 22:43:05 2016 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=dd8f2882 |
7 |
|
8 |
www-client/chromium: remove unused files |
9 |
|
10 |
Package-Manager: portage-2.3.2_p13 |
11 |
|
12 |
www-client/chromium/files/chromium-gn-r8.patch | 24 --------- |
13 |
www-client/chromium/files/chromium-gn-r9.patch | 12 ----- |
14 |
www-client/chromium/files/chromium-launcher-r2.sh | 32 ------------ |
15 |
.../chromium/files/chromium-system-ffmpeg-r3.patch | 48 ------------------ |
16 |
.../chromium/files/chromium-system-jinja-r13.patch | 59 ---------------------- |
17 |
www-client/chromium/files/dot-gclient | 6 --- |
18 |
6 files changed, 181 deletions(-) |
19 |
|
20 |
diff --git a/www-client/chromium/files/chromium-gn-r8.patch b/www-client/chromium/files/chromium-gn-r8.patch |
21 |
deleted file mode 100644 |
22 |
index acbe500..00000000 |
23 |
--- a/www-client/chromium/files/chromium-gn-r8.patch |
24 |
+++ /dev/null |
25 |
@@ -1,24 +0,0 @@ |
26 |
-From 034d808c4d4042cf9944450bc45efc23aa868fdd Mon Sep 17 00:00:00 2001 |
27 |
-From: Mike Gilbert <floppymaster@×××××.com> |
28 |
-Date: Mon, 24 Oct 2016 10:43:11 -0400 |
29 |
-Subject: [PATCH] gn: fix bootstrap script |
30 |
- |
31 |
---- |
32 |
- tools/gn/bootstrap/bootstrap.py | 1 - |
33 |
- 1 file changed, 1 deletion(-) |
34 |
- |
35 |
-diff --git a/tools/gn/bootstrap/bootstrap.py b/tools/gn/bootstrap/bootstrap.py |
36 |
-index d66da12..6059741 100755 |
37 |
---- a/tools/gn/bootstrap/bootstrap.py |
38 |
-+++ b/tools/gn/bootstrap/bootstrap.py |
39 |
-@@ -450,7 +450,6 @@ def write_gn_ninja(path, root_gen_dir, options): |
40 |
- 'base/task_scheduler/post_task.cc', |
41 |
- 'base/task_scheduler/priority_queue.cc', |
42 |
- 'base/task_scheduler/scheduler_lock_impl.cc', |
43 |
-- 'base/task_scheduler/scheduler_service_thread.cc', |
44 |
- 'base/task_scheduler/scheduler_worker.cc', |
45 |
- 'base/task_scheduler/scheduler_worker_pool_impl.cc', |
46 |
- 'base/task_scheduler/scheduler_worker_stack.cc', |
47 |
--- |
48 |
-2.10.1 |
49 |
- |
50 |
|
51 |
diff --git a/www-client/chromium/files/chromium-gn-r9.patch b/www-client/chromium/files/chromium-gn-r9.patch |
52 |
deleted file mode 100644 |
53 |
index dde262d..00000000 |
54 |
--- a/www-client/chromium/files/chromium-gn-r9.patch |
55 |
+++ /dev/null |
56 |
@@ -1,12 +0,0 @@ |
57 |
-diff --git a/tools/gn/bootstrap/bootstrap.py b/tools/gn/bootstrap/bootstrap.py |
58 |
-index 6059741..78e508d 100755 |
59 |
---- a/tools/gn/bootstrap/bootstrap.py |
60 |
-+++ b/tools/gn/bootstrap/bootstrap.py |
61 |
-@@ -532,6 +532,7 @@ def write_gn_ninja(path, root_gen_dir, options): |
62 |
- 'base/synchronization/read_write_lock_posix.cc', |
63 |
- 'base/synchronization/waitable_event_posix.cc', |
64 |
- 'base/sys_info_posix.cc', |
65 |
-+ 'base/task_scheduler/task_tracker_posix.cc', |
66 |
- 'base/threading/platform_thread_internal_posix.cc', |
67 |
- 'base/threading/platform_thread_posix.cc', |
68 |
- 'base/threading/thread_local_storage_posix.cc', |
69 |
|
70 |
diff --git a/www-client/chromium/files/chromium-launcher-r2.sh b/www-client/chromium/files/chromium-launcher-r2.sh |
71 |
deleted file mode 100644 |
72 |
index e20bcea..00000000 |
73 |
--- a/www-client/chromium/files/chromium-launcher-r2.sh |
74 |
+++ /dev/null |
75 |
@@ -1,32 +0,0 @@ |
76 |
-#!/bin/bash |
77 |
- |
78 |
-# Allow the user to override command-line flags, bug #357629. |
79 |
-# This is based on Debian's chromium-browser package, and is intended |
80 |
-# to be consistent with Debian. |
81 |
-if [ -f /etc/chromium/default ] ; then |
82 |
- . /etc/chromium/default |
83 |
-fi |
84 |
- |
85 |
-# Prefer user defined CHROMIUM_USER_FLAGS (from env) over system |
86 |
-# default CHROMIUM_FLAGS (from /etc/chromium/default). |
87 |
-CHROMIUM_FLAGS=${CHROMIUM_USER_FLAGS:-"$CHROMIUM_FLAGS"} |
88 |
- |
89 |
-# Let the wrapped binary know that it has been run through the wrapper |
90 |
-export CHROME_WRAPPER="`readlink -f "$0"`" |
91 |
- |
92 |
-PROGDIR="`dirname "$CHROME_WRAPPER"`" |
93 |
- |
94 |
-case ":$PATH:" in |
95 |
- *:$PROGDIR:*) |
96 |
- # $PATH already contains $PROGDIR |
97 |
- ;; |
98 |
- *) |
99 |
- # Append $PROGDIR to $PATH |
100 |
- export PATH="$PATH:$PROGDIR" |
101 |
- ;; |
102 |
-esac |
103 |
- |
104 |
-# Set the .desktop file name |
105 |
-export CHROME_DESKTOP="chromium-browser-chromium.desktop" |
106 |
- |
107 |
-exec -a "chromium-browser" "$PROGDIR/chrome" --extra-plugin-dir=/usr/lib/nsbrowser/plugins ${CHROMIUM_FLAGS} "$@" |
108 |
|
109 |
diff --git a/www-client/chromium/files/chromium-system-ffmpeg-r3.patch b/www-client/chromium/files/chromium-system-ffmpeg-r3.patch |
110 |
deleted file mode 100644 |
111 |
index 023dd26..00000000 |
112 |
--- a/www-client/chromium/files/chromium-system-ffmpeg-r3.patch |
113 |
+++ /dev/null |
114 |
@@ -1,48 +0,0 @@ |
115 |
---- a/media/ffmpeg/ffmpeg_common.h 2015-11-27 12:01:56.155462264 +0000 |
116 |
-+++ b/media/ffmpeg/ffmpeg_common.h 2015-11-27 12:03:03.348846300 +0000 |
117 |
-@@ -19,10 +19,6 @@ |
118 |
- |
119 |
- // Include FFmpeg header files. |
120 |
- extern "C" { |
121 |
--// Disable deprecated features which result in spammy compile warnings. This |
122 |
--// list of defines must mirror those in the 'defines' section of BUILD.gn file & |
123 |
--// ffmpeg.gyp file or the headers below will generate different structures! |
124 |
--#define FF_API_CONVERGENCE_DURATION 0 |
125 |
- // Upstream libavcodec/utils.c still uses the deprecated |
126 |
- // av_dup_packet(), causing deprecation warnings. |
127 |
- // The normal fix for such things is to disable the feature as below, |
128 |
-@@ -36,7 +32,6 @@ |
129 |
- MSVC_PUSH_DISABLE_WARNING(4244); |
130 |
- #include <libavcodec/avcodec.h> |
131 |
- #include <libavformat/avformat.h> |
132 |
--#include <libavformat/internal.h> |
133 |
- #include <libavformat/avio.h> |
134 |
- #include <libavutil/avutil.h> |
135 |
- #include <libavutil/imgutils.h> |
136 |
---- a/media/filters/ffmpeg_demuxer.cc.orig 2016-08-01 10:52:01.528177808 +0000 |
137 |
-+++ b/media/filters/ffmpeg_demuxer.cc 2016-08-01 10:52:27.160707694 +0000 |
138 |
-@@ -1150,24 +1150,6 @@ |
139 |
- // If no estimate is found, the stream entry will be kInfiniteDuration. |
140 |
- std::vector<base::TimeDelta> start_time_estimates(format_context->nb_streams, |
141 |
- kInfiniteDuration); |
142 |
-- const AVFormatInternal* internal = format_context->internal; |
143 |
-- if (internal && internal->packet_buffer && |
144 |
-- format_context->start_time != static_cast<int64_t>(AV_NOPTS_VALUE)) { |
145 |
-- struct AVPacketList* packet_buffer = internal->packet_buffer; |
146 |
-- while (packet_buffer != internal->packet_buffer_end) { |
147 |
-- DCHECK_LT(static_cast<size_t>(packet_buffer->pkt.stream_index), |
148 |
-- start_time_estimates.size()); |
149 |
-- const AVStream* stream = |
150 |
-- format_context->streams[packet_buffer->pkt.stream_index]; |
151 |
-- if (packet_buffer->pkt.pts != static_cast<int64_t>(AV_NOPTS_VALUE)) { |
152 |
-- const base::TimeDelta packet_pts = |
153 |
-- ConvertFromTimeBase(stream->time_base, packet_buffer->pkt.pts); |
154 |
-- if (packet_pts < start_time_estimates[stream->index]) |
155 |
-- start_time_estimates[stream->index] = packet_pts; |
156 |
-- } |
157 |
-- packet_buffer = packet_buffer->next; |
158 |
-- } |
159 |
-- } |
160 |
- |
161 |
- std::unique_ptr<MediaTracks> media_tracks(new MediaTracks()); |
162 |
- AVStream* audio_stream = NULL; |
163 |
|
164 |
diff --git a/www-client/chromium/files/chromium-system-jinja-r13.patch b/www-client/chromium/files/chromium-system-jinja-r13.patch |
165 |
deleted file mode 100644 |
166 |
index 845ac94..00000000 |
167 |
--- a/www-client/chromium/files/chromium-system-jinja-r13.patch |
168 |
+++ /dev/null |
169 |
@@ -1,59 +0,0 @@ |
170 |
---- a/third_party/WebKit/Source/bindings/scripts/scripts.gyp.orig 2014-08-19 09:55:10.330972228 +0000 |
171 |
-+++ b/third_party/WebKit/Source/bindings/scripts/scripts.gyp 2014-08-19 09:55:26.387286232 +0000 |
172 |
-@@ -54,7 +54,6 @@ |
173 |
- 'actions': [{ |
174 |
- 'action_name': 'cache_jinja_templates', |
175 |
- 'inputs': [ |
176 |
-- '<@(jinja_module_files)', |
177 |
- 'code_generator_v8.py', |
178 |
- '<@(code_generator_template_files)', |
179 |
- ], |
180 |
---- a/third_party/WebKit/Source/build/scripts/scripts.gypi.orig 2014-08-19 10:00:00.216521733 +0000 |
181 |
-+++ b/third_party/WebKit/Source/build/scripts/scripts.gypi 2014-08-19 10:00:11.464735099 +0000 |
182 |
-@@ -2,10 +2,6 @@ |
183 |
- { |
184 |
- 'variables': { |
185 |
- 'scripts_for_in_files': [ |
186 |
-- # jinja2/__init__.py contains version string, so sufficient as |
187 |
-- # dependency for whole jinja2 package |
188 |
-- '<(DEPTH)/third_party/jinja2/__init__.py', |
189 |
-- '<(DEPTH)/third_party/markupsafe/__init__.py', # jinja2 dep |
190 |
- 'hasher.py', |
191 |
- 'in_file.py', |
192 |
- 'in_generator.py', |
193 |
---- a/third_party/WebKit/Source/bindings/scripts/scripts.gypi.orig 2014-08-19 10:53:02.824618979 +0000 |
194 |
-+++ b/third_party/WebKit/Source/bindings/scripts/scripts.gypi 2014-08-19 10:53:20.784957370 +0000 |
195 |
-@@ -12,9 +12,6 @@ |
196 |
- '<(DEPTH)/third_party/markupsafe/__init__.py', # jinja2 dep |
197 |
- ], |
198 |
- 'idl_lexer_parser_files': [ |
199 |
-- # PLY (Python Lex-Yacc) |
200 |
-- '<(DEPTH)/third_party/ply/lex.py', |
201 |
-- '<(DEPTH)/third_party/ply/yacc.py', |
202 |
- # Web IDL lexer/parser (base parser) |
203 |
- '<(DEPTH)/tools/idl_parser/idl_lexer.py', |
204 |
- '<(DEPTH)/tools/idl_parser/idl_node.py', |
205 |
---- a/third_party/WebKit/Source/build/scripts/scripts.gni.orig 2016-06-02 09:54:28.510152077 +0000 |
206 |
-+++ b/third_party/WebKit/Source/build/scripts/scripts.gni 2016-06-02 09:54:50.966612510 +0000 |
207 |
-@@ -9,10 +9,6 @@ |
208 |
- _scripts_dir = "//third_party/WebKit/Source/build/scripts" |
209 |
- |
210 |
- scripts_for_in_files = [ |
211 |
-- # jinja2/__init__.py contains version string, so sufficient as |
212 |
-- # dependency for whole jinja2 package |
213 |
-- "//third_party/jinja2/__init__.py", |
214 |
-- "//third_party/markupsafe/__init__.py", # jinja2 dep |
215 |
- "$_scripts_dir/hasher.py", |
216 |
- "$_scripts_dir/in_file.py", |
217 |
- "$_scripts_dir/in_generator.py", |
218 |
---- a/third_party/WebKit/Source/bindings/scripts/BUILD.gn.orig 2016-06-02 10:03:01.100658943 +0000 |
219 |
-+++ b/third_party/WebKit/Source/bindings/scripts/BUILD.gn 2016-06-02 10:03:13.240907715 +0000 |
220 |
-@@ -36,7 +36,7 @@ |
221 |
- action("cached_jinja_templates") { |
222 |
- script = "code_generator_v8.py" |
223 |
- |
224 |
-- inputs = jinja_module_files + [ "code_generator_v8.py" ] + |
225 |
-+ inputs = [ "code_generator_v8.py" ] + |
226 |
- code_generator_template_files |
227 |
- |
228 |
- # Dummy file to track dependency. |
229 |
|
230 |
diff --git a/www-client/chromium/files/dot-gclient b/www-client/chromium/files/dot-gclient |
231 |
deleted file mode 100644 |
232 |
index ef19b40..00000000 |
233 |
--- a/www-client/chromium/files/dot-gclient |
234 |
+++ /dev/null |
235 |
@@ -1,6 +0,0 @@ |
236 |
-solutions = [ |
237 |
- { "name" : "src", |
238 |
- "url" : "https://src.chromium.org/svn/trunk/src", |
239 |
- "safesync_url": "https://chromium-status.appspot.com/lkgr", |
240 |
- }, |
241 |
-] |