Update to 76.0.3809.100
This commit is contained in:
parent
eea8d1dc28
commit
59fa23497a
|
@ -81,3 +81,4 @@
|
|||
/chromium-75.0.3770.80-clean.tar.xz
|
||||
/chromium-75.0.3770.90-clean.tar.xz
|
||||
/chromium-75.0.3770.100-clean.tar.xz
|
||||
/chromium-76.0.3809.100-clean.tar.xz
|
||||
|
|
|
@ -1,15 +0,0 @@
|
|||
diff -up chromium-48.0.2564.116/device/usb/usb_context.cc.modern-libusbx chromium-48.0.2564.116/device/usb/usb_context.cc
|
||||
--- chromium-48.0.2564.116/device/usb/usb_context.cc.modern-libusbx 2016-02-24 10:21:10.534996028 -0500
|
||||
+++ chromium-48.0.2564.116/device/usb/usb_context.cc 2016-02-24 10:22:28.270499864 -0500
|
||||
@@ -57,7 +57,11 @@ void UsbContext::UsbEventHandler::Run()
|
||||
|
||||
void UsbContext::UsbEventHandler::Stop() {
|
||||
base::subtle::Release_Store(&running_, 0);
|
||||
+#ifdef LIBUSB_API_VERSION >= 0x01000105
|
||||
+ libusb_interrupt_event_handler(context_);
|
||||
+#else
|
||||
libusb_interrupt_handle_event(context_);
|
||||
+#endif
|
||||
}
|
||||
|
||||
UsbContext::UsbContext(PlatformUsbContext context) : context_(context) {
|
|
@ -1,29 +0,0 @@
|
|||
diff -up chromium-52.0.2743.82/printing/backend/print_backend_cups.cc.cups22 chromium-52.0.2743.82/printing/backend/print_backend_cups.cc
|
||||
--- chromium-52.0.2743.82/printing/backend/print_backend_cups.cc.cups22 2016-07-22 09:20:15.794340886 -0400
|
||||
+++ chromium-52.0.2743.82/printing/backend/print_backend_cups.cc 2016-07-22 09:20:26.338261197 -0400
|
||||
@@ -16,6 +16,7 @@
|
||||
#include "base/synchronization/lock.h"
|
||||
#include "base/values.h"
|
||||
#include "printing/backend/cups_helper.h"
|
||||
+#include <cups/ppd.h>
|
||||
#include "printing/backend/print_backend_consts.h"
|
||||
#include "url/gurl.h"
|
||||
|
||||
diff -up chromium-52.0.2743.82/printing/BUILD.gn.cups22 chromium-52.0.2743.82/printing/BUILD.gn
|
||||
--- chromium-52.0.2743.82/printing/BUILD.gn.cups22 2016-07-21 11:27:05.597507544 -0400
|
||||
+++ chromium-52.0.2743.82/printing/BUILD.gn 2016-07-21 14:36:45.574137758 -0400
|
||||
@@ -147,12 +147,13 @@ component("printing") {
|
||||
],
|
||||
"trim string")
|
||||
|
||||
- if (cups_version == "1.6" || cups_version == "1.7") {
|
||||
+ if (cups_version == "1.6" || cups_version == "1.7" || cups_version == "2.2") {
|
||||
cflags += [
|
||||
# CUPS 1.6 deprecated the PPD APIs, but we will stay with this
|
||||
# API for now as supported Linux and Mac OS'es are still using
|
||||
# older versions of CUPS. More info: crbug.com/226176
|
||||
"-Wno-deprecated-declarations",
|
||||
+ "-D_PPD_DEPRECATED=",
|
||||
# CUPS 1.7 deprecates httpConnectEncrypt(), see the mac section
|
||||
# below.
|
||||
]
|
|
@ -1,272 +0,0 @@
|
|||
diff -up chromium-66.0.3359.117/third_party/blink/tools/blinkpy/common/__init__.py.missing chromium-66.0.3359.117/third_party/blink/tools/blinkpy/common/__init__.py
|
||||
--- chromium-66.0.3359.117/third_party/blink/tools/blinkpy/common/__init__.py.missing 2018-04-19 09:51:46.165723235 -0400
|
||||
+++ chromium-66.0.3359.117/third_party/blink/tools/blinkpy/common/__init__.py 2018-04-19 09:51:46.171723115 -0400
|
||||
@@ -0,0 +1,3 @@
|
||||
+# Copyright 2017 The Chromium Authors. All rights reserved.
|
||||
+# Use of this source code is governed by a BSD-style license that can be
|
||||
+# found in the LICENSE file.
|
||||
diff -up chromium-66.0.3359.117/third_party/blink/tools/blinkpy/common/name_style_converter.py.missing chromium-66.0.3359.117/third_party/blink/tools/blinkpy/common/name_style_converter.py
|
||||
--- chromium-66.0.3359.117/third_party/blink/tools/blinkpy/common/name_style_converter.py.missing 2018-04-19 09:51:46.171723115 -0400
|
||||
+++ chromium-66.0.3359.117/third_party/blink/tools/blinkpy/common/name_style_converter.py 2018-04-19 09:51:46.172723095 -0400
|
||||
@@ -0,0 +1,110 @@
|
||||
+# Copyright 2017 The Chromium Authors. All rights reserved.
|
||||
+# Use of this source code is governed by a BSD-style license that can be
|
||||
+# found in the LICENSE file.
|
||||
+# pylint: disable=import-error,print-statement,relative-import
|
||||
+import re
|
||||
+SPECIAL_TOKENS = [
|
||||
+ # This list should be sorted by length.
|
||||
+ 'CString',
|
||||
+ 'Float32',
|
||||
+ 'Float64',
|
||||
+ 'Base64',
|
||||
+ 'IFrame',
|
||||
+ 'Latin1',
|
||||
+ 'PlugIn',
|
||||
+ 'SQLite',
|
||||
+ 'Uint16',
|
||||
+ 'Uint32',
|
||||
+ 'WebGL2',
|
||||
+ 'ASCII',
|
||||
+ 'CType',
|
||||
+ 'DList',
|
||||
+ 'Int16',
|
||||
+ 'Int32',
|
||||
+ 'MPath',
|
||||
+ 'OList',
|
||||
+ 'TSpan',
|
||||
+ 'UList',
|
||||
+ 'UTF16',
|
||||
+ 'Uint8',
|
||||
+ 'WebGL',
|
||||
+ 'XPath',
|
||||
+ 'ETC1',
|
||||
+ 'HTML',
|
||||
+ 'Int8',
|
||||
+ 'S3TC',
|
||||
+ 'SPv2',
|
||||
+ 'UTF8',
|
||||
+ 'API',
|
||||
+ 'CSS',
|
||||
+ 'DOM',
|
||||
+ 'EXT',
|
||||
+ 'RTC',
|
||||
+ 'SVG',
|
||||
+ '2D',
|
||||
+ 'AX',
|
||||
+ 'V0',
|
||||
+ 'V8',
|
||||
+]
|
||||
+MATCHING_EXPRESSION = '((?:[A-Z][a-z]+)|[0-9]D?$)'
|
||||
+class SmartTokenizer(object):
|
||||
+ """Detects special cases that are not easily discernible without additional
|
||||
+ knowledge, such as recognizing that in SVGSVGElement, the first two SVGs
|
||||
+ are separate tokens, but WebGL is one token."""
|
||||
+ def __init__(self, name):
|
||||
+ self.remaining = name
|
||||
+ def tokenize(self):
|
||||
+ name = self.remaining
|
||||
+ tokens = []
|
||||
+ while len(name) > 0:
|
||||
+ matched_token = None
|
||||
+ for token in SPECIAL_TOKENS:
|
||||
+ if name.startswith(token):
|
||||
+ matched_token = token
|
||||
+ break
|
||||
+ if not matched_token:
|
||||
+ match = re.search(MATCHING_EXPRESSION, name)
|
||||
+ if not match:
|
||||
+ matched_token = name
|
||||
+ elif match.start(0) != 0:
|
||||
+ matched_token = name[:match.start(0)]
|
||||
+ else:
|
||||
+ matched_token = match.group(0)
|
||||
+ tokens.append(name[:len(matched_token)])
|
||||
+ name = name[len(matched_token):]
|
||||
+ return tokens
|
||||
+class NameStyleConverter(object):
|
||||
+ """Converts names from camelCase to various other styles.
|
||||
+ """
|
||||
+ def __init__(self, name):
|
||||
+ self.tokens = self.tokenize(name)
|
||||
+ def tokenize(self, name):
|
||||
+ tokenizer = SmartTokenizer(name)
|
||||
+ return tokenizer.tokenize()
|
||||
+ def to_snake_case(self):
|
||||
+ """Snake case is the file and variable name style per Google C++ Style
|
||||
+ Guide:
|
||||
+ https://google.github.io/styleguide/cppguide.html#Variable_Names
|
||||
+ Also known as the hacker case.
|
||||
+ https://en.wikipedia.org/wiki/Snake_case
|
||||
+ """
|
||||
+ return '_'.join([token.lower() for token in self.tokens])
|
||||
+ def to_upper_camel_case(self):
|
||||
+ """Upper-camel case is the class and function name style per
|
||||
+ Google C++ Style Guide:
|
||||
+ https://google.github.io/styleguide/cppguide.html#Function_Names
|
||||
+ Also known as the PascalCase.
|
||||
+ https://en.wikipedia.org/wiki/Camel_case.
|
||||
+ """
|
||||
+ return ''.join([token[0].upper() + token[1:] for token in self.tokens])
|
||||
+ def to_macro_case(self):
|
||||
+ """Macro case is the macro name style per Google C++ Style Guide:
|
||||
+ https://google.github.io/styleguide/cppguide.html#Macro_Names
|
||||
+ """
|
||||
+ return '_'.join([token.upper() for token in self.tokens])
|
||||
+ def to_all_cases(self):
|
||||
+ return {
|
||||
+ 'snake_case': self.to_snake_case(),
|
||||
+ 'upper_camel_case': self.to_upper_camel_case(),
|
||||
+ 'macro_case': self.to_macro_case(),
|
||||
+ }
|
||||
diff -up chromium-66.0.3359.117/third_party/blink/tools/blinkpy/common/name_style_converter_test.py.missing chromium-66.0.3359.117/third_party/blink/tools/blinkpy/common/name_style_converter_test.py
|
||||
--- chromium-66.0.3359.117/third_party/blink/tools/blinkpy/common/name_style_converter_test.py.missing 2018-04-19 09:51:46.172723095 -0400
|
||||
+++ chromium-66.0.3359.117/third_party/blink/tools/blinkpy/common/name_style_converter_test.py 2018-04-19 09:51:46.173723075 -0400
|
||||
@@ -0,0 +1,140 @@
|
||||
+# Copyright 2017 The Chromium Authors. All rights reserved.
|
||||
+# Use of this source code is governed by a BSD-style license that can be
|
||||
+# found in the LICENSE file.
|
||||
+# pylint: disable=import-error,print-statement,relative-import,protected-access
|
||||
+"""Unit tests for name_style_converter.py."""
|
||||
+import unittest
|
||||
+from name_style_converter import NameStyleConverter
|
||||
+from name_style_converter import SmartTokenizer
|
||||
+class SmartTokenizerTest(unittest.TestCase):
|
||||
+ def test_simple_cases(self):
|
||||
+ tokenizer = SmartTokenizer('foo')
|
||||
+ self.assertEqual(tokenizer.tokenize(), ['foo'])
|
||||
+ tokenizer = SmartTokenizer('fooBar')
|
||||
+ self.assertEqual(tokenizer.tokenize(), ['foo', 'Bar'])
|
||||
+ tokenizer = SmartTokenizer('fooBarBaz')
|
||||
+ self.assertEqual(tokenizer.tokenize(), ['foo', 'Bar', 'Baz'])
|
||||
+ tokenizer = SmartTokenizer('Baz')
|
||||
+ self.assertEqual(tokenizer.tokenize(), ['Baz'])
|
||||
+ tokenizer = SmartTokenizer('')
|
||||
+ self.assertEqual(tokenizer.tokenize(), [])
|
||||
+ tokenizer = SmartTokenizer('FOO')
|
||||
+ self.assertEqual(tokenizer.tokenize(), ['FOO'])
|
||||
+ tokenizer = SmartTokenizer('foo2')
|
||||
+ self.assertEqual(tokenizer.tokenize(), ['foo', '2'])
|
||||
+ def test_tricky_cases(self):
|
||||
+ tokenizer = SmartTokenizer('XMLHttpRequest')
|
||||
+ self.assertEqual(tokenizer.tokenize(), ['XML', 'Http', 'Request'])
|
||||
+ tokenizer = SmartTokenizer('HTMLElement')
|
||||
+ self.assertEqual(tokenizer.tokenize(), ['HTML', 'Element'])
|
||||
+ tokenizer = SmartTokenizer('WebGLRenderingContext')
|
||||
+ self.assertEqual(tokenizer.tokenize(),
|
||||
+ ['WebGL', 'Rendering', 'Context'])
|
||||
+ tokenizer = SmartTokenizer('CanvasRenderingContext2D')
|
||||
+ self.assertEqual(tokenizer.tokenize(),
|
||||
+ ['Canvas', 'Rendering', 'Context', '2D'])
|
||||
+ tokenizer = SmartTokenizer('CanvasRenderingContext2DAPITest')
|
||||
+ self.assertEqual(tokenizer.tokenize(),
|
||||
+ ['Canvas', 'Rendering', 'Context', '2D', 'API', 'Test'])
|
||||
+ tokenizer = SmartTokenizer('SVGSVGElement')
|
||||
+ self.assertEqual(tokenizer.tokenize(), ['SVG', 'SVG', 'Element'])
|
||||
+ tokenizer = SmartTokenizer('CanvasRenderingContext2D')
|
||||
+ self.assertEqual(tokenizer.tokenize(), ['Canvas', 'Rendering', 'Context', '2D'])
|
||||
+ tokenizer = SmartTokenizer('CSSURLImageValue')
|
||||
+ self.assertEqual(tokenizer.tokenize(), ['CSS', 'URL', 'Image', 'Value'])
|
||||
+ tokenizer = SmartTokenizer('CSSPropertyAPID')
|
||||
+ self.assertEqual(tokenizer.tokenize(), ['CSS', 'Property', 'API', 'D'])
|
||||
+ tokenizer = SmartTokenizer('AXARIAGridCell')
|
||||
+ self.assertEqual(tokenizer.tokenize(), ['AX', 'ARIA', 'Grid', 'Cell'])
|
||||
+ tokenizer = SmartTokenizer('CDATASection')
|
||||
+ self.assertEqual(tokenizer.tokenize(), ['CDATA', 'Section'])
|
||||
+ tokenizer = SmartTokenizer('ASCIICType')
|
||||
+ self.assertEqual(tokenizer.tokenize(), ['ASCII', 'CType'])
|
||||
+ tokenizer = SmartTokenizer('CString')
|
||||
+ self.assertEqual(tokenizer.tokenize(), ['CString'])
|
||||
+ tokenizer = SmartTokenizer('HTMLDListElement')
|
||||
+ self.assertEqual(tokenizer.tokenize(), ['HTML', 'DList', 'Element'])
|
||||
+ tokenizer = SmartTokenizer('HTMLOListElement')
|
||||
+ self.assertEqual(tokenizer.tokenize(), ['HTML', 'OList', 'Element'])
|
||||
+ tokenizer = SmartTokenizer('HTMLIFrameElement')
|
||||
+ self.assertEqual(tokenizer.tokenize(), ['HTML', 'IFrame', 'Element'])
|
||||
+ tokenizer = SmartTokenizer('HTMLPlugInElement')
|
||||
+ self.assertEqual(tokenizer.tokenize(), ['HTML', 'PlugIn', 'Element'])
|
||||
+ # No special handling for OptGroup, FieldSet, and TextArea.
|
||||
+ tokenizer = SmartTokenizer('HTMLOptGroupElement')
|
||||
+ self.assertEqual(tokenizer.tokenize(), ['HTML', 'Opt', 'Group', 'Element'])
|
||||
+ tokenizer = SmartTokenizer('HTMLFieldSetElement')
|
||||
+ self.assertEqual(tokenizer.tokenize(), ['HTML', 'Field', 'Set', 'Element'])
|
||||
+ tokenizer = SmartTokenizer('HTMLTextAreaElement')
|
||||
+ self.assertEqual(tokenizer.tokenize(), ['HTML', 'Text', 'Area', 'Element'])
|
||||
+ tokenizer = SmartTokenizer('Path2D')
|
||||
+ self.assertEqual(tokenizer.tokenize(), ['Path', '2D'])
|
||||
+ tokenizer = SmartTokenizer('Point2D')
|
||||
+ self.assertEqual(tokenizer.tokenize(), ['Point', '2D'])
|
||||
+ tokenizer = SmartTokenizer('CanvasRenderingContext2DState')
|
||||
+ self.assertEqual(tokenizer.tokenize(), ['Canvas', 'Rendering', 'Context', '2D', 'State'])
|
||||
+ tokenizer = SmartTokenizer('RTCDTMFSender')
|
||||
+ self.assertEqual(tokenizer.tokenize(), ['RTC', 'DTMF', 'Sender'])
|
||||
+ tokenizer = SmartTokenizer('WebGLCompressedTextureS3TCsRGB')
|
||||
+ self.assertEqual(tokenizer.tokenize(), ['WebGL', 'Compressed', 'Texture', 'S3TC', 'sRGB'])
|
||||
+ tokenizer = SmartTokenizer('WebGL2CompressedTextureETC1')
|
||||
+ self.assertEqual(tokenizer.tokenize(), ['WebGL2', 'Compressed', 'Texture', 'ETC1'])
|
||||
+ tokenizer = SmartTokenizer('EXTsRGB')
|
||||
+ self.assertEqual(tokenizer.tokenize(), ['EXT', 'sRGB'])
|
||||
+ tokenizer = SmartTokenizer('SVGFEBlendElement')
|
||||
+ self.assertEqual(tokenizer.tokenize(), ['SVG', 'FE', 'Blend', 'Element'])
|
||||
+ tokenizer = SmartTokenizer('SVGMPathElement')
|
||||
+ self.assertEqual(tokenizer.tokenize(), ['SVG', 'MPath', 'Element'])
|
||||
+ tokenizer = SmartTokenizer('SVGTSpanElement')
|
||||
+ self.assertEqual(tokenizer.tokenize(), ['SVG', 'TSpan', 'Element'])
|
||||
+ tokenizer = SmartTokenizer('SVGURIReference')
|
||||
+ self.assertEqual(tokenizer.tokenize(), ['SVG', 'URI', 'Reference'])
|
||||
+ tokenizer = SmartTokenizer('UTF16TextIterator')
|
||||
+ self.assertEqual(tokenizer.tokenize(), ['UTF16', 'Text', 'Iterator'])
|
||||
+ tokenizer = SmartTokenizer('UTF8Decoder')
|
||||
+ self.assertEqual(tokenizer.tokenize(), ['UTF8', 'Decoder'])
|
||||
+ tokenizer = SmartTokenizer('Uint8Array')
|
||||
+ self.assertEqual(tokenizer.tokenize(), ['Uint8', 'Array'])
|
||||
+ tokenizer = SmartTokenizer('DOMWindowBase64')
|
||||
+ self.assertEqual(tokenizer.tokenize(), ['DOM', 'Window', 'Base64'])
|
||||
+ tokenizer = SmartTokenizer('TextCodecLatin1')
|
||||
+ self.assertEqual(tokenizer.tokenize(), ['Text', 'Codec', 'Latin1'])
|
||||
+ tokenizer = SmartTokenizer('V8BindingForCore')
|
||||
+ self.assertEqual(tokenizer.tokenize(), ['V8', 'Binding', 'For', 'Core'])
|
||||
+ tokenizer = SmartTokenizer('V8DOMRect')
|
||||
+ self.assertEqual(tokenizer.tokenize(), ['V8', 'DOM', 'Rect'])
|
||||
+ tokenizer = SmartTokenizer('V0InsertionPoint')
|
||||
+ self.assertEqual(tokenizer.tokenize(), ['V0', 'Insertion', 'Point'])
|
||||
+ tokenizer = SmartTokenizer('ShadowDOMV0Test')
|
||||
+ self.assertEqual(tokenizer.tokenize(), ['Shadow', 'DOM', 'V0', 'Test'])
|
||||
+ tokenizer = SmartTokenizer('ElementShadowV0')
|
||||
+ self.assertEqual(tokenizer.tokenize(), ['Element', 'Shadow', 'V0'])
|
||||
+ tokenizer = SmartTokenizer('StubChromeClientForSPv2')
|
||||
+ self.assertEqual(tokenizer.tokenize(), ['Stub', 'Chrome', 'Client', 'For', 'SPv2'])
|
||||
+ tokenizer = SmartTokenizer('SQLiteAuthorizer')
|
||||
+ self.assertEqual(tokenizer.tokenize(), ['SQLite', 'Authorizer'])
|
||||
+ tokenizer = SmartTokenizer('XPathEvaluator')
|
||||
+ self.assertEqual(tokenizer.tokenize(), ['XPath', 'Evaluator'])
|
||||
+ tokenizer = SmartTokenizer('IsXHTMLDocument')
|
||||
+ self.assertEqual(tokenizer.tokenize(), ['Is', 'XHTML', 'Document'])
|
||||
+ tokenizer = SmartTokenizer('Animation.idl')
|
||||
+ self.assertEqual(tokenizer.tokenize(), ['Animation', '.idl'])
|
||||
+class NameStyleConverterTest(unittest.TestCase):
|
||||
+ def test_snake_case(self):
|
||||
+ converter = NameStyleConverter('HTMLElement')
|
||||
+ self.assertEqual(converter.to_snake_case(), 'html_element')
|
||||
+ def test_upper_camel_case(self):
|
||||
+ converter = NameStyleConverter('someSuperThing')
|
||||
+ self.assertEqual(converter.to_upper_camel_case(), 'SomeSuperThing')
|
||||
+ converter = NameStyleConverter('SVGElement')
|
||||
+ self.assertEqual(converter.to_upper_camel_case(), 'SVGElement')
|
||||
+ def test_macro_case(self):
|
||||
+ converter = NameStyleConverter('WebGLBaz2D')
|
||||
+ self.assertEqual(converter.to_macro_case(), 'WEBGL_BAZ_2D')
|
||||
+ def test_all_cases(self):
|
||||
+ converter = NameStyleConverter('SVGScriptElement')
|
||||
+ self.assertEqual(converter.to_all_cases(), {
|
||||
+ 'snake_case': 'svg_script_element',
|
||||
+ 'upper_camel_case': 'SVGScriptElement',
|
||||
+ 'macro_case': 'SVG_SCRIPT_ELEMENT',
|
||||
+ })
|
||||
diff -up chromium-66.0.3359.117/third_party/blink/tools/blinkpy/__init__.py.missing chromium-66.0.3359.117/third_party/blink/tools/blinkpy/__init__.py
|
||||
--- chromium-66.0.3359.117/third_party/blink/tools/blinkpy/__init__.py.missing 2018-04-19 11:34:40.621293007 -0400
|
||||
+++ chromium-66.0.3359.117/third_party/blink/tools/blinkpy/__init__.py 2018-04-19 11:34:34.440413163 -0400
|
||||
@@ -0,0 +1,3 @@
|
||||
+# Copyright 2017 The Chromium Authors. All rights reserved.
|
||||
+# Use of this source code is governed by a BSD-style license that can be
|
||||
+# found in the LICENSE file.
|
|
@ -1,11 +0,0 @@
|
|||
diff -up chromium-73.0.3683.75/third_party/webrtc/modules/desktop_capture/linux/base_capturer_pipewire.cc.cstringfix chromium-73.0.3683.75/third_party/webrtc/modules/desktop_capture/linux/base_capturer_pipewire.cc
|
||||
--- chromium-73.0.3683.75/third_party/webrtc/modules/desktop_capture/linux/base_capturer_pipewire.cc.cstringfix 2019-03-13 13:04:25.290842447 -0400
|
||||
+++ chromium-73.0.3683.75/third_party/webrtc/modules/desktop_capture/linux/base_capturer_pipewire.cc 2019-03-13 13:05:13.234897441 -0400
|
||||
@@ -18,6 +18,7 @@
|
||||
#include <spa/param/video/raw-utils.h>
|
||||
#include <spa/support/type-map.h>
|
||||
|
||||
+#include <cstring>
|
||||
#include <memory>
|
||||
#include <utility>
|
||||
|
|
@ -0,0 +1,15 @@
|
|||
diff -up chromium-76.0.3809.100/services/device/usb/usb_context.cc.modern-libusbx chromium-76.0.3809.100/services/device/usb/usb_context.cc
|
||||
--- chromium-76.0.3809.100/services/device/usb/usb_context.cc.modern-libusbx 2019-08-12 15:40:49.034170484 +0200
|
||||
+++ chromium-76.0.3809.100/services/device/usb/usb_context.cc 2019-08-12 15:41:23.775558867 +0200
|
||||
@@ -58,7 +58,11 @@ void UsbContext::UsbEventHandler::Run()
|
||||
|
||||
void UsbContext::UsbEventHandler::Stop() {
|
||||
base::subtle::Release_Store(&running_, 0);
|
||||
+#ifdef LIBUSB_API_VERSION >= 0x01000105
|
||||
+ libusb_interrupt_event_handler(context_);
|
||||
+#else
|
||||
libusb_interrupt_handle_event(context_);
|
||||
+#endif
|
||||
}
|
||||
|
||||
UsbContext::UsbContext(PlatformUsbContext context) : context_(context) {
|
|
@ -157,15 +157,15 @@ BuildRequires: libicu-devel >= 5.4
|
|||
%global chromoting_client_id %nil
|
||||
%endif
|
||||
|
||||
%global majorversion 75
|
||||
%global majorversion 76
|
||||
|
||||
%if %{freeworld}
|
||||
Name: chromium%{chromium_channel}%{?freeworld:-freeworld}
|
||||
%else
|
||||
Name: chromium%{chromium_channel}
|
||||
%endif
|
||||
Version: %{majorversion}.0.3770.100
|
||||
Release: 4%{?dist}
|
||||
Version: %{majorversion}.0.3809.100
|
||||
Release: 1%{?dist}
|
||||
Summary: A WebKit (Blink) powered web browser
|
||||
Url: http://www.chromium.org/Home
|
||||
License: BSD and LGPLv2+ and ASL 2.0 and IJG and MIT and GPLv2+ and ISC and OpenSSL and (MPLv1.1 or GPLv2 or LGPLv2)
|
||||
|
@ -176,10 +176,7 @@ Patch1: chromium-45.0.2454.101-linux-path-max.patch
|
|||
Patch2: chromium-55.0.2883.75-addrfix.patch
|
||||
Patch3: chromium-72.0.3626.121-notest.patch
|
||||
# Use libusb_interrupt_event_handler from current libusbx (1.0.21-0.1.git448584a)
|
||||
Patch4: chromium-48.0.2564.116-libusb_interrupt_event_handler.patch
|
||||
# Ignore deprecations in cups 2.2
|
||||
# https://bugs.chromium.org/p/chromium/issues/detail?id=622493
|
||||
Patch5: chromium-55.0.2883.75-cups22.patch
|
||||
Patch4: chromium-76.0.3809.100-libusb_interrupt_event_handler.patch
|
||||
# Use PIE in the Linux sandbox (from openSUSE via Russian Fedora)
|
||||
Patch6: chromium-70.0.3538.67-sandbox-pie.patch
|
||||
# Use /etc/chromium for master_prefs
|
||||
|
@ -223,8 +220,6 @@ Patch23: chromium-65.0.3325.146-memcpy-fix.patch
|
|||
Patch24: chromium-68.0.3440.106-boolfix.patch
|
||||
# From Debian
|
||||
Patch25: chromium-71.0.3578.98-skia-aarch64-buildfix.patch
|
||||
# Missing files in tarball
|
||||
Patch26: chromium-66.0.3359.117-missing-files.patch
|
||||
# Do not use unrar code, it is non-free
|
||||
Patch27: chromium-73.0.3683.75-norar.patch
|
||||
# Upstream GCC fixes
|
||||
|
@ -253,14 +248,8 @@ Patch36: chromium-71.0.3578.98-gcc9-drop-rsp-clobber.patch
|
|||
Patch37: chromium-widevine-other-locations.patch
|
||||
# Disable -fno-delete-null-pointer-checks
|
||||
Patch38: chromium-73.0.3683.75-disable-fno-delete-null-pointer-checks.patch
|
||||
# Add #include <cstring> to get pipewire code to build
|
||||
Patch39: chromium-73.0.3683.75-pipewire-cstring-fix.patch
|
||||
# gcc does not have __assume
|
||||
Patch40: chromium-75.0.3770.80-gcc-no-assume.patch
|
||||
# Linux 5.2 defines SIOCGSTAMP in a slightly different way, so we need to teach chromium where to find it
|
||||
Patch41: chromium-75.0.3770.80-SIOCGSTAMP.patch
|
||||
# https://chromium.googlesource.com/chromium/src/+/aeed4d1f15ce84a17ea0bc219e258dc4982b2368%5E%21/#F0
|
||||
Patch42: chromium-75.0.3770.80-aeed4d-gcc-dcheck_ne-fix.patch
|
||||
# Revert https://chromium.googlesource.com/chromium/src/+/daff6b66faae53a0cefb88987c9ff4843629b728%5E%21/#F0
|
||||
# It might make clang happy but it breaks gcc. F*** clang.
|
||||
Patch43: chromium-75.0.3770.80-revert-daff6b.patch
|
||||
|
@ -272,8 +261,6 @@ Patch45: chromium-75.0.3770.80-grpc-gettid-fix.patch
|
|||
# fix v8 compile with gcc
|
||||
# https://chromium.googlesource.com/v8/v8/+/3b8c624bda58d05aea80dd9626cd550537d6ac3f%5E%21/#F1
|
||||
Patch46: chromium-75.0.3770.100-fix-v8-gcc.patch
|
||||
# https://chromium.googlesource.com/chromium/src/+/00281713519dbd84b90d2996a009bf3a7e294435%5E%21/#F0
|
||||
Patch47: chromium-75.0.3770.100-git00281713.patch
|
||||
|
||||
# Apply these changes to work around EPEL7 compiler issues
|
||||
Patch100: chromium-62.0.3202.62-kmaxskip-constexpr.patch
|
||||
|
@ -794,7 +781,6 @@ udev.
|
|||
%patch2 -p1 -b .addrfix
|
||||
%patch3 -p1 -b .notest
|
||||
%patch4 -p1 -b .modern-libusbx
|
||||
%patch5 -p1 -b .cups22
|
||||
%patch6 -p1 -b .sandboxpie
|
||||
%patch7 -p1 -b .etc
|
||||
%patch8 -p1 -b .gnsystem
|
||||
|
@ -815,7 +801,6 @@ udev.
|
|||
%patch23 -p1 -b .memcpyfix
|
||||
%patch24 -p1 -b .boolfix
|
||||
%patch25 -p1 -b .aarch64fix
|
||||
%patch26 -p1 -b .missing-files
|
||||
%patch27 -p1 -b .nounrar
|
||||
%patch28 -p1 -b .gcc-cpolicyprovider
|
||||
%patch29 -p1 -b .fedora-user-agent
|
||||
|
@ -828,15 +813,11 @@ udev.
|
|||
%patch36 -p1 -b .gcc9
|
||||
%patch37 -p1 -b .widevine-other-locations
|
||||
%patch38 -p1 -b .disable-ndnpc
|
||||
%patch39 -p1 -b .cstring-fix
|
||||
%patch40 -p1 -b .gcc-assume
|
||||
%patch41 -p1 -b .SIOCGSTAMP
|
||||
%patch42 -p1 -b .gcc-dcheck_ne-fix
|
||||
%patch43 -p1 -b .revert-daff6b
|
||||
%patch44 -p1 -b .pure-virtual-fix
|
||||
%patch45 -p1 -b .gettid-fix
|
||||
%patch46 -p1 -b .fix-v8-gcc
|
||||
%patch47 -p1 -b .git00281713
|
||||
|
||||
# EPEL specific patches
|
||||
%if 0%{?rhel} == 7
|
||||
|
@ -1217,7 +1198,6 @@ build/linux/unbundle/remove_bundled_libraries.py \
|
|||
%if %{freeworld}
|
||||
'third_party/openh264' \
|
||||
%endif
|
||||
'third_party/openmax_dl' \
|
||||
'third_party/opus' \
|
||||
'third_party/ots' \
|
||||
'third_party/pdfium' \
|
||||
|
@ -1260,7 +1240,6 @@ build/linux/unbundle/remove_bundled_libraries.py \
|
|||
'third_party/sqlite' \
|
||||
'third_party/swiftshader' \
|
||||
'third_party/swiftshader/third_party/subzero' \
|
||||
'third_party/swiftshader/third_party/LLVM' \
|
||||
'third_party/swiftshader/third_party/llvm-subzero' \
|
||||
'third_party/swiftshader/third_party/llvm-7.0' \
|
||||
'third_party/tcmalloc' \
|
||||
|
@ -1857,6 +1836,9 @@ getent group chrome-remote-desktop >/dev/null || groupadd -r chrome-remote-deskt
|
|||
|
||||
|
||||
%changelog
|
||||
* Tue Aug 13 2019 Tomas Popela <tpopela@redhat.com> - 76.0.3809.100-1
|
||||
- Update to 76.0.3809.100
|
||||
|
||||
* Wed Jul 24 2019 Fedora Release Engineering <releng@fedoraproject.org> - 75.0.3770.100-4
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
||||
|
||||
|
|
2
sources
2
sources
|
@ -17,4 +17,4 @@ SHA512 (Tinos-Italic.ttf) = d4f4f096110ef98a781a2a0e0d319317e5f84e650fe6f4d4f6b0
|
|||
SHA512 (Tinos-Regular.ttf) = 58085c5dac6d067d60ba2ab3220c4a0cc1efcf279cadfcfb8746a5e5fa1a6f6daa62750dc2051b3b2d8a51b4d2e9bb0f66594caf2253c0870ed9c7286fa45e8f
|
||||
SHA512 (Ahem.ttf) = aeb64b10ab9c87860714cb60b4900254b13dc52c51319256a1a3722c882026ab7c616bf628fbc2fe14e38a6003f3a481af60b52a7ed62071d28ddaf428e4e3fd
|
||||
SHA512 (node-v8.9.1-linux-x64.tar.gz) = a707fd4567041c56e7f9d415e505e3fa650627f31def7fefdd7ec50f9e7066bb33332b67f479e1159d85e1105a7e6d034aad7429f4f3d034c9161170d7e0b844
|
||||
SHA512 (chromium-75.0.3770.100-clean.tar.xz) = ee2fad215cf39edc572b4ecd040f1130e857e19a34e64fffb14a995ca325adc0b01d6e8bfae4f91c2fecd13ed018049e64fe2c2cc755502b8e3291698698512e
|
||||
SHA512 (chromium-76.0.3809.100-clean.tar.xz) = ad250b8cd0a01297fdff85c12a4dca85477cf027a68c0a9f7a3bc93b825772d17ddd062a89020ae954def781f19fe44beedb33ec8a86f3c12af290edb43d6ee9
|
||||
|
|
Loading…
Reference in New Issue