diff --git a/chromium-65.0.3325.181.tar.xz b/chromium-65.0.3325.181.tar.xz deleted file mode 100644 index 4d05156..0000000 --- a/chromium-65.0.3325.181.tar.xz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:93666448c6b96ec83e6a35a64cff40db4eb92a154fe1db4e7dab4761d0e38687 -size 570386836 diff --git a/chromium-66.0.3359.81.tar.xz b/chromium-66.0.3359.81.tar.xz new file mode 100644 index 0000000..29e88a5 --- /dev/null +++ b/chromium-66.0.3359.81.tar.xz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:4a8788a6e89253af3efa85c776c528d6952f8468aff6f793faf46c825ac628c2 +size 583902508 diff --git a/chromium-compiler.patch b/chromium-compiler.patch deleted file mode 100644 index 83c54ef..0000000 --- a/chromium-compiler.patch +++ /dev/null @@ -1,11 +0,0 @@ ---- a/device/u2f/u2f_ble_transaction.cc -+++ b/device/u2f/u2f_ble_transaction.cc -@@ -131,7 +131,7 @@ - - void U2fBleTransaction::OnError() { - request_frame_.reset(); -- request_cont_fragments_ = {}; -+ request_cont_fragments_ = base::queue(); - response_frame_assembler_.reset(); - std::move(callback_).Run(base::nullopt); - } diff --git a/chromium-ffmpeg.patch b/chromium-ffmpeg.patch new file mode 100644 index 0000000..6d51bf4 --- /dev/null +++ b/chromium-ffmpeg.patch @@ -0,0 +1,22 @@ +--- a/build/linux/unbundle/ffmpeg.gn ++++ b/build/linux/unbundle/ffmpeg.gn +@@ -14,8 +14,8 @@ pkg_config("system_ffmpeg") { + ] + } + +-buildflag_header("ffmpeg_buildflags") { +- header = "ffmpeg_buildflags.h" ++buildflag_header("ffmpeg_features") { ++ header = "ffmpeg_features.h" + flags = [ "USE_SYSTEM_FFMPEG=true" ] + } + +@@ -30,7 +30,7 @@ shim_headers("ffmpeg_shim") { + + source_set("ffmpeg") { + deps = [ +- ":ffmpeg_buildflags", ++ ":ffmpeg_features", + ":ffmpeg_shim", + ] + public_configs = [ ":system_ffmpeg" ] diff --git a/chromium-gcc7.patch b/chromium-gcc7.patch new file mode 100644 index 0000000..2acf2fd --- /dev/null +++ b/chromium-gcc7.patch @@ -0,0 +1,177 @@ +--- chromium-66.0.3355.0.orig/device/fido/device_response_converter.cc 2018-03-09 12:04:44.988233476 +0100 ++++ chromium-66.0.3355.0/device/fido/device_response_converter.cc 2018-03-09 13:08:48.566680438 +0100 +@@ -121,7 +121,7 @@ + response.SetNumCredentials(it->second.GetUnsigned()); + } + +- return response; ++ return std::move(response); + } + + base::Optional ReadCTAPGetInfoResponse( +@@ -241,7 +241,7 @@ + response.SetPinProtocols(std::move(supported_pin_protocols)); + } + +- return response; ++ return std::move(response); + } + + } // namespace device +From 4f2b52281ce1649ea8347489443965ad33262ecc Mon Sep 17 00:00:00 2001 +From: Jose Dapena Paz +Date: Thu, 08 Mar 2018 17:46:02 +0000 +Subject: [PATCH] GCC: PlaybackImageProvider::Settings: explicitely set copy constructor. + +GCC fails to resolve the default copy constructor of the flat_map, so +we add an explicit reference to use default copy constructor. + +Bug: 819294 + +Change-Id: Ie2d69bdbe60742e9253251c965cbf0a936037871 +Reviewed-on: https://chromium-review.googlesource.com/944403 +Reviewed-by: David Reveman +Commit-Queue: José Dapena Paz +Cr-Commit-Position: refs/heads/master@{#541827} +--- + +diff --git a/cc/raster/playback_image_provider.cc b/cc/raster/playback_image_provider.cc +index 557b421..b2ace4d 100644 +--- a/cc/raster/playback_image_provider.cc ++++ b/cc/raster/playback_image_provider.cc +@@ -20,7 +20,7 @@ + PlaybackImageProvider::PlaybackImageProvider( + ImageDecodeCache* cache, + const gfx::ColorSpace& target_color_space, +- base::Optional settings) ++ base::Optional&& settings) + : cache_(cache), + target_color_space_(target_color_space), + settings_(std::move(settings)) { +@@ -70,7 +70,10 @@ + } + + PlaybackImageProvider::Settings::Settings() = default; +-PlaybackImageProvider::Settings::Settings(const Settings& other) = default; ++PlaybackImageProvider::Settings::Settings(PlaybackImageProvider::Settings&&) = ++ default; + PlaybackImageProvider::Settings::~Settings() = default; ++PlaybackImageProvider::Settings& PlaybackImageProvider::Settings::operator=( ++ PlaybackImageProvider::Settings&&) = default; + + } // namespace cc +diff --git a/cc/raster/playback_image_provider.h b/cc/raster/playback_image_provider.h +index 67974f3..a33092d 100644 +--- a/cc/raster/playback_image_provider.h ++++ b/cc/raster/playback_image_provider.h +@@ -20,8 +20,10 @@ + public: + struct CC_EXPORT Settings { + Settings(); +- Settings(const Settings& other); ++ Settings(const Settings&) = delete; ++ Settings(Settings&&); + ~Settings(); ++ Settings& operator=(Settings&&); + + // The set of image ids to skip during raster. + PaintImageIdFlatSet images_to_skip; +@@ -34,7 +36,7 @@ + // If no settings are provided, all images are skipped during rasterization. + PlaybackImageProvider(ImageDecodeCache* cache, + const gfx::ColorSpace& target_color_space, +- base::Optional settings); ++ base::Optional&& settings); + ~PlaybackImageProvider() override; + + PlaybackImageProvider(PlaybackImageProvider&& other); +diff --git a/cc/raster/playback_image_provider_unittest.cc b/cc/raster/playback_image_provider_unittest.cc +index 0206999..40036e8 100644 +--- a/cc/raster/playback_image_provider_unittest.cc ++++ b/cc/raster/playback_image_provider_unittest.cc +@@ -85,7 +85,8 @@ + settings.emplace(); + settings->images_to_skip = {skip_image.stable_id()}; + +- PlaybackImageProvider provider(&cache, gfx::ColorSpace(), settings); ++ PlaybackImageProvider provider(&cache, gfx::ColorSpace(), ++ std::move(settings)); + + SkIRect rect = SkIRect::MakeWH(10, 10); + SkMatrix matrix = SkMatrix::I(); +@@ -99,7 +100,8 @@ + + base::Optional settings; + settings.emplace(); +- PlaybackImageProvider provider(&cache, gfx::ColorSpace(), settings); ++ PlaybackImageProvider provider(&cache, gfx::ColorSpace(), ++ std::move(settings)); + + { + SkRect rect = SkRect::MakeWH(10, 10); +@@ -127,7 +129,8 @@ + settings.emplace(); + settings->image_to_current_frame_index = image_to_frame; + +- PlaybackImageProvider provider(&cache, gfx::ColorSpace(), settings); ++ PlaybackImageProvider provider(&cache, gfx::ColorSpace(), ++ std::move(settings)); + + SkIRect rect = SkIRect::MakeWH(10, 10); + SkMatrix matrix = SkMatrix::I(); +@@ -143,7 +146,8 @@ + + base::Optional settings; + settings.emplace(); +- PlaybackImageProvider provider(&cache, gfx::ColorSpace(), settings); ++ PlaybackImageProvider provider(&cache, gfx::ColorSpace(), ++ std::move(settings)); + + { + SkIRect rect = SkIRect::MakeWH(10, 10); +@@ -174,7 +178,8 @@ + MockDecodeCache cache; + base::Optional settings; + settings.emplace(); +- PlaybackImageProvider provider(&cache, gfx::ColorSpace(), settings); ++ PlaybackImageProvider provider(&cache, gfx::ColorSpace(), ++ std::move(settings)); + { + SkIRect rect = SkIRect::MakeWH(10, 10); + SkMatrix matrix = SkMatrix::I(); +diff -urN chromium-66.0.3359.45.orig/chrome/browser/supervised_user/supervised_user_url_filter.cc chromium-66.0.3359.45/chrome/browser/supervised_user/supervised_user_url_filter.cc +--- chromium-66.0.3359.45.orig/chrome/browser/supervised_user/supervised_user_url_filter.cc 2018-03-27 16:26:46.164296894 +0200 ++++ chromium-66.0.3359.45/chrome/browser/supervised_user/supervised_user_url_filter.cc 2018-03-27 16:27:54.889425873 +0200 +@@ -368,7 +368,7 @@ + + // Allow navigations to whitelisted origins (currently families.google.com). + static const base::NoDestructor> kWhitelistedOrigins( +- {GURL(kFamiliesUrl).GetOrigin()}); ++ base::flat_set({GURL(kFamiliesUrl).GetOrigin()})); + if (base::ContainsKey(*kWhitelistedOrigins, effective_url.GetOrigin())) + return ALLOW; + +diff -urN chromium-66.0.3359.45.orig/content/browser/appcache/appcache_request_handler.cc chromium-66.0.3359.45/content/browser/appcache/appcache_request_handler.cc +--- chromium-66.0.3359.45.orig/content/browser/appcache/appcache_request_handler.cc 2018-03-28 14:54:42.714402259 +0200 ++++ chromium-66.0.3359.45/content/browser/appcache/appcache_request_handler.cc 2018-03-28 15:00:14.367868004 +0200 +@@ -639,7 +639,7 @@ + + SubresourceLoaderParams params; + params.loader_factory_info = factory_ptr.PassInterface(); +- return params; ++ return base::Optional(std::move(params)); + } + + void AppCacheRequestHandler::MaybeCreateSubresourceLoader( +diff -urN chromium-66.0.3359.45.orig/content/browser/service_worker/service_worker_controllee_request_handler.cc chromium-66.0.3359.45/content/browser/service_worker/service_worker_controllee_request_handler.cc +--- chromium-66.0.3359.45.orig/content/browser/service_worker/service_worker_controllee_request_handler.cc 2018-03-28 14:54:43.154409514 +0200 ++++ chromium-66.0.3359.45/content/browser/service_worker/service_worker_controllee_request_handler.cc 2018-03-28 15:01:02.384658496 +0200 +@@ -271,7 +271,7 @@ + controller_info->object_info = provider_host_->GetOrCreateServiceWorkerHandle( + provider_host_->controller()); + params.controller_service_worker_info = std::move(controller_info); +- return params; ++ return base::Optional(std::move(params)); + } + + void ServiceWorkerControlleeRequestHandler::PrepareForMainResource( diff --git a/chromium-glibc-2.27.patch b/chromium-glibc-2.27.patch deleted file mode 100644 index c211eee..0000000 --- a/chromium-glibc-2.27.patch +++ /dev/null @@ -1,50 +0,0 @@ -From 9f63f94a11abc34d40ede8b8712fa15b5844a8c0 Mon Sep 17 00:00:00 2001 -From: Tom Anderson -Date: Sat, 27 Jan 2018 20:03:37 +0000 -Subject: [PATCH] Fix build with glibc 2.27 - -BUG=806340 -TBR=hamelphi@chromium.org - -Change-Id: Ib4e5091212d874d9ad88f3e9a1fdfee3ed7e0d5e -Reviewed-on: https://chromium-review.googlesource.com/890059 -Reviewed-by: Thomas Anderson -Reviewed-by: Philippe Hamel -Commit-Queue: Thomas Anderson -Cr-Commit-Position: refs/heads/master@{#532249} ---- - -diff --git a/components/assist_ranker/ranker_example_util.cc b/components/assist_ranker/ranker_example_util.cc -index 54d4dbd..ceedd8f 100644 ---- a/components/assist_ranker/ranker_example_util.cc -+++ b/components/assist_ranker/ranker_example_util.cc -@@ -2,6 +2,8 @@ - // Use of this source code is governed by a BSD-style license that can be - // found in the LICENSE file. - -+#include -+ - #include "components/assist_ranker/ranker_example_util.h" - #include "base/bit_cast.h" - #include "base/format_macros.h" -From 0235c2b657d936f3cdb09053776e5929fc84704b Mon Sep 17 00:00:00 2001 -From: Tomas Popela -Date: Wed, 31 Jan 2018 18:57:07 +0000 -Subject: [PATCH] Add missing stdint include - -diff --git a/chrome/browser/vr/sample_queue.cc b/chrome/browser/vr/sample_queue.cc -index c2ca777ce90c..53cb3aab1576 100644 ---- a/chrome/browser/vr/sample_queue.cc -+++ b/chrome/browser/vr/sample_queue.cc -@@ -2,6 +2,8 @@ - // Use of this source code is governed by a BSD-style license that can be - // found in the LICENSE file. - -+#include -+ - #include "chrome/browser/vr/sample_queue.h" - - namespace vr { --- -2.16.2 - diff --git a/chromium-master-prefs-path.patch b/chromium-master-prefs-path.patch index 12ddb72..e18e4a1 100644 --- a/chromium-master-prefs-path.patch +++ b/chromium-master-prefs-path.patch @@ -1,7 +1,7 @@ -Index: chromium/src/chrome/browser/first_run/first_run_linux.cc +Index: a/chromium/src/chrome/browser/first_run/first_run_linux.cc =================================================================== ---- chrome/browser/first_run/first_run_internal_linux.cc -+++ chrome/browser/first_run/first_run_internal_linux.cc +--- a/chrome/browser/first_run/first_run_internal_linux.cc ++++ b/chrome/browser/first_run/first_run_internal_linux.cc @@ -22,8 +22,7 @@ base::FilePath MasterPrefsPath() { // The standard location of the master prefs is next to the chrome binary. diff --git a/chromium-non-void-return.patch b/chromium-non-void-return.patch index cc18923..40820fc 100644 --- a/chromium-non-void-return.patch +++ b/chromium-non-void-return.patch @@ -1,16 +1,3 @@ -Index: chromium-65.0.3325.146/chrome/browser/ui/libgtkui/app_indicator_icon.cc -=================================================================== ---- chromium-65.0.3325.146.orig/chrome/browser/ui/libgtkui/app_indicator_icon.cc -+++ chromium-65.0.3325.146/chrome/browser/ui/libgtkui/app_indicator_icon.cc -@@ -98,6 +98,8 @@ bool ShouldUseLibAppIndicator() { - case base::nix::DESKTOP_ENVIRONMENT_OTHER: - case base::nix::DESKTOP_ENVIRONMENT_XFCE: - return false; -+ default: -+ return false; - } - } - Index: chromium-65.0.3325.146/media/gpu/vaapi/vaapi_wrapper.cc =================================================================== --- chromium-65.0.3325.146.orig/media/gpu/vaapi/vaapi_wrapper.cc diff --git a/chromium-sandbox-pie.patch b/chromium-sandbox-pie.patch index 5983a6a..e6b68b9 100644 --- a/chromium-sandbox-pie.patch +++ b/chromium-sandbox-pie.patch @@ -1,5 +1,5 @@ ---- sandbox/linux/BUILD.gn 2016-08-03 06:31:07.000000000 +0200 -+++ sandbox/linux/BUILD.gn 2016-08-03 06:31:07.000000000 +0200 +--- a/sandbox/linux/BUILD.gn 2016-08-03 06:31:07.000000000 +0200 ++++ b/sandbox/linux/BUILD.gn 2016-08-03 06:31:07.000000000 +0200 @@ -297,12 +297,17 @@ cflags = [ diff --git a/chromium-vaapi-init.patch b/chromium-vaapi-init.patch deleted file mode 100644 index 76389da..0000000 --- a/chromium-vaapi-init.patch +++ /dev/null @@ -1,253 +0,0 @@ -From 281edc278272f0650fc190c8539d443ac59157bc Mon Sep 17 00:00:00 2001 -From: Daniel Charles -Date: Thu, 08 Feb 2018 02:36:51 +0000 -Subject: [PATCH] vaapi initialization: move it to vaapi_wrapper - -vaapi loading of libraries happens on the Pre and Post Sandbox -functions. Moving dynamic loading of libaries, i.e. libva,libva-drm -and i965_drv_video shared libraries to vaapi_wrapper. - -When calling PreSandbox function in vaapi_wrapper libva will open -i965_drv_video shared library and both will be available for use - -BUG=785117 -TEST=video initialization of h/w dec/enc, VAVDA/VAVEA/VAJDA subjective - testing and include unittests and autotests - -Cq-Include-Trybots: master.tryserver.chromium.android:android_optional_gpu_tests_rel;master.tryserver.chromium.linux:linux_optional_gpu_tests_rel;master.tryserver.chromium.mac:mac_optional_gpu_tests_rel;master.tryserver.chromium.win:win_optional_gpu_tests_rel -Change-Id: I862bb49f1167d7437e80387882cb9081ad53f54b -Signed-off-by: Daniel Charles -Reviewed-on: https://chromium-review.googlesource.com/666138 -Commit-Queue: Miguel Casas -Reviewed-by: Kenneth Russell -Reviewed-by: Antoine Labour -Reviewed-by: Dongseong Hwang -Reviewed-by: Pawel Osciak -Reviewed-by: Jorge Lucangeli Obes -Cr-Commit-Position: refs/heads/master@{#535274} ---- - -diff --git a/content/gpu/gpu_sandbox_hook_linux.cc b/content/gpu/gpu_sandbox_hook_linux.cc -index e69e23e..5c4013c 100644 ---- a/content/gpu/gpu_sandbox_hook_linux.cc -+++ b/content/gpu/gpu_sandbox_hook_linux.cc -@@ -29,10 +29,6 @@ - #include "services/service_manager/sandbox/linux/bpf_gpu_policy_linux.h" - #include "services/service_manager/sandbox/linux/sandbox_linux.h" - --#if BUILDFLAG(USE_VAAPI) --#include --#endif -- - using sandbox::bpf_dsl::Policy; - using sandbox::syscall_broker::BrokerFilePermission; - using sandbox::syscall_broker::BrokerProcess; -@@ -48,22 +44,6 @@ - #endif - } - --inline bool IsArchitectureX86_64() { --#if defined(__x86_64__) -- return true; --#else -- return false; --#endif --} -- --inline bool IsArchitectureI386() { --#if defined(__i386__) -- return true; --#else -- return false; --#endif --} -- - inline bool IsArchitectureArm() { - #if defined(ARCH_CPU_ARM_FAMILY) - return true; -@@ -88,14 +68,6 @@ - #endif - } - --inline bool IsLibVAVersion2() { --#if BUILDFLAG(USE_VAAPI) && VA_MAJOR_VERSION == 1 -- return true; --#else -- return false; --#endif --} -- - constexpr int dlopen_flag = RTLD_NOW | RTLD_GLOBAL | RTLD_NODELETE; - - void AddV4L2GpuWhitelist( -@@ -270,50 +242,6 @@ - } - } - --void LoadStandardLibraries( -- const service_manager::SandboxSeccompBPF::Options& options) { -- if (IsArchitectureX86_64() || IsArchitectureI386()) { -- // Accelerated video dlopen()'s some shared objects -- // inside the sandbox, so preload them now. -- if (IsAcceleratedVideoEnabled(options)) { -- if (IsLibVAVersion2()) { -- if (IsArchitectureX86_64()) { -- dlopen("/usr/lib64/va/drivers/i965_drv_video.so", dlopen_flag); -- dlopen("/usr/lib64/va/drivers/hybrid_drv_video.so", dlopen_flag); -- } else if (IsArchitectureI386()) { -- dlopen("/usr/lib/va/drivers/i965_drv_video.so", dlopen_flag); -- } -- dlopen("libva.so.2", dlopen_flag); --#if defined(USE_OZONE) -- dlopen("libva-drm.so.2", dlopen_flag); --#endif -- } else { -- // If we are linked against libva 1, we have two cases to handle: -- // - the sysroot includes both libva 1 and 2, in which case the drivers -- // are in /usr/lib{64}/va1/ -- // - the sysroot only includes libva 1, in which case the drivers are -- // are in /usr/lib{64}/va/ -- // This is ugly, but temporary until all builds have switched to libva 2. -- if (IsArchitectureX86_64()) { -- if (!dlopen("/usr/lib64/va1/drivers/i965_drv_video.so", dlopen_flag)) -- dlopen("/usr/lib64/va/drivers/i965_drv_video.so", dlopen_flag); -- if (!dlopen("/usr/lib64/va1/drivers/hybrid_drv_video.so", dlopen_flag)) -- dlopen("/usr/lib64/va/drivers/hybrid_drv_video.so", dlopen_flag); -- } else if (IsArchitectureI386()) { -- if (!dlopen("/usr/lib/va1/drivers/i965_drv_video.so", dlopen_flag)) -- dlopen("/usr/lib/va/drivers/i965_drv_video.so", dlopen_flag); -- } -- dlopen("libva.so.1", dlopen_flag); --#if defined(USE_OZONE) -- dlopen("libva-drm.so.1", dlopen_flag); --#elif defined(USE_X11) -- dlopen("libva-x11.so.1", dlopen_flag); --#endif -- } -- } -- } --} -- - bool LoadLibrariesForGpu( - const service_manager::SandboxSeccompBPF::Options& options) { - if (IsChromeOS()) { -@@ -326,7 +254,6 @@ - if (options.use_amd_specific_policies) - return LoadAmdGpuLibraries(); - } -- LoadStandardLibraries(options); - return true; - } - -diff --git a/media/gpu/vaapi/vaapi_wrapper.cc b/media/gpu/vaapi/vaapi_wrapper.cc -index bc3d735..7421a74 100644 ---- a/media/gpu/vaapi/vaapi_wrapper.cc -+++ b/media/gpu/vaapi/vaapi_wrapper.cc -@@ -48,6 +48,11 @@ - using media_gpu_vaapi::kModuleVa_x11; - #endif - using media_gpu_vaapi::InitializeStubs; -+using media_gpu_vaapi::IsVaInitialized; -+#if defined(USE_X11) -+using media_gpu_vaapi::IsVa_x11Initialized; -+#endif -+using media_gpu_vaapi::IsVa_drmInitialized; - using media_gpu_vaapi::StubPathMap; - - #define LOG_VA_ERROR_AND_REPORT(va_error, err_msg) \ -@@ -166,9 +171,6 @@ - void SetDrmFd(base::PlatformFile fd) { drm_fd_.reset(HANDLE_EINTR(dup(fd))); } - - private: -- // Returns false on init failure. -- static bool PostSandboxInitialization(); -- - // Protected by |va_lock_|. - int refcount_; - -@@ -203,41 +205,17 @@ - VADisplayState::Get()->SetDrmFd(drm_file.GetPlatformFile()); - } - --// static --bool VADisplayState::PostSandboxInitialization() { -- const std::string va_suffix(std::to_string(VA_MAJOR_VERSION + 1)); -- StubPathMap paths; -- -- paths[kModuleVa].push_back(std::string("libva.so.") + va_suffix); -- paths[kModuleVa_drm].push_back(std::string("libva-drm.so.") + va_suffix); --#if defined(USE_X11) -- // libva-x11 does not exist on libva >= 2 -- if (VA_MAJOR_VERSION == 0) -- paths[kModuleVa_x11].push_back("libva-x11.so.1"); --#endif -- -- const bool success = InitializeStubs(paths); -- if (!success) { -- static const char kErrorMsg[] = "Failed to initialize VAAPI libs"; --#if defined(OS_CHROMEOS) -- // When Chrome runs on Linux with target_os="chromeos", do not log error -- // message without VAAPI libraries. -- LOG_IF(ERROR, base::SysInfo::IsRunningOnChromeOS()) << kErrorMsg; --#else -- DVLOG(1) << kErrorMsg; --#endif -- } -- return success; --} -- - VADisplayState::VADisplayState() - : refcount_(0), va_display_(nullptr), va_initialized_(false) {} - - bool VADisplayState::Initialize() { - va_lock_.AssertAcquired(); - -- static bool result = PostSandboxInitialization(); -- if (!result) -+ if (!IsVaInitialized() || -+#if defined(USE_X11) -+ !IsVa_x11Initialized() || -+#endif -+ !IsVa_drmInitialized()) - return false; - - if (refcount_++ > 0) -@@ -1169,6 +1147,38 @@ - // static - void VaapiWrapper::PreSandboxInitialization() { - VADisplayState::PreSandboxInitialization(); -+ -+ const std::string va_suffix(std::to_string(VA_MAJOR_VERSION + 1)); -+ StubPathMap paths; -+ -+ paths[kModuleVa].push_back(std::string("libva.so.") + va_suffix); -+ paths[kModuleVa_drm].push_back(std::string("libva-drm.so.") + va_suffix); -+#if defined(USE_X11) -+ paths[kModuleVa_x11].push_back(std::string("libva-x11.so.") + va_suffix); -+#endif -+ -+ // InitializeStubs dlopen() VA-API libraries -+ // libva.so -+ // libva-x11.so (X11) -+ // libva-drm.so (X11 and Ozone). -+ static bool result = InitializeStubs(paths); -+ if (!result) { -+ static const char kErrorMsg[] = "Failed to initialize VAAPI libs"; -+#if defined(OS_CHROMEOS) -+ // When Chrome runs on Linux with target_os="chromeos", do not log error -+ // message without VAAPI libraries. -+ LOG_IF(ERROR, base::SysInfo::IsRunningOnChromeOS()) << kErrorMsg; -+#else -+ DVLOG(1) << kErrorMsg; -+#endif -+ } -+ -+ // VASupportedProfiles::Get creates VADisplayState and in so doing -+ // driver associated libraries are dlopen(), to know: -+ // i965_drv_video.so -+ // hybrid_drv_video.so (platforms that support it) -+ // libcmrt.so (platforms that support it) -+ VASupportedProfiles::Get(); - } - - VaapiWrapper::VaapiWrapper() diff --git a/chromium-vaapi.patch b/chromium-vaapi.patch index 929373a..0b129bd 100644 --- a/chromium-vaapi.patch +++ b/chromium-vaapi.patch @@ -1,4 +1,4 @@ -From 4bf343ab8c4a538205f9c1e96a661e40620c716b Mon Sep 17 00:00:00 2001 +From d9ef948bf4a739f95acbd98ef88b04caa29d8dda Mon Sep 17 00:00:00 2001 From: Daniel Charles Date: Fri, 09 Feb 2018 14:39:27 -0800 Subject: [PATCH] Enable VAVDA, VAVEA and VAJDA on linux with VAAPI only @@ -29,14 +29,16 @@ TEST=subjective testing with VAVDA,VAVEA and VAJDA, autotest for encoder have libva/intel-vaapi-driver installed and not installed in the system repeat on different hardware families -Cq-Include-Trybots: master.tryserver.chromium.android:android_optional_gpu_tests_rel;master.tryserver.chromium.linux:linux_optional_gpu_tests_rel;master.tryserver.chromium.mac:mac_optional_gpu_tests_rel;master.tryserver.chromium.win:win_optional_gpu_tests_rel +Cq-Include-Trybots: luci.chromium.try:android_optional_gpu_tests_rel;luci.chromium.try:linux_optional_gpu_tests_rel;luci.chromium.try:mac_optional_gpu_tests_rel;master.tryserver.chromium.win:win_optional_gpu_tests_rel Change-Id: Ifbbf5c9e5221a8b5733fc6d4d0cf984a1f103171 Signed-off-by: Daniel Charles --- ---- a/chrome/browser/about_flags.cc -+++ b/chrome/browser/about_flags.cc -@@ -1249,12 +1249,14 @@ const FeatureEntry kFeatureEntries[] = { +Index: chromium-66.0.3359.81/chrome/browser/about_flags.cc +=================================================================== +--- chromium-66.0.3359.81.orig/chrome/browser/about_flags.cc ++++ chromium-66.0.3359.81/chrome/browser/about_flags.cc +@@ -1234,12 +1234,14 @@ const FeatureEntry kFeatureEntries[] = { flag_descriptions::kUiPartialSwapDescription, kOsAll, SINGLE_DISABLE_VALUE_TYPE(switches::kUIDisablePartialSwap)}, #if BUILDFLAG(ENABLE_WEBRTC) @@ -51,7 +53,7 @@ Signed-off-by: Daniel Charles {"enable-webrtc-hw-h264-encoding", flag_descriptions::kWebrtcHwH264EncodingName, flag_descriptions::kWebrtcHwH264EncodingDescription, kOsAndroid | kOsCrOS, -@@ -1550,6 +1552,13 @@ const FeatureEntry kFeatureEntries[] = { +@@ -1553,6 +1555,13 @@ const FeatureEntry kFeatureEntries[] = { flag_descriptions::kShowTouchHudDescription, kOsCrOS, SINGLE_VALUE_TYPE(ash::switches::kAshTouchHud)}, #endif // OS_CHROMEOS @@ -65,7 +67,7 @@ Signed-off-by: Daniel Charles { "disable-accelerated-video-decode", flag_descriptions::kAcceleratedVideoDecodeName, -@@ -1557,6 +1566,7 @@ const FeatureEntry kFeatureEntries[] = { +@@ -1560,6 +1569,7 @@ const FeatureEntry kFeatureEntries[] = { kOsMac | kOsWin | kOsCrOS | kOsAndroid, SINGLE_DISABLE_VALUE_TYPE(switches::kDisableAcceleratedVideoDecode), }, @@ -73,7 +75,7 @@ Signed-off-by: Daniel Charles #if defined(OS_WIN) {"enable-hdr", flag_descriptions::kEnableHDRName, flag_descriptions::kEnableHDRDescription, kOsWin, -@@ -2268,12 +2278,17 @@ const FeatureEntry kFeatureEntries[] = { +@@ -2280,12 +2290,17 @@ const FeatureEntry kFeatureEntries[] = { FEATURE_VALUE_TYPE(features::kOpenVR)}, #endif // ENABLE_OPENVR #endif // ENABLE_VR @@ -93,8 +95,10 @@ Signed-off-by: Daniel Charles {"v8-cache-options", flag_descriptions::kV8CacheOptionsName, flag_descriptions::kV8CacheOptionsDescription, kOsAll, MULTI_VALUE_TYPE(kV8CacheOptionsChoices)}, ---- a/chrome/browser/chromeos/login/chrome_restart_request.cc -+++ b/chrome/browser/chromeos/login/chrome_restart_request.cc +Index: chromium-66.0.3359.81/chrome/browser/chromeos/login/chrome_restart_request.cc +=================================================================== +--- chromium-66.0.3359.81.orig/chrome/browser/chromeos/login/chrome_restart_request.cc ++++ chromium-66.0.3359.81/chrome/browser/chromeos/login/chrome_restart_request.cc @@ -19,6 +19,7 @@ #include "base/sys_info.h" #include "base/timer/timer.h" @@ -118,7 +122,7 @@ Signed-off-by: Daniel Charles ::switches::kDisableBlinkFeatures, ::switches::kDisableCastStreamingHWEncoding, ::switches::kDisableDistanceFieldText, -@@ -164,7 +170,7 @@ void DeriveCommandLine(const GURL& start +@@ -163,7 +169,7 @@ void DeriveCommandLine(const GURL& start ::switches::kDisableWebGLImageChromium, ::switches::kEnableWebGLImageChromium, ::switches::kEnableWebVR, @@ -127,8 +131,10 @@ Signed-off-by: Daniel Charles ::switches::kDisableWebRtcHWDecoding, ::switches::kDisableWebRtcHWEncoding, #endif ---- a/chrome/browser/flag_descriptions.cc -+++ b/chrome/browser/flag_descriptions.cc +Index: chromium-66.0.3359.81/chrome/browser/flag_descriptions.cc +=================================================================== +--- chromium-66.0.3359.81.orig/chrome/browser/flag_descriptions.cc ++++ chromium-66.0.3359.81/chrome/browser/flag_descriptions.cc @@ -14,6 +14,13 @@ const char kAccelerated2dCanvasDescripti "Enables the use of the GPU to perform 2d canvas rendering instead of " "using software rendering."; @@ -143,7 +149,7 @@ Signed-off-by: Daniel Charles const char kAcceleratedVideoDecodeName[] = "Hardware-accelerated video decode"; const char kAcceleratedVideoDecodeDescription[] = "Hardware-accelerated video decode where available."; -@@ -1597,6 +1604,7 @@ const char kWebrtcEchoCanceller3Name[] = +@@ -1723,6 +1730,7 @@ const char kWebrtcEchoCanceller3Name[] = const char kWebrtcEchoCanceller3Description[] = "Experimental WebRTC echo canceller (AEC3)."; @@ -151,7 +157,7 @@ Signed-off-by: Daniel Charles const char kWebrtcHwDecodingName[] = "WebRTC hardware video decoding"; const char kWebrtcHwDecodingDescription[] = "Support in WebRTC for decoding video streams using platform hardware."; -@@ -1604,6 +1612,7 @@ const char kWebrtcHwDecodingDescription[ +@@ -1730,6 +1738,7 @@ const char kWebrtcHwDecodingDescription[ const char kWebrtcHwEncodingName[] = "WebRTC hardware video encoding"; const char kWebrtcHwEncodingDescription[] = "Support in WebRTC for encoding video streams using platform hardware."; @@ -159,7 +165,7 @@ Signed-off-by: Daniel Charles const char kWebrtcHwH264EncodingName[] = "WebRTC hardware h264 video encoding"; const char kWebrtcHwH264EncodingDescription[] = -@@ -2434,14 +2443,16 @@ const char kTranslateNewUxDescription[] +@@ -2549,14 +2558,16 @@ const char kTabStripKeyboardFocusDescrip // Chrome OS ------------------------------------------------------------------- @@ -177,8 +183,10 @@ Signed-off-by: Daniel Charles const char kAllowTouchpadThreeFingerClickName[] = "Touchpad three-finger-click"; const char kAllowTouchpadThreeFingerClickDescription[] = "Enables touchpad three-finger-click as middle button."; ---- a/chrome/browser/flag_descriptions.h -+++ b/chrome/browser/flag_descriptions.h +Index: chromium-66.0.3359.81/chrome/browser/flag_descriptions.h +=================================================================== +--- chromium-66.0.3359.81.orig/chrome/browser/flag_descriptions.h ++++ chromium-66.0.3359.81/chrome/browser/flag_descriptions.h @@ -37,6 +37,10 @@ namespace flag_descriptions { extern const char kAccelerated2dCanvasName[]; extern const char kAccelerated2dCanvasDescription[]; @@ -190,7 +198,7 @@ Signed-off-by: Daniel Charles extern const char kAcceleratedVideoDecodeName[]; extern const char kAcceleratedVideoDecodeDescription[]; -@@ -1498,13 +1502,17 @@ extern const char kPermissionPromptPersi +@@ -1561,13 +1565,17 @@ extern const char kPermissionPromptPersi #endif // defined(OS_MACOSX) @@ -211,9 +219,11 @@ Signed-off-by: Daniel Charles extern const char kAllowTouchpadThreeFingerClickName[]; extern const char kAllowTouchpadThreeFingerClickDescription[]; ---- a/content/browser/gpu/compositor_util.cc -+++ b/content/browser/gpu/compositor_util.cc -@@ -98,7 +98,11 @@ const GpuFeatureData GetGpuFeatureData(s +Index: chromium-66.0.3359.81/content/browser/gpu/compositor_util.cc +=================================================================== +--- chromium-66.0.3359.81.orig/content/browser/gpu/compositor_util.cc ++++ chromium-66.0.3359.81/content/browser/gpu/compositor_util.cc +@@ -99,7 +99,11 @@ const GpuFeatureData GetGpuFeatureData(s {"video_decode", manager->GetFeatureStatus( gpu::GPU_FEATURE_TYPE_ACCELERATED_VIDEO_DECODE), @@ -225,9 +235,11 @@ Signed-off-by: Daniel Charles "Accelerated video decode has been disabled, either via blacklist," " about:flags or the command line.", true}, ---- a/content/browser/gpu/gpu_process_host.cc -+++ b/content/browser/gpu/gpu_process_host.cc -@@ -120,7 +120,7 @@ static const char* const kSwitchNames[] +Index: chromium-66.0.3359.81/content/browser/gpu/gpu_process_host.cc +=================================================================== +--- chromium-66.0.3359.81.orig/content/browser/gpu/gpu_process_host.cc ++++ chromium-66.0.3359.81/content/browser/gpu/gpu_process_host.cc +@@ -132,7 +132,7 @@ static const char* const kSwitchNames[] switches::kDisableGLExtensions, switches::kDisableLogging, switches::kDisableShaderNameHashing, @@ -236,9 +248,11 @@ Signed-off-by: Daniel Charles switches::kDisableWebRtcHWEncoding, #endif #if defined(OS_WIN) ---- a/content/browser/renderer_host/media/video_capture_browsertest.cc -+++ b/content/browser/renderer_host/media/video_capture_browsertest.cc -@@ -164,8 +164,13 @@ class VideoCaptureBrowserTest : public C +Index: chromium-66.0.3359.81/content/browser/renderer_host/media/video_capture_browsertest.cc +=================================================================== +--- chromium-66.0.3359.81.orig/content/browser/renderer_host/media/video_capture_browsertest.cc ++++ chromium-66.0.3359.81/content/browser/renderer_host/media/video_capture_browsertest.cc +@@ -163,8 +163,13 @@ class VideoCaptureBrowserTest : public C base::CommandLine::ForCurrentProcess()->AppendSwitch( switches::kUseFakeJpegDecodeAccelerator); } else { @@ -252,8 +266,10 @@ Signed-off-by: Daniel Charles } } ---- a/content/browser/renderer_host/media/video_capture_gpu_jpeg_decoder.cc -+++ b/content/browser/renderer_host/media/video_capture_gpu_jpeg_decoder.cc +Index: chromium-66.0.3359.81/content/browser/renderer_host/media/video_capture_gpu_jpeg_decoder.cc +=================================================================== +--- chromium-66.0.3359.81.orig/content/browser/renderer_host/media/video_capture_gpu_jpeg_decoder.cc ++++ chromium-66.0.3359.81/content/browser/renderer_host/media/video_capture_gpu_jpeg_decoder.cc @@ -65,15 +65,21 @@ void VideoCaptureGpuJpegDecoder::Initial bool is_platform_supported = base::CommandLine::ForCurrentProcess()->HasSwitch( @@ -280,9 +296,11 @@ Signed-off-by: Daniel Charles decoder_status_ = FAILED; RecordInitDecodeUMA_Locked(); return; ---- a/content/browser/renderer_host/render_process_host_impl.cc -+++ b/content/browser/renderer_host/render_process_host_impl.cc -@@ -2530,7 +2530,11 @@ void RenderProcessHostImpl::PropagateBro +Index: chromium-66.0.3359.81/content/browser/renderer_host/render_process_host_impl.cc +=================================================================== +--- chromium-66.0.3359.81.orig/content/browser/renderer_host/render_process_host_impl.cc ++++ chromium-66.0.3359.81/content/browser/renderer_host/render_process_host_impl.cc +@@ -2524,7 +2524,11 @@ void RenderProcessHostImpl::PropagateBro switches::kDefaultTileHeight, switches::kDisable2dCanvasImageChromium, switches::kDisableAcceleratedJpegDecoding, @@ -294,7 +312,7 @@ Signed-off-by: Daniel Charles switches::kDisableBackgroundTimerThrottling, switches::kDisableBreakpad, switches::kDisableCompositorUkmForTests, -@@ -2663,8 +2667,10 @@ void RenderProcessHostImpl::PropagateBro +@@ -2658,8 +2662,10 @@ void RenderProcessHostImpl::PropagateBro switches::kDisableMojoRenderer, #endif #if BUILDFLAG(ENABLE_WEBRTC) @@ -305,8 +323,10 @@ Signed-off-by: Daniel Charles switches::kEnableWebRtcSrtpAesGcm, switches::kEnableWebRtcSrtpEncryptedHeaders, switches::kEnableWebRtcStunOrigin, ---- a/content/browser/webrtc/webrtc_media_recorder_browsertest.cc -+++ b/content/browser/webrtc/webrtc_media_recorder_browsertest.cc +Index: chromium-66.0.3359.81/content/browser/webrtc/webrtc_media_recorder_browsertest.cc +=================================================================== +--- chromium-66.0.3359.81.orig/content/browser/webrtc/webrtc_media_recorder_browsertest.cc ++++ chromium-66.0.3359.81/content/browser/webrtc/webrtc_media_recorder_browsertest.cc @@ -58,7 +58,12 @@ class WebRtcMediaRecorderTest return; // This flag is also used for encoding, https://crbug.com/616640. @@ -321,10 +341,12 @@ Signed-off-by: Daniel Charles } private: ---- a/content/gpu/BUILD.gn -+++ b/content/gpu/BUILD.gn -@@ -125,4 +125,8 @@ target(link_target_type, "gpu_sources") - if (is_desktop_linux && (!is_chromecast || is_cast_desktop_build)) { +Index: chromium-66.0.3359.81/content/gpu/BUILD.gn +=================================================================== +--- chromium-66.0.3359.81.orig/content/gpu/BUILD.gn ++++ chromium-66.0.3359.81/content/gpu/BUILD.gn +@@ -130,4 +130,8 @@ target(link_target_type, "gpu_sources") + (!is_chromecast || is_cast_desktop_build)) { configs += [ "//build/config/linux/dri" ] } + @@ -332,9 +354,11 @@ Signed-off-by: Daniel Charles + public_configs = [ "//media/gpu:libva_config" ] + } } ---- a/content/gpu/gpu_main.cc -+++ b/content/gpu/gpu_main.cc -@@ -273,7 +273,7 @@ int GpuMain(const MainFunctionParams& pa +Index: chromium-66.0.3359.81/content/gpu/gpu_main.cc +=================================================================== +--- chromium-66.0.3359.81.orig/content/gpu/gpu_main.cc ++++ chromium-66.0.3359.81/content/gpu/gpu_main.cc +@@ -286,7 +286,7 @@ int GpuMain(const MainFunctionParams& pa base::PlatformThread::SetName("CrGpuMain"); @@ -343,7 +367,7 @@ Signed-off-by: Daniel Charles // Set thread priority before sandbox initialization. base::PlatformThread::SetCurrentThreadPriority(base::ThreadPriority::DISPLAY); #endif -@@ -302,7 +302,7 @@ int GpuMain(const MainFunctionParams& pa +@@ -315,7 +315,7 @@ int GpuMain(const MainFunctionParams& pa GetContentClient()->SetGpuInfo(gpu_init->gpu_info()); base::ThreadPriority io_thread_priority = base::ThreadPriority::NORMAL; @@ -352,8 +376,10 @@ Signed-off-by: Daniel Charles io_thread_priority = base::ThreadPriority::DISPLAY; #endif ---- a/content/public/browser/gpu_utils.cc -+++ b/content/public/browser/gpu_utils.cc +Index: chromium-66.0.3359.81/content/public/browser/gpu_utils.cc +=================================================================== +--- chromium-66.0.3359.81.orig/content/public/browser/gpu_utils.cc ++++ chromium-66.0.3359.81/content/public/browser/gpu_utils.cc @@ -7,6 +7,7 @@ #include "base/command_line.h" #include "base/single_thread_task_runner.h" @@ -362,7 +388,7 @@ Signed-off-by: Daniel Charles #include "content/browser/gpu/gpu_process_host.h" #include "content/public/common/content_features.h" #include "content/public/common/content_switches.h" -@@ -55,10 +56,18 @@ const gpu::GpuPreferences GetGpuPreferen +@@ -55,9 +56,17 @@ const gpu::GpuPreferences GetGpuPreferen gpu_preferences.in_process_gpu = command_line->HasSwitch(switches::kInProcessGPU); gpu_preferences.disable_accelerated_video_decode = @@ -376,14 +402,14 @@ Signed-off-by: Daniel Charles + !command_line->HasSwitch(switches::kEnableAcceleratedVideo); +#else command_line->HasSwitch(switches::kDisableAcceleratedVideoEncode); --#if BUILDFLAG(ENABLE_WEBRTC) +#endif -+#if BUILDFLAG(ENABLE_WEBRTC) && (defined(OS_CHROMEOS) || defined(OS_ANDROID)) - gpu_preferences.disable_web_rtc_hw_encoding = - command_line->HasSwitch(switches::kDisableWebRtcHWEncoding); - #endif ---- a/content/public/common/content_switches.cc -+++ b/content/public/common/content_switches.cc + #if defined(OS_WIN) + uint32_t enable_accelerated_vpx_decode_val = + gpu::GpuPreferences::VPX_VENDOR_MICROSOFT; +Index: chromium-66.0.3359.81/content/public/common/content_switches.cc +=================================================================== +--- chromium-66.0.3359.81.orig/content/public/common/content_switches.cc ++++ chromium-66.0.3359.81/content/public/common/content_switches.cc @@ -78,12 +78,21 @@ const char kDisable3DAPIs[] // Disable gpu-accelerated 2d canvas. @@ -407,7 +433,7 @@ Signed-off-by: Daniel Charles // Disables hardware acceleration of video decode, where available. const char kDisableAcceleratedVideoDecode[] = "disable-accelerated-video-decode"; -@@ -888,11 +897,13 @@ const char kZygoteProcess[] +@@ -859,11 +868,13 @@ const char kZygoteProcess[] // ignores this switch on its stable and beta channels. const char kDisableWebRtcEncryption[] = "disable-webrtc-encryption"; @@ -421,8 +447,10 @@ Signed-off-by: Daniel Charles // Enables negotiation of GCM cipher suites from RFC 7714 for SRTP in WebRTC. // See https://tools.ietf.org/html/rfc7714 for further information. ---- a/content/public/common/content_switches.h -+++ b/content/public/common/content_switches.h +Index: chromium-66.0.3359.81/content/public/common/content_switches.h +=================================================================== +--- chromium-66.0.3359.81.orig/content/public/common/content_switches.h ++++ chromium-66.0.3359.81/content/public/common/content_switches.h @@ -33,7 +33,11 @@ CONTENT_EXPORT extern const char kDisabl CONTENT_EXPORT extern const char kDisable3DAPIs[]; CONTENT_EXPORT extern const char kDisableAccelerated2dCanvas[]; @@ -435,7 +463,7 @@ Signed-off-by: Daniel Charles CONTENT_EXPORT extern const char kDisableAcceleratedVideoDecode[]; CONTENT_EXPORT extern const char kDisableAcceleratedVideoEncode[]; CONTENT_EXPORT extern const char kDisableAudioSupportForDesktopShare[]; -@@ -107,6 +111,9 @@ CONTENT_EXPORT extern const char kDisabl +@@ -106,6 +110,9 @@ CONTENT_EXPORT extern const char kDisabl CONTENT_EXPORT extern const char kDomAutomationController[]; extern const char kDisable2dCanvasClipAntialiasing[]; CONTENT_EXPORT extern const char kDumpBlinkRuntimeCallStats[]; @@ -445,7 +473,7 @@ Signed-off-by: Daniel Charles CONTENT_EXPORT extern const char kEnableAggressiveDOMStorageFlushing[]; CONTENT_EXPORT extern const char kEnableAutomation[]; CONTENT_EXPORT extern const char kEnablePreferCompositingToLCDText[]; -@@ -244,8 +251,10 @@ CONTENT_EXPORT extern const char kZygote +@@ -240,8 +247,10 @@ CONTENT_EXPORT extern const char kZygote #if BUILDFLAG(ENABLE_WEBRTC) CONTENT_EXPORT extern const char kDisableWebRtcEncryption[]; @@ -456,9 +484,11 @@ Signed-off-by: Daniel Charles CONTENT_EXPORT extern const char kEnableWebRtcSrtpAesGcm[]; CONTENT_EXPORT extern const char kEnableWebRtcSrtpEncryptedHeaders[]; CONTENT_EXPORT extern const char kEnableWebRtcStunOrigin[]; ---- a/content/renderer/media/webrtc/peer_connection_dependency_factory.cc -+++ b/content/renderer/media/webrtc/peer_connection_dependency_factory.cc -@@ -245,12 +245,19 @@ void PeerConnectionDependencyFactory::In +Index: chromium-66.0.3359.81/content/renderer/media/webrtc/peer_connection_dependency_factory.cc +=================================================================== +--- chromium-66.0.3359.81.orig/content/renderer/media/webrtc/peer_connection_dependency_factory.cc ++++ chromium-66.0.3359.81/content/renderer/media/webrtc/peer_connection_dependency_factory.cc +@@ -282,10 +282,18 @@ void PeerConnectionDependencyFactory::In const base::CommandLine* cmd_line = base::CommandLine::ForCurrentProcess(); if (gpu_factories && gpu_factories->IsGpuVideoAcceleratorEnabled()) { @@ -469,20 +499,19 @@ Signed-off-by: Daniel Charles +#endif decoder_factory.reset(new RTCVideoDecoderFactory(gpu_factories)); -- if (!cmd_line->HasSwitch(switches::kDisableWebRtcHWEncoding)) { +#if defined(OS_LINUX) && !defined(OS_CHROMEOS) + if (cmd_line->HasSwitch(switches::kEnableAcceleratedVideo)) +#else -+ if (!cmd_line->HasSwitch(switches::kDisableWebRtcHWEncoding)) + if (!cmd_line->HasSwitch(switches::kDisableWebRtcHWEncoding)) +#endif encoder_factory.reset(new RTCVideoEncoderFactory(gpu_factories)); -- } } - #if defined(OS_ANDROID) ---- a/content/renderer/render_thread_impl.cc -+++ b/content/renderer/render_thread_impl.cc -@@ -1485,7 +1485,11 @@ media::GpuVideoAcceleratorFactories* Ren +Index: chromium-66.0.3359.81/content/renderer/render_thread_impl.cc +=================================================================== +--- chromium-66.0.3359.81.orig/content/renderer/render_thread_impl.cc ++++ chromium-66.0.3359.81/content/renderer/render_thread_impl.cc +@@ -1581,7 +1581,11 @@ media::GpuVideoAcceleratorFactories* Ren scoped_refptr media_task_runner = GetMediaThreadTaskRunner(); const bool enable_video_accelerator = @@ -494,8 +523,10 @@ Signed-off-by: Daniel Charles (gpu_channel_host->gpu_feature_info() .status_values[gpu::GPU_FEATURE_TYPE_ACCELERATED_VIDEO_DECODE] == gpu::kGpuFeatureStatusEnabled); ---- a/gpu/config/software_rendering_list.json -+++ b/gpu/config/software_rendering_list.json +Index: chromium-66.0.3359.81/gpu/config/software_rendering_list.json +=================================================================== +--- chromium-66.0.3359.81.orig/gpu/config/software_rendering_list.json ++++ chromium-66.0.3359.81/gpu/config/software_rendering_list.json @@ -373,17 +373,6 @@ ] }, @@ -514,10 +545,12 @@ Signed-off-by: Daniel Charles "id": 50, "description": "Disable VMware software renderer on older Mesa", "cr_bugs": [145531, 332596, 571899, 629434], ---- a/media/gpu/BUILD.gn -+++ b/media/gpu/BUILD.gn -@@ -24,6 +24,14 @@ if (is_mac) { - import("//build/config/mac/mac_sdk.gni") +Index: chromium-66.0.3359.81/media/gpu/BUILD.gn +=================================================================== +--- chromium-66.0.3359.81.orig/media/gpu/BUILD.gn ++++ chromium-66.0.3359.81/media/gpu/BUILD.gn +@@ -482,6 +482,14 @@ if (use_v4l2_codec || use_vaapi || is_ma + } } +if (is_desktop_linux && use_vaapi) { @@ -529,9 +562,9 @@ Signed-off-by: Daniel Charles +} + if (use_vaapi) { - action("libva_generate_stubs") { - extra_header = "vaapi/va_stub_header.fragment" -@@ -353,6 +361,10 @@ component("gpu") { + test("jpeg_encode_accelerator_unittest") { + deps = [ +@@ -542,6 +550,10 @@ if (use_v4l2_codec || use_vaapi) { if (use_ozone) { deps += [ "//ui/ozone" ] } @@ -540,5 +573,5 @@ Signed-off-by: Daniel Charles + public_configs = [ ":libva_config" ] + } } + } - if (is_win) { diff --git a/chromium.changes b/chromium.changes index d3a6a07..98c8caa 100644 --- a/chromium.changes +++ b/chromium.changes @@ -1,105 +1,91 @@ ------------------------------------------------------------------- -Sun Apr 8 10:49:06 UTC 2018 - tchvatal@suse.com +Thu Apr 5 09:48:59 UTC 2018 - tchvatal@suse.com -- Add vaapi patches: - * chromium-vaapi-init.patch - * chromium-vaapi.patch +- Up to 66.0.3359.81 ------------------------------------------------------------------- -Fri Apr 6 12:54:24 UTC 2018 - tchvatal@suse.com +Thu Mar 29 09:49:15 UTC 2018 - tchvatal@suse.com -- Use memory-constraints package to limit threads as needed +- Bump to 66.0.3359.66 ------------------------------------------------------------------- -Wed Mar 21 06:31:27 UTC 2018 - astieger@suse.com +Tue Mar 27 14:28:38 UTC 2018 - tchvatal@suse.com -- Update to Chromium 65.0.3325.181: - * Various security relevant fixes from internal audits, fuzzing - and other initiatives (boo#1086124) +- Update chromium-gcc7.patch to include more quirks ------------------------------------------------------------------- -Tue Mar 20 12:33:53 UTC 2018 - tchvatal@suse.com +Fri Mar 23 12:01:29 UTC 2018 - tchvatal@suse.com -- Use both freetype and harfbuzz either bundled or system +- Bump to 66.0.3359.45 ------------------------------------------------------------------- -Wed Mar 14 14:18:35 UTC 2018 - tchvatal@suse.com +Tue Mar 20 10:14:15 UTC 2018 - tchvatal@suse.com -- Version update to 65.0.3325.162: - * Various stability fixes only +- Bump to 66.0.3359.33 ------------------------------------------------------------------- -Wed Mar 14 09:00:37 UTC 2018 - tchvatal@suse.com +Wed Mar 14 14:19:21 UTC 2018 - tchvatal@suse.com -- Bundle the harfbuzz on < 15.0 release as we would have to - use requires_ge for the library itself later on otherwise +- Version bump to 66.0.3359.26 ------------------------------------------------------------------- -Fri Mar 9 09:10:01 UTC 2018 - tchvatal@suse.com +Wed Mar 14 13:32:18 UTC 2018 - tchvatal@suse.com -- Make sure to require gcc7 -- Add patch chromium-drm.patch to make sure to build with Leap 42.3 - variant of libdrm +- Bump the requirement for the clang version ------------------------------------------------------------------- -Thu Mar 8 09:00:54 UTC 2018 - tchvatal@suse.com +Wed Mar 14 09:01:33 UTC 2018 - tchvatal@suse.com -- Version update to 65.0.3325.146 bsc#1084296: - * High CVE-2017-11215: Use after free in Flash. - * High CVE-2017-11225: Use after free in Flash. - * High CVE-2018-6060: Use after free in Blink. - * High CVE-2018-6061: Race condition in V8. - * High CVE-2018-6062: Heap buffer overflow in Skia. - * High CVE-2018-6057: Incorrect permissions on shared memory. - * High CVE-2018-6063: Incorrect permissions on shared memory. - * High CVE-2018-6064: Type confusion in V8. - * High CVE-2018-6065: Integer overflow in V8. - * Medium CVE-2018-6066: Same Origin Bypass via canvas. - * Medium CVE-2018-6067: Buffer overflow in Skia. - * Medium CVE-2018-6068: Object lifecycle issues in Chrome Custom Tab. - * Medium CVE-2018-6069: Stack buffer overflow in Skia. - * Medium CVE-2018-6070: CSP bypass through extensions. - * Medium CVE-2018-6071: Heap bufffer overflow in Skia. - * Medium CVE-2018-6072: Integer overflow in PDFium. - * Medium CVE-2018-6073: Heap bufffer overflow in WebGL. - * Medium CVE-2018-6074: Mark-of-the-Web bypass. - * Medium CVE-2018-6075: Overly permissive cross origin downloads. - * Medium CVE-2018-6076: Incorrect handling of URL fragment identifiers in Blink. - * Medium CVE-2018-6077: Timing attack using SVG filters. - * Medium CVE-2018-6078: URL Spoof in OmniBox. - * Medium CVE-2018-6079: Information disclosure via texture data in WebGL. - * Medium CVE-2018-6080: Information disclosure in IPC call. - * Low CVE-2018-6081: XSS in interstitials. - * Low CVE-2018-6082: Circumvention of port blocking. - * Low CVE-2018-6083: Incorrect processing of AppManifests. -- Add new patches: - * chromium-compiler.patch - * chromium-glibc-2.27.patch - * mojo.patch -- Drop patches: - * chromium-angle.patch - * chromium-memcpy.patch -- Update constraints -- Refresh patch chromium-non-void-return.patch to include more - fixes +- Conditionalize harfbuzz switch ------------------------------------------------------------------- -Sat Feb 24 19:02:51 UTC 2018 - astieger@suse.com +Mon Mar 12 10:18:18 UTC 2018 - tchvatal@suse.com -- Chromium 64.0.3282.186: - * Various minor bug fixes +- Update to 66.0.3359.22 ------------------------------------------------------------------- -Wed Feb 14 08:16:34 UTC 2018 - astieger@suse.com +Fri Mar 9 11:20:35 UTC 2018 - tchvatal@suse.com -- update to 64.0.3282.167 (bsc#1080920): - * CVE-2018-6056: Incorrect derived class instantiation in V8 +- Apply patches using %autopatch +- Add patch to build with gcc7 properly chromium-gcc7.patch +- Drop patch chromium-sandbox-pie.patch as we have pie default now +- Add patch to build with leap variant of drm chromium-drm.patch ------------------------------------------------------------------- -Fri Feb 2 11:16:23 UTC 2018 - tchvatal@suse.com +Wed Mar 7 12:11:45 UTC 2018 - tchvatal@suse.com -- Version update to 64.0.3282.140 bsc#1079021: - * Various asan fixes bsc#1078463 CVE-2018-6406 +- Add patch to build ffmpeg from system chromium-ffmpeg.patch + +------------------------------------------------------------------- +Wed Mar 7 10:30:24 UTC 2018 - tchvatal@suse.com + +- Up to 66.0.3355.0 +- Disable clang by default again + +------------------------------------------------------------------- +Tue Feb 27 09:35:21 UTC 2018 - tchvatal@suse.com + +- Up to 66.0.3350.0 + +------------------------------------------------------------------- +Thu Feb 15 09:08:22 UTC 2018 - tchvatal@suse.com + +- Drop patch fix_network_api_crash.patch + +------------------------------------------------------------------- +Mon Feb 12 10:10:58 UTC 2018 - tchvatal@suse.com + +- Bump to 66.0.3343.3 + +------------------------------------------------------------------- +Wed Feb 7 13:58:33 UTC 2018 - tchvatal@suse.com + +- Bump to 65.0.3325.51 + +------------------------------------------------------------------- +Tue Feb 6 12:00:36 UTC 2018 - tchvatal@suse.com + +- Disable gconf support ------------------------------------------------------------------- Fri Feb 2 10:43:48 UTC 2018 - dimstar@opensuse.org @@ -110,9 +96,9 @@ Fri Feb 2 10:43:48 UTC 2018 - dimstar@opensuse.org /proc/meminfo. ------------------------------------------------------------------- -Mon Jan 29 13:07:38 UTC 2018 - tchvatal@suse.com +Wed Jan 31 09:45:45 UTC 2018 - tchvatal@suse.com -- Fix default page to not point to 404 +- Bump to 65.0.3325.31 ------------------------------------------------------------------- Mon Jan 29 12:36:31 UTC 2018 - tchvatal@suse.com @@ -120,318 +106,296 @@ Mon Jan 29 12:36:31 UTC 2018 - tchvatal@suse.com - Install swiftshader objects too as they are needed ------------------------------------------------------------------- -Fri Jan 26 10:11:22 UTC 2018 - tchvatal@suse.com +Fri Jan 26 10:12:22 UTC 2018 - tchvatal@suse.com -- Disable ozone stuff conditions for now as the headless mode - breaks up runtime bsc#1077722 +- Update to 65.0.3325.18 +- Try to have automatic ozone platform detection ------------------------------------------------------------------- -Thu Jan 25 09:51:59 UTC 2018 - tchvatal@suse.com +Wed Jan 17 14:28:37 UTC 2018 - tchvatal@suse.com -- Switch to gcc7 on Leap builds +- Bump to 65.0.3322.3 ------------------------------------------------------------------- -Thu Jan 25 09:42:51 UTC 2018 - tchvatal@suse.com +Mon Jan 8 20:12:43 UTC 2018 - tchvatal@suse.com -- Version update to 64.0.3282.119 bsc#1077571: - * High CVE-2018-6031: Use after free in PDFium. Reported by Anonymous on 2017-11-01 - * High CVE-2018-6032: Same origin bypass in Shared Worker. Reported by Jun Kokatsu (@shhnjk) on 2017-11-20 - * High CVE-2018-6033: Race when opening downloaded files. Reported by Juho Nurminen on 2017-12-09 - * Medium CVE-2018-6034: Integer overflow in Blink. Reported by Tobias Klein (www.trapkit.de) on 2017-11-12 - * Medium CVE-2018-6035: Insufficient isolation of devtools from extensions. Reported by Rob Wu on 2017-12-23 - * Medium CVE-2018-6036: Integer underflow in WebAssembly. Reported by The UK's National Cyber Security Centre (NCSC) on 2017-11-30 - * Medium CVE-2018-6037: Insufficient user gesture requirements in autofill. Reported by Paul Stone of Context Information Security on 2017-08-09 - * Medium CVE-2018-6038: Heap buffer overflow in WebGL. Reported by cloudfuzzer on 2017-10-12 - * Medium CVE-2018-6039: XSS in DevTools. Reported by Juho Nurminen on 2017-10-17 - * Medium CVE-2018-6040: Content security policy bypass. Reported by WenXu Wu of Tencent's Xuanwu Lab on 2017-10-26 - * Medium CVE-2018-6041: URL spoof in Navigation. Reported by Luan Herrera on 2017-08-29 - * Medium CVE-2018-6042: URL spoof in OmniBox. Reported by Khalil Zhani on 2017-10-12 - * Medium CVE-2018-6043: Insufficient escaping with external URL handlers. Reported by 0x09AL on 2017-11-16 - * Medium CVE-2018-6045: Insufficient isolation of devtools from extensions. Reported by Rob Wu on 2017-12-23 - * Medium CVE-2018-6046: Insufficient isolation of devtools from extensions. Reported by Rob Wu on 2017-12-31 - * Medium CVE-2018-6047: Cross origin URL leak in WebGL. Reported by Masato Kinugawa on 2018-01-08 - * Low CVE-2018-6048: Referrer policy bypass in Blink. Reported by Jun Kokatsu (@shhnjk) on 2017-09-08 - * Low CVE-2017-15420: URL spoofing in Omnibox. Reported by Drew Springall (@_aaspring_) on 2017-10-05 - * Low CVE-2018-6049: UI spoof in Permissions. Reported by WenXu Wu of Tencent's Xuanwu Lab on 2017-10-13 - * Low CVE-2018-6050: URL spoof in OmniBox. Reported by Jonathan Kew on 2017-10-15 - * Low CVE-2018-6051: Referrer leak in XSS Auditor. Reported by Antonio Sanso (@asanso) on 2014-12-11 - * Low CVE-2018-6052: Incomplete no-referrer policy implementation. Reported by Tanner Emek on 2016-05-28 - * Low CVE-2018-6053: Leak of page thumbnails in New Tab Page. Reported by Asset Kabdenov on 2017-08-23 - * Low CVE-2018-6054: Use after free in WebUI. Reported by Rob Wu on 2017-12-24 -- Add patches: - * chromium-angle.patch - * chromium-memcpy.patch -- Drop patch: - * chromium-gcc.patch -- Change desktop file name to fit bellow the icon on ie KDE desktop +- Bump to 65.0.3311.3 +- Drop chromium-63.0.3289.84-fix-ft-hb-unbundle.patch ------------------------------------------------------------------- -Thu Jan 4 20:59:31 UTC 2018 - astieger@suse.com +Tue Jan 2 13:14:43 UTC 2018 - tchvatal@suse.com -- Chromium 63.0.3239.132: - * DevTools: do not report raw headers and cookies for protected - subresources - * Various other fixes and updates +- add chromium-63.0.3289.84-fix-ft-hb-unbundle.patch to make sure + we use system freetype/harfbuzz ------------------------------------------------------------------- -Fri Dec 15 09:28:07 UTC 2017 - tchvatal@suse.com +Thu Dec 28 18:00:12 UTC 2017 - tchvatal@suse.com -- Version update to 63.0.3239.108 bsc#1072976: - * CVE-2017-15429: UXSS in V8 - * Various fuzzing fixes +- Make sure to use system freetype too ------------------------------------------------------------------- -Thu Dec 7 09:41:13 UTC 2017 - tchvatal@suse.com +Wed Dec 20 15:38:09 UTC 2017 - tchvatal@suse.com -- Version update to 63.0.3239.84 bsc#1071691: - * Critical CVE-2017-15407: Out of bounds write in QUIC. - * High CVE-2017-15408: Heap buffer overflow in PDFium. - * High CVE-2017-15409: Out of bounds write in Skia. - * High CVE-2017-15410: Use after free in PDFium. - * High CVE-2017-15411: Use after free in PDFium. - * High CVE-2017-15412: Use after free in libXML. - * High CVE-2017-15413: Type confusion in WebAssembly. - * Medium CVE-2017-15415: Pointer information disclosure in IPC call. - * Medium CVE-2017-15416: Out of bounds read in Blink. - * Medium CVE-2017-15417: Cross origin information disclosure in Skia. - * Medium CVE-2017-15418: Use of uninitialized value in Skia. - * Medium CVE-2017-15419: Cross origin leak of redirect URL in Blink. - * Medium CVE-2017-15420: URL spoofing in Omnibox. - * Medium CVE-2017-15422: Integer overflow in ICU. - * Low CVE-2017-15423: Issue with SPAKE implementation in BoringSSL. - * Low CVE-2017-15424: URL Spoof in Omnibox. - * Low CVE-2017-15425: URL Spoof in Omnibox. - * Low CVE-2017-15426: URL Spoof in Omnibox. - * Low CVE-2017-15427: Insufficient blocking of JavaScript in Omnibox. -- Rebase fix-gn-bootstrap.diff -- Drop merged patches: - * chromium-gcc5.patch - * chromium-60.0.3112.113-breakpad-ucontext.patch - * chromium-62.0.3202.62-correct-cplusplus-check.patch -- Add new patches: - * chromium-non-void-return.patch - * chromium-gcc.patch +- Bump 65.0.3298.3 ------------------------------------------------------------------- -Wed Nov 22 11:05:42 UTC 2017 - idonmez@suse.com +Tue Dec 19 09:43:19 UTC 2017 - tchvatal@suse.com + +- Drop chromium-memcpy.patch + +------------------------------------------------------------------- +Mon Dec 18 10:46:25 UTC 2017 - tchvatal@suse.com + +- Drop minizip conditional (was about 42.1) + +------------------------------------------------------------------- +Sun Dec 17 22:52:29 UTC 2017 - tchvatal@suse.com + +- Bump to 65.0.3294.5 + +------------------------------------------------------------------- +Thu Dec 14 14:55:27 UTC 2017 - tchvatal@suse.com + +- Explicitely describe what ozone parts we want + +------------------------------------------------------------------- +Wed Dec 13 09:47:33 UTC 2017 - tchvatal@suse.com + +- Bump to 64.0.3282.24 +- Enable system icu again +- Tweak the deps to match current setup +- Add patch chromium-memcpy.patch + +------------------------------------------------------------------- +Tue Dec 12 12:55:52 UTC 2017 - tchvatal@suse.com + +- Minimize desktop name to not take so much space + +------------------------------------------------------------------- +Sat Dec 9 12:54:27 UTC 2017 - tchvatal@suse.com + +- Bumpyty to 64.0.3282.14 + +------------------------------------------------------------------- +Thu Nov 30 14:32:41 UTC 2017 - tchvatal@suse.com + +- Bumpy to 64.0.3278.0 + +------------------------------------------------------------------- +Wed Nov 22 11:06:47 UTC 2017 - idonmez@suse.com - BuildRequire nodejs8 instead of nodejs6 for suse_version >= 1330 ------------------------------------------------------------------- -Wed Nov 15 14:56:24 UTC 2017 - astieger@suse.com +Sun Nov 19 11:25:52 UTC 2017 - tchvatal@suse.com + +- Drop chromium-64.0.3253.3-gpu_lists_version.h.patch +- Drop chromium-gcc.patch + +------------------------------------------------------------------- +Sun Nov 19 11:20:20 UTC 2017 - tchvatal@suse.com + +- Up to 64.0.3269.3 + +------------------------------------------------------------------- +Wed Nov 15 14:42:55 UTC 2017 - astieger@suse.com -- Update to 62.0.3202.94: - * multiple minor rendering related fixes - fix rebuilds in same chroot ------------------------------------------------------------------- -Tue Nov 7 10:12:28 UTC 2017 - tchvatal@suse.com +Wed Nov 8 21:33:56 UTC 2017 - tchvatal@suse.com -- Version update to 62.0.3202.89 bsc#1066851: - * CVE-2017-15398: Stack buffer overflow in QUIC - * CVE-2017-15399: Use after free in V8 -- Drop upstream merged chromium-sandbox.patch +- Add patch chromium-non-void-return.patch ------------------------------------------------------------------- -Fri Nov 3 12:40:33 UTC 2017 - tchvatal@suse.com +Tue Nov 7 09:41:07 UTC 2017 - tchvatal@suse.com -- Restrict the version on jpeg to not waste build power +- Add patch chromium-64.0.3253.3-gpu_lists_version.h.patch ------------------------------------------------------------------- -Sun Oct 29 08:18:37 UTC 2017 - tchvatal@suse.com +Sat Nov 4 09:38:27 UTC 2017 - tchvatal@suse.com -- Add patch to fix sandbox crashes wrt bsc#1064298 - * chromium-sandbox.patch +- Bump to 64.0.3253.3 ------------------------------------------------------------------- -Fri Oct 27 09:17:02 UTC 2017 - tchvatal@suse.com +Fri Nov 3 11:41:40 UTC 2017 - tchvatal@suse.com -- Version update to 62.0.3202.75 bsc#1065405 CVE-2017-15396 - * CVE-2017-15396: Stack overflow in V8 +- Update to 64.0.3251.0 ------------------------------------------------------------------- -Thu Oct 26 12:09:53 UTC 2017 - astieger@suse.com +Thu Nov 2 20:46:57 UTC 2017 - tchvatal@suse.com -- BuildRequire nodejs6 required for polymer-bundler.js +- Fix the tarball unpacking to unroll all the required content +- Update to 63.0.3239.30 ------------------------------------------------------------------- -Thu Oct 26 09:19:09 UTC 2017 - tchvatal@suse.com +Wed Oct 25 18:24:16 UTC 2017 - tchvatal@suse.com -- Try to export properly CXX/CC variable to fix leap builds +- Drop patch chromium-60.0.3112.113-breakpad-ucontext.patch +- Drop patch chromium-sysroot.patch ------------------------------------------------------------------- -Wed Oct 25 17:52:44 UTC 2017 - tchvatal@suse.com +Wed Oct 11 09:04:46 UTC 2017 - tchvatal@suse.com -- Apply patch to fix building crc32 with gcc7: - * chromium-62.0.3202.62-correct-cplusplus-check.patch +- Bump to 63.0.3236.0 ------------------------------------------------------------------- -Thu Oct 19 03:29:56 UTC 2017 - tchvatal@suse.com +Mon Oct 9 11:42:16 UTC 2017 - tchvatal@suse.com -- Update to 62.0.3202.62 bsc#1064066: - * CVE-2017-5124: UXSS with MHTML. - * CVE-2017-5125: Heap overflow in Skia. - * CVE-2017-5126: Use after free in PDFium. - * CVE-2017-5127: Use after free in PDFium. - * CVE-2017-5128: Heap overflow in WebGL. - * CVE-2017-5129: Use after free in WebAudio. - * CVE-2017-5132: Incorrect stack manipulation in WebAssembly. - * CVE-2017-5130: Heap overflow in libxml2. - * CVE-2017-5131: Out of bounds write in Skia. - * CVE-2017-5133: Out of bounds write in Skia. - * CVE-2017-15386: UI spoofing in Blink. - * CVE-2017-15387: Content security bypass. - * CVE-2017-15388: Out of bounds read in Skia. - * CVE-2017-15389: URL spoofing in OmniBox. - * CVE-2017-15390: URL spoofing in OmniBox. - * CVE-2017-15391: Extension limitation bypass in Extensions. - * CVE-2017-15392: Incorrect registry key handling in PlatformIntegration. - * CVE-2017-15393: Referrer leak in Devtools. - * CVE-2017-15394: URL spoofing in extensions UI. - * CVE-2017-15395: Null pointer dereference in ImageCapture. -- Drop unused patches: +- Bump to 63.0.3230.0 + +------------------------------------------------------------------- +Mon Oct 2 10:10:10 UTC 2017 - tchvatal@suse.com + +- Update to 63.0.3223.8 +- Rebase fix-gn-boostrap.diff +- Remove chromium-gcc5.patch + +------------------------------------------------------------------- +Sat Sep 16 15:51:04 UTC 2017 - tchvatal@suse.com + +- Bump to 63.0.3218.0 +- Rebase fix-gn-bootstrap.diff +- Add chromium-sysroot.patch + +------------------------------------------------------------------- +Wed Sep 13 07:51:50 UTC 2017 - tchvatal@suse.com + +- Version update to 62.0.3202.18 + +------------------------------------------------------------------- +Sun Sep 10 09:46:36 UTC 2017 - tchvatal@suse.com + +- Update to latest +- Switch to system libxml again +- Add more folders to be kept in archive + +------------------------------------------------------------------- +Wed Sep 6 13:16:14 UTC 2017 - tchvatal@suse.com + +- Build with gcc6 on leap as we now require --stdc-14 + +------------------------------------------------------------------- +Wed Sep 6 12:55:30 UTC 2017 - tchvatal@suse.com + +- Add patch to build with new glibc: + * chromium-60.0.3112.113-breakpad-ucontext.patch + +------------------------------------------------------------------- +Mon Sep 4 12:11:32 UTC 2017 - tchvatal@suse.com + +- Bump to 62.0.3198.0: + * fix-gn-bootstrap.diff + +------------------------------------------------------------------- +Wed Aug 23 12:40:57 UTC 2017 - tchvatal@suse.com + +- Bump to 62.0.3192.0 +- Rebase patch chromium-prop-codecs.patch + +------------------------------------------------------------------- +Mon Aug 21 09:29:23 UTC 2017 - tchvatal@suse.com + +- Bump to 62.0.3188.2 +- Rebase fix-gn-bootstrap.diff +- Remove arm patches as we exclude it for now: * arm-webrtc-fix.patch * arm_use_right_compiler.patch - * chromium-46.0.2490.71-fix-missing-i18n_process_css_test.patch - * chromium-atk.patch - * chromium-mojo-dep.patch - * gcc60-fixes.diff +- Add patch chromium-gcc5.patch + +------------------------------------------------------------------- +Fri Aug 11 09:37:10 UTC 2017 - tchvatal@suse.com + +- Bump to 62.0.3178.0 +- Add patch chromium-system-zlib.patch +- Rebase patch fix-gn-bootstrap.diff +- Rebase exclude_ymp.diff +- Drop gcc60-fixes.diff as the toolchain was changed + +------------------------------------------------------------------- +Sun Aug 6 07:18:26 UTC 2017 - tchvatal@suse.com + +- Bump to 62.0.3175.4 + +------------------------------------------------------------------- +Sun Aug 6 07:12:01 UTC 2017 - tchvatal@suse.com + +- Bump to 61.0.3163.31 +- Remove condition for gtk3, hard on from now on +- Bump version requirement on nodejs + +------------------------------------------------------------------- +Thu Jul 27 19:42:42 UTC 2017 - tchvatal@suse.com + +- Bump to 61.0.3163.13 +- Rebase fix-gn-bootstrap.diff + +------------------------------------------------------------------- +Thu Jul 20 12:33:20 UTC 2017 - tchvatal@suse.com + - Refresh patches: - * chromium-gcc5.patch - * chromium-prop-codecs.patch - * exclude_ymp.diff * fix-gn-bootstrap.diff + * gcc60-fixes.diff ------------------------------------------------------------------- -Fri Sep 22 14:50:40 UTC 2017 - astieger@suse.com +Wed Jul 19 15:14:56 UTC 2017 - tchvatal@suse.com -- Update to 61.0.3163.100 (boo#1060019): - * CVE-2017-5121: Out-of-bounds access in V8 - * CVE-2017-5122: Out-of-bounds access in V8 - * Various fixes from internal audits, fuzzing and other initiatives +- Bump to 61.0.3159.5 +- Use system libcxx +- Refresh patch fix-gn-bootstrap.diff ------------------------------------------------------------------- -Sat Sep 16 15:50:19 UTC 2017 - tchvatal@suse.com +Mon Jul 17 07:53:34 UTC 2017 - tchvatal@suse.com -- Update to 61.0.3163.91: - * Various bugfixes - -------------------------------------------------------------------- -Mon Sep 11 08:45:35 UTC 2017 - tchvatal@suse.com - -- Update to 61.0.3163.79 bsc#1057364: - * CVE-2017-5111: Use after free in PDFium. - * CVE-2017-5112: Heap buffer overflow in WebGL. - * CVE-2017-5113: Heap buffer overflow in Skia. - * CVE-2017-5114: Memory lifecycle issue in PDFium. - * CVE-2017-5115: Type confusion in V8. - * CVE-2017-5116: Type confusion in V8. - * CVE-2017-5117: Use of uninitialized value in Skia. - * CVE-2017-5118: Bypass of Content Security Policy in Blink. - * CVE-2017-5119: Use of uninitialized value in Skia. - * CVE-2017-5120: Potential HTTPS downgrade during redirect navigation. -- Rebase patch: - * fix-gn-bootstrap.diff -- Remove patches: - * chromium-gcc7.patch - * chromium-override.patch -- Add new patches: - * chromium-atk.patch - * chromium-gcc5.patch - * chromium-mojo-dep.patch -- Gtk3 is hard required from now on -- Version some of the required dependencies - -------------------------------------------------------------------- -Mon Aug 28 22:57:05 UTC 2017 - astieger@suse.com - -- fix build with Factory glibc: - add chromium-60.0.3112.113-breakpad-ucontext.patch - -------------------------------------------------------------------- -Fri Aug 25 09:17:27 UTC 2017 - tchvatal@suse.com - -- Version update to 60.0.3112.113: - * Various bugfixes - -------------------------------------------------------------------- -Tue Aug 15 15:17:00 UTC 2017 - tchvatal@suse.com - -- Version update to 60.0.3112.101: - * various usability bugfixes - -------------------------------------------------------------------- -Thu Aug 3 13:25:33 UTC 2017 - tchvatal@suse.com - -- Version update to 60.0.3112.90: - * Various usability bugfixes - -------------------------------------------------------------------- -Wed Jul 26 13:27:55 UTC 2017 - tchvatal@suse.com - -- Version update to 60.0.3112.78 bsc#1050537: - * CVE-2017-5091: Use after free in IndexedDB - * CVE-2017-5092: Use after free in PPAPI - * CVE-2017-5093: UI spoofing in Blink - * CVE-2017-5094: Type confusion in extensions - * CVE-2017-5095: Out-of-bounds write in PDFium - * CVE-2017-5096: User information leak via Android intents - * CVE-2017-5097: Out-of-bounds read in Skia - * CVE-2017-5098: Use after free in V8 - * CVE-2017-5099: Out-of-bounds write in PPAPI - * CVE-2017-5100: Use after free in Chrome Apps - * CVE-2017-5101: URL spoofing in OmniBox - * CVE-2017-5102: Uninitialized use in Skia - * CVE-2017-5103: Uninitialized use in Skia - * CVE-2017-5104: UI spoofing in browser - * CVE-2017-7000: Pointer disclosure in SQLite - * CVE-2017-5105: URL spoofing in OmniBox - * CVE-2017-5106: URL spoofing in OmniBox - * CVE-2017-5107: User information leak via SVG - * CVE-2017-5108: Type confusion in PDFium - * CVE-2017-5109: UI spoofing in browser - * CVE-2017-5110: UI spoofing in payments dialog - * Various fixes from internal audits, fuzzing and other initiatives -- Add patch chromium-override.patch -- Remove patches chromium-fpermissive.patch chromium-system-ffmpeg-r3.patch -- Rebase patches: - * chromium-dma-buf.patch - * chromium-gcc7.patch - * chromium-last-commit-position-r0.patch - * fix-gn-bootstrap.diff - -------------------------------------------------------------------- -Mon Jul 24 09:01:07 UTC 2017 - tchvatal@suse.com - -- Recommend emoji fonts to make sure major web chats do not show +- Recommend emoji fonts for various communicators to not display questionmarks ------------------------------------------------------------------- -Wed Jun 28 19:27:55 UTC 2017 - tchvatal@suse.com +------------------------------------------------------------------- +Thu Jul 13 07:52:52 UTC 2017 - tchvatal@suse.com -- Update to 59.0.3071.115: - * Various small fixes all around +- Bump to 61.0.3153.4 +- Refresh patch fix-gn-bootstrap.diff ------------------------------------------------------------------- -Fri Jun 23 07:46:48 UTC 2017 - astieger@suse.com +Thu Jun 29 07:07:53 UTC 2017 - tchvatal@suse.com -- Update to 59.0.3071.109: - * ozone/drm: Only reuse ScanoutBuffers with compatible modifiers - * Fixing mouse focus on WebView - * Remove gtk dependency from gles tests - * Set build flag when using own FreeType - * Revert of [scheduler] Move some task types to suspendable task runner - * Fix an incorrect method name on the chrome://site-engagement WebUI page - * Linux/Windows: Removing Guest menu item for supervised profile +- Remove already applied patch chromium-gcc7.patch ------------------------------------------------------------------- -Fri Jun 16 12:12:56 UTC 2017 - astieger@suse.com +Tue Jun 27 17:59:45 UTC 2017 - tchvatal@suse.com -- Update to 59.0.3071.104 (bsc#1044690): - * CVE-2017-5087: Sandbox Escape in IndexedDB - * CVE-2017-5088: Out of bounds read in V8 - * CVE-2017-5089: Domain spoofing in Omnibox - * Various fixes from internal audits, fuzzing and other initiatives +- require nss >= 3.26 +- Update to 61.0.3141.7 +- Refresh fix-gn-bootstrap.diff + +------------------------------------------------------------------- +Thu Jun 22 08:46:57 UTC 2017 - tchvatal@suse.com + +- Drop merged patch chromium-system-icu.patch +- Refresh patch fix-gn-bootstrap.diff + +------------------------------------------------------------------- +Wed Jun 21 17:06:27 UTC 2017 - tchvatal@suse.com + +- Version update to 61.0.3135.4 + +------------------------------------------------------------------- +Thu Jun 15 08:26:29 UTC 2017 - tchvatal@suse.com + +- Update to 61.0.3128.3 +- Add patch chromium-system-icu.patch + +------------------------------------------------------------------- +Sat Jun 10 14:05:13 UTC 2017 - tchvatal@suse.com + +- Update to 61.0.3124.4 +- Refresh patch fix-gn-bootstrap.diff +- Drop patch chromium-override.patch merged upstream + +------------------------------------------------------------------- +Fri Jun 9 12:11:47 UTC 2017 - tchvatal@suse.com + +- Bump to 60.0.3112.24 ------------------------------------------------------------------- Thu Jun 8 14:56:42 UTC 2017 - tchvatal@suse.com @@ -439,56 +403,104 @@ Thu Jun 8 14:56:42 UTC 2017 - tchvatal@suse.com - Add patch chromium-buildname.patch bsc#1043420 ------------------------------------------------------------------- -Tue Jun 6 07:53:53 UTC 2017 - tchvatal@suse.com +Wed Jun 7 09:10:40 UTC 2017 - tchvatal@suse.com -- Update to 59.0.3071.86 bsc#1042833: - * CVE-2017-5070: Type confusion in V8. Reported by Zhao Qixun(@S0rryMybad) of Qihoo 360 Vulcan Team on 2017-05-16 - * CVE-2017-5071: Out of bounds read in V8. Reported by Choongwoo Han on 2017-04-26 - * CVE-2017-5072: Address spoofing in Omnibox. Reported by Rayyan Bijoora on 2017-04-07 - * CVE-2017-5073: Use after free in print preview. Reported by Khalil Zhani on 2017-04-28 - * CVE-2017-5074: Use after free in Apps Bluetooth. Reported by anonymous on 2017-03-09 - * CVE-2017-5075: Information leak in CSP reporting. Reported by Emmanuel Gil Peyrot on 2017-01-05 - * CVE-2017-5086: Address spoofing in Omnibox. Reported by Rayyan Bijoora on 2017-05-16 - * CVE-2017-5076: Address spoofing in Omnibox. Reported by Samuel Erb on 2017-05-06 - * CVE-2017-5077: Heap buffer overflow in Skia. Reported by Sweetchip on 2017-04-28 - * CVE-2017-5078: Possible command injection in mailto handling. Reported by Jose Carlos Exposito Bueno on 2017-04-12 - * CVE-2017-5079: UI spoofing in Blink. Reported by Khalil Zhani on 2017-04-20 - * CVE-2017-5080: Use after free in credit card autofill. Reported by Khalil Zhani on 2017-04-05 - * CVE-2017-5081: Extension verification bypass. Reported by Andrey Kovalev (@L1kvID) Yandex Security Team on 2016-12-07 - * CVE-2017-5082: Insufficient hardening in credit card editor. Reported by Nightwatch Cybersecurity Research on 2017-05-11 - * CVE-2017-5083: UI spoofing in Blink. Reported by Khalil Zhani on 2017-04-24 - * CVE-2017-5085: Inappropriate javascript execution on WebUI pages. Reported by Zhiyang Zeng of Tencent security platform department on 2017-02-15 -- Add patch to fix build with system dma: - * chromium-dma-buf.patch -- Drop no longer needed patches: - * chromium-linker-memory.patch - * chromium-system-jinja-r13.patch -- Refresh patches: - * chromium-gcc7.patch - * chromium-system-ffmpeg-r3.patch +- Update to 60.0.3112.20 + +------------------------------------------------------------------- +Tue Jun 6 10:56:24 UTC 2017 - tchvatal@suse.com + +- Drop patch chromium-system-icu.patch + * Use bundled icu as system is unbuildable at the moment + +------------------------------------------------------------------- +Mon Jun 5 12:23:26 UTC 2017 - tchvatal@suse.com + +- Bump to 60.0.3112.7 +- Add patch for gcc7 chromium-gcc7.patch +- Add patch to build with gcc chromium-override.patch +- Add patch to build with system icu 59 chromium-system-icu.patch + +------------------------------------------------------------------- +Wed May 31 14:23:42 UTC 2017 - tchvatal@suse.com + +- Update to upstream 60.0.3112.7 + * Refresh patch fix-gn-bootstrap.diff +- Remove upstream merged chromium-system-harfbuzz.patch + +------------------------------------------------------------------- +Wed May 24 12:22:27 UTC 2017 - tchvatal@suse.com + +- Update 60.0.3107.4 +- Refresh patch chromium-last-commit-position-r0.patch +- Remove upstreamed chromium-system-ffmpeg-r3.patch +- Remove upstreamed chromium-system-opus.patch +- Remove upstreamed chromium-system-libpng.patch +- Remove upstreamed chromium-system-libwebp.patch +- Update fix-gn-bootstrap.diff +- Add patch chromium-system-harfbuzz.patch + +------------------------------------------------------------------- +Thu May 18 10:31:53 UTC 2017 - tchvatal@suse.com + +- Version update to 60.0.3100.0 +- Add patches: + * chromium-system-libpng.patch + * chromium-system-libwebp.patch + +------------------------------------------------------------------- +Wed May 17 09:22:27 UTC 2017 - tchvatal@suse.com + +- Export gcc standard version to fix build on older releases + * Needed for vulcan + +------------------------------------------------------------------- +Fri May 12 11:25:49 UTC 2017 - tchvatal@suse.com + +- Update to 60.0.3095.5 +- Update patch: * fix-gn-bootstrap.diff -- Use bundled libxml - * Upstream unfortunately uses git snapshot that is not api/abi compatible ------------------------------------------------------------------- -Mon Jun 5 12:55:22 UTC 2017 - tchvatal@suse.com +Sat May 6 08:50:17 UTC 2017 - tchvatal@suse.com -- Add patch to build with gcc7: - * chromium-gcc7.patch -- Add patch for fpermissive build error: - * chromium-fpermissive.patch +- Switch to system opus and yasm ------------------------------------------------------------------- -Wed May 10 07:43:46 UTC 2017 - tchvatal@suse.com +Fri May 5 12:11:38 UTC 2017 - tchvatal@suse.com -- Version update to 58.0.3029.110: - * Various small bugfixes +- Update to 60.0.3088.3 +- Update patch: + * fix-gn-bootstrap.diff + * chromium-dma-buf.patch ------------------------------------------------------------------- -Thu May 4 12:40:32 UTC 2017 - tchvatal@suse.com +Thu May 4 12:52:01 UTC 2017 - tchvatal@suse.com -- Version update to 58.0.3029.96: - * Fixes bsc#1037594 CVE-2017-5068 +- Version update to 60.0.3080.5 +- Refresh patch: + * chromium-dma-buf.patch + * fix-gn-bootstrap.diff + +------------------------------------------------------------------- +Fri Apr 28 18:40:01 UTC 2017 - tchvatal@suse.com + +- Use bundled libxml (they have git snapshot :/) + +------------------------------------------------------------------- +Fri Apr 28 18:21:44 UTC 2017 - tchvatal@suse.com + +- Add more bundled folders + +------------------------------------------------------------------- +Fri Apr 28 06:03:50 UTC 2017 - tchvatal@suse.com + +- Also drop patch chromium-system-jinja-r13.patch + +------------------------------------------------------------------- +Fri Apr 28 05:55:11 UTC 2017 - tchvatal@suse.com + +- Bump to 59.0.3071.29 ------------------------------------------------------------------- Tue Apr 25 13:24:42 UTC 2017 - tchvatal@suse.com @@ -497,34 +509,56 @@ Tue Apr 25 13:24:42 UTC 2017 - tchvatal@suse.com * It is at least used only during build ------------------------------------------------------------------- -Fri Apr 21 09:57:49 UTC 2017 - tchvatal@suse.com +Fri Apr 21 19:16:32 UTC 2017 - tchvatal@suse.com -- Version update to 58.0.3029.81 bsc#1035103: - * High CVE-2017-5057: Type confusion in PDFium. Credit to Guang Gong of Alpha Team, Qihoo 360 - * High CVE-2017-5058: Heap use after free in Print Preview. Credit to Khalil Zhani - * High CVE-2017-5059: Type confusion in Blink. Credit to SkyLined working with Trend Micro's Zero Day Initiative - * Medium CVE-2017-5060: URL spoofing in Omnibox. Credit to Xudong Zheng - * Medium CVE-2017-5061: URL spoofing in Omnibox. Credit to Haosheng Wang (@gnehsoah) - * Medium CVE-2017-5062: Use after free in Chrome Apps. Credit to anonymous - * Medium CVE-2017-5063: Heap overflow in Skia. Credit to Sweetchip - * Medium CVE-2017-5064: Use after free in Blink. Credit to Wadih Matar - * Medium CVE-2017-5065: Incorrect UI in Blink. Credit to Khalil Zhani - * Medium CVE-2017-5066: Incorrect signature handing in Networking. Credit to chenchu - * Medium CVE-2017-5067: URL spoofing in Omnibox. Credit to Khalil Zhani - * Low CVE-2017-5069: Cross-origin bypass in Blink. Credit to Michael Reizelman -- Refresh patch fix-gn-bootstrap.diff -- Refresh patch chromium-system-jinja-r13.patch -- Remove obsolete patch chromium-57-gcc4.patch +- Refresh patch chromium-system-ffmpeg-r3.patch +- Delete patch chromium-system-libjpeg.patch ------------------------------------------------------------------- -Thu Mar 30 13:07:50 UTC 2017 - tchvatal@suse.com +Fri Apr 21 18:58:53 UTC 2017 - tchvatal@suse.com -- Version update to 57.0.2987.133 bsc#1031677: - * Critical CVE-2017-5055: Use after free in printing. Credit to Wadih Matar - * High CVE-2017-5054: Heap buffer overflow in V8. Credit to Nicolas Trippar of Zimperium zLabs - * High CVE-2017-5052: Bad cast in Blink. Credit to JeongHoon Shin - * High CVE-2017-5056: Use after free in Blink. Credit to anonymous - * High CVE-2017-5053: Out of bounds memory access in V8. Credit to Team Sniper (Keen Lab and PC Mgr) reported through ZDI (ZDI-CAN-4587) +- Update to 59.0.3071.15 + +------------------------------------------------------------------- +Fri Apr 21 09:01:47 UTC 2017 - tchvatal@suse.com + +- Drop exif dep, unused +- Pass no-clean option to bootstrap.py for debugging purposes + +------------------------------------------------------------------- +Wed Apr 19 13:21:37 UTC 2017 - tchvatal@suse.com + +- Version update to 59.0.3071.9 + +------------------------------------------------------------------- +Thu Apr 13 08:22:25 UTC 2017 - tchvatal@suse.com + +- Update to 59.0.3067.0 +- Sort out the harfbuzz bundling conditional to be together with minizip + +------------------------------------------------------------------- +Wed Apr 12 11:20:22 UTC 2017 - tchvatal@suse.com + +- Bump harfbuzz and icu requirements + +------------------------------------------------------------------- +Tue Apr 11 11:52:32 UTC 2017 - tchvatal@suse.com + +- Add patch chromium-dma-buf.patch +- Add patch chromium-system-libjpeg.patch + +------------------------------------------------------------------- +Fri Apr 7 08:49:05 UTC 2017 - tchvatal@suse.com + +- Version update to 59.0.3063.4 +- Refresh patch fix-gn-bootstrap.diff +- Refresh patch chromium-system-ffmpeg-r3.patch + +------------------------------------------------------------------- +Thu Mar 30 13:02:21 UTC 2017 - tchvatal@suse.com + +- Update to 59.0.3053.3 +- Refresh patch fix-gn-bootstrap.diff ------------------------------------------------------------------- Fri Mar 24 15:22:38 UTC 2017 - tchvatal@suse.com @@ -532,167 +566,238 @@ Fri Mar 24 15:22:38 UTC 2017 - tchvatal@suse.com - Drop the browser(npapi) provide which is not true ------------------------------------------------------------------- -Sun Mar 19 11:04:47 UTC 2017 - tchvatal@suse.com +Wed Mar 22 10:57:21 UTC 2017 - tchvatal@suse.com -- Add patch to build with gcc4 - * chromium-57-gcc4.patch +- Drop patch chromium-linker-memory.patch as with i586 dropped it + should not be required +- Update patch fix-gn-bootstrap.diff ------------------------------------------------------------------- -Thu Mar 16 20:45:00 UTC 2017 - tchvatal@suse.com +Wed Mar 22 10:56:09 UTC 2017 - tchvatal@suse.com -- Do not use gcc5 and newer as the compat was fixed again -- Update to 57.0.2987.110 with various other small tweaks +- Version update to chromium-59.0.3047.0 ------------------------------------------------------------------- -Fri Mar 10 10:55:23 UTC 2017 - tchvatal@suse.com +Tue Mar 21 12:41:00 UTC 2017 - tchvatal@suse.com -- Version update to 57.0.2987.98 bsc#1028848: - CVE-2017-5030 CVE-2017-5031 CVE-2017-5032 CVE-2017-5029 CVE-2017-5034 - CVE-2017-5035 CVE-2017-5036 CVE-2017-5037 CVE-2017-5039 CVE-2017-5040 - CVE-2017-5041 CVE-2017-5033 CVE-2017-5042 CVE-2017-5038 CVE-2017-5043 - CVE-2017-5044 CVE-2017-5045 CVE-2017-5046 -- Refresh patches - * fix-gn-bootstrap.diff - * chromium-linker-memory.patch -- Remove obsolete patches: - * chromium-sandbox.patch - * chromium-54-ffmpeg2compat.patch -- Remove vaapi patch which broke rendering on non-intel cards: - * chromium-enable-vaapi-on-suse.patch -- From this release onwards i586 build is disabled +- Few tweaks around clang switch to be viable ------------------------------------------------------------------- -Wed Feb 15 12:02:32 UTC 2017 - idonmez@suse.com +Sat Mar 18 19:13:16 UTC 2017 - tchvatal@suse.com + +- Update to 59.0.3043.0 +- Refresh patch fix-gn-bootstrap.diff + +------------------------------------------------------------------- +Wed Mar 15 10:14:35 UTC 2017 - tchvatal@suse.com + +- Update to 58.0.3029.19 + +------------------------------------------------------------------- +Wed Mar 15 09:34:48 UTC 2017 - tchvatal@suse.com + +- Reduce the requirement on gcc to be 4.8 only again + +------------------------------------------------------------------- +Mon Mar 13 12:20:56 UTC 2017 - tchvatal@suse.com + +- Version update to 58.0.3029.14 + +------------------------------------------------------------------- +Mon Mar 13 11:41:34 UTC 2017 - tchvatal@suse.com + +- Disable system vpx for now, needs symbols that will be in 1.6.2 + +------------------------------------------------------------------- +Fri Mar 10 13:03:15 UTC 2017 - tchvatal@suse.com + +- Update fix-gn-bootstrap.diff to build again + +------------------------------------------------------------------- +Wed Mar 8 11:26:35 UTC 2017 - tchvatal@suse.com + +- Version update to 58.0.3029.6 + +------------------------------------------------------------------- +Thu Mar 2 15:19:25 UTC 2017 - tchvatal@suse.com + +- Update to 58.0.3026.3 +- Empty fix-gn-bootstrap.diff again as it was merged upstream + +------------------------------------------------------------------- +Mon Feb 27 11:22:10 UTC 2017 - tchvatal@suse.com + +- Drop patch chromium-enable-vaapi-on-suse.patch as it breaks on + radeon and nvidia cards + +------------------------------------------------------------------- +Fri Feb 24 07:58:48 UTC 2017 - tchvatal@suse.com + +- Update to 58.0.3018.3 +- Update patch fix-gn-bootstrap.diff to match what is needed now +- Refresh patch chromium-system-jinja-r13.patch + +------------------------------------------------------------------- +Fri Feb 17 12:14:06 UTC 2017 - tchvatal@suse.com + +- Version update to 58.0.3013.3 + +------------------------------------------------------------------- +Wed Feb 15 12:15:52 UTC 2017 - idonmez@suse.com - Also add harfbuzz-ng to keeplibs for SLE +------------------------------------------------------------------- +Wed Feb 8 12:39:54 UTC 2017 - tchvatal@suse.com + +- Update to 58.0.3004.3 + +------------------------------------------------------------------- +Wed Feb 8 12:32:46 UTC 2017 - tchvatal@suse.com + +- Try to properly set up nodejs for build + +------------------------------------------------------------------- +Mon Feb 6 20:39:24 UTC 2017 - tchvatal@suse.com + +- Version update to 58.3000.4 next dev channel +- Drop patch chromium-54-ffmpeg2compat.patch as we require ffmpeg3 now + ------------------------------------------------------------------- Mon Feb 6 20:29:52 UTC 2017 - tchvatal@suse.com - Add condition for system harfbuzz to be disabled on SLE ------------------------------------------------------------------- -Mon Feb 6 12:21:34 UTC 2017 - qvoheagbfovvhubzdxfx@posteo.net - -- Fixed a typo in the build requirements for system minizip. - -------------------------------------------------------------------- -Fri Feb 3 12:23:34 UTC 2017 - tchvatal@suse.com - -- Version update to 56.0.2924.87: - * Various small fixes - * Disabled option to enable/disable plugins in the chrome://plugins - -------------------------------------------------------------------- -Thu Feb 2 20:01:27 UTC 2017 - qvoheagbfovvhubzdxfx@posteo.net - -- Added the package 'chromium-privacy' with multiple patches - sourced from the release version on https://github.com/ - u4qo60z73t1c4hurv3ny/privacy_patches-oS_cr, which, when enabled - with the build option 'privacy', builds a version of Chromium - with less privacy implications due to Google services - integration. - -------------------------------------------------------------------- -Wed Feb 1 09:48:35 UTC 2017 - qvoheagbfovvhubzdxfx@posteo.net +Mon Feb 6 12:16:45 UTC 2017 - qvoheagbfovvhubzdxfx@posteo.net - Changed the build requirement of libavformat to library version 57.41.100, as included in ffmpeg 3.1.1, as only this version properly supports the public AVStream API 'codecpar'. - -------------------------------------------------------------------- -Tue Jan 31 14:08:26 UTC 2017 - tchvatal@suse.com - -- Version update to 56.0.2924.76 bsc#1022049: - - CVE-2017-5007: Universal XSS in Blink - - CVE-2017-5006: Universal XSS in Blink - - CVE-2017-5008: Universal XSS in Blink - - CVE-2017-5010: Universal XSS in Blink - - CVE-2017-5011: Unauthorised file access in Devtools - - CVE-2017-5009: Out of bounds memory access in WebRTC - - CVE-2017-5012: Heap overflow in V8 - - CVE-2017-5013: Address spoofing in Omnibox - - CVE-2017-5014: Heap overflow in Skia - - CVE-2017-5015: Address spoofing in Omnibox - - CVE-2017-5019: Use after free in Renderer - - CVE-2017-5016: UI spoofing in Blink - - CVE-2017-5017: Uninitialised memory access in webm video - - CVE-2017-5018: Universal XSS in chrome://apps - - CVE-2017-5020: Universal XSS in chrome://downloads - - CVE-2017-5021: Use after free in Extensions - - CVE-2017-5022: Bypass of Content Security Policy in Blink - - CVE-2017-5023: Type confusion in metrics - - CVE-2017-5024: Heap overflow in FFmpeg - - CVE-2017-5025: Heap overflow in FFmpeg - - CVE-2017-5026: UI spoofing. Credit to Ronni Skansing -- Add conditional to switch between system and bundled icu -- Raise dependency on harfbuzz to 1.3.1 -- Also refresh patches: - chromium-prop-codecs.patch chromium-linker-memory.patch - -------------------------------------------------------------------- -Sat Jan 28 11:31:18 UTC 2017 - qvoheagbfovvhubzdxfx@posteo.net - - Added patch chromium-enable-vaapi-on-suse.patch to enable VAAPI hardware accelerated video decoding. + * chromium-enable-vaapi-on-suse.patch +- Fixed a typo in the build requirements for system minizip. ------------------------------------------------------------------- -Wed Dec 21 20:19:42 UTC 2016 - astieger@suse.com +Fri Feb 3 10:38:16 UTC 2017 - tchvatal@suse.com -- Chromium 55.0.2883.87: - * various fixes for crashes and specific wesites - * update Google pinned certificates +- Update to 57.0.2987.21 ------------------------------------------------------------------- -Wed Dec 21 10:02:52 UTC 2016 - tchvatal@suse.com +Wed Feb 1 12:44:58 UTC 2017 - tchvatal@suse.com -- Disable system icu on Factory, crashes autofill +- Update to 57.0.2987.19 ------------------------------------------------------------------- -Tue Dec 13 14:38:08 UTC 2016 - idonmez@suse.com +Sun Jan 29 17:58:34 UTC 2017 - tchvatal@suse.com + +- Version update to 57.0.2987.13 + +------------------------------------------------------------------- +Wed Jan 25 13:47:13 UTC 2017 - tchvatal@suse.com + +- Update to 57.0.2987.8 + +------------------------------------------------------------------- +Tue Jan 24 10:43:32 UTC 2017 - tchvatal@suse.com + +- Update to 57.0.2986.0 + +------------------------------------------------------------------- +Thu Jan 19 10:40:36 UTC 2017 - tchvatal@suse.com + +- Version update to 57.0.2984.0 + +------------------------------------------------------------------- +Fri Jan 13 09:13:44 UTC 2017 - tchvatal@suse.com + +- Drop the support code for builtin ffmpeg and rely on the system one always + +------------------------------------------------------------------- +Fri Jan 6 11:53:25 UTC 2017 - tchvatal@suse.com + +- Exclude i586 arch as the resources to build are not there + +------------------------------------------------------------------- +Wed Jan 4 12:36:34 UTC 2017 - tchvatal@suse.com + +- Add toolchain definition hopefully allowing us to build on Leap + with older gcc + * This also exposes more of our suse CFLAGS to the compilation + +------------------------------------------------------------------- +Wed Jan 4 12:07:26 UTC 2017 - tchvatal@suse.com + +- Version update to 57.0.2970.0 +- Refresh patch: + * fix-gn-bootstrap.diff +- Drop patch: + * chromium-sandbox.patch + +------------------------------------------------------------------- +Tue Dec 20 14:55:38 UTC 2016 - tchvatal@suse.com + +- Use gcc5 on leap + +------------------------------------------------------------------- +Mon Dec 19 10:30:45 UTC 2016 - tchvatal@suse.com + +- Update to 57.0.2946.4 + +------------------------------------------------------------------- +Wed Dec 14 10:45:26 UTC 2016 - tchvatal@suse.com + +- Allow building with non-system icu on older systems +- Refresh patch fix-gn-bootstrap.diff +- Disable system icu again, fails to build even on factory + +------------------------------------------------------------------- +Tue Dec 13 14:42:30 UTC 2016 - idonmez@suse.com - python-html5lib now depends on six, so preserve that too for SLE builds. ------------------------------------------------------------------- -Fri Dec 9 12:07:10 UTC 2016 - astieger@suse.com +Sun Dec 11 13:12:44 UTC 2016 - tchvatal@suse.com -- Obsolete ffmpeg and ffmpegsumo package in addition to conflict +- Version update to 57.0.2946.0 ------------------------------------------------------------------- -Mon Dec 5 17:08:45 UTC 2016 - astieger@suse.com +Sun Dec 11 13:04:36 UTC 2016 - tchvatal@suse.com -- record minimum version for harfbuzz, incuding runtime - Chromium will crash with harfbuzz < 1.3.0 +- Version update to 56.0.2924.21 ------------------------------------------------------------------- -Sat Dec 3 09:59:21 UTC 2016 - tchvatal@suse.com +Thu Dec 8 08:33:17 UTC 2016 - tchvatal@suse.com -- Chromium 55.0.2883.75 bnc#1013236: - CVE-2016-9651 CVE-2016-5208 CVE-2016-5207 CVE-2016-5206 CVE-2016-5205 - CVE-2016-5204 CVE-2016-5209 CVE-2016-5203 CVE-2016-5210 CVE-2016-5212 - CVE-2016-5211 CVE-2016-5213 CVE-2016-5214 CVE-2016-5216 CVE-2016-5215 - CVE-2016-5217 CVE-2016-5218 CVE-2016-5219 CVE-2016-5221 CVE-2016-5220 - CVE-2016-5222 CVE-2016-9650 CVE-2016-5223 CVE-2016-5226 CVE-2016-5225 - CVE-2016-5224 CVE-2016-9652 -- Switch to system libraries: harfbuzz, zlib, ffmpeg, ... -- Refreshed patches: - * chromium-system-ffmpeg-r3.patch - * chromium-system-jinja-r13.patch -- Use system ffmpeg unless on 13.2 that didn't include it - * chromium-54-ffmpeg2compat.patch - * Remove upstreamed chromium-more-codec-aliases.patch -- Remove bookmarks override as discussed with artwork simply just set - homepage to our openSUSE one and that is all +- Version update to 56.0.2924.18 ------------------------------------------------------------------- -Sat Nov 12 08:20:05 UTC 2016 - astieger@suse.com +Sat Dec 3 12:03:04 UTC 2016 - tchvatal@suse.com -- Chromium 54.0.2840.100: - * CVE-2016-5199: Heap corruption in FFmpeg (boo#1009892) - * CVE-2016-5200: out of bounds memory access in v8 (boo#1009893) - * CVE-2016-5201: info leak in extensions (boo#1009894) - * CVE-2016-5202: various fixes from internal audits (boo#1009895) +- Version update to 56.0.2924.14 + +------------------------------------------------------------------- +Tue Nov 29 21:13:49 UTC 2016 - tchvatal@suse.com + +- Version update to 56.0.2924.10 + +------------------------------------------------------------------- +Tue Nov 22 07:40:21 UTC 2016 - tchvatal@suse.com + +- Version update to 56.0.2922.1 + +------------------------------------------------------------------- +Fri Nov 18 08:35:30 UTC 2016 - tchvatal@suse.com + +- Version update to 56.0.2920.0 + +------------------------------------------------------------------- +Mon Nov 14 13:13:16 UTC 2016 - tchvatal@suse.com + +- Version update to 56.0.2914.3: + * refresh patch chromium-prop-codecs.patch ------------------------------------------------------------------- Mon Nov 7 20:02:46 UTC 2016 - tchvatal@suse.com @@ -702,63 +807,96 @@ Mon Nov 7 20:02:46 UTC 2016 - tchvatal@suse.com bnc#1008725 ------------------------------------------------------------------- -Wed Nov 2 07:32:27 UTC 2016 - tchvatal@suse.com +Sun Nov 6 09:41:28 UTC 2016 - tchvatal@suse.com -- Update to 54.0.2840.90: - * Few fixes and tweaks - * Fixes CVE-2016-5198 bsc#1008274 +- Put chromium-flags at the end to allow user to override various + variables ------------------------------------------------------------------- -Fri Oct 21 10:27:16 UTC 2016 - tchvatal@suse.com +Wed Nov 2 07:36:15 UTC 2016 - tchvatal@suse.com -- Update to 54.0.2840.71: - * Few fixes around +- Update to 56.0.2906.0 ------------------------------------------------------------------- -Thu Oct 13 10:19:03 UTC 2016 - tchvatal@suse.com +Fri Oct 28 16:59:28 UTC 2016 - tchvatal@suse.com -- Version update to 54.0.2840.59 bnc#1004465: - - CVE-2016-5181: Universal XSS in Blink (Anonymous) - - CVE-2016-5182: Heap overflow in Blink (Giwan Go of STEALIEN) - - CVE-2016-5183: Use after free in PDFium (Anonymous) - - CVE-2016-5184: Use after free in PDFium (Anonymous) - - CVE-2016-5185: Use after free in Blink (cloudfuzzer) - - CVE-2016-5187: URL spoofing (Luan Herrera) - - CVE-2016-5188: UI spoofing (Luan Herrera) - - CVE-2016-5192: Cross-origin bypass in Blink (haojunhou at gmail) - - CVE-2016-5189: URL spoofing (xisigr of Tencent's Xuanwu Lab) - - CVE-2016-5186: Out of bounds read in DevTools (Abdulrahman Alqabandi) - - CVE-2016-5191: Universal XSS in Bookmarks (Gareth Hughes) - - CVE-2016-5190: Use after free in Internals (Atte Kettunen of OUSPG) - - CVE-2016-5193: Scheme bypass (Yuyang ZHOUmartinzhou96) -- packaging changes: - * disable build for chromium-beta on %arm. - * Make linker use less memory by tweaking its options: - chromium-linker-memory.patch - * obsolete desktop subpackages - * Switch to gold to reduce memory use use during build - * fix build on 4.5+ kernels with systemlibs: - chromium-sandbox.patch - * various compiler and linker flag adjustments - * enable gtk3 ui, add patch gtk3-missing-define.patch - * switch from some bundled libraries to the system versions - chromium-system-ffmpeg-r3.patch - chromium-system-jinja-r13.patch - fix-gn-bootstrap.diff - * remove service file covered by download_files -- run time bug fixes: - * Add --ui-disable-partial-swap to the launcher bnc#1000019 - * Use default chromium values from master_preferences on first run - rather than pseudo-duplicating in shellscript -- added features: - * hangouts extension +- Update to 56.0.2902.0 + * Update fix-gn-bootstrap.diff ------------------------------------------------------------------- -Fri Sep 30 08:00:45 UTC 2016 - tchvatal@suse.com +Mon Oct 24 13:06:07 UTC 2016 - tchvatal@suse.com -- Version update to 53.0.2785.143 bnc#1002140: - * CVE-2016-5177: Use after free in V8 - * CVE-2016-5178: Various fixes from internal audits +- Update to 56.0.2897.0 + * Refresh patch chromium-linker-memory.patch + * Update fix-gn-bootstrap.diff + +------------------------------------------------------------------- +Mon Oct 24 11:44:08 UTC 2016 - tchvatal@suse.com + +- Try to make package buildable on SLE12 Backports project + +------------------------------------------------------------------- +Fri Oct 21 10:34:39 UTC 2016 - tchvatal@suse.com + +- Update to 55.0.2883.21 +- Add switch between bundled and system icu as on old distributions + we simply have too old ICU +- Add switch for bundled/system minizip as it is not available on 42.1 + +------------------------------------------------------------------- +Thu Oct 20 07:52:26 UTC 2016 - tchvatal@suse.com + +- Version update to 55.0.2883.18 + +------------------------------------------------------------------- +Mon Oct 17 12:06:03 UTC 2016 - tchvatal@suse.com + +- Version update to 55.0.2883.11 +- Drop chromium-system-zlib.patch +- Add Requires on specified browser for chromedriver wrt bnc#1004839 + +------------------------------------------------------------------- +Sun Oct 9 18:16:49 UTC 2016 - tchvatal@suse.com + +- Version update to 55.0.2882.0: + * Rebase fix-gn-bootstrap.diff + * Remove upstreamed chromium-more-codec-aliases.patch + +------------------------------------------------------------------- +Sat Oct 8 09:51:35 UTC 2016 - mailaender@opensuse.org + +- Add appdata.xml for https://en.opensuse.org/openSUSE:AppStore + +------------------------------------------------------------------- +Fri Sep 30 07:12:16 UTC 2016 - dmueller@suse.com + +- disable build for chromium-beta on %arm. while it does build, + it takes two days, in which we can build roughly 600 other packages, + and I rather build 600 other packages than chromium-beta. + +------------------------------------------------------------------- +Wed Sep 28 17:32:17 UTC 2016 - tchvatal@suse.com + +- Version update to 55.0.2873.0: + * refresh fix-gn-bootstrap.diff + +------------------------------------------------------------------- +Tue Sep 27 08:08:38 UTC 2016 - tchvatal@suse.com + +- Do not install default_bookmarks.html file, just set homepage + and that's it +- Drop chromium-rpmlintrc not really needed + +------------------------------------------------------------------- +Mon Sep 26 14:07:58 UTC 2016 - tchvatal@suse.com + +- Drop chrome-wrapper file it is unused + +------------------------------------------------------------------- +Mon Sep 26 12:29:52 UTC 2016 - tchvatal@suse.com + +- Add --ui-disable-partial-swap to the launcher bnc#1000019 + cr#628168 ------------------------------------------------------------------- Mon Sep 26 12:22:41 UTC 2016 - dimstar@opensuse.org @@ -767,50 +905,153 @@ Mon Sep 26 12:22:41 UTC 2016 - dimstar@opensuse.org it's started as an Xwayland client (boo#1001135). ------------------------------------------------------------------- -Sat Sep 17 11:36:18 UTC 2016 - tchvatal@suse.com +Mon Sep 26 08:18:16 UTC 2016 - tchvatal@suse.com -- Apply sandbox patch to fix crashers on tumbleweed bnc#999091 +- Update to 55.0.2868.3: + * remove patch gtk3-missing-define.patch + * update patch fix-gn-bootstrap.diff + * add patch chromium-system-zlib.patch +- Use system icu, upstream bug was fixed + +------------------------------------------------------------------- +Wed Sep 21 09:50:26 UTC 2016 - tchvatal@suse.com + +- Enable system libs again as it works for now +- Disable system vpx on < Factory as the vpx there is too old +- Now stable -> enable tcmalloc again + +------------------------------------------------------------------- +Tue Sep 20 09:00:29 UTC 2016 - tchvatal@suse.com + +- Make linker use less memory by tweaking its options: + * chromium-linker-memory.patch +- Update constraints for arm a bit to build +- Use system ffmpeg unless on 13.2 that didn't include it + * chromium-54-ffmpeg2compat.patch + +------------------------------------------------------------------- +Fri Sep 16 09:12:17 UTC 2016 - tchvatal@suse.com + +- Fix obsoletes for the desktop thingies + +------------------------------------------------------------------- +Thu Sep 15 12:02:32 UTC 2016 - tchvatal@suse.com + +- Gtk3 is still buggy -> disable +- Remove systemlibs for now except ffmpeg as it causes tons of problems + +------------------------------------------------------------------- +Wed Sep 14 14:57:42 UTC 2016 - tchvatal@suse.com + +- Switch to component build - solves issue with linking and not + enough memory +- Document in defaults how to actually enable debugging +- Remove noop conditions and empty variables from .sh script + launching chromium + +------------------------------------------------------------------- +Wed Sep 14 07:31:47 UTC 2016 - tchvatal@suse.com + +- Enable aarch64 to see how it goes +- Version update to 55.0.2859.0 + +------------------------------------------------------------------- +Tue Sep 13 17:13:47 UTC 2016 - tchvatal@suse.com + +- Do not bother with widevine installation, we need to build the + connectors, but later need to use the one bundled with chrome to + work with drm anyway + +------------------------------------------------------------------- +Tue Sep 13 12:53:23 UTC 2016 - tchvatal@suse.com + +- Switch to gold, we need to use less memory when linking +- Expand constraints for the debug symbols +- Use default chromium values from master_preferences on first run + rather than pseudo-duplicating in shellscript, bugs should be + fixed in the masterprefs +- Add patch to fix build on 4.5+ kernels with systemlibs: * chromium-sandbox.patch ------------------------------------------------------------------- -Thu Sep 15 13:09:21 UTC 2016 - tchvatal@suse.com +Mon Sep 12 17:21:26 UTC 2016 - tchvatal@suse.com -- Version update stable channel 53.0.2785.116 - * Just smal bugfixes around +- Collapse the ninja calls to run only once, no need to start 3x +- Remove g0 from cflags, that is something we never want, at least + some symbols for tracing are useful +- Sync more the options that are available for the build ------------------------------------------------------------------- -Wed Sep 14 07:35:09 UTC 2016 - tchvatal@suse.com +Mon Sep 12 08:55:09 UTC 2016 - tchvatal@suse.com -- Version update to 53.0.2785.113 bnc#998743: - * CVE-2016-5170 Use after free in Blink - * CVE-2016-5171 Use after free in Blink - * CVE-2016-5172 Arbitrary Memory Read in v8 - * CVE-2016-5173 Extension resource access - * CVE-2016-5174 Popup not correctly suppressed - * CVE-2016-5175 Various fixes from internal audits +- Enable more switches that are found in the gn files +- Try to enable gtk3 ui again + * add patch gtk3-missing-define.patch ------------------------------------------------------------------- -Mon Sep 12 08:31:59 UTC 2016 - tchvatal@suse.com +Sun Sep 11 09:14:14 UTC 2016 - tchvatal@suse.com -- Reenable widevine build again bnc#998328 +- Move widevine to subpackage so user have choice between the built + one and the chrome one ------------------------------------------------------------------- -Sat Sep 10 09:13:37 UTC 2016 - tchvatal@suse.com +Sat Sep 10 11:02:42 UTC 2016 - tchvatal@suse.com -- Stable channel update to 53.0.2785.101 - * SPDY crasher fixes - * Disable NV12 DXGI video on AMD - * Forward --password-store switch to os_crypt - * Tell the kernel to discard USB requests when they time out. +- Version update to dev chanel 55.0.2853.0 +- Refresh patches: + * chromium-system-ffmpeg-r3.patch + * chromium-system-jinja-r13.patch +- Correctly detect system ffmpeg and set branding to allow all codecs + that the ffmpeg can work with (eg we simply passover all the data + and do not bother with blacklist/whitelist) ------------------------------------------------------------------- -Wed Sep 7 14:50:44 UTC 2016 - astieger@suse.com +Sat Sep 10 08:58:20 UTC 2016 - tchvatal@suse.com -- Update to Chromium 53.0.2785.92: - * Revert of support relocatable RPM packages - * disallow WKBackForwardListItem navigations for pushState pages - * arc: bluetooth: Fix advertised uuid - * fix conflicting PendingIntent for stop button and swipe away +- Update to 54.0.2840.16 +- Expand provides/obsoletes for the desktop subpackages to remove + them all + +------------------------------------------------------------------- +Thu Sep 8 13:23:30 UTC 2016 - tchvatal@suse.com + +- Enable hangouts extension +- Try to build widevine drm extension instead of using the one from + packman bnc#998328 +- Go back to normal malloc from bundled tcmalloc, switch back when + we can use system one + +------------------------------------------------------------------- +Wed Sep 7 06:36:15 UTC 2016 - tchvatal@suse.com + +- Update to 54.0.2840.14 +- Switch back to gcc on factory +- Switch some bundled libraries off courtesy of gentoo build system +- Try to use system ffmpeg if possible +- Remove useless service file, "osc service localrun download_files" + works fine enough even without it +- Add patches for system jinja and ffmpeg (gentoo): + * chromium-system-ffmpeg-r3.patch + * chromium-system-jinja-r13.patch +- Add back gcc compat patch: + * gcc60-fixes.diff + +------------------------------------------------------------------- +Tue Sep 6 08:32:06 UTC 2016 - tchvatal@suse.com + +- Switch to compile using clang as google has default + * Only for factory on 1320 and older use gcc +- Obsolete kde/gnome subpackages, useless nowdays +- Determine paralelism based on how much memory we have +- Disable gtk3 it seems to be really messy with rendering nowdays + * Stick with gtk2 for time being +- Enable tcmalloc as memory manager +- Sort out with spec-cleaner +- Drop unused patches: + * fix-older-gcc.patch + * gcc60-fixes.diff +- Do not install chromium-generic to libdir just directly go to bindir +- Remove empty pre function ------------------------------------------------------------------- Thu Sep 1 04:04:13 UTC 2016 - tittiatcoke@gmail.com diff --git a/chromium.spec b/chromium.spec index cd211ad..9fdecb5 100644 --- a/chromium.spec +++ b/chromium.spec @@ -34,8 +34,8 @@ %endif %bcond_with system_vpx %bcond_with clang -Name: chromium -Version: 65.0.3325.181 +Name: chromium-beta +Version: 66.0.3359.81 Release: 0 Summary: Google's open source browser project License: BSD-3-Clause AND LGPL-2.1-or-later @@ -53,29 +53,24 @@ Source104: chromium-icons.tar.bz2 # PATCH-FEATURE-UPSTREAM https://bugs.chromium.org/p/chromium/issues/detail?id=654190 Source105: chromium-browser.appdata.xml # PATCH-FIX-OPENSUSE Make the 1-click-install ymp file always download [bnc#836059] -Patch1: exclude_ymp.diff +Patch1: exclude_ymp.patch # PATCH-FIX-OPENSUSE enables reading of the master preference Patch2: chromium-master-prefs-path.patch -# PATCH-FIX-OPENSUSE Compile the sandbox with -fPIE settings -Patch4: chromium-sandbox-pie.patch # PATCH-FIX-OPENSUSE fix_building_widevinecdm_with_chromium.patch - Enable WideVine plugin -Patch6: fix_building_widevinecdm_with_chromium.patch -# PATCH-FIX-OPENSUSE fix_network_api_crash.patch - Fix crash in network API, e.g. when using chromecast extension -Patch7: fix_network_api_crash.patch -Patch8: chromium-glibc-2.27.patch -Patch9: chromium-compiler.patch -Patch10: mojo.patch -Patch12: chromium-dma-buf.patch -Patch14: chromium-buildname.patch -Patch17: chromium-non-void-return.patch -Patch18: chromium-drm.patch +Patch3: fix_building_widevinecdm_with_chromium.patch +Patch4: chromium-dma-buf.patch +Patch5: chromium-buildname.patch +Patch6: chromium-non-void-return.patch +Patch7: chromium-ffmpeg.patch +Patch8: chromium-drm.patch +Patch9: chromium-gcc7.patch +Patch10: chromium-sandbox-pie.patch # Google seem not too keen on merging this but GPU accel is quite important # https://chromium-review.googlesource.com/c/chromium/src/+/532294 -Patch100: chromium-vaapi-init.patch -Patch101: chromium-vaapi.patch +Patch100: chromium-vaapi.patch # GN buildsystem related patches Patch200: chromium-last-commit-position-r0.patch -Patch201: fix-gn-bootstrap.diff +Patch201: fix-gn-bootstrap.patch # PATCH-FIX-SUSE: allow proprietary codecs to be set with chromium branding Patch202: chromium-prop-codecs.patch BuildRequires: SDL-devel @@ -183,12 +178,12 @@ Provides: chromium-browser = %{version} Obsoletes: %{name}-suid-helper < %{version} Obsoletes: chromium-browser < %{version} Provides: %{name}-suid-helper = %{version} -Obsoletes: chromium-beta-desktop-gnome -Obsoletes: chromium-beta-desktop-kde -Obsoletes: chromium-desktop-gnome Obsoletes: chromium-desktop-kde -Obsoletes: chromium-dev-desktop-gnome +Obsoletes: chromium-desktop-gnome +Obsoletes: chromium-beta-desktop-kde +Obsoletes: chromium-beta-desktop-gnome Obsoletes: chromium-dev-desktop-kde +Obsoletes: chromium-dev-desktop-gnome Obsoletes: chromium-ffmpeg Obsoletes: chromium-ffmpegsumo # no 32bit supported and it takes ages to build @@ -218,7 +213,7 @@ BuildRequires: pkgconfig(icu-i18n) >= 59.0 BuildRequires: pkgconfig(vpx) >= 1.6.1 %endif %if %{with clang} -BuildRequires: clang >= 3.9.0 +BuildRequires: clang >= 5.0.0 %else %if %{?suse_version} >= 1330 BuildRequires: gcc >= 7 @@ -243,29 +238,7 @@ WebDriver is an open source tool for automated testing of webapps across many br %prep %setup -q -n %{rname}-%{version} - -#GN Buildsystem fixes -%patch200 -p1 -%patch201 -p1 -%patch202 -p1 - -#Standard patches -%patch1 -%patch2 -%patch4 -%patch6 -p1 -%patch7 -%patch8 -p1 -%patch9 -p1 -%patch10 -p1 -%patch12 -p1 -%patch14 -p1 -%patch17 -p1 -%patch18 -p1 - -# vaapi -%patch100 -p1 -%patch101 -p1 +%autopatch -p1 # Copy the toolchain settings mkdir toolchain @@ -286,6 +259,9 @@ keeplibs=( base/third_party/valgrind base/third_party/xdg_mime base/third_party/xdg_user_dirs + buildtools/third_party/libc++ + buildtools/third_party/libc++abi + buildtools/third_party/libunwind chrome/third_party/mozilla_security_manager courgette/third_party net/third_party/mozilla_security_manager @@ -298,6 +274,10 @@ keeplibs=( third_party/angle/src/third_party/compiler third_party/angle/src/third_party/libXNVCtrl third_party/angle/src/third_party/trace_event + third_party/angle/third_party/glslang + third_party/angle/third_party/spirv-headers + third_party/angle/third_party/spirv-tools + third_party/angle/third_party/vulkan-validation-layers third_party/blink third_party/boringssl third_party/boringssl/src/third_party/fiat @@ -340,6 +320,7 @@ keeplibs=( third_party/libXNVCtrl third_party/libaddressinput third_party/libaom + third_party/libaom/source/libaom/third_party/x86inc third_party/libjingle third_party/libphonenumber third_party/libsecret @@ -349,14 +330,12 @@ keeplibs=( third_party/libwebm third_party/libxml/chromium third_party/libyuv - third_party/llvm 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 third_party/node/node_modules/polymer-bundler/lib/third_party/UglifyJS2 third_party/openh264 @@ -365,13 +344,14 @@ keeplibs=( third_party/pdfium third_party/pdfium/third_party/agg23 third_party/pdfium/third_party/base - third_party/pdfium/third_party/build third_party/pdfium/third_party/bigint + third_party/pdfium/third_party/eu-strip third_party/pdfium/third_party/freetype third_party/pdfium/third_party/lcms third_party/pdfium/third_party/libopenjpeg20 third_party/pdfium/third_party/libpng16 third_party/pdfium/third_party/libtiff + third_party/pdfium/third_party/skia_shared third_party/ply third_party/polymer third_party/protobuf @@ -392,6 +372,7 @@ keeplibs=( third_party/swiftshader/third_party/llvm-subzero third_party/swiftshader/third_party/subzero third_party/tcmalloc + third_party/unrar third_party/usrsctp third_party/vulkan third_party/vulkan-validation-layers @@ -453,7 +434,7 @@ export CXX=clang++ %else # REDUCE DEBUG as it gets TOO large ARCH_FLAGS="`echo %{optflags} | sed -e 's/^-g / /g' -e 's/ -g / /g' -e 's/ -g$//g'`" -export CFLAGS="${ARCH_FLAGS} -std=gnu11 -fpermissive" +export CFLAGS="${ARCH_FLAGS} -fpermissive" export CXXFLAGS="${ARCH_FLAGS} -fpermissive" export CC=gcc export CXX=g++ @@ -578,7 +559,7 @@ tools/gn/bootstrap/bootstrap.py -s -v --gn-gen-args "${myconf_gn}" # https://bugs.chromium.org/p/chromium/issues/detail?id=642016 out/Release/gn gen --args="${myconf_gn}" out/Release -ninja -v %{?_smp_mflags} -C out/Release chrome chrome_sandbox chromedriver +ninja -v %{_smp_mflags} -C out/Release chrome chrome_sandbox chromedriver %install mkdir -p %{buildroot}%{_libdir}/chromium @@ -646,6 +627,8 @@ install -m 0644 %{SOURCE30} %{buildroot}%{_sysconfdir}/chromium chmod 755 %{buildroot}%{_libdir}/chromium/xdg-settings chmod 755 %{buildroot}%{_libdir}/chromium/xdg-mime +%fdupes %{buildroot} + %verifyscript %verify_permissions -e %{_libexecdir}/chrome_sandbox diff --git a/exclude_ymp.diff b/exclude_ymp.diff deleted file mode 100644 index 0528f28..0000000 --- a/exclude_ymp.diff +++ /dev/null @@ -1,10 +0,0 @@ ---- third_party/WebKit/common/mime_util/mime_util.cc 2013-08-25 10:12:05.428599992 +0200 -+++ third_party/WebKit/common/mime_util/mime_util.cc 2013-08-25 10:12:05.428599992 +0200 -@@ -79,6 +79,7 @@ - "text/x-csv", - "text/x-vcf", - "text/rtf", -+ "text/x-suse-ymp", - "text/comma-separated-values", - "text/csv", - "text/tab-separated-values", diff --git a/exclude_ymp.patch b/exclude_ymp.patch index 1920197..bfcb093 100644 --- a/exclude_ymp.patch +++ b/exclude_ymp.patch @@ -1,10 +1,10 @@ ---- a/third_party/blink/common/mime_util/mime_util.cc 2013-08-25 10:12:05.428599992 +0200 -+++ b/third_party/blink/common/mime_util/mime_util.cc 2013-08-25 10:12:05.428599992 +0200 +--- a/third_party/WebKit/common/mime_util/mime_util.cc 2013-08-25 10:12:05.428599992 +0200 ++++ b/third_party/WebKit/common/mime_util/mime_util.cc 2013-08-25 10:12:05.428599992 +0200 @@ -79,6 +79,7 @@ - "text/x-csv", - "text/x-vcf", - "text/rtf", -+ "text/x-suse-ymp", - "text/comma-separated-values", - "text/csv", - "text/tab-separated-values", + "text/x-csv", + "text/x-vcf", + "text/rtf", ++ "text/x-suse-ymp", + "text/comma-separated-values", + "text/csv", + "text/tab-separated-values", diff --git a/fix-gn-bootstrap.diff b/fix-gn-bootstrap.patch similarity index 100% rename from fix-gn-bootstrap.diff rename to fix-gn-bootstrap.patch diff --git a/fix_network_api_crash.patch b/fix_network_api_crash.patch deleted file mode 100644 index 00526b7..0000000 --- a/fix_network_api_crash.patch +++ /dev/null @@ -1,77 +0,0 @@ -Index: extensions/browser/api/networking_private/networking_private_linux.cc -=================================================================== ---- extensions/browser/api/networking_private/networking_private_linux.cc.orig 2016-05-05 03:01:50.000000000 +0200 -+++ extensions/browser/api/networking_private/networking_private_linux.cc 2016-05-10 16:16:42.431052917 +0200 -@@ -215,12 +215,14 @@ void NetworkingPrivateLinux::GetState( - std::unique_ptr network_properties( - new base::DictionaryValue); - -+ std::string* erp = error.get(); -+ base::DictionaryValue* npp = network_properties.get(); - // Runs GetCachedNetworkProperties on |dbus_thread|. - dbus_thread_.task_runner()->PostTaskAndReply( - FROM_HERE, base::Bind(&NetworkingPrivateLinux::GetCachedNetworkProperties, - base::Unretained(this), guid, -- base::Unretained(network_properties.get()), -- base::Unretained(error.get())), -+ base::Unretained(npp), -+ base::Unretained(erp)), - base::Bind(&GetCachedNetworkPropertiesCallback, base::Passed(&error), - base::Passed(&network_properties), success_callback, - failure_callback)); -@@ -301,11 +303,12 @@ void NetworkingPrivateLinux::GetNetworks - - // Runs GetAllWiFiAccessPoints on the dbus_thread and returns the - // results back to OnAccessPointsFound where the callback is fired. -+ NetworkMap* nmp = network_map.get(); - dbus_thread_.task_runner()->PostTaskAndReply( - FROM_HERE, - base::Bind(&NetworkingPrivateLinux::GetAllWiFiAccessPoints, - base::Unretained(this), configured_only, visible_only, limit, -- base::Unretained(network_map.get())), -+ base::Unretained(nmp)), - base::Bind(&NetworkingPrivateLinux::OnAccessPointsFound, - base::Unretained(this), base::Passed(&network_map), - success_callback, failure_callback)); -@@ -321,11 +324,12 @@ bool NetworkingPrivateLinux::GetNetworks - // Runs GetAllWiFiAccessPoints on the dbus_thread and returns the - // results back to SendNetworkListChangedEvent to fire the event. No - // callbacks are used in this case. -+ NetworkMap* nmp = network_map.get(); - dbus_thread_.task_runner()->PostTaskAndReply( - FROM_HERE, base::Bind(&NetworkingPrivateLinux::GetAllWiFiAccessPoints, - base::Unretained(this), false /* configured_only */, - false /* visible_only */, 0 /* limit */, -- base::Unretained(network_map.get())), -+ base::Unretained(nmp)), - base::Bind(&NetworkingPrivateLinux::OnAccessPointsFoundViaScan, - base::Unretained(this), base::Passed(&network_map))); - -@@ -506,11 +510,12 @@ void NetworkingPrivateLinux::StartConnec - - std::unique_ptr error(new std::string); - -+ std::string* erp = error.get(); - // Runs ConnectToNetwork on |dbus_thread|. - dbus_thread_.task_runner()->PostTaskAndReply( - FROM_HERE, - base::Bind(&NetworkingPrivateLinux::ConnectToNetwork, -- base::Unretained(this), guid, base::Unretained(error.get())), -+ base::Unretained(this), guid, base::Unretained(erp)), - base::Bind(&OnNetworkConnectOperationCompleted, base::Passed(&error), - success_callback, failure_callback)); - } -@@ -524,11 +529,12 @@ void NetworkingPrivateLinux::StartDiscon - - std::unique_ptr error(new std::string); - -+ std::string* erp = error.get(); - // Runs DisconnectFromNetwork on |dbus_thread|. - dbus_thread_.task_runner()->PostTaskAndReply( - FROM_HERE, - base::Bind(&NetworkingPrivateLinux::DisconnectFromNetwork, -- base::Unretained(this), guid, base::Unretained(error.get())), -+ base::Unretained(this), guid, base::Unretained(erp)), - base::Bind(&OnNetworkConnectOperationCompleted, base::Passed(&error), - success_callback, failure_callback)); - } diff --git a/mojo.patch b/mojo.patch deleted file mode 100644 index 7a287db..0000000 --- a/mojo.patch +++ /dev/null @@ -1,62 +0,0 @@ -description: fix mojo layout test build error -author: Michael Gilbert - ---- a/content/shell/BUILD.gn -+++ b/content/shell/BUILD.gn -@@ -93,8 +93,6 @@ static_library("content_shell_lib") { - "browser/layout_test/layout_test_resource_dispatcher_host_delegate.h", - "browser/layout_test/layout_test_url_request_context_getter.cc", - "browser/layout_test/layout_test_url_request_context_getter.h", -- "browser/layout_test/mojo_layout_test_helper.cc", -- "browser/layout_test/mojo_layout_test_helper.h", - "browser/layout_test/secondary_test_window_observer.cc", - "browser/layout_test/secondary_test_window_observer.h", - "browser/layout_test/test_info_extractor.cc", -@@ -244,9 +242,7 @@ static_library("content_shell_lib") { - "//content/public/common", - "//content/public/common:service_names", - "//content/shell/test_runner:test_runner", -- "//content/test:content_test_mojo_bindings", - "//content/test:layouttest_support", -- "//content/test:mojo_layouttest_bindings", - "//content/test:test_support", - "//device/bluetooth", - "//device/bluetooth:fake_bluetooth", ---- a/content/shell/browser/layout_test/layout_test_content_browser_client.cc -+++ b/content/shell/browser/layout_test/layout_test_content_browser_client.cc -@@ -19,7 +19,6 @@ - #include "content/shell/browser/layout_test/layout_test_message_filter.h" - #include "content/shell/browser/layout_test/layout_test_notification_manager.h" - #include "content/shell/browser/layout_test/layout_test_resource_dispatcher_host_delegate.h" --#include "content/shell/browser/layout_test/mojo_layout_test_helper.h" - #include "content/shell/browser/shell_browser_context.h" - #include "content/shell/common/layout_test/layout_test_switches.h" - #include "content/shell/common/shell_messages.h" -@@ -32,11 +31,6 @@ namespace { - - LayoutTestContentBrowserClient* g_layout_test_browser_client; - --void BindLayoutTestHelper(mojom::MojoLayoutTestHelperRequest request, -- RenderFrameHost* render_frame_host) { -- MojoLayoutTestHelper::Create(std::move(request)); --} -- - } // namespace - - LayoutTestContentBrowserClient::LayoutTestContentBrowserClient() { -@@ -98,7 +92,6 @@ void LayoutTestContentBrowserClient::Exp - - registry->AddInterface(base::Bind(&bluetooth::FakeBluetooth::Create), - ui_task_runner); -- registry->AddInterface(base::Bind(&MojoLayoutTestHelper::Create)); - } - - void LayoutTestContentBrowserClient::OverrideWebkitPrefs( -@@ -193,7 +186,6 @@ bool LayoutTestContentBrowserClient::Can - void LayoutTestContentBrowserClient::ExposeInterfacesToFrame( - service_manager::BinderRegistryWithArgs* - registry) { -- registry->AddInterface(base::Bind(&BindLayoutTestHelper)); - } - - } // namespace content