Compare commits

...
Sign in to create a new pull request.

1,584 commits

Author SHA1 Message Date
Than Ngo
8afd224270 - Update to 144.0.7559.59
* CVE-2026-0899: Out of bounds memory access in V8
  * CVE-2026-0900: Inappropriate implementation in V8
  * CVE-2026-0901: Inappropriate implementation in Blink
  * CVE-2026-0902: Inappropriate implementation in V8
  * CVE-2026-0903: Insufficient validation of untrusted input in Downloads
  * CVE-2026-0904: Incorrect security UI in Digital Credentials
  * CVE-2026-0905: Insufficient policy enforcement in Network
  * CVE-2026-0906: Incorrect security UI
  * CVE-2026-0907: Incorrect security UI in Split View
  * CVE-2026-0908: Use after free in ANGLE
2026-01-14 11:03:27 +01:00
Than Ngo
9d700ef13f Fix typo 2026-01-07 15:50:15 +01:00
Than Ngo
9fa42d3890 - Update tp 143.0.7499.192
* High CVE-2026-0628: Insufficient policy enforcement in WebView tag
- Fix rhbz#2425338, Enable control flow integrity support for x86_64/aarch64
- Enable build for epel10.1
2026-01-07 15:49:11 +01:00
Than Ngo
5d3124cac2 Update to 143.0.7499.169 2025-12-20 10:24:21 +01:00
Than Ngo
cbf2808293 - Update to 143.0.7499.146
* High CVE-2025-14765: Use after free in WebGPU
  * High CVE-2025-14766: Out of bounds read and write in V8
- Force dark mode when auto dark mode web content is on
- Remove omnibox-next-Improve-cutout-mouse-handling-for-Wayla patch, as it's merged
2025-12-17 11:30:05 +01:00
Hoshino Lina
fa84178555 Move core BRs out of GTK4 section & add missing ones
These BRs are required by Chromium proper, even when built without any toolkits
(e.g. as CEF).

Add a few missing ones (wayland-devel, xkbcommon, pangocairo) and move others
out of the GTK4 conditional, since they aren't actually related to GTK4, they
just happened to be pulled in by gtk3-devel.
2025-12-13 14:55:06 +09:00
Than Ngo
d0c2893c13 Enable gtk3 for el9 as it still has old gtk4 version 2025-12-12 11:58:21 +01:00
Than Ngo
9cf22f9f1c Add BR for gtk4 2025-12-12 09:43:04 +01:00
Than Ngo
9334d87d2c Enable gtk4 by default 2025-12-11 23:14:37 +01:00
Than Ngo
6196c57429 - Update to 143.0.7499.109
* High: Under coordination
  * Medium CVE-2025-14372: Use after free in Password Manager
  * Medium CVE-2025-14373: Inappropriate implementation in Toolbar
- Workaround problem of auto dark mode inverting images and making them unreadable
2025-12-11 10:08:45 +01:00
LuK1337
538383ec00
Backport Wayland Omnibox bug fix from upstream 2025-12-09 18:28:09 +01:00
Than Ngo
fe4b649258 Fix build error caused by python-3.9 on EL9 2025-12-04 18:25:39 +01:00
Than Ngo
c285730bf0 Fix build error caused by old rustc on el9 2025-12-04 14:39:50 +01:00
Than Ngo
42d5249d17 apply swiftshader-llvm-16.0 patch 2025-12-04 09:57:38 +01:00
Yaakov Selkowitz
a0dda14ce4 Update flatpak patches from flathub 2025-12-04 00:59:02 -05:00
Than Ngo
ffdc3cb055 Update to 143.0.7499.40
* High CVE-2025-13630: Type Confusion in V8
  * High CVE-2025-13631: Inappropriate implementation in Google Updater
  * High CVE-2025-13632: Inappropriate implementation in DevTools
  * High CVE-2025-13633: Use after free in Digital Credentials
  * Medium CVE-2025-13634: Inappropriate implementation in Downloads
  * Medium CVE-2025-13720: Bad cast in Loader
  * Medium CVE-2025-13721: Race in v8
  * Low CVE-2025-13635: Inappropriate implementation in Downloads
  * Low CVE-2025-13636: Inappropriate implementation in Split View
  * Low CVE-2025-13637: Inappropriate implementation in Downloads
  * Low CVE-2025-13638: Use after free in Media Stream
  * Low CVE-2025-13639: Inappropriate implementation in WebRTC
  * Low CVE-2025-13640: Inappropriate implementation in Passwords
- Drop workaround darkmode-image-policy.patch
- Fix build error due to Unresolved dependencies
- Fix swiftshader to compile with llvm-16.0
- Refresh python-3.9-ftbfs patch for el9
- Refresh ppc64le patches
- Refresh chromium.conf
2025-12-03 19:49:16 +01:00
LuK1337
21c645393d
Backport one more Wayland DnD bug fix from upstream 2025-12-01 09:07:42 +01:00
Than Ngo
c33bc72873 Set gtk version to 3 by default 2025-11-25 17:55:14 +01:00
Than Ngo
c2f0304e51 - Enable system libcxx
- Fix link error when building with system libcxx
- Apply memory-allocator-dcheck-assert-fix for aarch64
2025-11-24 09:28:20 +01:00
LuK1337
5bf1f40832
Backport Wayland DnD bug fix from upstream 2025-11-20 23:43:08 +01:00
Than Ngo
f73dbc6fc4 Fix typos in chromium.conf 2025-11-19 16:16:12 +01:00
Than Ngo
dcc67153dc Fix some typos 2025-11-19 16:12:46 +01:00
Than Ngo
be4261aa12 - Update to 142.0.7444.175
* High CVE-2025-13223: Type Confusion in V8
  * High CVE-2025-13224: Type Confusion in V8
2025-11-18 16:51:14 +01:00
LuK1337
6cdfef9f89
Disable LensOverlay feature by default
Google Lens does not work in chromium provided by Fedora, it displays
the following error message when attempting to use it:
  Something went wrong
  Couldn't load this panel, try again
2025-11-15 11:18:32 +01:00
Than Ngo
6f66ead77d Fix FTBFS caused by rust-1.88 on EL9 2025-11-14 21:11:22 +01:00
Mamoru TASAKA
ed7df45b80 Rebuild for ffmpeg 8 again 2025-11-14 08:10:40 +09:00
Than Ngo
cd7bcb965c Fix FTBFS - epel9 has new rust-1.88, dropp chromium-134-rust-libadler2.patch 2025-11-13 17:20:14 +01:00
Than Ngo
50983cda3a - Update to 142.0.7444.162
* High CVE-2025-13042: Inappropriate implementation in V8
2025-11-12 12:04:30 +01:00
Dominik 'Rathann' Mierzejewski
e5504d6b93 Rebuilt for FFmpeg 8 2025-11-11 17:19:38 +01:00
Than Ngo
05db1f4ea9 - Update to 142.0.7444.134
* High CVE-2025-12725: Out of bounds write in WebGPU
  * High CVE-2025-12726: Inappropriate implementation in Views
  * High CVE-2025-12727: Inappropriate implementation in V8
  * Medium CVE-2025-12728: Inappropriate implementation in Omnibox
  * Medium CVE-2025-12729: Inappropriate implementation in Omnibox
2025-11-06 11:00:11 +01:00
Than Ngo
3c9f3b84d3 Merge #59 reduce nvidia power consumption during video accel 2025-11-06 08:36:11 +00:00
Dominik 'Rathann' Mierzejewski
1385ef1e2d Rebuilt for FFmpeg 8 2025-11-05 14:30:45 +01:00
Luan Vitor Simião oliveira
aacc24ed2b
reduce nvidia power consumption during video accel
environment variable added on latest driver 580.105.08, this halves
power consumption with no performance regression
2025-11-04 21:46:56 -03:00
Than Ngo
1abce2e2df Add CVEs in changelog
* High CVE-2025-12428: Type Confusion in V8
    * High CVE-2025-12429: Inappropriate implementation in V8
    * High CVE-2025-12430: Object lifecycle issue in Media
    * High CVE-2025-12431: Inappropriate implementation in Extensions
    * High CVE-2025-12432: Race in V8
    * High CVE-2025-12433: Inappropriate implementation in V8
    * High CVE-2025-12036: Inappropriate implementation in V8
    * Medium CVE-2025-12434: Race in Storage
    * Medium CVE-2025-12435: Incorrect security UI in Omnibox
    * Medium CVE-2025-12436: Policy bypass in Extensions
    * Medium CVE-2025-12437: Use after free in PageInfo
    * Medium CVE-2025-12438: Use after free in Ozone
    * Medium CVE-2025-12439: Inappropriate implementation in App-Bound Encryption
    * Low CVE-2025-12440: Inappropriate implementation in Autofill
    * Medium CVE-2025-12441: Out of bounds read in V8
    * Medium CVE-2025-12443: Out of bounds read in WebXR
    * Low CVE-2025-12444: Incorrect security UI in Fullscreen UI
    * Low CVE-2025-12445: Policy bypass in Extensions
    * Low CVE-2025-12446: Incorrect security UI in SplitView
    * Low CVE-2025-12447: Incorrect security UI in Omnibox
2025-11-04 13:37:09 +01:00
Than Ngo
aa25e963da Update spec file for the FTBFS on EL9 2025-11-03 09:21:06 +01:00
Than Ngo
7b1d533db7 Fixed FTBFS due to old ffmpeg-5.x on EL9 2025-11-03 09:15:55 +01:00
Than Ngo
51dc9ee3be - Update to 142.0.7444.59
* Refreshed ppc64le patches
  * Refreshed system-brotli patch
  * Refreshed clang++-unknown-argument patch
  * Refreshed split-threshold-for-reg-with-hint patch
  * Fixed some FTBFS caused by missing header files
  * Fixed FTBFS caused by old rust compiler
  * Fixed FTBFS caused by new glibc-2.42 in Rawhide
  * Fixed FTBFS caused by old python-3.9.x in EL8/9
  * Dropped obsoleted chromium-141-el9-ffmpeg-5.x-duration.patch for old ffmpeg on EL9
2025-10-30 07:27:50 +01:00
Than Ngo
6256ec076f - Update to 141.0.7390.122
* High CVE-2025-12036 chromium: Inappropriate implementation in V8
2025-10-22 14:23:40 +02:00
Than Ngo
f6f64eb9da - Update 141.0.7390.107
* High CVE-2025-11756: Use after free in Safe Browsing
2025-10-15 12:53:25 +02:00
Than Ngo
2f230cdc4c Update to 141.0.7390.76 2025-10-13 11:18:55 +02:00
Than Ngo
ea47c56394 - Update to 141.0.7390.65
* High CVE-2025-11458: Heap buffer overflow in Sync
  * High CVE-2025-11460: Use after free in Storage
  * Medium CVE-2025-11211: Out of bounds read in WebCodecs
- remove 0001-Change-use-of-removed-intrinsic.patch as it is included in
  141.0.7390.65
2025-10-08 10:36:28 +02:00
Than Ngo
f1cef39bfc remove enable-native-gpu-memory-buffers by default as it causes glitches
by some hardware
2025-10-06 16:01:02 +02:00
Tom Stellard
b3e849fa1a Fix build with clang-22 2025-10-05 06:22:08 +00:00
Luan Vitor Simião oliveira
d3cec61143 add autodetection of wayland
chromium is already selecting wayland when available, add autodetection so x11 flags don't get applied to wayland sessions
2025-10-02 16:34:54 -03:00
Luan Vitor Simião oliveira
9d7ff6b066 remove vulkan features
they the chromium window to show up invisible and are also no longer necessary for hw accel on wayland.
2025-10-02 16:34:54 -03:00
Luan Vitor Simião oliveira
7f737be5cc let chromium handle angle backend selection 2025-10-02 16:34:54 -03:00
Luan Vitor Simião oliveira
f7287aae3d reduced video feature flag duplication 2025-10-02 16:34:54 -03:00
Luan Vitor Simião oliveira
cf4437bd94 explicit angle no longer needed on cr 139+ on nvidia 2025-10-02 16:34:54 -03:00
Luan Vitor Simião oliveira
7cf1f0d343 reorder feature flag to allow for wayland only options 2025-10-02 16:34:54 -03:00
Than Ngo
98bb985bc9 - Update to 141.0.7390.54
* High CVE-2025-11205: Heap buffer overflow in WebGPU
  * High CVE-2025-11206: Heap buffer overflow in Video
  * Medium CVE-2025-11207: Side-channel information leakage in Storage
  * Medium CVE-2025-11208: Inappropriate implementation in Media
  * Medium CVE-2025-11209: Inappropriate implementation in Omnibox
  * Medium CVE-2025-11210: Side-channel information leakage in Tab
  * Medium CVE-2025-11211: Out of bounds read in Media
  * Medium CVE-2025-11212: Inappropriate implementation in Media
  * Medium CVE-2025-11213: Inappropriate implementation in Omnibox
  * Medium CVE-2025-11215: Off by one error in V8
  * Low CVE-2025-11216: Inappropriate implementation in Storage
  * Low CVE-2025-11219: Use after free in V8
- Refreshed ppc64le patches
- Fixed issue with incorrect display of the links on startpage in Darkmode
- Fixed FTBFS - error: no member named 'bPsnrY' in 'Source_Picture_s'
- Fixed, DebugInfo packages aren't being produced
- Refreshed rust-clanglib patch
- Fixed FTBFS due to old ffmpeg on Epel9
- Fixed FTBFS - error: invalid application of 'sizeof' to an incomplete type 'blink::CSSStyleSheet'
- Fixed FTBFS due to missing header files
2025-10-02 08:40:29 +02:00
Than Ngo
cc250835bd Fix rhbz#2398151, chromium FTBFS on EL9 with error: undefined symbol: __rust_no_alloc_shim_is_unstable 2025-09-26 13:56:25 +02:00
Luan Vitor Simião oliveira
941124f3dc remove native-gpu-memory-buffers flag from nvidia section
this was causing glitches when using ozone wayland
also doesn't look required anymore
2025-09-25 17:51:04 -03:00
Than Ngo
e5418b70b4 - Update to 140.0.7339.207
* CVE-2025-10890: Side-channel information leakage in V8
  * CVE-2025-10891: Integer overflow in V8
  * CVE-2025-10892: Integer overflow in V8
2025-09-24 12:00:41 +02:00
Than Ngo
44e91a81db Add __rust_alloc_error_handler_should_panic_v2 to fix the build error:
undefined symbol: __rust_no_alloc_shim_is_unstab
2025-09-22 14:44:44 +02:00
Than Ngo
bd323e3c50 Fix FTBFS on F44 - undefined symbol: __rust_no_alloc_shim_is_unstable 2025-09-21 16:11:26 +02:00
Than Ngo
d1eb059adc - Update to 140.0.7339.185
* CVE-2025-10585: Type Confusion in V8
  * CVE-2025-10500: Use after free in Dawn
  * CVE-2025-10501: Use after free in WebRTC
  * CVE-2025-10502: Heap buffer overflow in ANGLE
  * Fix rendering issue on epel9
2025-09-18 08:27:27 +02:00
Than Ngo
bf178e4a11 - Update to 140.0.7339.127
* CVE-2025-10200: Use after free in Serviceworker
  * CVE-2025-10201: Inappropriate implementation in Mojo
2025-09-11 12:50:43 +02:00
Than Ngo
0df67c8438 Workaround for build error due to old ffmpeg 5.x on el9 2025-09-05 03:14:25 +02:00
Than Ngo
751b92fa96 Fix FTBFS: undefined symbol: __rust_no_alloc_shim_is_unstable on epel 2025-09-04 15:52:56 +02:00
Than Ngo
1d84b0f57e Drop ffmpeg-5.x-reordered_opaque patch as it's merged in upstream 2025-09-04 12:15:28 +02:00
Than Ngo
894e38b319 - rebase swiftshader-fix-build to fix build error on ppc64le
- drop Include-cstddef-to-fix-build fix-ppc64-rust_png-build-error
2025-09-04 07:04:06 +02:00
Than Ngo
bd191847cd Fix file list 2025-09-04 06:08:16 +02:00
Than Ngo
348af3c1a3 rebase clang++-unknown-argument patch 2025-09-03 16:17:01 +02:00
Than Ngo
227ba3dee4 - Update to 140.0.7339.80
* CVE-2025-9864: Use after free in V8
  * CVE-2025-9865: Inappropriate implementation in Toolbar
  * CVE-2025-9866: Inappropriate implementation in Extensions
  * CVE-2025-9867: Inappropriate implementation in Downloads
2025-09-03 12:39:44 +02:00
Than Ngo
27a55d3303 - Update to 139.0.7258.154
* CVE-2025-9478: Use after free in ANGLE
2025-08-28 12:45:04 +02:00
Than Ngo
ca5e61c71c - Updated to 139.0.7258.138
* CVE-2025-9132: Out of bounds write in V8
2025-08-22 14:23:28 +02:00
Dominik Mierzejewski
a23570200e Drop unused nasm build dependency
see https://fedoraproject.org/wiki/Changes/DeprecateYASM
2025-08-20 22:44:43 +02:00
Than Ngo
9a0191f60e Fix rhbz#2387446, FTBFS with rust-1.89.0 2025-08-14 10:04:53 +02:00
Than Ngo
bdab54f047 - Updated to 139.0.7258.127
* CVE-2025-8879: Heap buffer overflow in libaom
  * CVE-2025-8880: Race in V8
  * CVE-2025-8901: Out of bounds write in ANGLE
  * CVE-2025-8881: Inappropriate implementation in File Picker
  * CVE-2025-8882: Use after free in Aura
2025-08-13 12:07:03 +02:00
Than Ngo
853abbb662 - Updated to 139.0.7258.66
* CVE-2025-8576: Use after free in Extensions
  * CVE-2025-8578: Use after free in Cast
  * CVE-2025-8579: Inappropriate implementation in Gemini Live in Chrome
  * CVE-2025-8580: Inappropriate implementation in Filesystems
  * CVE-2025-8581: Inappropriate implementation in Extensions
  * CVE-2025-8582: Insufficient validation of untrusted input in DOM
  * CVE-2025-8583: Inappropriate implementation in Permissions
2025-08-05 23:30:32 +02:00
Tom Stellard
81b49fd649 Backport fix for build failure with clang-21 2025-08-04 23:05:03 +00:00
Than Ngo
c438ab8fe6 - Update to 138.0.7204.183
* CVE-2025-8292: Use after free in Media Stream
2025-07-31 09:36:43 +02:00
Luan Oliveira
ae6fa6df3d Update chromium.conf - rename vaapi flags
some vaapi flags were renamed to accelerated video in chromium 131
2025-07-25 15:10:02 +00:00
Fedora Release Engineering
1c3963b175 Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild 2025-07-23 18:17:32 +00:00
Than Ngo
bba3529104 - Update to 138.0.7204.168
* CVE-2025-8010: Type Confusion in V8
  * CVE-2025-8011: Type Confusion in V8
2025-07-23 13:18:58 +02:00
Luan Oliveira
3f3a74de58 fix localizations on chromium-browser.desktop
https://specifications.freedesktop.org/desktop-entry-spec/latest/localized-keys.html
fix RHBZ#2361244
2025-07-22 12:54:37 +00:00
Than Ngo
f3139ecb55 - Update to 138.0.7204.157
* CVE-2025-7656: Integer overflow in V8
  * CVE-2025-7657: Use after free in WebRTC
  * CVE-2025-6558: Incorrect validation of untrusted input in ANGLE and GPU
2025-07-16 11:50:20 +02:00
Tom Stellard
51301170d4 More cleanups for the rust-clanglib patch
This is probably deadcode already but simplify the condition and make
sure it's comparing with an integer and not a string.
2025-07-11 22:39:59 +00:00
Tom Stellard
19700ea3b0 Update rust-clanglib patch for clang 21 2025-07-11 14:23:56 +00:00
Than Ngo
fe4935a440 Update to 138.0.7204.100 2025-07-09 12:04:58 +02:00
Than Ngo
82fc399990 Fix typo in changelog 2025-07-03 12:07:43 +02:00
Than Ngo
cb92bca934 - Update to 138.0.7204.92
* High CVE-2025-6554: Type Confusion in V8
2025-07-03 11:43:10 +02:00
Than Ngo
4174ac0359 Fix FTBFS due to old ffmpeg version on EL9 2025-06-25 18:27:36 +02:00
Than Ngo
30e01f66d0 - FTBFS, Refreshed chromium-clang++-unknown-argument.patch
- FTBFS, Refreshed memory-allocator-dcheck-assert-fix.patch
2025-06-25 09:11:52 +02:00
Than Ngo
99ff6b4d85 - Update to 138.0.7204.49
* CVE-2025-6555: Use after free in Animation
  * CVE-2025-6556: Insufficient policy enforcement in Loader
  * CVE-2025-6557: Insufficient data validation in DevTools
2025-06-24 23:43:49 +02:00
Than Ngo
f55a174b7c - Update to 137.0.7151.119
* CVE-2025-6191: Integer overflow in V8
  * CVE-2025-6192: Use after free in Profiler
2025-06-18 10:27:03 +02:00
Than Ngo
f1498d7d81 - Update to 137.0.7151.103
* CVE-2025-5958: Use after free in Media
  * CVE-2025-5959: Type Confusion in V8
- Provide correct version for bundle librarires
- Fix rhbz#2368923, Chromium crash
2025-06-11 09:37:30 +02:00
Than Ngo
dee384f446 - refreshed ppc64le patches
- cleanup fedora/epel conditions
2025-06-04 12:07:15 +02:00
Than Ngo
ffc0f668ec Fix FTBFS on EL9 due to libadler 2025-06-03 22:41:23 +02:00
Than Ngo
24bb6db927 Fix FTBFS with rust-1.86 in EPEL10 2025-06-03 17:00:22 +02:00
Than Ngo
4aa5878994 - Update to 137.0.7151.68
* CVE-2025-5419: Out of bounds read and write in V8
  * CVE-2025-5068: Use after free in Blink
2025-06-03 11:38:54 +02:00
Than Ngo
9175afe7bf Fix FTBFS on ppc64le 2025-05-29 11:17:57 +02:00
Than Ngo
b1015a3ed4 - Fix condition for clang++-unsupported-argument
- Remove useless chromium-133-rust-crc32fast.patch
2025-05-28 16:43:00 +02:00
Than Ngo
0441c746f0 - Remove old patches for clang18 as epel-8/9/10 and fedora already have clang >=19.x
- Fix FTBFS caused by an unknown argument (clang < 20.x)
2025-05-28 11:58:10 +02:00
Than Ngo
b7e0f6070b - Update to 137.0.7151.55
* CVE-2025-5063: Use after free in Compositing
  * CVE-2025-5280: Out of bounds write in V8
  * CVE-2025-5064: Inappropriate implementation in Background Fetch API
  * CVE-2025-5065: Inappropriate implementation in FileSystemAccess API
  * CVE-2025-5066: Inappropriate implementation in Messages
  * CVE-2025-5281: Inappropriate implementation in BFCache
  * CVE-2025-5283: Use after free in libvpx
  * CVE-2025-5067: Inappropriate implementation in Tab Strip
- Fix FTBFS caused by simdutf and pdfium-png_decoder
- Remove chromium-135-gperf.patch and chromium-135-add-cfi-suppressions-for-pipewire-functions.patch, merged by upstream
- Refresh ppc64le patches
- Enable system simdutf for F43
2025-05-27 23:18:23 +02:00
Jitka Plesnikova
7f177695da Rebuilt for flac 1.5.0 2025-05-27 17:04:57 +02:00
Than Ngo
e5d715b3d6 in f43, system simdutf is incompatible and causes FTBFS. 2025-05-17 17:15:07 +02:00
Than Ngo
c183b6d100 * Fix FTBFS - ld.lld: error: unable to find library -latomic
Add BR gcc-toolset-14-libatomic-devel for clang-19.x on el9 to fix FTBFS

  ld.lld: error: unable to find library -latomic

* Fix condition for el8 build due to old clang/rust
2025-05-16 23:46:39 +02:00
Than Ngo
48bbe02d1d Fix another Typo 2025-05-15 13:29:31 +02:00
Than Ngo
c88c58dc11 Enable system simdutf for Fedora build 2025-05-15 13:28:03 +02:00
Than Ngo
e89a0949b3 Fix typo 2025-05-15 11:48:45 +02:00
Than Ngo
90322e2621 Enable system simdutf for Fedora 2025-05-15 11:46:44 +02:00
Than Ngo
aeb3513d14 - Update to 136.0.7103.113
* CVE-2025-4664: Insufficient policy enforcement in Loader
  * CVE-2025-4609: Incorrect handle provided in unspecified circumstances in Mojo
2025-05-15 10:43:20 +02:00
Than Ngo
73838bc519 Fix Error loading V8 startup snapshot file 2025-05-14 11:55:12 +02:00
Than Ngo
2275a819c8 Fix FTBFS caused by bindgen-cli-0.71, rust-1.79.0 on EL9 2025-05-08 15:07:53 +02:00
Than Ngo
e86d6fcf7b Fix incorrect clang_base_path which caused FTBFS in EL10. 2025-05-07 19:50:24 +02:00
Than Ngo
4242c89546 - Update to 136.0.7103.92
* CVE-2025-4372: Use after free in WebAudio
2025-05-07 07:34:36 +02:00
Than Ngo
84194df9f5 Update chromium-latest.py 2025-05-02 11:29:06 +02:00
Than Ngo
c4b52ce102 Workaround for clang crash due to old clang-18.x on x86_64 el9/fedora40 2025-04-30 18:01:40 +02:00
Than Ngo
a5cbb02c74 Disable warning-suppression-mappings as it causes FTBFS on el/f40/f41 due to old llvm 2025-04-30 11:01:06 +02:00
Than Ngo
30ebe15eb3 - Update to 136.0.7103.59
* CVE-2025-4096: Heap buffer overflow in HTML
  * CVE-2025-4050: Out of bounds memory access in DevTools
  * CVE-2025-4051: Insufficient data validation in DevTools
  * CVE-2025-4052: Inappropriate implementation in DevTools
2025-04-30 00:18:49 +02:00
Than Ngo
c710b35d38 - Update to 136.0.7103.48
* Refresh ppc64le patches
  * Drop bundle esbuild
  * Drop bundle nodejs
  * Refresh system-brotli, unsupport-clang-flags patches
  * Disable NodeJS version check
  * Fixed ftbfs, skrifa build error due to old rustc
  * Drop chromium-133-pipewire-cast patch, merged by upstream
  * Drop chromium-135-print-review-fail patch, merged by upstream
  * Disable warning-suppression-mappings as it causes FTBFS on el9/f40 due to old llvm
2025-04-29 18:52:43 +02:00
Than Ngo
97dc450dcf updated hash file 2025-04-23 10:53:44 +02:00
Than Ngo
be538748f3 Update to 135.0.7049.114 2025-04-23 10:50:57 +02:00
Than Ngo
b6a4674a71 Updated chromium-135.0.7049.95-clean.tar.xz.hashes 2025-04-17 09:06:01 +02:00
Than Ngo
c1fd0feaf2 - Update to 135.0.7049.95
* CVE-2025-3619: Heap buffer overflow in Codecs
  * CVE-2025-3620: Use after free in USB
2025-04-16 17:24:37 +02:00
Than Ngo
09bc163b2e Backport upstream, fix Print preview almost fails and prevents printing 2025-04-14 10:41:17 +02:00
Than Ngo
f3b7db492c Prevent FTBFS due to changes in gperf 3.2 generated code in F43. 2025-04-12 15:11:17 +02:00
Than Ngo
051dbef9c1 Refreshed flatpak patches 2025-04-12 13:17:37 +02:00
Than Ngo
e10023df54 rust-1.86 is landed in fedora 2025-04-10 09:13:13 +02:00
Than Ngo
0d97617485 - Update to 135.0.7049.84
* CVE-2025-3066: Use after free in Site Isolation
2025-04-09 10:55:12 +02:00
Than Ngo
1e076f59fd Fix FTBFS with rust-1.86 that replaces adler with adler2 on f43, 2025-04-04 15:13:15 +02:00
Than Ngo
98aabf1afa ...
gen/third_party/skia/experimental/rust_png/ffi/FFI.rs.cc:919:59: error: no member named 'unique_ptr' in namespace 'std'
  919 | ::rust::Box<::rust_png::ResultOfReader> new_reader(::std::unique_ptr<::rust_png::ReadTrait> input) noexcept {
..

Fix build error on el10, ppc64le
2025-04-03 12:17:18 +02:00
Than Ngo
45cd37cf1c Fixed build error on el9 due to old nodejs 2025-04-02 13:01:44 +02:00
Jan Grulich
6e28cb22e9 Add CFI suppressions for inline PipeWire functions 2025-04-02 07:52:09 +02:00
Than Ngo
cd9fd6fe3e Update to 135.0.7049.52 2025-04-02 00:10:38 +02:00
Than Ngo
722e743582 Removed llvm Workaround as it's fixed in llvm-20.1.1-1 in f-42/rawhide 2025-03-31 16:27:54 +02:00
Than Ngo
042548a7a4 Update to 135.0.7049.41 2025-03-29 12:02:32 +01:00
Than Ngo
9366c8cc10 Add BR on esbuild for el10 on ppc64le 2025-03-24 14:55:45 +01:00
Than Ngo
44be6f8d7d - Update to 134.0.6998.165
- Fixed rhbz#2354377 - Enable ppc64le support for el10
2025-03-24 11:02:43 +01:00
Than Ngo
107e3b9b1c - Update to 134.0.6998.117
* Critical CVE-2025-2476: Use after free in Lens
2025-03-20 09:24:31 +01:00
Than Ngo
f66692205e built with -mllvm -ppc-global-merge=0 on ppc64le as workaround for
regression in llvm20
2025-03-19 13:38:58 +01:00
Than Ngo
6c629ab5e9 Fixed rhbz#2352698, rebuild for noopenh264 2.6.0 2025-03-17 14:38:32 +01:00
Than Ngo
1df6a6e0fe Fixed build error with new pipewire in f41 2025-03-17 09:54:08 +01:00
Than Ngo
135bb928dc Fixed build errors on ppc64le 2025-03-14 17:35:11 +01:00
Fabio Valentini
1ba25f1731
Rebuild for noopenh264 2.6.0 2025-03-13 18:46:14 +01:00
Than Ngo
34fff1ea7f - Fixed build error with clang20 in f42 and rawhide
- Fixed build error when using ccache
2025-03-12 10:01:48 +01:00
Than Ngo
5f903864c5 - Update to 134.0.6998.88
* High CVE-2025-1920: Type Confusion in V8
  * High CVE-2025-2135: Type Confusion in V8
  * High CVE-TBD: Out of bounds write in GPU
  * Medium CVE-2025-2136: Use after free in Inspector
  * Medium CVE-2025-2137: Out of bounds read in V8
2025-03-11 09:51:45 +01:00
Than Ngo
b287e3cae6 - Update to 134.0.6998.35
* CVE-2025-1914: Out of bounds read in V8
  * CVE-2025-1915: Improper Limitation of a Pathname to a Restricted Directory in DevTools
  * CVE-2025-1916: Use after free in Profiles
  * CVE-2025-1917: Inappropriate Implementation in Browser UI
  * CVE-2025-1918: Out of bounds read in PDFium
  * CVE-2025-1919: Out of bounds read in Media
  * CVE-2025-1921: Inappropriate Implementation in Media Stream
  * CVE-2025-1922: Inappropriate Implementation in Selection
  * CVE-2025-1923: Inappropriate Implementation in Permission Prompts
2025-03-05 15:37:32 +01:00
Than Ngo
fc20aaa3d9 Update to 133.0.6943.141 2025-02-26 09:58:26 +01:00
Yaakov Selkowitz
efbbbe1413 Fix clang_base_path for flatpak builds
llvm is no longer in the runtimes now that mesa is an extension, so it is
rebuilt in /app for flatpaks.  Therefore, its location must be detected
dynamically.  bindgen must also respect it rather than assuming llvm is in
its own prefix.
2025-02-21 14:46:11 -05:00
Than Ngo
6d40ea788b - Update to 133.0.6943.126
* CVE-2025-0999: Heap buffer overflow in V8
  * CVE-2025-1426: Heap buffer overflow in GPU
  * CVE-2025-1006: Use after free in Network
2025-02-19 10:37:01 +01:00
Than Ngo
022a981330 - Cleanup
- Added ffmpegremove option to remove the bundle ffmpeg source when building with system ffmpeg
2025-02-17 16:00:37 +01:00
Yaakov Selkowitz
2485f12f14 Update flatpak patches 2025-02-16 12:13:12 -05:00
Than Ngo
9c1fece1b4 Update URL for PowerPC64 LE support 2025-02-14 14:41:02 +01:00
Than Ngo
25f20e5f9b Fix, opus and some another audio formats stop playing 2025-02-14 14:38:56 +01:00
Than Ngo
5364688acd Set clang_base_path correctly for f42 and later 2025-02-13 21:48:14 +01:00
Than Ngo
e124f2b634 Refreshed patches for chromium flatpak build 2025-02-13 17:36:14 +01:00
Than Ngo
a05771b757 - Update to 133.0.6943.98
* CVE-2025-0995: Use after free in V8
  * CVE-2025-0996: Inappropriate implementation in Browser UI
  * CVE-2025-0997: Use after free in Navigation
  * CVE-2025-0998: Out of bounds memory access in V
2025-02-13 12:23:57 +01:00
Than Ngo
ed617fb212 Fix build error with new pipewire in f43 2025-02-12 20:35:07 +01:00
Than Ngo
dd44f0abc6 Set clang_base_path correctly for f43 and later 2025-02-11 20:50:45 +01:00
Than Ngo
94d242b6a5 Fix build error on el 8/9 - use of unstable library feature stdarch_arm_crc32 2025-02-11 00:30:29 +01:00
Than Ngo
07ebb27a11 Fix build error due to old clang18 in el 8/9 and f40 2025-02-10 14:30:40 +01:00
Than Ngo
36e349916c - Fix youtube stop working
- Fix build errors
- Remove build_remoting, build_clear_key_cdm, policy_templates
2025-02-09 23:48:31 +01:00
Than Ngo
21faf47e5d - Update to 133.0.6943.53
* CVE-2025-0444: Use after free in Skia
  * CVE-2025-0445: Use after free in V8
  * CVE-2025-0451: Inappropriate implementation in Extensions API
2025-02-05 18:17:03 +01:00
Than Ngo
f15fef4fb5 - Updated to 132.0.6834.159
* Medium CVE-2025-0762: Use after free in DevTools
2025-01-29 12:14:21 +01:00
Than Ngo
0c209b92ae Merge #46 Fix flatpak build 2025-01-27 16:13:25 +00:00
Than Ngo
f30bbc29ca - Update to 132.0.6834.110
* High CVE-2025-0611: Object corruption in V8
  * High CVE-2025-0612: Out of bounds memory access in V8
- Drop el8 workaround
2025-01-23 13:01:33 +01:00
Yaakov Selkowitz
b73d675e71 Fix flatpak build
This adds patches from Flathub to use the Flatpak sandbox (as the GUID
sandbox is not compatible with Flatpak's own), removes dependencies on host
services, and uses automatic detection of dependency locations (since
dependencies are not necessarily found in /app even when building therein,
as the buildroot is still in /usr).
2025-01-20 22:21:44 +00:00
Than Ngo
1e146bce28 Fix build error on el8 aarch64 2025-01-16 14:51:07 +01:00
Fedora Release Engineering
718cc037e4 Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild 2025-01-16 13:42:42 +00:00
Than Ngo
e4a217a53b Fix build error on el8 aarch64 2025-01-16 09:13:39 +01:00
Than Ngo
7c5eaaf02c Fix build error on el9 aarch64 2025-01-15 23:17:13 +01:00
Than Ngo
4027de0281 Fix build error on el9 aarch64 2025-01-15 20:48:10 +01:00
Than Ngo
0c1b3b7a89 Fix build errors on f40 2025-01-15 20:25:57 +01:00
Than Ngo
d45c9f075a Fix build errors on EL9 2025-01-15 13:43:01 +01:00
Than Ngo
35c8f2ca20 - Update to 132.0.6834.83
* High CVE-2025-0434: Out of bounds memory access in V8
  * High CVE-2025-0435: Inappropriate implementation in Navigation
  * High CVE-2025-0436: Integer overflow in Skia
  * High CVE-2025-0437: Out of bounds read in Metrics
  * High CVE-2025-0438: Stack buffer overflow in Tracing
  * Medium CVE-2025-0439: Race in Frames
  * Medium CVE-2025-0440: Inappropriate implementation in Fullscreen
  * Medium CVE-2025-0441: Inappropriate implementation in Fenced
  * Medium CVE-2025-0442: Inappropriate implementation in Payments
  * Medium CVE-2025-0443: Insufficient data validation in Extensions
  * Low CVE-2025-0446: Inappropriate implementation in Extensions
  * Low CVE-2025-0447: Inappropriate implementation in Navigation
  * Low CVE-2025-0448: Inappropriate implementation in Compositing
- Refreshed ppc64 patches
- Enabled libtiff for fedora > 41
- Removed useless patches
- Fixed some build errors on EL8
2025-01-15 09:58:11 +01:00
Than Ngo
49962a66b9 - Update to 131.0.6778.264
* High CVE-2025-0291: Type Confusion in V8
2025-01-08 11:05:03 +01:00
Than Ngo
fcd074b9c3 - Update to 131.0.6778.204
* High CVE-2024-12692: Type Confusion in V8
  * High CVE-2024-12693: Out of bounds memory access in V8
  * High CVE-2024-12694: Use after free in Compositing
  * High CVE-2024-12695: Out of bounds write in V8
2024-12-19 10:58:32 +01:00
Than Ngo
1d58e3042d - Update to 131.0.6778.139
* High CVE-2024-12381: Type Confusion in V8
  * High CVE-2024-12382: Use after free in Translate
2024-12-11 13:23:20 +01:00
Than Ngo
3585ae088c Enable Vulkan for intel graphic driver by default 2024-12-04 17:20:45 +01:00
Than Ngo
3ed80b6d8f - Update to 131.0.6778.108
* High CVE-2024-12053: Type Confusion in V8
- removed a workaround for build error on el8
2024-12-04 10:38:17 +01:00
Than Ngo
cc4c497ae7 Revert decommit pooled pages by default patch (fix random crash) 2024-11-23 20:30:27 +01:00
Than Ngo
b9075d0e1f Enable qt-ui 2024-11-23 12:33:22 +01:00
Than Ngo
f8685925e2 Update clean_ffmpeg.sh 2024-11-22 19:45:28 +01:00
Than Ngo
a73b96ac79 Refresh libavcodec-parser.patch 2024-11-22 14:59:29 +01:00
Than Ngo
6b110a34db Refresh libavcodec-parser.patch 2024-11-22 10:43:05 +01:00
Than Ngo
be88674812 Fix build error on el8 2024-11-22 09:51:52 +01:00
Than Ngo
5236752714 Disable PA_MUSTTAIL to fix build faiure on ppc64le 2024-11-20 19:53:07 +01:00
Than Ngo
e975118e0a - Update to 131.0.6778.85
* High CVE-2024-11395: Type Confusion in V8
  * High CVE-2024-11110: Inappropriate implementation in Blink
  * Medium CVE-2024-11111: Inappropriate implementation in Autofill
  * Medium CVE-2024-11112: Use after free in Media
  * Medium CVE-2024-11113: Use after free in Accessibility
  * Medium CVE-2024-11114: Inappropriate implementation in Views
  * Medium CVE-2024-11115: Insufficient policy enforcement in Navigation
  * Medium CVE-2024-11116: Inappropriate implementation in Paint
  * Low CVE-2024-11117: Inappropriate implementation in FileSystem
- Add get_chromium_from_git.sh
- Disable custom_libcxx
- Refresh patches
2024-11-20 11:18:18 +01:00
Than Ngo
922a09c390 Fix Build requirement on java-openjdk-headless 2024-11-13 15:46:03 +01:00
Than Ngo
2cde5e5df1 Fix changelog 2024-11-10 14:37:14 +01:00
Than Ngo
da89ab8ed2 - Update to 130.0.6723.116
* High CVE-2024-10826: Use after free in Family Experience
  * High CVE-2024-10827: Use after free in Serial
2024-11-10 14:18:02 +01:00
Than Ngo
6bcefe467a - Update to 130.0.6723.91
* Critical CVE-2024-10487: Out of bounds write in Dawn
  * High CVE-2024-10488: Use after free in WebRTC
2024-11-10 13:53:19 +01:00
Than Ngo
d2e4cc4a9b - Update to 130.0.6723.91
* Critical CVE-2024-10487: Out of bounds write in Dawn
  * High CVE-2024-10488: Use after free in WebRTC
2024-11-02 11:57:19 +01:00
Than Ngo
f73c0983b4 - update to 130.0.6723.69
* High CVE-2024-10229: Inappropriate implementation in Extensions
  * High CVE-2024-10230: Type Confusion in V8
  * High CVE-2024-10231: Type Confusion in V8# Bitte geben Sie eine Commit-Beschreibung für Ihre Änderungen ein. Zeilen,
2024-10-26 13:14:22 +02:00
Than Ngo
611aa08482 fix typo 2024-10-23 17:07:10 +02:00
Than Ngo
79dea59fdf fixed a condition for epel10 2024-10-23 17:05:20 +02:00
Than Ngo
eec6ad9bad Add missing pthread stack size for ppc64 (openpower-patches) 2024-10-21 11:37:03 +02:00
Than Ngo
c675db4ac0 fix build error on ppc64le 2024-10-17 19:36:48 +02:00
Than Ngo
cfb5842982 - update to 130.0.6723.58
* High CVE-2024-9954: Use after free in AI
  * Medium CVE-2024-9955: Use after free in Web Authentication
  * Medium CVE-2024-9956: Inappropriate implementation in Web Authentication
  * Medium CVE-2024-9957: Use after free in UI
  * Medium CVE-2024-9958: Inappropriate implementation in PictureInPicture
  * Medium CVE-2024-9959: Use after free in DevTools
  * Medium CVE-2024-9960: Use after free in Dawn
  * Medium CVE-2024-9961: Use after free in Parcel Tracking
  * Medium CVE-2024-9962: Inappropriate implementation in Permissions
  * Medium CVE-2024-9963: Insufficient data validation in Downloads
  * Low CVE-2024-9964: Inappropriate implementation in Payments
  * Low CVE-2024-9965: Insufficient data validation in DevTools
  * Low CVE-2024-9966: Inappropriate implementation in Navigations
- enable noopenh264 support for epel >8
2024-10-17 09:30:07 +02:00
Than Ngo
975468507c * Wed Oct 09 2024 Than Ngo <than@redhat.com> - 129.0.6668.100-1
- update to 129.0.6668.100
  * CVE-2024-9602: Type Confusion in V8
  * CVE-2024-9603: Type Confusion in V8
2024-10-09 21:11:20 +02:00
Than Ngo
f13f23629d - update to 129.0.6668.89
* High CVE -2024-7025: Integer overflow in Layout
  * High CVE-2024-9369: Insufficient data validation in Mojo
  * High CVE-2024-9370: Inappropriate implementation in V8
2024-10-02 18:55:51 +02:00
Than Ngo
a54abdb392 add clang-19 support 2024-09-30 11:18:13 +02:00
Dominik 'Rathann' Mierzejewski
a8bd0425b9 Rebuilt for FFmpeg 7 2024-09-27 17:49:22 +02:00
Than Ngo
87841bbac7 - update to 129.0.6668.70
* High CVE-2024-9120: Use after free in Dawn
  * High CVE-2024-9121: Inappropriate implementation in V8
  * High CVE-2024-9122: Type Confusion in V8
  * High CVE-2024-9123: Integer overflow in Skia
2024-09-25 10:39:38 +02:00
Than Ngo
620aa89055 add BR on gcc-toolset-13-libatomic-devel for el 8/9 2024-09-19 12:58:24 +02:00
Than Ngo
cb09b6d3ba clean up 2024-09-19 11:32:25 +02:00
Than Ngo
89b96d8a84 fixed typo (enable headless_shell) 2024-09-18 20:50:54 +02:00
Than Ngo
ddd8291088 workaround for build error due to old atk version on el8 2024-09-18 20:37:15 +02:00
Than Ngo
6fd5938766 - update to 129.0.6668.58
* High CVE-2024-8904: Type Confusion in V8
  * Medium CVE-2024-8905: Inappropriate implementation in V8
  * Medium CVE-2024-8906: Incorrect security UI in Downloads
  * Medium CVE-2024-8907: Insufficient data validation in Omnibox
  * Low CVE-2024-8908: Inappropriate implementation in Autofill
  * Low CVE-2024-8909: Inappropriate implementation in UI
2024-09-18 01:28:16 +02:00
Than Ngo
a00f39b974 set correct rust_bindgen_root for el8 2024-09-11 13:18:33 +02:00
Than Ngo
c3dc494bbb - update to 128.0.6613.137
* High CVE-2024-8636: Heap buffer overflow in Skia
  * High CVE-2024-8637: Use after free in Media Router
  * High CVE-2024-8638: Type Confusion in V8
  * High CVE-2024-8639: Use after free in Autofill
2024-09-11 08:53:31 +02:00
Than Ngo
97da4a0b9f - removed workaround for missing bindgen-cli on el8
- removed partition-alloc-4k-detect.patch
2024-09-10 12:19:37 +02:00
Than Ngo
e54d1538ea enable bundlelibopenjpeg2 as workaround for old openjpeg on epel
error: use of undeclared identifier 'opj_decoder_set_strict_mode'
2024-09-06 20:44:09 +02:00
Than Ngo
ada748216c removed patch for 64kpage support on aarch64, merged by upstream 2024-09-06 20:23:23 +02:00
Than Ngo
7187ed89f5 workaround for build error on epel and fedora39 2024-09-06 17:51:40 +02:00
Than Ngo
24a34d44c8 - fix build error and disable build warnings on ppc64le
- drop obsolete patches
2024-09-06 12:47:01 +02:00
Than Ngo
07b19404a1 update to 128.0.6613.119 2024-09-05 19:23:29 +02:00
Than Ngo
ba85b2fdff - update to 127.0.6533.99
* Critical CVE-2024-7532: Out of bounds memory access in ANGLE
  * High CVE-2024-7533: Use after free in Sharing
  * High CVE-2024-7550: Type Confusion in V8
  * High CVE-2024-7534: Heap buffer overflow in Layout
  * High CVE-2024-7535: Inappropriate implementation in V8
  * High CVE-2024-7536: Use after free in WebAudio
2024-08-07 10:21:18 +02:00
Than Ngo
cba05eac94 - fix rhbz#2294773 - Allow enabling vulkan on ozone wayland for AMD vaapi
- add ppc64le patch to fix runtime assertion trap on ppc64el systems
- refresh ppc64le patch to work around broken 64k allocator code on arm64
2024-08-06 17:59:18 +02:00
Than Ngo
7a9444bd5f - remove old patch that seems to be the cause of a crash
when the user set user.max_user_namespaces to 0
2024-08-01 11:29:45 +02:00
Than Ngo
dd7b387573 - update to 127.0.6533.88
- refreshed ppc64le patches
- workaround for build error on aarch64 F41
2024-07-31 10:30:27 +02:00
Than Ngo
6f1e1e3f62 recreated source 2024-07-28 14:07:43 +02:00
Than Ngo
d31a033826 add missing files for el8 on aarch64 2024-07-28 11:57:43 +02:00
Than Ngo
dc769b5526 remove old patch for el8 2024-07-27 11:39:29 +02:00
Than Ngo
3396c12c11 workaround for missing bindgen on el8 2024-07-27 00:25:01 +02:00
Than Ngo
1363667847 refresh ppc64le patches 2024-07-26 23:27:14 +02:00
Than Ngo
3817a34ec5 Run without accessing the network 2024-07-26 20:51:40 +02:00
Than Ngo
e8d387a9db Fix File format not recognized 2024-07-26 19:49:37 +02:00
Than Ngo
66480303b2 drop unsupported rpm macro el8 2024-07-26 18:59:07 +02:00
Than Ngo
1e6dd8bb56 enable bundleicu as workaround for build error 2024-07-26 18:31:46 +02:00
Than Ngo
56046b9dcc cleanup bundle libs 2024-07-26 18:00:24 +02:00
Than Ngo
172edf5cd4 - refresh patches for aarch64
- add workaround for build error on aarch64 (highway)
- update chromium-latest.py (removing unused sttuffs)
- add bindgen for el8 build
- add upstream patch to fix build dep in crabbyavif
2024-07-26 17:13:08 +02:00
Than Ngo
3008fac76f refresh source, remove unused stuffs 2024-07-26 08:22:44 +02:00
Than Ngo
5b27efc518 - update to 127.0.6533.72
* CVE-2024-6988: Use after free in Downloads
       * CVE-2024-6989: Use after free in Loader
       * CVE-2024-6991: Use after free in Dawn
       * CVE-2024-6992: Out of bounds memory access in ANGLE
       * CVE-2024-6993: Inappropriate implementation in Canvas
       * CVE-2024-6994: Heap buffer overflow in Layout
       * CVE-2024-6995: Inappropriate implementation in Fullscreen
       * CVE-2024-6996: Race in Frames
       * CVE-2024-6997: Use after free in Tabs
       * CVE-2024-6998: Use after free in User Education
       * CVE-2024-6999: Inappropriate implementation in FedCM
       * CVE-2024-7000: Use after free in CSS. Reported by Anonymous
       * CVE-2024-7001: Inappropriate implementation in HTML
       * CVE-2024-7003: Inappropriate implementation in FedCM
       * CVE-2024-7004: Insufficient validation of untrusted input in Safe Browsing
       * CVE-2024-7005: Insufficient validation of untrusted input in Safe
- remove unsupported use_gold, use_goma
- enable bootstrap for epel as gn is old (need to update gn on epel)
- enable bundleicu and bundledav1d (need to update icu and dav1d)
- apply upstream patches to fix build issues with ninja-1.21.1 (fedora >39)
- pipewire is old on el8, new version is required, disable it temporary
2024-07-24 23:45:03 +02:00
Than Ngo
d69c30e61b - upload chromium-127.0.6533.72 source
- update chromium-latest.py to remove useless stuff (saving 800MB)
2024-07-24 23:32:11 +02:00
Than Ngo
cbb6b50391 adapt scripts for new ffmpeg 2024-07-24 22:18:44 +02:00
Than Ngo
a9002f8e77 backport patch to fix unlogged assert on startup (ppc64le) 2024-07-22 12:41:24 +02:00
Than Ngo
dd3936a5fb fix error: undefined symbol: llvm::MCAsmInfoXCOFF::MCAsmInfoXCOFF() 2024-07-21 11:30:02 +02:00
Than Ngo
1553bbdf81 update powerpc patches 2024-07-20 14:18:35 +02:00
Than Ngo
afdd9bead5 drop duplicate patch 2024-07-20 13:08:56 +02:00
Than Ngo
8ac50753d5 drop old patch 2024-07-20 13:01:47 +02:00
Than Ngo
42ab71af40 cleanup patches and specfile 2024-07-20 13:00:34 +02:00
Than Ngo
f4cfc9c758 drop el7 stuff 2024-07-20 12:04:14 +02:00
Than Ngo
0613d4b2fe drop el7 stuff 2024-07-20 12:02:46 +02:00
Than Ngo
a8386adfcf drop obsoleted patches as we have new clang-17.0.6 and rust-1.75 in el8/9 2024-07-20 11:51:33 +02:00
Than Ngo
db13fed161 there is new libva in el9.4 which supports AV1 VAAPI video encode,
drop chromium-122-revert-av1enc-el9.patch
2024-07-20 11:43:56 +02:00
Than Ngo
640731430a fix typo 2024-07-20 11:38:04 +02:00
Than Ngo
19a0fb38ce drop chromium support for el7 2024-07-20 11:35:33 +02:00
Than Ngo
ebe9f27e23 there is new website for ppc64 patches, update url 2024-07-19 11:20:28 +02:00
Than Ngo
2cd28e4a58 disable is_cfi flag on ppc64le as it is not supported.
https://bugzilla.redhat.com/show_bug.cgi?id=2298822
2024-07-19 11:12:09 +02:00
Than Ngo
8326e719e5 fixed condition for is_cfi/use_thin_lto on aarch64/ppc64le 2024-07-18 20:57:20 +02:00
Than Ngo
8d635cb4c4 - update to 126.0.6478.182
* High CVE-2024-6772: Inappropriate implementation in V8
  * High CVE-2024-6773: Type Confusion in V8
  * High CVE-2024-6774: Use after free in Screen Capture
  * High CVE-2024-6775: Use after free in Media Stream
  * High CVE-2024-6776: Use after free in Audio
  * High CVE-2024-6777: Use after free in Navigation
  * High CVE-2024-6778: Race in DevTools
  * High CVE-2024-6779: Out of bounds memory access in V8
2024-07-17 10:49:21 +02:00
Than Ngo
c5bf1b53c6 made qt5-ui and qt6-ui as subpackage 2024-07-13 00:01:00 +02:00
Than Ngo
3e5a07d280 drop qt5 ui i n rawhide 2024-07-12 16:25:45 +02:00
Than Ngo
b58288b7fb fixed rhbz#2293202, chromium Wayland UI regression 2024-07-07 11:19:11 +02:00
Than Ngo
65e54b2933 - update to 126.0.6478.126
* High CVE-2024-6290: Use after free in Dawn
  * High CVE-2024-6291: Use after free in Swiftshader
  * High CVE-2024-6292: Use after free in Dawn
  * High CVE-2024-6293: Use after free in Dawn
2024-06-25 11:21:00 +02:00
Than Ngo
369b6ab570 - update to 126.0.6478.114
* High CVE-2024-6100: Type Confusion in V8
  * High CVE-2024-6101: Inappropriate implementation in WebAssembly
  * High CVE-2024-6102: Out of bounds memory access in Dawn
  * High CVE-2024-6103: Use after free in Dawn
2024-06-19 09:24:54 +02:00
Than Ngo
8479637a3e fix build error on el7 and el8 - fatal error: sys/ifunc.h file not found 2024-06-12 19:20:44 +02:00
Than Ngo
dddcecbfc5 Fix Unknown command line argument '-split-threshold-for-reg-with-hint=0'
on fedora < 40
2024-06-12 15:30:37 +02:00
Than Ngo
53321af48c - update to 126.0.6478.55
* High CVE-2024-5830: Type Confusion in V8
  * High CVE-2024-5831: Use after free in Dawn
  * High CVE-2024-5832: Use after free in Dawn
  * High CVE-2024-5833: Type Confusion in V8
  * High CVE-2024-5834: Inappropriate implementation in Dawn
  * High CVE-2024-5835: Heap buffer overflow in Tab Groups
  * High CVE-2024-5836: Inappropriate Implementation in DevTools
  * High CVE-2024-5837: Type Confusion in V8
  * High CVE-2024-5838: Type Confusion in V8
  * Medium CVE-2024-5839: Inappropriate Implementation in Memory Allocator
  * Medium CVE-2024-5840: Policy Bypass in CORS
  * Medium CVE-2024-5841: Use after free in V8
  * Medium CVE-2024-5842: Use after free in Browser UI
  * Medium CVE-2024-5843: Inappropriate implementation in Downloads
  * Medium CVE-2024-5844: Heap buffer overflow in Tab Strip
  * Medium CVE-2024-5845: Use after free in Audio
  * Medium CVE-2024-5846: Use after free in PDFium
  * Medium CVE-2024-5847: Use after free in PDFium
- refreshed patches
- dropped a workaround for a bug in new llvm on f40/rawhide (ppc64le)
- tweaked system build flags
2024-06-12 11:59:36 +02:00
Than Ngo
a807056bef rename builddir to chromebuilddir 2024-06-07 12:09:24 +02:00
Than Ngo
92a731d246 enable system libicu for fedora 2024-06-01 10:07:54 +02:00
Than Ngo
e85102b10a add correct name compiler-rt on el7 2024-05-31 12:50:11 +02:00
Than Ngo
d8daa47044 - update to 125.0.6422.141
* High CVE-2024-5493: Heap buffer overflow in WebRTC
  * High CVE-2024-5494: Use after free in Dawn
  * High CVE-2024-5495: Use after free in Dawn
  * High CVE-2024-5496: Use after free in Media Session
  * High CVE-2024-5497: Out of bounds memory access in Keyboard Inputs
  * High CVE-2024-5498: Use after free in Presentation API
  * High CVE-2024-5499: Out of bounds write in Streams API
- fixed rhbz#2264332 - Chromium is unable to send/receive video on MS Teams
- cleanup chromium.conf
2024-05-31 11:13:13 +02:00
Than Ngo
9dc48d8486 clean openh264 from proprietary stuffs 2024-05-30 17:06:37 +02:00
Than Ngo
16fc415c9d build against noopenh264 for fedora >=40 2024-05-30 10:58:09 +02:00
Than Ngo
ae50b2ee0b fix typo 2024-05-28 07:30:04 +02:00
Than Ngo
3a9f738b6f Workaround for build error on pp64le 2024-05-28 00:24:30 +02:00
Than Ngo
578390f407 - update to 125.0.6422.112
* High CVE-2024-5274: Type Confusion in V8
2024-05-26 20:58:20 +02:00
Than Ngo
3ea7f80282 - fix bz#2282246, update to 125.0.6422.76
* High CVE-2024-5157: Use after free in Scheduling
  * High CVE-2024-5158: Type Confusion in V8
  * High CVE-2024-5159: Heap buffer overflow in ANGLE
  * High CVE-2024-5160: Heap buffer overflow in Dawn
- cleanup
2024-05-22 08:33:42 +02:00
Than Ngo
1a12f7ee44 - remove unneeded BRs
- workarounds for el7 build
2024-05-20 14:41:33 +02:00
Than Ngo
565986e75b fix typo 2024-05-19 07:32:44 +02:00
Than Ngo
8a533d07a9 fix build errors on el7 2024-05-19 07:31:11 +02:00
Than Ngo
dd8134ca1f - update to 125.0.6422.60
* High CVE-2024-4947: Type Confusion in V8
  * High CVE-2024-4948: Use after free in Dawn
  * Medium CVE-2024-4949: Use after free in V8
  * Low CVE-2024-4950: Inappropriate implementation in Downloads
2024-05-16 01:03:37 +02:00
Than Ngo
3f72327dd3 refresh patches 2024-05-15 13:43:52 +02:00
Than Ngo
765ac9dc58 - refreshed patches
- rebased clean source
2024-05-14 11:10:12 +02:00
Than Ngo
009c75b138 include libavcodec/itut35.h in clean_ffmpeg.sh 2024-05-14 10:07:10 +02:00
Than Ngo
17e4e3aabb update to 125.0.6422.41 2024-05-13 12:30:56 +02:00
Than Ngo
38d5bc3486 include headless_command_resources.pak for head_shell 2024-05-12 00:02:01 +02:00
Than Ngo
aadea9e7ee - update to 124.0.6367.201
* High CVE-2024-4671: Use after free in Visuals
2024-05-10 10:47:35 +02:00
Than Ngo
476d3d642c Add correct path for Qt6Gui header and libs 2024-05-08 20:29:33 +02:00
Than Ngo
a85a4df5dc - update to 124.0.6367.155
* High CVE-2024-4558: Use after free in ANGLE
  * High CVE-2024-4559: Heap buffer overflow in WebAudio
- refreshed patches
2024-05-08 11:33:25 +02:00
Than Ngo
72c9eceb63 fix error: use of undeclared identifier 'kEmptyCacheIndexBits' 2024-05-05 13:31:06 +02:00
Than Ngo
47bd203e8d - fixed build errors on el8
- refreshed clean_ffmpeg.sh
- added missing files for bundle ffmpeg
2024-05-05 12:09:06 +02:00
Than Ngo
8a2aa618d1 drop unneeded ppc64 patch 2024-05-01 15:15:19 +02:00
Than Ngo
6d35301532 drop unneeded patches 2024-05-01 13:34:07 +02:00
Than Ngo
37db6b60fe - update to 124.0.6367.118
* High CVE-2024-4331: Use after free in Picture In Picture
  * High CVE-2024-4368: Use after free in Dawn
- use system highway
2024-05-01 13:28:16 +02:00
Than Ngo
f09d3f6cf3 - update to 124.0.6367.91
- fixed bz#2277228 - chromium wrapper causes library issues (symbol lookup error)
- use system dav1d
- drop patches which are needed for bundled libdav1d.
2024-04-30 00:05:28 +02:00
Than Ngo
007d8d62a1 - update to 124.0.6367.78
* Critical CVE-2024-4058: Type Confusion in ANGLE
  * High CVE-2024-4059: Out of bounds read in V8 API
  * High CVE-2024-4060: Use after free in Dawn
2024-04-24 20:19:32 +02:00
Than Ngo
cd1739f113 refresh ppc64 patches 2024-04-22 20:29:56 +02:00
Than Ngo
74ce1623ca fix waylang regression
refresh ppc64 patch
2024-04-21 00:10:21 +02:00
Than Ngo
0f67208b8a enable use_qt 2024-04-20 15:13:24 +02:00
Than Ngo
3f8e3da9d7 refreshed ppc64 patches 2024-04-19 21:27:37 +02:00
Than Ngo
12d233916f refresh arm64-memory_tagging patch 2024-04-18 15:15:24 +02:00
Than Ngo
b3d20435cb build error: unknown architectural extension on aarch64 (epel and < f39) 2024-04-18 14:53:04 +02:00
Than Ngo
7101e72314 fix build failure on rhel8 regarding to old python version 3.6x 2024-04-17 20:04:09 +02:00
Than Ngo
5a65c0c541 update to 124.0.6367.60 2024-04-17 16:19:03 +02:00
Than Ngo
8419eb780c - update to 123.0.6312.122
* High CVE-2024-3157: Out of bounds write in Compositing
  * High CVE-2024-3516: Heap buffer overflow in ANGLE
  * High CVE-2024-3515: Use after free in Dawn
2024-04-11 17:53:49 +02:00
Than Ngo
d2529493d8 - update to 123.0.6312.105
* High CVE-2024-3156: Inappropriate implementation in V8
  * High CVE-2024-3158: Use after free in Bookmarks
  * High CVE-2024-3159: Out of bounds memory access in V8
2024-04-03 11:42:41 +02:00
Than Ngo
aeeaa52f2a add missing fix-clang-selection.patch 2024-03-27 11:10:46 +01:00
Than Ngo
e64265a9dd - update to 123.0.6312.86
* Critical CVE-2024-2883: Use after free in ANGLE
  * High CVE-2024-2885: Use after free in Daw
  * High CVE-2024-2886: Use after free in WebCodecs
  * High CVE-2024-2887: Type Confusion in WebAssembly
2024-03-27 11:08:27 +01:00
Than Ngo
79a6f286c3 don't download binary blob 2024-03-24 12:56:51 +01:00
Than Ngo
6604d20d78 fixed bz#2271183 - disable screen ai service 2024-03-23 22:01:47 +01:00
Than Ngo
aaa8532a46 added upstream patch to fix build error: static assertion failed due to requirement... 2024-03-23 16:37:40 +01:00
Than Ngo
429d7d2944 - fixed bz#2269768 - enable build ppc64le package for F40
- fixed bz#2270321 - VAAPI flags in chromium.conf are out of date
2024-03-23 09:08:45 +01:00
Than Ngo
53b8360ec4 fixed bz#2270321 - VAAPI flags in chromium.conf are out of date 2024-03-21 15:22:15 +01:00
Than Ngo
1ee06aa55f - update to 123.0.6312.58
* High CVE-2024-2625: Object lifecycle issue in V8
     * Medium CVE-2024-2626: Out of bounds read in Swiftshader
     * Medium CVE-2024-2627: Use after free in Canvas
     * Medium CVE-2024-2628: Inappropriate implementation in Downloads
     * Medium CVE-2024-2629: Incorrect security UI in iOS
     * Medium CVE-2024-2630: Inappropriate implementation in iOS
     * Low CVE-2024-2631: Inappropriate implementation in iOS
2024-03-20 09:41:27 +01:00
Than Ngo
11f6e46ef2 - upstream security release 122.0.6261.128
* High CVE-2024-2400: Use after free in Performance Manager
2024-03-13 09:52:27 +01:00
Than Ngo
aacff36fa7 enable ppc64le build 2024-03-12 18:12:02 +01:00
Than Ngo
a5fbe20b02 fixed build failure with clang 18 2024-03-06 14:55:37 +01:00
Than Ngo
342e76d742 - upstream security release 122.0.6261.111
* High CVE-2024-2173: Out of bounds memory access in V8
   * High CVE-2024-2174: Inappropriate implementation in V8
   * High CVE-2024-2176: Use after free in FedCM
2024-03-06 09:57:45 +01:00
Than Ngo
247d6cd063 - upstream security release 122.0.6261.94
* High : Type Confusion in V8
- fixed bz#2265957, added correct platform in chromium use agent
2024-02-28 11:49:52 +01:00
Łukasz Wojniłowicz
2b0a759a9f Make building of chromedriver optional
It lowers patching effort when this spec is used as a base for
ungoogled-chromium. chromedriver is not the desired outcome then so it
would be disabled by a simple boolean variable.
2024-02-27 18:38:02 +00:00
Jiri Vanek
bb183235c9 Rebuilt for java-21-openjdk as system jdk
https://fedoraproject.org/wiki/Changes/Java21
2024-02-27 14:51:55 +01:00
Than Ngo
ed7a0e21e4 add correct platform in user-agent 2024-02-26 15:35:33 +01:00
Than Ngo
08a22e283e fixed many build failures on el7 2024-02-25 21:49:39 +01:00
Than Ngo
24c28b9af1 upload sources 2024-02-23 16:46:42 +01:00
Than Ngo
55c38ba66d - update to 122.0.6261.69
- fix build error on el8
- bz#2265039, built with -fwrapv for improved memory safety
- bz#2265043, built with -ftrivial-auto-var-init=zero for improved security and preditability
2024-02-23 14:31:58 +01:00
Than Ngo
6a1fa5b914 disable memory tagging for epel7 and epel8 on aarch64 due to old glibc 2024-02-22 20:28:07 +01:00
Than Ngo
54c359daae add fedora start in first_run_tabs 2024-02-22 17:47:38 +01:00
Than Ngo
a058070a7f fixed compiler error with clang16 on epel 8/9 and fedora38 2024-02-22 08:44:31 +01:00
Than Ngo
b464554589 fix static assertion in NodeUuidEquality 2024-02-21 12:52:43 +01:00
Than Ngo
09195bfaaa - update to 122.0.6261.57
* High CVE-2024-1669: Out of bounds memory access in Blink
   * High CVE-2024-1670: Use after free in Mojo
   * Medium CVE-2024-1671: Inappropriate implementation in Site Isolation
   * Medium CVE-2024-1672: Inappropriate implementation in Content Security Policy
   * Medium CVE-2024-1673: Use after free in Accessibility
   * Medium CVE-2024-1674: Inappropriate implementation in Navigation
   * Medium CVE-2024-1675: Insufficient policy enforcement in Download
   * Low CVE-2024-1676: Inappropriate implementation in Navigation.
2024-02-21 12:43:02 +01:00
Than Ngo
24122bd060 - update to 121.0.6167.184
- reduce the size of relocations
2024-02-14 11:13:28 +01:00
Than Ngo
bad6ee85c4 fixed the fedora/rhel condition 2024-02-09 00:06:24 +01:00
Than Ngo
75f898fba4 - fixed build failure with system libxml in rawhide
- fixed build failure with system libevent on epel7
2024-02-08 21:59:16 +01:00
Than Ngo
09312b077c bundle snappy (linker error) 2024-02-08 08:44:44 +01:00
Than Ngo
cf29e798d9 bundle woff2 due to linker errors 2024-02-07 14:57:15 +01:00
Than Ngo
452a75c80c bundle harfbuzz on epel9 due to old version 2024-02-07 14:38:35 +01:00
Than Ngo
79154724ef bundle jsoncpp due to build errors 2024-02-07 12:46:28 +01:00
Than Ngo
0f29cdea3d bundle brotli for f38 and epel9 due to old version 2024-02-07 12:29:58 +01:00
Than Ngo
b6171e8b50 - update to 121.0.6167.160
* High CVE-2024-1284: Use after free in Mojo
  * High CVE-2024-1283: Heap buffer overflow in Skia
2024-02-07 10:50:07 +01:00
Than Ngo
7ea7262aa8 - fix ftbfs on epel7
- requires new rust with enable profiler_builtin on epel7
2024-02-03 07:31:56 +01:00
Than Ngo
2a72fc8d8c Support for 64K pages on Linux/AArch64 2024-02-01 17:40:40 +01:00
Than Ngo
acf6c96bb7 - update to 121.0.6167.139
* High CVE-2024-1060: Use after free in Canvas
  * High CVE-2024-1059: Use after free in WebRTC
  * High CVE-2024-1077: Use after free in Network
2024-01-31 21:35:42 +01:00
Than Ngo
3af34f4d57 enable use_qt 2024-01-26 11:52:17 +01:00
Than Ngo
bfcfb3a3aa - update to 121.0.6167.85
* High CVE-2024-0807: Use after free in WebAudio
  * High CVE-2024-0812: Inappropriate implementation in Accessibility
  * High CVE-2024-0808: Integer underflow in WebUI
  * Medium CVE-2024-0810: Insufficient policy enforcement in DevTools
  * Medium CVE-2024-0814: Incorrect security UI in Payments
  * Medium CVE-2024-0813: Use after free in Reading Mode
  * Medium CVE-2024-0806: Use after free in Passwords
  * Medium CVE-2024-0805: Inappropriate implementation in Downloads
  * Medium CVE-2024-0804: Insufficient policy enforcement in iOS Security UI
  * Low CVE-2024-0811: Inappropriate implementation in Extensions API
  * Low CVE-2024-0809: Inappropriate implementation in Autofill
2024-01-24 08:55:35 +01:00
Than Ngo
63a44cd6c6 added Workaround for clang bug
error: defaulting this default constructor would delete it after its first declaration
2024-01-23 15:20:08 +01:00
Than Ngo
1bc897ee19 update to 121.0.6167.71 2024-01-23 14:43:22 +01:00
Fedora Release Engineering
e2786032fe Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild 2024-01-23 01:35:00 +00:00
Than Ngo
252ab8415c - update to 120.0.6099.224
* High CVE-2024-0517: Out of bounds write in V8
  * High CVE-2024-0518: Type Confusion in V8
  * High CVE-2024-0519: Out of bounds memory access in V8
2024-01-16 23:31:34 +01:00
Than Ngo
bc732a9ef2 - update to 120.0.6099.216
* High CVE-2024-0333: Insufficient data validation in Extensions
2024-01-10 09:57:57 +01:00
Than Ngo
0c1074816b - new gn update, drop workaround for broken gn on epel 8/9
- update to 120.0.6099.199
   * CVE-2024-0222: Use after free in ANGLE
   * CVE-2024-0223: Heap buffer overflow in ANGLE
   * CVE-2024-0224: Use after free in WebAudio
   * CVE-2024-0225: Use after free in WebGPU
2024-01-04 14:41:31 +01:00
Than Ngo
ff8e5c522b - update to 120.0.6099.129
* High CVE-2023-7024: Heap buffer overflow in WebRTC
2023-12-21 10:09:42 +01:00
Than Ngo
2ea10e4cca - update to 120.0.6099.109
* High CVE-2023-6702: Type Confusion in V8
   * High CVE-2023-6703: Use after free in Blink
   * High CVE-2023-6704: Use after free in libavif
   * High CVE-2023-6705: Use after free in WebRTC
   * High CVE-2023-6706: Use after free in FedCM
   * Medium CVE-2023-6707: Use after free in CSS
2023-12-13 12:06:33 +01:00
Than Ngo
8ec2067190 - fix build error with unsupported instrumentation profile format version 2023-12-09 07:01:10 +01:00
Than Ngo
235c5e38dc update to 120.0.6099.71 2023-12-08 22:57:17 +01:00
Than Ngo
368c9dfe08 update clean_ffmpeg.sh for new bundle ffmpeg 2023-12-08 21:21:57 +01:00
Than Ngo
97d36a8a9c set debug_level 1 2023-12-08 16:27:02 +01:00
Than Ngo
f24d2ab0da drop unsupported ldflag which caused build failure 2023-12-06 19:56:19 +01:00
Than Ngo
199e1e8c0b update to 120.0.6099.62 2023-12-06 10:20:35 +01:00
Than Ngo
ae7653f59b apply patch for bundleminizip 2023-12-05 20:39:20 +01:00
Than Ngo
a6eeb2444a enable use_thin_lto 2023-12-05 15:50:02 +01:00
Than Ngo
d90f112feb - fixed bz#2242271, built with bundleminizip in fedora > 39
- fixed bz#2251884, built with fstack-protector-strong for improved security
- fixed bz#2252874, enable control flow integrity (cfi)
2023-12-05 14:37:05 +01:00
Than Ngo
74166f41a0 enable qt6 linux UI backend 2023-12-03 19:32:47 +01:00
Than Ngo
88b401e09e enable build flag -fstack-protector-strong for improved security 2023-12-02 21:48:27 +01:00
Than Ngo
5a40c29e53 update to 119.0.6045.199 2023-11-29 11:43:30 +01:00
Than Ngo
cfac4f7e0f fix ffmpeg conflicts 2023-11-19 19:50:40 +01:00
Than Ngo
1afd646e56 set dts_version to 13 for epel-8 2023-11-18 23:07:26 +01:00
Than Ngo
1556239d81 add correct requirement on libavformat-free 2023-11-16 21:14:41 +01:00
Than Ngo
9dcb3fd811 * upstream security release:
- High CVE-2023-5997, use after free in Garbage Collection
  - High CVE-2023-6112, use after free in Navigation
2023-11-15 17:36:24 +01:00
Than Ngo
f3d6aa9344 update to 119.0.6045.159 2023-11-15 17:31:02 +01:00
Than Ngo
b4425ac642 - add Requires/Conflicts for ABI break in fmpeg-free 6.0.1
- drop first_dts patch, reintroduce first_dts patch in ffmpeg-free-6.0.1
- fixed python3 syntaxWarning: invalid escape sequenc
- skip clang's patches for epel8 that now gets clang-16 update
2023-11-15 16:30:55 +01:00
Than Ngo
7fc989cee8 fixed python3 syntaxWarning: invalid escape sequence 2023-11-15 15:42:49 +01:00
Than Ngo
24a4c2ac17 fixed bz#2240127, Some h.264 mp4s do not play 2023-11-13 10:48:24 +01:00
Than Ngo
12ae710b99 epel9 now has clang-16 and gcc-toolset-13, need to set dts_version 13 for epel-9 2023-11-10 16:06:52 +01:00
Than Ngo
ebef65c904 update to 119.0.6045.123, security fix for high CVE-2023-5996: Use after free in WebAudio 2023-11-08 18:48:06 +01:00
Than Ngo
64375616dd enable debuginfo 2023-11-07 13:34:43 +01:00
Than Ngo
debc7277d2 - drop default fuzz=2
- refresh patches
- add enable_debug
2023-11-06 20:05:04 +01:00
Than Ngo
4c10597baa rename the gn-system.patch
drop useless patch to reduce debuginfos
2023-11-06 08:46:44 +01:00
Than Ngo
ab00e56c66 hide UseChromeOSDirectVideoDecoder flag on VA-API devices to avoid crashes 2023-11-03 19:55:35 +01:00
Than Ngo
3471229c2a backport upstream patch, workaround for buggy Nvidia drivers 2023-11-03 13:19:32 +01:00
Than Ngo
9ef6902d0d disable AV1 VAAPI video encode due to old libva on el9 2023-11-02 15:40:53 +01:00
Than Ngo
c57568677a - fix build error on epel9 anf fedora 37 with old ffmpeg 5.x
- add workaround for broken gn on epel 8/9
2023-11-02 08:43:26 +01:00
Than Ngo
8033e8d6f7 workaround for broken gn on epel9 2023-11-01 23:40:32 +01:00
Than Ngo
ded4d0bd83 update to 119.0.6045.105 2023-11-01 23:00:55 +01:00
Than Ngo
0f57151b45 update to 118.0.5993.117 2023-10-25 10:59:11 +02:00
Than Ngo
fc6ad5487a - update to 118.0.5993.88
- cleanup the package dependencies
2023-10-18 21:04:07 +02:00
Than Ngo
18e3cfe6d9 fix tab crash with SIGTRAP when using system ffmpeg 2023-10-16 18:32:02 +02:00
Than Ngo
3fa5c0ab7b drop chromium-108-ffmpeg-revert-new-channel-layout-api.patch for f36
cleanup
2023-10-16 12:16:10 +02:00
Than Ngo
820d621e37 update to 118.0.5993.70 2023-10-11 10:36:46 +02:00
Than Ngo
6fbad32df4 - update to 117.0.5938.149
- fix CVE-2023-5346: Type Confusion in V8
2023-10-05 10:58:50 +02:00
Than Ngo
49554e50f0 set arm_control_flow_integrity = "pac" for fedora aarch64 build as
workaround for crash on BTI capable system
2023-09-29 18:34:42 +02:00
Than Ngo
c85b98f7c6 add workaround for chromium chrashes with SIGILL on BTI capable systems (Apple M2) 2023-09-28 17:28:13 +02:00
Than Ngo
0ccb10a2c6 - update to 117.0.5938.132
- CVE-2023-5217, heap buffer overflow in vp8 encoding in libvpx.
- CVE-2023-5186, use after free in Passwords.
- CVE-2023-5187, use after free in Extensions.
2023-09-28 14:11:46 +02:00
Than Ngo
daa72a6e93 backport upstream patch to fix memory leak 2023-09-23 14:06:06 +02:00
Than Ngo
9ac8830f6a update to 117.0.5938.92 2023-09-22 14:05:20 +02:00
Than Ngo
10cad7c377 apply missing-header-files.patch also for fedora 2023-09-18 10:00:22 +02:00
Than Ngo
e6d1d885e5 fix BR esbuild 2023-09-17 20:16:09 +02:00
Than Ngo
7abe4fea9a update to 117.0.5938.88 2023-09-17 18:57:19 +02:00
Than Ngo
18a48bd7aa fixed compiler error on el7 - error: defaulting this default constructor would delete it after its first declaration 2023-09-16 23:05:36 +02:00
Than Ngo
54f9069a38 fix compiler errors due to old clang version 2023-09-15 22:10:13 +02:00
Than Ngo
5391e0e39b fixed compiler errors, missing typename 2023-09-15 18:17:02 +02:00
Than Ngo
2bf7a24994 fixed several compiler errors due to old clang version 2023-09-15 14:45:10 +02:00
Than Ngo
0990303e4a - added missing typename to fix compiler error
- fix compiler error, invalid operands to binary expression
2023-09-15 10:46:02 +02:00
Than Ngo
d2ac2146bc rebase emplace_back_on_vector-c++20.patch to fix the link error 2023-09-14 17:09:57 +02:00
Than Ngo
f32ee45ed4 update to 117.0.5938.62 2023-09-13 12:37:16 +02:00
Than Ngo
1bd4392932 update source 2023-09-12 09:59:58 +02:00
Than Ngo
77bc66f09e update to 116.0.5845.187 2023-09-12 09:58:50 +02:00
Trung Le
6dd6c5b1f4 Fix NodeJS Sources
The URLs are incorrect
2023-09-11 05:44:31 +00:00
Than Ngo
ca8d2b52b5 update to 116.0.5845.179 2023-09-08 14:34:57 +02:00
Than Ngo
e58a94816c add correct patch file 2023-08-17 07:13:37 +02:00
Than Ngo
41db0e056a fixed ftbfs due to error: use of undeclared identifier 'MFD_CLOEXEC' 2023-08-17 07:11:49 +02:00
Than Ngo
d895b61728 fixed chromium FTBFS on RHEL7, error: undefined symbol: unsigned long cc::PaintOpWriter::SerializedSize<unsigned long> 2023-08-16 22:52:58 +02:00
Than Ngo
a8ad64be1d rebase emplace_back_on_vector-c++20.patch for 116 2023-08-15 23:23:23 +02:00
Than Ngo
f553ba3014 Guard the field assignment num_delta_pocs_of_ref_rps_idx as it is not supported
in fedora < 39
2023-08-15 19:19:36 +02:00
Than Ngo
569a8a36e9 fix build error on aarch64 - implicit instantiation of undefined template 'std::numeric_limits<unsigned long>' 2023-08-15 10:46:24 +02:00
Than Ngo
d26f47905e upload source 2023-08-15 10:10:18 +02:00
Than Ngo
5175b086e8 update to chromium-116.0.5845.96 2023-08-15 09:12:05 +02:00
Than Ngo
f4a15a51f7 set use_all_cpus=1 for aarch6 2023-08-09 14:17:09 +02:00
Than Ngo
412980a53b try to build with use_all_cpus=1 2023-08-09 10:18:55 +02:00
Than Ngo
7cebf43f44 update to 115.0.5790.170 2023-08-03 13:19:50 +02:00
Than Ngo
faecd84d40 update to 115.0.5790.110 2023-07-27 11:44:55 +02:00
Than Ngo
ea4ef026ef more fix for python-3.12-deprecated 2023-07-22 18:21:46 +02:00
Than Ngo
6473920878 more fixes for python-3.12 issue 2023-07-22 17:23:12 +02:00
Than Ngo
44cc7c7763 more fix for python-3.12 issue 2023-07-22 16:56:46 +02:00
Than Ngo
f3f21ea6f1 more fixes for python-3.12 issue 2023-07-22 15:31:48 +02:00
Than Ngo
50c0214711 Fix python3 issue, imp modul is removed in python-3.12 2023-07-22 14:38:51 +02:00
Than Ngo
1ac23e4538 update to 115.0.5790.102 2023-07-22 11:00:56 +02:00
Than Ngo
7e71540a5e - Fix FTBFS on aarch64 - error: use of undeclared identifier 'kV4L2FlatStatefulVideoDecoder'
- Fix FTBFS on aarch64 - error: no member named 'Contains' in namespace 'base'
2023-07-20 22:20:36 +02:00
Than Ngo
1579239c98 IFUNC-Resolver is not supported in old glibc on rhel8, revert it 2023-07-20 21:03:27 +02:00
Than Ngo
1f8fd846d2 update to 115.0.5790.98 2023-07-19 09:21:08 +02:00
Than Ngo
daadf4916d update to 114.0.5735.198 2023-06-27 12:13:00 +02:00
Than Ngo
ecbf187d1c - Update to 114.0.5735.133
- Enable AllowQt feature flag
- Fix Qt deps
- Fix Qt logical scale factor
2023-06-14 14:14:28 +02:00
Than Ngo
369ac1d3ad update to 114.0.5735.106 2023-06-07 17:30:36 +02:00
Than Ngo
802b55bba2 - add qt6 linuxui backend
- backport: handle scale factor changes
- backport: fix font double_scaling
2023-05-28 10:09:21 +02:00
Than Ngo
b733bdb781 uodate to 114.0.5735.45 2023-05-26 18:52:37 +02:00
Than Ngo
5027d01233 - drop clang workaround for el8
- update to 113.0.5672.126
2023-05-17 08:54:40 +02:00
Than Ngo
72b84c52e7 update to 113.0.5672.92 2023-05-09 11:58:04 +02:00
Than Ngo
d25279ef18 workaround for clang bug on el7 2023-05-04 21:21:02 +02:00
Than Ngo
790a7e70ce - workaround for clang bug on el7
- fix FTBFS on el7, old kernel
2023-05-04 12:20:36 +02:00
Than Ngo
0b9451b207 fix typo 2023-05-03 19:35:15 +02:00
Than Ngo
9ac1c3d807 fix FTBFS, declare iterators as subtypes (clang issue) 2023-05-03 18:06:53 +02:00
Than Ngo
439349f560 add workaround for clang bug, Rejecting captures of structured bindings in generic lambdas in C++20 2023-05-03 16:58:32 +02:00
Than Ngo
d89936fb37 update to 113.0.5672.63 2023-05-03 10:04:22 +02:00
Than Ngo
b5a8d88748 Merge #34 Use proper python3 print syntax 2023-04-27 09:23:59 +00:00
Than Ngo
6d843ec284 drop useless py2-bootstrap.patch 2023-04-23 19:25:18 +02:00
Than Ngo
be840dd2e4 drop fix_deps_for_response.proto patch, it's merged in upstream 2023-04-23 19:23:18 +02:00
Than Ngo
a4254bb39d fix dependency for feed_response.proto 2023-04-23 16:23:43 +02:00
Than Ngo
fb9b6a995e make --use-gl=egl default for x11/wayland 2023-04-23 14:23:04 +02:00
Than Ngo
ab76257ed3 set load average for njnja 2023-04-23 12:04:46 +02:00
Than Ngo
31aed38c28 set UV_THREADPOOL_SIZE=%{numjobs} 2023-04-23 00:32:52 +02:00
Than Ngo
5741683f6e try UV_THREADPOOL_SIZE=4 2023-04-22 20:59:25 +02:00
Than Ngo
255675b6fc enable WebUIDarkMode 2023-04-22 19:51:29 +02:00
Orion Poplawski
ab40834cc1 Use proper python3 print syntax 2023-04-21 07:27:49 -06:00
Than Ngo
81c4d30ef0 update to 112.0.5615.165 2023-04-20 12:03:08 +02:00
Than Ngo
eee21b4705 reset use_all_cpus 2023-04-17 20:17:49 +02:00
Than Ngo
8214db7b90 cleanup 2023-04-17 20:17:03 +02:00
Than Ngo
bf2f6e81d5 bump release 2023-04-17 18:25:19 +02:00
Than Ngo
e855dcd3bd try to build with use_all_cpus=1 2023-04-17 18:21:01 +02:00
Than Ngo
fe9db0d164 - fix vaapi issue on xwayland
- fix the build order, chrome_feed_response_metadata.pb.h file not found
2023-04-17 18:15:42 +02:00
Than Ngo
85e2778cb6 rebase ozone-wayland-vaapi-support patch 2023-04-15 09:46:41 +02:00
Than Ngo
74038a0c7f update to 112.0.5615.121 2023-04-15 09:45:22 +02:00
Than Ngo
edd83a7cb1 fix build failure on rhel8 2023-04-06 17:52:21 +02:00
Than Ngo
8d7d7962cb move disable-features and enable-features flags to config file 2023-04-05 15:28:49 +02:00
Than Ngo
40f61d8367 disable AllowQt by default 2023-04-05 13:37:08 +02:00
Than Ngo
c2423231dd - update to 112.0.5615.49
- fix #2184142, Small fonts in menus
2023-04-05 13:35:32 +02:00
Than Ngo
b17d0b8866 update to 111.0.5563.146 2023-03-28 16:42:19 +02:00
Neal Gompa
3bd75804fc Fix ffmpeg note in README.fedora
RPM Fusion provides an overlay library for ffmpeg-free called
libavcodec-freeworld that overrides our libavcodec while not
requiring the ffmpeg-free packages to be uninstalled.
2023-03-25 19:32:45 -04:00
Than Ngo
7476589e26 update to 111.0.5563.110 2023-03-22 10:45:24 +01:00
Tom Callaway
d44cb8f8a3 convert patch macro use to the most compatible syntax 2023-03-14 11:59:56 -04:00
Neal Gompa
18c2b5a791 Rebuild for ffmpeg 6.0 2023-03-12 12:09:11 -04:00
Than Ngo
5ce9757b92 update to 111.0.5563.64 2023-03-08 08:21:13 +01:00
Tom Callaway
fc64fd023d Merge #32 Fix for systems with page size larger than 4k 2023-03-07 11:12:32 +00:00
Eric Curtin
90d57b6808 Fix for systems with page size larger than 4k
Discovered on Fedora Asahi Remix by Asahi Lina.
2023-03-07 10:41:08 +00:00
Than Ngo
c86221443c - update to 111.0.5563.50
- system freetype on fedora > 36
2023-03-06 16:24:25 +01:00
Than Ngo
c31aa162c2 remove stuff for test build 2023-02-24 10:28:03 +01:00
Than Ngo
451329d33d test build 2023-02-24 09:45:21 +01:00
Than Ngo
708c34cf26 test build 2023-02-24 09:03:43 +01:00
Than Ngo
29ba92517d disable build_headless for test build 2023-02-24 05:41:50 +01:00
Than Ngo
918608189b fixed release 2023-02-23 21:00:57 +01:00
Than Ngo
6cc69b3c12 - workaround for crash on aarch64, rhel8
- testbuild
2023-02-23 20:59:54 +01:00
Than Ngo
2cee2a1926 - update to 110.0.5481.177
- enable use_qt on el8
2023-02-23 12:18:46 +01:00
Jan Grulich
3f8f59ebab Enable PipeWire screen sharing on RHEL8+ 2023-02-22 12:52:40 +01:00
Than Ngo
ddb4eef078 fixed bz#2036205, failed to load GLES library 2023-02-21 15:51:09 +01:00
Than Ngo
dae02ba1e5 for aarch64, enable use_v4l2_codec on fedora >=36 2023-02-18 20:46:50 +01:00
Than Ngo
699b245c27 update to 110.0.5481.100 2023-02-17 10:03:01 +01:00
Than Ngo
4398691bfe migrated to SPDX license 2023-02-16 18:58:54 +01:00
Than Ngo
4d005b902f - fix #2071126, enable support V4L2 stateless decoders for aarch64 plattform
- fix prefers-color-scheme
- drop snapshot_blob.bin, replace snapshot_blob.bin with v8_context_snapshot.bin
- move headless_lib*.pak to headless subpackage
2023-02-16 10:13:11 +01:00
Than Ngo
f53718b47d fix prefers-color-scheme 2023-02-13 12:44:57 +01:00
Than Ngo
b9a9d41dd6 drop snapshot_blob.bin, replace snapshot_blob.bin with v8_context_snapshot.bin
move headless_lib*.pak to headless subpackage
2023-02-09 19:59:29 +01:00
Than Ngo
29e19801e0 limit numjobs to 8 on aarch64 2023-02-09 13:15:11 +01:00
Than Ngo
ac7acba471 limit numjobs to 16 on aarch64 2023-02-09 11:39:03 +01:00
Than Ngo
3882491e81 limit numjobs to 32 on aarch64 2023-02-09 10:56:50 +01:00
Than Ngo
0032cb0f5b Turning the buildsystem 2023-02-09 09:42:40 +01:00
Than Ngo
7a18b923fd limit numjobs to 64 on aarch64 2023-02-09 08:40:01 +01:00
Than Ngo
2fc2dc4d1b fix fatal error: linux/kcmp.h on epel7
drop needless patches
2023-02-08 20:52:15 +01:00
Than Ngo
4e41734103 disable font-test 2023-02-08 15:12:11 +01:00
Than Ngo
e5d0c62d9d update to 110.0.5481.77 2023-02-08 11:54:20 +01:00
Than Ngo
a70d6db069 turning the buildsystem 2023-02-07 22:59:16 +01:00
Than Ngo
ec43a3a86c Turning the buildsystem 2023-02-07 20:02:34 +01:00
Than Ngo
57a5faa007 Turning the buildsystem 2023-02-07 10:24:19 +01:00
Than Ngo
e7d506d9e3 Turning the buildsystem 2023-02-06 21:33:51 +01:00
Than Ngo
90d7c820b8 update config file 2023-02-06 18:28:56 +01:00
Than Ngo
b666d07a1d we got the aarch64 builder with 224 cores and x86_64 builder with 46 cores 2023-02-06 12:59:16 +01:00
Than Ngo
2f9dd6729b update to 110.0.5481.61 2023-02-06 12:43:42 +01:00
Than Ngo
ce1821d821 el7 has new gn now , so we use system gn 2023-02-04 11:23:51 +01:00
Than Ngo
7fe022bc61 there's new gn on epel7, disable bootstrap by default 2023-02-04 11:13:01 +01:00
Jan Grulich
dd2f25496a Use ffmpeg decoders for h264 support 2023-02-02 14:32:02 +01:00
Than Ngo
72f760a379 added missing chromium-85.0.4183.83-el7-old-libdrm.patch for epel7 2023-01-27 18:09:45 +01:00
Than Ngo
e5a80975d5 revert the change because it is uncertain when the maintainer
will update new version of nodejs for e8 koji buildsystem.
2023-01-27 11:19:41 +01:00
Than Ngo
90f438194a use system nodejs 2023-01-25 18:29:35 +01:00
Than Ngo
6f19fce472 update to 109.0.5414.119 2023-01-25 17:20:11 +01:00
Than Ngo
1057f0a0a2 fix nodejs issue 2023-01-23 15:50:01 +01:00
Than Ngo
2e0aa4d4c9 disable bootstrap on fedora and epel >=8, use system gn 2023-01-23 12:58:13 +01:00
Than Ngo
5c70c7eeb5 clean up 2023-01-22 09:43:44 +01:00
Than Ngo
9703a37608 - limit numbjobs
- improve changing shebang
- drop _lto_cflags
2023-01-20 13:16:27 +01:00
Than Ngo
a1ede8a162 try to build with numjobs 32 2023-01-20 09:50:22 +01:00
Than Ngo
f39164181d set use_all_cpus to 0 to avoid resource temporarily unavailable 2023-01-20 09:44:54 +01:00
Than Ngo
8cf215da89 more gcc13 fix 2023-01-19 21:41:37 +01:00
Than Ngo
c74bf4e46e more fixes for gcc13
cleaned up
2023-01-19 19:47:13 +01:00
Fedora Release Engineering
972bc8650e Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2023-01-18 23:50:13 +00:00
Than Ngo
0c59335f66 more gcc13 fixes 2023-01-18 16:29:40 +01:00
Than Ngo
8c684f600c fix FTBFS with gcc13 2023-01-17 22:49:23 +01:00
Than Ngo
150db8ef24 move icu_use_data_file to CHROMIUM_CORE_GN_DEFINES 2023-01-16 11:04:35 +01:00
Than Ngo
d8f95d6fb3 disable some tests to speed up the build
update readme
2023-01-16 08:18:23 +01:00
Than Ngo
9677ab57db - conditionalize system_build_flags
- cleaned up gn defines
- add BR on python3-importlib-metadata
- set correct toolchain gcc|clang
2023-01-15 19:58:57 +01:00
Than Ngo
55ac5ad4da fix permission problem 2023-01-13 17:27:51 +01:00
Than Ngo
81a86de561 fix typo 2023-01-13 13:09:08 +01:00
Than Ngo
8e195175d1 typo fix 2023-01-13 09:14:07 +01:00
Than Ngo
fa24b35fd2 fix typo bug 2023-01-13 07:54:34 +01:00
Than Ngo
0be0bc354a rebase cleaned tarball due to missing opus.h file 2023-01-12 20:11:11 +01:00
Than Ngo
e0f71409a7 fixes rpm file list 2023-01-12 15:25:24 +01:00
Than Ngo
a429224803 fixes rhel condition 2023-01-12 14:59:37 +01:00
Than Ngo
693308c0fa Allow users to override command-line options 2023-01-12 14:42:18 +01:00
Than Ngo
6c69a0f2ec update to 109.0.5414.74 2023-01-12 11:24:53 +01:00
Than Ngo
7f6eb6da0a - enable qt backend for el >= 9 and fedora >= 35
- drop i686
- conditional BR on java-1.8.0-openjdk-headless
2023-01-10 12:32:29 +01:00
Than Ngo
fafc22e12f vaapi disable on el7 and el8 2023-01-08 16:23:48 +01:00
Than Ngo
378fb70a07 vaapi support for wayland 2023-01-08 16:06:31 +01:00
Than Ngo
bafe2ce593 revert new-channel-layout-api for old ffmpeg-free on f36
disable the package notes info as workaround for linking issue on f36
f36 has old libaom, enable bundle libaom on f36
2023-01-05 07:04:55 +01:00
Than Ngo
f5b3359349 set use_all_cpus to 0 to avoid resource temporarily unavailable 2023-01-04 08:44:34 +01:00
Than Ngo
f371304011 add README.fedora 2023-01-04 08:42:08 +01:00
Than Ngo
2148ca21fb - build with system ffmpeg-free and system libaom
- fix widewine extension issue
- vaapi, disable UseChromeOSDirectVideoDecoder
- workaround for linking issue in clang <= 14
2023-01-04 08:37:42 +01:00
Tom Callaway
325cac37d2 turn headless back on (chrome-remote-desktop will stay off, probably forever) 2023-01-01 09:15:44 -05:00
Than Ngo
e1d2ad7d48 enable system opus 2022-12-31 13:57:34 +01:00
Than Ngo
8d5a9ea420 - disable GlobalMediaControlsCastStartStop to avoid crash when using the address bar media player button
- enable system brotli
2022-12-30 22:24:17 +01:00
Than Ngo
5bc3025588 fixed symlinks 2022-12-30 12:07:43 +01:00
Than Ngo
23f15e462f fixed file list 2022-12-30 11:18:52 +01:00
Than Ngo
1fc12f4322 - drop use_jumbo buildflag
- clean up
2022-12-29 21:28:51 +01:00
Than Ngo
3d21a3491a drop support of python2 2022-12-29 18:10:49 +01:00
Than Ngo
3cd5befbda drop build dependency on python3-importlib-metadata
fix symlinks
2022-12-28 22:08:28 +01:00
Than Ngo
754df0a762 set use_all_cpus to 0 to avoid resource temporarily unavailable 2022-12-28 20:34:01 +01:00
Than Ngo
35c60c80e1 added missing patches 2022-12-28 19:05:33 +01:00
Than Ngo
3aaab3062e update to 108.0.5359.124
switch to clang
2022-12-28 18:04:46 +01:00
Than Ngo
5bb29c3ac2 set dts_version 11 2022-11-29 22:29:59 +01:00
Than Ngo
8fbc3c2dca - rebase cleaned tarball
- add some missing c files into clean_ffmpeg.sh
2022-11-29 19:43:24 +01:00
Than Ngo
98c8513a8f rebase cleaned tarball due to missing header file 2022-11-29 13:38:32 +01:00
Than Ngo
87d80afb99 update clean_ffmpeg.sh 2022-11-29 12:38:11 +01:00
Than Ngo
bdbb6178ee - update to 107.0.5304.121
- update clean_ffmpeg.sh
2022-11-29 12:12:42 +01:00
Than Ngo
d937aa4813 upload new tarball 2022-11-23 10:20:16 +01:00
Than Ngo
c8ad6815d8 upload missing patches 2022-11-23 09:05:38 +01:00
Than Ngo
72444f4aff upload tarball 2022-11-23 09:03:16 +01:00
Than Ngo
758c7e4887 update to 107.0.5304.110 2022-11-21 11:35:55 +01:00
spotrh
cc370311a7 apply upstream fix for wayland menu misplacement bug 2022-09-23 14:35:09 -04:00
spotrh
16836d7544 fix hardcoded node ver 2022-09-22 15:22:24 -04:00
spotrh
8e69b8771b update node builds for epel 2022-09-22 14:16:05 -04:00
spotrh
717a675e0f fix aarch64 builds so they do not try to use clang only flag 2022-09-20 16:24:01 -04:00
Tom spot Callaway
6032343ca5 update to 105.0.5195.125 2022-09-20 11:58:27 -04:00
Tom spot Callaway
60d1f6c780 105.0.5195.52 2022-09-02 22:31:48 -04:00
Tom spot Callaway
df09afc114 Fix v8 issue where GCC on arm64 fails to compile extract_first_nonzero_index because of the signedness type mismatch in the NEON intrinsics 2022-08-25 09:37:51 -04:00
Tom spot Callaway
af04eed16c be explicit about the need for importlib-metadata 2022-08-19 13:47:51 -04:00
Tom spot Callaway
1e2f91b923 104.0.5112.101 2022-08-19 09:57:47 -04:00
Fedora Release Engineering
f395fe077e Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2022-07-20 22:54:34 +00:00
Tom spot Callaway
d79b33335e 103.0.5060.114 2022-07-15 14:39:17 -04:00
Tom spot Callaway
55d57a743c fix rjsmin patch, update six to 1.16.0 2022-07-06 17:56:52 -04:00
Tom spot Callaway
73a370af50 update rjsmin to 1.2.0 to see if Python 3.11 likes it better 2022-07-01 16:41:10 -04:00
Tom spot Callaway
7de558c0a9 remove U mode from tools/grit to support modern Python3 2022-06-30 15:45:07 -04:00
Tom spot Callaway
b98b064928 disable use_all_cpus 2022-06-29 09:18:57 -04:00
Tom spot Callaway
8242b9a105 103.0.5060.53 2022-06-28 19:00:59 -04:00
Tom spot Callaway
05c57f9975 clean script fixes 2022-06-24 17:04:40 -05:00
Tom spot Callaway
d3e3951389 fix minizip requires for el9 2022-06-16 13:18:05 -04:00
Tom spot Callaway
6b11f13d37 Need to explicitly include a kernel header on EL7 to support MFD_CLOEXEC 2022-06-15 11:30:29 -04:00
Tom spot Callaway
3ee798bef1 fixup conditionals to be less obtuse 2022-06-15 09:23:11 -04:00
Tom spot Callaway
effc42ab0a el9 aarch64 does not seem to have libva-devel 2022-06-15 09:17:36 -04:00
Tom spot Callaway
cd477185d5 aarch64 v8 gcc cfi fix 2022-06-14 16:40:12 -04:00
Tom spot Callaway
5d6968f9db disable gnome-keyring on epel9 2022-06-13 10:10:16 -04:00
Tom spot Callaway
340fe716d2 add BR on git binary 2022-06-13 09:39:48 -04:00
Tom spot Callaway
ac544348b8 fix gnome-keyring conditional for epel9 2022-06-13 09:35:28 -04:00
Tom spot Callaway
6e42b8cf18 rhel cleanups 2022-06-12 15:47:35 -04:00
Tom spot Callaway
1e38bc640f use_all_cpus 0 2022-06-12 15:27:58 -04:00
Tom spot Callaway
22ce682b2a 102.0.5005.115 2022-06-12 15:24:00 -04:00
Tom spot Callaway
0d9d66e66b 100.0.4896.127 2022-04-22 14:30:31 -04:00
Tom spot Callaway
243123576e fix missing <vector>, actually apply xkb patch 2022-04-11 18:15:28 -04:00
Tom spot Callaway
3b8ca2ebd5 fix std::tie issue, fix old xkb issue 2022-04-08 10:16:22 -04:00
Tom spot Callaway
a64efb0677 fix changelog 2022-04-07 19:57:13 -04:00
Tom spot Callaway
13b814a435 100.0.4896.75 2022-04-07 19:53:00 -04:00
Tom spot Callaway
1cb0865e8e Merge branch 'epel7' into rawhide 2022-04-07 19:50:36 -04:00
Tom spot Callaway
09a0287d67 100.0.4896.75 2022-04-07 19:50:11 -04:00
Peter Robinson
4db695eb29 drop the aarch64 issues that's fixes in binutils everwhere now (rhbz 1869884) 2022-04-04 08:32:43 +01:00
Tom spot Callaway
c260145f10 fix markdownsafe patch 2022-03-28 11:28:42 -04:00
Tom spot Callaway
ef3cec3018 fix build against python3-markdownsafe 2.0.1, fix strip command to find proper libvulkan library 2022-03-28 10:39:46 -04:00
Tom spot Callaway
19f000e61e fix f37 libusb BR 2022-03-27 10:01:51 -04:00
Tom spot Callaway
4f9ee801ed 99.0.4844.84, remote desktop library fix, size fixes 2022-03-27 09:46:48 -04:00
Tom spot Callaway
ae7824bf00 update to 99.0.4844.74 2022-03-19 04:29:33 -04:00
Tom spot Callaway
47302ecee7 another == operator hack 2022-03-06 19:16:59 -05:00
Tom spot Callaway
957476f7b8 epel7 fixes 2022-03-05 18:40:44 -05:00
Tom spot Callaway
ed7be51b3b Merge branch 'rawhide' into epel7 2022-03-05 14:48:38 -05:00
Tom spot Callaway
fed246998c merge + rhel 8 fix 2022-03-05 14:26:19 -05:00
Tom spot Callaway
0834aaae89 99.0.4844.51 2022-03-05 14:21:00 -05:00
Tom spot Callaway
8dff5fe57e 98.0.4758.102 2022-03-01 17:59:29 -05:00
Tom spot Callaway
bf83007e03 Add include <utility> for std::exchange 2022-02-16 13:55:19 -05:00
Tom spot Callaway
f4b6d8de2a rhel7 macros are old 2022-02-08 10:27:50 -05:00
Tom spot Callaway
db263f775a merge 2022-02-08 10:15:28 -05:00
Tom spot Callaway
3d4e86165c merge 2022-02-08 10:09:41 -05:00
Tom spot Callaway
8f14028d98 strip headless_shell too 2022-02-08 10:01:48 -05:00
Tom spot Callaway
027a6992b3 98.0.4758.80 2022-02-07 16:53:43 -05:00
Jiri
744d55e638 Rebuilt for java-17-openjdk as system jdk
https://fedoraproject.org/wiki/Changes/Java17
2022-02-05 21:25:12 +01:00
Fedora Release Engineering
9b5d88b4c9 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2022-01-19 23:12:04 +00:00
Tom spot Callaway
db8833cbe8 fix regex, test build confirms provides are gone 2022-01-05 14:36:00 -05:00
Tom spot Callaway
7a2ca72876 fix wrong years in changelog 2022-01-04 10:42:36 -05:00
Tom spot Callaway
5d7ec667a0 always filter provides, was previously inside conditional for shared builds 2022-01-04 10:41:12 -05:00
Tom spot Callaway
4182e43ca5 fix provides filtering to be more inclusive (and work properly) 2022-01-03 15:01:10 -05:00
Tom spot Callaway
84db931a4e package up more swiftshader/angle stuff, move swiftshader files to -common so headless can use them 2021-12-30 16:37:32 -05:00
Tom spot Callaway
19df435c6d drop enable-features flag, not needed, makes things more complicated 2021-12-27 11:56:30 -05:00
Tom spot Callaway
7ac8cdd3f0 have chromium-browser.sh check for wayland env vars and if found, set ozone flags appropriately. Thanks to Neal Gompa for the nudge 2021-12-27 11:39:46 -05:00
Tom spot Callaway
1d2f054da3 enable WebRTCPipeWireCapturer by default 2021-12-20 11:28:13 -05:00
Tom spot Callaway
558eeefbb3 96.0.4664.110 2021-12-17 10:21:28 -05:00
Tom spot Callaway
a15ac604be 96 2021-11-24 23:21:01 -05:00
Tom spot Callaway
83cb808c80 use bundled harfbuzz everywhere 2021-11-16 09:37:06 -05:00
Tom spot Callaway
9de3cc7e1f 95.0.4638.69 2021-11-15 14:34:13 -05:00
Tom spot Callaway
f274478b7e fine, disable i686 in Fedora 33+ 2021-10-21 11:06:09 -04:00
Tom spot Callaway
39bdfb25f9 hack for low-mem failures on F33 i686 2021-10-20 15:59:40 -04:00
Tom spot Callaway
fae6929da3 drop i686 in Fedora 35+ 2021-10-19 16:23:18 -04:00
Tom spot Callaway
a7cb5d2535 gold did not work, trying to use -O1 instead of -O3 via a hack 2021-10-19 14:18:42 -04:00
Tom spot Callaway
977aafb453 try use_gold for i686? 2021-10-19 11:12:14 -04:00
Tom spot Callaway
13a9fbb3c6 try to turn the number of jobs down so i686 does not OOM 2021-10-14 10:30:15 -04:00
Tom spot Callaway
9776d9fcfe disable -g2 on aarch64 too because of space issues 2021-10-12 10:42:58 -04:00
Tom spot Callaway
fd994e0e99 turn off use_all_cpus to see if that fixes the aarch64 timeouts 2021-10-11 11:32:30 -04:00
Tom spot Callaway
1568f25500 turn off debug symbols for i686 2021-10-09 17:55:23 -04:00
Tom spot Callaway
f0a2189889 94.0.4606.81 2021-10-08 11:51:53 -04:00
Tom spot Callaway
7ff4192252 use is_official_build=true 2021-10-08 11:13:28 -04:00
Tom spot Callaway
77abc3b15f update to 94.0.4606.71 2021-10-05 17:10:57 -04:00
Tom spot Callaway
dd11e54bff remove old harfbuzz conditional logic 2021-09-28 11:50:39 -04:00
Tom spot Callaway
6c879ca204 use bundled harfbuzz on Fedora < 36 2021-09-28 09:48:42 -04:00
Tom spot Callaway
44f3dccc39 94.0.4606.61 2021-09-27 11:21:51 -04:00
Tom spot Callaway
d2a8ef647b fix against harfbuzz v3, thanks to Jan Beich @ FreeBSD 2021-09-20 13:41:41 -04:00
Tom spot Callaway
9292805640 fix the rest of the node conditionals 2021-09-17 10:40:24 -04:00
Tom spot Callaway
42f4d2d0e5 fix conditional so that Fedora does not use the bundled node it does not need 2021-09-16 17:53:57 -04:00
Tom spot Callaway
93796dbd54 Merge branch 'rawhide' into f34 2021-09-16 11:58:37 -04:00
Tom spot Callaway
17a39d0d1f update to 93.0.4577.82 2021-09-16 11:57:40 -04:00
Tom spot Callaway
337ca304d2 update to 93.0.4577.82 2021-09-16 11:56:15 -04:00
Tom spot Callaway
816f9c890b drop the freetype hack, rhel 8 uses the bundled freetype which does not need it 2021-09-04 23:14:53 -04:00
Tom spot Callaway
2cda90bdb4 fix node conditional to be broader 2021-09-04 22:35:46 -04:00
Tom spot Callaway
367d6daf85 okay, lets try the old node hack on rhel 8 too 2021-09-04 22:22:06 -04:00
Tom spot Callaway
8ba922708a put bundled six in the python path for epel8, system six is too old 2021-09-04 21:37:36 -04:00
Tom spot Callaway
c30e548fd5 try python3 deps in epel8 2021-09-04 21:06:05 -04:00
Tom spot Callaway
4bb9581dd3 drop unnecessary epel8 patch 2021-09-04 16:25:32 -04:00
Tom spot Callaway
d23de21471 Merge branch 'rawhide' into f34 2021-09-04 00:30:58 -04:00
Tom spot Callaway
ff282d654a 93 2021-09-03 17:34:13 -04:00
Tom spot Callaway
8af1ce5b1d add crashpad_handler to %files 2021-08-31 06:38:30 -04:00
Tom spot Callaway
a36ca5230a disable clone3 fix for epel8 2021-08-30 18:36:00 -04:00
Tom spot Callaway
da935cef06 looks like it needs to be undefined, not just set to 0 2021-08-30 14:19:15 -04:00
Tom spot Callaway
0c90ee963f disable userfaultd code in epel8, include crashpad_handler it works a lot better when it doesnt immediately crash because of this missing file 2021-08-30 09:34:16 -04:00
Tom spot Callaway
4ff27059d3 Merge branch 'rawhide' into f34 2021-08-27 06:09:14 -04:00
Tom spot Callaway
302a80b514 work around stupid binary bundling of eu-strip 2021-08-26 08:23:52 -04:00
Tom spot Callaway
712b66b282 back out clang-format patch 2021-08-25 10:30:36 -04:00
Tom spot Callaway
34b9d4c78d 92.0.4515.159, clone3 fix, python3 everywhere we can 2021-08-25 09:57:56 -04:00
Tom spot Callaway
bb2c9f3934 fix build with freetype 2.11 2021-08-02 13:17:48 -04:00
Tom spot Callaway
82490cb173 more python hackery 2021-08-02 11:08:06 -04:00
Tom spot Callaway
edc94b008f minor py3 fixes 2021-07-28 15:57:57 -04:00
Tom spot Callaway
239fe17bbe fun with python 2021-07-28 13:30:43 -04:00
Tom spot Callaway
67cf5d9ba2 add conditionals so we can build with python3 in chromium 93 2021-07-28 12:12:49 -04:00
Tom spot Callaway
42f5334046 missing patch 2021-07-27 18:06:52 -04:00
Tom spot Callaway
925ec8cfeb build fixes and drop python2 2021-07-27 18:04:45 -04:00
Tom spot Callaway
54692de992 fix sources 2021-07-26 22:41:50 -04:00
Tom spot Callaway
9fb24340a0 epel8 2021-07-26 22:38:53 -04:00
Tom spot Callaway
c3fea07699 92.0.4515.107 2021-07-26 22:30:10 -04:00
Fedora Release Engineering
e3df3fa73e - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2021-07-21 19:26:26 +00:00
Fedora Release Engineering
889105be31 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2021-07-21 14:29:15 +00:00
Tom spot Callaway
8c9197aeae Merge branch 'rawhide' into f34 2021-07-16 15:09:28 -04:00
Tom spot Callaway
2a62af5a0b 91.0.4472.164 2021-07-16 15:08:53 -04:00
Tom spot Callaway
b77f06d1e8 Merge branch 'rawhide' into f34 2021-07-06 10:29:13 -04:00
Tom spot Callaway
a7ab43e15f fix ThemeService crash (thanks OpenSUSE) 2021-07-06 10:26:38 -04:00
Tom spot Callaway
ec9d3bbd9e try with dts_version 10? 2021-06-28 14:42:53 -04:00
Tom spot Callaway
b40f3db72f update epel7-erase-fix patch 2021-06-28 13:48:34 -04:00
Tom spot Callaway
f118837e7f adjust epel7 old headers patch 2021-06-28 11:10:48 -04:00
Tom spot Callaway
1ec02b566b Merge branch 'rawhide' into f34 2021-06-24 09:26:56 -04:00
Tom spot Callaway
baaf27b384 91.0.4472.114 2021-06-23 10:59:32 -04:00
Tom spot Callaway
3b1ed76b7d Merge branch 'rawhide' into f34 2021-06-04 09:43:25 -04:00
Tom spot Callaway
ed9abbb8e7 disable use all cpus 2021-06-03 10:44:20 -04:00
Tom spot Callaway
f3cd23dcd8 fix conditional in flax-vector-conversions patch 2021-06-02 16:36:33 -04:00
Tom spot Callaway
0ae19f4f97 91.0.4472.77 2021-06-02 16:11:50 -04:00
Tom spot Callaway
f6c384af1a Merge branch 'rawhide' into f34 2021-05-20 11:08:56 -04:00
Tom spot Callaway
bfc2976ce1 update to 90.0.4430.212 2021-05-18 10:54:42 -04:00
Tom spot Callaway
0984b7b951 AARCH64 neon symbols need to be prefixed too to prevent multiple definition issue at linktime 2021-05-03 14:15:00 -04:00
Tom spot Callaway
298caa8160 add fix for std::string.erase call 2021-04-29 14:06:55 -04:00
Tom spot Callaway
57e0757763 try with gcc 10 2021-04-28 18:09:52 -04:00
Tom spot Callaway
9d6a13ab15 more old/missing header workarounds, rename patch 2021-04-28 09:58:01 -04:00
Tom spot Callaway
5eed664137 still more ugly hacks 2021-04-27 16:09:16 -04:00
Tom spot Callaway
7228157f55 add F_GET_SEALS to channel_linux.cc 2021-04-27 12:56:37 -04:00
Tom spot Callaway
d03ae74793 Merge branch 'rawhide' into f34 2021-04-27 12:08:27 -04:00
Tom spot Callaway
986d1b2df6 update to 90.0.4430.93 2021-04-27 12:07:26 -04:00
Tom spot Callaway
64dae9255e fix epel7 patch 2021-04-27 11:44:54 -04:00
Tom spot Callaway
0f80de2bab fix pipewire deps 2021-04-26 14:48:46 -04:00
Tom spot Callaway
dd061771f4 drop patch109 for el7 2021-04-26 11:24:09 -04:00
Tom spot Callaway
e6568ddd1c Merge branch 'rawhide' into f34 2021-04-26 10:20:28 -04:00
Tom spot Callaway
c4e9feabf0 90.0.4430.85 2021-04-26 10:19:48 -04:00
Tom spot Callaway
6e509410d7 89.0.4389.128 2021-04-14 16:13:30 -04:00
Tom spot Callaway
bbbc483460 89.0.4389.128 2021-04-14 16:11:39 -04:00
Jonathan Wakely
89f8c34ac2 Rebuilt for removed libstdc++ symbols (#1937698) 2021-03-31 14:40:56 +01:00
Jonathan Wakely
9810e01cdd Rebuilt for removed libstdc++ symbol (#1937698) 2021-03-30 19:35:23 +01:00
Tom spot Callaway
8e9e44a004 fix libva compile in rawhide 2021-03-29 13:54:16 -04:00
Tom spot Callaway
4f7f8e056e apply upstream fix for newer system libva 2021-03-25 11:05:09 -04:00
Tom spot Callaway
b820034d32 changelog 2021-03-24 10:02:04 -04:00
Tom spot Callaway
b868df77e9 fix crashes with components/cast_* 2021-03-24 10:00:53 -04:00
Tom spot Callaway
035667547d Merge branch 'rawhide' into epel7 2021-03-22 12:58:54 -04:00
Tom spot Callaway
6ae1b9500a update to 89.0.4389.90, disable auto-download of widevine binary only blob 2021-03-18 14:51:37 -04:00
Tom spot Callaway
678ad1f08a add support for futex_time64 2021-03-15 15:41:07 -04:00
Tom spot Callaway
b370bdf1e0 fix epel8 2021-03-11 13:41:46 -05:00
Tom spot Callaway
b6e526f0ec Merge branch 'rawhide' into epel7 2021-03-11 11:02:30 -05:00
Tom spot Callaway
1144999e9c update to 89.0.4389.82 2021-03-09 11:05:46 -05:00
Tom spot Callaway
62d1fdbcd1 merge fix 2021-03-04 14:23:41 -05:00
Tom spot Callaway
955c93377b initial 89 2021-03-04 14:22:10 -05:00
Tom spot Callaway
870f34fc78 initial 89 2021-03-04 14:20:22 -05:00
Zbigniew Jędrzejewski-Szmek
edd6397f6a Rebuilt for updated systemd-rpm-macros
See https://pagure.io/fesco/issue/2583.
2021-03-02 16:14:07 +01:00
Tom spot Callaway
d2c33e6437 Merge branch 'rawhide' into epel7 2021-02-26 10:50:27 -05:00
Tom spot Callaway
1e97194a71 merge fix 2021-02-25 15:00:59 -05:00
Tom spot Callaway
6a13047b90 fix swiftshader symbols in libEGL/libGLESv2 with gcc 2021-02-25 14:58:16 -05:00
Tom spot Callaway
02f86040df fix last patch 2021-02-17 14:41:05 -05:00
Tom spot Callaway
6e7f838169 Rawhide (f35) glibc defines SIGSTKSZ as a long instead of a constant 2021-02-17 14:15:18 -05:00
Tom spot Callaway
696c532b9b Merge branch 'rawhide' into epel7 2021-02-17 11:26:22 -05:00
Tom spot Callaway
691a3b764a update to 88.0.4234.182 2021-02-17 11:24:43 -05:00
Tom spot Callaway
a885ed04b6 Merge branch 'rawhide' into epel7 2021-02-05 16:01:26 -05:00
Tom spot Callaway
db157b9050 88.0.4234.150 2021-02-05 15:44:06 -05:00
Tom spot Callaway
6009aa1025 Merge branch 'master' into epel7 2021-02-02 18:50:36 -05:00
Tom spot Callaway
e5f24f4877 88.0.4234.146 2021-02-02 18:49:03 -05:00
Tom spot Callaway
acf081f1d3 turn on the API key (just the API key, not the client_id or client_secret) 2021-02-02 12:19:56 -05:00
Fedora Release Engineering
a9bcc19406 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2021-01-26 01:56:54 +00:00
Tom spot Callaway
82ff440ce8 apply fix from Kevin Kofler for new glibc fstat sandbox handling 2021-01-25 10:26:47 -05:00
Tom spot Callaway
7561e54283 force vaapi off? 2021-01-22 09:37:03 -05:00
Tom spot Callaway
e375c4095d disable vaapi on EL7, libva is too old 2021-01-21 09:13:12 -05:00
Tom spot Callaway
c41b4ff221 fix epel8 patch 2021-01-21 09:11:03 -05:00
Tom spot Callaway
21c9b0cffe drop old 87 sources 2021-01-20 10:36:01 -05:00
Tom spot Callaway
f599d1b619 use_all_cpus flag and fixup gcc11 patch 2021-01-20 10:35:32 -05:00
Tom spot Callaway
8cc5f083e1 88.0.4324.96 2021-01-20 09:52:47 -05:00
Tom spot Callaway
3e97351d73 fix changelog date, i should get this right by March 2021-01-13 13:21:08 -05:00
Tom spot Callaway
c01a0f2b94 87.0.4280.141 2021-01-13 13:19:51 -05:00
Tom spot Callaway
e239838ed8 rebuild against new gcc (rawhide) 2020-12-30 13:42:00 -05:00
Tom spot Callaway
ce30313f5e add two patches for missing headers to build with gcc 11 2020-12-17 10:58:52 -05:00
Tom spot Callaway
e78656ce58 87.0.4280.88 2020-12-03 10:54:36 -05:00
Tom spot Callaway
fcbe43948f fix el7 and el8 2020-11-20 11:15:06 -05:00
Tom spot Callaway
3ad6fa021a drop epel7 only patch merged upstream 2020-11-19 14:49:00 -05:00
Tom spot Callaway
f7a8d9d3ed more missing tp 2020-11-19 09:20:41 -05:00
Tom spot Callaway
25fbbf1b90 Merge branch 'master' into epel8 2020-11-18 15:43:33 -05:00
Tom spot Callaway
fc5b5e5cc8 build fixes 2020-11-18 15:42:19 -05:00
Tom spot Callaway
83eb914815 Merge branch 'master' into epel8 2020-11-18 12:15:43 -05:00
Tom spot Callaway
cd337ce0ad Merge branch 'f32' into master 2020-11-18 11:39:26 -05:00
Tom spot Callaway
2849f0ee66 87.0.4280.66 2020-11-18 11:37:11 -05:00
Jeff Law
ad72b05d84 Fix missing #includes for gcc-11
Fix bogus volatile caught by gcc-11
2020-11-12 12:31:30 -07:00
Tom spot Callaway
2699afebb1 Merge branch 'master' into epel8 2020-11-12 11:33:00 -05:00
Tom spot Callaway
17a759703f update to 86.0.4240.198 2020-11-12 11:31:12 -05:00
Tom spot Callaway
993cb8a06e Merge branch 'master' into epel8 2020-11-11 10:10:22 -05:00
spot
71fb1be901 86.0.4240.193 2020-11-10 15:51:21 -05:00
Tom Callaway
b1a721b7fc Merge branch 'master' into epel8 2020-11-06 11:19:01 -05:00
Tom Callaway
5fb9310561 86.0.4240.183 2020-11-04 10:44:14 -05:00
Tom Callaway
11c4934c7e fix conditional typo that was causing console logging to be turned on 2020-11-02 09:34:26 -05:00
Tom Callaway
a21c988018 Merge branch 'master' into epel8 2020-10-26 09:40:20 -04:00
Tom Callaway
ee334f32db fixed sources for aarch64 2020-10-26 09:38:43 -04:00
Tom Callaway
688908aa72 Merge branch 'master' into epel8 2020-10-24 07:49:09 -04:00
Tom Callaway
d61fe4879d el7 fixes, hopefully, all we need for now 2020-10-24 07:47:17 -04:00
Tom Callaway
d6246f8591 focused backporting then 2020-10-21 18:27:58 -04:00
Tom Callaway
f8ecb3a553 more ranges fixes 2020-10-21 17:46:31 -04:00
Tom Callaway
3ee5bffeaa 86.0.4240.111 and more fixes 2020-10-21 17:13:51 -04:00
Tom Callaway
0f68f3eb4a fun with zlib on el7 continues 2020-10-21 07:24:32 -04:00
Tom Callaway
ea12acad9f use bundled zlib/minizip on el7 (thanks Red Hat. :P) 2020-10-20 18:32:55 -04:00
Tom Callaway
7147a53f33 moar el7 love 2020-10-20 12:38:24 -04:00
Tom Callaway
8ea64328ba okay, do it the hard way 2020-10-20 11:15:40 -04:00
Tom Callaway
7aaf58bd2c try this fcntl magic 2020-10-19 19:08:27 -04:00
Tom Callaway
01eca140bc add linux/fcntl.h to el7 patch 2020-10-19 18:16:38 -04:00
Tom Callaway
653e04f89a Merge remote-tracking branch 'refs/remotes/origin/epel8' into epel8 2020-10-19 11:45:59 -04:00
Tom Callaway
fb8956b8a8 fix epel7 bits 2020-10-19 11:43:48 -04:00
Tom Callaway
21506a9ed5 aarch64 fix for clearkeycdm 2020-10-17 11:34:45 -04:00
Tom Callaway
9c32f8c7df more aarch64 ffmpeg cleans 2020-10-16 14:48:58 -04:00
Tom Callaway
a41ce07f25 more ffmpeg cleanup fixes 2020-10-16 12:06:50 -04:00
Tom Callaway
cce6fca747 add missing norar patch 2020-10-16 10:21:12 -04:00
Tom Callaway
f92ce96a8a 86 2020-10-16 10:20:21 -04:00
Tom Callaway
e74292f34f rebuild for libevent 2020-09-28 15:32:46 -04:00
Troy Dawson
0b5008bf95 remove package.cfg per new epel-playground policy 2020-09-24 16:30:18 +00:00
Tom Callaway
60b6ca24d4 update to 85.0.4183.121 && apply upstream fix for networking issue with CookieMonster 2020-09-22 10:10:44 -04:00
Tom Callaway
1cf910d43f Merge branch 'master' of ssh://pkgs.fedoraproject.org/rpms/chromium into master 2020-09-15 09:59:15 -04:00
Tomas Popela
352b761dfd Drop unused BR on libXScrnSaver
Trigerred by a discussion with Red Hat Graphics team
2020-09-15 10:37:09 +02:00
Tom Callaway
154390d11a try turning down the number of simultaneous ninja jobs on aarch64 2020-09-14 14:30:33 -04:00
Tom Callaway
bbb6fbf8e7 update to 85.0.4183.102, install ANGLE so files (libEGL.so, libGLESv2.so) 2020-09-09 14:41:46 -04:00
Tom Callaway
9abc2d11fb work around ancient libdrm in el7 2020-08-31 09:42:21 -04:00
Tom Callaway
7eee9fa900 85, lets go 2020-08-28 22:03:06 -04:00
Tom Callaway
5b7a05d1c5 more clearkey fixups 2020-08-21 14:15:39 -04:00
Tom Callaway
9854e97374 update swiftshader llvm ver 2020-08-20 10:57:59 -04:00
Tom Callaway
df52619fe5 chromium-84.0.4147.135 and clearkey dancing 2020-08-20 10:43:18 -04:00
Tom Callaway
c0e2de984a gold did not help anything 2020-08-17 12:35:12 -04:00
Tom Callaway
564a7a52ea do not use gold on i686 2020-08-17 09:39:18 -04:00
Tom Callaway
a059398532 try gold only on aarch64, force fix_textrels fix in ffmpeg for i686 (even without lld) 2020-08-17 09:38:01 -04:00
Tom Callaway
e9424cdec4 close conditional again 2020-08-17 09:04:29 -04:00
Tom Callaway
f9baff2741 close conditional 2020-08-17 09:02:50 -04:00
Tom Callaway
9aa1f230c3 try to link with gold on i686/aarch64 (on F33+) 2020-08-17 09:02:13 -04:00
Tom Callaway
3671e6a0ed missing popd 2020-08-12 13:51:32 -04:00
Tom Callaway
d1e7da820b .125, re-enable remoting 2020-08-12 11:24:29 -04:00
Tom Callaway
3a3d01643b Merge branch 'master' of ssh://pkgs.fedoraproject.org/rpms/chromium into master 2020-08-01 10:27:09 -04:00
Tom Callaway
f94b688435 silence some gcc warnings during gn compile to make it easier to see failures in the logs 2020-08-01 10:26:51 -04:00
Fedora Release Engineering
c3cae9e499 - Second attempt - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2020-08-01 00:22:00 +00:00
Tom Callaway
2692b53eff try with lto off 2020-07-31 14:45:53 -04:00
Tom Callaway
dcbeb6f86f 84.0.4147.105 2020-07-31 09:45:51 -04:00
Fedora Release Engineering
758503fe67 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2020-07-27 13:57:15 +00:00
Tom Callaway
c504473e69 looks like el8 needs patch106 too 2020-07-23 09:01:44 -04:00
Tom Callaway
529d54268d more fixes 2020-07-22 23:38:15 -04:00
Tom Callaway
fd279120cf more libjpeg-turbo aarch64 fixes 2020-07-22 16:35:58 -04:00
Tom Callaway
c59938463c fix compile fail on el8 aarch64 2020-07-22 15:41:48 -04:00
Tom Callaway
02866e970d more specific el8 BR 2020-07-22 10:44:34 -04:00
Tom Callaway
cf74810246 use gcc-toolset-9 on rhel8 2020-07-22 09:05:46 -04:00
Tom Callaway
44fec2ffe0 workaround base/location issues 2020-07-21 22:11:18 -04:00
Tom Callaway
4aad67c8f4 new compiler in el7 means less hacks? 2020-07-21 10:37:40 -04:00
Tom Callaway
aff0663ec7 try same patchset 2020-07-18 12:28:46 -04:00
Tom Callaway
25fc92cd90 use dts_version 9 2020-07-18 11:52:12 -04:00
Tom Callaway
8055c8bd4b conditionalize FilePath noexcept change only to Fedora 2020-07-18 11:10:30 -04:00
Tom Callaway
9445cccf7a different approach for constexpr issue with epel gcc 2020-07-18 10:51:49 -04:00
Tom Callaway
0403144d1f try fix again for constexpr issue with epel gcc 2020-07-18 10:25:24 -04:00
Tom Callaway
772f95f0c8 try fix again for constexpr issue with epel gcc 2020-07-18 09:59:43 -04:00
Tom Callaway
13afbe10ca try fix for constexpr issue with epel gcc 2020-07-18 09:41:17 -04:00
Tom Callaway
fe5ca6e686 local copy of xcb-proto for the python bits 2020-07-16 18:04:19 -04:00
Tom Callaway
a9316c5a7a add BR: xcb-proto 2020-07-16 15:01:36 -04:00
Tom Callaway
c5a5cbe948 more fixes 2020-07-16 10:57:18 -04:00
Tom Callaway
70c2917bd4 headless does not need use_atk 2020-07-15 16:22:21 -04:00
Tom Callaway
7145163af6 appease gn 2020-07-15 15:33:11 -04:00
Tom Callaway
b7795911f7 fix patch12 2020-07-15 14:17:29 -04:00
Tom Callaway
6c53832233 merge fix, because 2020-07-15 12:14:41 -04:00
Tom Callaway
d155912d91 add all the patches 2020-07-15 12:13:46 -04:00
Tom Callaway
4f31ec8a71 84 2020-07-15 12:13:12 -04:00
Jan Kratochvil
d24a0033a0 Remove obsolete .tar.xz from sources. 2020-06-29 19:03:29 +02:00
Tom Callaway
dca3901616 only set ozone on headless, enable use_kerberos 2020-06-28 09:38:18 -04:00
Tom Callaway
7f7a15a878 do not force ozone into x11 2020-06-23 11:50:58 -04:00
Tom Callaway
442240953e update to 83.0.4103.116 2020-06-23 11:02:34 -04:00
Tom Callaway
a839e12ebb disable python byte compiling (we do not need it) 2020-06-19 13:40:19 -04:00
Tom Callaway
2152045d67 83.0.4103.106 2020-06-18 13:47:14 -04:00
Tom Callaway
4754796b38 revert last change, I already had that patch applied 2020-06-17 10:27:35 -04:00
Tom Callaway
09149e272b add ServiceWorker fix 2020-06-16 11:41:09 -04:00
Tom Callaway
8836a41b17 fix el7 cups patch 2020-06-16 09:18:52 -04:00
Tom Callaway
66b394ab63 fix skia attribute overrides with gcc 2020-06-15 12:26:58 -04:00
Tom Callaway
308a9e3603 force old cups usage on el7 2020-06-15 10:50:45 -04:00
Tom Callaway
9063928687 fix issue on epel7 where linux/kcmp.h does not exist 2020-06-10 09:09:27 -04:00
Tom Callaway
b89f802e2a Merge branch 'master' into f31 2020-06-08 16:55:19 -04:00
Tom Callaway
871124117a do not try to apply same patch twice 2020-06-08 16:53:58 -04:00
Tom Callaway
238079123a Merge branch 'master' into f31 2020-06-08 16:22:00 -04:00
Tom Callaway
2fff85b265 more fixes from gentoo 2020-06-08 16:21:16 -04:00
Tom Callaway
3c5c85c4d8 Merge branch 'master' into f31 2020-06-08 11:51:33 -04:00
Tom Callaway
d301a2158c moar python hax 2020-06-07 16:09:45 -04:00
Tom Callaway
e71658a1e7 moar bundling 2020-06-07 13:12:41 -04:00
Tom Callaway
7680524736 fixup vaapi i686 patch 2020-06-07 11:00:02 -04:00
Tom Callaway
7fd8d4b5ed 83.0.4103.97 2020-06-07 10:43:48 -04:00
Tom Callaway
4f9d92dcdf 83 2020-06-02 16:41:45 -04:00
Tom Callaway
e422e4af62 Garuda moved to an OTF file in Fedora 33+ 2020-05-07 16:13:54 -04:00
Tom Callaway
326677e308 Merge branch 'master' into f31 2020-05-07 12:17:20 -04:00
Tom Callaway
379876545d update to 81.0.4044.138 2020-05-07 12:16:37 -04:00
Tom Callaway
1f7cc901f6 Merge branch 'master' into f31 2020-05-05 09:28:41 -04:00
Tom Callaway
91d15a1b8f update to 81.0.4044.129 2020-05-05 09:27:47 -04:00
Tom Callaway
1022fff5a0 Merge branch 'master' into f31 2020-04-23 13:07:59 -04:00
Tom Callaway
93e03f1be0 update to 81.0.4044.122 2020-04-23 13:07:07 -04:00
Tom Callaway
b6601d38c4 Merge branch 'master' into f31 2020-04-21 10:24:07 -04:00
Tom Callaway
fe113522cb add explicit Requires: chromium-common 2020-04-21 10:23:21 -04:00
Tom Callaway
2766f73dfb Merge branch 'master' into f31 2020-04-16 19:20:36 -04:00
Tom Callaway
a82dfde609 fix intel vaapi patch 2020-04-16 14:42:36 -04:00
Tom Callaway
57f74ba4ef 81.0.4044.113 2020-04-16 14:06:46 -04:00
Tom Callaway
b69eec7b8c Merge branch 'master' into f31 2020-04-15 21:28:10 -04:00
Tom Callaway
c4ca3cdaac Merge branch 'master' of ssh://pkgs.fedoraproject.org/rpms/chromium 2020-04-15 14:10:40 -04:00
Tom Callaway
89f728c8d4 more 81 changes 2020-04-15 14:10:26 -04:00
Tomas Popela
97ae7a2721 Drop an unused BR on GConf2 2020-04-14 08:44:24 +02:00
Tom Callaway
383f5aea63 initial work on 81 2020-04-13 15:22:25 -04:00
Tom Callaway
9c4ee4ede4 Merge branch 'master' into f31 2020-04-05 07:17:47 -04:00
Tom Callaway
9c8a7098fd update to 80.0.3987.163 2020-04-05 07:16:39 -04:00
Tom Callaway
e90c3e0af1 Merge branch 'master' into f31 2020-04-01 11:23:24 -04:00
Tom Callaway
7c38a007fb 80.0.3987.162 2020-04-01 08:11:54 -04:00
Tom Callaway
055b5923f6 Merge branch 'master' into f31 2020-03-18 09:28:46 -04:00
Tom Callaway
633b76737d update to 80.0.3987.149 2020-03-18 09:01:06 -04:00
Tom Callaway
5f8f367e48 new font locations 2020-03-17 12:04:17 -04:00
Tom Callaway
67d65765f0 update node for el7 2020-03-11 12:17:37 -04:00
Tom Callaway
c07c245637 fix el7 noexcept patch 2020-03-11 10:50:16 -04:00
Tom Callaway
db1e9fac2b Merge branch 'master' into epel7 2020-03-11 09:42:44 -04:00
Tom Callaway
d4adf7181e Merge branch 'master' into f31 2020-03-11 09:30:13 -04:00
Tom Callaway
7a2aebccaa update to 80.0.3987.122, do builds wherever we can 2020-03-11 09:29:01 -04:00
Tom Callaway
101ab2aa05 Merge branch 'master' into f31 2020-02-27 16:45:58 -05:00
Tom Callaway
2fd941b665 another c++17 fixup 2020-02-27 13:56:52 -05:00
Tom Callaway
53caa9a1fa fix i686 vaapi permissive patch 2020-02-27 11:59:27 -05:00
Tom Callaway
4149dcea63 merge fix 2020-02-27 11:28:21 -05:00
Tom Callaway
f1db2ee0c5 please work 2020-02-27 11:27:21 -05:00
Miro Hrončok
792286da9d Revert "dgroc bump"
This reverts commit 7de349866c.
2020-02-05 18:43:04 +01:00
Miro Hrončok
7de349866c dgroc bump 2020-02-04 04:01:05 +01:00
Fedora Release Engineering
da0f89975a - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2020-01-28 14:00:36 +00:00
Tom Callaway
b19ac06c95 Merge branch 'master' into epel7 2020-01-17 13:41:39 -05:00
Tom Callaway
ffe4d0a5aa Merge branch 'master' into f31 2020-01-17 13:26:58 -05:00
Tom Callaway
25a63e6236 update to 79.0.3945.130 2020-01-17 13:24:29 -05:00
Tom Callaway
783c0ce570 Merge branch 'master' into epel7 2020-01-09 14:54:23 -05:00
Tom Callaway
e6959fba0c Merge branch 'master' into f31 2020-01-09 14:26:04 -05:00
Tom Callaway
f731ce17d1 update to 79.0.3945.117 2020-01-09 13:05:17 -05:00
Tom Callaway
de86487314 Merge branch 'master' into epel7 2019-12-17 15:53:25 -05:00
Tom Callaway
dd35d8b061 Merge branch 'master' into f31 2019-12-17 15:52:38 -05:00
Tom Callaway
5da956da9d 79.0.3945.88 2019-12-17 15:52:11 -05:00
Tom Callaway
01652fcb00 Merge branch 'master' into epel7 2019-12-11 08:54:31 -05:00
Tom Callaway
0fae9d6414 Merge branch 'master' into f31 2019-12-11 08:53:29 -05:00
Tom Callaway
470d3bd895 79.0.3945.79 2019-12-10 09:18:27 -05:00
Tom Callaway
c77d1b6a36 fix lib provides filtering 2019-12-04 08:26:25 -05:00
Tom Callaway
de0075c1b2 fix issue with find_if 2019-12-03 15:36:35 -05:00
Tom Callaway
a1f6bc44e5 79.0.3945.56 beta 2019-12-03 15:08:38 -05:00
Tom Callaway
b7a021f48a Merge branch 'master' into epel7 2019-11-25 16:22:11 -05:00
Tom Callaway
2bfa8a05ed Merge branch 'master' into f31 2019-11-25 16:21:01 -05:00
Tom Callaway
43425ae37f update to 78.0.3904.108 2019-11-25 14:09:36 -05:00
Tom Callaway
0dd9dad819 allow clock_nanosleep through seccomp (bz #1773289) 2019-11-17 16:56:55 -05:00
Tom Callaway
bb031128df Merge branch 'master' into epel7 2019-11-07 09:06:42 -05:00
Tom Callaway
c681d69c77 Merge branch 'master' into f31 2019-11-07 09:05:32 -05:00
Tom Callaway
978a69928b update to 78.0.3904.97 2019-11-07 09:05:09 -05:00
Tom Callaway
06fe4fb881 use minizip-compat-devel on epel8 too 2019-11-06 12:04:18 -05:00
Tom Callaway
21080977e3 always BR: python2-devel 2019-11-04 13:47:52 -05:00
Tom Callaway
250ac29099 merge fix 2019-11-04 12:09:27 -05:00
Tom Callaway
09adc150c6 Merge branch 'master' into f31 2019-11-04 12:05:39 -05:00
Tom Callaway
a776f11fac update to 78.0.3904.87, apply most of the freeworld changes in PR 23/24/25 2019-11-01 12:29:41 -04:00
Tom Callaway
06c6ac201b el7 fixes 2019-11-01 08:35:42 -04:00
Tom Callaway
b8e00f2f8a el7-noexcept patch 2019-11-01 08:34:49 -04:00
Tom Callaway
4383eaa455 more noexcept changes 2019-10-30 13:10:11 -04:00
Tom Callaway
ba9d82dc68 update el7-noexcept patch 2019-10-30 09:32:24 -04:00
Tom Callaway
8544391c64 drop the patches we dragged with the f29 merge 2019-10-29 15:25:57 -04:00
Tom Callaway
85e58a0c25 always BR: python2-devel 2019-10-29 15:05:04 -04:00
Tom Callaway
f70edf73e7 Merge branch 'master' into epel7 2019-10-29 13:52:08 -04:00
Tom Callaway
f4f0595ecf Merge branch 'master' into f29 2019-10-29 13:48:00 -04:00
Tom Callaway
389a5d6a9f Merge branch 'master' into f31 2019-10-29 13:46:53 -04:00
Tom Callaway
3cab112113 preserve one of the MANY copies of six 2019-10-29 13:45:16 -04:00
Tom Callaway
601851c681 merge 2019-10-28 09:10:53 -04:00
Tom Callaway
d0e087ec98 merge fix 2019-10-28 09:04:50 -04:00
Tom Callaway
ff01f5a752 merge fix 2019-10-28 09:02:13 -04:00
Tom Callaway
77f7b18d5f merge fix 2019-10-28 09:00:23 -04:00
Tom Callaway
5a0ab7571f last bit of fixes 2019-10-28 08:57:05 -04:00
Tom Callaway
5d755bc2f7 fix issue in my manual patch, apply other gentoo 78 fixes 2019-10-23 13:09:01 -04:00
Tom Callaway
dd5dd20f91 preserve third_party/catapult/tracing/third_party/jpeg-js, add another upstream gcc fix 2019-10-23 12:02:13 -04:00
Tom Callaway
e4b93e8337 another gcc fix from upstream 2019-10-23 11:26:02 -04:00
Tom Callaway
d3e96e671b more 78 fixes 2019-10-23 11:19:54 -04:00
Tom Callaway
6944f231ef initial v78 commit, note, NOT READY FOR BUILD YET 2019-10-23 10:20:43 -04:00
Tom Callaway
5cbc3dd135 upstream fix for zlib symbol exports with gcc 2019-10-16 11:03:38 -04:00
Tom Callaway
0854e9758c merge fix 2019-10-16 09:41:25 -04:00
Tom Callaway
35b2732605 silence outdated build noise (bz1745745) 2019-10-16 09:40:03 -04:00
Tom Callaway
527091eafb merge epel8 changes 2019-10-15 17:18:40 -04:00
Tom Callaway
e4f20afdcc fix node handling for EPEL-8, merge changes from 120 2019-10-15 17:14:29 -04:00
Tom Callaway
a5557a189a fix node handling 2019-10-15 17:09:08 -04:00
Tomas Popela
15f9caa3d7 Update to 77.0.3865.120 2019-10-14 13:55:43 +02:00
Tomas Popela
41dc126145 Move another python script to python3 2019-10-14 13:55:43 +02:00
Tomas Popela
0e5b248a5f Update to 77.0.3865.120 2019-10-14 13:54:27 +02:00
Tomas Popela
e968b763b5 Move another python script to python3 2019-10-14 13:54:27 +02:00
Tomas Popela
286dfc8bb4 Update to 77.0.3865.120 2019-10-14 13:53:58 +02:00
Tomas Popela
3ffc8fd208 Move another python script to python3 2019-10-14 13:53:58 +02:00
Tomas Popela
e7f437fd18 Update to 77.0.3865.120 2019-10-14 13:52:53 +02:00
Tomas Popela
c4d9ecbb70 Move another python script to python3 2019-10-14 13:52:53 +02:00
Tomas Popela
e67a39d749 Update to 77.0.3865.120 2019-10-14 13:51:46 +02:00
Tomas Popela
78eda85f26 Move another python script to python3 2019-10-14 08:23:03 +02:00
Tom Callaway
e29905e4b9 enable aarch64 for EPEL-8 2019-10-10 08:42:35 -04:00
Tom Callaway
9f278441f3 drop explicit BR: gnome-keyring-devel 2019-10-09 14:15:13 -04:00
Tom Callaway
f7aa602c50 here we go again 2019-10-09 12:48:48 -04:00
Tomas Popela
64608c7b85 Fix the icon
Remove quite a few of downstream patches
Fix the crashes by backporting an upstream bug
Resolves: rhbz#1754179
2019-09-23 17:28:51 +02:00
Tomas Popela
b5420298f4 Fix the icon
So the monochromatic icon is being shown even in the GNOME's overview
and it's ugly (as it's upscaled from 22x22). Remove it.
2019-09-23 17:28:51 +02:00
Tomas Popela
a472406f7f Remove the unused patches or patches that are not needed anymore
Also replace some patches with changes in the SPEC file.
2019-09-23 17:28:51 +02:00
Tomas Popela
94ec5c2f5b Fix how the arguments are passed to GN's bootstrap.py
I don't know why, but previously it was failing only on aarch64.
2019-09-23 17:28:51 +02:00
Tomas Popela
20eba058de Remove support for (p)NaCL
We don't build it for quite some time and will by killed by Google in
Spring 2020.  Let's drop the support for it from the SPEC file. We can
revert this patch if needed.
2019-09-23 17:28:51 +02:00
Tomas Popela
430c02ae6e Don't try to revert a previously removed patch 2019-09-23 17:28:51 +02:00
Tomas Popela
3d796422d5 Fix the icon
Remove quite a few of downstream patches
Fix the crashes by backporting an upstream bug
Resolves: rhbz#1754179
2019-09-23 17:28:15 +02:00
Tomas Popela
6bae3df5bc Fix the icon
So the monochromatic icon is being shown even in the GNOME's overview
and it's ugly (as it's upscaled from 22x22). Remove it.
2019-09-23 17:28:15 +02:00
Tomas Popela
35521ebaf4 Remove the unused patches or patches that are not needed anymore
Also replace some patches with changes in the SPEC file.
2019-09-23 17:28:15 +02:00
Tomas Popela
1fb9b47fde Fix how the arguments are passed to GN's bootstrap.py
I don't know why, but previously it was failing only on aarch64.
2019-09-23 17:28:15 +02:00
Tomas Popela
5e096a366b Remove support for (p)NaCL
We don't build it for quite some time and will by killed by Google in
Spring 2020.  Let's drop the support for it from the SPEC file. We can
revert this patch if needed.
2019-09-23 17:28:15 +02:00
Tomas Popela
18d61f508b Don't try to revert a previously removed patch 2019-09-23 17:28:15 +02:00
Tomas Popela
58128e168f Fix the icon
Remove quite a few of downstream patches
Fix the crashes by backporting an upstream bug
Resolves: rhbz#1754179
2019-09-23 17:27:46 +02:00
Tomas Popela
67e04f35f0 Fix the icon
So the monochromatic icon is being shown even in the GNOME's overview
and it's ugly (as it's upscaled from 22x22). Remove it.
2019-09-23 17:27:46 +02:00
Tomas Popela
3c95810693 Remove the unused patches or patches that are not needed anymore
Also replace some patches with changes in the SPEC file.
2019-09-23 17:27:46 +02:00
Tomas Popela
3eaa3be79d Fix how the arguments are passed to GN's bootstrap.py
I don't know why, but previously it was failing only on aarch64.
2019-09-23 17:27:46 +02:00
Tomas Popela
51e320816f Remove support for (p)NaCL
We don't build it for quite some time and will by killed by Google in
Spring 2020.  Let's drop the support for it from the SPEC file. We can
revert this patch if needed.
2019-09-23 17:27:46 +02:00
Tomas Popela
47afdc42ed Don't try to revert a previously removed patch 2019-09-23 17:27:46 +02:00
Tomas Popela
dacf053f63 Fix the icon
Remove quite a few of downstream patches
Fix the crashes by backporting an upstream bug
Resolves: rhbz#1754179
2019-09-23 17:26:33 +02:00
Tomas Popela
400a4a3282 Fix the icon
So the monochromatic icon is being shown even in the GNOME's overview
and it's ugly (as it's upscaled from 22x22). Remove it.
2019-09-23 17:26:29 +02:00
Tomas Popela
0f0792f310 Fix the icon
Remove quite a few of downstream patches
Fix the crashes by backporting an upstream bug
Resolves: rhbz#1754179
2019-09-23 17:25:20 +02:00
Tomas Popela
6aa7bda96e Fix the icon
So the monochromatic icon is being shown even in the GNOME's overview
and it's ugly (as it's upscaled from 22x22). Remove it.
2019-09-23 17:21:10 +02:00
Tomas Popela
1d37c1e7aa Update the el7's noexcept patch 2019-09-23 06:45:42 +02:00
Tomas Popela
df0bca62fb Remove the unused patches or patches that are not needed anymore
Also replace some patches with changes in the SPEC file.
2019-09-20 10:52:18 +02:00
Tomas Popela
5a0168685d Remove the unused patches or patches that are not needed anymore
Also replace some patches with changes in the SPEC file.
2019-09-20 10:50:06 +02:00
Tomas Popela
ea4b8125e8 Fix how the arguments are passed to GN's bootstrap.py
I don't know why, but previously it was failing only on aarch64.
2019-09-20 10:03:37 +02:00
Tomas Popela
8f569e63e8 Remove support for (p)NaCL
We don't build it for quite some time and will by killed by Google in
Spring 2020.  Let's drop the support for it from the SPEC file. We can
revert this patch if needed.
2019-09-20 10:03:29 +02:00
Tomas Popela
d8b8fc10a9 Fix how the arguments are passed to GN's bootstrap.py
I don't know why, but previously it was failing only on aarch64.
2019-09-20 09:48:55 +02:00
Tomas Popela
1ef42a21dc Remove support for (p)NaCL
We don't build it for quite some time and will by killed by Google in
Spring 2020.  Let's drop the support for it from the SPEC file. We can
revert this patch if needed.
2019-09-20 09:48:44 +02:00
Tomas Popela
a2942aa1bb Don't try to revert a previously removed patch 2019-09-20 09:44:48 +02:00
Tomas Popela
b0a27e4e2d Update to 77.0.3865.90 2019-09-19 08:11:05 +02:00
Tomas Popela
67cc152547 Update to 77.0.3865.90 2019-09-19 08:03:30 +02:00
Tomas Popela
2aa7959287 Forget to generate diff for one affected el7-noexcept file 2019-09-19 08:03:30 +02:00
Tomas Popela
7b637c4471 Update the el7 noexcept patch and fix the el7 build 2019-09-19 08:03:30 +02:00
Tomas Popela
d30cc0e5c5 Update to 77.0.3865.90 2019-09-19 08:00:30 +02:00
Tomas Popela
8564a8c024 Forget to generate diff for one affected el7-noexcept file 2019-09-19 08:00:30 +02:00
Tomas Popela
65bf37589c Update the el7 noexcept patch and fix the el7 build 2019-09-19 08:00:30 +02:00
Tomas Popela
2a431ec174 Update to 77.0.3865.90 2019-09-19 07:59:55 +02:00
Tomas Popela
c8786bde9b Forget to generate diff for one affected el7-noexcept file 2019-09-19 07:59:55 +02:00
Tomas Popela
10a2ce3a34 Update the el7 noexcept patch and fix the el7 build 2019-09-19 07:59:55 +02:00
Tomas Popela
06cf3b0691 Update to 77.0.3865.90 2019-09-19 07:58:49 +02:00
Tomas Popela
c510174e57 Forget to generate diff for one affected el7-noexcept file 2019-09-19 07:18:04 +02:00
Tomas Popela
1a179e7d6a Update the el7 noexcept patch and fix the el7 build 2019-09-19 07:18:02 +02:00
Tomas Popela
ab78a226f4 Forget to generate diff for one affected el7-noexcept file 2019-09-18 08:05:03 +02:00
Tomas Popela
6fd7406e19 Update the el7 noexcept patch and fix the el7 build 2019-09-18 06:35:01 +02:00
Tomas Popela
3f84f5c938 Update status of the downstream patch 2019-09-18 06:34:09 +02:00
Tomas Popela
2c44b244e0 Update the list of private libraries 2019-09-16 14:26:25 +02:00
Tomas Popela
e849f348d4 Update the list of private libraries 2019-09-16 14:26:24 +02:00
Tomas Popela
33d340b63a Update the list of private libraries 2019-09-16 14:25:48 +02:00
Tomas Popela
8f89cb9012 Update the list of private libraries 2019-09-16 14:25:47 +02:00
Tomas Popela
d8c8b86469 Update the list of private libraries 2019-09-16 14:24:26 +02:00
Tomas Popela
7b0eb5189f Update the list of private libraries 2019-09-16 14:24:24 +02:00
Tomas Popela
de3e9b33bb Update the list of private libraries 2019-09-16 14:23:55 +02:00
Tomas Popela
ce1cd8e394 Update the list of private libraries 2019-09-16 14:23:29 +02:00
Tomas Popela
dd3c28c89e Update the list of private libraries 2019-09-16 14:21:53 +02:00
Tomas Popela
fa69419940 Update the list of private libraries 2019-09-16 14:21:14 +02:00
Tomas Popela
d46699c683 Don't try to revert a previously removed patch 2019-09-15 13:36:44 +02:00
Tomas Popela
fc7ac21219 22x22 icon was removed and use the symbolic one as well 2019-09-15 13:31:16 +02:00
Tomas Popela
4c4b4029d4 Fix the aarch64 build 2019-09-15 13:31:16 +02:00
Tomas Popela
6caa3f6918 Customize the ninja status to show the currently build target
So one is able to realize faster, where the build is failing.
2019-09-15 13:31:16 +02:00
Tomas Popela
83db2ad437 Backport another GCC build fix 2019-09-15 13:31:16 +02:00
Tomas Popela
0388e8d7f5 Don't remove an additional bundled library 2019-09-15 13:31:16 +02:00
Tomas Popela
254cf9a9a9 More of the harfbuzz related fixes 2019-09-15 13:31:16 +02:00
Tomas Popela
1803f2eb6a Fix the release number and add a changelog entry 2019-09-15 13:31:16 +02:00
Tomas Popela
bcedb0cfff Preserve the spirv heads for swiftshader compilation 2019-09-15 13:31:16 +02:00
Tomas Popela
7d528767a1 Another export and alignas gcc compilation fix 2019-09-15 13:31:16 +02:00
Tomas Popela
039149eb6d Remove an unneeded patch that's breaking the build 2019-09-15 13:31:16 +02:00
Tomas Popela
122b526421 Use the bundled harfbuzz-ng for < F31
Needed because of the hb_subset_input_set_retain_gids(), that's only
available in harbuzz 2.4 that's only in F31+
2019-09-15 13:31:16 +02:00
Tomas Popela
9c8a63d90f Include <memory> to fix the headless build 2019-09-15 13:31:15 +02:00
Tomas Popela
6c65d57f62 Update the clean-ffmpeg.sh script 2019-09-15 13:31:15 +02:00
Tomas Popela
d1ec1a4e82 Fix the previously rebased patched 2019-09-15 13:31:15 +02:00
Tomas Popela
f28acfd994 Missing bundled dependency for headless 2019-09-15 13:31:15 +02:00
Tomas Popela
d67cac7441 Unbundle the zlib
Use the gentoo patch.
2019-09-15 13:31:15 +02:00
Tomas Popela
1def459874 Update to 77.0.3865.75
Rebase and clean the patches.
2019-09-15 13:31:15 +02:00
Tomas Popela
91e065368c 22x22 icon was removed and use the symbolic one as well 2019-09-15 13:10:44 +02:00
Tomas Popela
78050fc457 Fix the aarch64 build 2019-09-15 13:10:44 +02:00
Tomas Popela
13a5dba5be Customize the ninja status to show the currently build target
So one is able to realize faster, where the build is failing.
2019-09-15 13:10:44 +02:00
Tomas Popela
247c850861 Backport another GCC build fix 2019-09-15 13:10:44 +02:00
Tomas Popela
c8be01a2e6 Don't remove an additional bundled library 2019-09-15 13:10:44 +02:00
Tomas Popela
359c9903b5 More of the harfbuzz related fixes 2019-09-15 13:10:44 +02:00
Tomas Popela
28b564b615 Fix the release number and add a changelog entry 2019-09-15 13:10:44 +02:00
Tomas Popela
5008833513 Preserve the spirv heads for swiftshader compilation 2019-09-15 13:10:44 +02:00
Tomas Popela
fee98db480 Another export and alignas gcc compilation fix 2019-09-15 13:10:44 +02:00
Tomas Popela
0d2fa426aa Remove an unneeded patch that's breaking the build 2019-09-15 13:10:44 +02:00
Tomas Popela
e37acb8e8c Use the bundled harfbuzz-ng for < F31
Needed because of the hb_subset_input_set_retain_gids(), that's only
available in harbuzz 2.4 that's only in F31+
2019-09-15 13:10:44 +02:00
Tomas Popela
8b6db4ec93 Include <memory> to fix the headless build 2019-09-15 13:10:44 +02:00
Tomas Popela
80ef5cb4da Update the clean-ffmpeg.sh script 2019-09-15 13:10:44 +02:00
Tomas Popela
31afa2bf6d Fix the previously rebased patched 2019-09-15 13:10:44 +02:00
Tomas Popela
99274dda89 Missing bundled dependency for headless 2019-09-15 13:10:44 +02:00
Tomas Popela
e8aad2e8bc Unbundle the zlib
Use the gentoo patch.
2019-09-15 13:10:44 +02:00
Tomas Popela
2698a79a5d Update to 77.0.3865.75
Rebase and clean the patches.
2019-09-15 13:10:44 +02:00
Tomas Popela
4dcf0591dc 22x22 icon was removed and use the symbolic one as well 2019-09-15 13:06:16 +02:00
Tomas Popela
91378b7314 Fix the aarch64 build 2019-09-15 13:06:16 +02:00
Tomas Popela
e0d06a0fbf Customize the ninja status to show the currently build target
So one is able to realize faster, where the build is failing.
2019-09-15 13:06:16 +02:00
Tomas Popela
b30c77e75c Backport another GCC build fix 2019-09-15 13:06:16 +02:00
Tomas Popela
13aab678f5 Don't remove an additional bundled library 2019-09-15 13:06:16 +02:00
Tomas Popela
176f9b5d93 More of the harfbuzz related fixes 2019-09-15 13:06:16 +02:00
Tomas Popela
f468793c28 Fix the release number and add a changelog entry 2019-09-15 13:06:16 +02:00
Tomas Popela
2af2caea12 Preserve the spirv heads for swiftshader compilation 2019-09-15 13:06:16 +02:00
Tomas Popela
e05d0e1ae8 Another export and alignas gcc compilation fix 2019-09-15 13:06:16 +02:00
Tomas Popela
09209e7427 Remove an unneeded patch that's breaking the build 2019-09-15 13:06:16 +02:00
Tomas Popela
0c379302f5 Use the bundled harfbuzz-ng for < F31
Needed because of the hb_subset_input_set_retain_gids(), that's only
available in harbuzz 2.4 that's only in F31+
2019-09-15 13:06:16 +02:00
Tomas Popela
f36acf4bdb Include <memory> to fix the headless build 2019-09-15 13:06:16 +02:00
Tomas Popela
1302df6eb5 Update the clean-ffmpeg.sh script 2019-09-15 13:06:16 +02:00
Tomas Popela
e77d556bad Fix the previously rebased patched 2019-09-15 13:06:16 +02:00
Tomas Popela
382929d255 Missing bundled dependency for headless 2019-09-15 13:06:16 +02:00
Tomas Popela
16423a6aaf Unbundle the zlib
Use the gentoo patch.
2019-09-15 13:06:16 +02:00
Tomas Popela
2873f12bb3 Update to 77.0.3865.75
Rebase and clean the patches.
2019-09-15 13:06:16 +02:00
Tomas Popela
be307c8f4d 22x22 icon was removed and use the symbolic one as well 2019-09-15 13:05:32 +02:00
Tomas Popela
f68b7de9c0 Fix the aarch64 build 2019-09-15 13:05:32 +02:00
Tomas Popela
d544c78407 Customize the ninja status to show the currently build target
So one is able to realize faster, where the build is failing.
2019-09-15 13:05:32 +02:00
Tomas Popela
d0e5893874 Backport another GCC build fix 2019-09-15 13:05:32 +02:00
Tomas Popela
a159083f2b Don't remove an additional bundled library 2019-09-15 13:05:32 +02:00
Tomas Popela
5316414f65 More of the harfbuzz related fixes 2019-09-15 13:05:32 +02:00
Tomas Popela
4287667b77 Fix the release number and add a changelog entry 2019-09-15 13:05:32 +02:00
Tomas Popela
a9b565084b Preserve the spirv heads for swiftshader compilation 2019-09-15 13:05:32 +02:00
Tomas Popela
b10ed01ae7 Another export and alignas gcc compilation fix 2019-09-15 13:05:32 +02:00
Tomas Popela
ce1cdf147b Remove an unneeded patch that's breaking the build 2019-09-15 13:05:32 +02:00
Tomas Popela
670a5ef5af Use the bundled harfbuzz-ng for < F31
Needed because of the hb_subset_input_set_retain_gids(), that's only
available in harbuzz 2.4 that's only in F31+
2019-09-15 13:05:31 +02:00
Tomas Popela
1dabe8d366 Include <memory> to fix the headless build 2019-09-15 13:05:31 +02:00
Tomas Popela
aa41a1de67 Update the clean-ffmpeg.sh script 2019-09-15 13:05:31 +02:00
Tomas Popela
3534908954 Fix the previously rebased patched 2019-09-15 13:05:31 +02:00
Tomas Popela
62d330423a Missing bundled dependency for headless 2019-09-15 13:05:31 +02:00
Tomas Popela
6e6dfd56f0 Unbundle the zlib
Use the gentoo patch.
2019-09-15 13:05:31 +02:00
Tomas Popela
782a626758 Update to 77.0.3865.75
Rebase and clean the patches.
2019-09-15 13:05:31 +02:00
Tomas Popela
7fc281321a 22x22 icon was removed and use the symbolic one as well 2019-09-15 08:11:22 +02:00
Tomas Popela
4d35c8a983 Fix the aarch64 build 2019-09-15 08:08:54 +02:00
Tomas Popela
578228ae99 Customize the ninja status to show the currently build target
So one is able to realize faster, where the build is failing.
2019-09-14 19:15:24 +02:00
Tomas Popela
63ccbdcf58 Backport another GCC build fix 2019-09-14 17:06:52 +02:00
Tomas Popela
057d9fcd01 Don't remove an additional bundled library 2019-09-14 11:10:29 +02:00
Tomas Popela
dc2f301520 More of the harfbuzz related fixes 2019-09-14 11:09:46 +02:00
Tomas Popela
ecb75dee32 Fix the release number and add a changelog entry 2019-09-13 22:13:56 +02:00
Tomas Popela
fb22c7a5e9 Preserve the spirv heads for swiftshader compilation 2019-09-13 22:06:07 +02:00
Tomas Popela
8ed36c4625 Another export and alignas gcc compilation fix 2019-09-13 22:05:31 +02:00
Tomas Popela
63945f4efd Remove an unneeded patch that's breaking the build 2019-09-13 21:48:17 +02:00
Tomas Popela
1a11ef1aba Use the bundled harfbuzz-ng for < F31
Needed because of the hb_subset_input_set_retain_gids(), that's only
available in harbuzz 2.4 that's only in F31+
2019-09-13 15:26:07 +02:00
Tomas Popela
d08e680fa7 Include <memory> to fix the headless build 2019-09-13 15:25:49 +02:00
Tomas Popela
5e3b7f3e89 Update the clean-ffmpeg.sh script 2019-09-13 15:25:49 +02:00
Tomas Popela
2cfc18c994 Fix the previously rebased patched 2019-09-13 15:25:49 +02:00
Tomas Popela
1b0a93bc23 Missing bundled dependency for headless 2019-09-13 15:25:49 +02:00
Tomas Popela
8458f58818 Unbundle the zlib
Use the gentoo patch.
2019-09-13 15:25:49 +02:00
Tomas Popela
892e596886 Update to 77.0.3865.75
Rebase and clean the patches.
2019-09-12 17:28:51 +02:00
Tom Callaway
a0c0e33b0a take two 2019-09-10 16:58:00 -04:00
Tom Callaway
7f0ec73cb7 trying this 2019-09-10 15:55:16 -04:00
Tom Callaway
f53529c225 re-enable zlib mangling in bundleminizip conditional case 2019-09-10 13:28:28 -04:00
Tom Callaway
71ab9fa61d use bundled zlib here (ugh) 2019-09-09 07:54:13 -04:00
Tom Callaway
1964554c88 force disable use_gnome_keyring 2019-09-06 17:10:21 -04:00
Tom Callaway
c76cbbc3b0 conditionalize minizip bundling since rhel 8 does not have it 2019-09-06 16:40:41 -04:00
Tom Callaway
911f7b2ea0 disable gnome-keyring 2019-09-06 16:10:38 -04:00
Tom Callaway
e9192241d8 lots of spec cleanups, support for epel8, remove nacl for good, apply freeworld fixes 2019-09-06 10:44:11 -04:00
Tom Callaway
67061b4894 Merge branch 'master' into epel8 2019-09-05 16:58:58 -04:00
Gwyn Ciesla
2c4faaedb3 "Adding package.cfg file" 2019-09-05 15:46:11 -05:00
Tomas Popela
c5383dd288 More fixes to a backported patch for certificate transparency 2019-09-04 15:34:20 +02:00
Tomas Popela
6140e1104e More fixes to a backported patch for certificate transparency 2019-09-04 15:33:57 +02:00
Tomas Popela
82c3fb0c11 More fixes to a backported patch for certificate transparency 2019-09-04 15:33:29 +02:00
Tomas Popela
0b3363e83f More fixes to a backported patch for certificate transparency 2019-09-04 10:48:41 +02:00
Tomas Popela
f341b670a0 More fixes to a backported patch for certificate transparency 2019-09-04 10:48:30 +02:00
Tomas Popela
4506e4f855 Fix certificate-transparency patch 2019-09-03 15:29:24 +02:00
Tomas Popela
be81360432 Fix certificate-transparency patch 2019-09-03 15:28:35 +02:00
Tomas Popela
da8d872e92 Fix certificate-transparency patch 2019-09-03 15:28:07 +02:00
Tomas Popela
2f5fd97573 Fix certificate-transparency patch 2019-09-03 15:27:43 +02:00
Tomas Popela
b974e5ab1a Fix certificate-transparency patch 2019-09-03 15:26:53 +02:00
Tomas Popela
df09cb5bec Backport patch to fix certificate transparency 2019-09-03 12:34:17 +02:00
Tomas Popela
fb0db49d82 Backport patch to fix certificate transparency 2019-09-03 12:33:48 +02:00
Tomas Popela
bc006359dd Backport patch to fix certificate transparency 2019-09-03 12:33:19 +02:00
Tomas Popela
41c22993b3 Backport patch to fix certificate transparency 2019-09-03 12:32:09 +02:00
Tomas Popela
8f7f0b6930 Backport patch to fix certificate transparency 2019-09-03 12:20:51 +02:00
Tom Callaway
9bb933dc67 update chromium-latest.py to Python3 2019-08-29 16:22:39 -04:00
Tomas Popela
4f832fa064 Add an updated patch that was missed 2019-08-27 12:40:50 +02:00
Tomas Popela
2b5d9457a7 Update to 76.0.3809.132 2019-08-27 12:40:42 +02:00
Nicolas Chauvet
c1395d1c9d Clean-up gitignore using wildcard 2019-08-27 12:40:14 +02:00
Tomas Popela
ea0cafa75a Add an updated patch that was missed 2019-08-27 12:38:39 +02:00
Tomas Popela
a09f547085 Update to 76.0.3809.132 2019-08-27 12:38:39 +02:00
Tomas Popela
15f7f78118 Another noexec fix for EL7 2019-08-27 12:38:39 +02:00
Tomas Popela
46e50be91c Another el7 noexcept change 2019-08-27 12:38:39 +02:00
Tomas Popela
6ad9fbddea More el7 fixes
Merge the previously committed change in to the el7-noexcept patch and
revert another change that is needed on Fedora, but breaking the build
on EL7.
2019-08-27 12:38:39 +02:00
Tomas Popela
7c18e771ba Fix the EL7 build as it doesn't like part of the upstream GCC patch 2019-08-27 12:38:39 +02:00
Tomas Popela
5bc875d20d Add an updated patch that was missed 2019-08-27 12:38:01 +02:00
Tomas Popela
503e7f07db Update to 76.0.3809.132 2019-08-27 12:38:01 +02:00
Tomas Popela
22d44ca53a Another noexec fix for EL7 2019-08-27 12:38:01 +02:00
Tomas Popela
e79629f80c Another el7 noexcept change 2019-08-27 12:38:01 +02:00
Tomas Popela
32cbc6922a More el7 fixes
Merge the previously committed change in to the el7-noexcept patch and
revert another change that is needed on Fedora, but breaking the build
on EL7.
2019-08-27 12:38:01 +02:00
Tomas Popela
ed655503ee Fix the EL7 build as it doesn't like part of the upstream GCC patch 2019-08-27 12:38:01 +02:00
Tomas Popela
8b5c622431 Add an updated patch that was missed 2019-08-27 12:37:25 +02:00
Tomas Popela
b82b0a31dd Update to 76.0.3809.132 2019-08-27 12:37:25 +02:00
Tomas Popela
fc327721ea Another noexec fix for EL7 2019-08-27 12:37:25 +02:00
Tomas Popela
e39b8894d2 Another el7 noexcept change 2019-08-27 12:37:25 +02:00
Tomas Popela
aaab3d4ed4 More el7 fixes
Merge the previously committed change in to the el7-noexcept patch and
revert another change that is needed on Fedora, but breaking the build
on EL7.
2019-08-27 12:37:25 +02:00
Tomas Popela
af4746e6db Fix the EL7 build as it doesn't like part of the upstream GCC patch 2019-08-27 12:37:25 +02:00
Miro Hrončok
ec9d075ebb Use bundled Python 2 libraries during build
This removes the dependency on a small stack of Python 2 libraries.

There is a %global flag to control this, however only markupsafe is handled
differently when %bundlepylibs is set, other libraries seem to have been bundled
already.
2019-08-27 08:36:45 +00:00
Tomas Popela
5039438024 Add an updated patch that was missed 2019-08-27 07:56:12 +02:00
Tomas Popela
937790beb5 Update to 76.0.3809.132 2019-08-27 07:13:54 +02:00
Tomas Popela
77fd050dd9 Another noexec fix for EL7 2019-08-27 06:50:05 +02:00
Tomas Popela
2f9ffec1c5 Another el7 noexcept change 2019-08-27 06:50:05 +02:00
Tomas Popela
250b15f9a2 More el7 fixes
Merge the previously committed change in to the el7-noexcept patch and
revert another change that is needed on Fedora, but breaking the build
on EL7.
2019-08-27 06:50:02 +02:00
Tomas Popela
fcd18a8550 Fix the EL7 build as it doesn't like part of the upstream GCC patch 2019-08-27 06:48:34 +02:00
Tomas Popela
e57befc4e4 Another noexec fix for EL7 2019-08-26 14:40:26 +02:00
Nicolas Chauvet
32351d81ff Clean-up gitignore using wildcard 2019-08-23 18:15:28 +02:00
Tomas Popela
863006b82e Another el7 noexcept change 2019-08-23 13:48:03 +02:00
Tomas Popela
9c7daa3343 More el7 fixes
Merge the previously committed change in to the el7-noexcept patch and
revert another change that is needed on Fedora, but breaking the build
on EL7.
2019-08-23 11:01:37 +02:00
Tomas Popela
80f054f012 Fix the EL7 build as it doesn't like part of the upstream GCC patch 2019-08-23 07:54:57 +02:00
Tomas Popela
216cd7c5a9 Update the list of private libraries and remove a pak file that was removed 2019-08-22 07:47:45 +02:00
Tomas Popela
3a1daf2de7 Fix the previously uploaded patch 2019-08-22 07:47:45 +02:00
Tomas Popela
a1f30b2ff3 Fix the build of remoting_all target 2019-08-22 07:47:45 +02:00
Tomas Popela
e64c26cff0 //third_party dependency missing for remoting 2019-08-22 07:47:45 +02:00
Tomas Popela
dbf9b1c4cf Backport and create more of the GCC fixes 2019-08-22 07:47:45 +02:00
Tomas Popela
080ef08ad1 Upload the new cleaned tarball with aarch64 sources
Previously I forgot to pass the --ffmpegarm while generating the
tarball.
2019-08-22 07:47:45 +02:00
Tomas Popela
de0ef0a3af Backport another upstream build fix 2019-08-22 07:47:45 +02:00
Tomas Popela
d9260b3ba2 Update the Pulseaudio's pa_operation_get_state() signature
Missed it while updating the Pulseaudio signatures.
2019-08-22 07:47:45 +02:00
Tomas Popela
74dc565d42 Add missing ffmpeg file on aarch64 2019-08-22 07:47:45 +02:00
Tomas Popela
e16856fd56 Pulseaudio changed the API in 12.99 and we need to adapt the signatures 2019-08-22 07:47:45 +02:00
Tom Callaway
0ff1f6c0fd loosen dependency on chromium-libs in freeworld build 2019-08-22 07:47:45 +02:00
Tomas Popela
8fa5dc125a third_party/boringssl/linux-x86_64/crypto/third_party/sike needs to be preserved 2019-08-22 07:47:45 +02:00
Tomas Popela
650cd97edc third_party/openscreen need to be preserved 2019-08-22 07:47:45 +02:00
Tomas Popela
0833f269b8 Backport more build fixes from upstream 2019-08-22 07:47:45 +02:00
Tomas Popela
208926062c Add more fixes 2019-08-22 07:47:45 +02:00
Tomas Popela
59fa23497a Update to 76.0.3809.100 2019-08-22 07:47:45 +02:00
Tomas Popela
eea8d1dc28 Cleanup the patches 2019-08-22 07:47:45 +02:00
Fedora Release Engineering
4101a64726 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2019-08-22 07:47:45 +02:00
Tomas Popela
50c0a963fb Update the list of private libraries and remove a pak file that was removed 2019-08-22 07:45:50 +02:00
Tomas Popela
6b2762ec89 Fix the previously uploaded patch 2019-08-22 07:45:50 +02:00
Tomas Popela
f9c9c79473 Fix the build of remoting_all target 2019-08-22 07:45:50 +02:00
Tomas Popela
b7cedf6c8b //third_party dependency missing for remoting 2019-08-22 07:45:50 +02:00
Tomas Popela
889d5867f1 Backport and create more of the GCC fixes 2019-08-22 07:45:50 +02:00
Tomas Popela
1bc7f18b15 Upload the new cleaned tarball with aarch64 sources
Previously I forgot to pass the --ffmpegarm while generating the
tarball.
2019-08-22 07:45:50 +02:00
Tomas Popela
27f92858f5 Backport another upstream build fix 2019-08-22 07:45:50 +02:00
Tomas Popela
e38a4336b1 Update the Pulseaudio's pa_operation_get_state() signature
Missed it while updating the Pulseaudio signatures.
2019-08-22 07:45:50 +02:00
Tomas Popela
259b8d6063 Add missing ffmpeg file on aarch64 2019-08-22 07:45:50 +02:00
Tomas Popela
e116fd0fc7 Pulseaudio changed the API in 12.99 and we need to adapt the signatures 2019-08-22 07:45:50 +02:00
Tom Callaway
f687cc7a6b loosen dependency on chromium-libs in freeworld build 2019-08-22 07:45:50 +02:00
Tomas Popela
c9aa7a867c third_party/boringssl/linux-x86_64/crypto/third_party/sike needs to be preserved 2019-08-22 07:45:50 +02:00
Tomas Popela
fe36406366 third_party/openscreen need to be preserved 2019-08-22 07:45:50 +02:00
Tomas Popela
1a67b56d44 Backport more build fixes from upstream 2019-08-22 07:45:50 +02:00
Tomas Popela
55af817284 Add more fixes 2019-08-22 07:45:50 +02:00
Tomas Popela
6cad81f350 Update to 76.0.3809.100 2019-08-22 07:45:49 +02:00
Tomas Popela
9ac69a56eb Cleanup the patches 2019-08-22 07:45:49 +02:00
Fedora Release Engineering
2de703ec6f - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2019-08-22 07:45:49 +02:00
Tomas Popela
2b21300e3f Update the list of private libraries and remove a pak file that was removed 2019-08-22 07:40:02 +02:00
Tomas Popela
6799d9e0ea Fix the previously uploaded patch 2019-08-22 07:40:02 +02:00
Tomas Popela
766aab49a1 Fix the build of remoting_all target 2019-08-22 07:40:02 +02:00
Tomas Popela
1ad065436b //third_party dependency missing for remoting 2019-08-22 07:40:02 +02:00
Tomas Popela
73516eb866 Backport and create more of the GCC fixes 2019-08-22 07:40:02 +02:00
Tomas Popela
b93cafeb92 Upload the new cleaned tarball with aarch64 sources
Previously I forgot to pass the --ffmpegarm while generating the
tarball.
2019-08-22 07:40:02 +02:00
Tomas Popela
fd12ce20b2 Backport another upstream build fix 2019-08-22 07:40:02 +02:00
Tomas Popela
6548a82813 Update the Pulseaudio's pa_operation_get_state() signature
Missed it while updating the Pulseaudio signatures.
2019-08-22 07:40:02 +02:00
Tomas Popela
c84fdddcb1 Add missing ffmpeg file on aarch64 2019-08-22 07:40:02 +02:00
Tomas Popela
e95a7043a9 Pulseaudio changed the API in 12.99 and we need to adapt the signatures 2019-08-22 07:40:02 +02:00
Tom Callaway
a67d161f16 loosen dependency on chromium-libs in freeworld build 2019-08-22 07:40:02 +02:00
Tomas Popela
e0d11a7855 third_party/boringssl/linux-x86_64/crypto/third_party/sike needs to be preserved 2019-08-22 07:40:02 +02:00
Tomas Popela
4f64c0f273 third_party/openscreen need to be preserved 2019-08-22 07:40:02 +02:00
Tomas Popela
8e2b9c82f9 Backport more build fixes from upstream 2019-08-22 07:40:02 +02:00
Tomas Popela
a44f11deb4 Add more fixes 2019-08-22 07:34:35 +02:00
Tomas Popela
83f2dc294a Update to 76.0.3809.100 2019-08-22 07:34:16 +02:00
Tomas Popela
b32ea8ff86 Cleanup the patches 2019-08-22 07:32:29 +02:00
Tomas Popela
cae7041976 Update the list of private libraries and remove a pak file that was removed 2019-08-21 14:17:44 +02:00
Tomas Popela
53c822f6be Fix the previously uploaded patch 2019-08-21 14:17:44 +02:00
Tomas Popela
c55af60ffa Fix the build of remoting_all target 2019-08-21 14:17:44 +02:00
Tomas Popela
ba2f198b9f //third_party dependency missing for remoting 2019-08-21 14:17:44 +02:00
Tomas Popela
1196d0d541 Backport and create more of the GCC fixes 2019-08-21 14:17:44 +02:00
Tomas Popela
b01a0be496 Upload the new cleaned tarball with aarch64 sources
Previously I forgot to pass the --ffmpegarm while generating the
tarball.
2019-08-21 14:17:44 +02:00
Tomas Popela
170da1572c Backport another upstream build fix 2019-08-21 14:17:44 +02:00
Tomas Popela
f31a3b1f0c Update the Pulseaudio's pa_operation_get_state() signature
Missed it while updating the Pulseaudio signatures.
2019-08-21 14:17:44 +02:00
Tomas Popela
923b51d3f2 Add missing ffmpeg file on aarch64 2019-08-21 14:17:44 +02:00
Tomas Popela
b2aa221469 Pulseaudio changed the API in 12.99 and we need to adapt the signatures 2019-08-21 14:17:44 +02:00
Tom Callaway
a848ba4924 loosen dependency on chromium-libs in freeworld build 2019-08-21 14:17:44 +02:00
Tomas Popela
081e6e7deb third_party/boringssl/linux-x86_64/crypto/third_party/sike needs to be preserved 2019-08-21 14:17:44 +02:00
Tomas Popela
6338de1419 third_party/openscreen need to be preserved 2019-08-21 14:17:44 +02:00
Tomas Popela
333adfcd38 Backport more build fixes from upstream 2019-08-21 14:17:44 +02:00
Tomas Popela
02877cca95 Update the list of private libraries and remove a pak file that was removed 2019-08-21 13:51:11 +02:00
Tomas Popela
234bd983cb Fix the previously uploaded patch 2019-08-20 22:07:44 +02:00
Tomas Popela
05ed80ce7e Fix the build of remoting_all target 2019-08-20 21:36:06 +02:00
Tomas Popela
f32de4175a //third_party dependency missing for remoting 2019-08-16 13:58:53 +02:00
Tomas Popela
6ab36cdf55 Backport and create more of the GCC fixes 2019-08-15 21:14:35 +02:00
Tomas Popela
cfc50a59ed Upload the new cleaned tarball with aarch64 sources
Previously I forgot to pass the --ffmpegarm while generating the
tarball.
2019-08-15 07:10:04 +02:00
Tomas Popela
453dfe1db3 Backport another upstream build fix 2019-08-15 07:03:49 +02:00
Tomas Popela
4376be3d5f Update the Pulseaudio's pa_operation_get_state() signature
Missed it while updating the Pulseaudio signatures.
2019-08-14 23:22:43 +02:00
Tomas Popela
a491a863e2 Add missing ffmpeg file on aarch64 2019-08-14 23:17:42 +02:00
Tomas Popela
8b12346860 Pulseaudio changed the API in 12.99 and we need to adapt the signatures 2019-08-14 16:54:38 +02:00
Tom Callaway
6c1fd53b98 loosen dependency on chromium-libs in freeworld build 2019-08-14 09:52:16 -04:00
Tomas Popela
3f2dbf4382 third_party/boringssl/linux-x86_64/crypto/third_party/sike needs to be preserved 2019-08-14 15:41:23 +02:00
Tomas Popela
481c90e3a6 third_party/openscreen need to be preserved 2019-08-14 15:38:35 +02:00
Tomas Popela
fcb9e6e6ed Backport more build fixes from upstream 2019-08-14 14:38:51 +02:00
Tomas Popela
44822a9bb7 Add more fixes 2019-08-13 15:39:15 +02:00
Tomas Popela
38e8f689d5 Update to 76.0.3809.100 2019-08-13 07:05:33 +02:00
Tomas Popela
a77981312e Cleanup the patches 2019-08-12 21:21:21 +02:00
Fedora Release Engineering
8c4c53d9b3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2019-07-24 20:14:22 +00:00
Tom Callaway
aaead4227b Merge branch 'master' into epel7 2019-07-11 17:07:48 -04:00
Tom Callaway
3da184df43 apply upstream fix to resolve issue where it is dangerous to post a task with a RenderProcessHost pointer because the RenderProcessHost can go away before the task is run (causing a segfault). 2019-07-11 17:06:38 -04:00
Tom Callaway
069f28a420 more noexcept fixes for epel7 2019-06-26 16:08:52 -04:00
Tom Callaway
6edb7f7410 try this patch variant 2019-06-25 12:36:35 -04:00
Tom Callaway
1646709894 fix v8 compile with gcc 2019-06-25 10:58:05 -04:00
Tom Callaway
583677e39c disable jumbo for epel7 2019-06-24 11:05:43 -04:00
Tom Callaway
8ca0005ac1 update epel7 patches 2019-06-20 10:22:41 -04:00
Tom Callaway
3a2a8e7070 update to 75.0.3770.100 2019-06-20 09:29:36 -04:00
Tom Callaway
8008a52424 .90 and another missing aarch64 file 2019-06-14 11:02:12 -04:00
Tom Callaway
e8606232c2 one more file for aarch64 2019-06-13 10:41:45 -04:00
Tom Callaway
3d2e9d1afe rename function to avoid conflict with rawhide glibc "gettid()" 2019-06-12 17:08:39 -04:00
Tom Callaway
86f6063379 more headers to save 2019-06-12 09:45:13 -04:00
Tom Callaway
ee64066a7c fix i686 fpermissive 2019-06-10 14:51:10 -04:00
Tom Callaway
43b2c19f2e 75.0.3770.80 2019-06-10 14:36:48 -04:00
Tom Callaway
f4a1a5cfc0 74.0.3729.169 2019-06-03 17:14:49 -04:00
Tom Callaway
41b87b039a improved seccomp glibc 2.29 patch 2019-04-16 11:54:46 -04:00
Tom Callaway
ae0be165a7 update to 73.0.3683.103, add CLONE_VFORK to seccomp filter for linux to handle glibc 2.29 change 2019-04-11 11:15:59 -04:00
Tom Callaway
c0e09c73fb remove lang macro from en-US.pak* because Chromium crashes if it is not present (bz1692660) 2019-03-27 16:04:13 -04:00
Tom Callaway
f9dc161c1c update to 73.0.3683.86 2019-03-22 16:24:13 -04:00
Tom Callaway
6bc005ac5f update noexcept patch 2019-03-20 09:47:29 -04:00
Tom Callaway
a01021d41d disable vaapi on epel7 2019-03-19 15:18:34 -04:00
Tom Callaway
9d8ad7c073 fix merge 2019-03-19 11:13:56 -04:00
Tom Callaway
24a79238b2 do not package pyproto/protoc 2019-03-19 09:31:47 -04:00
Tom Callaway
6a0dee3b9c try disabling jumbo for aarch64 2019-03-17 19:00:54 -04:00
Tom Callaway
a21606ada3 add aarch64 crashpad compile fix 2019-03-15 12:11:37 -04:00
Tom Callaway
d805cb9423 swiftshader for aarch64? ok. 2019-03-15 09:06:15 -04:00
Tomas Popela
70ab9e45ec Rebase the vaapi i686 -fpermissive patch 2019-03-15 10:28:54 +01:00
Tomas Popela
a73d7769d7 Add java to build requires
FAILED: gen/mojo/public/js/mojo_bindings_lite.js
<snip>
/bin/sh: java: command not found
2019-03-15 09:23:08 +01:00
Tom Callaway
9071ee2d2f go 73, go! 2019-03-14 17:26:19 -04:00
Tom Callaway
6f3b08b26c new source 2019-03-11 13:14:40 -04:00
Tom Callaway
4818465e5d chromium 72 2019-03-11 13:11:15 -04:00
Tom Callaway
2d03f67495 rebuild for libva api change 2019-02-26 11:12:29 -05:00
Fedora Release Engineering
e58b7c17b6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2019-01-31 15:34:26 +00:00
Igor Gnatenko
ea2fe9d69d Remove obsolete scriptlets
References: https://fedoraproject.org/wiki/Changes/RemoveObsoleteScriptlets
Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
2019-01-29 05:57:55 +01:00
Tom Callaway
1788834463 rebuild with widevine fix 2019-01-21 14:07:36 -05:00
Akarshan Biswas
c8e53a4c09 Fix widevine on chromium
Fixes #RHBZ 1464705
2019-01-09 17:32:59 +00:00
Tom Callaway
7ccede1e1c drop rsp clobber, which breaks gcc9 (thanks to Jeff Law) 2019-01-08 13:31:12 -05:00
Tom Callaway
1b1fef91b9 I SAID MOAR 2019-01-02 14:46:12 -05:00
Tom Callaway
143e46648d fix noexcept, moar moar 2019-01-02 12:07:14 -05:00
Tom Callaway
41f326e57d fix noexcept, moar 2019-01-02 10:59:58 -05:00
Tom Callaway
09bce8257e add BR 2018-12-22 19:46:19 -05:00
Tom Callaway
a4a01ebc74 use prebuilt node on rhel7 2018-12-21 16:37:45 -05:00
Tom Callaway
2829ac37e8 RHEL 7s nodejs is too old, do not use it in the buildroot 2018-12-20 12:35:41 -05:00
Tom Callaway
e9829bbce4 okay, lets try this 2018-12-20 09:53:41 -05:00
Tomas Popela
e708c75686 Use a variable for the DTS version 2018-12-20 07:25:26 +01:00
Tom Callaway
8e01649bac more hardcoded devtoolset versions 2018-12-19 15:59:47 -05:00
Tom Callaway
39f814854d need to use devtoolset-8-*. I love hardcoded versions in package names. 2018-12-19 15:43:49 -05:00
Tom Callaway
b2e427f04b 71.0.3578.98 2018-12-18 15:12:33 -05:00
Akarshan Biswas
f97ba1b6ed Add relax libva version check patch 2018-12-11 12:42:50 +05:30
Akarshan Biswas
6223833478 Update vaapi patch for 71 and add to patch to relax the version check for vaapi 2018-12-11 12:40:16 +05:30
Tom Callaway
20998a3add use fpermissive on vaapi code on i686 2018-11-29 09:32:34 -05:00
Tom Callaway
0d5fe2e277 use clean vaapi patch, add BR: libva-devel 2018-11-28 12:36:25 -05:00
Tom Callaway
8529bb834b fix patch 2018-11-27 16:40:18 -05:00
Tom Callaway
4a928246b8 increment release, you dummy 2018-11-27 16:16:13 -05:00
Tom Callaway
278c62709d enable vaapi support (thanks to Akarshan Biswas for doing the hard work here) 2018-11-27 16:15:35 -05:00
Tom Callaway
7029b1fede remove sysroot options 2018-11-26 13:43:04 -05:00
Tom Callaway
8401a03dd0 .110 2018-11-26 13:11:42 -05:00
Miro Hrončok
785459dde1 https://fedoraproject.org/wiki/Changes/No_more_automagic_Python_bytecompilation_phase_2 2018-11-15 12:53:55 +01:00
Tom Callaway
4e28fb24fc fix library requires filtering 2018-11-07 10:24:41 -05:00
Tom Callaway
35ec6a6d16 fix aarch64 build against latest linux kernel headers 2018-11-06 13:29:47 -05:00
Tom Callaway
3558506da1 fix build with harfbuzz2 in rawhide 2018-11-06 10:21:34 -05:00
Tom Callaway
a8d905fd03 drop jumbo_file_merge_limit to 8 to (hopefully) avoid OOMs on aarch64 2018-11-05 16:01:43 -05:00
Tom Callaway
52661628c0 70.0.3538.77 2018-11-02 13:30:53 -04:00
Tom Callaway
cf170d6fd1 freeworld build does not need fonts 2018-10-16 15:40:50 -04:00
Tom Callaway
a367efa147 update to 69.0.3497.100 2018-10-04 16:56:42 -04:00
Miro Hrončok
a913b5cdd2 Also fix shebangs with spaces
pyproto/google/protobuf/internal/_parameterized.py has this shebang:

    #! /usr/bin/env python

That was not covered by the sed and ended up with brp-mangle-shebang
warnings (soon to be errors).
2018-09-16 12:14:42 +02:00
Tom Callaway
0fc6cb9e41 69.0.3497.92 2018-09-14 08:04:34 -04:00
Tom Callaway
e688f351b4 conditionalize minizip-compat change 2018-09-05 13:40:21 -04:00
Patrik Novotný
f9b8d48bcb Update dependency to minizip-compat(-devel)
Related: rhbz#1609830, rhbz#1615381
2018-09-04 12:50:06 +02:00
Tom Callaway
016a7a3a65 fix library filters 2018-08-19 09:43:17 -04:00
Tom Callaway
4cfe27ecef Fix default on redeclaration error 2018-08-17 14:59:05 -04:00
Tom Callaway
1d9acb4d8b fix aarch64 compile 2018-08-14 16:32:41 -04:00
Tom Callaway
65058cdc67 add Public Domain GardinerMod fonts 2018-08-14 12:58:46 -04:00
Tom Callaway
9ac9791f7d add Ahem font 2018-08-10 08:56:11 -04:00
Tom Callaway
14101bb995 68 2018-08-09 16:23:34 -04:00
Tom Callaway
cb0be2c990 fix more python hardcoding 2018-07-25 14:16:12 -04:00
Tom Callaway
e0bcc175b4 include third_party/rcssmin 2018-07-25 09:48:31 -04:00
Tom Callaway
f3867e4986 missed one gn gen 2018-07-25 09:29:07 -04:00
Tom Callaway
7048e95ab6 setuid user-session, more python2 hacks 2018-07-24 17:01:35 -04:00
Fedora Release Engineering
f7dfb309f6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2018-07-12 21:46:24 +00:00
Tom Callaway
8fac8b3f43 try to fix version.py for rawhide 2018-07-11 12:34:10 -04:00
Tom Callaway
2c3a8f916a 67.0.3396.99 2018-07-09 16:27:44 -04:00
Tom Callaway
77c46e3fc5 add fedora to the user agent string 2018-06-25 16:08:01 -04:00
Tom Callaway
92b60dd623 move from appdata/ to metainfo/ 2018-06-19 12:27:31 -04:00
Tom Callaway
afed03bdcd 67.0.3396.87 2018-06-19 12:19:07 -04:00
Tom Callaway
9cdea2b94c update to 67.0.3396.79 2018-06-07 13:54:30 -04:00
Tom Callaway
0b37303d5a work around bug in RHEL7 python exec 2018-06-06 10:17:14 -04:00
Tom Callaway
27ff9a9cfc fix epel fonts 2018-06-05 14:21:44 -04:00
Tom Callaway
022abfe75f fix crashpad issue on aarch64 2018-06-04 15:04:58 -04:00
Tom Callaway
3bfff4f3c2 fix sources 2018-06-04 09:02:15 -04:00
Tom Callaway
02b89a300d fixup spec 2018-06-04 09:01:56 -04:00
Tom Callaway
169992d5d8 67 patches 2018-05-30 13:42:00 -04:00
Tom Callaway
afb86c1562 67 2018-05-30 13:41:28 -04:00
Tom Callaway
d164b6684b also filter out fontconfig on epel7 2018-05-29 15:17:38 -04:00
Tom Callaway
f1f56dc619 fix missing files 2018-05-24 09:22:01 -04:00
Tom Callaway
7575596a18 update to 66.0.3359.181 2018-05-21 10:43:18 -04:00
Tom Callaway
f953b3f37b fix gcc8 alignof issue on i686 2018-05-15 15:05:11 -04:00
Tom Callaway
16a75be12e only x86_64 i686 have swiftshader 2018-05-15 14:17:16 -04:00
Tom Callaway
b3bbed0df7 add swiftshader to files 2018-05-14 16:47:14 -04:00
Tom Callaway
55ffd9547d 66.0.3359.170 2018-05-14 13:02:26 -04:00
Tom Callaway
0f7615a0c1 Merge branch 'master' into f26 2018-05-05 10:11:50 -04:00
Tom Callaway
3f9e662d54 fix arm build 2018-05-05 10:10:42 -04:00
Tom Callaway
86678985c3 disable patch47 2018-05-04 09:45:30 -04:00
Tom Callaway
c3805019b7 Merge branch 'master' into f26 2018-05-04 09:12:34 -04:00
Tom Callaway
85fa5c5e9f missing patch 2018-05-04 09:11:04 -04:00
Tom Callaway
840f0beab1 fix sources 2018-05-04 09:08:24 -04:00
Tom Callaway
5afa5c77de Merge branch 'master' into f26 2018-05-01 16:25:14 -04:00
Tom Callaway
5479a8c69a 66.0.3359.139 2018-05-01 16:24:18 -04:00
Tom Callaway
b899d5f427 Merge branch 'master' of ssh://pkgs.fedoraproject.org/rpms/chromium 2018-04-17 12:54:57 -04:00
Tom Callaway
e00e15df7e use system fontconfig (except on epel7) 2018-04-17 12:54:51 -04:00
Miro Hrončok
cdad621917 Be explicit about the Python version used 2018-04-10 11:48:23 +02:00
Tom Callaway
099672744d Merge branch 'master' into f26 2018-04-04 11:30:34 -04:00
Tom Callaway
11492d0030 add explicit dependency on minizip (bz 1534282) 2018-04-04 11:22:06 -04:00
Tom Callaway
6588e7bdd3 check that there is no system google module, shadowing bundled ones :: conditionalize api keys (on by default) 2018-03-28 10:01:28 -04:00
Tom Callaway
752de2696d Merge branch 'master' into f26 2018-03-21 16:45:05 -04:00
Tom Callaway
c747d58e15 65.0.3325.181 2018-03-21 16:43:26 -04:00
Tom Callaway
0d818fb687 force lstdc++ on epel7 2018-03-20 16:17:37 -04:00
Tom Callaway
6113fdf4e8 rhel 7 might need libc++ bundled 2018-03-20 12:44:57 -04:00
Tom Callaway
f525a513b3 try use_custom_libcxx=true on epel7 2018-03-20 10:54:37 -04:00
Tom Callaway
f7e3b54d1f use bundled libdrm on epel7 2018-03-19 14:18:55 -04:00
Tom Callaway
dcb134e776 Merge branch 'master' into f26 2018-03-19 10:31:22 -04:00
Tom Callaway
6d9e418792 use bundled freetype on epel7 2018-03-19 10:30:17 -04:00
Tom Callaway
b2a482e601 Merge branch 'master' into f26 2018-03-16 14:36:15 -04:00
Tom Callaway
bdba7c7bda disable StartupNotify in chromium-browser.desktop (not in google-chrome desktop file) (bz1545241) 2018-03-16 14:32:58 -04:00
Tom Callaway
9e38b7c8af fix skia build issue on aarch64 2018-03-15 15:32:44 -04:00
Tom Callaway
61203bf461 use normal bool cast 2018-03-15 13:48:43 -04:00
Tom Callaway
8cfa28d974 fix bool issue triggered by newer gcc 2018-03-15 13:12:01 -04:00
Tom Callaway
3534f5e56f use bundled libjpeg on epel7 2018-03-15 12:56:27 -04:00
Tom Callaway
fe5b552f8e version conditionalize gnome-keyring-devel 2018-03-15 12:29:18 -04:00
Tom Callaway
fb49317c4d Merge branch 'master' into f26 2018-03-15 12:18:38 -04:00
Tom Callaway
8ca12f156d clean sources 2018-03-15 12:17:47 -04:00
Tom Callaway
4e6c6ef24d 65.0.3325.162 2018-03-15 12:17:21 -04:00
Tom Callaway
c5342c3e97 this gets past prep... 2018-03-07 12:58:11 -05:00
Tom Callaway
e36a0c82bf 65.0.3325.146 2018-03-07 11:13:05 -05:00
Tom Callaway
17957347c0 Merge branch 'master' into f26 2018-03-05 12:18:29 -05:00
Tom Callaway
c558cc1c58 64.0.3282.186 2018-03-05 12:16:13 -05:00
Tom Callaway
cf44702bfe Merge branch 'f26' of ssh://pkgs.fedoraproject.org/rpms/chromium into f26 2018-02-20 20:30:40 -05:00
Tom Callaway
dee55f8baa Merge branch 'master' into f26 2018-02-20 20:30:03 -05:00
Tom Callaway
ff8eb292e4 update to 64.0.3282.167, include workaround for gcc8 bug in gn, disable unnecessary aarch64 glibc symbol change 2018-02-19 11:57:56 -05:00
Tom Callaway
745106217b 64.0.3282.140 2018-02-02 07:47:16 -05:00
Tom Callaway
7bfd513198 include user-session binary in chrome-remote-desktop subpackage 2018-02-01 11:59:06 -05:00
Tom Callaway
b75e5eb0e8 correct source 2018-01-27 08:23:18 -05:00
Tom Callaway
867ed1fbbc 64.0.3282.119 2018-01-26 22:48:09 -05:00
Tomas Popela
6fc5f9d836 Merge branch 'master' into f26 2017-12-15 10:14:31 +01:00
Tomas Popela
dfd304e9d4 Add python2 as BR 2017-12-15 10:13:25 +01:00
Tomas Popela
699efa46c6 Merge branch 'master' into f26 2017-12-15 09:46:25 +01:00
Tomas Popela
41a88702e4 Update to 63.0.3239.108 2017-12-15 09:40:28 +01:00
Tomas Popela
7d49b3d7e2 Add missing ffmpeg files on aarch64 2017-12-14 15:50:23 +01:00
Tomas Popela
7bb0a21760 Don't require libcanberra-gtk2 GTK+ 3 build is enabled
But require libcanberra-gtk3. Also remove provides for bundled gtk3 as
it's not bundling one.
2017-12-14 11:57:26 +01:00
Tom Callaway
eac1e3983c moar moar moar aarch64 files 2017-12-12 16:14:12 -05:00
Tom Callaway
3698ffd614 moar moar aarch64 files 2017-12-12 15:39:55 -05:00
Tom Callaway
b9fa76f1dc moar moar aarch64 files 2017-12-12 15:39:16 -05:00
Tom Callaway
70ab91a312 moar aarch64 files 2017-12-12 13:03:57 -05:00
Tom Callaway
b18325ee01 new sources for aarch64 2017-12-12 11:44:08 -05:00
Tom Callaway
42ed3387ba fix aarch64 patch 2017-12-12 09:59:11 -05:00
Tom Callaway
a2f0a8717b Merge branch 'master' into f26 2017-12-12 09:21:11 -05:00
Tom Callaway
6af85f90fe 63.0.3239.84 2017-12-12 09:18:37 -05:00
Tom Callaway
07c88ef87f Merge #3 Remove support for running the unit tests 2017-12-07 14:49:09 +00:00
Tom Callaway
b0b7736f6f Merge #4 Remove unused patches and an AppData file 2017-12-07 14:48:39 +00:00
Tomas Popela
b8d27d6a5a Remove unused AppData file 2017-12-06 11:23:05 +01:00
Tomas Popela
8a70ade469 Remove unused patches 2017-12-06 11:22:29 +01:00
Tomas Popela
06c182be2e Adapt to man page changes for Chromium 63
Starting from Chromium 63 the man page is not installed by default, but
it is generated from the template.
2017-11-15 12:41:11 +01:00
Tomas Popela
db2acc00d9 Remove support for running the unit tests
They are not being run for more than a year and we really don't have
a manpower to support them.
2017-11-15 12:39:05 +01:00
Tom Callaway
6844a767bb Merge branch 'master' into f26 2017-11-08 12:59:50 -05:00
Tom Callaway
bc9e77bbac 62.0.3202.89 2017-11-08 12:59:00 -05:00
Tom Callaway
7745b94027 fix merge 2017-10-29 10:38:40 -04:00
Tom Callaway
7d1b47a15f fix merge 2017-10-29 10:29:25 -04:00
Tom Callaway
4b560f7401 62.0.3202.75 2017-10-27 11:02:21 -04:00
Tom Callaway
2f12a9278f even moar c++11 2017-10-25 10:23:22 -04:00
Tom Callaway
2180bdba87 more C++11 type handling (enable_if) 2017-10-25 09:17:17 -04:00
Tom Callaway
f6767a1977 fix decay_t usage for gcc 4.8/c++11 2017-10-25 08:59:45 -04:00
Tom Callaway
6aefd889fa Merge branch 'epel7' of ssh://pkgs.fedoraproject.org/rpms/chromium into epel7 2017-10-25 08:28:16 -04:00
Tom Callaway
530c35bcba instead use std=c++11 on epel7 2017-10-25 08:28:07 -04:00
Tomas Popela
d8f6aaaf5d Fix the policy templates handling
Basically revert my previous commits as the policy templates are
generated during the build. The only thing that we were copying out from
the tarballs was the policy templates documentation, but that one is
generated as well so use that one and remove the policy_templates zip
file from sources
2017-10-25 10:36:02 +02:00
Tomas Popela
d02ac4e7be Fix the policy templates handling
Basically revert my previous commits as the policy templates are
generated during the build. The only thing that we were copying out from
the tarballs was the policy templates documentation, but that one is
generated as well so use that one and remove the policy_templates zip
file from sources
2017-10-25 10:35:25 +02:00
Tomas Popela
2abf30d2cc Fix the policy templates handling
Basically revert my previous commits as the policy templates are
generated during the build. The only thing that we were copying out from
the tarballs was the policy templates documentation, but that one is
generated as well so use that one and remove the policy_templates zip
file from sources
2017-10-25 10:30:34 +02:00
Tom Callaway
7abe45ef20 do not attempt to use std=c++14 on epel7 2017-10-24 22:25:28 -04:00
Tom Callaway
12bdf54b38 Merge branch 'master' into epel7 2017-10-24 17:03:05 -04:00
Tom Callaway
c28ea78044 Merge branch 'master' into f26 2017-10-24 17:02:27 -04:00
Tom Callaway
3f324a0af1 Merge branch 'master' of ssh://pkgs.fedoraproject.org/rpms/chromium 2017-10-24 16:59:11 -04:00
Tom Callaway
69e53044ee 62.0.3202.62 2017-10-24 16:59:02 -04:00
Tomas Popela
07728cdf82 Improve the chromium-latest.py script
- Download the policy templates per release channel
- Only run the nacl_versions when not running on python 2.6 as the
  toolchain_build modules are not python 2.6 compatible
2017-10-19 14:15:23 +02:00
Tomas Popela
404a6d2414 Improve the chromium-latest.py script
- Download the policy templates per release channel
- Only run the nacl_versions when not running on python 2.6 as the
  toolchain_build modules are not python 2.6 compatible
2017-10-19 14:14:48 +02:00
Tomas Popela
b36884aebd Improve the chromium-latest.py script
- Download the policy templates per release channel
- Only run the nacl_versions when not running on python 2.6 as the
  toolchain_build modules are not python 2.6 compatible
2017-10-19 14:14:13 +02:00
Tomas Popela
18ab5a523a Update the chromium-lastest.py to always download the policy templates
They are changing across the releases - always download the latest one.
2017-10-18 13:31:22 +02:00
Tomas Popela
9d223e0ab1 Update the chromium-lastest.py to always download the policy templates
They are changing across the releases - always download the latest one.
2017-10-18 13:30:47 +02:00
Tomas Popela
faa2842751 Update the chromium-lastest.py to always download the policy templates
They are changing across the releases - always download the latest one.
2017-10-18 13:28:53 +02:00
Tom Callaway
fac5adaa62 uploaded sources this time 2017-09-22 18:48:11 -04:00
Tom Callaway
79d8235f4c 61.0.3163.100 and lots of epel7 fixes 2017-09-22 18:36:45 -04:00
Tom Callaway
1144ae5d3c i think this will build 2017-09-19 10:07:30 -04:00
Tom Callaway
a0a687b685 ugly hack to make epel7 build. maybe 2017-09-14 14:19:52 -04:00
Tom Callaway
5ff888b012 will it never stop? 2017-09-14 11:17:31 -04:00
Tom Callaway
c00dedb7b5 more epel gcc fixes 2017-09-14 10:24:23 -04:00
Tom Callaway
92bd8d8d23 try different cc/paint fix 2017-09-14 09:30:58 -04:00
Tom Callaway
bcf9692901 use fpermissive on cc/paint 2017-09-13 13:27:32 -04:00
Tom Callaway
f43b0abeb4 drop unnecessary patch for epel7 2017-09-13 12:41:20 -04:00
Tom Callaway
661f204cb7 fix patch 2017-09-12 10:15:39 -04:00
Tom Callaway
2484dd808e fix aarch64 compile in rawhide 2017-09-12 09:38:46 -04:00
Tom Callaway
9debcb008e 61.0.3163.79 2017-09-11 11:16:31 -04:00
Miro Hrončok
1c11a82cbd Require explicit version-release of chromium-libs from media-freeworld
Since the freeworld package is built in another repository,
it may be out of sync. This makes sure `dnf update` won't just
remove the installed version of chromium in order to update
chromium-libs-media-freeworld if that happens to be in the repo
sooner than chromium.

Reported as #4572 in that other repository.
2017-09-01 12:04:43 +02:00
Tom Callaway
a54623014c disable aarch64 on rhel7, missing libatomic.so for some reason 2017-08-28 15:59:18 -04:00
Tom Callaway
21e3607748 more aarch64 ffmpeg files 2017-08-25 16:59:08 -04:00
Tom Callaway
321d5de034 fix include pathing in libavutil/timer.h 2017-08-25 15:31:37 -04:00
Tom Callaway
7d1f0eac97 fixed sources for aarch64 2017-08-25 13:45:36 -04:00
Tom Callaway
761a02838d fixed sources 2017-08-24 17:03:09 -04:00
Tom Callaway
984bf67d42 update to 60.0.3112.113, fix ffmpeg clean script to not delete aarch64 file 2017-08-24 16:03:00 -04:00
Tom Callaway
c74ab79e4c add BR: ninja-build 2017-08-23 16:34:59 -04:00
Tom Callaway
b413a74418 Another player has entered the game: aarch64! 2017-08-23 14:53:36 -04:00
Tom Callaway
ae08a775d9 fix dep issue with chrome-remote-desktop on el7 2017-08-17 09:31:37 -04:00
Tom Callaway
5922b5cfc9 update to 60.0.3112.101, apply upstream fix for cameras which report zero resolution formats (bz1465357) 2017-08-16 17:20:49 -04:00
Tom Callaway
26f11a9f0f apply more workarounds to force code to compile with epel7 gcc 2017-08-14 11:20:03 -04:00
Tom Callaway
efb66ad8f9 apply more workarounds to force code to compile with epel7 gcc 2017-08-14 10:45:51 -04:00
Tom Callaway
268e0a6711 okay, do you like this? 2017-08-11 12:00:53 -04:00
Tom Callaway
97f98971c7 try different hack 2017-08-11 10:26:58 -04:00
Tom Callaway
682675b7f8 try to trick old gcc 2017-08-09 14:48:34 -04:00
Tom Callaway
bbbf61dadd apply upstream commit to work around EPEL7 compiler issues 2017-08-09 13:48:24 -04:00
Tom Callaway
bf4b08a13e BR: mesa-libGL-devel 2017-08-07 13:16:48 -04:00
Tom Callaway
0d0973d539 add minizip, conditionalize webp bundling for rhel7 2017-08-07 10:30:46 -04:00
Tom Callaway
7de0af7e04 fix typo from merge 2017-08-05 17:18:54 -04:00
Tom Callaway
fae045bc88 merge 2017-08-05 17:18:07 -04:00
Tom Callaway
29aa9da06f 60.0.3112.90 + headless + fixes for freeworld 2017-08-05 17:16:08 -04:00
Fedora Release Engineering
b5526c1f70 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild 2017-08-02 18:47:02 +00:00
Fedora Release Engineering
5a7429033f - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild 2017-07-26 04:48:28 +00:00
Tom Callaway
2d02baa29c BR: mesa-libGL-devel 2017-07-21 11:42:08 -04:00
Tom Callaway
d2fc3a146d use posttrans to ensure that old shared libs are gone before trying to make symlinks 2017-07-21 10:17:22 -04:00
Tom Callaway
b7162c3694 add missing \ in freeworld scriptlet 2017-07-17 12:56:43 -04:00
Tom Callaway
7c2fb50f20 fix scriptlets 2017-07-13 14:00:05 -04:00
Tom Callaway
03f0b9be07 include copy of third_party/freetype from previous source tree 2017-07-12 16:32:37 -04:00
Tom Callaway
d9e2499e54 Change struct ucontext to ucontext_t in breakpad 2017-07-12 15:41:05 -04:00
Tom Callaway
8c7674af70 apply Rathann freeworld changes, update to 59.0.3071.115 2017-07-12 14:52:03 -04:00
Tom Callaway
aeacc875b0 fix path in pretrans scriptlet 2017-06-26 09:55:26 -04:00
Tom Callaway
c23d66f1de fix path in pretrans scriptlet 2017-06-26 09:51:59 -04:00
Tom Callaway
f88e19764b moar chrome-remote-desktop fixes 2017-06-23 16:25:05 -04:00
Tom Callaway
5efd1e8143 use pretrans scriptlet to remove symlink on /etc/opt/chrome/native-messaging-hosts (it is now a directory) 2017-06-23 13:31:03 -04:00
Tom Callaway
4b6e8a7590 fix duplication between chrome-remote-desktop and chromium 2017-06-22 14:41:57 -04:00
Tom Callaway
d0bdacb9f6 fix path 2017-06-22 13:21:58 -04:00
Tom Callaway
6e0d3b5f40 59.0.3071.109 2017-06-22 13:20:23 -04:00
Tom Callaway
c68232bc2d actually fix mp3, update to .104 2017-06-16 16:43:48 -04:00
Tom Callaway
74ee2445da actually fix mp3 playback support 2017-06-16 15:40:59 -04:00
Tom Callaway
356c8fbd7a fix filtering 2017-06-13 13:26:45 -04:00
Tom Callaway
76f7bf9c08 fix hicolor file listing to be more inclusive 2017-06-12 17:21:11 -04:00
Tom Callaway
e1e1b5173a Merge branch 'master' into f24 2017-06-12 16:01:38 -04:00
Tom Callaway
bc41d94d89 pnacl/nacl now needs llvm to build the bootstrap lib 2017-06-12 16:00:29 -04:00
Tom Callaway
7fc3a99820 Merge branch 'master' into f24 2017-06-12 15:14:08 -04:00
Tom Callaway
a9d450abd7 fix condit 2017-06-12 15:12:45 -04:00
Tom Callaway
5180a1cefd 59.0.3071.86 2017-06-12 15:12:01 -04:00
Tom Callaway
eb56abdb2d Merge branch 'master' into f24 2017-05-16 10:41:06 -04:00
Tom Callaway
8d1afda45e strip provides/requires on libsensors 2017-05-16 10:40:14 -04:00
Tom Callaway
b5aa03dc2d Merge branch 'master' into f24 2017-05-16 08:44:34 -04:00
Tom Callaway
850545ed64 58.0.3029.110 2017-05-15 16:04:38 -04:00
Tom Callaway
94cfba9126 use new service file name in %files 2017-04-22 12:00:10 -07:00
Tom Callaway
f674d0a3de 58.0.3029.81 2017-04-22 09:28:33 -07:00
Tom Callaway
3739ffe4a2 Merge branch 'master' into f24 2017-03-30 14:21:58 -04:00
Tom Callaway
3b749ca7b4 57.0.2987.133 2017-03-30 14:11:23 -04:00
Tom Callaway
c18e243924 Fix issue in gtk_ui.cc 2017-03-28 11:44:47 -04:00
Tom Callaway
f381d74a6c move header to include path 2017-03-28 10:20:45 -04:00
Tom Callaway
3818e774a5 add compat stdatomic.h 2017-03-26 17:09:48 -04:00
Tom Callaway
acff0d62ae add compat stdatomic.h 2017-03-26 17:08:41 -04:00
Tom Callaway
c02163cf2b add compat stdatomic.h 2017-03-26 17:08:07 -04:00
Tom Callaway
fb09fb1573 Merge branch 'master' into f24 2017-03-26 11:17:19 -04:00
Tom Callaway
c7e1c43ab6 fix mp3 enablement 2017-03-26 11:15:12 -04:00
Tom Callaway
f46c327602 Merge branch 'master' into f24 2017-03-21 20:28:29 -04:00
Tom Callaway
2270aa0181 fix privlibs 2017-03-21 20:27:32 -04:00
Tom Callaway
66f8a0a8db Merge branch 'master' into f24 2017-03-21 20:14:36 -04:00
Tom Callaway
6d6dc4131f fix sources 2017-03-21 14:52:58 -04:00
Tom Callaway
74ea286241 57.0.2987.110 2017-03-21 11:23:01 -04:00
Tom Callaway
2923a188be more new sources 2017-03-08 14:36:59 -08:00
Tom Callaway
76c310daad more new sources 2017-03-08 14:20:38 -08:00
Tom Callaway
4f30f8df52 more new sources 2017-03-08 11:05:53 -08:00
Tom Callaway
f220743267 new source 2017-03-08 09:11:02 -08:00
Tom Callaway
62bb085041 fix sources 2017-03-05 14:07:32 -08:00
Tom Callaway
2a5a52f0fc enable mp3 support 2017-03-05 12:12:09 -08:00
Tom Callaway
182a3ddd77 fix desktop file to have new window and new private window actions 2017-03-04 14:13:27 -08:00
Tom Callaway
ce69059f1a more gcc7 2017-03-01 11:41:40 -05:00
Tom Callaway
54f615ebbd fix issue with gcc7 compile in v8 (thanks to Ben Noordhuis) 2017-02-28 16:04:18 -05:00
Tom Callaway
26fbfad209 versioning sync build on rawhide 2017-02-24 08:37:34 -05:00
Tom Callaway
2076c5a1aa fix issue with unique ptr move on return with old gcc 2017-02-24 07:55:05 -05:00
Tom Callaway
97d2e2be38 Merge branch 'master' into f24 2017-02-23 20:40:04 -05:00
Tom Callaway
f909a6c6a7 disable debuginfo. will not fix rawhide, but should fix everything else 2017-02-23 17:30:36 -05:00
Tom Callaway
ff8c5622fe use bundled jinja everywhere 2017-02-13 13:12:43 -05:00
Tom Callaway
86f726d9eb fix compilation issues 2017-02-13 12:42:02 -05:00
Tom Callaway
c24537e312 Merge branch 'master' into f24 2017-02-10 15:36:13 -05:00
Tom Callaway
407918e157 add BR: gtk3-devel 2017-02-10 15:35:23 -05:00
Tom Callaway
85686cc288 fix chronal corruption caused by TARDIS 2017-02-10 14:35:31 -05:00
Tom Callaway
cf4fe83d9a merge 2017-02-10 14:31:32 -05:00
Tom Callaway
72f2502c91 56.0.2924.87 2017-02-10 14:29:26 -05:00
Fedora Release Engineering
634b9db1bf - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild 2017-02-10 07:29:06 +00:00
Tom Callaway
53efa602ea update ffmpeg clean scripts, thanks to Tomas Popela 2017-02-03 03:52:09 -05:00
Tom Callaway
96c125f161 fix rvalue issue in remoting code 2016-12-14 11:22:24 -05:00
Tom Callaway
b4cff4b90b preserve jinja2 dir 2016-12-13 15:30:36 -05:00
Tom Callaway
ae406ea283 use bundled jinja2 on RHEL (or Fedora older than 23) 2016-12-13 15:18:50 -05:00
Tom Callaway
bfb9e2bdc4 Merge branch 'master' into f24 2016-12-13 14:38:03 -05:00
Tom Callaway
f81ff187ef 55.0.2883.87 2016-12-13 14:24:23 -05:00
Tom Callaway
0bdd4ee3c5 Merge branch 'master' into f24 2016-12-12 16:42:55 -05:00
Tom Callaway
71163f6286 55 changes 2016-12-12 16:42:21 -05:00
Tom Callaway
e05272a4af 54.0.2840.100 2016-12-02 14:22:16 -05:00
Tom Callaway
45c06de8ed Merge branch 'master' into f24 2016-11-04 13:33:57 -04:00
Tom Callaway
e456f1dcd2 fix el7 build, snapshot needs to be in if aura is 2016-11-04 13:32:06 -04:00
Tom Callaway
d63500b202 Merge branch 'master' into f24 2016-11-03 14:29:35 -04:00
Tom Callaway
c324e5831a fix build 2016-11-03 13:38:46 -04:00
Tom Callaway
840da84ee8 Merge branch 'master' into f24 2016-11-02 11:50:14 -04:00
Tom Callaway
95a4b60883 54.0.2840.90, debugging disabled 2016-11-02 11:47:44 -04:00
Tom Callaway
1b86e1c019 fixup master_preferences, disable debugging in build 2016-11-01 12:48:57 -04:00
Tom Callaway
65b9550d0b Merge branch 'master' into f24 2016-10-27 09:30:14 -04:00
Tom Callaway
cf9fdde186 54.0.2840.71 2016-10-26 15:18:53 -04:00
Tom Callaway
2ec748f126 fix deps 2016-10-26 10:18:24 -04:00
Tom Callaway
e40f047866 try limiting debug 2016-10-25 16:01:46 -04:00
Tom Callaway
25d98a0047 try different flags 2016-10-25 09:39:42 -04:00
Tom Callaway
27446e8938 try different flags 2016-10-25 09:22:27 -04:00
Tom Callaway
76530c5329 typo 2016-10-24 16:57:56 -04:00
Tom Callaway
94b2a9073c more haxs 2016-10-24 16:35:21 -04:00
Tom Callaway
be4198f7e1 try using gold to get i686 to build in koji 2016-10-24 09:57:45 -04:00
Tom Callaway
d4df8bc3c4 fix ldflags 2016-10-19 16:19:21 -04:00
Tom Callaway
15eb147239 fix memory issues with ld on i686 2016-10-19 16:00:21 -04:00
Tom Callaway
c88557480c fixup cups patch 2016-10-19 10:53:27 -04:00
Tom Callaway
bcb8929b27 conditionalize preservation of llvm-build dir for nacl 2016-10-19 09:46:37 -04:00
Tom Callaway
6665291318 54.0.2840.59 2016-10-19 09:23:05 -04:00
Tom Callaway
eb0653c21c Merge branch 'master' into f24 2016-09-30 14:05:15 -04:00
Tom Callaway
c496d29c67 53.0.2785.143 2016-09-30 14:04:31 -04:00
Tom Callaway
bbee19f8c5 Merge branch 'master' into f24 2016-09-20 12:51:46 -04:00
Tom Callaway
c50f789db5 53.0.2785.116 2016-09-20 12:50:35 -04:00
Tom Callaway
f0dc7228d2 Merge branch 'master' into f24 2016-09-14 10:22:24 -04:00
Tom Callaway
1413d68b9f 53.0.2785.113 2016-09-14 10:21:41 -04:00
Tom Callaway
77af42bcd4 Merge branch 'master' into f24 2016-09-09 09:10:19 -04:00
Tom Callaway
197955041f 53.0.2785.101 2016-09-09 09:09:13 -04:00
Tom Callaway
283dc97c82 Merge branch 'master' into f24 2016-09-07 15:16:16 -04:00
Tom Callaway
0df9641b97 53.0.2785.92 2016-09-07 15:13:21 -04:00
Tom Callaway
2fd8ecc863 use bundled harfbuzz on EL7 2016-08-29 13:07:46 -04:00
Tom Callaway
d0d4125df5 disable unavailable Requires on epel7 2016-08-18 15:47:59 -04:00
Tom Callaway
cd8e259fda Merge branch 'master' into f24 2016-08-18 09:42:49 -04:00
Tom Callaway
496fc08b11 disable gtk3 because it breaks lots of things 2016-08-18 09:37:04 -04:00
Tom Callaway
c5612ae49d Merge branch 'master' into f24 2016-08-16 15:31:51 -04:00
Tom Callaway
a05dc02e80 filter out private requires/provides 2016-08-16 15:30:37 -04:00
Tom Callaway
a27e11b799 Merge branch 'master' into f24 2016-08-16 09:20:52 -04:00
Tom Callaway
4644b6d7e7 fix path on semanage Requires(post) line 2016-08-16 09:19:02 -04:00
Tom Callaway
bdd1207e9b Merge branch 'master' into f24 2016-08-15 16:34:11 -04:00
Tom Callaway
5c56e25b58 add Requires(post) for selinux scriplet 2016-08-15 16:31:57 -04:00
Tom Callaway
65d2fdcbcc Merge branch 'master' into f24 2016-08-15 14:16:23 -04:00
Tom Callaway
ed9314722e fixup widevine handling, fix PepperFlash dir, add freeworld conditional for testing only, disable hidpi setting, unset MADV_FREE if set 2016-08-15 14:13:53 -04:00
Tom Callaway
084ba5491f Merge branch 'master' into f24 2016-08-08 13:38:46 -04:00
Tom Callaway
8a15fdfccc 52.0.2743.116 2016-08-08 13:37:48 -04:00
Richard Hughes
a5504ee4ce trivial: Fix up the <translation> tag in the AppData file 2016-08-08 16:54:47 +01:00
Richard Hughes
f96d8c8ea7 trivial: Fix up the <translation> tag in the AppData file 2016-08-08 16:53:23 +01:00
Tom Callaway
f5b63ce20f fix conditional to disable verbose logging output unless beta/dev 2016-07-28 12:56:55 -04:00
Tom Callaway
4839518160 remember to bump release 2016-07-28 10:09:31 -04:00
Tom Callaway
98f362e5e4 disable nacl/pnacl for Fedora 23 (and older) 2016-07-28 10:05:58 -04:00
Tom Callaway
fc6709f09b fix post scriptlet so that selinux stuff only happens when selinux is enabled 2016-07-28 09:48:15 -04:00
Richard Hughes
a7e232457a Add an AppData file so that Chromium appears in the software center 2016-07-28 10:55:57 +01:00
Tom Callaway
87abbbdaa3 enable nacl/pnacl (chromium-native_client has landed in Fedora), fix chromium-browser.sh to report Fedora build target properly 2016-07-27 20:49:34 -04:00
Tom Callaway
7fe5f2bbe9 compile with -fno-delete-null-pointer-checks (fixes v8 crashes, nacl/pnacl), prep for chromium-native_client enablement 2016-07-27 11:25:22 -04:00
Tom Callaway
4bca8d3763 actually fix compile against cups 2.2, add widevine compatibility support 2016-07-22 14:24:09 -04:00
Tom Callaway
098c7ea5bd try to fix cups22 again (hackishly) 2016-07-21 14:38:19 -04:00
Tom Callaway
67f9e82fd0 52.0.2743.82 2016-07-21 11:49:49 -04:00
Tom Callaway
c30bb16136 52.0.2743.82 2016-07-21 11:49:12 -04:00
Tom Callaway
f66ad85170 HONK HONK! TRUCK FULL OF RADIOACTIVE WASTE AND ZOMBIE BITS COMING THROUGH 2016-07-19 14:10:57 -04:00
112 changed files with 159781 additions and 0 deletions

45
.gitignore vendored
View file

@ -0,0 +1,45 @@
/chromium-52.0.2743.75-clean.tar.xz
/depot_tools.git-master.tar.gz
/policy_templates.zip
/chromium-*.tar.xz
/gelasio.zip
/MuktiNarrow-0.94.tar.bz2
/NotoSansCJKjp-hinted.zip
/lohit-gurmukhi-ttf-2.91.2.tar.gz
/Arimo-BoldItalic.ttf
/Arimo-Bold.ttf
/Arimo-Italic.ttf
/Arimo-Regular.ttf
/Cousine-BoldItalic.ttf
/Cousine-Bold.ttf
/Cousine-Italic.ttf
/Cousine-Regular.ttf
/Tinos-BoldItalic.ttf
/Tinos-Bold.ttf
/Tinos-Italic.ttf
/Tinos-Regular.ttf
/Ahem.ttf
/node-v8.9.1-linux-x64.tar.gz
/node-v10.15.3-linux-x64.tar.gz
/xcb-proto-1.14.tar.xz
/NotoSansSymbols2-Regular.ttf
/NotoSansTibetan-Regular.ttf
/node-v12.22.6-linux-arm64.tar.xz
/node-v12.22.6-linux-x64.tar.xz
/node-v16.17.0-linux-x64.tar.xz
/node-v16.17.0-linux-arm64.tar.xz
/testupload
/node-v19.8.1-linux-arm64.tar.xz
/node-v19.8.1-linux-x64.tar.xz
/node-v20.6.1-linux-arm64.tar.xz
/node-v20.6.1-linux-x64.tar.xz
/linux-arm64-0.19.2.tgz
/linux-x64-0.19.2.tgz
/v0.69.4.tar.gz
/bindgen-cli-aarch64.tar.xz
/bindgen-cli-x86_64.tar.xz
/linux-ppc64-0.19.2.tgz
/node-v22.14.0-linux-arm64.tar.xz
/node-v22.14.0-linux-ppc64le.tar.xz
/node-v22.14.0-linux-x64.tar.xz
/node-v22.14.0-stripped.tar.gz

File diff suppressed because it is too large Load diff

View file

@ -0,0 +1,57 @@
From 40309fb53e39477490fd6928ebe67c4fb78de380 Mon Sep 17 00:00:00 2001
From: Shawn Anastasio <shawnanastasio@gmail.com>
Date: Sun, 10 Mar 2019 21:01:37 -0500
Subject: [PATCH] Add ppc64 target to libaom
---
third_party/libaom/BUILD.gn | 12 ++++++++++++
third_party/libaom/cmake_update.sh | 3 +++
2 files changed, 15 insertions(+)
Index: chromium-144.0.7559.59/third_party/libaom/BUILD.gn
===================================================================
--- chromium-144.0.7559.59.orig/third_party/libaom/BUILD.gn
+++ chromium-144.0.7559.59/third_party/libaom/BUILD.gn
@@ -299,6 +299,18 @@ if (current_cpu == "arm64" || current_cp
}
}
+if (current_cpu == "ppc64") {
+ source_set("libaom_intrinsics_vsx") {
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ ":libaom_config" ]
+ sources = [
+ "//third_party/libaom/source/libaom/aom_ports/ppc_cpudetect.c",
+ ]
+ sources += aom_av1_common_intrin_vsx
+ }
+}
+
static_library("libaom") {
check_includes = false
if (!is_debug && is_win) {
@@ -368,6 +380,9 @@ static_library("libaom") {
# This is needed by all arm boards due to aom_arm_cpu_caps()
sources += [ "source/libaom/aom_ports/aarch32_cpudetect.c" ]
}
+ if (current_cpu == "ppc64") {
+ deps += [ ":libaom_intrinsics_vsx" ]
+ }
if (is_android) {
deps += [ "//third_party/cpu_features:ndk_compat" ]
}
Index: chromium-144.0.7559.59/third_party/libaom/cmake_update.sh
===================================================================
--- chromium-144.0.7559.59.orig/third_party/libaom/cmake_update.sh
+++ chromium-144.0.7559.59/third_party/libaom/cmake_update.sh
@@ -167,6 +167,9 @@ egrep \
"#define [A-Z0-9_]+[[:space:]]+[01]" "${CFG}/win/ia32/config/aom_config.h" \
| awk '{print "%define " $2 " " $3}' > "${CFG}/win/ia32/config/aom_config.asm"
+reset_dirs linux/ppc64
+gen_config_files linux/ppc64 "${toolchain}/ppc-linux-gcc.cmake ${all_platforms}"
+
# Copy linux configurations and modify for Windows.
reset_dirs win/x64
cp "${CFG}/linux/x64/config"/* "${CFG}/win/x64/config/"

File diff suppressed because it is too large Load diff

View file

@ -0,0 +1,13 @@
Index: chromium-144.0.7559.59/v8/gni/v8.gni
===================================================================
--- chromium-144.0.7559.59.orig/v8/gni/v8.gni
+++ chromium-144.0.7559.59/v8/gni/v8.gni
@@ -317,7 +317,7 @@ assert(
if (v8_enable_pointer_compression == "") {
v8_enable_pointer_compression =
v8_current_cpu == "arm64" || v8_current_cpu == "x64" ||
- v8_current_cpu == "loong64"
+ v8_current_cpu == "loong64" || v8_current_cpu == "ppc64"
}
# The Wasm interpreter is currently supported only on arm64 and x64, on

View file

@ -0,0 +1,30 @@
From ea104a841fca1ff4d5430915f1b7c52c6a642f13 Mon Sep 17 00:00:00 2001
From: Timothy Pearson <tpearson@raptorengineering.com>
Date: Fri, 21 Sep 2018 21:44:17 -0500
Subject: [PATCH] Force baseline POWER8 / AltiVec / VSX CPU features when on a
PPC64 platform in LE mode
---
BUILD.gn | 6 ++++++
1 file changed, 6 insertions(+)
Index: chromium-144.0.7559.59/v8/BUILD.gn
===================================================================
--- chromium-144.0.7559.59.orig/v8/BUILD.gn
+++ chromium-144.0.7559.59/v8/BUILD.gn
@@ -1596,7 +1596,14 @@ config("toolchain") {
if (v8_current_cpu == "ppc64") {
defines += [ "V8_TARGET_ARCH_PPC64" ]
cflags += [ "-ffp-contract=off" ]
- if (current_os == "aix") {
+ if (current_os == "linux") {
+ cflags += [
+ # Enable usage of AltiVec, VSX, and other POWER8 and higher features
+ "-mcpu=power8",
+ "-maltivec",
+ "-mvsx",
+ ]
+ } else if (current_os == "aix") {
cflags += [
# Work around AIX ceil, trunc and round oddities.
"-mcpu=power5+",

File diff suppressed because it is too large Load diff

View file

@ -0,0 +1,773 @@
From cda9400739dfa064907d822f00578bb51b24a404 Mon Sep 17 00:00:00 2001
From: Shawn Anastasio <shawnanastasio@yahoo.com>
Date: Fri, 17 Aug 2018 14:18:33 -0500
Subject: [PATCH] Implement support for ppc64 on Linux
This patch implements support for the ppc64 architecture on Linux systems.
Notable changes include:
* Modification of tests to support non-4K page sizes
* minidump_writer: Determine size of stack to capture based on page size
* dump_writer_common: Introduce member function GetVectorRegisters to
ThreadInfo on ppc64 systems. This allows Altivec/VMX registers to be
dumped like they are on OS X. linux_ptrace_dumper has been updated
to utilize this function along with the ptrace mode NT_PPC_VMX.
* processor/exploitability_unittest.cc: Tests were disabled on
non-x86 systems. They assume the system objdump is capable of
disassembling x86 binaries which is not the case on other
architectures.
To-do:
* tools/linux/md2core has been updated as well, but functionality
has not been confirmed and restoration of Altivec/VMX registers
has not been implemented
Note that proper functionality depends on updates to third_party/LSS
that introduce PPC64 support. An in-progress patch that allows
breakpad to build and run successfully is available at:
https://wiki.raptorcs.com/wiki/Porting/Chromium
---
.../dump_writer_common/raw_context_cpu.h | 2 +
.../linux/dump_writer_common/thread_info.cc | 56 ++++++++++++++++++-
.../linux/dump_writer_common/thread_info.h | 9 +++
.../dump_writer_common/ucontext_reader.cc | 42 ++++++++++++++
.../dump_writer_common/ucontext_reader.h | 3 +
src/client/linux/handler/exception_handler.cc | 22 +++++++-
src/client/linux/handler/exception_handler.h | 6 +-
.../handler/exception_handler_unittest.cc | 8 ++-
.../microdump_writer/microdump_writer.cc | 14 ++++-
.../microdump_writer_unittest.cc | 15 ++++-
.../minidump_writer/linux_core_dumper.cc | 8 ++-
.../linux/minidump_writer/linux_dumper.cc | 4 +-
.../linux/minidump_writer/linux_dumper.h | 3 +-
.../linux_dumper_unittest_helper.cc | 2 +
.../minidump_writer/linux_ptrace_dumper.cc | 19 +++++--
.../linux_ptrace_dumper_unittest.cc | 5 ++
.../linux/minidump_writer/minidump_writer.cc | 18 ++++--
.../linux/minidump_writer/minidump_writer.h | 2 +
.../minidump_writer_unittest.cc | 3 +
src/common/linux/memory_mapped_file.cc | 3 +-
.../linux/memory_mapped_file_unittest.cc | 7 ++-
src/common/memory_allocator_unittest.cc | 3 +-
src/processor/exploitability_linux.cc | 2 +
src/processor/exploitability_unittest.cc | 15 +++--
src/tools/linux/md2core/minidump-2-core.cc | 45 +++++++++++++++
25 files changed, 281 insertions(+), 35 deletions(-)
Index: chromium-144.0.7559.59/third_party/breakpad/breakpad/src/client/linux/dump_writer_common/raw_context_cpu.h
===================================================================
--- chromium-144.0.7559.59.orig/third_party/breakpad/breakpad/src/client/linux/dump_writer_common/raw_context_cpu.h
+++ chromium-144.0.7559.59/third_party/breakpad/breakpad/src/client/linux/dump_writer_common/raw_context_cpu.h
@@ -51,6 +51,8 @@ typedef MDRawContextRISCV64 RawContextCP
# else
# error "Unexpected __riscv_xlen"
# endif
+#elif defined(__powerpc64__)
+typedef MDRawContextPPC64 RawContextCPU;
#else
#error "This code has not been ported to your platform yet."
#endif
Index: chromium-144.0.7559.59/third_party/breakpad/breakpad/src/client/linux/dump_writer_common/thread_info.cc
===================================================================
--- chromium-144.0.7559.59.orig/third_party/breakpad/breakpad/src/client/linux/dump_writer_common/thread_info.cc
+++ chromium-144.0.7559.59/third_party/breakpad/breakpad/src/client/linux/dump_writer_common/thread_info.cc
@@ -336,7 +336,42 @@ void ThreadInfo::FillCPUContext(RawConte
#error "Unexpected __riscv_xlen"
#endif
}
-#endif // __riscv
+
+#elif defined(__powerpc64__)
+
+uintptr_t ThreadInfo::GetInstructionPointer() const {
+ return mcontext.gp_regs[PT_NIP];
+}
+
+void ThreadInfo::FillCPUContext(RawContextCPU* out) const {
+ out->context_flags = MD_CONTEXT_PPC64_FULL;
+ for (int i = 0; i < MD_CONTEXT_PPC64_GPR_COUNT; i++)
+ out->gpr[i] = mcontext.gp_regs[i];
+
+ out->lr = mcontext.gp_regs[PT_LNK];
+ out->srr0 = mcontext.gp_regs[PT_NIP];
+ out->srr1 = mcontext.gp_regs[PT_MSR];
+ out->cr = mcontext.gp_regs[PT_CCR];
+ out->xer = mcontext.gp_regs[PT_XER];
+ out->ctr = mcontext.gp_regs[PT_CTR];
+
+ for (int i = 0; i < MD_FLOATINGSAVEAREA_PPC_FPR_COUNT; i++)
+ out->float_save.fpregs[i] = mcontext.fp_regs[i];
+
+ out->float_save.fpscr = mcontext.fp_regs[NFPREG-1];
+
+ for (int i = 0; i < MD_VECTORSAVEAREA_PPC_VR_COUNT; i++)
+ out->vector_save.save_vr[i] = \
+ {(((uint64_t)vregs.vrregs[i][0]) << 32)
+ | vregs.vrregs[i][1],
+ (((uint64_t)vregs.vrregs[i][2]) << 32)
+ | vregs.vrregs[i][3]};
+
+ out->vrsave = vregs.vrsave;
+ out->vector_save.save_vscr = {0, vregs.vscr.vscr_word};
+ out->vector_save.save_vrvalid = 0xFFFFFFFF;
+}
+#endif // __powerpc64__
void ThreadInfo::GetGeneralPurposeRegisters(void** gp_regs, size_t* size) {
assert(gp_regs || size);
@@ -350,6 +385,11 @@ void ThreadInfo::GetGeneralPurposeRegist
*gp_regs = mcontext.__gregs;
if (size)
*size = sizeof(mcontext.__gregs);
+#elif defined(__powerpc64__)
+ if (gp_regs)
+ *gp_regs = mcontext.gp_regs;
+ if (size)
+ *size = sizeof(mcontext.gp_regs);
#else
if (gp_regs)
*gp_regs = &regs;
@@ -384,6 +424,11 @@ void ThreadInfo::GetFloatingPointRegiste
# else
# error "Unexpected __riscv_flen"
# endif
+#elif defined(__powerpc64__)
+ if (fp_regs)
+ *fp_regs = &mcontext.fp_regs;
+ if (size)
+ *size = sizeof(mcontext.fp_regs);
#else
if (fp_regs)
*fp_regs = &fpregs;
@@ -392,4 +437,13 @@ void ThreadInfo::GetFloatingPointRegiste
#endif
}
+#if defined(__powerpc64__)
+void ThreadInfo::GetVectorRegisters(void** v_regs, size_t* size) {
+ if (v_regs)
+ *v_regs = &vregs;
+ if (size)
+ *size = sizeof(vregs);
+}
+#endif
+
} // namespace google_breakpad
Index: chromium-144.0.7559.59/third_party/breakpad/breakpad/src/client/linux/dump_writer_common/thread_info.h
===================================================================
--- chromium-144.0.7559.59.orig/third_party/breakpad/breakpad/src/client/linux/dump_writer_common/thread_info.h
+++ chromium-144.0.7559.59/third_party/breakpad/breakpad/src/client/linux/dump_writer_common/thread_info.h
@@ -67,6 +67,10 @@ struct ThreadInfo {
// Use the structures defined in <sys/user.h>
struct user_regs_struct regs;
struct user_fpsimd_struct fpregs;
+#elif defined(__powerpc64__)
+ // Use the structures defined in <sys/ucontext.h>.
+ mcontext_t mcontext;
+ struct _libc_vrstate vregs;
#elif defined(__mips__) || defined(__riscv)
// Use the structure defined in <sys/ucontext.h>.
mcontext_t mcontext;
@@ -83,6 +87,11 @@ struct ThreadInfo {
// Returns the pointer and size of float point register area.
void GetFloatingPointRegisters(void** fp_regs, size_t* size);
+
+#if defined(__powerpc64__)
+ // Returns the pointer and size of the vector register area. (PPC64 only)
+ void GetVectorRegisters(void** v_regs, size_t* size);
+#endif
};
} // namespace google_breakpad
Index: chromium-144.0.7559.59/third_party/breakpad/breakpad/src/client/linux/dump_writer_common/ucontext_reader.cc
===================================================================
--- chromium-144.0.7559.59.orig/third_party/breakpad/breakpad/src/client/linux/dump_writer_common/ucontext_reader.cc
+++ chromium-144.0.7559.59/third_party/breakpad/breakpad/src/client/linux/dump_writer_common/ucontext_reader.cc
@@ -324,6 +324,48 @@ void UContextReader::FillCPUContext(RawC
#error "Unexpected __riscv_xlen"
#endif
}
+
+#elif defined(__powerpc64__)
+
+uintptr_t UContextReader::GetStackPointer(const ucontext_t* uc) {
+ return uc->uc_mcontext.gp_regs[MD_CONTEXT_PPC64_REG_SP];
+}
+
+uintptr_t UContextReader::GetInstructionPointer(const ucontext_t* uc) {
+ return uc->uc_mcontext.gp_regs[PT_NIP];
+}
+
+void UContextReader::FillCPUContext(RawContextCPU* out, const ucontext_t* uc,
+ const struct _libc_vrstate* vregs) {
+ out->context_flags = MD_CONTEXT_PPC64_FULL;
+
+ for (int i = 0; i < MD_CONTEXT_PPC64_GPR_COUNT; i++)
+ out->gpr[i] = uc->uc_mcontext.gp_regs[i];
+
+ out->lr = uc->uc_mcontext.gp_regs[PT_LNK];
+ out->srr0 = uc->uc_mcontext.gp_regs[PT_NIP];
+ out->srr1 = uc->uc_mcontext.gp_regs[PT_MSR];
+ out->cr = uc->uc_mcontext.gp_regs[PT_CCR];
+ out->xer = uc->uc_mcontext.gp_regs[PT_XER];
+ out->ctr = uc->uc_mcontext.gp_regs[PT_CTR];
+
+ for (int i = 0; i < MD_FLOATINGSAVEAREA_PPC_FPR_COUNT; i++)
+ out->float_save.fpregs[i] = uc->uc_mcontext.fp_regs[i];
+
+ out->float_save.fpscr = uc->uc_mcontext.fp_regs[NFPREG-1];
+
+ for (int i = 0; i < MD_VECTORSAVEAREA_PPC_VR_COUNT; i++)
+ out->vector_save.save_vr[i] =
+ {(((uint64_t)vregs->vrregs[i][0]) << 32)
+ | vregs->vrregs[i][1],
+ (((uint64_t)vregs->vrregs[i][2]) << 32)
+ | vregs->vrregs[i][3]};
+
+ out->vrsave = vregs->vrsave;
+ out->vector_save.save_vscr = {0, vregs->vscr.vscr_word};
+ out->vector_save.save_vrvalid = 0xFFFFFFFF;
+}
+
#endif
} // namespace google_breakpad
Index: chromium-144.0.7559.59/third_party/breakpad/breakpad/src/client/linux/dump_writer_common/ucontext_reader.h
===================================================================
--- chromium-144.0.7559.59.orig/third_party/breakpad/breakpad/src/client/linux/dump_writer_common/ucontext_reader.h
+++ chromium-144.0.7559.59/third_party/breakpad/breakpad/src/client/linux/dump_writer_common/ucontext_reader.h
@@ -54,6 +54,9 @@ struct UContextReader {
#elif defined(__aarch64__)
static void FillCPUContext(RawContextCPU* out, const ucontext_t* uc,
const struct fpsimd_context* fpregs);
+#elif defined(__powerpc64__)
+ static void FillCPUContext(RawContextCPU *out, const ucontext_t *uc,
+ const struct _libc_vrstate* vregs);
#else
static void FillCPUContext(RawContextCPU* out, const ucontext_t* uc);
#endif
Index: chromium-144.0.7559.59/third_party/breakpad/breakpad/src/client/linux/handler/exception_handler.cc
===================================================================
--- chromium-144.0.7559.59.orig/third_party/breakpad/breakpad/src/client/linux/handler/exception_handler.cc
+++ chromium-144.0.7559.59/third_party/breakpad/breakpad/src/client/linux/handler/exception_handler.cc
@@ -466,6 +466,13 @@ bool ExceptionHandler::HandleSignal(int
memcpy(&g_crash_context_.float_state, fp_ptr,
sizeof(g_crash_context_.float_state));
}
+#elif defined(__powerpc64__)
+ // On PPC64, we must copy VR state
+ ucontext_t* uc_ptr = (ucontext_t*)uc;
+ if (uc_ptr->uc_mcontext.v_regs) {
+ memcpy(&g_crash_context_.vector_state, uc_ptr->uc_mcontext.v_regs,
+ sizeof(g_crash_context_.vector_state));
+ }
#elif GOOGLE_BREAKPAD_CRASH_CONTEXT_HAS_FLOAT_STATE
ucontext_t* uc_ptr = (ucontext_t*)uc;
if (uc_ptr->uc_mcontext.fpregs) {
@@ -704,10 +711,18 @@ bool ExceptionHandler::WriteMinidump() {
}
#endif
-#if GOOGLE_BREAKPAD_CRASH_CONTEXT_HAS_FLOAT_STATE && !defined(__aarch64__)
+#if GOOGLE_BREAKPAD_CRASH_CONTEXT_HAS_FLOAT_STATE && !defined(__aarch64__) \
+ && !defined(__powerpc64__)
memcpy(&context.float_state, context.context.uc_mcontext.fpregs,
sizeof(context.float_state));
#endif
+
+#if defined(__powerpc64__)
+ // Vector registers must be copied on PPC64
+ memcpy(&context.vector_state, context.context.uc_mcontext.v_regs,
+ sizeof(context.vector_state));
+#endif
+
context.tid = sys_gettid();
// Add an exception stream to the minidump for better reporting.
@@ -728,6 +743,9 @@ bool ExceptionHandler::WriteMinidump() {
#elif defined(__mips__)
context.siginfo.si_addr =
reinterpret_cast<void*>(context.context.uc_mcontext.pc);
+#elif defined(__powerpc64__)
+ context.siginfo.si_addr =
+ reinterpret_cast<void*>(context.context.uc_mcontext.gp_regs[PT_NIP]);
#elif defined(__riscv)
context.siginfo.si_addr =
reinterpret_cast<void*>(context.context.uc_mcontext.__gregs[REG_PC]);
Index: chromium-144.0.7559.59/third_party/breakpad/breakpad/src/client/linux/handler/exception_handler.h
===================================================================
--- chromium-144.0.7559.59.orig/third_party/breakpad/breakpad/src/client/linux/handler/exception_handler.h
+++ chromium-144.0.7559.59/third_party/breakpad/breakpad/src/client/linux/handler/exception_handler.h
@@ -197,7 +197,11 @@ class ExceptionHandler {
siginfo_t siginfo;
pid_t tid; // the crashing thread.
ucontext_t context;
-#if GOOGLE_BREAKPAD_CRASH_CONTEXT_HAS_FLOAT_STATE
+#if defined(__powerpc64__)
+ // PPC64's FP state is a part of ucontext_t like MIPS but the vector
+ // state is not, so a struct is needed.
+ vstate_t vector_state;
+#elif GOOGLE_BREAKPAD_CRASH_CONTEXT_HAS_FLOAT_STATE
fpstate_t float_state;
#endif
};
Index: chromium-144.0.7559.59/third_party/breakpad/breakpad/src/client/linux/handler/exception_handler_unittest.cc
===================================================================
--- chromium-144.0.7559.59.orig/third_party/breakpad/breakpad/src/client/linux/handler/exception_handler_unittest.cc
+++ chromium-144.0.7559.59/third_party/breakpad/breakpad/src/client/linux/handler/exception_handler_unittest.cc
@@ -325,7 +325,7 @@ TEST(ExceptionHandlerTest, ParallelChild
ASSERT_EQ(SIGSEGV, WTERMSIG(status));
return;
} else {
- usleep(100000);
+ usleep(200000);
}
}
@@ -581,6 +581,8 @@ const unsigned char kIllegalInstruction[
#if defined(__mips__)
// mfc2 zero,Impl - usually illegal in userspace.
0x48, 0x00, 0x00, 0x48
+#elif defined(__powerpc64__)
+ 0x01, 0x01, 0x01, 0x01 // Crashes on a tested POWER9 cpu
#else
// This crashes with SIGILL on x86/x86-64/arm.
0xff, 0xff, 0xff, 0xff
@@ -776,10 +778,10 @@ TEST(ExceptionHandlerTest, InstructionPo
// These are defined here so the parent can use them to check the
// data from the minidump afterwards.
- // Use 4k here because the OS will hand out a single page even
+ // Use the page size here because the OS will hand out a single page even
// if a smaller size is requested, and this test wants to
// test the upper bound of the memory range.
- const uint32_t kMemorySize = 4096; // bytes
+ const uint32_t kMemorySize = getpagesize(); // bytes
const int kOffset = kMemorySize - sizeof(kIllegalInstruction);
const pid_t child = fork();
Index: chromium-144.0.7559.59/third_party/breakpad/breakpad/src/client/linux/microdump_writer/microdump_writer.cc
===================================================================
--- chromium-144.0.7559.59.orig/third_party/breakpad/breakpad/src/client/linux/microdump_writer/microdump_writer.cc
+++ chromium-144.0.7559.59/third_party/breakpad/breakpad/src/client/linux/microdump_writer/microdump_writer.cc
@@ -143,7 +143,9 @@ class MicrodumpWriter {
const MicrodumpExtraInfo& microdump_extra_info,
LinuxDumper* dumper)
: ucontext_(context ? &context->context : nullptr),
-#if GOOGLE_BREAKPAD_CRASH_CONTEXT_HAS_FLOAT_STATE
+#if defined(__powerpc64__)
+ vector_state_(context ? &context->vector_state : nullptr),
+#elif GOOGLE_BREAKPAD_CRASH_CONTEXT_HAS_FLOAT_STATE
float_state_(context ? &context->float_state : nullptr),
#endif
dumper_(dumper),
@@ -350,6 +352,8 @@ class MicrodumpWriter {
# else
# error "Unexpected __riscv_xlen"
# endif
+#elif defined(__powerpc64__)
+ const char kArch[] = "ppc64";
#else
# error "This code has not been ported to your platform yet"
#endif
@@ -422,7 +426,9 @@ class MicrodumpWriter {
void DumpCPUState() {
RawContextCPU cpu;
my_memset(&cpu, 0, sizeof(RawContextCPU));
-#if GOOGLE_BREAKPAD_CRASH_CONTEXT_HAS_FLOAT_STATE
+#if defined(__powerpc64__)
+ UContextReader::FillCPUContext(&cpu, ucontext_, vector_state_);
+#elif GOOGLE_BREAKPAD_CRASH_CONTEXT_HAS_FLOAT_STATE
UContextReader::FillCPUContext(&cpu, ucontext_, float_state_);
#else
UContextReader::FillCPUContext(&cpu, ucontext_);
@@ -618,7 +624,9 @@ class MicrodumpWriter {
void* Alloc(unsigned bytes) { return dumper_->allocator()->Alloc(bytes); }
const ucontext_t* const ucontext_;
-#if GOOGLE_BREAKPAD_CRASH_CONTEXT_HAS_FLOAT_STATE
+#if defined(__powerpc64__)
+ const google_breakpad::vstate_t* const vector_state_;
+#elif GOOGLE_BREAKPAD_CRASH_CONTEXT_HAS_FLOAT_STATE
const google_breakpad::fpstate_t* const float_state_;
#endif
LinuxDumper* dumper_;
Index: chromium-144.0.7559.59/third_party/breakpad/breakpad/src/client/linux/microdump_writer/microdump_writer_unittest.cc
===================================================================
--- chromium-144.0.7559.59.orig/third_party/breakpad/breakpad/src/client/linux/microdump_writer/microdump_writer_unittest.cc
+++ chromium-144.0.7559.59/third_party/breakpad/breakpad/src/client/linux/microdump_writer/microdump_writer_unittest.cc
@@ -281,10 +281,19 @@ TEST(MicrodumpWriterTest, BasicWithMappi
CrashAndGetMicrodump(mappings, MicrodumpExtraInfo(), &buf);
ASSERT_TRUE(ContainsMicrodump(buf));
+ int page_size = getpagesize();
#ifdef __LP64__
- ASSERT_NE(std::string::npos,
- buf.find("M 0000000000001000 000000000000002A 0000000000001000 "
- "33221100554477668899AABBCCDDEEFF0 libfoo.so"));
+ // This test is only available for the following page sizes
+ ASSERT_TRUE((page_size == 4096) || (page_size == 65536));
+ if (page_size == 4096) {
+ ASSERT_NE(std::string::npos,
+ buf.find("M 0000000000001000 000000000000002A 0000000000001000 "
+ "33221100554477668899AABBCCDDEEFF0 libfoo.so"));
+ } else {
+ ASSERT_NE(std::string::npos,
+ buf.find("M 0000000000010000 000000000000002A 0000000000010000 "
+ "33221100554477668899AABBCCDDEEFF0 libfoo.so"));
+ }
#else
ASSERT_NE(std::string::npos,
buf.find("M 00001000 0000002A 00001000 "
Index: chromium-144.0.7559.59/third_party/breakpad/breakpad/src/client/linux/minidump_writer/linux_core_dumper.cc
===================================================================
--- chromium-144.0.7559.59.orig/third_party/breakpad/breakpad/src/client/linux/minidump_writer/linux_core_dumper.cc
+++ chromium-144.0.7559.59/third_party/breakpad/breakpad/src/client/linux/minidump_writer/linux_core_dumper.cc
@@ -118,6 +118,9 @@ bool LinuxCoreDumper::GetThreadInfoByInd
#elif defined(__riscv)
stack_pointer = reinterpret_cast<uint8_t*>(
info->mcontext.__gregs[MD_CONTEXT_RISCV_REG_SP]);
+#elif defined(__powerpc64__)
+ stack_pointer =
+ reinterpret_cast<uint8_t*>(info->mcontext.gp_regs[MD_CONTEXT_PPC64_REG_SP]);
#else
# error "This code hasn't been ported to your platform yet."
#endif
@@ -213,7 +216,10 @@ bool LinuxCoreDumper::EnumerateThreads()
memset(&info, 0, sizeof(ThreadInfo));
info.tgid = status->pr_pgrp;
info.ppid = status->pr_ppid;
-#if defined(__mips__)
+#if defined(__powerpc64__)
+ for (int i = 0; i < 31; i++)
+ info.mcontext.gp_regs[i] = status->pr_reg[i];
+#elif defined(__mips__)
# if defined(__ANDROID__)
for (int i = EF_R0; i <= EF_R31; i++)
info.mcontext.gregs[i - EF_R0] = status->pr_reg[i];
Index: chromium-144.0.7559.59/third_party/breakpad/breakpad/src/client/linux/minidump_writer/linux_dumper.cc
===================================================================
--- chromium-144.0.7559.59.orig/third_party/breakpad/breakpad/src/client/linux/minidump_writer/linux_dumper.cc
+++ chromium-144.0.7559.59/third_party/breakpad/breakpad/src/client/linux/minidump_writer/linux_dumper.cc
@@ -789,7 +789,9 @@ bool LinuxDumper::GetStackInfo(const voi
reinterpret_cast<uint8_t*>(int_stack_pointer & ~(page_size - 1));
// The number of bytes of stack which we try to capture.
- static const ptrdiff_t kStackToCapture = 32 * 1024;
+ // This now depends on page_size to avoid missing data
+ // on systems with larger page sizes.
+ static const ptrdiff_t kStackToCapture = 8 * page_size;
const MappingInfo* mapping = FindMapping(stack_pointer);
if (!mapping)
Index: chromium-144.0.7559.59/third_party/breakpad/breakpad/src/client/linux/minidump_writer/linux_dumper.h
===================================================================
--- chromium-144.0.7559.59.orig/third_party/breakpad/breakpad/src/client/linux/minidump_writer/linux_dumper.h
+++ chromium-144.0.7559.59/third_party/breakpad/breakpad/src/client/linux/minidump_writer/linux_dumper.h
@@ -64,7 +64,8 @@ namespace google_breakpad {
typedef Elf32_auxv_t elf_aux_entry;
#elif defined(__x86_64) || defined(__aarch64__) || \
(defined(__mips__) && _MIPS_SIM != _ABIO32) || \
- (defined(__riscv) && __riscv_xlen == 64)
+ (defined(__riscv) && __riscv_xlen == 64) || \
+ defined(__powerpc64__)
typedef Elf64_auxv_t elf_aux_entry;
#endif
Index: chromium-144.0.7559.59/third_party/breakpad/breakpad/src/client/linux/minidump_writer/linux_dumper_unittest_helper.cc
===================================================================
--- chromium-144.0.7559.59.orig/third_party/breakpad/breakpad/src/client/linux/minidump_writer/linux_dumper_unittest_helper.cc
+++ chromium-144.0.7559.59/third_party/breakpad/breakpad/src/client/linux/minidump_writer/linux_dumper_unittest_helper.cc
@@ -57,6 +57,8 @@
#define TID_PTR_REGISTER "$1"
#elif defined(__riscv)
#define TID_PTR_REGISTER "x4"
+#elif defined(__powerpc64__)
+#define TID_PTR_REGISTER "r8"
#else
#error This test has not been ported to this platform.
#endif
Index: chromium-144.0.7559.59/third_party/breakpad/breakpad/src/client/linux/minidump_writer/linux_ptrace_dumper.cc
===================================================================
--- chromium-144.0.7559.59.orig/third_party/breakpad/breakpad/src/client/linux/minidump_writer/linux_ptrace_dumper.cc
+++ chromium-144.0.7559.59/third_party/breakpad/breakpad/src/client/linux/minidump_writer/linux_ptrace_dumper.cc
@@ -208,12 +208,12 @@ bool LinuxPtraceDumper::ReadRegisterSet(
#ifdef PTRACE_GETREGSET
struct iovec io;
info->GetGeneralPurposeRegisters(&io.iov_base, &io.iov_len);
- if (sys_ptrace(PTRACE_GETREGSET, tid, (void*)NT_PRSTATUS, (void*)&io) == -1) {
+ if (ptrace(PTRACE_GETREGSET, tid, (void*)NT_PRSTATUS, (void*)&io) == -1) {
return false;
}
info->GetFloatingPointRegisters(&io.iov_base, &io.iov_len);
- if (sys_ptrace(PTRACE_GETREGSET, tid, (void*)NT_FPREGSET, (void*)&io) == -1) {
+ if (ptrace(PTRACE_GETREGSET, tid, (void*)NT_FPREGSET, (void*)&io) == -1) {
// We are going to check if we can read VFP registers on ARM32.
// Currently breakpad does not support VFP registers to be a part of minidump,
// so this is only to confirm that we can actually read FP registers.
@@ -233,6 +233,15 @@ bool LinuxPtraceDumper::ReadRegisterSet(
}
#endif // defined(__arm__)
}
+
+#if defined(__powerpc64__)
+ // Grab the vector registers on PPC64 too
+ info->GetVectorRegisters(&io.iov_base, &io.iov_len);
+ if (ptrace(PTRACE_GETREGSET, tid, (void*)NT_PPC_VMX, (void*)&io) == -1) {
+ return false;
+ }
+#endif // defined(__powerpc64__)
+
return true;
#else
return false;
@@ -397,6 +406,9 @@ bool LinuxPtraceDumper::GetThreadInfoByI
#elif defined(__riscv)
stack_pointer = reinterpret_cast<uint8_t*>(
info->mcontext.__gregs[MD_CONTEXT_RISCV_REG_SP]);
+#elif defined(__powerpc64__)
+ stack_pointer =
+ reinterpret_cast<uint8_t*>(info->mcontext.gp_regs[MD_CONTEXT_PPC64_REG_SP]);
#else
# error "This code hasn't been ported to your platform yet."
#endif
Index: chromium-144.0.7559.59/third_party/breakpad/breakpad/src/client/linux/minidump_writer/linux_ptrace_dumper_unittest.cc
===================================================================
--- chromium-144.0.7559.59.orig/third_party/breakpad/breakpad/src/client/linux/minidump_writer/linux_ptrace_dumper_unittest.cc
+++ chromium-144.0.7559.59/third_party/breakpad/breakpad/src/client/linux/minidump_writer/linux_ptrace_dumper_unittest.cc
@@ -469,6 +469,9 @@ TEST(LinuxPtraceDumperTest, VerifyStackR
#elif defined(__riscv)
pid_t* process_tid_location =
reinterpret_cast<pid_t*>(one_thread.mcontext.__gregs[4]);
+#elif defined(__powerpc64__)
+ pid_t* process_tid_location =
+ reinterpret_cast<pid_t*>(one_thread.mcontext.gp_regs[8]);
#else
#error This test has not been ported to this platform.
#endif
@@ -568,6 +571,8 @@ TEST_F(LinuxPtraceDumperTest, SanitizeSt
uintptr_t heap_addr = thread_info.mcontext.gregs[1];
#elif defined(__riscv)
uintptr_t heap_addr = thread_info.mcontext.__gregs[4];
+#elif defined(__powerpc64__)
+ uintptr_t heap_addr = thread_info.mcontext.gp_regs[8];
#else
#error This test has not been ported to this platform.
#endif
Index: chromium-144.0.7559.59/third_party/breakpad/breakpad/src/client/linux/minidump_writer/minidump_writer.cc
===================================================================
--- chromium-144.0.7559.59.orig/third_party/breakpad/breakpad/src/client/linux/minidump_writer/minidump_writer.cc
+++ chromium-144.0.7559.59/third_party/breakpad/breakpad/src/client/linux/minidump_writer/minidump_writer.cc
@@ -145,7 +145,9 @@ class MinidumpWriter {
: fd_(minidump_fd),
path_(minidump_path),
ucontext_(context ? &context->context : nullptr),
-#if GOOGLE_BREAKPAD_CRASH_CONTEXT_HAS_FLOAT_STATE
+#if defined(__powerpc64__)
+ vector_state_(context ? &context->vector_state : nullptr),
+#elif GOOGLE_BREAKPAD_CRASH_CONTEXT_HAS_FLOAT_STATE
float_state_(context ? &context->float_state : nullptr),
#endif
dumper_(dumper),
@@ -477,7 +479,9 @@ class MinidumpWriter {
if (!cpu.Allocate())
return false;
my_memset(cpu.get(), 0, sizeof(RawContextCPU));
-#if GOOGLE_BREAKPAD_CRASH_CONTEXT_HAS_FLOAT_STATE
+#if defined(__powerpc64__)
+ UContextReader::FillCPUContext(cpu.get(), ucontext_, vector_state_);
+#elif GOOGLE_BREAKPAD_CRASH_CONTEXT_HAS_FLOAT_STATE
UContextReader::FillCPUContext(cpu.get(), ucontext_, float_state_);
#else
UContextReader::FillCPUContext(cpu.get(), ucontext_);
@@ -954,7 +958,7 @@ class MinidumpWriter {
dirent->location.rva = 0;
}
-#if defined(__i386__) || defined(__x86_64__) || defined(__mips__)
+#if defined(__i386__) || defined(__x86_64__) || defined(__mips__) || defined(__powerpc64__)
bool WriteCPUInformation(MDRawSystemInfo* sys_info) {
char vendor_id[sizeof(sys_info->cpu.x86_cpu_info.vendor_id) + 1] = {0};
static const char vendor_id_name[] = "vendor_id";
@@ -974,7 +978,9 @@ class MinidumpWriter {
// processor_architecture should always be set, do this first
sys_info->processor_architecture =
-#if defined(__mips__)
+#if defined(__powerpc64__)
+ MD_CPU_ARCHITECTURE_PPC64;
+#elif defined(__mips__)
# if _MIPS_SIM == _ABIO32
MD_CPU_ARCHITECTURE_MIPS;
# elif _MIPS_SIM == _ABI64
@@ -1441,7 +1447,9 @@ class MinidumpWriter {
const char* path_; // Path to the file where the minidum should be written.
const ucontext_t* const ucontext_; // also from the signal handler
-#if GOOGLE_BREAKPAD_CRASH_CONTEXT_HAS_FLOAT_STATE
+#if defined(__powerpc64__)
+ const google_breakpad::vstate_t* const vector_state_;
+#elif GOOGLE_BREAKPAD_CRASH_CONTEXT_HAS_FLOAT_STATE
const google_breakpad::fpstate_t* const float_state_; // ditto
#endif
LinuxDumper* dumper_;
Index: chromium-144.0.7559.59/third_party/breakpad/breakpad/src/client/linux/minidump_writer/minidump_writer.h
===================================================================
--- chromium-144.0.7559.59.orig/third_party/breakpad/breakpad/src/client/linux/minidump_writer/minidump_writer.h
+++ chromium-144.0.7559.59/third_party/breakpad/breakpad/src/client/linux/minidump_writer/minidump_writer.h
@@ -47,6 +47,8 @@ class ExceptionHandler;
#if defined(__aarch64__)
typedef struct fpsimd_context fpstate_t;
+#elif defined(__powerpc64__)
+typedef struct _libc_vrstate vstate_t;
#elif !defined(__ARM_EABI__) && !defined(__mips__)
typedef std::remove_pointer<fpregset_t>::type fpstate_t;
#endif
Index: chromium-144.0.7559.59/third_party/breakpad/breakpad/src/client/linux/minidump_writer/minidump_writer_unittest.cc
===================================================================
--- chromium-144.0.7559.59.orig/third_party/breakpad/breakpad/src/client/linux/minidump_writer/minidump_writer_unittest.cc
+++ chromium-144.0.7559.59/third_party/breakpad/breakpad/src/client/linux/minidump_writer/minidump_writer_unittest.cc
@@ -723,6 +723,9 @@ TEST(MinidumpWriterTest, InvalidStackPoi
#elif defined(__riscv)
context.context.uc_mcontext.__gregs[MD_CONTEXT_RISCV_REG_SP] =
invalid_stack_pointer;
+#elif defined(__powerpc64__)
+ context.context.uc_mcontext.gp_regs[MD_CONTEXT_PPC64_REG_SP] =
+ invalid_stack_pointer;
#else
# error "This code has not been ported to your platform yet."
#endif
Index: chromium-144.0.7559.59/third_party/breakpad/breakpad/src/common/linux/memory_mapped_file.cc
===================================================================
--- chromium-144.0.7559.59.orig/third_party/breakpad/breakpad/src/common/linux/memory_mapped_file.cc
+++ chromium-144.0.7559.59/third_party/breakpad/breakpad/src/common/linux/memory_mapped_file.cc
@@ -72,8 +72,7 @@ bool MemoryMappedFile::Map(const char* p
#if defined(__x86_64__) || defined(__aarch64__) || \
(defined(__mips__) && _MIPS_SIM == _ABI64) || \
- (defined(__riscv) && __riscv_xlen == 64)
-
+ (defined(__riscv) && __riscv_xlen == 64) || defined(__powerpc64__)
struct kernel_stat st;
if (sys_fstat(fd, &st) == -1 || st.st_size < 0) {
#else
Index: chromium-144.0.7559.59/third_party/breakpad/breakpad/src/common/linux/memory_mapped_file_unittest.cc
===================================================================
--- chromium-144.0.7559.59.orig/third_party/breakpad/breakpad/src/common/linux/memory_mapped_file_unittest.cc
+++ chromium-144.0.7559.59/third_party/breakpad/breakpad/src/common/linux/memory_mapped_file_unittest.cc
@@ -178,9 +178,10 @@ TEST_F(MemoryMappedFileTest, RemapAfterM
TEST_F(MemoryMappedFileTest, MapWithOffset) {
// Put more data in the test file this time. Offsets can only be
// done on page boundaries, so we need a two page file to test this.
- const int page_size = 4096;
- char data1[2 * page_size];
- size_t data1_size = sizeof(data1);
+ const int page_size = getpagesize();
+ char *data1 = static_cast<char*>(malloc(2 * page_size));
+ EXPECT_TRUE(data1 != NULL);
+ size_t data1_size = (2 * page_size);
for (size_t i = 0; i < data1_size; ++i) {
data1[i] = i & 0x7f;
}
Index: chromium-144.0.7559.59/third_party/breakpad/breakpad/src/common/memory_allocator_unittest.cc
===================================================================
--- chromium-144.0.7559.59.orig/third_party/breakpad/breakpad/src/common/memory_allocator_unittest.cc
+++ chromium-144.0.7559.59/third_party/breakpad/breakpad/src/common/memory_allocator_unittest.cc
@@ -64,8 +64,9 @@ TEST(PageAllocatorTest, LargeObject) {
EXPECT_EQ(0U, allocator.pages_allocated());
uint8_t* p = reinterpret_cast<uint8_t*>(allocator.Alloc(10000));
+ uint64_t expected_pages = 1 + ((10000 - 1) / getpagesize());
ASSERT_FALSE(p == nullptr);
- EXPECT_EQ(3U, allocator.pages_allocated());
+ EXPECT_EQ(expected_pages, allocator.pages_allocated());
for (unsigned i = 1; i < 10; ++i) {
uint8_t* p = reinterpret_cast<uint8_t*>(allocator.Alloc(i));
ASSERT_FALSE(p == nullptr);
Index: chromium-144.0.7559.59/third_party/breakpad/breakpad/src/tools/linux/md2core/minidump-2-core.cc
===================================================================
--- chromium-144.0.7559.59.orig/third_party/breakpad/breakpad/src/tools/linux/md2core/minidump-2-core.cc
+++ chromium-144.0.7559.59/third_party/breakpad/breakpad/src/tools/linux/md2core/minidump-2-core.cc
@@ -82,6 +82,8 @@
#define ELF_ARCH EM_AARCH64
#elif defined(__riscv)
#define ELF_ARCH EM_RISCV
+#elif defined(__powerpc64__)
+ #define ELF_ARCH EM_PPC64
#endif
#if defined(__arm__)
@@ -92,6 +94,8 @@ typedef user_regs user_regs_struct;
#elif defined (__mips__) || defined(__riscv)
// This file-local typedef simplifies the source code.
typedef gregset_t user_regs_struct;
+#elif defined(__powerpc64__)
+typedef struct pt_regs user_regs_struct;
#endif
using google_breakpad::MDTypeHelper;
@@ -325,6 +329,9 @@ struct CrashedProcess {
#if defined(__aarch64__)
user_fpsimd_struct fpregs;
#endif
+#if defined(__powerpc64__)
+ mcontext_t mcontext;
+#endif
uintptr_t stack_addr;
const uint8_t* stack;
size_t stack_length;
@@ -628,6 +635,38 @@ ParseThreadRegisters(CrashedProcess::Thr
#error "Unexpected __riscv_xlen"
#endif
}
+#elif defined(__powerpc64__)
+static void
+ParseThreadRegisters(CrashedProcess::Thread* thread,
+ const MinidumpMemoryRange& range) {
+ const MDRawContextPPC64* rawregs = range.GetData<MDRawContextPPC64>(0);
+
+ for (int i = 0; i < MD_CONTEXT_PPC64_GPR_COUNT; i++)
+ thread->mcontext.gp_regs[i] = rawregs->gpr[i];
+
+ thread->mcontext.gp_regs[PT_LNK] = rawregs->lr;
+ thread->mcontext.gp_regs[PT_NIP] = rawregs->srr0;
+ thread->mcontext.gp_regs[PT_MSR] = rawregs->srr1;
+ thread->mcontext.gp_regs[PT_CCR] = rawregs->cr;
+ thread->mcontext.gp_regs[PT_XER] = rawregs->xer;
+ thread->mcontext.gp_regs[PT_CTR] = rawregs->ctr;
+ thread->mcontext.v_regs->vrsave = rawregs->vrsave;
+
+ for (int i = 0; i < MD_FLOATINGSAVEAREA_PPC_FPR_COUNT; i++)
+ thread->mcontext.fp_regs[i] = rawregs->float_save.fpregs[i];
+
+ thread->mcontext.fp_regs[NFPREG-1] = rawregs->float_save.fpscr;
+
+ for (int i = 0; i < MD_VECTORSAVEAREA_PPC_VR_COUNT; i++) {
+ thread->mcontext.v_regs->vrregs[i][0] = rawregs->vector_save.save_vr[i].high >> 32;
+ thread->mcontext.v_regs->vrregs[i][1] = rawregs->vector_save.save_vr[i].high;
+ thread->mcontext.v_regs->vrregs[i][2] = rawregs->vector_save.save_vr[i].low >> 32;
+ thread->mcontext.v_regs->vrregs[i][3] = rawregs->vector_save.save_vr[i].low;
+ }
+
+ thread->mcontext.v_regs->vscr.vscr_word = rawregs->vector_save.save_vscr.low & 0xFFFFFFFF;
+}
+
#else
#error "This code has not been ported to your platform yet"
#endif
@@ -733,6 +772,12 @@ ParseSystemInfo(const Options& options,
# else
# error "Unexpected __riscv_xlen"
# endif
+#elif defined(__powerpc64__)
+ if (sysinfo->processor_architecture != MD_CPU_ARCHITECTURE_PPC64) {
+ fprintf(stderr,
+ "This version of minidump-2-core only supports PPC64.\n");
+ exit(1);
+ }
#else
#error "This code has not been ported to your platform yet"
#endif

View file

@ -0,0 +1,46 @@
From e93d9b5fdcd8e5744de629461c03a07de2252f8f Mon Sep 17 00:00:00 2001
From: Stephen Gallagher <sgallagh@redhat.com>
Date: Fri, 17 Apr 2020 12:59:44 +0200
Subject: [PATCH] Remove unused OpenSSL config
The build process will try to create these config files, even when
using the system OpenSSL and will thus fail since we strip this path
from the tarball.
Signed-off-by: Stephen Gallagher <sgallagh@redhat.com>
Signed-off-by: rpm-build <rpm-build>
---
node.gyp | 17 -----------------
1 file changed, 17 deletions(-)
diff --git a/node.gyp b/node.gyp
index 1147495..da6ea50 100644
--- a/node.gyp
+++ b/node.gyp
@@ -822,23 +822,6 @@
],
},
],
- }, {
- 'variables': {
- 'opensslconfig_internal': '<(obj_dir)/deps/openssl/openssl.cnf',
- 'opensslconfig': './deps/openssl/nodejs-openssl.cnf',
- },
- 'actions': [
- {
- 'action_name': 'reset_openssl_cnf',
- 'inputs': [ '<(opensslconfig)', ],
- 'outputs': [ '<(opensslconfig_internal)', ],
- 'action': [
- '<(python)', 'tools/copyfile.py',
- '<(opensslconfig)',
- '<(opensslconfig_internal)',
- ],
- },
- ],
}],
],
}, # node_core_target_name
--
2.47.0

View file

@ -0,0 +1,35 @@
Index: chromium-144.0.7559.59/third_party/xnnpack/generate_build_gn.py
===================================================================
--- chromium-144.0.7559.59.orig/third_party/xnnpack/generate_build_gn.py
+++ chromium-144.0.7559.59/third_party/xnnpack/generate_build_gn.py
@@ -239,7 +239,10 @@ _PLATFORMS = [
bazel_platform='//:linux_aarch64'),
_Platform(gn_cpu='riscv64',
bazel_cpu='riscv64',
- bazel_platform='//:linux_riscv64')
+ bazel_platform='//:linux_riscv64'),
+ _Platform(gn_cpu='ppc64',
+ bazel_cpu='ppc64le',
+ bazel_platform='//:linux_ppc64le')
]
Index: chromium-144.0.7559.59/third_party/xnnpack/bazelroot/BUILD
===================================================================
--- chromium-144.0.7559.59.orig/third_party/xnnpack/bazelroot/BUILD
+++ chromium-144.0.7559.59/third_party/xnnpack/bazelroot/BUILD
@@ -29,6 +29,14 @@ platform(
],
)
+platform(
+ name = "linux_ppc64le",
+ constraint_values = [
+ "@platforms//os:linux",
+ "@platforms//cpu:ppc64le",
+ ],
+)
+
# A dummy clang toolchain for building them for any arch.
filegroup(name = "empty")

File diff suppressed because it is too large Load diff

View file

@ -0,0 +1,20 @@
Description: fix swiftshader build issue on ppc64el
Origin: vendor, https://gitlab.raptorengineering.com/raptor-engineering-public/chromium/openpower-patches/-/blob/chromium-131/patches/ppc64le/third_party/0001-swiftshader-fix-build.patch
Bug: https://buildd.debian.org/status/fetch.php?pkg=chromium&arch=ppc64el&ver=131.0.6778.204-1&stamp=1734633529&raw=0
Last-Update: 2024-12-20
---
This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
Index: chromium-144.0.7559.59/third_party/swiftshader/third_party/llvm-16.0/BUILD.gn
===================================================================
--- chromium-144.0.7559.59.orig/third_party/swiftshader/third_party/llvm-16.0/BUILD.gn
+++ chromium-144.0.7559.59/third_party/swiftshader/third_party/llvm-16.0/BUILD.gn
@@ -1599,6 +1599,9 @@ swiftshader_llvm_source_set("swiftshader
"llvm/lib/Target/PowerPC/PPCVSXFMAMutate.cpp",
"llvm/lib/Target/PowerPC/PPCVSXSwapRemoval.cpp",
"llvm/lib/Target/PowerPC/TargetInfo/PowerPCTargetInfo.cpp",
+ "llvm/lib/MC/MCXCOFFObjectTargetWriter.cpp",
+ "llvm/lib/MC/MCAsmInfoXCOFF.cpp",
+ "llvm/lib/MC/MCInstrInfo.cpp",
]
}

View file

@ -0,0 +1,12 @@
Index: chromium-144.0.7559.59/third_party/angle/src/libANGLE/Constants.h
===================================================================
--- chromium-144.0.7559.59.orig/third_party/angle/src/libANGLE/Constants.h
+++ chromium-144.0.7559.59/third_party/angle/src/libANGLE/Constants.h
@@ -9,6 +9,7 @@
#ifndef LIBANGLE_CONSTANTS_H_
#define LIBANGLE_CONSTANTS_H_
+#include <cstddef>
#include "common/platform.h"
#include <stddef.h>

View file

@ -0,0 +1,23 @@
From cc613c2e3bac8d4d1ff153700b819f964435923a Mon Sep 17 00:00:00 2001
From: Shawn Anastasio <shawnanastasio@yahoo.com>
Date: Tue, 4 Sep 2018 18:16:07 -0500
Subject: [PATCH] third_party/libvpx: Properly generate gni on ppc64
---
third_party/libvpx/BUILD.gn | 2 ++
third_party/libvpx/generate_gni.sh | 10 ++++++++++
2 files changed, 12 insertions(+)
Index: chromium-144.0.7559.59/third_party/libvpx/BUILD.gn
===================================================================
--- chromium-144.0.7559.59.orig/third_party/libvpx/BUILD.gn
+++ chromium-144.0.7559.59/third_party/libvpx/BUILD.gn
@@ -297,6 +297,8 @@ if (current_cpu == "x86" || (current_cpu
} else if (current_cpu == "x64") {
deps = [ ":libvpx_x86_64_headers" ]
sources = libvpx_srcs_x86_64_avx512
+ } else if (current_cpu == "ppc64") {
+ sources = libvpx_srcs_ppc64
}
}
}

View file

@ -0,0 +1,22 @@
From 63e63a70766f3059ce5f1d06a95988ecf909b298 Mon Sep 17 00:00:00 2001
From: Shawn Anastasio <shawn@anastas.io>
Date: Wed, 24 Apr 2019 21:17:23 -0500
Subject: [PATCH] third_party/pffft: Include altivec.h on ppc64 with SIMD
enabled
---
third_party/pffft/src/pffft.c | 1 +
1 file changed, 1 insertion(+)
Index: chromium-144.0.7559.59/third_party/pffft/src/pffft.c
===================================================================
--- chromium-144.0.7559.59.orig/third_party/pffft/src/pffft.c
+++ chromium-144.0.7559.59/third_party/pffft/src/pffft.c
@@ -100,6 +100,7 @@
Altivec support macros
*/
#if !defined(PFFFT_SIMD_DISABLE) && (defined(__ppc__) || defined(__ppc64__))
+#include <altivec.h>
typedef vector float v4sf;
# define SIMD_SZ 4
# define VZERO() ((vector float) vec_splat_u8(0))

File diff suppressed because it is too large Load diff

View file

@ -0,0 +1,18 @@
Index: chromium-144.0.7559.59/v8/src/base/immediate-crash.h
===================================================================
--- chromium-144.0.7559.59.orig/v8/src/base/immediate-crash.h
+++ chromium-144.0.7559.59/v8/src/base/immediate-crash.h
@@ -98,6 +98,13 @@
#define TRAP_SEQUENCE1_() asm volatile(".2byte 0x0001");
#define TRAP_SEQUENCE2_() asm volatile("")
+#elif V8_HOST_ARCH_PPC64
+
+#define TRAP_SEQUENCE1_() asm volatile("trap")
+// Intentionally empty: __builtin_unreachable() is always part of the sequence
+// (see IMMEDIATE_CRASH below)
+#define TRAP_SEQUENCE2_() asm volatile("")
+
#else
// Crash report accuracy will not be guaranteed on other architectures, but at

View file

@ -0,0 +1,36 @@
# crypto: fix missing OPENSSL_NO_ENGINE guard
# PR-URL: https://github.com/nodejs/node/pull/57012
# Reviewed-By: Richard Lau <rlau@redhat.com>
# Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>
# Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
# Reviewed-By: James M Snell <jasnell@gmail.com>
diff --git a/src/crypto/crypto_context.cc b/src/crypto/crypto_context.cc
index abcdef1..2345678 100644
--- a/src/crypto/crypto_context.cc
+++ b/src/crypto/crypto_context.cc
@@ -34,7 +34,9 @@ using ncrypto::BIOPointer;
using ncrypto::ClearErrorOnReturn;
using ncrypto::CryptoErrorList;
using ncrypto::DHPointer;
+#ifndef OPENSSL_NO_ENGINE
using ncrypto::EnginePointer;
+#endif // !OPENSSL_NO_ENGINE
using ncrypto::EVPKeyPointer;
using ncrypto::MarkPopErrorOnReturn;
using ncrypto::SSLPointer;
diff --git a/src/crypto/crypto_util.cc b/src/crypto/crypto_util.cc
index 1234567..abcdef0 100644
--- a/src/crypto/crypto_util.cc
+++ b/src/crypto/crypto_util.cc
@@ -30,7 +30,9 @@
using ncrypto::BIOPointer;
using ncrypto::CryptoErrorList;
+#ifndef OPENSSL_NO_ENGINE
using ncrypto::EnginePointer;
+#endif // !OPENSSL_NO_ENGINE
using ncrypto::EVPKeyCtxPointer;
using v8::ArrayBuffer;
using v8::BackingStore;
using v8::BigInt;

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

View file

@ -0,0 +1,148 @@
Index: chromium-144.0.7559.59/third_party/lss/linux_syscall_support.h
===================================================================
--- chromium-144.0.7559.59.orig/third_party/lss/linux_syscall_support.h
+++ chromium-144.0.7559.59/third_party/lss/linux_syscall_support.h
@@ -86,7 +86,7 @@
* Porting to other related platforms should not be difficult.
*/
#if (defined(__i386__) || defined(__x86_64__) || defined(__ARM_ARCH_3__) || \
- defined(__mips__) || defined(__PPC__) || defined(__ARM_EABI__) || \
+ defined(__mips__) || defined(__PPC__) || defined(__powerpc64__) || defined(__ARM_EABI__) || \
defined(__aarch64__) || defined(__s390__) || defined(__e2k__) || \
(defined(__riscv) && __riscv_xlen == 64) || defined(__loongarch_lp64)) \
&& (defined(__linux) || defined(__ANDROID__))
@@ -400,7 +400,7 @@ struct kernel_stat64 {
unsigned __pad2;
unsigned long long st_blocks;
};
-#elif defined __PPC__
+#elif defined __PPC__ && !defined(__powerpc64__)
struct kernel_stat64 {
unsigned long long st_dev;
unsigned long long st_ino;
@@ -422,6 +422,28 @@ struct kernel_stat64 {
unsigned long __unused4;
unsigned long __unused5;
};
+#elif defined(__powerpc64__)
+struct kernel_stat64 {
+ unsigned long int st_dev;
+ unsigned long int st_ino;
+ unsigned int st_mode;
+ unsigned long int st_nlink;
+ unsigned int st_uid;
+ unsigned int st_gid;
+ unsigned long int st_rdev;
+ unsigned short int __pad2;
+ long int st_size;
+ long int st_blksize;
+ long int st_blocks;
+ long int st_atime_;
+ unsigned long int st_atime_nsec_;
+ long int st_mtime_;
+ unsigned long int st_mtime_nsec_;
+ long int st_ctime_;
+ unsigned long int st_ctime_nsec_;
+ unsigned long int __unused4;
+ unsigned long int __unused5;
+};
#elif defined(__e2k__)
struct kernel_stat64 {
unsigned long long st_dev;
@@ -538,7 +560,7 @@ struct kernel_stat {
uint64_t st_ctime_nsec_;
int64_t __unused4[3];
};
-#elif defined(__PPC__)
+#elif defined(__PPC__) && !defined(__powerpc64__)
typedef unsigned long kernel_blkcnt_t;
typedef unsigned long kernel_blksize_t;
typedef unsigned kernel_dev_t;
@@ -569,6 +591,37 @@ struct kernel_stat {
unsigned long __unused4;
unsigned long __unused5;
};
+#elif defined(__powerpc64__)
+typedef long int kernel_blkcnt_t;
+typedef long int kernel_blksize_t;
+typedef unsigned long int kernel_dev_t;
+typedef unsigned int kernel_gid_t;
+typedef unsigned long int kernel_ino_t;
+typedef unsigned int kernel_mode_t;
+typedef unsigned long int kernel_nlink_t;
+typedef long int kernel_off_t;
+typedef long int kernel_time_t;
+typedef unsigned int kernel_uid_t;
+struct kernel_stat {
+ kernel_dev_t st_dev;
+ kernel_ino_t st_ino;
+ kernel_mode_t st_mode;
+ kernel_nlink_t st_nlink;
+ kernel_uid_t st_uid;
+ kernel_gid_t st_gid;
+ kernel_dev_t st_rdev;
+ kernel_off_t st_size;
+ kernel_blksize_t st_blksize;
+ kernel_blkcnt_t st_blocks;
+ kernel_time_t st_atime_;
+ unsigned long int st_atime_nsec_;
+ kernel_time_t st_mtime_;
+ unsigned long int st_mtime_nsec_;
+ kernel_time_t st_ctime_;
+ unsigned long int st_ctime_nsec_;
+ unsigned long int __unused4;
+ unsigned long int __unused5;
+};
#elif (defined(__mips__) && _MIPS_SIM != _MIPS_SIM_ABI64)
typedef int kernel_blkcnt_t;
typedef int kernel_blksize_t;
@@ -1825,6 +1878,28 @@ struct kernel_statx {
#ifndef __NR_getcpu
#define __NR_getcpu 302
#endif
+
+/* Linux commit 86250b9d12caa1a3dee12a7cf638b7dd70eaadb6 (2010) adds
+ * direct socket system calls to PPC */
+#ifndef __NR_socket
+#define __NR_socket 326
+#endif
+#ifndef __NR_socketpair
+#define __NR_socketpair 333
+#endif
+#ifndef __NR_sendto
+#define __NR_sendto 335
+#endif
+#ifndef __NR_shutdown
+#define __NR_shutdown 338
+#endif
+#ifndef __NR_sendmsg
+#define __NR_sendmsg 341
+#endif
+#ifndef __NR_recvmsg
+#define __NR_recvmsg 342
+#endif
+
/* End of powerpc definitions */
#elif defined(__s390__)
#ifndef __NR_quotactl
@@ -4826,7 +4901,7 @@ struct kernel_statx {
LSS_INLINE _syscall6(void*, mmap, void*, addr, size_t, length, int, prot,
int, flags, int, fd, int64_t, offset)
#endif
- #if defined(__PPC__)
+ #if defined(__PPC__) && !defined(__powerpc64__)
#undef LSS_SC_LOADARGS_0
#define LSS_SC_LOADARGS_0(dummy...)
#undef LSS_SC_LOADARGS_1
@@ -5216,7 +5291,11 @@ struct kernel_statx {
#endif
#if !defined(__NR_pipe)
+#if defined(__powerpc64__)
+ LSS_INLINE pid_t LSS_NAME(pipe)(int *pipefd) {
+#else
LSS_INLINE int LSS_NAME(pipe)(int *pipefd) {
+#endif
return LSS_NAME(pipe2)(pipefd, 0);
}
#endif

File diff suppressed because it is too large Load diff

View file

@ -0,0 +1,17 @@
Index: chromium-144.0.7559.59/third_party/crashpad/crashpad/util/net/http_transport_libcurl.cc
===================================================================
--- chromium-144.0.7559.59.orig/third_party/crashpad/crashpad/util/net/http_transport_libcurl.cc
+++ chromium-144.0.7559.59/third_party/crashpad/crashpad/util/net/http_transport_libcurl.cc
@@ -239,6 +239,12 @@ std::string UserAgent() {
#endif
#elif defined (ARCH_CPU_RISCV64)
static constexpr char arch[] = "riscv64";
+#elif defined(__powerpc64__)
+#if defined(ARCH_CPU_LITTLE_ENDIAN)
+ static constexpr char arch[] = "ppc64";
+#elif defined(ARCH_CPU_BIG_ENDIAN)
+ static constexpr char arch[] = "ppc64_be";
+#endif
#else
#error Port
#endif

View file

@ -0,0 +1,376 @@
Index: chromium-144.0.7559.59/third_party/libvpx/source/libvpx/vp9/encoder/ppc/vp9_quantize_vsx.c
===================================================================
--- chromium-144.0.7559.59.orig/third_party/libvpx/source/libvpx/vp9/encoder/ppc/vp9_quantize_vsx.c
+++ chromium-144.0.7559.59/third_party/libvpx/source/libvpx/vp9/encoder/ppc/vp9_quantize_vsx.c
@@ -38,6 +38,28 @@ static INLINE int16x8_t vec_max_across(i
return vec_max(a, vec_perm(a, a, vec_perm16));
}
+static INLINE void
+vec_u64_store(vector unsigned long long vecu64, unsigned long offset, void *ptr)
+{
+#ifndef WORDS_BIGENDIAN
+ __asm__ ("xxswapd %x0, %x1"
+ : "=wa" (vecu64)
+ : "wa" (vecu64));
+#endif
+#if __GNUC__ >= 4
+ if (__builtin_constant_p (offset) && offset == 0)
+ __asm__ ("stxvd2x %x0,0,%1\n\t"
+ :
+ : "wa" (vecu64), "r" ((uintptr_t)ptr)
+ : "memory");
+ else
+#endif
+ __asm__ ("stxvd2x %x0,%1,%2\n\t"
+ :
+ : "wa" (vecu64), "r" (offset), "r" ((uintptr_t)ptr)
+ : "memory", "r0");
+}
+
void vp9_quantize_fp_vsx(const tran_low_t *coeff_ptr, intptr_t n_coeffs,
const int16_t *round_ptr, const int16_t *quant_ptr,
tran_low_t *qcoeff_ptr, tran_low_t *dqcoeff_ptr,
@@ -60,10 +82,10 @@ void vp9_quantize_fp_vsx(const tran_low_
qcoeff0 = vec_mulhi(vec_vaddshs(vec_abs(coeff0), round), quant);
zero_coeff0 = vec_cmpeq(qcoeff0, vec_zeros_s16);
qcoeff0 = vec_sign(qcoeff0, coeff0);
- vec_vsx_st(qcoeff0, 0, qcoeff_ptr);
+ vec_u64_store(qcoeff0, 0, qcoeff_ptr);
dqcoeff0 = vec_mladd(qcoeff0, dequant, vec_zeros_s16);
- vec_vsx_st(dqcoeff0, 0, dqcoeff_ptr);
+ vec_u64_store(dqcoeff0, 0, dqcoeff_ptr);
// Remove DC value from round and quant
round = vec_splat(round, 1);
@@ -76,10 +98,10 @@ void vp9_quantize_fp_vsx(const tran_low_
qcoeff1 = vec_mulhi(vec_vaddshs(vec_abs(coeff1), round), quant);
zero_coeff1 = vec_cmpeq(qcoeff1, vec_zeros_s16);
qcoeff1 = vec_sign(qcoeff1, coeff1);
- vec_vsx_st(qcoeff1, 16, qcoeff_ptr);
+ vec_u64_store(qcoeff1, 16, qcoeff_ptr);
dqcoeff1 = vec_mladd(qcoeff1, dequant, vec_zeros_s16);
- vec_vsx_st(dqcoeff1, 16, dqcoeff_ptr);
+ vec_u64_store(dqcoeff1, 16, dqcoeff_ptr);
eob = vec_max(vec_or(scan0, zero_coeff0), vec_or(scan1, zero_coeff1));
@@ -107,23 +129,23 @@ void vp9_quantize_fp_vsx(const tran_low_
qcoeff0 = vec_mulhi(vec_vaddshs(vec_abs(coeff0), round), quant);
zero_coeff0 = vec_cmpeq(qcoeff0, vec_zeros_s16);
qcoeff0 = vec_sign(qcoeff0, coeff0);
- vec_vsx_st(qcoeff0, off0, qcoeff_ptr);
+ vec_u64_store(qcoeff0, off0, qcoeff_ptr);
dqcoeff0 = vec_mladd(qcoeff0, dequant, vec_zeros_s16);
- vec_vsx_st(dqcoeff0, off0, dqcoeff_ptr);
+ vec_u64_store(dqcoeff0, off0, dqcoeff_ptr);
qcoeff1 = vec_mulhi(vec_vaddshs(vec_abs(coeff1), round), quant);
zero_coeff1 = vec_cmpeq(qcoeff1, vec_zeros_s16);
qcoeff1 = vec_sign(qcoeff1, coeff1);
- vec_vsx_st(qcoeff1, off1, qcoeff_ptr);
+ vec_u64_store(qcoeff1, off1, qcoeff_ptr);
dqcoeff1 = vec_mladd(qcoeff1, dequant, vec_zeros_s16);
- vec_vsx_st(dqcoeff1, off1, dqcoeff_ptr);
+ vec_u64_store(dqcoeff1, off1, dqcoeff_ptr);
qcoeff2 = vec_mulhi(vec_vaddshs(vec_abs(coeff2), round), quant);
zero_coeff2 = vec_cmpeq(qcoeff2, vec_zeros_s16);
qcoeff2 = vec_sign(qcoeff2, coeff2);
- vec_vsx_st(qcoeff2, off2, qcoeff_ptr);
+ vec_u64_store(qcoeff2, off2, qcoeff_ptr);
dqcoeff2 = vec_mladd(qcoeff2, dequant, vec_zeros_s16);
- vec_vsx_st(dqcoeff2, off2, dqcoeff_ptr);
+ vec_u64_store(dqcoeff2, off2, dqcoeff_ptr);
eob = vec_max(eob, vec_or(scan0, zero_coeff0));
eob2 = vec_max(vec_or(scan1, zero_coeff1), vec_or(scan2, zero_coeff2));
@@ -200,10 +222,10 @@ void vp9_quantize_fp_32x32_vsx(const tra
qcoeff0 = vec_and(qcoeff0, mask0);
zero_coeff0 = vec_cmpeq(qcoeff0, vec_zeros_s16);
qcoeff0 = vec_sign(qcoeff0, coeff0);
- vec_vsx_st(qcoeff0, 0, qcoeff_ptr);
+ vec_u64_store(qcoeff0, 0, qcoeff_ptr);
dqcoeff0 = dequantize_coeff_32(qcoeff0, dequant);
- vec_vsx_st(dqcoeff0, 0, dqcoeff_ptr);
+ vec_u64_store(dqcoeff0, 0, dqcoeff_ptr);
// Remove DC value from thres, round, quant and dequant
thres = vec_splat(thres, 1);
@@ -219,10 +241,10 @@ void vp9_quantize_fp_32x32_vsx(const tra
qcoeff1 = vec_and(qcoeff1, mask1);
zero_coeff1 = vec_cmpeq(qcoeff1, vec_zeros_s16);
qcoeff1 = vec_sign(qcoeff1, coeff1);
- vec_vsx_st(qcoeff1, 16, qcoeff_ptr);
+ vec_u64_store(qcoeff1, 16, qcoeff_ptr);
dqcoeff1 = dequantize_coeff_32(qcoeff1, dequant);
- vec_vsx_st(dqcoeff1, 16, dqcoeff_ptr);
+ vec_u64_store(dqcoeff1, 16, dqcoeff_ptr);
eob = vec_max(vec_or(scan0, zero_coeff0), vec_or(scan1, zero_coeff1));
@@ -260,17 +282,17 @@ void vp9_quantize_fp_32x32_vsx(const tra
qcoeff1 = vec_sign(qcoeff1, coeff1);
qcoeff2 = vec_sign(qcoeff2, coeff2);
- vec_vsx_st(qcoeff0, off0, qcoeff_ptr);
- vec_vsx_st(qcoeff1, off1, qcoeff_ptr);
- vec_vsx_st(qcoeff2, off2, qcoeff_ptr);
+ vec_u64_store(qcoeff0, off0, qcoeff_ptr);
+ vec_u64_store(qcoeff1, off1, qcoeff_ptr);
+ vec_u64_store(qcoeff2, off2, qcoeff_ptr);
dqcoeff0 = dequantize_coeff_32(qcoeff0, dequant);
dqcoeff1 = dequantize_coeff_32(qcoeff1, dequant);
dqcoeff2 = dequantize_coeff_32(qcoeff2, dequant);
- vec_vsx_st(dqcoeff0, off0, dqcoeff_ptr);
- vec_vsx_st(dqcoeff1, off1, dqcoeff_ptr);
- vec_vsx_st(dqcoeff2, off2, dqcoeff_ptr);
+ vec_u64_store(dqcoeff0, off0, dqcoeff_ptr);
+ vec_u64_store(dqcoeff1, off1, dqcoeff_ptr);
+ vec_u64_store(dqcoeff2, off2, dqcoeff_ptr);
eob = vec_max(eob, vec_or(scan0, zero_coeff0));
eob2 = vec_max(vec_or(scan1, zero_coeff1), vec_or(scan2, zero_coeff2));
Index: chromium-144.0.7559.59/third_party/libvpx/source/libvpx/vpx_dsp/ppc/fdct32x32_vsx.c
===================================================================
--- chromium-144.0.7559.59.orig/third_party/libvpx/source/libvpx/vpx_dsp/ppc/fdct32x32_vsx.c
+++ chromium-144.0.7559.59/third_party/libvpx/source/libvpx/vpx_dsp/ppc/fdct32x32_vsx.c
@@ -15,6 +15,28 @@
#include "vpx_dsp/ppc/txfm_common_vsx.h"
#include "vpx_dsp/ppc/types_vsx.h"
+static INLINE void
+vec_u64_store(vector unsigned long long vecu64, unsigned long offset, void *ptr)
+{
+#ifndef WORDS_BIGENDIAN
+ __asm__ ("xxswapd %x0, %x1"
+ : "=wa" (vecu64)
+ : "wa" (vecu64));
+#endif
+#if __GNUC__ >= 4
+ if (__builtin_constant_p (offset) && offset == 0)
+ __asm__ ("stxvd2x %x0,0,%1\n\t"
+ :
+ : "wa" (vecu64), "r" ((uintptr_t)ptr)
+ : "memory");
+ else
+#endif
+ __asm__ ("stxvd2x %x0,%1,%2\n\t"
+ :
+ : "wa" (vecu64), "r" (offset), "r" ((uintptr_t)ptr)
+ : "memory", "r0");
+}
+
// Returns ((a +/- b) * cospi16 + (2 << 13)) >> 14.
static INLINE void single_butterfly(int16x8_t a, int16x8_t b, int16x8_t *add,
int16x8_t *sub) {
@@ -164,45 +186,45 @@ static INLINE void load(const int16_t *a
}
static INLINE void store(tran_low_t *a, const int16x8_t *b) {
- vec_vsx_st(b[0], 0, a);
- vec_vsx_st(b[8], 0, a + 8);
- vec_vsx_st(b[16], 0, a + 16);
- vec_vsx_st(b[24], 0, a + 24);
-
- vec_vsx_st(b[1], 0, a + 32);
- vec_vsx_st(b[9], 0, a + 40);
- vec_vsx_st(b[17], 0, a + 48);
- vec_vsx_st(b[25], 0, a + 56);
-
- vec_vsx_st(b[2], 0, a + 64);
- vec_vsx_st(b[10], 0, a + 72);
- vec_vsx_st(b[18], 0, a + 80);
- vec_vsx_st(b[26], 0, a + 88);
-
- vec_vsx_st(b[3], 0, a + 96);
- vec_vsx_st(b[11], 0, a + 104);
- vec_vsx_st(b[19], 0, a + 112);
- vec_vsx_st(b[27], 0, a + 120);
-
- vec_vsx_st(b[4], 0, a + 128);
- vec_vsx_st(b[12], 0, a + 136);
- vec_vsx_st(b[20], 0, a + 144);
- vec_vsx_st(b[28], 0, a + 152);
-
- vec_vsx_st(b[5], 0, a + 160);
- vec_vsx_st(b[13], 0, a + 168);
- vec_vsx_st(b[21], 0, a + 176);
- vec_vsx_st(b[29], 0, a + 184);
-
- vec_vsx_st(b[6], 0, a + 192);
- vec_vsx_st(b[14], 0, a + 200);
- vec_vsx_st(b[22], 0, a + 208);
- vec_vsx_st(b[30], 0, a + 216);
-
- vec_vsx_st(b[7], 0, a + 224);
- vec_vsx_st(b[15], 0, a + 232);
- vec_vsx_st(b[23], 0, a + 240);
- vec_vsx_st(b[31], 0, a + 248);
+ vec_u64_store(b[0], 0, a);
+ vec_u64_store(b[8], 0, a + 8);
+ vec_u64_store(b[16], 0, a + 16);
+ vec_u64_store(b[24], 0, a + 24);
+
+ vec_u64_store(b[1], 0, a + 32);
+ vec_u64_store(b[9], 0, a + 40);
+ vec_u64_store(b[17], 0, a + 48);
+ vec_u64_store(b[25], 0, a + 56);
+
+ vec_u64_store(b[2], 0, a + 64);
+ vec_u64_store(b[10], 0, a + 72);
+ vec_u64_store(b[18], 0, a + 80);
+ vec_u64_store(b[26], 0, a + 88);
+
+ vec_u64_store(b[3], 0, a + 96);
+ vec_u64_store(b[11], 0, a + 104);
+ vec_u64_store(b[19], 0, a + 112);
+ vec_u64_store(b[27], 0, a + 120);
+
+ vec_u64_store(b[4], 0, a + 128);
+ vec_u64_store(b[12], 0, a + 136);
+ vec_u64_store(b[20], 0, a + 144);
+ vec_u64_store(b[28], 0, a + 152);
+
+ vec_u64_store(b[5], 0, a + 160);
+ vec_u64_store(b[13], 0, a + 168);
+ vec_u64_store(b[21], 0, a + 176);
+ vec_u64_store(b[29], 0, a + 184);
+
+ vec_u64_store(b[6], 0, a + 192);
+ vec_u64_store(b[14], 0, a + 200);
+ vec_u64_store(b[22], 0, a + 208);
+ vec_u64_store(b[30], 0, a + 216);
+
+ vec_u64_store(b[7], 0, a + 224);
+ vec_u64_store(b[15], 0, a + 232);
+ vec_u64_store(b[23], 0, a + 240);
+ vec_u64_store(b[31], 0, a + 248);
}
// Returns 1 if negative 0 if positive
Index: chromium-144.0.7559.59/third_party/libvpx/source/libvpx/vpx_dsp/ppc/quantize_vsx.c
===================================================================
--- chromium-144.0.7559.59.orig/third_party/libvpx/source/libvpx/vpx_dsp/ppc/quantize_vsx.c
+++ chromium-144.0.7559.59/third_party/libvpx/source/libvpx/vpx_dsp/ppc/quantize_vsx.c
@@ -13,6 +13,28 @@
#include "./vpx_dsp_rtcd.h"
#include "vpx_dsp/ppc/types_vsx.h"
+static INLINE void
+vec_u64_store(vector unsigned long long vecu64, unsigned long offset, void *ptr)
+{
+#ifndef WORDS_BIGENDIAN
+ __asm__ ("xxswapd %x0, %x1"
+ : "=wa" (vecu64)
+ : "wa" (vecu64));
+#endif
+#if __GNUC__ >= 4
+ if (__builtin_constant_p (offset) && offset == 0)
+ __asm__ ("stxvd2x %x0,0,%1\n\t"
+ :
+ : "wa" (vecu64), "r" ((uintptr_t)ptr)
+ : "memory");
+ else
+#endif
+ __asm__ ("stxvd2x %x0,%1,%2\n\t"
+ :
+ : "wa" (vecu64), "r" (offset), "r" ((uintptr_t)ptr)
+ : "memory", "r0");
+}
+
// Negate 16-bit integers in a when the corresponding signed 16-bit
// integer in b is negative.
static INLINE int16x8_t vec_sign(int16x8_t a, int16x8_t b) {
@@ -124,19 +146,19 @@ void vpx_quantize_b_vsx(const tran_low_t
qcoeff0 =
quantize_coeff(coeff0, coeff0_abs, round, quant, quant_shift, zero_mask0);
- vec_vsx_st(qcoeff0, 0, qcoeff_ptr);
+ vec_u64_store(qcoeff0, 0, qcoeff_ptr);
round = vec_splat(round, 1);
quant = vec_splat(quant, 1);
quant_shift = vec_splat(quant_shift, 1);
qcoeff1 =
quantize_coeff(coeff1, coeff1_abs, round, quant, quant_shift, zero_mask1);
- vec_vsx_st(qcoeff1, 16, qcoeff_ptr);
+ vec_u64_store(qcoeff1, 16, qcoeff_ptr);
dqcoeff0 = vec_mladd(qcoeff0, dequant, vec_zeros_s16);
- vec_vsx_st(dqcoeff0, 0, dqcoeff_ptr);
+ vec_u64_store(dqcoeff0, 0, dqcoeff_ptr);
dequant = vec_splat(dequant, 1);
dqcoeff1 = vec_mladd(qcoeff1, dequant, vec_zeros_s16);
- vec_vsx_st(dqcoeff1, 16, dqcoeff_ptr);
+ vec_u64_store(dqcoeff1, 16, dqcoeff_ptr);
eob = vec_max(nonzero_scanindex(qcoeff0, iscan_ptr, 0),
nonzero_scanindex(qcoeff1, iscan_ptr, 16));
@@ -164,17 +186,17 @@ void vpx_quantize_b_vsx(const tran_low_t
zero_mask1);
qcoeff2 = quantize_coeff(coeff2, coeff2_abs, round, quant, quant_shift,
zero_mask2);
- vec_vsx_st(qcoeff0, off0, qcoeff_ptr);
- vec_vsx_st(qcoeff1, off1, qcoeff_ptr);
- vec_vsx_st(qcoeff2, off2, qcoeff_ptr);
+ vec_u64_store(qcoeff0, off0, qcoeff_ptr);
+ vec_u64_store(qcoeff1, off1, qcoeff_ptr);
+ vec_u64_store(qcoeff2, off2, qcoeff_ptr);
dqcoeff0 = vec_mladd(qcoeff0, dequant, vec_zeros_s16);
dqcoeff1 = vec_mladd(qcoeff1, dequant, vec_zeros_s16);
dqcoeff2 = vec_mladd(qcoeff2, dequant, vec_zeros_s16);
- vec_vsx_st(dqcoeff0, off0, dqcoeff_ptr);
- vec_vsx_st(dqcoeff1, off1, dqcoeff_ptr);
- vec_vsx_st(dqcoeff2, off2, dqcoeff_ptr);
+ vec_u64_store(dqcoeff0, off0, dqcoeff_ptr);
+ vec_u64_store(dqcoeff1, off1, dqcoeff_ptr);
+ vec_u64_store(dqcoeff2, off2, dqcoeff_ptr);
eob = vec_max(eob, nonzero_scanindex(qcoeff0, iscan_ptr, off0));
eob2 = vec_max(nonzero_scanindex(qcoeff1, iscan_ptr, off1),
@@ -243,12 +265,12 @@ void vpx_quantize_b_32x32_vsx(const tran
qcoeff1 = quantize_coeff_32(coeff1, coeff1_abs, round, quant, quant_shift,
zero_mask1);
- vec_vsx_st(qcoeff0, 0, qcoeff_ptr);
- vec_vsx_st(qcoeff1, 16, qcoeff_ptr);
+ vec_u64_store(qcoeff0, 0, qcoeff_ptr);
+ vec_u64_store(qcoeff1, 16, qcoeff_ptr);
- vec_vsx_st(dequantize_coeff_32(qcoeff0, dequant), 0, dqcoeff_ptr);
+ vec_u64_store(dequantize_coeff_32(qcoeff0, dequant), 0, dqcoeff_ptr);
dequant = vec_splat(dequant, 1); // remove DC from dequant
- vec_vsx_st(dequantize_coeff_32(qcoeff1, dequant), 16, dqcoeff_ptr);
+ vec_u64_store(dequantize_coeff_32(qcoeff1, dequant), 16, dqcoeff_ptr);
eob = vec_max(nonzero_scanindex(qcoeff0, iscan_ptr, 0),
nonzero_scanindex(qcoeff1, iscan_ptr, 16));
@@ -276,13 +298,13 @@ void vpx_quantize_b_32x32_vsx(const tran
qcoeff2 = quantize_coeff_32(coeff2, coeff2_abs, round, quant, quant_shift,
zero_mask2);
- vec_vsx_st(qcoeff0, off0, qcoeff_ptr);
- vec_vsx_st(qcoeff1, off1, qcoeff_ptr);
- vec_vsx_st(qcoeff2, off2, qcoeff_ptr);
-
- vec_vsx_st(dequantize_coeff_32(qcoeff0, dequant), off0, dqcoeff_ptr);
- vec_vsx_st(dequantize_coeff_32(qcoeff1, dequant), off1, dqcoeff_ptr);
- vec_vsx_st(dequantize_coeff_32(qcoeff2, dequant), off2, dqcoeff_ptr);
+ vec_u64_store(qcoeff0, off0, qcoeff_ptr);
+ vec_u64_store(qcoeff1, off1, qcoeff_ptr);
+ vec_u64_store(qcoeff2, off2, qcoeff_ptr);
+
+ vec_u64_store(dequantize_coeff_32(qcoeff0, dequant), off0, dqcoeff_ptr);
+ vec_u64_store(dequantize_coeff_32(qcoeff1, dequant), off1, dqcoeff_ptr);
+ vec_u64_store(dequantize_coeff_32(qcoeff2, dequant), off2, dqcoeff_ptr);
eob = vec_max(eob, nonzero_scanindex(qcoeff0, iscan_ptr, off0));
eob2 = vec_max(nonzero_scanindex(qcoeff1, iscan_ptr, off1),

View file

@ -0,0 +1,13 @@
Index: chromium-144.0.7559.59/base/compiler_specific.h
===================================================================
--- chromium-144.0.7559.59.orig/base/compiler_specific.h
+++ chromium-144.0.7559.59/base/compiler_specific.h
@@ -198,7 +198,7 @@
// MUSTTAIL return Func1(d + 1); // `Func1()` will be tail-called.
// }
// ```
-#if __has_cpp_attribute(clang::musttail)
+#if __has_cpp_attribute(clang::musttail) && !defined(__powerpc64__)
#define MUSTTAIL [[clang::musttail]]
#else
#define MUSTTAIL

View file

@ -0,0 +1,13 @@
Index: chromium-144.0.7559.59/base/allocator/partition_allocator/src/partition_alloc/partition_alloc_base/compiler_specific.h
===================================================================
--- chromium-144.0.7559.59.orig/base/allocator/partition_allocator/src/partition_alloc/partition_alloc_base/compiler_specific.h
+++ chromium-144.0.7559.59/base/allocator/partition_allocator/src/partition_alloc/partition_alloc_base/compiler_specific.h
@@ -139,7 +139,7 @@
// PA_MUSTTAIL return Func1(d + 1); // `Func1()` will be tail-called.
// }
// ```
-#if PA_HAS_CPP_ATTRIBUTE(clang::musttail)
+#if PA_HAS_CPP_ATTRIBUTE(clang::musttail) && !defined(__powerpc64__)
#define PA_MUSTTAIL [[clang::musttail]]
#else
#define PA_MUSTTAIL

View file

@ -0,0 +1,13 @@
Index: chromium-130.0.6723.44/third_party/skia/src/core/SkRasterPipeline.h
===================================================================
--- chromium-130.0.6723.44.orig/third_party/skia/src/core/SkRasterPipeline.h
+++ chromium-130.0.6723.44/third_party/skia/src/core/SkRasterPipeline.h
@@ -27,7 +27,7 @@ struct SkImageInfo;
struct skcms_TransferFunction;
#if __has_cpp_attribute(clang::musttail) && !defined(__EMSCRIPTEN__) && !defined(SK_CPU_ARM32) && \
- !defined(SK_CPU_LOONGARCH) && !(defined(_WIN32) && defined(SK_BUILD_FOR_ANDROID_FRAMEWORK))
+ !defined(SK_CPU_LOONGARCH) && !(defined(_WIN32) && defined(SK_BUILD_FOR_ANDROID_FRAMEWORK)) && !defined(__powerpc64__)
// [[clang::musttail]] is disabled for the Android version of Skia running on Windows as it
// causes crashes (This is probably related to http://crbug.com/1505442).
#define SK_HAS_MUSTTAIL 1

View file

@ -0,0 +1,48 @@
Index: chromium-144.0.7559.59/third_party/libvpx/generate_gni.sh
===================================================================
--- chromium-144.0.7559.59.orig/third_party/libvpx/generate_gni.sh
+++ chromium-144.0.7559.59/third_party/libvpx/generate_gni.sh
@@ -429,7 +429,7 @@ gen_config_files linux/mipsel "--target=
gen_config_files linux/mips64el "--target=mips64-linux-gcc ${all_platforms}"
gen_config_files linux/loongarch \
"--target=loongarch64-linux-gcc ${all_platforms}"
-gen_config_files linux/ppc64 "--target=ppc64le-linux-gcc ${all_platforms}"
+gen_config_files linux/ppc64 "--target=generic-gnu $HIGHBD ${all_platforms}"
gen_config_files linux/generic "--target=generic-gnu $HIGHBD ${all_platforms}"
gen_config_files win/arm64-highbd \
"--target=arm64-win64-vs15 ${all_platforms} ${HIGHBD} ${disable_sve}"
Index: chromium-144.0.7559.59/third_party/libvpx/source/libvpx/build/make/rtcd.pl
===================================================================
--- chromium-144.0.7559.59.orig/third_party/libvpx/source/libvpx/build/make/rtcd.pl
+++ chromium-144.0.7559.59/third_party/libvpx/source/libvpx/build/make/rtcd.pl
@@ -527,8 +527,9 @@ if ($opts{arch} eq 'x86') {
}
arm;
} elsif ($opts{arch} =~ /^ppc/ ) {
- @ALL_ARCHS = filter(qw/vsx/);
- ppc;
+ #@ALL_ARCHS = filter(qw/vsx/);
+ #ppc;
+ unoptimized;
} elsif ($opts{arch} =~ /loongarch/ ) {
@ALL_ARCHS = filter(qw/lsx lasx/);
loongarch;
Index: chromium-144.0.7559.59/third_party/libvpx/BUILD.gn
===================================================================
--- chromium-144.0.7559.59.orig/third_party/libvpx/BUILD.gn
+++ chromium-144.0.7559.59/third_party/libvpx/BUILD.gn
@@ -98,6 +98,14 @@ config("libvpx_config") {
"-Wno-sign-compare",
]
}
+
+ if (current_cpu == "ppc64") {
+ cflags += [
+ "-mcpu=power8",
+ "-maltivec",
+ "-mvsx",
+ ]
+ }
}
# This config is applied to targets that depend on libvpx.

9
README.fedora Normal file
View file

@ -0,0 +1,9 @@
- Widevine is not a free library and cannot be shipped in fedora.
You have to get it from Google first and install it under
/usr/lib64/chromium-browser or /opt/google/chrome if you want
Chromium to use widevine.
- Chromium uses the system ffmpeg-free library which is included in
fedora >= 36 and centos-stream 9. This library contains free video
codecs. If you want Chromium to use non-free video codecs, you need
to install libavcodec-freeworld from rpmfusion-free.

View file

@ -0,0 +1,23 @@
Index: chromium-144.0.7559.59/third_party/webrtc/rtc_base/system/arch.h
===================================================================
--- chromium-144.0.7559.59.orig/third_party/webrtc/rtc_base/system/arch.h
+++ chromium-144.0.7559.59/third_party/webrtc/rtc_base/system/arch.h
@@ -46,6 +46,18 @@
#endif
#if defined(__MIPSEL__)
#define WEBRTC_ARCH_LITTLE_ENDIAN
+#elif defined(__PPC__)
+#define WEBRTC_ARCH_PPC_FAMILY
+#if __BYTE_ORDER__ == __ORDER_LITTLE_ENDIAN__
+#define WEBRTC_ARCH_LITTLE_ENDIAN
+#else
+#define WEBRTC_ARCH_BIG_ENDIAN
+#endif
+#if defined(__LP64__)
+#define WEBRTC_ARCH_64_BITS
+#else
+#define WEBRTC_ARCH_32_BITS
+#endif
#else
#define WEBRTC_ARCH_BIG_ENDIAN
#endif

View file

@ -0,0 +1,13 @@
Index: chromium-144.0.7559.59/base/system/sys_info.cc
===================================================================
--- chromium-144.0.7559.59.orig/base/system/sys_info.cc
+++ chromium-144.0.7559.59/base/system/sys_info.cc
@@ -263,6 +263,8 @@ std::string SysInfo::ProcessCPUArchitect
return "ARM";
#elif defined(ARCH_CPU_ARM64)
return "ARM_64";
+#elif defined(ARCH_CPU_PPC64)
+ return "PPC_64";
#elif defined(ARCH_CPU_RISCV64)
return "RISCV_64";
#else

View file

@ -0,0 +1,37 @@
Index: chromium-144.0.7559.59/chrome/browser/extensions/api/runtime/chrome_runtime_api_delegate.cc
===================================================================
--- chromium-144.0.7559.59.orig/chrome/browser/extensions/api/runtime/chrome_runtime_api_delegate.cc
+++ chromium-144.0.7559.59/chrome/browser/extensions/api/runtime/chrome_runtime_api_delegate.cc
@@ -383,6 +383,8 @@ bool ChromeRuntimeAPIDelegate::GetPlatfo
info->arch = extensions::api::runtime::PlatformArch::kMips64;
} else if (arch == "riscv64") {
info->arch = extensions::api::runtime::PlatformArch::kRiscv64;
+ } else if (arch == "ppc64") {
+ info->arch = extensions::api::runtime::PlatformArch::kPpc64;
} else {
NOTREACHED();
}
Index: chromium-144.0.7559.59/extensions/common/api/runtime.json
===================================================================
--- chromium-144.0.7559.59.orig/extensions/common/api/runtime.json
+++ chromium-144.0.7559.59/extensions/common/api/runtime.json
@@ -98,7 +98,8 @@
{"name": "x86-64", "description": "Specifies the processer architecture as x86-64."},
{"name": "mips", "description": "Specifies the processer architecture as mips."},
{"name": "mips64", "description": "Specifies the processer architecture as mips64."},
- {"name": "riscv64", "description": "Specifies the processer architecture as riscv64."}
+ {"name": "riscv64", "description": "Specifies the processer architecture as riscv64."},
+ {"name": "ppc64", "description": "Specifies the processer architecture as ppc64."}
],
"description": "The machine's processor architecture."
},
@@ -111,7 +112,8 @@
{"name": "x86-32", "description": "Specifies the native client architecture as x86-32."},
{"name": "x86-64", "description": "Specifies the native client architecture as x86-64."},
{"name": "mips", "description": "Specifies the native client architecture as mips."},
- {"name": "mips64", "description": "Specifies the native client architecture as mips64."}
+ {"name": "mips64", "description": "Specifies the native client architecture as mips64."},
+ {"name": "ppc64", "description": "Specifies the native client architecture as ppc64."}
]
},
{

View file

@ -0,0 +1,14 @@
Index: chromium-144.0.7559.59/base/process/launch.h
===================================================================
--- chromium-144.0.7559.59.orig/base/process/launch.h
+++ chromium-144.0.7559.59/base/process/launch.h
@@ -58,6 +58,9 @@ enum TerminationStatus : int;
#if defined(ARCH_CPU_ARM64) || defined(ARCH_CPU_LOONGARCH64)
#define PTHREAD_STACK_MIN_CONST \
(__builtin_constant_p(PTHREAD_STACK_MIN) ? PTHREAD_STACK_MIN : 131072)
+#elif defined(ARCH_CPU_PPC64)
+#define PTHREAD_STACK_MIN_CONST \
+ (__builtin_constant_p(PTHREAD_STACK_MIN) ? PTHREAD_STACK_MIN : 131072)
#else
#define PTHREAD_STACK_MIN_CONST \
(__builtin_constant_p(PTHREAD_STACK_MIN) ? PTHREAD_STACK_MIN : 16384)

View file

@ -0,0 +1,16 @@
diff -up chromium-107.0.5304.121/media/BUILD.gn.me chromium-107.0.5304.121/media/BUILD.gn
--- chromium-107.0.5304.121/media/BUILD.gn.me 2022-12-17 12:35:44.546779129 +0100
+++ chromium-107.0.5304.121/media/BUILD.gn 2022-12-17 12:35:59.296047028 +0100
@@ -64,12 +64,6 @@ buildflag_header("media_buildflags") {
}
}
-if (proprietary_codecs && media_use_ffmpeg) {
- assert(
- ffmpeg_branding != "Chromium",
- "proprietary codecs and ffmpeg_branding set to Chromium are incompatible")
-}
-
# Common configuration for targets in the media directory; these must not be
# exported since things like USE_NEON and USE_CRAS have different meanings
# elsewhere in the code base.

View file

@ -0,0 +1,12 @@
diff -up chromium-108.0.5359.124/media/audio/audio_opus_encoder.h.me chromium-108.0.5359.124/media/audio/audio_opus_encoder.h
--- chromium-108.0.5359.124/media/audio/audio_opus_encoder.h.me 2022-12-31 09:49:17.100277502 +0100
+++ chromium-108.0.5359.124/media/audio/audio_opus_encoder.h 2022-12-31 09:49:57.101016710 +0100
@@ -12,7 +12,7 @@
#include "media/base/audio_converter.h"
#include "media/base/audio_encoder.h"
#include "media/base/audio_timestamp_helper.h"
-#include "third_party/opus/src/include/opus.h"
+#include <opus/opus.h>
namespace media {

View file

@ -0,0 +1,16 @@
diff -up chromium-115.0.5790.32/chrome/browser/first_run/first_run_internal_linux.cc.me chromium-115.0.5790.32/chrome/browser/first_run/first_run_internal_linux.cc
--- chromium-115.0.5790.32/chrome/browser/first_run/first_run_internal_linux.cc.me 2023-06-17 19:43:08.481952671 +0200
+++ chromium-115.0.5790.32/chrome/browser/first_run/first_run_internal_linux.cc 2023-06-17 19:44:26.165349772 +0200
@@ -20,10 +20,8 @@ bool IsOrganicFirstRun() {
base::FilePath InitialPrefsPath() {
// The standard location of the initial prefs is next to the chrome binary.
- base::FilePath dir_exe;
- if (!base::PathService::Get(base::DIR_EXE, &dir_exe)) {
- return base::FilePath();
- }
+ // ...but we patch it to use /etc/chromium
+ base::FilePath dir_exe = base::FilePath("/etc/chromium");
return installer::InitialPreferences::Path(dir_exe);
}

View file

@ -0,0 +1,33 @@
diff -up chromium-108.0.5359.124/chrome/common/chrome_paths.cc.widevine-other-locations chromium-108.0.5359.124/chrome/common/chrome_paths.cc
--- chromium-108.0.5359.124/chrome/common/chrome_paths.cc.widevine-other-locations 2023-01-02 11:10:03.951330305 +0100
+++ chromium-108.0.5359.124/chrome/common/chrome_paths.cc 2023-01-02 13:42:26.781022150 +0100
@@ -319,6 +319,16 @@ bool PathProvider(int key, base::FilePat
#if BUILDFLAG(ENABLE_WIDEVINE)
case chrome::DIR_BUNDLED_WIDEVINE_CDM:
+ base::PathService::Get(base::DIR_HOME, &cur);
+ cur = cur.Append(FILE_PATH_LITERAL(".config/chromium/WidevineCdm"));
+ if (base::PathExists(cur)) {
+ break;
+ }
+ // Yes, this has an arch hardcoded in the path, but at this time, it is the only place to find libwidevinecdm.so
+ if (base::PathExists(base::FilePath(FILE_PATH_LITERAL("/opt/google/chrome/WidevineCdm/_platform_specific/linux_x64/libwidevinecdm.so")))) {
+ cur = base::FilePath(FILE_PATH_LITERAL("/opt/google/chrome/WidevineCdm"));
+ break;
+ }
if (!GetComponentDirectory(&cur)) {
return false;
}
cur = cur.AppendASCII(kWidevineCdmBaseDirectory);
diff -up chromium-108.0.5359.124/third_party/widevine/cdm/BUILD.gn.widevine-other-locations chromium-108.0.5359.124/third_party/widevine/cdm/BUILD.gn
--- chromium-108.0.5359.124/third_party/widevine/cdm/BUILD.gn.widevine-other-locations 2023-01-02 11:10:45.953114153 +0100
+++ chromium-108.0.5359.124/third_party/widevine/cdm/BUILD.gn 2023-01-02 11:10:45.953114153 +0100
@@ -22,7 +22,7 @@ buildflag_header("buildflags") {
flags = [
"ENABLE_WIDEVINE=$enable_widevine",
- "BUNDLE_WIDEVINE_CDM=$bundle_widevine_cdm",
+ "BUNDLE_WIDEVINE_CDM=true",
"ENABLE_WIDEVINE_CDM_COMPONENT=$enable_widevine_cdm_component",
"ENABLE_MEDIA_FOUNDATION_WIDEVINE_CDM=$enable_media_foundation_widevine_cdm",
]

View file

@ -0,0 +1,12 @@
diff -up chromium-117.0.5938.132/build/config/arm.gni.me chromium-117.0.5938.132/build/config/arm.gni
--- chromium-117.0.5938.132/build/config/arm.gni.me 2023-09-29 15:37:18.281122162 +0200
+++ chromium-117.0.5938.132/build/config/arm.gni 2023-09-29 15:38:24.855369796 +0200
@@ -140,7 +140,7 @@ if (current_cpu == "arm" || v8_current_c
# target_cpu == "arm64" filters out some cases (e.g. the ChromeOS x64
# MSAN build) where the target platform is x64, but V8 is configured to
# use the arm64 simulator.
- arm_control_flow_integrity = "standard"
+ arm_control_flow_integrity = "pac"
}
}
assert(arm_control_flow_integrity == "none" ||

View file

@ -0,0 +1,12 @@
diff -up chromium-118.0.5993.32/ui/gfx/linux/dmabuf_uapi.h.me chromium-118.0.5993.32/ui/gfx/linux/dmabuf_uapi.h
--- chromium-118.0.5993.32/ui/gfx/linux/dmabuf_uapi.h.me 2023-10-04 22:18:44.259800011 +0200
+++ chromium-118.0.5993.32/ui/gfx/linux/dmabuf_uapi.h 2023-10-04 22:28:17.068756669 +0200
@@ -28,7 +28,7 @@ constexpr unsigned long DMA_BUF_IOCTL_SY
_IOW(DMA_BUF_BASE, 0, struct dma_buf_sync);
#endif
-#if LINUX_VERSION_CODE < KERNEL_VERSION(6, 0, 0)
+#if 0
struct dma_buf_export_sync_file {
__u32 flags;
__s32 fd;

View file

@ -0,0 +1,16 @@
fix tab crash with SIGTRAP when opening website like ge.globo.com
author: Than Ngo <than@redhat.com>
diff -up chromium-118.0.5993.70/media/filters/ffmpeg_glue.cc.me chromium-118.0.5993.70/media/filters/ffmpeg_glue.cc
--- chromium-118.0.5993.70/media/filters/ffmpeg_glue.cc.me 2023-10-16 12:52:01.716573884 +0200
+++ chromium-118.0.5993.70/media/filters/ffmpeg_glue.cc 2023-10-16 12:56:03.476075446 +0200
@@ -157,7 +157,7 @@ bool FFmpegGlue::OpenContext(bool is_loc
container_ = container_names::MediaContainerName::kContainerAVI;
// For a successfully opened file, we will get a container we've compiled in.
- CHECK_NE(container_, container_names::MediaContainerName::kContainerUnknown);
+ DCHECK_NE(container_, container_names::MediaContainerName::kContainerUnknown);
LogContainer(is_local_file, container_);
return true;

View file

@ -0,0 +1,24 @@
diff -up chromium-121.0.6167.139/third_party/blink/renderer/core/xml/xslt_processor.h.me chromium-121.0.6167.139/third_party/blink/renderer/core/xml/xslt_processor.h
--- chromium-121.0.6167.139/third_party/blink/renderer/core/xml/xslt_processor.h.me 2024-02-06 08:22:36.013021582 +0100
+++ chromium-121.0.6167.139/third_party/blink/renderer/core/xml/xslt_processor.h 2024-02-06 08:23:08.281607499 +0100
@@ -77,7 +77,7 @@ class XSLTProcessor final : public Scrip
void reset();
- static void ParseErrorFunc(void* user_data, const xmlError*);
+ static void ParseErrorFunc(void* user_data, xmlError*);
static void GenericErrorFunc(void* user_data, const char* msg, ...);
// Only for libXSLT callbacks
diff -up chromium-121.0.6167.139/third_party/blink/renderer/core/xml/xslt_processor_libxslt.cc.me chromium-121.0.6167.139/third_party/blink/renderer/core/xml/xslt_processor_libxslt.cc
--- chromium-121.0.6167.139/third_party/blink/renderer/core/xml/xslt_processor_libxslt.cc.me 2024-02-06 08:14:32.368066214 +0100
+++ chromium-121.0.6167.139/third_party/blink/renderer/core/xml/xslt_processor_libxslt.cc 2024-02-06 08:23:08.282607518 +0100
@@ -66,7 +66,7 @@ void XSLTProcessor::GenericErrorFunc(voi
// It would be nice to do something with this error message.
}
-void XSLTProcessor::ParseErrorFunc(void* user_data, const xmlError* error) {
+void XSLTProcessor::ParseErrorFunc(void* user_data, xmlError* error) {
FrameConsole* console = static_cast<FrameConsole*>(user_data);
if (!console)
return;

View file

@ -0,0 +1,17 @@
diff -up chromium-122.0.6261.57/build/config/compiler/BUILD.gn.me chromium-122.0.6261.57/build/config/compiler/BUILD.gn
--- chromium-122.0.6261.57/build/config/compiler/BUILD.gn.me 2024-02-23 12:32:11.248584653 +0100
+++ chromium-122.0.6261.57/build/config/compiler/BUILD.gn 2024-02-23 12:45:26.672302958 +0100
@@ -399,6 +399,13 @@ config("compiler") {
}
}
+ if (is_clang) {
+ cflags += [ "-ftrivial-auto-var-init=zero" ]
+ if (!is_ubsan && !is_ubsan_security) {
+ cflags += [ "-fwrapv" ]
+ }
+ }
+
# Linker warnings.
if (fatal_linker_warnings && !is_apple && current_os != "aix" &&
current_os != "zos") {

View file

@ -0,0 +1,12 @@
diff -up chromium-123.0.6312.46/build/config/compiler/BUILD.gn.fstack-protector-strong chromium-123.0.6312.46/build/config/compiler/BUILD.gn
--- chromium-123.0.6312.46/build/config/compiler/BUILD.gn.fstack-protector-strong 2024-03-15 11:46:34.542248116 +0100
+++ chromium-123.0.6312.46/build/config/compiler/BUILD.gn 2024-03-15 11:59:02.970849847 +0100
@@ -382,7 +382,7 @@ config("compiler") {
} else if ((is_posix && !is_chromeos && !is_nacl) || is_fuchsia) {
if (current_os != "aix") {
# Not available on aix.
- cflags += [ "-fstack-protector" ]
+ cflags += [ "-fstack-protector-strong" ]
}
}
}

View file

@ -0,0 +1,13 @@
diff -up chromium-123.0.6312.58/chrome/browser/component_updater/screen_ai_component_installer.cc.me chromium-123.0.6312.58/chrome/browser/component_updater/screen_ai_component_installer.cc
--- chromium-123.0.6312.58/chrome/browser/component_updater/screen_ai_component_installer.cc.me 2024-03-24 10:58:43.033885904 +0100
+++ chromium-123.0.6312.58/chrome/browser/component_updater/screen_ai_component_installer.cc 2024-03-24 11:00:38.861979740 +0100
@@ -143,8 +143,7 @@ void ScreenAIComponentInstallerPolicy::D
void ManageScreenAIComponentRegistration(ComponentUpdateService* cus,
PrefService* local_state) {
if (screen_ai::ScreenAIInstallState::ShouldInstall(local_state)) {
- RegisterScreenAIComponent(cus);
- return;
+ // don't register the screenn ai service
}
// Clean up.

View file

@ -0,0 +1,13 @@
diff -up chromium-124.0.6367.60/base/allocator/partition_allocator/partition_alloc.gni.me chromium-124.0.6367.60/base/allocator/partition_allocator/partition_alloc.gni
--- chromium-124.0.6367.60/base/allocator/partition_allocator/partition_alloc.gni.me 2024-04-18 15:12:34.007397489 +0200
+++ chromium-124.0.6367.60/base/allocator/partition_allocator/partition_alloc.gni 2024-04-18 15:13:06.166051954 +0200
@@ -32,8 +32,7 @@ if (is_nacl) {
# Increases the size of the empty slot span ring.
use_large_empty_slot_span_ring = is_mac
-has_memory_tagging =
- current_cpu == "arm64" && is_clang && !is_asan && (is_linux || is_android)
+has_memory_tagging = false
declare_args() {
# Causes all the allocations to be routed via allocator_shim.cc. Usually,

11
chromium-124-qt6.patch Normal file
View file

@ -0,0 +1,11 @@
diff -up chromium-124.0.6367.155/ui/qt/BUILD.gn.me chromium-124.0.6367.155/ui/qt/BUILD.gn
--- chromium-124.0.6367.155/ui/qt/BUILD.gn.me 2024-05-08 18:15:34.178627040 +0200
+++ chromium-124.0.6367.155/ui/qt/BUILD.gn 2024-05-08 18:29:31.162513709 +0200
@@ -61,6 +61,7 @@ template("qt_shim") {
packages = [
"Qt" + invoker.qt_version + "Core",
"Qt" + invoker.qt_version + "Widgets",
+ "Qt" + invoker.qt_version + "Gui",
]
}

View file

@ -0,0 +1,13 @@
diff -up chromium-127.0.6533.72/sandbox/linux/syscall_broker/broker_process.cc.me chromium-127.0.6533.72/sandbox/linux/syscall_broker/broker_process.cc
--- chromium-127.0.6533.72/sandbox/linux/syscall_broker/broker_process.cc.me 2024-07-30 18:09:59.483141522 +0200
+++ chromium-127.0.6533.72/sandbox/linux/syscall_broker/broker_process.cc 2024-07-30 19:42:47.122708543 +0200
@@ -163,9 +163,6 @@ bool BrokerProcess::IsSyscallBrokerable(
case __NR_stat:
case __NR_lstat:
#endif
-#if defined(__NR_fstatat)
- case __NR_fstatat:
-#endif
#if defined(__NR_fstatat64)
case __NR_fstatat64:
#endif

View file

@ -0,0 +1,15 @@
diff -up chromium-127.0.6533.72/base/allocator/partition_allocator/src/partition_alloc/aarch64_support.h.me chromium-127.0.6533.72/base/allocator/partition_allocator/src/partition_alloc/aarch64_support.h
--- chromium-127.0.6533.72/base/allocator/partition_allocator/src/partition_alloc/aarch64_support.h.me 2024-07-25 23:58:19.751616508 +0200
+++ chromium-127.0.6533.72/base/allocator/partition_allocator/src/partition_alloc/aarch64_support.h 2024-07-26 00:01:46.391800969 +0200
@@ -10,9 +10,11 @@
#include "partition_alloc/build_config.h"
#include "partition_alloc/partition_alloc_buildflags.h"
+#if 0
#if PA_BUILDFLAG(IS_ANDROID) || PA_BUILDFLAG(IS_LINUX)
#define HAS_HW_CAPS
#endif
+#endif
#if PA_BUILDFLAG(PA_ARCH_CPU_ARM64) && defined(HAS_HW_CAPS)
#include <asm/hwcap.h>

View file

@ -0,0 +1,21 @@
diff -up chromium-130.0.6723.44/components/media_router/common/providers/cast/channel/enum_table.h.me chromium-130.0.6723.44/components/media_router/common/providers/cast/channel/enum_table.h
--- chromium-130.0.6723.44/components/media_router/common/providers/cast/channel/enum_table.h.me 2024-10-15 09:58:39.571798463 +0200
+++ chromium-130.0.6723.44/components/media_router/common/providers/cast/channel/enum_table.h 2024-10-15 09:59:46.209147226 +0200
@@ -12,7 +12,6 @@
#include <cstdint>
#include <cstring>
-#include <new>
#include <optional>
#include <ostream>
#include <string_view>
@@ -368,7 +367,8 @@ class EnumTable {
private:
#ifdef ARCH_CPU_64_BITS
- alignas(std::hardware_destructive_interference_size)
+ // Align the data on a cache line boundary.
+ alignas(64)
#endif
std::initializer_list<Entry> data_;
bool is_sorted_;

View file

@ -0,0 +1,19 @@
From b9075d0e1f687f9a5cf80a7778bde99cece9fdf7 Mon Sep 17 00:00:00 2001
From: Than Ngo <than@redhat.com>
Date: Sat, 23 Nov 2024 12:33:22 +0100
Subject: [PATCH] Enable qt-ui
diff -up chromium-131.0.6778.85/ui/qt/qt_shim.cc.me chromium-131.0.6778.85/ui/qt/qt_shim.cc
--- chromium-131.0.6778.85/ui/qt/qt_shim.cc.me 2024-11-23 10:04:16.789121846 +0100
+++ chromium-131.0.6778.85/ui/qt/qt_shim.cc 2024-11-23 11:40:02.905064702 +0100
@@ -265,7 +265,7 @@ FontRenderParams QtShim::GetFontRenderPa
FontDescription QtShim::GetFontDescription() const {
QFont font = app_.font();
return {
- .family = String(font.family().toStdString().c_str()),
+ .family = String(font.family().toUtf8().constData()),
.size_pixels = font.pixelSize(),
.size_points = font.pointSize(),
.is_italic = IsStyleItalic(font.style()),

View file

@ -0,0 +1,32 @@
commit 1ab1a14ad97394d384d8dc6de51bb229625e66d6
Author: Benoît Lizé <lizeb@chromium.org>
Date: Mon Sep 16 12:01:14 2024 +0200
[cppgc] Decommit pooled pages by default
This reduces committed memory by a large amount, which matters on
Windows. See the field trial results, which measure committed memory:
https://screenshot.googleplex.com/kEBAScqJSEXuRoy
Bug: chromium:326303884
Change-Id: I619257871bcdb7ed50a71f41af341d0df634428a
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/5864909
Reviewed-by: Michael Lippautz <mlippautz@chromium.org>
Reviewed-by: Anton Bikineev <bikineev@chromium.org>
Commit-Queue: Anton Bikineev <bikineev@chromium.org>
Auto-Submit: Benoit Lize <lizeb@chromium.org>
Cr-Commit-Position: refs/heads/main@{#96107}
diff --git a/v8/src/flags/flag-definitions.h b/v8/src/flags/flag-definitions.h
index 69946faf5ed..85c4b68612e 100644
--- a/v8/src/flags/flag-definitions.h
+++ b/v8/src/flags/flag-definitions.h
@@ -821,7 +821,7 @@ DEFINE_BOOL(trace_block_coverage, false,
"trace collected block coverage information")
DEFINE_BOOL(trace_protector_invalidation, false,
"trace protector cell invalidations")
-DEFINE_BOOL(decommit_pooled_pages, false,
+DEFINE_BOOL(decommit_pooled_pages, true,
"decommit, rather than discard pooled pages")
#ifdef V8_MINORMS_STRING_SHORTCUTTING

View file

@ -0,0 +1,11 @@
diff -up chromium-132.0.6834.57/build/config/gcc/BUILD.gn.me chromium-132.0.6834.57/build/config/gcc/BUILD.gn
--- chromium-132.0.6834.57/build/config/gcc/BUILD.gn.me 2025-01-01 18:59:29.670002052 +0100
+++ chromium-132.0.6834.57/build/config/gcc/BUILD.gn 2025-01-01 20:51:11.798696436 +0100
@@ -32,7 +32,6 @@ declare_args() {
# See http://gcc.gnu.org/wiki/Visibility
config("symbol_visibility_hidden") {
cflags = [ "-fvisibility=hidden" ]
- rustflags = [ "-Zdefault-visibility=hidden" ]
# Visibility attribute is not supported on AIX.
if (current_os != "aix") {

View file

@ -0,0 +1,12 @@
diff -up chromium-133.0.6943.53/media/filters/ffmpeg_glue.cc.me chromium-133.0.6943.53/media/filters/ffmpeg_glue.cc
--- chromium-133.0.6943.53/media/filters/ffmpeg_glue.cc.me 2025-02-05 13:28:17.782881439 +0100
+++ chromium-133.0.6943.53/media/filters/ffmpeg_glue.cc 2025-02-05 13:33:15.256928027 +0100
@@ -111,7 +111,7 @@ FFmpegGlue::FFmpegGlue(FFmpegURLProtocol
// We don't allow H.264 parsing during demuxing since we have our own parser
// and the ffmpeg one increases memory usage unnecessarily.
- format_context_->flags |= AVFMT_FLAG_NOH264PARSE;
+ // format_context_->flags |= AVFMT_FLAG_NOH264PARSE;
// Ensures format parsing errors will bail out. From an audit on 11/2017, all
// instances were real failures. Solves bugs like http://crbug.com/710791.

View file

@ -0,0 +1,34 @@
diff -up chromium-133.0.6943.98/media/ffmpeg/ffmpeg_common.cc.than chromium-133.0.6943.98/media/ffmpeg/ffmpeg_common.cc
--- chromium-133.0.6943.98/media/ffmpeg/ffmpeg_common.cc.than 2025-02-13 11:59:31.035724118 +0100
+++ chromium-133.0.6943.98/media/ffmpeg/ffmpeg_common.cc 2025-02-14 10:39:07.825746076 +0100
@@ -76,6 +76,8 @@ const char* GetAllowedVideoDecoders() {
void ApplyCodecContextSecuritySettings(AVCodecContext* codec_context) {
// Future versions of ffmpeg may copy the allow list from the format
// context.
+ // Workaround for codec whitelist with system ffmpeg
+#if 0
if (!codec_context->codec_whitelist) {
// Note: FFmpeg will try to free this string, so we must duplicate it.
codec_context->codec_whitelist =
@@ -83,6 +85,7 @@ void ApplyCodecContextSecuritySettings(A
? GetAllowedAudioDecoders()
: GetAllowedVideoDecoders());
}
+#endif
// Note: This is security sensitive. FFmpeg may not always continue safely
// in the presence of errors. See https://crbug.com/379418979
diff -up chromium-133.0.6943.98/media/filters/ffmpeg_glue.cc.than chromium-133.0.6943.98/media/filters/ffmpeg_glue.cc
--- chromium-133.0.6943.98/media/filters/ffmpeg_glue.cc.than 2025-02-14 10:14:13.360398193 +0100
+++ chromium-133.0.6943.98/media/filters/ffmpeg_glue.cc 2025-02-14 10:36:46.762332912 +0100
@@ -131,8 +131,10 @@ FFmpegGlue::FFmpegGlue(FFmpegURLProtocol
// memory usage.
//
// Note: FFmpeg will try to free these strings, so we must duplicate them.
+#if 0
format_context_->codec_whitelist = av_strdup(GetAllowedAudioDecoders());
format_context_->format_whitelist = av_strdup(GetAllowedDemuxers());
+#endif
}
bool FFmpegGlue::OpenContext(bool is_local_file) {

File diff suppressed because it is too large Load diff

View file

@ -0,0 +1,13 @@
diff -up chromium-134.0.6998.23/base/containers/to_value_list.h.me chromium-134.0.6998.23/base/containers/to_value_list.h
--- chromium-134.0.6998.23/base/containers/to_value_list.h.me 2025-02-23 22:39:33.369668072 +0100
+++ chromium-134.0.6998.23/base/containers/to_value_list.h 2025-02-23 22:42:42.653990901 +0100
@@ -36,8 +36,7 @@ Value::List ToValueList(Range&& range, P
auto container = Value::List::with_capacity(std::ranges::size(range));
std::ranges::for_each(
std::forward<Range>(range),
- [&]<typename T>(T&& value) { container.Append(std::forward<T>(value)); },
- std::move(proj));
+ [&](auto&& value) { container.Append(std::invoke(proj, std::forward<decltype(*std::ranges::begin(range))>(value))); });
return container;
}

View file

@ -0,0 +1,20 @@
diff -up chromium-136.0.7103.33/third_party/node/node.gni.than chromium-136.0.7103.33/third_party/node/node.gni
--- chromium-136.0.7103.33/third_party/node/node.gni.than 2025-04-21 17:53:06.742517984 +0200
+++ chromium-136.0.7103.33/third_party/node/node.gni 2025-04-21 17:54:05.452645652 +0200
@@ -35,16 +35,5 @@ template("node") {
inputs += [ "//third_party/node/mac/node-darwin-x64/bin/node" ]
}
}
-
- # Automatically add a dependency to ":check_version" to ensure NodeJS is
- # always running the expected version, except when the ':check_version'
- # target itself is running in which case it shouldn't depend on itself.
- if (get_label_info(":" + target_name, "label_no_toolchain") !=
- "//third_party/node:check_version") {
- if (!defined(deps)) {
- deps = []
- }
- deps += [ "//third_party/node:check_version" ]
- }
}
}

View file

@ -0,0 +1,12 @@
diff -up chromium-136.0.7103.48/third_party/rust/chromium_crates_io/vendor/skrifa-0.29.2/src/glyph_name.rs.than chromium-136.0.7103.48/third_party/rust/chromium_crates_io/vendor/skrifa-0.29.2/src/glyph_name.rs
--- chromium-136.0.7103.48/third_party/rust/chromium_crates_io/vendor/skrifa-0.29.2/src/glyph_name.rs.than 2025-04-29 08:36:33.385071420 +0200
+++ chromium-136.0.7103.48/third_party/rust/chromium_crates_io/vendor/skrifa-0.29.2/src/glyph_name.rs 2025-04-29 08:42:21.465525421 +0200
@@ -94,7 +94,7 @@ impl<'a> GlyphNames<'a> {
_ => None,
};
// If name is empty string, synthesize it
- if name.as_ref().is_none_or(|s| s.is_empty()) {
+ if name.is_none() || name.as_ref().map_or(false, |s| s.is_empty()) {
return Some(GlyphName::synthesize(glyph_id));
}
Some(name.unwrap_or_else(|| GlyphName::synthesize(glyph_id)))

View file

@ -0,0 +1,17 @@
diff -up chromium-136.0.7103.48/build/config/compiler/BUILD.gn.than chromium-136.0.7103.48/build/config/compiler/BUILD.gn
--- chromium-136.0.7103.48/build/config/compiler/BUILD.gn.than 2025-04-28 15:44:08.883499599 +0200
+++ chromium-136.0.7103.48/build/config/compiler/BUILD.gn 2025-04-28 15:44:47.624639772 +0200
@@ -622,12 +622,6 @@ config("compiler") {
cflags += [ "-ffp-contract=off" ]
}
- # Enable ELF CREL (see crbug.com/357878242) for all platforms that use ELF
- # (excluding toolchains that use an older version of LLVM).
- if (is_linux && !llvm_android_mainline &&
- default_toolchain != "//build/toolchain/cros:target") {
- cflags += [ "-Wa,--crel,--allow-experimental-crel" ]
- }
}
# C11/C++11 compiler flags setup.
diff -up chromium-136.0.7103.48/tools/licenses/licenses.py.than chromium-136.0.7103.48/tools/licenses/licenses.py

View file

@ -0,0 +1,23 @@
diff -up chromium-138.0.7204.15/third_party/node/node.gni.me chromium-138.0.7204.15/third_party/node/node.gni
--- chromium-138.0.7204.15/third_party/node/node.gni.me 2025-06-03 23:20:09.000000000 +0200
+++ chromium-138.0.7204.15/third_party/node/node.gni 2025-06-09 09:59:21.788545159 +0200
@@ -44,7 +44,6 @@ template("node") {
if (!defined(deps)) {
deps = []
}
- deps += [ "//third_party/node:check_version" ]
}
}
}
diff -up chromium-138.0.7204.15/third_party/node/BUILD.gn.me chromium-138.0.7204.15/third_party/node/BUILD.gn
diff -up chromium-138.0.7204.15/third_party/protobuf/proto_library.gni.me chromium-138.0.7204.15/third_party/protobuf/proto_library.gni
--- chromium-138.0.7204.15/third_party/protobuf/proto_library.gni.me 2025-06-09 11:33:08.279645775 +0200
+++ chromium-138.0.7204.15/third_party/protobuf/proto_library.gni 2025-06-09 12:10:07.040045476 +0200
@@ -562,7 +562,6 @@ template("proto_library") {
_protoc_gen_ts_path,
"//tools/protoc_wrapper/protoc-gen-ts_proto.py",
] + _protoc_gen_ts_runtime_deps
- deps += [ "//third_party/node:check_version" ]
}
if (_generate_with_plugin) {

View file

@ -0,0 +1,158 @@
https://chromium-review.googlesource.com/c/chromium/src/+/6506529
Revert CL rolls ffmpeg for M138 as it breaks the build due to old ffmpeg version on EL9
diff -up chromium-138.0.7204.49/media/ffmpeg/ffmpeg_common.cc.me chromium-138.0.7204.49/media/ffmpeg/ffmpeg_common.cc
--- chromium-138.0.7204.49/media/ffmpeg/ffmpeg_common.cc.me 2025-06-23 23:34:26.000000000 +0200
+++ chromium-138.0.7204.49/media/ffmpeg/ffmpeg_common.cc 2025-06-25 15:13:17.958054182 +0200
@@ -263,22 +263,22 @@ AVCodecID VideoCodecToCodecID(VideoCodec
static VideoCodecProfile ProfileIDToVideoCodecProfile(int profile) {
// Clear out the CONSTRAINED & INTRA flags which are strict subsets of the
// corresponding profiles with which they're used.
- profile &= ~AV_PROFILE_H264_CONSTRAINED;
- profile &= ~AV_PROFILE_H264_INTRA;
+ profile &= ~FF_PROFILE_H264_CONSTRAINED;
+ profile &= ~FF_PROFILE_H264_INTRA;
switch (profile) {
- case AV_PROFILE_H264_BASELINE:
+ case FF_PROFILE_H264_BASELINE:
return H264PROFILE_BASELINE;
- case AV_PROFILE_H264_MAIN:
+ case FF_PROFILE_H264_MAIN:
return H264PROFILE_MAIN;
- case AV_PROFILE_H264_EXTENDED:
+ case FF_PROFILE_H264_EXTENDED:
return H264PROFILE_EXTENDED;
- case AV_PROFILE_H264_HIGH:
+ case FF_PROFILE_H264_HIGH:
return H264PROFILE_HIGH;
- case AV_PROFILE_H264_HIGH_10:
+ case FF_PROFILE_H264_HIGH_10:
return H264PROFILE_HIGH10PROFILE;
- case AV_PROFILE_H264_HIGH_422:
+ case FF_PROFILE_H264_HIGH_422:
return H264PROFILE_HIGH422PROFILE;
- case AV_PROFILE_H264_HIGH_444_PREDICTIVE:
+ case FF_PROFILE_H264_HIGH_444_PREDICTIVE:
return H264PROFILE_HIGH444PREDICTIVEPROFILE;
default:
DVLOG(1) << "Unknown profile id: " << profile;
@@ -289,23 +289,23 @@ static VideoCodecProfile ProfileIDToVide
static int VideoCodecProfileToProfileID(VideoCodecProfile profile) {
switch (profile) {
case H264PROFILE_BASELINE:
- return AV_PROFILE_H264_BASELINE;
+ return FF_PROFILE_H264_BASELINE;
case H264PROFILE_MAIN:
- return AV_PROFILE_H264_MAIN;
+ return FF_PROFILE_H264_MAIN;
case H264PROFILE_EXTENDED:
- return AV_PROFILE_H264_EXTENDED;
+ return FF_PROFILE_H264_EXTENDED;
case H264PROFILE_HIGH:
- return AV_PROFILE_H264_HIGH;
+ return FF_PROFILE_H264_HIGH;
case H264PROFILE_HIGH10PROFILE:
- return AV_PROFILE_H264_HIGH_10;
+ return FF_PROFILE_H264_HIGH_10;
case H264PROFILE_HIGH422PROFILE:
- return AV_PROFILE_H264_HIGH_422;
+ return FF_PROFILE_H264_HIGH_422;
case H264PROFILE_HIGH444PREDICTIVEPROFILE:
- return AV_PROFILE_H264_HIGH_444_PREDICTIVE;
+ return FF_PROFILE_H264_HIGH_444_PREDICTIVE;
default:
DVLOG(1) << "Unknown VideoCodecProfile: " << profile;
}
- return AV_PROFILE_UNKNOWN;
+ return FF_PROFILE_UNKNOWN;
}
SampleFormat AVSampleFormatToSampleFormat(AVSampleFormat sample_format,
@@ -441,7 +441,7 @@ bool AVCodecContextToAudioDecoderConfig(
// TODO(dalecurtis): Just use the profile from the codec context if ffmpeg
// ever starts supporting xHE-AAC.
// FFmpeg provides the (defined_profile - 1) for AVCodecContext::profile
- if (codec_context->profile == AV_PROFILE_UNKNOWN ||
+ if (codec_context->profile == FF_PROFILE_UNKNOWN ||
codec_context->profile == mp4::AAC::kXHeAAcType - 1) {
// Errors aren't fatal here, so just drop any MediaLog messages.
NullMediaLog media_log;
@@ -659,16 +659,16 @@ bool AVStreamToVideoDecoderConfig(const
break;
case VideoCodec::kVP9:
switch (codec_context->profile) {
- case AV_PROFILE_VP9_0:
+ case FF_PROFILE_VP9_0:
profile = VP9PROFILE_PROFILE0;
break;
- case AV_PROFILE_VP9_1:
+ case FF_PROFILE_VP9_1:
profile = VP9PROFILE_PROFILE1;
break;
- case AV_PROFILE_VP9_2:
+ case FF_PROFILE_VP9_2:
profile = VP9PROFILE_PROFILE2;
break;
- case AV_PROFILE_VP9_3:
+ case FF_PROFILE_VP9_3:
profile = VP9PROFILE_PROFILE3;
break;
default:
diff -up chromium-138.0.7204.49/media/filters/ffmpeg_aac_bitstream_converter.cc.me chromium-138.0.7204.49/media/filters/ffmpeg_aac_bitstream_converter.cc
--- chromium-138.0.7204.49/media/filters/ffmpeg_aac_bitstream_converter.cc.me 2025-06-23 23:34:26.000000000 +0200
+++ chromium-138.0.7204.49/media/filters/ffmpeg_aac_bitstream_converter.cc 2025-06-25 15:13:17.958541707 +0200
@@ -68,17 +68,17 @@ bool GenerateAdtsHeader(int codec,
hdr[1] |= 1;
switch (audio_profile) {
- case AV_PROFILE_AAC_MAIN:
+ case FF_PROFILE_AAC_MAIN:
break;
- case AV_PROFILE_AAC_HE:
- case AV_PROFILE_AAC_HE_V2:
- case AV_PROFILE_AAC_LOW:
+ case FF_PROFILE_AAC_HE:
+ case FF_PROFILE_AAC_HE_V2:
+ case FF_PROFILE_AAC_LOW:
hdr[2] |= (1 << 6);
break;
- case AV_PROFILE_AAC_SSR:
+ case FF_PROFILE_AAC_SSR:
hdr[2] |= (2 << 6);
break;
- case AV_PROFILE_AAC_LTP:
+ case FF_PROFILE_AAC_LTP:
hdr[2] |= (3 << 6);
break;
default:
diff -up chromium-138.0.7204.49/media/filters/ffmpeg_aac_bitstream_converter_unittest.cc.me chromium-138.0.7204.49/media/filters/ffmpeg_aac_bitstream_converter_unittest.cc
--- chromium-138.0.7204.49/media/filters/ffmpeg_aac_bitstream_converter_unittest.cc.me 2025-06-23 23:34:26.000000000 +0200
+++ chromium-138.0.7204.49/media/filters/ffmpeg_aac_bitstream_converter_unittest.cc 2025-06-25 15:13:17.958839001 +0200
@@ -41,7 +41,7 @@ class FFmpegAACBitstreamConverterTest :
// Set up reasonable aac parameters
memset(&test_parameters_, 0, sizeof(AVCodecParameters));
test_parameters_.codec_id = AV_CODEC_ID_AAC;
- test_parameters_.profile = AV_PROFILE_AAC_MAIN;
+ test_parameters_.profile = FF_PROFILE_AAC_MAIN;
test_parameters_.ch_layout.nb_channels = 2;
test_parameters_.extradata = extradata_header_;
test_parameters_.extradata_size = sizeof(extradata_header_);
@@ -131,7 +131,7 @@ TEST_F(FFmpegAACBitstreamConverterTest,
EXPECT_EQ(profile, kAacMainProfile);
- test_parameters_.profile = AV_PROFILE_AAC_HE;
+ test_parameters_.profile = FF_PROFILE_AAC_HE;
FFmpegAACBitstreamConverter converter_he(&test_parameters_);
test_packet = ScopedAVPacket::Allocate();
@@ -143,7 +143,7 @@ TEST_F(FFmpegAACBitstreamConverterTest,
EXPECT_EQ(profile, kAacLowComplexityProfile);
- test_parameters_.profile = AV_PROFILE_AAC_ELD;
+ test_parameters_.profile = FF_PROFILE_AAC_ELD;
FFmpegAACBitstreamConverter converter_eld(&test_parameters_);
test_packet = ScopedAVPacket::Allocate();

View file

@ -0,0 +1,13 @@
diff -up chromium-139.0.7258.127/build/rust/cargo_crate.gni.than chromium-139.0.7258.127/build/rust/cargo_crate.gni
--- chromium-139.0.7258.127/build/rust/cargo_crate.gni.than 2025-08-14 09:44:51.783560032 +0200
+++ chromium-139.0.7258.127/build/rust/cargo_crate.gni 2025-08-14 09:48:37.407051268 +0200
@@ -310,6 +310,9 @@ template("cargo_crate") {
rustflags +=
[ "-Awarnings" ] # Suppress other warnings in 3rd-party crates.
+ rustflags +=
+ [ "--cap-lints=warn" ] # Suppress other warnings, causes FTBFS in Fedora build rhbz#2387446
+
if (!defined(build_native_rust_unit_tests)) {
build_native_rust_unit_tests = _crate_type != "proc-macro"
}

View file

@ -0,0 +1,16 @@
Fix ftbfs
v8/include/cppgc/visitor.h:440:19: error: invalid application of 'sizeof' to an incomplete type 'blink::CSSStyleSheet'
440 | static_assert(sizeof(T), "Pointee type must be fully defined.");
diff -up chromium-141.0.7390.37/third_party/blink/renderer/bindings/scripts/bind_gen/observable_array.py.ftbfs-csss_style_sheet chromium-141.0.7390.37/third_party/blink/renderer/bindings/scripts/bind_gen/observable_array.py
--- chromium-141.0.7390.37/third_party/blink/renderer/bindings/scripts/bind_gen/observable_array.py.ftbfs-csss_style_sheet 2025-09-23 22:21:14.000000000 +0200
+++ chromium-141.0.7390.37/third_party/blink/renderer/bindings/scripts/bind_gen/observable_array.py 2025-10-01 17:55:51.303926035 +0200
@@ -433,6 +433,7 @@ def generate_observable_array(observable
header_node.accumulator.add_include_headers([
component_export_header(api_component, for_testing),
"third_party/blink/renderer/bindings/core/v8/idl_types.h",
+ "third_party/blink/renderer/core/css/css_style_sheet.h",
"third_party/blink/renderer/platform/bindings/observable_array.h",
])
source_node.accumulator.add_include_headers([

View file

@ -0,0 +1,29 @@
Fix FTBFS
/usr/include/bits/siginfo-consts.h:219:3: error: expected identifier
219 | SYS_SECCOMP = 1, /* Seccomp triggered. */
| ^
../../sandbox/linux/system_headers/linux_seccomp.h:220:39: note: expanded from macro 'SYS_SECCOMP'
220 | #define SYS_SECCOMP 1
| ^
../../sandbox/linux/seccomp-bpf/trap.cc:159:46: error: use of undeclared identifier 'SYS_SECCOMP'
159 | if (nr != LINUX_SIGSYS || info->si_code != SYS_SECCOMP || !ctx ||
| ^~~~~~~~~~~
/usr/include/bits/siginfo-consts.h:220:23: note: expanded from macro 'SYS_SECCOMP'
220 | # define SYS_SECCOMP SYS_SECCOMP
diff -up chromium-141.0.7390.122/sandbox/linux/system_headers/linux_seccomp.h.me chromium-141.0.7390.122/sandbox/linux/system_headers/linux_seccomp.h
--- chromium-141.0.7390.122/sandbox/linux/system_headers/linux_seccomp.h.me 2025-10-28 10:05:44.970248151 +0100
+++ chromium-141.0.7390.122/sandbox/linux/system_headers/linux_seccomp.h 2025-10-28 10:05:52.291345772 +0100
@@ -214,8 +214,11 @@ struct seccomp_notif_addfd {
#define SECCOMP_RET_INVALID 0x00010000U // Illegal return value
#endif
+// check glibc version < 2.42
+#if (__GLIBC__ < 2) || (__GLIBC__ == 2 && __GLIBC_MINOR__ < 42)
#ifndef SYS_SECCOMP
#define SYS_SECCOMP 1
#endif
+#endif
#endif // SANDBOX_LINUX_SYSTEM_HEADERS_LINUX_SECCOMP_H_

View file

@ -0,0 +1,28 @@
Fix FTBFS
../../build/modules/linux-x64/module.modulemap:11:12: error: header '../../linux/debian_bullseye_amd64-sysroot/usr/include/alloca.h' not found
11 | header "../../linux/debian_bullseye_amd64-sysroot/usr/include/alloca.h"
| ^
1 error generated
diff -up chromium-141.0.7390.37/build/config/BUILDCONFIG.gn.me chromium-141.0.7390.37/build/config/BUILDCONFIG.gn
--- chromium-141.0.7390.37/build/config/BUILDCONFIG.gn.me 2025-10-01 17:39:47.242174153 +0200
+++ chromium-141.0.7390.37/build/config/BUILDCONFIG.gn 2025-10-01 17:49:54.736578295 +0200
@@ -557,6 +557,8 @@ foreach(_target_type,
]) {
template(_target_type) {
target(_target_type, target_name) {
+ use_libcxx_modules = false
+
forward_variables_from(invoker, "*", TESTONLY_AND_VISIBILITY)
forward_variables_from(invoker, TESTONLY_AND_VISIBILITY)
if (!defined(inputs)) {
@@ -660,6 +662,8 @@ foreach(_target_type,
# TODO(crbug.com/326584510): Reclient doesn't respect this variable, see
# rbe_bug_326584510_missing_inputs in //build/config/clang/clang.gni
_uses_cflags = false
+ use_libcxx_modules = false
+
if (defined(sources)) {
foreach(f, sources) {
if (string_replace(f + ".END", ".cc.END", "") != f + ".END" ||

View file

@ -0,0 +1,13 @@
diff -up chromium-142.0.7444.52/build/config/compiler/BUILD.gn.clang++-unsupported-argument chromium-142.0.7444.52/build/config/compiler/BUILD.gn
--- chromium-142.0.7444.52/build/config/compiler/BUILD.gn.clang++-unsupported-argument 2025-10-28 19:41:59.131433882 +0100
+++ chromium-142.0.7444.52/build/config/compiler/BUILD.gn 2025-10-28 19:42:51.792779638 +0100
@@ -2160,9 +2160,6 @@ config("default_warnings") {
# TODO(crbug.com/40284799): Fix and re-enable.
"-Wno-thread-safety-reference-return",
- # TODO(crbug.com/376641662): Fix and re-enable.
- "-Wno-nontrivial-memcall",
-
# TODO(crbug.com/432275627): Fix and re-enable.
"-Wno-uninitialized-const-pointer",
]

View file

@ -0,0 +1,24 @@
Workaround for FTBFS
error: cannot find attribute `sanitize` in this scope
--> ../../third_party/crabbyavif/src/src/capi/io.rs:210:41
|
210 | #[cfg_attr(feature = "disable_cfi", sanitize(cfi = "off"))]
diff -up chromium-142.0.7444.52/third_party/crabbyavif/BUILD.gn.me chromium-142.0.7444.52/third_party/crabbyavif/BUILD.gn
--- chromium-142.0.7444.52/third_party/crabbyavif/BUILD.gn.me 2025-10-27 10:40:59.373768499 +0100
+++ chromium-142.0.7444.52/third_party/crabbyavif/BUILD.gn 2025-10-27 10:45:12.142749942 +0100
@@ -197,12 +197,11 @@ rust_static_library("crabbyavif") {
"dav1d",
"libyuv",
"capi",
- "disable_cfi",
]
# Required for disable_cfi feature.
configs -= [ "//build/config/compiler:disallow_unstable_features" ]
- rustflags = [ "-Zallow-features=sanitize" ]
+ rustflags = [ "-Zallow-features=no_sanitize" ]
public_deps = [ ":header_files" ]
deps = [

View file

@ -0,0 +1,136 @@
diff -up chromium-142.0.7444.59/media/ffmpeg/ffmpeg_common.cc.el9-ffmpeg-5.1.x chromium-142.0.7444.59/media/ffmpeg/ffmpeg_common.cc
--- chromium-142.0.7444.59/media/ffmpeg/ffmpeg_common.cc.el9-ffmpeg-5.1.x 2025-11-01 22:14:10.116779876 +0100
+++ chromium-142.0.7444.59/media/ffmpeg/ffmpeg_common.cc 2025-11-01 22:14:10.134140132 +0100
@@ -800,8 +803,13 @@ bool AVStreamToVideoDecoderConfig(const
}
VideoTransformation video_transformation = VideoTransformation();
+#if LIBAVCODEC_VERSION_INT < AV_VERSION_INT(60, 31, 102)
+ for (int i = 0; i < stream->nb_side_data; i++) {
+ const auto& side_data = stream->side_data[i];
+#else
for (const auto& side_data :
AVCodecParametersCodedSideToSpan(stream->codecpar)) {
+#endif
switch (side_data.type) {
case AV_PKT_DATA_DISPLAYMATRIX: {
CHECK_EQ(side_data.size, sizeof(int32_t) * 3 * 3);
diff -up chromium-142.0.7444.59/media/ffmpeg/ffmpeg_common.h.el9-ffmpeg-5.1.x chromium-142.0.7444.59/media/ffmpeg/ffmpeg_common.h
--- chromium-142.0.7444.59/media/ffmpeg/ffmpeg_common.h.el9-ffmpeg-5.1.x 2025-10-24 18:42:30.000000000 +0200
+++ chromium-142.0.7444.59/media/ffmpeg/ffmpeg_common.h 2025-11-02 08:06:48.997329630 +0100
@@ -111,9 +111,13 @@ inline base::span<AVPacketSideData> AVCo
// https://ffmpeg.org/doxygen/trunk/structAVCodecParameters.html#a29643cfd94231e2d148a5d17b08d115b
// ffmpeg documentation: `nb_coded_side_data` is the amount of entries in
// `coded_side_data`.
+#if LIBAVCODEC_VERSION_INT >= AV_VERSION_INT(60, 31, 102)
return UNSAFE_BUFFERS(
base::span(codecpar->coded_side_data,
base::checked_cast<size_t>(codecpar->nb_coded_side_data)));
+#else
+ return base::span<AVPacketSideData>();
+#endif
}
// Converts an int64_t timestamp in |time_base| units to a base::TimeDelta.
diff -up chromium-142.0.7444.59/media/filters/audio_video_metadata_extractor.cc.el9-ffmpeg-5.1.x chromium-142.0.7444.59/media/filters/audio_video_metadata_extractor.cc
--- chromium-142.0.7444.59/media/filters/audio_video_metadata_extractor.cc.el9-ffmpeg-5.1.x 2025-10-24 18:42:30.000000000 +0200
+++ chromium-142.0.7444.59/media/filters/audio_video_metadata_extractor.cc 2025-11-01 22:14:10.124748634 +0100
@@ -109,17 +109,33 @@ bool AudioVideoMetadataExtractor::Extrac
container_info.type = format_context->iformat->name;
ExtractDictionary(format_context->metadata, &container_info.tags);
+#if LIBAVCODEC_VERSION_INT < AV_VERSION_INT(60, 31, 102)
+ for (unsigned int i = 0; i < format_context->nb_streams; ++i) {
+ stream_infos_.push_back(StreamInfo());
+#else
base::span<AVStream*> format_context_span =
AVFormatContextToSpan(format_context);
std::ranges::for_each(format_context_span, [&](AVStream* stream) {
stream_infos_.emplace_back();
+#endif
StreamInfo& info = stream_infos_.back();
+#if LIBAVCODEC_VERSION_INT < AV_VERSION_INT(60, 31, 102)
+ AVStream* stream = format_context->streams[i];
+ if (!stream)
+ continue;
+#else
if (!stream) {
return;
}
+#endif
+#if LIBAVCODEC_VERSION_INT < AV_VERSION_INT(60, 31, 102)
+ for (int j = 0; j < stream->nb_side_data; j++) {
+ const AVPacketSideData& sd = stream->side_data[j];
+#else
for (const auto& sd : AVCodecParametersCodedSideToSpan(stream->codecpar)) {
+#endif
if (sd.type == AV_PKT_DATA_DISPLAYMATRIX) {
CHECK_EQ(sd.size, sizeof(int32_t) * 3 * 3);
rotation_ = VideoTransformation::FromFFmpegDisplayMatrix(
@@ -135,7 +151,11 @@ bool AudioVideoMetadataExtractor::Extrac
ExtractDictionary(stream->metadata, &info.tags);
if (!stream->codecpar) {
+#if LIBAVCODEC_VERSION_INT < AV_VERSION_INT(60, 31, 102)
+ continue;
+#else
return;
+#endif
}
info.type = avcodec_get_name(stream->codecpar->codec_id);
@@ -158,7 +178,11 @@ bool AudioVideoMetadataExtractor::Extrac
reinterpret_cast<const char*>(stream->attached_pic.data),
stream->attached_pic.size);
}
+#if LIBAVCODEC_VERSION_INT < AV_VERSION_INT(60, 31, 102)
+ }
+#else
});
+#endif
extracted_ = true;
return true;
diff -up chromium-142.0.7444.59/media/filters/media_file_checker.cc.el9-ffmpeg-5.1.x chromium-142.0.7444.59/media/filters/media_file_checker.cc
--- chromium-142.0.7444.59/media/filters/media_file_checker.cc.el9-ffmpeg-5.1.x 2025-10-24 18:42:30.000000000 +0200
+++ chromium-142.0.7444.59/media/filters/media_file_checker.cc 2025-11-01 22:14:10.125099595 +0100
@@ -64,6 +64,10 @@ bool MediaFileChecker::Start(base::TimeD
// Remember the codec context for any decodable audio or video streams.
bool found_streams = false;
std::vector<Decoder> stream_contexts(format_context->nb_streams);
+#if LIBAVCODEC_VERSION_INT < AV_VERSION_INT(60, 31, 102)
+ for (size_t i = 0; i < format_context->nb_streams; ++i) {
+ AVCodecParameters* cp = format_context->streams[i]->codecpar;
+#else
base::span<AVStream*> format_context_span =
AVFormatContextToSpan(format_context);
std::ranges::transform(
@@ -85,9 +89,26 @@ bool MediaFileChecker::Start(base::TimeD
}
}
+#endif
+#if LIBAVCODEC_VERSION_INT < AV_VERSION_INT(60, 31, 102)
+ if (cp->codec_type == AVMEDIA_TYPE_AUDIO ||
+ cp->codec_type == AVMEDIA_TYPE_VIDEO) {
+ auto context = AVStreamToAVCodecContext(format_context->streams[i]);
+ if (!context)
+ continue;
+ const AVCodec* codec = avcodec_find_decoder(cp->codec_id);
+ if (codec && avcodec_open2(context.get(), codec, nullptr) >= 0) {
+ auto loop = std::make_unique<FFmpegDecodingLoop>(context.get());
+ stream_contexts[i] = {std::move(context), std::move(loop)};
+ found_streams = true;
+ }
+ }
+ }
+#else
return Decoder{};
});
+#endif
if (!found_streams)
return false;

View file

@ -0,0 +1,18 @@
Fix FTBFS on EL9 due to old ffmpeg-5.x
diff -up chromium-142.0.7444.59/media/filters/legacy_audio_file_reader.cc.me chromium-142.0.7444.59/media/filters/legacy_audio_file_reader.cc
--- chromium-142.0.7444.59/media/filters/legacy_audio_file_reader.cc.me 2025-11-02 08:20:16.949092776 +0100
+++ chromium-142.0.7444.59/media/filters/legacy_audio_file_reader.cc 2025-11-02 08:22:01.331132435 +0100
@@ -273,10 +273,10 @@ bool LegacyAudioFileReader::OnNewFrame(
// silence from being output. In the case where we are also discarding some
// portion of the packet (as indicated by a negative pts), we further want to
// adjust the duration downward by however much exists before zero.
- if (audio_codec_ == AudioCodec::kAAC && frame->duration) {
+ if (audio_codec_ == AudioCodec::kAAC && frame->pkt_duration) {
const base::TimeDelta pkt_duration = ConvertFromTimeBase(
UNSAFE_TODO(glue_->format_context()->streams[stream_index_])->time_base,
- frame->duration + std::min(static_cast<int64_t>(0), frame->pts));
+ frame->pkt_duration + std::min(static_cast<int64_t>(0), frame->pts));
const base::TimeDelta frame_duration =
base::Seconds(frames_read / static_cast<double>(sample_rate_));

View file

@ -0,0 +1,32 @@
commit 069d424e41f42c6f4a4551334eafc7cfaed6e880
Author: Nathan Pratta Teodosio <nathan.teodosio@canonical.com>
Date: Mon Oct 13 02:29:29 2025 -0700
Add missing include for FormFieldData type completeness.
Bug: 450752866
Change-Id: I25b2d6cd627063e006014289de68d2ecc70a2db7
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/7030724
Reviewed-by: Christoph Schwering <schwering@google.com>
Reviewed-by: Jihad Hanna <jihadghanna@google.com>
Commit-Queue: Jihad Hanna <jihadghanna@google.com>
Reviewed-by: Matthias Körber <koerber@google.com>
Cr-Commit-Position: refs/heads/main@{#1528799}
diff --git a/components/autofill/core/browser/form_parsing/autofill_scanner.h b/components/autofill/core/browser/form_parsing/autofill_scanner.h
index 844526a5f77..eab073266e8 100644
--- a/components/autofill/core/browser/form_parsing/autofill_scanner.h
+++ b/components/autofill/core/browser/form_parsing/autofill_scanner.h
@@ -10,11 +10,10 @@
#include "base/compiler_specific.h"
#include "base/containers/span.h"
#include "base/memory/raw_span.h"
+#include "components/autofill/core/common/form_field_data.h"
namespace autofill {
-class FormFieldData;
-
// A helper class for parsing a stream of |FormFieldData|'s with lookahead.
class AutofillScanner {
private:

View file

@ -0,0 +1,26 @@
diff -up chromium-142.0.7444.52/build/config/compiler/BUILD.gn.split-threshold-for-reg-with-hint chromium-142.0.7444.52/build/config/compiler/BUILD.gn
--- chromium-142.0.7444.52/build/config/compiler/BUILD.gn.split-threshold-for-reg-with-hint 2025-10-28 19:31:53.885979941 +0100
+++ chromium-142.0.7444.52/build/config/compiler/BUILD.gn 2025-10-28 19:39:50.279574752 +0100
@@ -680,22 +680,6 @@ config("compiler") {
}
}
- # TODO(crbug.com/40283598): This causes binary size growth and potentially
- # other problems.
- if (default_toolchain != "//build/toolchain/cros:target") {
- cflags += [
- "-mllvm",
- "-split-threshold-for-reg-with-hint=0",
- ]
- if (use_thin_lto && is_a_target_toolchain) {
- if (is_win) {
- ldflags += [ "-mllvm:-split-threshold-for-reg-with-hint=0" ]
- } else {
- ldflags += [ "-Wl,-mllvm,-split-threshold-for-reg-with-hint=0" ]
- }
- }
- }
-
# TODO(crbug.com/40192287): Investigate why/if this should be needed.
if (is_win) {
cflags += [ "/clang:-ffp-contract=off" ]

View file

@ -0,0 +1,38 @@
diff -up chromium-142.0.7444.52/net/filter/brotli_source_stream.cc.system-brotli chromium-142.0.7444.52/net/filter/brotli_source_stream.cc
--- chromium-142.0.7444.52/net/filter/brotli_source_stream.cc.system-brotli 2025-10-21 22:19:54.000000000 +0200
+++ chromium-142.0.7444.52/net/filter/brotli_source_stream.cc 2025-10-26 16:55:51.220605842 +0100
@@ -14,8 +14,8 @@
#include "base/metrics/histogram_macros.h"
#include "net/base/io_buffer.h"
#include "net/filter/source_stream_type.h"
-#include "third_party/brotli/include/brotli/decode.h"
-#include "third_party/brotli/include/brotli/shared_dictionary.h"
+#include <brotli/decode.h>
+#include <brotli/shared_dictionary.h>
namespace net {
diff -up chromium-142.0.7444.52/net/ssl/cert_compression.cc.system-brotli chromium-142.0.7444.52/net/ssl/cert_compression.cc
--- chromium-142.0.7444.52/net/ssl/cert_compression.cc.system-brotli 2025-10-21 22:19:54.000000000 +0200
+++ chromium-142.0.7444.52/net/ssl/cert_compression.cc 2025-10-26 16:55:51.220845216 +0100
@@ -9,7 +9,7 @@
#include "third_party/boringssl/src/include/openssl/ssl.h"
#if !defined(NET_DISABLE_BROTLI)
-#include "third_party/brotli/include/brotli/decode.h"
+#include <brotli/decode.h>
#endif
namespace net {
diff -up chromium-142.0.7444.52/ui/base/resource/resource_bundle.cc.system-brotli chromium-142.0.7444.52/ui/base/resource/resource_bundle.cc
--- chromium-142.0.7444.52/ui/base/resource/resource_bundle.cc.system-brotli 2025-10-21 22:19:54.000000000 +0200
+++ chromium-142.0.7444.52/ui/base/resource/resource_bundle.cc 2025-10-26 17:04:17.085726059 +0100
@@ -37,7 +37,7 @@
#include "build/build_config.h"
#include "net/filter/gzip_header.h"
#include "skia/ext/image_operations.h"
-#include "third_party/brotli/include/brotli/decode.h"
+#include <brotli/decode.h>
#include "third_party/skia/include/codec/SkPngRustDecoder.h"
#include "third_party/skia/include/core/SkBitmap.h"
#include "third_party/skia/include/core/SkColor.h"

View file

@ -0,0 +1,26 @@
Workaround auto darkmode issue, image are not inverted correctly in darkmode
diff -up chromium-143.0.7499.40/third_party/blink/renderer/platform/graphics/dark_mode_image_classifier.cc.than chromium-143.0.7499.40/third_party/blink/renderer/platform/graphics/dark_mode_image_classifier.cc
--- chromium-143.0.7499.40/third_party/blink/renderer/platform/graphics/dark_mode_image_classifier.cc.than 2025-12-09 12:28:52.592092242 +0100
+++ chromium-143.0.7499.40/third_party/blink/renderer/platform/graphics/dark_mode_image_classifier.cc 2025-12-09 12:42:57.776716951 +0100
@@ -276,16 +276,20 @@ DarkModeResult DarkModeImageClassifier::
float high_color_count_threshold =
kHighColorCountThreshold[features.is_colorful];
+#if 0
// Very few colors means it's not a photo, apply the filter.
if (features.color_buckets_ratio < low_color_count_threshold)
return DarkModeResult::kApplyFilter;
+#endif
// Too many colors means it's probably photorealistic, do not apply it.
if (features.color_buckets_ratio > high_color_count_threshold)
return DarkModeResult::kDoNotApplyFilter;
+#if 0
// In-between, decision tree cannot give a precise result.
return DarkModeResult::kNotClassified;
+#endif
}
} // namespace blink

View file

@ -0,0 +1,22 @@
Fix build errors:
error[E0428]: the name `__rust_alloc_error_handler_should_panic_v2` is defined multiple times
--> ../../build/rust/allocator/lib.rs:101:5
error: undefined symbol: __rust_no_alloc_shim_is_unstable
diff -up chromium-141.0.7390.37/build/rust/allocator/lib.rs.rust-no-alloc-shim-is-unstable chromium-141.0.7390.37/build/rust/allocator/lib.rs
--- chromium-141.0.7390.37/build/rust/allocator/lib.rs.rust-no-alloc-shim-is-unstable 2025-09-23 22:21:14.000000000 +0200
+++ chromium-141.0.7390.37/build/rust/allocator/lib.rs 2025-09-27 15:14:54.661952048 +0200
@@ -103,6 +103,11 @@ mod both_allocators {
#[linkage = "weak"]
static __rust_alloc_error_handler_should_panic: u8 = 0;
+ // Mangle the symbol name as rustc (1.84) expects on EL9
+ #[unsafe(no_mangle)]
+ #[linkage = "weak"]
+ static __rust_no_alloc_shim_is_unstable: u8 = 0;
+
// Mangle the symbol name as rustc expects.
#[rustc_std_internal_symbol]
#[allow(non_upper_case_globals)]

View file

@ -0,0 +1,17 @@
diff -up chromium-142.0.7444.162/build/rust/allocator/lib.rs.el9-rust_alloc_error_handler_should_panic chromium-142.0.7444.162/build/rust/allocator/lib.rs
--- chromium-142.0.7444.162/build/rust/allocator/lib.rs.el9-rust_alloc_error_handler_should_panic 2025-11-12 09:39:31.616713829 +0100
+++ chromium-142.0.7444.162/build/rust/allocator/lib.rs 2025-11-14 11:43:32.115426831 +0100
@@ -96,6 +96,13 @@ mod both_allocators {
0
}
+ // Mangle the symbol name as rustc (1.88) expects on EL9
+ #[rustc_std_internal_symbol]
+ #[linkage = "weak"]
+ fn __rust_alloc_error_handler_should_panic() -> u8 {
+ 0
+ }
+
// Mangle the symbol name as rustc (1.84) expects on EL9
#[unsafe(no_mangle)]
#[linkage = "weak"]

View file

@ -0,0 +1,73 @@
Author: <than@redhat.com>
Fix build error caused by python-3.9 on EL9
Traceback (most recent call last):
File "/builddir/build/BUILD/chromium-143.0.7499.40/out/Release/../../tools/metrics/histograms/generate_allowlist_from_histograms_file.py", line 10, in <module>
import extract_histograms
File "/builddir/build/BUILD/chromium-143.0.7499.40/tools/metrics/histograms/extract_histograms.py", line 24, in <module>
import xml_utils
File "/builddir/build/BUILD/chromium-143.0.7499.40/tools/metrics/histograms/../common/xml_utils.py", line 14, in <module>
DomTree = minidom.Element | minidom.Document
TypeError: unsupported operand type(s) for |: 'type' and 'type'
diff -up chromium-143.0.7499.40/tools/metrics/histograms/extract_histograms.py.python-3.9-ftbfs chromium-143.0.7499.40/tools/metrics/histograms/extract_histograms.py
--- chromium-143.0.7499.40/tools/metrics/histograms/extract_histograms.py.python-3.9-ftbfs 2025-11-19 22:40:05.000000000 +0100
+++ chromium-143.0.7499.40/tools/metrics/histograms/extract_histograms.py 2025-12-02 17:23:41.996802101 +0100
@@ -18,6 +18,7 @@ import re
import sys
from typing import TypedDict
import xml.dom.minidom
+from typing import Optional, Union
sys.path.append(os.path.join(os.path.dirname(__file__), '..', 'common'))
import xml_utils
@@ -84,7 +85,7 @@ class EnumDict(TypedDict, total=False):
"""A dict representing an enum."""
name: str
- type: str | None
+ type: Optional[str]
buckets: list[_BucketDict]
summary: str
@@ -108,7 +109,7 @@ def ExpandHistogramNameWithSuffixes(
suffix_name: str,
histogram_name: str,
histogram_suffixes_node: xml.dom.minidom.Element,
-) -> tuple[str | None, ExtractionErrors]:
+) -> tuple[Optional[str], ExtractionErrors]:
"""Creates a new histogram name based on a histogram suffix.
Args:
@@ -310,7 +311,7 @@ def _ExtractOwners(node: xml.dom.minidom
def _ExtractImprovementDirection(
histogram_node: xml.dom.minidom.Element,
-) -> tuple[str | None, ExtractionErrors]:
+) -> tuple[Union[str, None], ExtractionErrors]:
"""Extracts improvement direction from the given histogram element, if any.
Args:
@@ -644,7 +645,7 @@ def ExtractVariantsFromXmlTree(
return variants_dict, errors
-def _GetObsoleteReason(node: xml.dom.minidom.Element) -> str | None:
+def _GetObsoleteReason(node: xml.dom.minidom.Element) -> Optional[str]:
"""If the node's histogram is obsolete, returns a string explanation.
Otherwise, returns None.
diff -up chromium-143.0.7499.40/tools/metrics/common/xml_utils.py.than chromium-143.0.7499.40/tools/metrics/common/xml_utils.py
--- chromium-143.0.7499.40/tools/metrics/common/xml_utils.py.than 2025-12-04 17:48:11.924111675 +0100
+++ chromium-143.0.7499.40/tools/metrics/common/xml_utils.py 2025-12-04 17:49:42.451979769 +0100
@@ -11,7 +11,8 @@ from xml.dom import minidom
# The implementation of Node type is possible with extra runtime checks, however
# using a more specific type makes the intent clearer and avoids potential
# warnings about attributes like `tagName` not being present on all Node types.
-DomTree = minidom.Element | minidom.Document
+from typing import Union
+DomTree = Union[minidom.Element, minidom.Document]
_ELEMENT_NODE = minidom.Node.ELEMENT_NODE

View file

@ -0,0 +1,137 @@
commit 4f7637304eca894adf2e70078a55654a88224a30
Author: Lukasz Anforowicz <lukasza@chromium.org>
Date: Tue Sep 30 07:08:03 2025 -0700
[rust png] Reland: Reinforce `testonly`-ness of some users of `libpng`.
This reverts commit 7fa4c2d7ab42a48247ce8e0290cbb7e854990f1e and
effectively relands https://crrev.com/c/6976870. The reland is
attempted after using wildcards to cover extra gni-generated targets.
`Cq-Include-Trybots` directives in the CL description should verify
correctness of the reland. Original CL description follows:
This CL extracts a separate `third_party/libpng:libpng_for_testonly`
target which:
1) Is a `group` that proxies/forwards to the `libpng` target by listing
it as its `public_deps`
2) Has limited visibility (based on the new `libpng_testonly_visibility`
introduced in the refactored `third_party/libpng/visibility.gni`).
The new visibility is almost unchanged, except for explicitly
spelling out some targets instead of using wildcards
3) Is marked as `testonly`
Bug: 443128323
Change-Id: If7ba0d184324a5c662aaf2d52122994ea778d452
Cq-Include-Trybots: luci.chromium.try:ios-catalyst
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6991491
Auto-Submit: Łukasz Anforowicz <lukasza@chromium.org>
Commit-Queue: Łukasz Anforowicz <lukasza@chromium.org>
Reviewed-by: Nico Weber <thakis@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1522830}
diff --git a/chrome/test/BUILD.gn b/chrome/test/BUILD.gn
index a4703c3692d..2d70f7a5fe9 100644
--- a/chrome/test/BUILD.gn
+++ b/chrome/test/BUILD.gn
@@ -11152,7 +11152,7 @@ if (!is_android) {
"//testing/gtest",
"//third_party/hunspell",
"//third_party/icu",
- "//third_party/libpng",
+ "//third_party/libpng:libpng_for_testonly",
"//ui/base:test_support",
"//ui/events:test_support",
"//ui/ozone",
@@ -11512,7 +11512,7 @@ if (!is_android && !is_chromeos_device) {
"//testing/gtest",
"//third_party/hunspell",
"//third_party/icu",
- "//third_party/libpng",
+ "//third_party/libpng:libpng_for_testonly",
"//ui/base:base_interactive_ui_tests",
"//ui/base:ozone_buildflags",
"//ui/base:test_support",
@@ -12470,7 +12470,7 @@ if (!is_android) {
"//testing/gtest",
"//third_party/hunspell",
"//third_party/icu",
- "//third_party/libpng",
+ "//third_party/libpng:libpng_for_testonly",
"//ui/base:test_support",
"//ui/resources:ui_test_pak",
"//ui/views",
diff --git a/testing/libfuzzer/fuzzers/BUILD.gn b/testing/libfuzzer/fuzzers/BUILD.gn
index 7d242e177f0..1c67eee1598 100644
--- a/testing/libfuzzer/fuzzers/BUILD.gn
+++ b/testing/libfuzzer/fuzzers/BUILD.gn
@@ -104,7 +104,7 @@ fuzzer_test("libpng_progressive_read_fuzzer") {
sources = [ "libpng_read_fuzzer.cc" ]
deps = [
"//base",
- "//third_party/libpng",
+ "//third_party/libpng:libpng_for_testonly",
]
dict = "dicts/png.dict"
seed_corpuses = libpng_seed_corpuses
diff --git a/third_party/libpng/BUILD.gn b/third_party/libpng/BUILD.gn
index d4bdea1e33c..3e31348b94f 100644
--- a/third_party/libpng/BUILD.gn
+++ b/third_party/libpng/BUILD.gn
@@ -130,6 +130,14 @@ if (is_win) {
}
}
+group("libpng_for_testonly") {
+ testonly = true
+ public_deps = [ ":libpng" ]
+
+ visibility = []
+ visibility = libpng_testonly_visibility
+}
+
if (build_with_chromium) {
libpng_ossfuzz_seed_corpuses = [
"//components/test/data/viz",
diff --git a/tools/imagediff/BUILD.gn b/tools/imagediff/BUILD.gn
index d56651bedc7..2b5f3d38488 100644
--- a/tools/imagediff/BUILD.gn
+++ b/tools/imagediff/BUILD.gn
@@ -34,6 +34,7 @@ if (target_os == "win" && host_os != "win") {
# If the current toolchain is the test host toolchain, build the tool.
if (current_toolchain == imagediff_toolchain) {
executable("imagediff") {
+ testonly = true
output_name = "image_diff" # Different than dir name for historical
# reasons.
sources = [
@@ -47,7 +48,7 @@ if (current_toolchain == imagediff_toolchain) {
deps = [
"//base",
"//build/win:default_exe_manifest",
- "//third_party/libpng",
+ "//third_party/libpng:libpng_for_testonly",
"//third_party/zlib",
]
}
@@ -60,6 +61,7 @@ if (current_toolchain == imagediff_toolchain) {
} else if (current_toolchain == default_toolchain &&
default_toolchain != imagediff_toolchain) {
binary_symlink("imagediff") {
+ testonly = true
binary_label = ":$target_name($imagediff_toolchain)"
binary_output_name = "image_diff"
diff --git a/ui/gfx/BUILD.gn b/ui/gfx/BUILD.gn
index f6a40abfe99..83d8f55027a 100644
--- a/ui/gfx/BUILD.gn
+++ b/ui/gfx/BUILD.gn
@@ -906,7 +906,7 @@ test("gfx_unittests") {
"//skia:skcms",
"//testing/gtest",
"//third_party/icu:icuuc",
- "//third_party/libpng",
+ "//third_party/libpng:libpng_for_testonly",
"//third_party/zlib",
"//ui/base",
"//ui/gfx/animation",

View file

@ -0,0 +1,12 @@
diff -up chromium-143.0.7499.40/third_party/swiftshader/src/Reactor/BUILD.gn.llvm-16 chromium-143.0.7499.40/third_party/swiftshader/src/Reactor/BUILD.gn
--- chromium-143.0.7499.40/third_party/swiftshader/src/Reactor/BUILD.gn.llvm-16 2025-12-02 23:25:25.379315827 +0100
+++ chromium-143.0.7499.40/third_party/swiftshader/src/Reactor/BUILD.gn 2025-12-02 23:25:58.697291861 +0100
@@ -307,7 +307,7 @@ if (supports_subzero) {
if (supports_llvm) {
swiftshader_source_set("swiftshader_llvm_reactor") {
- llvm_dir = "../../third_party/llvm-10.0"
+ llvm_dir = "../../third_party/llvm-16.0"
deps = [
":swiftshader_reactor_base",

View file

@ -0,0 +1,66 @@
diff -up chromium-144.0.7559.31/build/config/clang/BUILD.gn.rust-clang_lib chromium-144.0.7559.31/build/config/clang/BUILD.gn
--- chromium-144.0.7559.31/build/config/clang/BUILD.gn.rust-clang_lib 2025-12-17 01:06:32.000000000 +0100
+++ chromium-144.0.7559.31/build/config/clang/BUILD.gn 2025-12-23 19:01:33.876897379 +0100
@@ -177,7 +177,21 @@ template("clang_lib") {
}
} else if (is_apple) {
_dir = "darwin"
- } else if (is_linux || is_chromeos) {
+ } else if (is_linux) {
+ if (current_cpu == "x64") {
+ _dir = "x86_64-redhat-linux-gnu"
+ } else if (current_cpu == "x86") {
+ _dir = "i386-redhat-linux-gnu"
+ } else if (current_cpu == "arm64") {
+ _dir = "aarch64-redhat-linux-gnu"
+ } else if (current_cpu == "arm") {
+ _dir = "armhf-redhat-linux-gnu"
+ } else if (current_cpu == "ppc64") {
+ _dir = "ppc64le-redhat-linux-gnu"
+ } else {
+ assert(false) # Unhandled cpu type
+ }
+ } else if (is_chromeos) {
if (current_cpu == "x64") {
_dir = "x86_64-unknown-linux-gnu"
} else if (current_cpu == "x86") {
diff -up chromium-144.0.7559.31/build/rust/rust_bindgen_generator.gni.rust-clang_lib chromium-144.0.7559.31/build/rust/rust_bindgen_generator.gni
--- chromium-144.0.7559.31/build/rust/rust_bindgen_generator.gni.rust-clang_lib 2025-12-17 01:06:32.000000000 +0100
+++ chromium-144.0.7559.31/build/rust/rust_bindgen_generator.gni 2025-12-23 19:21:34.335924481 +0100
@@ -26,14 +26,14 @@ if (!use_chromium_rust_toolchain &&
# On Windows, the libclang.dll is beside the bindgen.exe, otherwise it is in
# ../lib.
-_libclang_path = rust_bindgen_root
+_libclang_path = clang_base_path
if (!use_chromium_rust_toolchain &&
(host_cpu == "ppc64" || host_cpu == "s390x")) {
_libclang_path = rust_sysroot_absolute + "/lib64"
} else if (host_os == "win") {
_libclang_path += "/bin"
} else {
- _libclang_path += "/lib"
+ _libclang_path += "/lib64"
}
# Template to build Rust/C bindings with bindgen.
diff -up chromium-144.0.7559.31/build/rust/rust_bindgen.gni.rust-clang_lib chromium-144.0.7559.31/build/rust/rust_bindgen.gni
--- chromium-144.0.7559.31/build/rust/rust_bindgen.gni.rust-clang_lib 2025-12-17 01:06:32.000000000 +0100
+++ chromium-144.0.7559.31/build/rust/rust_bindgen.gni 2025-12-23 19:22:12.089755683 +0100
@@ -19,14 +19,14 @@ if (host_os == "win") {
# On Windows, the libclang.dll is beside the bindgen.exe, otherwise it is in
# ../lib.
-_libclang_path = rust_bindgen_root
+_libclang_path = clang_base_path
if (!use_chromium_rust_toolchain &&
(current_cpu == "ppc64" || current_cpu == "s390x")) {
_libclang_path = rust_sysroot_absolute + "/lib64"
} else if (host_os == "win") {
_libclang_path += "/bin"
} else {
- _libclang_path += "/lib"
+ _libclang_path += "/lib64"
}
# Template to build Rust/C bindings with bindgen.

View file

@ -0,0 +1,16 @@
diff -up chromium-144.0.7559.31/build/rust/std/BUILD.gn.than chromium-144.0.7559.31/build/rust/std/BUILD.gn
--- chromium-144.0.7559.31/build/rust/std/BUILD.gn.than 2025-12-26 15:06:36.274081861 +0100
+++ chromium-144.0.7559.31/build/rust/std/BUILD.gn 2025-12-26 16:11:45.697054423 +0100
@@ -55,11 +55,7 @@ if (toolchain_has_rust) {
"miniz_oxide",
"object",
]
- if (rustc_nightly_capability) {
- stdlib_files += [ "adler2" ]
- } else {
- stdlib_files += [ "adler" ]
- }
+ stdlib_files += [ "adler2" ]
}
if (toolchain_for_rust_host_build_tools) {

View file

@ -0,0 +1,20 @@
diff -up chromium-98.0.4758.102/remoting/BUILD.gn.remoting-no-tests chromium-98.0.4758.102/remoting/BUILD.gn
--- chromium-98.0.4758.102/remoting/BUILD.gn.remoting-no-tests 2022-02-28 19:15:23.835872267 +0000
+++ chromium-98.0.4758.102/remoting/BUILD.gn 2022-03-01 17:55:50.625536957 +0000
@@ -8,7 +8,7 @@ import("//remoting/build/config/remoting
group("remoting_all") {
testonly = true
- deps = [ ":remoting_unittests" ]
+ deps = [ ]
if (is_win) {
deps += [
@@ -37,7 +37,6 @@ group("remoting_all") {
if (enable_remoting_host) {
deps += [
- ":remoting_perftests",
"//remoting/host",
]

View file

@ -0,0 +1,36 @@
<!-- Copyright 2017 The Chromium Authors -->
<?xml version="1.0" encoding="UTF-8"?>
<component type="desktop">
<id>chromium-browser.desktop</id>
<update_contact>chromium-dev@chromium.org</update_contact>
<metadata_license>CC0-1.0</metadata_license>
<project_license>BSD-3-Clause and LGPL-2.1+ and Apache-2.0 and IJG and MIT and GPL-2.0+ and ISC and OpenSSL and (MPL-1.1 or GPL-2.0 or LGPL-2.0)</project_license>
<name>Chromium Web Browser</name>
<summary>The web browser from Chromium project</summary>
<description>
<p>
Chromium is an open-source browser project that aims to build a safer, faster,
and more stable way to experience the web.
</p>
<p>
We invite you to join our effort to build a powerful platform for developing a
new generation of web applications.
</p>
<p>
Chromium supports Vorbis, Theora, WebM and HTML5 audio and video standards, but
does not include the non-free AAC, H.264, MP3 or Adobe Flash code that is found
in Chrome.
</p>
</description>
<url type="homepage">https://www.chromium.org/Home</url>
<screenshots>
<screenshot type="default">
<image>https://www.gstatic.com/chrome/appstream/chrome-2.png</image>
<caption/>
</screenshot>
</screenshots>
<translation/>
<developer_name>The Chromium Authors</developer_name>
<url type="bugtracker">https://www.chromium.org/for-testers/bug-reporting-guidelines</url>
<url type="help">https://chromium.googlesource.com/chromium/src/+/main/docs/linux/debugging.md</url>
</component>

356
chromium-browser.desktop Normal file
View file

@ -0,0 +1,356 @@
[Desktop Entry]
Version=1.0
Name=Chromium Web Browser
Name[ast]=Restolador web Chromium
Name[ca]=Navegador web Chromium
Name[de]=Chromium-Webbrowser
Name[es]=Navegador web Chromium
Name[fr]=Navigateur Web Chromium
Name[gl]=Navegador web Chromium
Name[he]=דפדפן האינטרנט Chromium
Name[hr]=Chromium web preglednik
Name[hu]=Chromium webböngésző
Name[id]=Peramban Web Chromium
Name[it]=Browser web Chromium
Name[ja]=Chromium
Name[ko]=Chromium
Name[pt_BR]=Chromium Navegador da Internet
Name[ru]=Веб-браузер Chromium
Name[sl]=Chromium spletni brskalnik
Name[sv]=Webbläsaren Chromium
Name[ug]=Chromium توركۆرگۈ
Name[zh_CN]=Chromium
Name[zh_HK]=Chromium
Name[zh_TW]=Chromium
Comment=Access the Internet
Comment[ar]=الدخول إلى الإنترنت
Comment[ast]=Accesu a Internet
Comment[bg]=Достъп до интернет
Comment[bn]=ি
Comment[ca]=Accediu a Internet
Comment[cs]=Přístup k internetu
Comment[da]=Få adgang til internettet
Comment[de]=Internetzugriff
Comment[el]=Πρόσβαση στο Διαδίκτυο
Comment[en_GB]=Access the Internet
Comment[es]=Acceda a Internet
Comment[et]=Pääs Internetti
Comment[fi]=Käytä internetiä
Comment[fil]=I-access ang Internet
Comment[fr]=Explorer le Web
Comment[gl]=Acceda a Internet
Comment[gu]=
Comment[he]=גישה לאינטרנט
Comment[hi]= ि
Comment[hr]=Pristupite Internetu
Comment[hu]=Az internet elérése
Comment[id]=Akses Internet
Comment[it]=Accesso a Internet
Comment[ja]=
Comment[kn]= ಿಿs
Comment[ko]=
Comment[lt]=Interneto prieiga
Comment[lv]=Piekļūt internetam
Comment[ml]=
Comment[mr]=
Comment[nb]=Gå til Internett
Comment[nl]=Verbinding maken met internet
Comment[or]=
Comment[pl]=Skorzystaj z internetu
Comment[pt]=Aceder à Internet
Comment[pt_BR]=Acessar a internet
Comment[ro]=Accesaţi Internetul
Comment[ru]=Доступ в Интернет
Comment[sk]=Prístup do siete Internet
Comment[sl]=Dostop do interneta
Comment[sr]=Приступите Интернету
Comment[sv]=Surfa på Internet
Comment[ta]=
Comment[te]= ి
Comment[th]=
Comment[tr]=İnternet'e erişin
Comment[ug]=ئىنتېرنېتنى زىيارەت قىلىش
Comment[uk]=Доступ до Інтернету
Comment[vi]=Truy cp Internet
Comment[zh_CN]=访
Comment[zh_HK]=
Comment[zh_TW]=
GenericName=Web Browser
GenericName[ar]=متصفح الشبكة
GenericName[ast]=Restolador web
GenericName[bg]=Уеб браузър
GenericName[bn]=
GenericName[ca]=Navegador web
GenericName[cs]=WWW prohlížeč
GenericName[da]=Browser
GenericName[de]=Web-Browser
GenericName[el]=Περιηγητής ιστού
GenericName[en_GB]=Web Browser
GenericName[es]=Navegador web
GenericName[et]=Veebibrauser
GenericName[fi]=WWW-selain
GenericName[fil]=Web Browser
GenericName[fr]=Navigateur Web
GenericName[gl]=Navegador web
GenericName[gu]=
GenericName[he]=דפדפן אינטרנט
GenericName[hi]=
GenericName[hr]=Web preglednik
GenericName[hu]=Webböngésző
GenericName[id]=Peramban Web
GenericName[it]=Browser web
GenericName[ja]=
GenericName[kn]=
GenericName[ko]=
GenericName[lt]=Žiniatinklio naršyklė
GenericName[lv]=Tīmekļa pārlūks
GenericName[ml]=
GenericName[mr]=
GenericName[nb]=Nettleser
GenericName[nl]=Webbrowser
GenericName[or]=
GenericName[pl]=Przeglądarka WWW
GenericName[pt]=Navegador Web
GenericName[pt_BR]=Navegador da Internet
GenericName[ro]=Navigator de Internet
GenericName[ru]=Веб-браузер
GenericName[sk]=WWW prehliadač
GenericName[sl]=Spletni brskalnik
GenericName[sr]=Интернет прегледник
GenericName[sv]=Webbläsare
GenericName[ta]= ி
GenericName[te]= ి
GenericName[th]=
GenericName[tr]=Web Tarayıcı
GenericName[ug]=توركۆرگۈ
GenericName[uk]=Навігатор Тенет
GenericName[vi]=B duyt Web
GenericName[zh_CN]=
GenericName[zh_HK]=
GenericName[zh_TW]=
Exec=/usr/bin/chromium-browser %U
Terminal=false
X-MultipleArgs=false
Type=Application
Icon=chromium-browser
Categories=Network;WebBrowser;
MimeType=application/pdf;application/rdf+xml;application/rss+xml;application/xhtml+xml;application/xhtml_xml;application/xml;image/gif;image/jpeg;image/png;image/webp;text/html;text/xml;x-scheme-handler/http;x-scheme-handler/https;
StartupWMClass=Chromium-browser
Keywords=web;browser;internet;
Actions=new-window;new-private-window;
[Desktop Action new-window]
Name=Open a New Window
Name[ach]=Dirica manyen
Name[af]=Nuwe venster
Name[an]=Nueva finestra
Name[ar]=نافذة جديدة
Name[as]=
Name[ast]=Ventana nueva
Name[az]=Yeni Pəncərə
Name[be]=Новае акно
Name[bg]=Нов прозорец
Name[bn_BD]= (N)
Name[bn_IN]=
Name[br]=Prenestr nevez
Name[brx]= '(N)
Name[bs]=Novi prozor
Name[ca]=Finestra nova
Name[cak]=K'ak'a' tzuwäch
Name[cs]=Nové okno
Name[cy]=Ffenestr Newydd
Name[da]=Nyt vindue
Name[de]=Neues Fenster
Name[dsb]=Nowe wokno
Name[el]=Νέο παράθυρο
Name[en_GB]=New Window
Name[en_US]=New Window
Name[en_ZA]=New Window
Name[eo]=Nova fenestro
Name[es_AR]=Nueva ventana
Name[es_CL]=Nueva ventana
Name[es_ES]=Nueva ventana
Name[es_MX]=Nueva ventana
Name[et]=Uus aken
Name[eu]=Leiho berria
Name[fa]=پنجره جدید
Name[ff]=Henorde Hesere
Name[fi]=Uusi ikkuna
Name[fr]=Nouvelle fenêtre
Name[fy_NL]=Nij finster
Name[ga_IE]=Fuinneog Nua
Name[gd]=Uinneag ùr
Name[gl]=Nova xanela
Name[gn]=Ovetã pyahu
Name[gu_IN]= િ
Name[he]=חלון חדש
Name[hi_IN]= ि
Name[hr]=Novi prozor
Name[hsb]=Nowe wokno
Name[hu]=Új ablak
Name[hy_AM]=Նոր Պատուհան
Name[id]=Jendela Baru
Name[is]=Nýr gluggi
Name[it]=Nuova finestra
Name[ja]=
Name[ja_JP@mac]=
Name[ka]=
Name[kk]=Жаңа терезе
Name[km]=
Name[kn]= ಿಿ
Name[ko]=
Name[kok]=
Name[ks]=نئئ وِنڈو
Name[lij]=Neuvo barcon
Name[lo]=
Name[lt]=Naujas langas
Name[ltg]=Jauns lūgs
Name[lv]=Jauns logs
Name[mai]= ि
Name[mk]=Нов прозорец
Name[ml]=ി
Name[mr]=
Name[ms]=Tetingkap Baru
Name[my]=
Name[nb_NO]=Nytt vindu
Name[ne_NP]=
Name[nl]=Nieuw venster
Name[nn_NO]=Nytt vindauge
Name[or]= ି
Name[pa_IN]= ਿ
Name[pl]=Nowe okno
Name[pt_BR]=Nova janela
Name[pt_PT]=Nova janela
Name[rm]=Nova fanestra
Name[ro]=Fereastră nouă
Name[ru]=Новое окно
Name[sat]= ि (N)
Name[si]=
Name[sk]=Nové okno
Name[sl]=Novo okno
Name[son]=Zanfun taaga
Name[sq]=Dritare e Re
Name[sr]=Нови прозор
Name[sv_SE]=Nytt fönster
Name[ta]=ி
Name[te]= ి
Name[th]=
Name[tr]=Yeni pencere
Name[tsz]=Eraatarakua jimpani
Name[uk]=Нове вікно
Name[ur]=نیا دریچہ
Name[uz]=Yangi oyna
Name[vi]=Ca s mi
Name[wo]=Palanteer bu bees
Name[xh]=Ifestile entsha
Name[zh_CN]=
Name[zh_TW]=
Exec=chromium-browser %U
[Desktop Action new-private-window]
Name=Open a New Private Window
Name[ach]=Dirica manyen me mung
Name[af]=Nuwe privaatvenster
Name[an]=Nueva finestra privada
Name[ar]=نافذة خاصة جديدة
Name[as]= ি
Name[ast]=Ventana privada nueva
Name[az]=Yeni Məxfi Pəncərə
Name[be]=Новае акно адасаблення
Name[bg]=Нов прозорец за поверително сърфиране
Name[bn_BD]= ি
Name[bn_IN]= ি
Name[br]=Prenestr merdeiñ prevez nevez
Name[brx]= '
Name[bs]=Novi privatni prozor
Name[ca]=Finestra privada nova
Name[cak]=K'ak'a' ichinan tzuwäch
Name[cs]=Nové anonymní okno
Name[cy]=Ffenestr Breifat Newydd
Name[da]=Nyt privat vindue
Name[de]=Neues privates Fenster
Name[dsb]=Nowe priwatne wokno
Name[el]=Νέο παράθυρο ιδιωτικής περιήγησης
Name[en_GB]=New Private Window
Name[en_US]=New Private Window
Name[en_ZA]=New Private Window
Name[eo]=Nova privata fenestro
Name[es_AR]=Nueva ventana privada
Name[es_CL]=Nueva ventana privada
Name[es_ES]=Nueva ventana privada
Name[es_MX]=Nueva ventana privada
Name[et]=Uus privaatne aken
Name[eu]=Leiho pribatu berria
Name[fa]=پنجره ناشناس جدید
Name[ff]=Henorde Suturo Hesere
Name[fi]=Uusi yksityinen ikkuna
Name[fr]=Nouvelle fenêtre de navigation privée
Name[fy_NL]=Nij priveefinster
Name[ga_IE]=Fuinneog Nua Phríobháideach
Name[gd]=Uinneag phrìobhaideach ùr
Name[gl]=Nova xanela privada
Name[gn]=Ovetã ñemi pyahu
Name[gu_IN]= િ
Name[he]=חלון פרטי חדש
Name[hi-IN]= ि ि
Name[hr]=Novi privatni prozor
Name[hsb]=Nowe priwatne wokno
Name[hu]=Új privát ablak
Name[hy_AM]=Սկսել Գաղտնի դիտարկում
Name[id]=Jendela Mode Pribadi Baru
Name[is]=Nýr huliðsgluggi
Name[it]=Nuova finestra anonima
Name[ja]=
Name[ja_JP@mac]=
Name[ka]=
Name[kk]=Жаңа жекелік терезе
Name[km]=
Name[kn]= ಿ ಿಿ
Name[ko]=
Name[kok]= ि
Name[ks]=نْو پرایوٹ وینڈو&amp;
Name[lij]=Neuvo barcon privou
Name[lo]=
Name[lt]=Naujas privataus naršymo langas
Name[ltg]=Jauns privatais lūgs
Name[lv]=Jauns privātais logs
Name[mai]= ि ि (W)
Name[mk]=Нов приватен прозорец
Name[ml]=ി
Name[mr]= ि
Name[ms]=Tetingkap Persendirian Baharu
Name[my]=New Private Window
Name[nb_NO]=Nytt privat vindu
Name[ne_NP]= ि
Name[nl]=Nieuw privévenster
Name[nn_NO]=Nytt privat vindauge
Name[or]= ି ି
Name[pa_IN]= ਿ
Name[pl]=Nowe okno prywatne
Name[pt_BR]=Nova janela privativa
Name[pt_PT]=Nova janela privada
Name[rm]=Nova fanestra privata
Name[ro]=Fereastră privată nouă
Name[ru]=Новое приватное окно
Name[sat]= ि ि (W )
Name[si]= (W)
Name[sk]=Nové okno v režime Súkromné prehliadanie
Name[sl]=Novo zasebno okno
Name[son]=Sutura zanfun taaga
Name[sq]=Dritare e Re Private
Name[sr]=Нови приватан прозор
Name[sv_SE]=Nytt privat fönster
Name[ta]=ி ி
Name[te]= ి ి
Name[th]=
Name[tr]=Yeni gizli pencere
Name[tsz]=Juchiiti eraatarakua jimpani
Name[uk]=Приватне вікно
Name[ur]=نیا نجی دریچہ
Name[uz]=Yangi maxfiy oyna
Name[vi]=Ca s riêng tư mi
Name[wo]=Panlanteeru biir bu bees
Name[xh]=Ifestile yangasese entsha
Name[zh_CN]=
Name[zh_TW]=
Exec=chromium-browser --incognito %U

51
chromium-browser.sh Executable file
View file

@ -0,0 +1,51 @@
#!/bin/bash
#
# Copyright (c) 2011 The Chromium Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
# Let the wrapped binary know that it has been run through the wrapper.
export CHROME_WRAPPER="`readlink -f "$0"`"
HERE="`dirname "$CHROME_WRAPPER"`"
# We include some xdg utilities next to the binary, and we want to prefer them
# over the system versions when we know the system versions are very old. We
# detect whether the system xdg utilities are sufficiently new to be likely to
# work for us by looking for xdg-settings. If we find it, we leave $PATH alone,
# so that the system xdg utilities (including any distro patches) will be used.
if ! which xdg-settings &> /dev/null; then
# Old xdg utilities. Prepend $HERE to $PATH to use ours instead.
export PATH="$HERE:$PATH"
else
# Use system xdg utilities. But first create mimeapps.list if it doesn't
# exist; some systems have bugs in xdg-mime that make it fail without it.
xdg_app_dir="${XDG_DATA_HOME:-$HOME/.local/share/applications}"
mkdir -p "$xdg_app_dir"
[ -f "$xdg_app_dir/mimeapps.list" ] || touch "$xdg_app_dir/mimeapps.list"
fi
export CHROME_VERSION_EXTRA="Built from source for @@BUILD_TARGET@@"
# We don't want bug-buddy intercepting our crashes. http://crbug.com/24120
export GNOME_DISABLE_CRASH_DIALOG=SET_BY_GOOGLE_CHROME
# Allow users to override command-line options and prefer user defined
# CHROMIUM_USER_FLAGS from env over system wide CHROMIUM_FLAGS
[[ -f /etc/chromium/chromium.conf ]] && . /etc/chromium/chromium.conf
CHROMIUM_FLAGS=${CHROMIUM_USER_FLAGS:-$CHROMIUM_FLAGS}
CHROMIUM_DISTRO_FLAGS=" --enable-plugins \
--enable-extensions \
--enable-user-scripts \
--enable-printing \
--enable-sync \
--auto-ssl-client-auth @@EXTRA_FLAGS@@"
# Sanitize std{in,out,err} because they'll be shared with untrusted child
# processes (http://crbug.com/376567).
exec < /dev/null
exec > >(exec cat)
exec 2> >(exec cat >&2)
exec -a "$0" "$HERE/chromium-browser" $CHROMIUM_FLAGS $CHROMIUM_DISTRO_FLAGS "$@"

16
chromium-browser.xml Normal file
View file

@ -0,0 +1,16 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE default-apps SYSTEM "gnome-da-list.dtd">
<default-apps>
<web-browsers>
<web-browser>
<name>Chromium</name>
<executable>chromium-browser</executable>
<command>/usr/bin/chromium-browser %s</command>
<icon-name>chromium-browser</icon-name>
<run-in-terminal>false</run-in-terminal>
<netscape-remote>true</netscape-remote>
<tab-command>/usr/bin/chromium-browser %s</tab-command>
<win-command>/usr/bin/chromium-browser --new-window %s</win-command>
</web-browser>
</web-browsers>
</default-apps>

View file

@ -0,0 +1,26 @@
description: disable building font tests
author: Michael Gilbert <mgilbert@debian.org>
--- a/skia/BUILD.gn
+++ b/skia/BUILD.gn
@@ -860,7 +860,7 @@ group("test_fonts_resources") {
if (is_apple) {
deps += [ ":test_fonts_bundle_data" ]
data_deps += [ ":test_fonts_bundle_data" ]
- } else {
+ } else if (false) {
deps += [ "//third_party/test_fonts" ]
data_deps += [ "//third_party/test_fonts" ]
}
--- a/third_party/test_fonts/fontconfig/BUILD.gn
+++ b/third_party/test_fonts/fontconfig/BUILD.gn
@@ -8,9 +8,7 @@ if (is_linux || is_chromeos) {
group("test_support") {
testonly = true
public_deps = [ ":fontconfig_util_linux" ]
- data_deps = [ "//third_party/test_fonts" ]
if (current_toolchain == host_toolchain) {
- data_deps += [ ":do_generate_fontconfig_caches" ]
}
}

View file

@ -0,0 +1,12 @@
diff -up chromium-140.0.7339.80/media/filters/ffmpeg_video_decoder.cc.me chromium-140.0.7339.80/media/filters/ffmpeg_video_decoder.cc
--- chromium-140.0.7339.80/media/filters/ffmpeg_video_decoder.cc.me 2025-09-05 02:43:56.666833745 +0200
+++ chromium-140.0.7339.80/media/filters/ffmpeg_video_decoder.cc 2025-09-05 03:09:01.121397898 +0200
@@ -486,7 +486,7 @@ bool FFmpegVideoDecoder::ConfigureDecode
codec_context_->opaque = this;
codec_context_->get_buffer2 = GetVideoBufferImpl;
- codec_context_->flags |= AV_CODEC_FLAG_COPY_OPAQUE;
+ //codec_context_->flags |= AV_CODEC_FLAG_COPY_OPAQUE;
if (decode_nalus_) {
codec_context_->flags2 |= AV_CODEC_FLAG2_CHUNKS;

371
chromium-latest.py Executable file
View file

@ -0,0 +1,371 @@
#!/usr/bin/python3
# Copyright 2021-2025, Than Ngo <than@redhat.com>
# Copyright 2010,2015-2019 Tom Callaway <tcallawa@redhat.com>
# Copyright 2013-2016 Tomas Popela <tpopela@redhat.com>
# Permission is hereby granted, free of charge, to any person obtaining
# a copy of this software and associated documentation files (the
# "Software"), to deal in the Software without restriction, including
# without limitation the rights to use, copy, modify, merge, publish,
# distribute, sublicense, and/or sell copies of the Software, and to
# permit persons to whom the Software is furnished to do so, subject to
# the following conditions:
#
# The above copyright notice and this permission notice shall be included
# in all copies or substantial portions of the Software.
#
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
# EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
# MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
# IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
# CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
# TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
# SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
try:
import argparse
optparse = False
except ImportError:
from optparse import OptionParser
optparse = True
import csv
import glob
import hashlib
import locale
import os
import shutil
import io
import sys
import urllib.request, urllib.parse, urllib.error
chromium_url = "http://commondatastorage.googleapis.com/chromium-browser-official/"
chromium_root_dir = "."
version_string = "stable"
name = 'Chromium Latest'
script_version = 0.9
my_description = '{0} {1}'.format(name, script_version)
def dlProgress(count, blockSize, totalSize):
if (totalSize <= blockSize):
percent = int(count * 100)
else:
percent = int(count * blockSize * 100 / totalSize)
sys.stdout.write("\r" + "Downloading ... %d%%" % percent)
sys.stdout.flush()
def delete_chromium_dir(ch_dir):
full_dir = "%s/%s" % (latest_dir, ch_dir)
print('Deleting %s ' % full_dir)
if os.path.isdir(full_dir):
shutil.rmtree(full_dir)
print('[DONE]')
else:
print('[NOT FOUND]')
def delete_chromium_files(files):
full_path = "%s/%s" % (latest_dir, files)
print('Deleting ' + full_path + ' ', end=' ')
for filename in glob.glob(full_path):
if os.path.isfile(filename):
os.remove(filename)
print('[DONE]')
else:
print('[NOT FOUND]')
def check_omahaproxy(channel="stable"):
version = 0
status_url = "http://omahaproxy.appspot.com/all?os=linux&channel=" + channel
usock = urllib.request.urlopen(status_url)
status_dump = usock.read().decode('utf-8')
usock.close()
status_list = io.StringIO(status_dump)
status_reader = list(csv.reader(status_list, delimiter=','))
linux_channels = [s for s in status_reader if "linux" in s]
linux_channel = [s for s in linux_channels if channel in s]
version = linux_channel[0][2]
if version == 0:
print('I could not find the latest %s build. Bailing out.' % channel)
sys.exit(1)
else:
print('Latest Chromium Version on %s at %s is %s' % (channel, status_url, version))
return version
def remove_file_if_exists(filename):
if os.path.isfile("./%s" % filename):
try:
os.remove(filename)
except Exception:
pass
def download_file_and_compare_hashes(file_to_download):
hashes_file = '%s.hashes' % file_to_download
if (args.clean):
remove_file_if_exists(file_to_download)
remove_file_if_exists(hashes_file)
# Let's make sure we haven't already downloaded it.
tarball_local_file = "./%s" % file_to_download
if os.path.isfile(tarball_local_file):
print("%s already exists!" % file_to_download)
else:
path = '%s%s' % (chromium_url, file_to_download)
print("Downloading %s" % path)
# Perhaps look at using python-progressbar at some point?
info=urllib.request.urlretrieve(path, file_to_download, reporthook=dlProgress)[1]
urllib.request.urlcleanup()
print("")
if (info["Content-Type"] != "application/x-tar"):
print('Chromium tarballs for %s are not on servers.' % file_to_download)
remove_file_if_exists (file_to_download)
sys.exit(1)
hashes_local_file = "./%s" % hashes_file
if not os.path.isfile(hashes_local_file):
path = '%s%s' % (chromium_url, hashes_file)
print("Downloading %s" % path)
# Perhaps look at using python-progressbar at some point?
info=urllib.request.urlretrieve(path, hashes_file, reporthook=dlProgress)[1]
urllib.request.urlcleanup()
print("")
if os.path.isfile(hashes_local_file):
with open(hashes_local_file, "r") as input_file:
md5sum = input_file.readline().split()[1]
md5 = hashlib.md5()
with open(tarball_local_file, "rb") as f:
for block in iter(lambda: f.read(65536), b""):
md5.update(block)
if (md5sum == md5.hexdigest()):
print("MD5 matches for %s!" % file_to_download)
else:
print("MD5 mismatch for %s!" % file_to_download)
sys.exit(1)
else:
print("Cannot compare hashes for %s!" % file_to_download)
def download_version(version):
download_file_and_compare_hashes ('chromium-%s.tar.xz' % version)
if (args.tests):
download_file_and_compare_hashes ('chromium-%s-testdata.tar.xz' % version)
def nacl_versions(version):
if sys.version_info[0] == 2 and sys.version_info[1] == 6:
return
myvars = {}
chrome_dir = './chromium-%s' % version
with open(chrome_dir + "/native_client/tools/REVISIONS") as myfile:
for line in myfile:
name, var = line.partition("=")[::2]
myvars[name] = var
print("nacl-binutils commit: %s" % myvars["NACL_BINUTILS_COMMIT"])
print("nacl-gcc commit: %s" % myvars["NACL_GCC_COMMIT"])
print("nacl-newlib commit: %s" % myvars["NACL_NEWLIB_COMMIT"])
# Parse GIT_REVISIONS dict from toolchain_build.py
sys.path.append(os.path.abspath(chrome_dir + "/native_client/toolchain_build"))
from toolchain_build import GIT_REVISIONS
print("nacl-arm-binutils commit: %s" % GIT_REVISIONS['binutils']['rev'])
print("nacl-arm-gcc commit: %s" % GIT_REVISIONS['gcc']['rev'])
def download_chrome_latest_rpm(arch):
chrome_rpm = 'google-chrome-%s_current_%s.rpm' % (version_string, arch)
path = 'https://dl.google.com/linux/direct/%s' % chrome_rpm
if (args.clean):
remove_file_if_exists(chrome_rpm)
# Let's make sure we haven't already downloaded it.
if os.path.isfile("./%s" % chrome_rpm):
print("%s already exists!" % chrome_rpm)
else:
print("Downloading %s" % path)
# Perhaps look at using python-progressbar at some point?
info=urllib.request.urlretrieve(path, chrome_rpm, reporthook=dlProgress)[1]
urllib.request.urlcleanup()
print("")
if (info["Content-Type"] != "binary/octet-stream" and info["Content-Type"] != "application/x-redhat-package-manager"):
print('Chrome %s rpms are not on servers.' % version_string)
remove_file_if_exists (chrome_rpm)
sys.exit(1)
# This is where the magic happens
if __name__ == '__main__':
# Locale magic
locale.setlocale(locale.LC_ALL, '')
# Create the parser object
if optparse:
parser = OptionParser(description=my_description)
parser_add_argument = parser.add_option
else:
parser = argparse.ArgumentParser(description=my_description)
parser_add_argument = parser.add_argument
parser_add_argument(
'--ffmpegarm', action='store_true',
help='Leave arm sources when cleaning ffmpeg')
parser_add_argument(
'--beta', action='store_true',
help='Get the latest beta Chromium source')
parser_add_argument(
'--clean', action='store_true',
help='Re-download all previously downloaded sources')
parser_add_argument(
'--cleansources', action='store_true',
help='Get the latest Chromium release from given channel and clean various directories to from unnecessary or unwanted stuff')
parser_add_argument(
'--dev', action='store_true',
help='Get the latest dev Chromium source')
parser_add_argument(
'--ffmpegclean', action='store_true',
help='Get the latest Chromium release from given channel and cleans ffmpeg sources from proprietary stuff')
parser_add_argument(
'--ffmpegremove', action='store_true',
help='Get the latest Chromium release from given channel and remove ffmpeg sources')
parser_add_argument(
'--chrome', action='store_true',
help='Get the latest Chrome rpms for the given channel')
parser_add_argument(
'--prep', action='store_true',
help='Prepare everything, but don\'t compress the result')
parser_add_argument(
'--stable', action='store_true',
help='Get the latest stable Chromium source')
parser_add_argument(
'--tests', action='store_true',
help='Get the additional data for running tests')
parser_add_argument(
'--version',
help='Download a specific version of Chromium')
parser_add_argument(
'--naclvers',
help='Display the commit versions of nacl toolchain components')
# Parse the args
if optparse:
args, options = parser.parse_args()
else:
args = parser.parse_args()
if args.stable:
version_string = "stable"
elif args.beta:
version_string = "beta"
elif args.dev:
version_string = "dev"
elif (not (args.stable or args.beta or args.dev)):
if (not args.version):
print('No version specified, downloading STABLE')
args.stable = True
chromium_version = args.version if args.version else check_omahaproxy(version_string)
if args.dev:
version_string = "unstable"
if args.chrome:
if args.version:
print('You cannot specify a Chrome RPM version!')
sys.exit(1)
latest = 'google-chrome-%s_current_i386' % version_string
download_chrome_latest_rpm("i386")
latest = 'google-chrome-%s_current_x86_64' % version_string
download_chrome_latest_rpm("x86_64")
if (not (args.ffmpegclean or args.tests)):
sys.exit(0)
latest = 'chromium-%s.tar.xz' % chromium_version
download_version(chromium_version)
# Lets make sure we haven't unpacked it already
latest_dir = "%s/chromium-%s" % (chromium_root_dir, chromium_version)
if (args.clean and os.path.isdir(latest_dir)):
shutil.rmtree(latest_dir)
if os.path.isdir(latest_dir):
print("%s already exists, perhaps %s has already been unpacked?" % (latest_dir, latest))
else:
print("Unpacking %s into %s, please wait." % (latest, latest_dir))
if (os.system("tar -xJf %s" % latest) != 0):
print("%s is possibly corrupted, exiting." % (latest))
sys.exit(1)
if (args.naclvers):
nacl_versions(chromium_version)
if (args.cleansources):
junk_dirs = ['build/linux/debian_bullseye_amd64-sysroot',
'build/linux/debian_bullseye_i386-sysroot',
'third_party/node/linux/node-linux-x64',
'third_party/rust-toolchain',
'third_party/rust-src',
'third_party/devtools-frontend/src/third_party/esbuild',
'third_party/enterprise_companion/chromium_linux64',
'third_party/enterprise_companion/chromium_mac_amd64',
'third_party/enterprise_companion/chromium_mac_arm64',
'third_party/enterprise_companion/chromium_win_x86',
'third_party/enterprise_companion/chromium_win_x86_64']
junk_files = ['third_party/node/linux/node-linux-x64.tar.gz',
'buildtools/third_party/eu-strip/bin/eu-strip',
'buildtools/linux64/gn']
# First, the dirs:
for directory in junk_dirs:
delete_chromium_dir(directory)
# Remove junk files
for file in junk_files:
delete_chromium_files(file)
# There has got to be a better, more portable way to do this.
os.system("find %s -depth -name reference_build -type d -exec rm -rf {} \\;" % latest_dir)
# I could not find good bindings for xz/lzma support, so we system call here too.
chromium_clean_xz_file = "chromium-" + chromium_version + "-clean.tar.xz"
remove_file_if_exists(chromium_clean_xz_file)
if (args.ffmpegclean):
print("Cleaning ffmpeg from proprietary things...")
os.system("./clean_ffmpeg.sh %s %d" % (latest_dir, 0 if args.ffmpegarm else 1))
print("Cleaning openh264 from proprietary things...")
os.system("find %s/third_party/openh264/* -type d | xargs rm -rf" % latest_dir)
print("Done!")
if (args.ffmpegremove):
print("Removing ffmpeg source...")
os.system("find %s/third_party/ffmpeg/* -type d | xargs rm -rf" % latest_dir)
print("Cleaning openh264 from proprietary things...")
os.system("find %s/third_party/openh264/* -type d | xargs rm -rf" % latest_dir)
print("Done!")
if (not args.prep):
print("Compressing cleaned tree, please wait...")
os.chdir(chromium_root_dir)
os.system("tar --exclude=\\.svn -cf - chromium-%s | xz -6 -T0 -f > %s" % (chromium_version, chromium_clean_xz_file))
print("Finished!")

72
chromium.conf Normal file
View file

@ -0,0 +1,72 @@
# system wide chromium flags
ARCH="$(arch)"
MODE="$(systemd-detect-virt)"
# GRAPHIC_DRIVER=[amd|intel|nvidia|default]
GRAPHIC_DRIVER=default
# WEB_AUTO_DARKMODE_WEBCONTENT=[on|off]
WEB_AUTO_DARKMODE_WEBCONTENT=off
# NATIVE_WAYLAND=[on|off]
# chromium >=141 switched to --ozone-platform-hint=auto
if [ ! -z "$WAYLAND_DISPLAY" ]; then
NATIVE_WAYLAND=on
else
NATIVE_WAYLAND=off
fi
DISABLE_FEATURES="LensOverlay"
ENABLE_FEATURES="AllowQt"
CHROMIUM_FLAGS=" --enable-chrome-browser-cloud-management"
if [ "$NATIVE_WAYLAND" == "on" ] ; then
ENABLE_FEATURES+=",WaylandLinuxDrmSyncobj,WaylandPerSurfaceScale,WaylandUiScale"
else
CHROMIUM_FLAGS+=" --enable-gpu-memory-buffer-video-frames"
CHROMIUM_FLAGS+=" --enable-zero-copy"
CHROMIUM_FLAGS+=" --ignore-gpu-blocklist --disable-gpu-driver-bug-workaround"
CHROMIUM_FLAGS+=" --enable-gpu-rasterization"
fi
ENABLE_FEATURES+=",AcceleratedVideoDecodeLinuxGL,AcceleratedVideoDecodeLinuxZeroCopyGL"
case "$GRAPHIC_DRIVER" in
amd|intel)
# Need new mesa with AMD multi planes support, is supported in fedora >= 40 (mesa-24.1.1 or newer)
# see https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/26165
CHROMIUM_FLAGS+=" --enable-accelerated-video-decode"
ENABLE_FEATURES+=",VaapiIgnoreDriverChecks,UseMultiPlaneFormatForHardwareVideo"
;;
nvidia)
# The NVIDIA VaAPI drivers are known to not support Chromium
# see https://crbug.com/1492880. This feature switch is
# provided for developers to test VaAPI drivers on NVIDIA GPUs
ENABLE_FEATURES+=",VaapiOnNvidiaGPUs"
export CUDA_DISABLE_PERF_BOOST=1
;;
*)
ENABLE_FEATURES+=",AcceleratedVideoEncoder"
;;
esac
if [ "$MODE" != "none" ] ; then
# chromium in VM, running with standard setting
CHROMIUM_FLAGS=""
DISABLE_FEATURES=""
ENABLE_FEATURES=""
fi
# Web Dark mode
if [ "$WEB_AUTO_DARKMODE_WEBCONTENT" == "on" ] ; then
darktype="WebContentsForceDark"
if [ -z "$ENABLE_FEATURES" ] ; then
ENABLE_FEATURES+="$darktype"
else
ENABLE_FEATURES+=",$darktype"
fi
CHROMIUM_FLAGS+=" --force-dark-mode"
fi
[ -z "$DISABLE_FEATURES" ] || CHROMIUM_FLAGS+=" --disable-features=$DISABLE_FEATURES"
[ -z "$ENABLE_FEATURES" ] || CHROMIUM_FLAGS+=" --enable-features=$ENABLE_FEATURES"

4270
chromium.spec Normal file

File diff suppressed because it is too large Load diff

390
clean_ffmpeg.sh Executable file
View file

@ -0,0 +1,390 @@
#!/bin/bash
# Copyright 2013-2015 Tomas Popela <tpopela@redhat.com>
# Copyright 2022-2024 Than Ngo <than@redhat.com>
# Permission is hereby granted, free of charge, to any person obtaining
# a copy of this software and associated documentation files (the
# "Software"), to deal in the Software without restriction, including
# without limitation the rights to use, copy, modify, merge, publish,
# distribute, sublicense, and/or sell copies of the Software, and to
# permit persons to whom the Software is furnished to do so, subject to
# the following conditions:
#
# The above copyright notice and this permission notice shall be included
# in all copies or substantial portions of the Software.
#
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
# EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
# MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
# IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
# CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
# TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
# SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
# $1 files
# $2 verbose
function copy_files() {
for file in $1
do
dir_name=$(echo "$file" | sed 's%/[^/]*$%/%')
if [[ $dir_name == */* ]]; then
tmp_dir_name="tmp_"$dir_name
mkdir -p "../tmp_ffmpeg/$tmp_dir_name"
else
tmp_dir_name=$file
fi
if [ "$2" -eq 1 ]; then
cp "$file" "../tmp_ffmpeg/$tmp_dir_name"
else
cp "$file" "../tmp_ffmpeg/$tmp_dir_name" > /dev/null 2>&1
fi
done
}
where=$(pwd)
pushd $1
patch -p0 < ../ffmpeg-clean.patch
popd
if ! generated_files=$(./get_free_ffmpeg_source_files.py "$1" "$2"); then
exit 1
fi
# As the build system files does not contain the header files, cheat here
# and generate the header files names from source files. These that does not
# exist will be later skipped while copying.
generated_files_headers="${generated_files//.c/.h}"
generated_files_headers="$generated_files_headers ${generated_files//.c/_internal.h}"
if [ "$2" -ne "1" ]; then
generated_files_headers="$generated_files_headers ${generated_files//.S/.h}"
fi
generated_files_headers="$generated_files_headers ${generated_files//.asm/.h}"
header_files=" libavcodec/x86/inline_asm.h \
libavcodec/x86/hpeldsp.h \
libavcodec/x86/mathops.h \
libavcodec/x86/vpx_arith.h \
libavcodec/aarch64/vp8dsp.h \
libavcodec/arm/vp8dsp.h \
libavcodec/arm/vpx_arith.h \
libavcodec/aac.h \
libavcodec/aacps.h \
libavcodec/aacpsdsp.h \
libavcodec/aacsbrdata.h \
libavcodec/aac_ac3_parser.h \
libavcodec/parser.h \
libavcodec/aac_defines.h \
libavcodec/ac3.h \
libavcodec/ac3defs.h \
libavcodec/ac3tab.h \
libavcodec/adts_header.h \
libavcodec/avcodec.h \
libavcodec/blockdsp.h \
libavcodec/bytestream.h \
libavcodec/cbrt_data.h \
libavcodec/cbrt_tablegen.h \
libavcodec/codec.h \
libavcodec/codec_id.h \
libavcodec/codec_internal.h \
libavcodec/codec_par.h \
libavcodec/dct.h \
libavcodec/dct32.h \
libavcodec/defs.h \
libavcodec/dv.h \
libavcodec/error_resilience.h \
libavcodec/fdctdsp.h \
libavcodec/flac.h \
libavcodec/flacdsp.h \
libavcodec/flac_parse.h \
libavcodec/frame_thread_encoder.h \
libavcodec/get_bits.h \
libavcodec/h263dsp.h \
libavcodec/h264chroma.h \
libavcodec/hevc/hevc.h \
libavcodec/hpeldsp.h \
libavcodec/hwaccels.h \
libavcodec/hwaccel_internal.h \
libavcodec/hwconfig.h \
libavcodec/idctdsp.h \
libavcodec/internal.h \
libavcodec/itut35.h \
libavcodec/kbdwin.h \
libavcodec/mathops.h \
libavcodec/me_cmp.h \
libavcodec/mlp_parse.h \
libavcodec/motion_est.h \
libavcodec/mpeg12.h \
libavcodec/mpeg12data.h \
libavcodec/mpeg12vlc.h \
libavcodec/mpegaudio.h \
libavcodec/mpegaudiodecheader.h \
libavcodec/mpegaudiodec_common_tablegen.h \
libavcodec/mpegaudiodsp.h \
libavcodec/mpegaudio_tablegen.h \
libavcodec/mpegpicture.h \
libavcodec/mpegutils.h \
libavcodec/mpegvideo.h \
libavcodec/mpegvideodata.h \
libavcodec/mpegvideoencdsp.h \
libavcodec/opus/enc.h \
libavcodec/opus/opus.h \
libavcodec/options_table.h \
libavcodec/packet.h \
libavcodec/packet_internal.h \
libavcodec/pcm_tablegen.h \
libavcodec/pixblockdsp.h \
libavcodec/pixels.h \
libavcodec/png.h \
libavcodec/pngdsp.h \
libavcodec/progressframe.h \
libavcodec/put_bits.h \
libavcodec/qpeldsp.h \
libavcodec/ratecontrol.h \
libavcodec/rectangle.h \
libavcodec/rl.h \
libavcodec/rnd_avg.h \
libavcodec/sbr.h \
libavcodec/sbrdsp.h \
libavcodec/sinewin.h \
libavcodec/sinewin_tablegen.h \
libavcodec/startcode.h \
libavcodec/thread.h \
libavcodec/threadframe.h \
libavcodec/unary.h \
libavcodec/version.h \
libavcodec/version_major.h \
libavcodec/videodsp.h \
libavcodec/vlc.h \
libavcodec/vorbisdsp.h \
libavcodec/vp3data.h \
libavcodec/vp4data.h \
libavcodec/vp3dsp.h \
libavcodec/vp56.h \
libavcodec/vp56dsp.h \
libavcodec/vp8data.h \
libavcodec/vp8dsp.h \
libavcodec/vp89_rac.h \
libavformat/apetag.h \
libavformat/avformat.h \
libavformat/dv.h \
libavformat/img2.h \
libavformat/internal.h \
libavformat/mov_chan.h \
libavformat/pcm.h \
libavformat/rdt.h \
libavformat/rtp.h \
libavformat/rtpdec.h \
libavformat/spdif.h \
libavformat/srtp.h \
libavformat/options_table.h \
libavformat/version.h \
libavformat/version_major.h \
libavformat/w64.h \
libavformat/iamf_parse.h \
libavformat/iamf_reader.h \
libavformat/iamf.h \
libavformat/dvdclut.h \
libavutil/aarch64/cpu.h \
libavutil/aarch64/intreadwrite.h \
libavutil/x86/asm.h \
libavutil/x86/bswap.h \
libavutil/x86/cpu.h \
libavutil/emms.h \
libavutil/x86/intreadwrite.h \
libavutil/x86/intmath.h
libavutil/x86/timer.h \
libavutil/attributes.h \
libavutil/attributes_internal.h \
libavutil/audio_fifo.h \
libavutil/avassert.h \
libavutil/avutil.h \
libavutil/bswap.h \
libavutil/common.h \
libavutil/colorspace.h \
libavutil/cpu.h \
libavutil/cpu_internal.h \
libavutil/dynarray.h \
libavutil/ffmath.h \
libavutil/fixed_dsp.h \
libavutil/float_dsp.h \
libavutil/imgutils.h \
libavutil/imgutils_internal.h \
libavutil/internal.h \
libavutil/intfloat.h \
libavutil/intreadwrite.h \
libavutil/libm.h \
libavutil/lls.h \
libavutil/macros.h \
libavutil/pixfmt.h \
libavutil/qsort.h \
libavutil/replaygain.h \
libavutil/softfloat.h \
libavutil/softfloat_tables.h \
libavutil/thread.h \
libavutil/timer.h \
libavutil/timestamp.h \
libavutil/tx_priv.h \
libavutil/version.h \
libavutil/sfc64.h \
libavutil/executor.h \
libswresample/swresample.h \
libswresample/version.h \
libswresample/version_major.h \
compat/va_copy.h "
manual_files=" libavcodec/aarch64/h264pred_neon.S \
libavcodec/aarch64/hpeldsp_neon.S \
libavcodec/aarch64/neon.S \
libavcodec/aarch64/vorbisdsp_neon.S \
libavcodec/aarch64/autorename_libavcodec_aarch64_vorbisdsp_neon.S \
libavcodec/aarch64/autorename_libavcodec_aarch64_vorbisdsp_init.c \
libavcodec/aarch64/autorename_libavcodec_aarch64_videodsp_init.c \
libavcodec/aarch64/vorbisdsp_init.c \
libavcodec/aarch64/vp8dsp_neon.S \
libavcodec/x86/hpeldsp.asm \
libavcodec/x86/hpeldsp_rnd_template.c \
libavcodec/x86/rnd_template.c \
libavcodec/x86/videodsp.asm \
libavcodec/x86/videodsp_init.c \
libavcodec/x86/vorbisdsp_init.c \
libavcodec/x86/vp3dsp.asm \
libavcodec/x86/vp8dsp.asm \
libavcodec/bit_depth_template.c \
libavcodec/flacdec.c \
libavcodec/flacdsp.c \
libavcodec/flacdsp_template.c \
libavcodec/flacdsp_lpc_template.c \
libavcodec/h264pred_template.c \
libavcodec/hpel_template.c \
libavcodec/hpeldsp.c \
libavcodec/options.c \
libavcodec/parser.c \
libavcodec/pcm.c \
libavcodec/pel_template.c \
libavcodec/utils.c \
libavcodec/videodsp.c \
libavcodec/videodsp_template.c \
libavcodec/vorbisdsp.c \
libavcodec/vp3dsp.c \
libavcodec/vp8dsp.c \
libavformat/flacdec.c \
libavformat/options.c \
libavformat/pcm.c \
libavformat/utils.c \
libavformat/version.c \
libavformat/dvdclut.c \
libavutil/aarch64/asm.S \
libavutil/aarch64/cpu.c \
libavutil/aarch64/cpu_sve.S \
libavutil/aarch64/float_dsp_init.c \
libavutil/aarch64/float_dsp_neon.S \
libavutil/aarch64/autorename_libavutil_aarch64_cpu.c \
libavutil/aarch64/autorename_libavutil_aarch64_float_dsp_init.c \
libavutil/aarch64/autorename_libavutil_aarch64_float_dsp_neon.S \
libavutil/aarch64/tx_float_neon.S \
libavutil/aarch64/timer.h \
libavutil/cpu.c \
libavutil/fixed_dsp.c \
libavutil/float_dsp.c \
libavutil/imgutils.c \
libavutil/tx_float.c \
libavutil/tx_template.c \
libavutil/utils.c \
libavutil/version.c \
libavutil/x86/cpu.c \
libavutil/x86/float_dsp_init.c \
libavutil/x86/tx_float_init.c \
libavutil/aarch64/tx_float_init.c \
libavutil/executor.c \
libavutil/x86/x86inc.asm \
libavutil/x86/x86util.asm "
mp3_files=" libavcodec/aarch64/aacpsdsp_init_aarch64.c \
libavcodec/aarch64/aacpsdsp_neon.S \
libavcodec/aarch64/autorename_libavcodec_aarch64_aacpsdsp_neon.S \
libavcodec/aarch64/autorename_libavcodec_aarch64_sbrdsp_neon.S \
libavcodec/aarch64/mpegaudiodsp_init.c \
libavcodec/aarch64/mpegaudiodsp_neon.S \
libavcodec/aarch64/sbrdsp_init_aarch64.c \
libavcodec/aarch64/sbrdsp_neon.S \
libavcodec/aac_ac3_parser.c \
libavcodec/aac_parser.c \
libavcodec/aacps_float.c \
libavcodec/aacpsdsp_float.c \
libavcodec/aacsbr.c \
libavcodec/aactab.c \
libavcodec/ac3tab.c \
libavcodec/autorename_libavcodec_mpegaudiodsp.c \
libavcodec/autorename_libavcodec_sbrdsp.c \
libavcodec/cbrt_data.c \
libavcodec/dct32_fixed.c \
libavcodec/dct32_float.c \
libavcodec/dct32_template.c \
libavcodec/kbdwin.c \
libavcodec/mpegaudio.c \
libavcodec/mpegaudio_parser.c \
libavcodec/mpegaudiodec_fixed.c \
libavcodec/mpegaudiodec_template.c \
libavcodec/mpegaudiodecheader.c \
libavcodec/mpegaudiodsp.c \
libavcodec/mpegaudiodsp_data.c \
libavcodec/mpegaudiodsp_fixed.c \
libavcodec/mpegaudiodsp_float.c \
libavcodec/mpegaudiodsp_template.c \
libavcodec/sbrdsp.c \
libavcodec/sbrdsp_template.c \
libavcodec/sinewin.c \
libavcodec/x86/dct32.asm \
libavcodec/x86/imdct36.asm \
libavcodec/x86/mpegaudiodsp.c \
libavcodec/x86/sbrdsp_init.c \
libavcodec/x86/sbrdsp.asm \
libavformat/aacdec.c \
libavformat/apetag.c \
libavformat/img2.c \
libavformat/mov.c \
libavformat/mov_chan.c \
libavformat/mp3dec.c "
other_files=" BUILD.gn \
Changelog \
COPYING.GPLv2 \
COPYING.GPLv3 \
COPYING.LGPLv2.1 \
COPYING.LGPLv3 \
CREDITS \
CREDITS.chromium \
ffmpeg_generated.gni \
ffmpeg_options.gni \
INSTALL.md \
LICENSE.md \
MAINTAINERS \
OWNERS \
README.chromium \
README.md \
RELEASE "
cd "$1/third_party/ffmpeg" || exit 1
copy_files "$generated_files" 0
copy_files "$generated_files_headers" 0
copy_files "$manual_files" 1
copy_files "$other_files" 1
copy_files "$header_files" 1
copy_files "$mp3_files" 1
mkdir -p ../tmp_ffmpeg/tmp_chromium/config
cp -r chromium/config ../tmp_ffmpeg/tmp_chromium
cd ../tmp_ffmpeg || exit 1
while IFS= read -r -d '' tmp_directory
do
new_name=${tmp_directory//tmp_/}
mv "$tmp_directory" "$new_name"
done < <(find . -type d -name 'tmp_*' -print0)
cd "$where" || exit 1
rm -rf "$1/third_party/ffmpeg"
mv "$1/third_party/tmp_ffmpeg" "$1/third_party/ffmpeg"

View file

@ -0,0 +1,19 @@
Index: chromium-144.0.7559.59/third_party/dawn/src/dawn/common/Platform.h
===================================================================
--- chromium-144.0.7559.59.orig/third_party/dawn/src/dawn/common/Platform.h
+++ chromium-144.0.7559.59/third_party/dawn/src/dawn/common/Platform.h
@@ -163,10 +163,12 @@
#elif defined(__s390x__)
#define DAWN_PLATFORM_IS_S390X 1
-#elif defined(__PPC__)
-#define DAWN_PLATFORM_IS_PPC 1
+// Order matters here
+// PPC64 also defines PPC, which can lead to detection failures on ppc64le systems
#elif defined(__PPC64__)
#define DAWN_PLATFORM_IS_PPC64 1
+#elif defined(__PPC__)
+#define DAWN_PLATFORM_IS_PPC 1
#elif defined(__wasm32__)
#define DAWN_PLATFORM_IS_WASM32 1

17
ffmpeg-clean.patch Normal file
View file

@ -0,0 +1,17 @@
diff -up third_party/ffmpeg/ffmpeg_generated.gni.me third_party/ffmpeg/ffmpeg_generated.gni
--- third_party/ffmpeg/ffmpeg_generated.gni.me 2024-07-19 23:49:33.776963768 +0200
+++ third_party/ffmpeg/ffmpeg_generated.gni 2024-07-19 23:50:14.377819007 +0200
@@ -14,10 +14,10 @@ ffmpeg_asm_sources = []
use_linux_config = is_linux || is_chromeos || is_fuchsia
-if (current_cpu == "arm64" || current_cpu == "x64" ||
+if ((current_cpu == "arm64") || (current_cpu == "x64") ||
(is_android && current_cpu == "arm" && arm_use_neon) ||
- (is_android && current_cpu == "x86") || is_apple || is_win ||
- use_linux_config) {
+ (is_android && current_cpu == "x86") || (is_apple) || (is_win) ||
+ (use_linux_config)) {
ffmpeg_c_sources += [
"libavcodec/ac3_channel_layout_tab.c",
"libavcodec/ac3_parser.c",

View file

@ -0,0 +1,29 @@
Index: chromium-144.0.7559.59/third_party/breakpad/BUILD.gn
===================================================================
--- chromium-144.0.7559.59.orig/third_party/breakpad/BUILD.gn
+++ chromium-144.0.7559.59/third_party/breakpad/BUILD.gn
@@ -804,7 +804,6 @@ if (is_linux || is_chromeos || is_androi
"breakpad/src/client/minidump_file_writer.h",
"breakpad/src/common/convert_UTF.cc",
"breakpad/src/common/convert_UTF.h",
- "breakpad/src/common/linux/breakpad_getcontext.S",
"breakpad/src/common/linux/elf_core_dump.cc",
"breakpad/src/common/linux/elf_core_dump.h",
"breakpad/src/common/linux/elfutils.cc",
@@ -836,6 +835,8 @@ if (is_linux || is_chromeos || is_androi
configs += [ "//build/config/compiler:no_chromium_code" ]
public_configs = [ ":client_config" ]
+ defines = [ "HAVE_GETCONTEXT" ]
+
if (current_cpu == "arm" && is_chromeos_ash) {
# Avoid running out of registers in
# linux_syscall_support.h:sys_clone()'s inline assembly.
@@ -893,7 +894,6 @@ if (is_linux || is_chromeos || is_androi
"breakpad/src/client/linux/minidump_writer/minidump_writer_unittest.cc",
"breakpad/src/client/linux/minidump_writer/minidump_writer_unittest_utils.cc",
"breakpad/src/client/linux/minidump_writer/proc_cpuinfo_reader_unittest.cc",
- "breakpad/src/common/linux/breakpad_getcontext_unittest.cc",
"breakpad/src/common/linux/elf_core_dump_unittest.cc",
"breakpad/src/common/linux/file_id_unittest.cc",
"breakpad/src/common/linux/linux_libc_support_unittest.cc",

View file

@ -0,0 +1,39 @@
Author: Daniel Richard G. <skunk@iSKUNK.ORG>
When building Chromium on unstable/ppc64el with ThinLTO enabled, this error
occurs in the final link:
ld.lld-16: error: Linking two modules of different data layouts:
$C_CXX_OBJECT is 'e-m:e-i64:64-n32:64-S128-v256:256:256-v512:512:512' whereas
$RUST_LIBRARY is 'e-m:e-Fn32-i64:64-n32:64-S128-v256:256:256-v512:512:512'
This is because the LLVM data layout for powerpc64le-unknown-linux-gnu has
evolved over time, gaining the "Fn32" bit that specifies function pointer
alignment. See the following source locations:
llvm-project/clang/lib/Basic/Targets/PPC.h
(class PPC64TargetInfo, under "Triple.getArch() == llvm::Triple::ppc64le")
rust/compiler/rustc_target/src/spec/powerpc64le_unknown_linux_gnu.rs
(note that this file was relocated in a later version)
This change occurred in clang-17, and rustc followed suit in 1.73.0. Since
we use an older clang and a newer rustc in our unstable build, we get an
inconsistency in data layouts when targeting this particular platform.
The error reported by the linker is not technically an error, however, only
a warning goosed up by a --fatal-warnings flag.
Index: chromium-144.0.7559.59/build/config/compiler/BUILD.gn
===================================================================
--- chromium-144.0.7559.59.orig/build/config/compiler/BUILD.gn
+++ chromium-144.0.7559.59/build/config/compiler/BUILD.gn
@@ -470,7 +470,7 @@ config("compiler") {
# Linker warnings.
if (fatal_linker_warnings && !is_apple && current_os != "aix" &&
- current_os != "zos") {
+ current_os != "zos" && current_cpu != "ppc64") {
ldflags += [ "-Wl,--fatal-warnings" ]
}
if (fatal_linker_warnings && is_apple) {

View file

@ -0,0 +1,26 @@
Index: chromium-144.0.7559.59/base/allocator/dispatcher/tls.h
===================================================================
--- chromium-144.0.7559.59.orig/base/allocator/dispatcher/tls.h
+++ chromium-144.0.7559.59/base/allocator/dispatcher/tls.h
@@ -88,6 +88,8 @@ struct BASE_EXPORT MMapAllocator {
constexpr static size_t AllocationChunkSize = 16384;
#elif BUILDFLAG(IS_LINUX) && defined(ARCH_CPU_ARM64)
constexpr static size_t AllocationChunkSize = 16384;
+#elif BUILDFLAG(IS_LINUX) && defined(ARCH_CPU_PPC64)
+ constexpr static size_t AllocationChunkSize = 16384;
#else
constexpr static size_t AllocationChunkSize = 4096;
#endif
Index: chromium-144.0.7559.59/base/allocator/partition_allocator/src/partition_alloc/partition_alloc_constants.h
===================================================================
--- chromium-144.0.7559.59.orig/base/allocator/partition_allocator/src/partition_alloc/partition_alloc_constants.h
+++ chromium-144.0.7559.59/base/allocator/partition_allocator/src/partition_alloc/partition_alloc_constants.h
@@ -399,7 +399,7 @@ PA_ALWAYS_INLINE constexpr size_t MaxDir
// TODO(casey.smalley@arm.com): under 64k pages we can end up in a situation
// where a normal slot span will be large enough to contain multiple items,
// but the address will go over the final partition page after being aligned.
-#if PA_BUILDFLAG(IS_LINUX) && PA_BUILDFLAG(PA_ARCH_CPU_ARM64)
+#if PA_BUILDFLAG(IS_LINUX) && (PA_BUILDFLAG(PA_ARCH_CPU_ARM64) || PA_BUILDFLAG(PA_ARCH_CPU_PPC64))
constexpr size_t kMaxSupportedAlignment = kSuperPageSize / 4;
#else
constexpr size_t kMaxSupportedAlignment = kSuperPageSize / 2;

View file

@ -0,0 +1,15 @@
kIndex: chromium-114.0.5735.45/base/allocator/partition_allocator/partition_alloc.gni
===================================================================
Index: chromium-144.0.7559.59/base/allocator/partition_allocator/partition_alloc.gni
===================================================================
--- chromium-144.0.7559.59.orig/base/allocator/partition_allocator/partition_alloc.gni
+++ chromium-144.0.7559.59/base/allocator/partition_allocator/partition_alloc.gni
@@ -71,7 +71,7 @@ is_clang_or_gcc = is_clang || !is_win
# Whether 64-bit pointers are used.
# A static_assert in partition_alloc_config.h verifies that.
if (current_cpu == "x64" || current_cpu == "arm64" || current_cpu == "arm64e" ||
- current_cpu == "loong64" || current_cpu == "riscv64") {
+ current_cpu == "loong64" || current_cpu == "riscv64" || current_cpu == "ppc64") {
assert(current_cpu != "arm64e" || (is_ios && target_environment == "device"))
has_64_bit_pointers = true
} else if (current_cpu == "x86" || current_cpu == "arm" ||

34
fix-rust-linking.patch Normal file
View file

@ -0,0 +1,34 @@
Index: chromium-144.0.7559.59/build/toolchain/gcc_toolchain.gni
===================================================================
--- chromium-144.0.7559.59.orig/build/toolchain/gcc_toolchain.gni
+++ chromium-144.0.7559.59/build/toolchain/gcc_toolchain.gni
@@ -415,7 +415,13 @@ template("single_gcc_toolchain") {
# -soname flag is not available on aix ld
soname_flag = "-Wl,-soname=\"$soname\""
}
- link_command = "$ld -shared $soname_flag {{ldflags}}${extra_ldflags} -o \"$unstripped_sofile\" @\"$rspfile\" {{rlibs}}"
+ if (target_cpu == "ppc64") {
+ # Work around linker failures due to Rust libraries and the use of whole-archive
+ link_command = "$ld -shared $soname_flag -Wl,--start-group {{ldflags}}${extra_ldflags} -o \"$unstripped_sofile\" @\"$rspfile\" {{rlibs}} -Wl,--end-group"
+ }
+ else {
+ link_command = "$ld -shared $soname_flag {{ldflags}}${extra_ldflags} -o \"$unstripped_sofile\" @\"$rspfile\" {{rlibs}}"
+ }
# Generate a map file to be used for binary size analysis.
# Map file adds ~10% to the link time on a z620.
@@ -527,7 +533,13 @@ template("single_gcc_toolchain") {
whole_archive_flag = "-Wl,--whole-archive"
no_whole_archive_flag = "-Wl,--no-whole-archive"
}
- command = "$ld -shared {{ldflags}}${extra_ldflags} -o \"$unstripped_sofile\" $soname_flag @\"$rspfile\""
+ if (target_cpu == "ppc64") {
+ # Work around linker failures due to Rust libraries and the use of whole-archive
+ command = "$ld -shared -Wl,--start-group {{ldflags}}${extra_ldflags} -o \"$unstripped_sofile\" $soname_flag @\"$rspfile\" -Wl,--end-group"
+ }
+ else {
+ command = "$ld -shared {{ldflags}}${extra_ldflags} -o \"$unstripped_sofile\" $soname_flag @\"$rspfile\""
+ }
if (defined(invoker.strip)) {
strip_command = "${invoker.strip} -o \"$sofile\" \"$unstripped_sofile\""

16
fix-rustc.patch Normal file
View file

@ -0,0 +1,16 @@
author: Andres Salomon <dilinger@debian.org>
description: allow ppc64le to build by using proper rustc target
Index: chromium-144.0.7559.59/build/config/rust.gni
===================================================================
--- chromium-144.0.7559.59.orig/build/config/rust.gni
+++ chromium-144.0.7559.59/build/config/rust.gni
@@ -186,6 +186,9 @@ rust_abi_target = ""
if (is_linux || is_chromeos) {
if (current_cpu == "arm64") {
rust_abi_target = "aarch64-unknown-linux-gnu"
+ } else if (current_cpu == "ppc64") {
+ rust_abi_target = "powerpc64le-unknown-linux-gnu"
+ cargo_target_abi = ""
} else if (current_cpu == "x86") {
rust_abi_target = "i686-unknown-linux-gnu"
} else if (current_cpu == "x64") {

28
fix-study-crash.patch Normal file
View file

@ -0,0 +1,28 @@
Index: chromium-144.0.7559.59/components/variations/proto/study.proto
===================================================================
--- chromium-144.0.7559.59.orig/components/variations/proto/study.proto
+++ chromium-144.0.7559.59/components/variations/proto/study.proto
@@ -293,6 +293,9 @@ message Study {
// A Mac-only value, indicating an x86-64 binary running on an arm64 host
// via "Rosetta 2" binary translation.
TRANSLATED_X86_64 = 4;
+
+ // A POSIX-only value, indicating an OpenPOWER host
+ PPC64 = 5;
}
// Enum to pass as optional bool.
Index: chromium-144.0.7559.59/components/variations/service/variations_field_trial_creator.cc
===================================================================
--- chromium-144.0.7559.59.orig/components/variations/service/variations_field_trial_creator.cc
+++ chromium-144.0.7559.59/components/variations/service/variations_field_trial_creator.cc
@@ -108,6 +108,9 @@ Study::CpuArchitecture GetCurrentCpuArch
if (process_arch == "x86") {
return Study::X86_32;
}
+ if (process_arch == "PPC_64") {
+ return Study::PPC64;
+ }
if (process_arch == "x86_64") {
std::string os_arch = base::SysInfo::OperatingSystemArchitecture();
if (base::StartsWith(os_arch, "arm",

Some files were not shown because too many files have changed in this diff Show more