[arch-commits] Commit in chromium/trunk (3 files)

2022-06-21 Thread Evangelos Foutras via arch-commits
Date: Tuesday, June 21, 2022 @ 20:47:23
  Author: foutrelis
Revision: 449235

upgpkg: chromium 103.0.5060.53-1: new upstream release

Modified:
  chromium/trunk/PKGBUILD
Deleted:
  chromium/trunk/chromium-libxml-unbundle.patch
  chromium/trunk/iwyu-add-utility-for-std-exchange.patch

-+
 PKGBUILD|   21 +
 chromium-libxml-unbundle.patch  |   10 --
 iwyu-add-utility-for-std-exchange.patch |   27 ---
 3 files changed, 5 insertions(+), 53 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2022-06-21 20:24:47 UTC (rev 449234)
+++ PKGBUILD2022-06-21 20:47:23 UTC (rev 449235)
@@ -4,10 +4,10 @@
 # Contributor: Daniel J Griffiths 
 
 pkgname=chromium
-pkgver=102.0.5005.115
+pkgver=103.0.5060.53
 pkgrel=1
 _launcher_ver=8
-_gcc_patchset=5
+_gcc_patchset=4
 pkgdesc="A web browser built for speed, simplicity, and security"
 arch=('x86_64')
 url="https://www.chromium.org/Home";
@@ -25,20 +25,16 @@
 
source=(https://commondatastorage.googleapis.com/chromium-browser-official/$pkgname-$pkgver.tar.xz
 
https://github.com/foutrelis/chromium-launcher/archive/v$_launcher_ver/chromium-launcher-$_launcher_ver.tar.gz
 
https://github.com/stha09/chromium-patches/releases/download/chromium-${pkgver%%.*}-patchset-$_gcc_patchset/chromium-${pkgver%%.*}-patchset-$_gcc_patchset.tar.xz
-iwyu-add-utility-for-std-exchange.patch
 enable-GlobalMediaControlsCastStartStop.patch
 roll-src-third_party-ffmpeg.patch
-chromium-libxml-unbundle.patch
 sql-make-VirtualCursor-standard-layout-type.patch
 remove-no-opaque-pointers-flag.patch
 use-oauth2-client-switches-as-default.patch)
-sha256sums=('301d40e5373b6dad9bc6aeb6898116d1f7dd2d0589ed18e108c56e2290df47e6'
+sha256sums=('0ecbae14670506da90c8bf744f83f52a64a5fff0765c2e2e066b0e68b805b101'
 '213e50f48b67feb4441078d50b0fd431df34323be15be97c55302d3fdac4483a'
-'53de0f936fd571e578ba2fbf348c8741116cdcceac3ea6fae5008d8f054a7698'
-'6f666ef0acb08704ca58cc0d5e97e7ce64d8fea51042e593adae1ce15a61231c'
+'fed11a8987d9f9baa04457fb114f8f7fdb800300a3780927020865bcc43e4f52'
 '779fb13f2494209d3a7f1f23a823e59b9dded601866d3ab095937a1a04e19ac6'
 '30df59a9e2d95dcb720357ec4a83d9be51e59cc5551365da4c0073e68ccdec44'
-'fd3bf124aacc45f2d0a4f1dd86303fa7f2a3d4f4eeaf33854631d6cb39e12485'
 'b94b2e88f63cfb7087486508b8139599c89f96d7a4181c61fec4b4e250ca327a'
 '00c16ce83ea4ca924a50fa0cfc2b2a4d744c722f363b065323e6ba0fcbac45a5'
 'e393174d7695d0bafed69e868c5fbfecf07aa6969f3b64596d0bae8b067e1711')
@@ -99,9 +95,6 @@
   # Remove '-Xclang -no-opaque-pointers' flag not supported by our clang
   patch -Np1 -i ../remove-no-opaque-pointers-flag.patch
 
-  # Upstream fixes
-  patch -Np1 -i ../iwyu-add-utility-for-std-exchange.patch
-
   # Revert kGlobalMediaControlsCastStartStop enabled by default
   # https://crbug.com/1314342
   patch -Rp1 -F3 -i ../enable-GlobalMediaControlsCastStartStop.patch
@@ -110,15 +103,11 @@
   # https://crbug.com/1325301
   patch -Rp1 -i ../roll-src-third_party-ffmpeg.patch
 
-  # https://chromium-review.googlesource.com/c/chromium/src/+/3488058
-  patch -Np1 -i ../chromium-libxml-unbundle.patch
-
   # https://chromium-review.googlesource.com/c/chromium/src/+/2862724
   patch -Np1 -i ../sql-make-VirtualCursor-standard-layout-type.patch
 
   # Fixes for building with libstdc++ instead of libc++
-  patch -Np1 -i ../patches/chromium-102-fenced_frame_utils-include.patch
-  patch -Np1 -i ../patches/chromium-102-regex_pattern-array.patch
+  #patch -Np1 -i ../patches/
 
   # Link to system tools required by the build
   mkdir -p third_party/node/linux/node-linux-x64/bin

Deleted: chromium-libxml-unbundle.patch
===
--- chromium-libxml-unbundle.patch  2022-06-21 20:24:47 UTC (rev 449234)
+++ chromium-libxml-unbundle.patch  2022-06-21 20:47:23 UTC (rev 449235)
@@ -1,10 +0,0 @@
 a/build/linux/unbundle/libxml.gn
-+++ b/build/linux/unbundle/libxml.gn
-@@ -19,6 +19,7 @@ static_library("libxml_utils") {
- ":xml_reader",
- ":xml_writer",
- "//base/test:test_support",
-+"//services/data_decoder:lib",
- "//services/data_decoder:xml_parser_fuzzer_deps",
-   ]
-   sources = [

Deleted: iwyu-add-utility-for-std-exchange.patch
===
--- iwyu-add-utility-for-std-exchange.patch 2022-06-21 20:24:47 UTC (rev 
449234)
+++ iwyu-add-utility-for-std-exchange.patch 2022-06-21 20:47:23 UTC (rev 
449235)
@@ -1,27 +0,0 @@
-From 9dd0503835dc875807ab63efb1f477bffed2a852 Mon Sep 17 00:00:00 2001
-From: Stephan Hartmann 
-Date: Mon, 25 Apr 2022 23:18:30 +
-Subject: [PATCH] IWYU: add utility for std::

[arch-commits] Commit in chromium/trunk (3 files)

2022-05-11 Thread Evangelos Foutras via arch-commits
Date: Wednesday, May 11, 2022 @ 08:00:43
  Author: foutrelis
Revision: 444993

upgpkg: chromium 101.0.4951.64-1: new upstream release

Added:
  chromium/trunk/fix-no-member-named-tie-in-namespace-std.patch
  chromium/trunk/iwyu-add-utility-for-std-exchange.patch
Modified:
  chromium/trunk/PKGBUILD

+
 PKGBUILD   |   10 ++--
 fix-no-member-named-tie-in-namespace-std.patch |   28 +++
 iwyu-add-utility-for-std-exchange.patch|   27 ++
 3 files changed, 63 insertions(+), 2 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2022-05-11 06:41:45 UTC (rev 444992)
+++ PKGBUILD2022-05-11 08:00:43 UTC (rev 444993)
@@ -4,7 +4,7 @@
 # Contributor: Daniel J Griffiths 
 
 pkgname=chromium
-pkgver=101.0.4951.54
+pkgver=101.0.4951.64
 pkgrel=1
 _launcher_ver=8
 _gcc_patchset=4
@@ -25,13 +25,17 @@
 
source=(https://commondatastorage.googleapis.com/chromium-browser-official/$pkgname-$pkgver.tar.xz
 
https://github.com/foutrelis/chromium-launcher/archive/v$_launcher_ver/chromium-launcher-$_launcher_ver.tar.gz
 
https://github.com/stha09/chromium-patches/releases/download/chromium-${pkgver%%.*}-patchset-$_gcc_patchset/chromium-${pkgver%%.*}-patchset-$_gcc_patchset.tar.xz
+fix-no-member-named-tie-in-namespace-std.patch
+iwyu-add-utility-for-std-exchange.patch
 enable-GlobalMediaControlsCastStartStop.patch
 chromium-libxml-unbundle.patch
 sql-make-VirtualCursor-standard-layout-type.patch
 use-oauth2-client-switches-as-default.patch)
-sha256sums=('c26cc6fd453d9a42a6b5e46fa4f3ee62ed368bb78101512b6816bc5d8f4200b5'
+sha256sums=('9c5896e4135563453ac10d15698c18ef61eb5535dc611325b230ece4c5a8d8f7'
 '213e50f48b67feb4441078d50b0fd431df34323be15be97c55302d3fdac4483a'
 '8ed519d21ccd8b382ddd384e9c15306a60d2e3495f48a62dea07c9be9bbffebd'
+'7ad0106161bbf25e2e603ae1a723ae4217155ebb26eb4778363ad396e8c14156'
+'6f666ef0acb08704ca58cc0d5e97e7ce64d8fea51042e593adae1ce15a61231c'
 '779fb13f2494209d3a7f1f23a823e59b9dded601866d3ab095937a1a04e19ac6'
 'fd3bf124aacc45f2d0a4f1dd86303fa7f2a3d4f4eeaf33854631d6cb39e12485'
 'b94b2e88f63cfb7087486508b8139599c89f96d7a4181c61fec4b4e250ca327a'
@@ -91,6 +95,8 @@
   patch -Np1 -i ../use-oauth2-client-switches-as-default.patch
 
   # Upstream fixes
+  patch -Np1 -i ../fix-no-member-named-tie-in-namespace-std.patch
+  patch -Np1 -i ../iwyu-add-utility-for-std-exchange.patch
 
   # Revert kGlobalMediaControlsCastStartStop enabled by default
   # https://crbug.com/1314342

Added: fix-no-member-named-tie-in-namespace-std.patch
===
--- fix-no-member-named-tie-in-namespace-std.patch  
(rev 0)
+++ fix-no-member-named-tie-in-namespace-std.patch  2022-05-11 08:00:43 UTC 
(rev 444993)
@@ -0,0 +1,28 @@
+From 68c9c63c0b148ff5246a0cdad59000697bbd8645 Mon Sep 17 00:00:00 2001
+From: Maksim Sisov 
+Date: Tue, 12 Apr 2022 15:11:34 +
+Subject: [PATCH] Fix no member named 'tie' in namespace 'std'
+
+Bug: None
+Change-Id: I8a097af2b16b738fa9bbb8231536bca85522f350
+Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3581869
+Auto-Submit: Maksim Sisov 
+Reviewed-by: Matt Menke 
+Commit-Queue: Matt Menke 
+Cr-Commit-Position: refs/heads/main@{#991529}
+---
+ net/base/address_list.h | 1 +
+ 1 file changed, 1 insertion(+)
+
+diff --git a/net/base/address_list.h b/net/base/address_list.h
+index 029af1aded3..a93093e41f3 100644
+--- a/net/base/address_list.h
 b/net/base/address_list.h
+@@ -8,6 +8,7 @@
+ #include 
+ 
+ #include 
++#include 
+ #include 
+ #include 
+ 

Added: iwyu-add-utility-for-std-exchange.patch
===
--- iwyu-add-utility-for-std-exchange.patch (rev 0)
+++ iwyu-add-utility-for-std-exchange.patch 2022-05-11 08:00:43 UTC (rev 
444993)
@@ -0,0 +1,27 @@
+From 9dd0503835dc875807ab63efb1f477bffed2a852 Mon Sep 17 00:00:00 2001
+From: Stephan Hartmann 
+Date: Mon, 25 Apr 2022 23:18:30 +
+Subject: [PATCH] IWYU: add utility for std::exchange
+
+Bug: 957519
+Change-Id: I307d520fdc34d2452018ed32a505e7e519739410
+Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3604643
+Reviewed-by: Wez 
+Commit-Queue: Stephan Hartmann 
+Cr-Commit-Position: refs/heads/main@{#995855}
+---
+ base/third_party/symbolize/symbolize.h | 1 +
+ 1 file changed, 1 insertion(+)
+
+diff --git a/base/third_party/symbolize/symbolize.h 
b/base/third_party/symbolize/symbolize.h
+index 99029a968d5..278078f6071 100644
+--- a/base/third_party/symbolize/symbolize.h
 b/base/third_party/symbolize/symbolize.h
+@@ -61,6 +61,7 @@
+ #ifdef HAVE_SYMBOLIZE
+ 
+ #include 
++#include 
+ 
+ #if d

[arch-commits] Commit in chromium/trunk (3 files)

2022-02-17 Thread Evangelos Foutras via arch-commits
Date: Thursday, February 17, 2022 @ 17:40:46
  Author: foutrelis
Revision: 437613

Remove ffmpeg 4.4 patches

Modified:
  chromium/trunk/PKGBUILD
Deleted:
  chromium/trunk/chromium-93-ffmpeg-4.4.patch
  chromium/trunk/unbundle-ffmpeg-av_stream_get_first_dts.patch

---+
 PKGBUILD  |   15 --
 chromium-93-ffmpeg-4.4.patch  |   36 
 unbundle-ffmpeg-av_stream_get_first_dts.patch |   12 
 3 files changed, 63 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2022-02-17 16:18:20 UTC (rev 437612)
+++ PKGBUILD2022-02-17 17:40:46 UTC (rev 437613)
@@ -31,8 +31,6 @@
 breakpad-fix-for-non-constant-SIGSTKSZ.patch
 use-FT_Done_MM_Var-in-CFX_Font-AdjustMMParams.patch
 sql-make-VirtualCursor-standard-layout-type.patch
-chromium-93-ffmpeg-4.4.patch
-unbundle-ffmpeg-av_stream_get_first_dts.patch
 use-oauth2-client-switches-as-default.patch)
 sha256sums=('415b47e912766cd07f9f52e95bc6470b835acf1d6f566ae32e66ba8be608f33e'
 '213e50f48b67feb4441078d50b0fd431df34323be15be97c55302d3fdac4483a'
@@ -43,8 +41,6 @@
 'b4d28867c1fabde6c50a2cfa3f784730446c4d86e5191e0ffbf7b0f91ecf'
 '9c9c280be968f06d269167943680fb72a26fbb05d8c15f60507e316e8a9075d5'
 'b94b2e88f63cfb7087486508b8139599c89f96d7a4181c61fec4b4e250ca327a'
-'1a9e074f417f8ffd78bcd6874d8e2e74a239905bf662f76a7755fa40dc476b57'
-'1f0c1a7a1eb67d91765c9f28df815f58e1c6dc7b37d0acd4d68cac8e5515786c'
 'e393174d7695d0bafed69e868c5fbfecf07aa6969f3b64596d0bae8b067e1711')
 
 # Possible replacements are listed in build/linux/unbundle/replace_gn_files.py
@@ -100,17 +96,6 @@
   # runtime -- this allows signing into Chromium without baked-in values
   patch -Np1 -i ../use-oauth2-client-switches-as-default.patch
 
-  # Patches to build with ffmpeg 4.4; remove when ffmpeg 5.0 moves to stable
-  if ! pkg-config --atleast-version 59 libavformat; then
-# Fix build with older ffmpeg
-patch -Np1 -i ../chromium-93-ffmpeg-4.4.patch
-
-# Substitute the custom function 'av_stream_get_first_dts' for ffmpeg 4.4;
-# drop this for ffmpeg 5.0 which is patched to include the above function.
-# https://crbug.com/1251779
-patch -Np1 -i ../unbundle-ffmpeg-av_stream_get_first_dts.patch
-  fi
-
   # Upstream fixes
   patch -Np1 -F3 -i ../downgrade-duplicate-peer-error-to-dvlog.patch
   patch -Np1 -i ../fix-build-break-with-system-libdrm.patch

Deleted: chromium-93-ffmpeg-4.4.patch
===
--- chromium-93-ffmpeg-4.4.patch2022-02-17 16:18:20 UTC (rev 437612)
+++ chromium-93-ffmpeg-4.4.patch2022-02-17 17:40:46 UTC (rev 437613)
@@ -1,36 +0,0 @@
-diff --git a/media/filters/ffmpeg_demuxer.cc b/media/filters/ffmpeg_demuxer.cc
-index ac4713b07268..492a9a37d096 100644
 a/media/filters/ffmpeg_demuxer.cc
-+++ b/media/filters/ffmpeg_demuxer.cc
-@@ -427,11 +427,11 @@ void FFmpegDemuxerStream::EnqueuePacket(ScopedAVPacket 
packet) {
-   scoped_refptr buffer;
- 
-   if (type() == DemuxerStream::TEXT) {
--size_t id_size = 0;
-+int id_size = 0;
- uint8_t* id_data = av_packet_get_side_data(
- packet.get(), AV_PKT_DATA_WEBVTT_IDENTIFIER, &id_size);
- 
--size_t settings_size = 0;
-+int settings_size = 0;
- uint8_t* settings_data = av_packet_get_side_data(
- packet.get(), AV_PKT_DATA_WEBVTT_SETTINGS, &settings_size);
- 
-@@ -443,7 +443,7 @@ void FFmpegDemuxerStream::EnqueuePacket(ScopedAVPacket 
packet) {
- buffer = DecoderBuffer::CopyFrom(packet->data, packet->size,
-  side_data.data(), side_data.size());
-   } else {
--size_t side_data_size = 0;
-+int side_data_size = 0;
- uint8_t* side_data = av_packet_get_side_data(
- packet.get(), AV_PKT_DATA_MATROSKA_BLOCKADDITIONAL, &side_data_size);
- 
-@@ -504,7 +504,7 @@ void FFmpegDemuxerStream::EnqueuePacket(ScopedAVPacket 
packet) {
-packet->size - data_offset);
- }
- 
--size_t skip_samples_size = 0;
-+int skip_samples_size = 0;
- const uint32_t* skip_samples_ptr =
- reinterpret_cast(av_packet_get_side_data(
- packet.get(), AV_PKT_DATA_SKIP_SAMPLES, &skip_samples_size));

Deleted: unbundle-ffmpeg-av_stream_get_first_dts.patch
===
--- unbundle-ffmpeg-av_stream_get_first_dts.patch   2022-02-17 16:18:20 UTC 
(rev 437612)
+++ unbundle-ffmpeg-av_stream_get_first_dts.patch   2022-02-17 17:40:46 UTC 
(rev 437613)
@@ -1,12 +0,0 @@
-diff --git a/build/linux/unbundle/ffmpeg.gn b/build/linux/unbundle/ffmpeg.gn
-index 16e20744706..6a079b32221 100644
 a/build/linux/unbundle/ffmpeg.gn
-+++ b/build/linux/unbundle/ffmpeg.gn

[arch-commits] Commit in chromium/trunk (3 files)

2022-01-23 Thread Evangelos Foutras via arch-commits
Date: Sunday, January 23, 2022 @ 19:03:13
  Author: foutrelis
Revision: 435004

upgpkg: chromium 97.0.4692.99-3: ffmpeg 5.0 rebuild

Modified:
  chromium/trunk/PKGBUILD
Deleted:
  chromium/trunk/chromium-93-ffmpeg-4.4.patch
  chromium/trunk/unbundle-ffmpeg-av_stream_get_first_dts.patch

---+
 PKGBUILD  |   16 --
 chromium-93-ffmpeg-4.4.patch  |   36 
 unbundle-ffmpeg-av_stream_get_first_dts.patch |   12 
 3 files changed, 1 insertion(+), 63 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2022-01-23 18:06:35 UTC (rev 435003)
+++ PKGBUILD2022-01-23 19:03:13 UTC (rev 435004)
@@ -5,7 +5,7 @@
 
 pkgname=chromium
 pkgver=97.0.4692.99
-pkgrel=2
+pkgrel=3
 _launcher_ver=8
 _gcc_patchset=4
 pkgdesc="A web browser built for speed, simplicity, and security"
@@ -27,8 +27,6 @@
 
https://github.com/stha09/chromium-patches/releases/download/chromium-${pkgver%%.*}-patchset-$_gcc_patchset/chromium-${pkgver%%.*}-patchset-$_gcc_patchset.tar.xz
 wayland-fix-binding-to-wrong-version.patch
 sql-make-VirtualCursor-standard-layout-type.patch
-chromium-93-ffmpeg-4.4.patch
-unbundle-ffmpeg-av_stream_get_first_dts.patch
 unexpire-accelerated-video-decode-flag.patch
 use-oauth2-client-switches-as-default.patch)
 sha256sums=('c91bae205705b367f2cfc1f72ce1ee99b2ceb5edfc584e15c60a6ab5ff01ecba'
@@ -36,8 +34,6 @@
 '7af5c0a55a20c0fb496b2f4448d89203a83bb1914754d864460e55e68731ef0b'
 '29541840921302060f712838ba460cd7e988148af3ce3c9dc45437fc78442a67'
 'dd317f85e5abfdcfc89c6f23f4c8edbcdebdd5e083dcec770e5da49ee647d150'
-'1a9e074f417f8ffd78bcd6874d8e2e74a239905bf662f76a7755fa40dc476b57'
-'1f0c1a7a1eb67d91765c9f28df815f58e1c6dc7b37d0acd4d68cac8e5515786c'
 '2a97b26c3d6821b15ef4ef1369905c6fa3e9c8da4877eb9af4361452a425290b'
 'e393174d7695d0bafed69e868c5fbfecf07aa6969f3b64596d0bae8b067e1711')
 
@@ -94,16 +90,6 @@
   # runtime -- this allows signing into Chromium without baked-in values
   patch -Np1 -i ../use-oauth2-client-switches-as-default.patch
 
-  # Fix build with older ffmpeg
-  patch -Np1 -i ../chromium-93-ffmpeg-4.4.patch
-
-  # Substitute the custom function 'av_stream_get_first_dts'; will need to
-  # switch to bundled ffmpeg when we're no longer using ffmpeg 4.4 in Arch
-  # Upstream commit that made first_dts internal causing Chromium to add a
-  # custom function: https://github.com/FFmpeg/FFmpeg/commit/591b88e6787c4
-  # https://crbug.com/1251779
-  patch -Np1 -i ../unbundle-ffmpeg-av_stream_get_first_dts.patch
-
   # https://crbug.com/1207478
   patch -Np0 -i ../unexpire-accelerated-video-decode-flag.patch
 

Deleted: chromium-93-ffmpeg-4.4.patch
===
--- chromium-93-ffmpeg-4.4.patch2022-01-23 18:06:35 UTC (rev 435003)
+++ chromium-93-ffmpeg-4.4.patch2022-01-23 19:03:13 UTC (rev 435004)
@@ -1,36 +0,0 @@
-diff --git a/media/filters/ffmpeg_demuxer.cc b/media/filters/ffmpeg_demuxer.cc
-index ac4713b07268..492a9a37d096 100644
 a/media/filters/ffmpeg_demuxer.cc
-+++ b/media/filters/ffmpeg_demuxer.cc
-@@ -427,11 +427,11 @@ void FFmpegDemuxerStream::EnqueuePacket(ScopedAVPacket 
packet) {
-   scoped_refptr buffer;
- 
-   if (type() == DemuxerStream::TEXT) {
--size_t id_size = 0;
-+int id_size = 0;
- uint8_t* id_data = av_packet_get_side_data(
- packet.get(), AV_PKT_DATA_WEBVTT_IDENTIFIER, &id_size);
- 
--size_t settings_size = 0;
-+int settings_size = 0;
- uint8_t* settings_data = av_packet_get_side_data(
- packet.get(), AV_PKT_DATA_WEBVTT_SETTINGS, &settings_size);
- 
-@@ -443,7 +443,7 @@ void FFmpegDemuxerStream::EnqueuePacket(ScopedAVPacket 
packet) {
- buffer = DecoderBuffer::CopyFrom(packet->data, packet->size,
-  side_data.data(), side_data.size());
-   } else {
--size_t side_data_size = 0;
-+int side_data_size = 0;
- uint8_t* side_data = av_packet_get_side_data(
- packet.get(), AV_PKT_DATA_MATROSKA_BLOCKADDITIONAL, &side_data_size);
- 
-@@ -504,7 +504,7 @@ void FFmpegDemuxerStream::EnqueuePacket(ScopedAVPacket 
packet) {
-packet->size - data_offset);
- }
- 
--size_t skip_samples_size = 0;
-+int skip_samples_size = 0;
- const uint32_t* skip_samples_ptr =
- reinterpret_cast(av_packet_get_side_data(
- packet.get(), AV_PKT_DATA_SKIP_SAMPLES, &skip_samples_size));

Deleted: unbundle-ffmpeg-av_stream_get_first_dts.patch
===
--- unbundle-ffmpeg-av_stream_get_first_dts.patch   2022-01-23 18:06:35 UTC 
(rev 435003)
+++ unbundle-ffmpeg-av_stream_get_first_dts.patch   2022-01

[arch-commits] Commit in chromium/trunk (3 files)

2022-01-20 Thread Evangelos Foutras via arch-commits
Date: Thursday, January 20, 2022 @ 13:19:40
  Author: foutrelis
Revision: 434786

upgpkg: chromium 97.0.4692.99-1: new upstream release

Modified:
  chromium/trunk/PKGBUILD
Deleted:
  chromium/trunk/fix-tag-dragging-in-KWin.patch
  chromium/trunk/fix-tag-dragging-in-Mutter.patch

--+
 PKGBUILD |   12 ++---
 fix-tag-dragging-in-KWin.patch   |   35 
 fix-tag-dragging-in-Mutter.patch |   46 -
 3 files changed, 3 insertions(+), 90 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2022-01-20 11:17:21 UTC (rev 434785)
+++ PKGBUILD2022-01-20 13:19:40 UTC (rev 434786)
@@ -4,8 +4,8 @@
 # Contributor: Daniel J Griffiths 
 
 pkgname=chromium
-pkgver=97.0.4692.71
-pkgrel=2
+pkgver=97.0.4692.99
+pkgrel=1
 _launcher_ver=8
 _gcc_patchset=4
 pkgdesc="A web browser built for speed, simplicity, and security"
@@ -25,18 +25,14 @@
 
source=(https://commondatastorage.googleapis.com/chromium-browser-official/$pkgname-$pkgver.tar.xz
 
https://github.com/foutrelis/chromium-launcher/archive/v$_launcher_ver/chromium-launcher-$_launcher_ver.tar.gz
 
https://github.com/stha09/chromium-patches/releases/download/chromium-${pkgver%%.*}-patchset-$_gcc_patchset/chromium-${pkgver%%.*}-patchset-$_gcc_patchset.tar.xz
-fix-tag-dragging-in-KWin.patch
-fix-tag-dragging-in-Mutter.patch
 sql-make-VirtualCursor-standard-layout-type.patch
 chromium-93-ffmpeg-4.4.patch
 unbundle-ffmpeg-av_stream_get_first_dts.patch
 unexpire-accelerated-video-decode-flag.patch
 use-oauth2-client-switches-as-default.patch)
-sha256sums=('8ae189d44b782fe4d4942962260dbf5f753abf141148727d9fe82852778dfd7c'
+sha256sums=('c91bae205705b367f2cfc1f72ce1ee99b2ceb5edfc584e15c60a6ab5ff01ecba'
 '213e50f48b67feb4441078d50b0fd431df34323be15be97c55302d3fdac4483a'
 '7af5c0a55a20c0fb496b2f4448d89203a83bb1914754d864460e55e68731ef0b'
-'8dac06ef6e85ddb205b47bb7f1b8c3f73b67a8252dd2a81ed636964c517114ed'
-'764dd0c1336881ff37c764f59f25f5830675b5db1388a74da5ddbe9642883692'
 'dd317f85e5abfdcfc89c6f23f4c8edbcdebdd5e083dcec770e5da49ee647d150'
 '1a9e074f417f8ffd78bcd6874d8e2e74a239905bf662f76a7755fa40dc476b57'
 '1f0c1a7a1eb67d91765c9f28df815f58e1c6dc7b37d0acd4d68cac8e5515786c'
@@ -110,8 +106,6 @@
   patch -Np0 -i ../unexpire-accelerated-video-decode-flag.patch
 
   # Upstream fixes
-  patch -Np1 -i ../fix-tag-dragging-in-KWin.patch
-  patch -Np1 -i ../fix-tag-dragging-in-Mutter.patch
 
   # https://chromium-review.googlesource.com/c/chromium/src/+/2862724
   patch -Np1 -i ../sql-make-VirtualCursor-standard-layout-type.patch

Deleted: fix-tag-dragging-in-KWin.patch
===
--- fix-tag-dragging-in-KWin.patch  2022-01-20 11:17:21 UTC (rev 434785)
+++ fix-tag-dragging-in-KWin.patch  2022-01-20 13:19:40 UTC (rev 434786)
@@ -1,35 +0,0 @@
-From 52d0ad25ea695da44195e49f36e69fa81b55e670 Mon Sep 17 00:00:00 2001
-From: Tom Anderson 
-Date: Wed, 5 Jan 2022 21:11:03 +
-Subject: [PATCH] [X11] Fix tag dragging in KWin
-
-R=sky
-
-Bug: 1279532
-Change-Id: Iac166803e2149eef234045d922b630f0019c8073
-Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3355376
-Auto-Submit: Thomas Anderson 
-Reviewed-by: Scott Violet 
-Commit-Queue: Thomas Anderson 
-Cr-Commit-Position: refs/heads/main@{#955869}

- ui/platform_window/x11/x11_topmost_window_finder.cc | 6 +++---
- 1 file changed, 3 insertions(+), 3 deletions(-)
-
-diff --git a/ui/platform_window/x11/x11_topmost_window_finder.cc 
b/ui/platform_window/x11/x11_topmost_window_finder.cc
-index 50e75e17f0a..2e16393487b 100644
 a/ui/platform_window/x11/x11_topmost_window_finder.cc
-+++ b/ui/platform_window/x11/x11_topmost_window_finder.cc
-@@ -68,9 +68,9 @@ bool EnumerateAllWindows(ShouldStopIteratingCallback 
should_stop_iterating,
- 
- void EnumerateTopLevelWindows(
- ui::ShouldStopIteratingCallback should_stop_iterating) {
--  // Some WMs parent 'top-level' windows in unnamed actual top-level windows
--  // (ion WM), so extend the search depth to all children of top-level 
windows.
--  const int kMaxSearchDepth = 1;
-+  // WMs may reparent toplevel windows inside their own containers, so extend
-+  // the search to all grandchildren of all toplevel windows.
-+  const int kMaxSearchDepth = 2;
-   ui::EnumerateAllWindows(should_stop_iterating, kMaxSearchDepth);
- }
- 

Deleted: fix-tag-dragging-in-Mutter.patch
===
--- fix-tag-dragging-in-Mutter.patch2022-01-20 11:17:21 UTC (rev 434785)
+++ fix-tag-dragging-in-Mutter.patch2022-01-20 13:19:40 UTC (rev 434786)
@@ -1,46 +0,0 @@
-From 3806f28918ea23291749ff4775339075a5f394e8 Mon Sep 17 00:00:00 2001
-From: Tom

[arch-commits] Commit in chromium/trunk (3 files)

2022-01-09 Thread Evangelos Foutras via arch-commits
Date: Sunday, January 9, 2022 @ 12:50:22
  Author: foutrelis
Revision: 434008

upgpkg: chromium 97.0.4692.71-2: fix tab dragging (FS#73307)

Added:
  chromium/trunk/fix-tag-dragging-in-KWin.patch
  chromium/trunk/fix-tag-dragging-in-Mutter.patch
Modified:
  chromium/trunk/PKGBUILD

--+
 PKGBUILD |   10 +++-
 fix-tag-dragging-in-KWin.patch   |   35 
 fix-tag-dragging-in-Mutter.patch |   46 +
 3 files changed, 90 insertions(+), 1 deletion(-)

Modified: PKGBUILD
===
--- PKGBUILD2022-01-09 12:40:11 UTC (rev 434007)
+++ PKGBUILD2022-01-09 12:50:22 UTC (rev 434008)
@@ -5,7 +5,7 @@
 
 pkgname=chromium
 pkgver=97.0.4692.71
-pkgrel=1
+pkgrel=2
 _launcher_ver=8
 _gcc_patchset=4
 pkgdesc="A web browser built for speed, simplicity, and security"
@@ -25,6 +25,8 @@
 
source=(https://commondatastorage.googleapis.com/chromium-browser-official/$pkgname-$pkgver.tar.xz
 
https://github.com/foutrelis/chromium-launcher/archive/v$_launcher_ver/chromium-launcher-$_launcher_ver.tar.gz
 
https://github.com/stha09/chromium-patches/releases/download/chromium-${pkgver%%.*}-patchset-$_gcc_patchset/chromium-${pkgver%%.*}-patchset-$_gcc_patchset.tar.xz
+fix-tag-dragging-in-KWin.patch
+fix-tag-dragging-in-Mutter.patch
 sql-make-VirtualCursor-standard-layout-type.patch
 chromium-93-ffmpeg-4.4.patch
 unbundle-ffmpeg-av_stream_get_first_dts.patch
@@ -33,6 +35,8 @@
 sha256sums=('8ae189d44b782fe4d4942962260dbf5f753abf141148727d9fe82852778dfd7c'
 '213e50f48b67feb4441078d50b0fd431df34323be15be97c55302d3fdac4483a'
 '7af5c0a55a20c0fb496b2f4448d89203a83bb1914754d864460e55e68731ef0b'
+'8dac06ef6e85ddb205b47bb7f1b8c3f73b67a8252dd2a81ed636964c517114ed'
+'764dd0c1336881ff37c764f59f25f5830675b5db1388a74da5ddbe9642883692'
 'dd317f85e5abfdcfc89c6f23f4c8edbcdebdd5e083dcec770e5da49ee647d150'
 '1a9e074f417f8ffd78bcd6874d8e2e74a239905bf662f76a7755fa40dc476b57'
 '1f0c1a7a1eb67d91765c9f28df815f58e1c6dc7b37d0acd4d68cac8e5515786c'
@@ -105,6 +109,10 @@
   # https://crbug.com/1207478
   patch -Np0 -i ../unexpire-accelerated-video-decode-flag.patch
 
+  # Upstream fixes
+  patch -Np1 -i ../fix-tag-dragging-in-KWin.patch
+  patch -Np1 -i ../fix-tag-dragging-in-Mutter.patch
+
   # https://chromium-review.googlesource.com/c/chromium/src/+/2862724
   patch -Np1 -i ../sql-make-VirtualCursor-standard-layout-type.patch
 

Added: fix-tag-dragging-in-KWin.patch
===
--- fix-tag-dragging-in-KWin.patch  (rev 0)
+++ fix-tag-dragging-in-KWin.patch  2022-01-09 12:50:22 UTC (rev 434008)
@@ -0,0 +1,35 @@
+From 52d0ad25ea695da44195e49f36e69fa81b55e670 Mon Sep 17 00:00:00 2001
+From: Tom Anderson 
+Date: Wed, 5 Jan 2022 21:11:03 +
+Subject: [PATCH] [X11] Fix tag dragging in KWin
+
+R=sky
+
+Bug: 1279532
+Change-Id: Iac166803e2149eef234045d922b630f0019c8073
+Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3355376
+Auto-Submit: Thomas Anderson 
+Reviewed-by: Scott Violet 
+Commit-Queue: Thomas Anderson 
+Cr-Commit-Position: refs/heads/main@{#955869}
+---
+ ui/platform_window/x11/x11_topmost_window_finder.cc | 6 +++---
+ 1 file changed, 3 insertions(+), 3 deletions(-)
+
+diff --git a/ui/platform_window/x11/x11_topmost_window_finder.cc 
b/ui/platform_window/x11/x11_topmost_window_finder.cc
+index 50e75e17f0a..2e16393487b 100644
+--- a/ui/platform_window/x11/x11_topmost_window_finder.cc
 b/ui/platform_window/x11/x11_topmost_window_finder.cc
+@@ -68,9 +68,9 @@ bool EnumerateAllWindows(ShouldStopIteratingCallback 
should_stop_iterating,
+ 
+ void EnumerateTopLevelWindows(
+ ui::ShouldStopIteratingCallback should_stop_iterating) {
+-  // Some WMs parent 'top-level' windows in unnamed actual top-level windows
+-  // (ion WM), so extend the search depth to all children of top-level 
windows.
+-  const int kMaxSearchDepth = 1;
++  // WMs may reparent toplevel windows inside their own containers, so extend
++  // the search to all grandchildren of all toplevel windows.
++  const int kMaxSearchDepth = 2;
+   ui::EnumerateAllWindows(should_stop_iterating, kMaxSearchDepth);
+ }
+ 

Added: fix-tag-dragging-in-Mutter.patch
===
--- fix-tag-dragging-in-Mutter.patch(rev 0)
+++ fix-tag-dragging-in-Mutter.patch2022-01-09 12:50:22 UTC (rev 434008)
@@ -0,0 +1,46 @@
+From 3806f28918ea23291749ff4775339075a5f394e8 Mon Sep 17 00:00:00 2001
+From: Tom Anderson 
+Date: Thu, 6 Jan 2022 00:59:40 +
+Subject: [PATCH] [X11] Fix tag dragging in Mutter
+
+We used to use a BFS to find the target window for tag dragging, but
+this causes windows underneath (like

[arch-commits] Commit in chromium/trunk (3 files)

2021-10-19 Thread Evangelos Foutras via arch-commits
Date: Tuesday, October 19, 2021 @ 18:57:14
  Author: foutrelis
Revision: 426296

upgpkg: chromium 95.0.4638.54-1: new upstream release

Added:
  chromium/trunk/chromium-95-harfbuzz-3.patch
  chromium/trunk/maldoca-depend-on-zlib-instead-of-headers-only.patch
Modified:
  chromium/trunk/PKGBUILD

--+
 PKGBUILD |   19 +++---
 chromium-95-harfbuzz-3.patch |   31 +
 maldoca-depend-on-zlib-instead-of-headers-only.patch |   31 +
 3 files changed, 75 insertions(+), 6 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2021-10-19 18:52:21 UTC (rev 426295)
+++ PKGBUILD2021-10-19 18:57:14 UTC (rev 426296)
@@ -4,10 +4,10 @@
 # Contributor: Daniel J Griffiths 
 
 pkgname=chromium
-pkgver=94.0.4606.81
+pkgver=95.0.4638.54
 pkgrel=1
 _launcher_ver=8
-_gcc_patchset=3
+_gcc_patchset=4
 pkgdesc="A web browser built for speed, simplicity, and security"
 arch=('x86_64')
 url="https://www.chromium.org/Home";
@@ -24,6 +24,8 @@
 
source=(https://commondatastorage.googleapis.com/chromium-browser-official/$pkgname-$pkgver.tar.xz
 
https://github.com/foutrelis/chromium-launcher/archive/v$_launcher_ver/chromium-launcher-$_launcher_ver.tar.gz
 
https://github.com/stha09/chromium-patches/releases/download/chromium-${pkgver%%.*}-patchset-$_gcc_patchset/chromium-${pkgver%%.*}-patchset-$_gcc_patchset.tar.xz
+maldoca-depend-on-zlib-instead-of-headers-only.patch
+chromium-95-harfbuzz-3.patch
 replace-blacklist-with-ignorelist.patch
 add-a-TODO-about-a-missing-pnacl-flag.patch
 use-ffile-compilation-dir.patch
@@ -33,9 +35,11 @@
 chromium-94-ffmpeg-roll.patch
 unexpire-accelerated-video-decode-flag.patch
 use-oauth2-client-switches-as-default.patch)
-sha256sums=('7071aa2b2caf48094c2ae816395948b4daec940606f4982ad5bbf68e5d2de598'
+sha256sums=('3eef88d745e6ddaeaf507358f1510482d6f399cf335061bb1226a5f7120061fd'
 '213e50f48b67feb4441078d50b0fd431df34323be15be97c55302d3fdac4483a'
-'22692bddaf2761c6ddf9ff0bc4722972bca4d4c5b2fd3e5dbdac7eb60d914320'
+'bc6373f2470a9e6d947a4deaee0612f730112f69552b933c54bb6e60b82dd6f1'
+'074b32078b9e53fd9b33709ce5785c120eb0346b015a93921897caed4f95f7b6'
+'d9002f1e33390c3e770637773c81be6731584b18f68f086e955bcc3f66f4510d'
 'd3344ba39b8c6ed202334ba7f441c70d81ddf8cdb15af1aa8c16e9a3a75fbb35'
 'd53da216538f2e741a6e048ed103964a91a98e9a3c10c27fdfa34d4692fdc455'
 '921010cd8fab5f30be76c68b68c9b39fac9e21f4c4133bb709879592bbdf606e'
@@ -111,6 +115,10 @@
   # https://crbug.com/1207478
   patch -Np0 -i ../unexpire-accelerated-video-decode-flag.patch
 
+  # Upstream fixes
+  patch -Np1 -i ../maldoca-depend-on-zlib-instead-of-headers-only.patch
+  patch -Np1 -i ../chromium-95-harfbuzz-3.patch
+
   # Revert transition to -fsanitize-ignorelist (needs newer clang)
   patch -Rp1 -i ../replace-blacklist-with-ignorelist.patch
 
@@ -125,8 +133,7 @@
   patch -Np1 -i ../sql-make-VirtualCursor-standard-layout-type.patch
 
   # Fixes for building with libstdc++ instead of libc++
-  patch -Np1 -i ../patches/chromium-90-ruy-include.patch
-  patch -Np1 -i ../patches/chromium-94-CustomSpaces-include.patch
+  patch -Np1 -i ../patches/chromium-95-quiche-include.patch
 
   # Link to system tools required by the build
   mkdir -p third_party/node/linux/node-linux-x64/bin

Added: chromium-95-harfbuzz-3.patch
===
--- chromium-95-harfbuzz-3.patch(rev 0)
+++ chromium-95-harfbuzz-3.patch2021-10-19 18:57:14 UTC (rev 426296)
@@ -0,0 +1,31 @@
+From 9e00e702633c47c590a869bc66b5c2ceec09da50 Mon Sep 17 00:00:00 2001
+From: Dominik Röttsches 
+Date: Tue, 28 Sep 2021 15:31:50 +
+Subject: [PATCH] Roll src/third_party/harfbuzz-ng/src/ 6602cbb70..a52c6df38 
(80 commits)
+
+Fixed: 1252284
+Change-Id: Ie2ff99da5e41ca97b8881e1bd3e158881f4d5a8e
+Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3190252
+Commit-Queue: Dominik Röttsches 
+Commit-Queue: Calder Kitagawa 
+Auto-Submit: Dominik Röttsches 
+Reviewed-by: Calder Kitagawa 
+Reviewed-by: Anders Hartvoll Ruud 
+Cr-Commit-Position: refs/heads/main@{#925776}
+
+(only components/paint_preview/common/subset_font.cc)
+---
+
+diff --git a/components/paint_preview/common/subset_font.cc 
b/components/paint_preview/common/subset_font.cc
+index 45daea7b1..43a448e 100644
+--- a/components/paint_preview/common/subset_font.cc
 b/components/paint_preview/common/subset_font.cc
+@@ -79,7 +79,7 @@
+   // Retain all variation information for OpenType variation fonts. See:
+   // https://docs.microsoft.com/en-us/typography/opentype/spec/otvaroverview
+   hb_set_t* skip_subset =
+-  hb_subset_input_no_subset_t

[arch-commits] Commit in chromium/trunk (3 files)

2021-09-18 Thread Evangelos Foutras via arch-commits
Date: Saturday, September 18, 2021 @ 10:36:14
  Author: foutrelis
Revision: 424329

upgpkg: chromium 93.0.4577.82-2: harfbuzz 3.0.0 rebuild

Added:
  chromium/trunk/chromium-harfbuzz-3.0.0.patch
  chromium/trunk/skia-harfbuzz-3.0.0.patch
Modified:
  chromium/trunk/PKGBUILD

---+
 PKGBUILD  |   10 +++-
 chromium-harfbuzz-3.0.0.patch |   20 
 skia-harfbuzz-3.0.0.patch |  100 
 3 files changed, 129 insertions(+), 1 deletion(-)

Modified: PKGBUILD
===
--- PKGBUILD2021-09-18 07:07:45 UTC (rev 424328)
+++ PKGBUILD2021-09-18 10:36:14 UTC (rev 424329)
@@ -5,7 +5,7 @@
 
 pkgname=chromium
 pkgver=93.0.4577.82
-pkgrel=1
+pkgrel=2
 _launcher_ver=8
 _gcc_patchset=6
 pkgdesc="A web browser built for speed, simplicity, and security"
@@ -29,6 +29,8 @@
 replace-blacklist-with-ignorelist.patch
 sql-make-VirtualCursor-standard-layout-type.patch
 chromium-93-ffmpeg-4.4.patch
+chromium-harfbuzz-3.0.0.patch
+skia-harfbuzz-3.0.0.patch
 use-oauth2-client-switches-as-default.patch)
 sha256sums=('5d66214858fcba11a8f733d7a6fab61ed10e13e7df4ed37e63b66a0370fb2853'
 '213e50f48b67feb4441078d50b0fd431df34323be15be97c55302d3fdac4483a'
@@ -38,6 +40,8 @@
 'd3344ba39b8c6ed202334ba7f441c70d81ddf8cdb15af1aa8c16e9a3a75fbb35'
 'dd317f85e5abfdcfc89c6f23f4c8edbcdebdd5e083dcec770e5da49ee647d150'
 '1a9e074f417f8ffd78bcd6874d8e2e74a239905bf662f76a7755fa40dc476b57'
+'7ce947944a139e66774dfc7249bf7c3069f07f83a0f1b2c1a1b14287a7e15928'
+'dae11dec5088eb1b14045d8c9862801a342609c15701d7c371e1caccf46e1ffd'
 'e393174d7695d0bafed69e868c5fbfecf07aa6969f3b64596d0bae8b067e1711')
 
 # Possible replacements are listed in build/linux/unbundle/replace_gn_files.py
@@ -95,6 +99,10 @@
   # Fix build with older ffmpeg
   patch -Np1 -i ../chromium-93-ffmpeg-4.4.patch
 
+  # Fix build with harfbuzz 3.0.0
+  patch -Np1 -i ../chromium-harfbuzz-3.0.0.patch
+  patch -Np1 -d third_party/skia <../skia-harfbuzz-3.0.0.patch
+
   # Revert transition to -fsanitize-ignorelist (needs newer clang)
   patch -Rp1 -i ../replace-blacklist-with-ignorelist.patch
 

Added: chromium-harfbuzz-3.0.0.patch
===
--- chromium-harfbuzz-3.0.0.patch   (rev 0)
+++ chromium-harfbuzz-3.0.0.patch   2021-09-18 10:36:14 UTC (rev 424329)
@@ -0,0 +1,20 @@
+# https://github.com/chromium/chromium/commit/b289f6f3fcbc
+
+diff --git a/components/paint_preview/common/subset_font.cc 
b/components/paint_preview/common/subset_font.cc
+index 8ff0540d9a..20a7d37474 100644
+--- a/components/paint_preview/common/subset_font.cc
 b/components/paint_preview/common/subset_font.cc
+@@ -72,9 +72,11 @@ sk_sp SubsetFont(SkTypeface* typeface, const 
GlyphUsage& usage) {
+   hb_set_t* glyphs =
+   hb_subset_input_glyph_set(input.get());  // Owned by |input|.
+   usage.ForEach(base::BindRepeating(&AddGlyphs, base::Unretained(glyphs)));
+-  hb_subset_input_set_retain_gids(input.get(), true);
++  hb_subset_input_set_flags(input.get(), HB_SUBSET_FLAGS_RETAIN_GIDS);
+ 
+-  HbScoped subset_face(hb_subset(face.get(), input.get()));
++  HbScoped subset_face(hb_subset_or_fail(face.get(), input.get()));
++  if (!subset_face)
++return nullptr;
+   HbScoped subset_blob(hb_face_reference_blob(subset_face.get()));
+   if (!subset_blob)
+ return nullptr;

Added: skia-harfbuzz-3.0.0.patch
===
--- skia-harfbuzz-3.0.0.patch   (rev 0)
+++ skia-harfbuzz-3.0.0.patch   2021-09-18 10:36:14 UTC (rev 424329)
@@ -0,0 +1,100 @@
+# Minimal diff for harfbuzz 3.0.0 support; based on:
+# https://github.com/google/skia/commit/66684b17b382
+# https://github.com/google/skia/commit/51d83abcd24a
+
+diff --git a/gn/skia.gni b/gn/skia.gni
+index d98fdc19ee..199335d5c4 100644
+--- a/gn/skia.gni
 b/gn/skia.gni
+@@ -34,8 +34,6 @@ declare_args() {
+   skia_include_multiframe_procs = false
+   skia_lex = false
+   skia_libgifcodec_path = "third_party/externals/libgifcodec"
+-  skia_pdf_subset_harfbuzz =
+-  false  # TODO: set skia_pdf_subset_harfbuzz to skia_use_harfbuzz.
+   skia_qt_path = getenv("QT_PATH")
+   skia_skqp_global_error_tolerance = 0
+   skia_tools_require_resources = false
+@@ -99,6 +97,10 @@ declare_args() {
+   skia_use_libfuzzer_defaults = true
+ }
+ 
++declare_args() {
++  skia_pdf_subset_harfbuzz = skia_use_harfbuzz
++}
++
+ declare_args() {
+   skia_compile_sksl_tests = skia_compile_processors
+   skia_enable_fontmgr_android = skia_use_expat && skia_use_freetype
+diff --git a/src/pdf/SkPDFSubsetFont.cpp b/src/pdf/SkPDFSubsetFont.cpp
+index 81c37eef3a..2340a7937b 100644
+--- a/src/pdf/SkPDFSubsetFont.cpp
 b/src/pdf/SkPDFSubsetFont.cpp
+@@ -49,6 

[arch-commits] Commit in chromium/trunk (3 files)

2021-06-01 Thread Evangelos Foutras via arch-commits
Date: Wednesday, June 2, 2021 @ 05:57:30
  Author: foutrelis
Revision: 416956

Use upstream patch for enable-accelerated-video-decode

Added:
  chromium/trunk/extend-enable-accelerated-video-decode-flag.patch
Modified:
  chromium/trunk/PKGBUILD
Deleted:
  chromium/trunk/unexpire-accelerated-video-decode-flag.patch

---+
 PKGBUILD  |8 +---
 extend-enable-accelerated-video-decode-flag.patch |   35 
 unexpire-accelerated-video-decode-flag.patch  |   11 --
 3 files changed, 38 insertions(+), 16 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2021-06-02 05:54:06 UTC (rev 416955)
+++ PKGBUILD2021-06-02 05:57:30 UTC (rev 416956)
@@ -26,10 +26,10 @@
 
https://github.com/stha09/chromium-patches/releases/download/chromium-${pkgver%%.*}-patchset-$_gcc_patchset/chromium-${pkgver%%.*}-patchset-$_gcc_patchset.tar.xz
 fix-crash-in-ThemeService.patch
 unbundle-use-char16_t-as-UCHAR_TYPE.patch
+extend-enable-accelerated-video-decode-flag.patch
 add-clang-nomerge-attribute-to-CheckError.patch
 sql-make-VirtualCursor-standard-layout-type.patch
 chromium-glibc-2.33.patch
-unexpire-accelerated-video-decode-flag.patch
 use-oauth2-client-switches-as-default.patch)
 sha256sums=('45d5a43ef798d20313c78fa8a075be0c22055e39c8481eb53eabda81df901b31'
 '86859c11cfc8ba106a3826479c0bc759324a62150b271dd35d1a0f96e890f52f'
@@ -36,10 +36,10 @@
 '171525009003a9ed1182cfcb6f407d7169d9a731a474304e263029376719f55a'
 '3cfe46e181cb9d337c454b5b5adbf5297052f29cd617cdee4380eeb1943825d8'
 '59a59a60a08b335fe8647fdf0f9d2288d236ebf2cc9626396d0c4d032fd2b25d'
+'66db9132d6f5e06aa26e5de0924f814224a76a9bdf4b61afce161fb1d7643b22'
 '50133dd196d288ad538bb536aa51dccd6cb4aacfd9a60160f77e8fb16034b460'
 'dd317f85e5abfdcfc89c6f23f4c8edbcdebdd5e083dcec770e5da49ee647d150'
 '2fccecdcd4509d4c36af873988ca9dbcba7fdb95122894a9fdf502c33a1d7a4b'
-'82a85105fc33b92a84dabb7ed6725ccbb56f1075c11f9f3f43bb8ff724f88847'
 'e393174d7695d0bafed69e868c5fbfecf07aa6969f3b64596d0bae8b067e1711')
 
 # Possible replacements are listed in build/linux/unbundle/replace_gn_files.py
@@ -94,9 +94,6 @@
   # runtime -- this allows signing into Chromium without baked-in values
   patch -Np1 -i ../use-oauth2-client-switches-as-default.patch
 
-  # https://crbug.com/1207478
-  patch -Np0 -i ../unexpire-accelerated-video-decode-flag.patch
-
   # https://crbug.com/1164975
   patch -Np1 -i ../chromium-glibc-2.33.patch
 
@@ -103,6 +100,7 @@
   # Upstream fixes
   patch -Np1 -i ../fix-crash-in-ThemeService.patch
   patch -Np1 -i ../unbundle-use-char16_t-as-UCHAR_TYPE.patch
+  patch -Np1 -i ../extend-enable-accelerated-video-decode-flag.patch
 
   # Revert addition of [[clang::nomerge]] attribute; not supported by clang 11
   patch -Rp1 -i ../add-clang-nomerge-attribute-to-CheckError.patch

Added: extend-enable-accelerated-video-decode-flag.patch
===
--- extend-enable-accelerated-video-decode-flag.patch   
(rev 0)
+++ extend-enable-accelerated-video-decode-flag.patch   2021-06-02 05:57:30 UTC 
(rev 416956)
@@ -0,0 +1,35 @@
+From e48f18eba0eae199ba7bc8a6a09ebf39799447c1 Mon Sep 17 00:00:00 2001
+From: Ted Meyer 
+Date: Wed, 2 Jun 2021 05:35:22 +
+Subject: [PATCH] Extend enable-accelerated-video-decode flag for linux to m93
+
+It appears that there is insistence that the flag be totally removed or
+have its end-milestone increased, I can't just let it wait until the
+feature is working again and then re-enable it. So i've moved it to 93.
+
+R=dalecurtis
+
+Fixed: 1207478
+Change-Id: I26a5e790cd390825516b4a4b6af88e89b2d4f4eb
+Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2918478
+Reviewed-by: Dale Curtis 
+Reviewed-by: Ted Meyer 
+Commit-Queue: Ted Meyer 
+Cr-Commit-Position: refs/heads/master@{#888312}
+---
+ chrome/browser/flag-metadata.json | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/chrome/browser/flag-metadata.json 
b/chrome/browser/flag-metadata.json
+index 67e0330436..34542671f2 100644
+--- a/chrome/browser/flag-metadata.json
 b/chrome/browser/flag-metadata.json
+@@ -1193,7 +1193,7 @@
+   {
+ "name": "enable-accelerated-video-decode",
+ "owners": [ "media-...@chromium.org" ],
+-"expiry_milestone": 90
++"expiry_milestone": 93
+   },
+   {
+ "name": "enable-accessibility-live-caption",

Deleted: unexpire-accelerated-video-decode-flag.patch
===
--- unexpire-accelerated-video-decode-flag.patch2021-06-02 05:54:06 UTC 
(rev 416955)
+++ unexpire-accelerated-video-decode-flag.patch2021-06-02 

[arch-commits] Commit in chromium/trunk (3 files)

2021-03-30 Thread Evangelos Foutras via arch-commits
Date: Wednesday, March 31, 2021 @ 05:23:11
  Author: foutrelis
Revision: 411306

upgpkg: chromium 89.0.4389.114-1: new upstream release

Added:
  chromium/trunk/chromium-fix-libva-redef.patch
Modified:
  chromium/trunk/PKGBUILD
Deleted:
  chromium/trunk/x11-ozone-fix-two-edge-cases.patch

+
 PKGBUILD   |   12 +--
 chromium-fix-libva-redef.patch |   86 ++
 x11-ozone-fix-two-edge-cases.patch |  135 ---
 3 files changed, 93 insertions(+), 140 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2021-03-31 00:57:25 UTC (rev 411305)
+++ PKGBUILD2021-03-31 05:23:11 UTC (rev 411306)
@@ -4,7 +4,7 @@
 # Contributor: Daniel J Griffiths 
 
 pkgname=chromium
-pkgver=89.0.4389.90
+pkgver=89.0.4389.114
 pkgrel=1
 _launcher_ver=7
 _gcc_patchset=7
@@ -25,15 +25,15 @@
 
https://github.com/foutrelis/chromium-launcher/archive/v$_launcher_ver/chromium-launcher-$_launcher_ver.tar.gz
 
https://github.com/stha09/chromium-patches/releases/download/chromium-${pkgver%%.*}-patchset-$_gcc_patchset/chromium-${pkgver%%.*}-patchset-$_gcc_patchset.tar.xz
 add-dependency-on-opus-in-webcodecs.patch
-x11-ozone-fix-two-edge-cases.patch
 chromium-glibc-2.33.patch
+chromium-fix-libva-redef.patch
 use-oauth2-client-switches-as-default.patch)
-sha256sums=('11c6089c5fdd921216aa4eb34b52818a9b091cad655a24aed0982d29e65b279a'
+sha256sums=('f2f0abe9697a220a8545df74d832c6c8d85a4fb11845e7e398752d746e72ed00'
 '86859c11cfc8ba106a3826479c0bc759324a62150b271dd35d1a0f96e890f52f'
 'f8b1558f6c87b33423da854d42f0f69d47885a96d6bf6ce7f26373e93d47442f'
 'b86b11de8db438c47f0a84c7956740f648d21035f4ee46bfbd50c3348d369121'
-'9e4743bdeaf5b668659ad53400e3977006916aac3a7ba045bbc750b7b4cbf274'
 '2fccecdcd4509d4c36af873988ca9dbcba7fdb95122894a9fdf502c33a1d7a4b'
+'de9eb3612d44616a500c2eccdffac814eb90ad9a868cc1030d17fc6783d544e2'
 'e393174d7695d0bafed69e868c5fbfecf07aa6969f3b64596d0bae8b067e1711')
 
 # Possible replacements are listed in build/linux/unbundle/replace_gn_files.py
@@ -91,9 +91,11 @@
   # https://crbug.com/1164975
   patch -Np1 -i ../chromium-glibc-2.33.patch
 
+  # https://github.com/kiss-community/repo-community/issues/246
+  patch -Np1 -i ../chromium-fix-libva-redef.patch
+
   # Upstream fixes
   patch -Np1 -i ../add-dependency-on-opus-in-webcodecs.patch
-  patch -Np1 -i ../x11-ozone-fix-two-edge-cases.patch
 
   # Fixes for building with libstdc++ instead of libc++
   patch -Np1 -i ../patches/chromium-89-quiche-dcheck.patch

Added: chromium-fix-libva-redef.patch
===
--- chromium-fix-libva-redef.patch  (rev 0)
+++ chromium-fix-libva-redef.patch  2021-03-31 05:23:11 UTC (rev 411306)
@@ -0,0 +1,86 @@
+--- a/third_party/libva_protected_content/va_protected_content.h
 b/third_party/libva_protected_content/va_protected_content.h
+@@ -132,19 +132,6 @@
+ #define VA_PC_SAMPLE_TYPE_FULLSAMPLE 0x0001
+ #define VA_PC_SAMPLE_TYPE_SUBSAMPLE 0x0002
+ 
+-/** \brief TeeExec Function Codes. */
+-typedef enum _VA_TEE_EXEC_FUNCTION_ID {
+-  VA_TEE_EXEC_TEE_FUNCID_PASS_THROUGH_NONE = 0x0,
+-
+-  // 0x4000~0x40FFF reserved for TEE Exec GPU function
+-  VA_TEE_EXEC_GPU_FUNCID_ENCRYPTION_BLT = 0x4000,
+-  VA_TEE_EXEC_GPU_FUNCID_DECRYPTION_BLT = 0x4001,
+-
+-  // 0x40001000~0x41FFF reserved for TEE Exec TEE function
+-  VA_TEE_EXEC_TEE_FUNCID_PASS_THROUGH = 0x40001000,
+-
+-} VA_TEE_EXEC_FUNCTION_ID;
+-
+ /** \brief values for the encryption return status. */
+ typedef enum {
+   /** \brief Indicate encryption operation is successful.*/
+@@ -159,63 +146,6 @@
+   VA_ENCRYPTION_STATUS_UNSUPPORT
+ } VAEncryptionStatus;
+ 
+-/** \brief structure for encrypted segment info. */
+-typedef struct _VAEncryptionSegmentInfo {
+-  /** \brief  The offset relative to the start of the bitstream input in
+-   *  bytes of the start of the segment*/
+-  uint32_t segment_start_offset;
+-  /** \brief  The length of the segments in bytes*/
+-  uint32_t segment_length;
+-  /** \brief  The length in bytes of the remainder of an incomplete block
+-   *  from a previous segment*/
+-  uint32_t partial_aes_block_size;
+-  /** \brief  The length in bytes of the initial clear data */
+-  uint32_t init_byte_length;
+-  /** \brief  This will be AES 128 counter for secure decode and secure
+-   *  encode when numSegments equals 1 */
+-  uint8_t aes_cbc_iv_or_ctr[16];
+-  /** \brief Reserved bytes for future use, must be zero */
+-  uint32_t va_reserved[VA_PADDING_MEDIUM];
+-} VAEncryptionSegmentInfo;
+-
+-/** \brief encryption parameters, corresponding to
+- * #VAEncryptionParameterBufferType*/
+-typedef struct _VAEncryptionParameters {
+-  /** \brief Encryption type,

[arch-commits] Commit in chromium/trunk (3 files)

2021-03-06 Thread Evangelos Foutras via arch-commits
Date: Saturday, March 6, 2021 @ 08:57:16
  Author: foutrelis
Revision: 409433

upgpkg: chromium 89.0.4389.82-1: new upstream release

Modified:
  chromium/trunk/PKGBUILD
Deleted:
  chromium/trunk/add-ctime-for-std-time.patch
  chromium/trunk/don-t-crash-on-reentrant-RunMoveLoop-call.patch

-+
 PKGBUILD|   17 ---
 add-ctime-for-std-time.patch|   27 --
 don-t-crash-on-reentrant-RunMoveLoop-call.patch |   33 --
 3 files changed, 6 insertions(+), 71 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2021-03-05 23:26:38 UTC (rev 409432)
+++ PKGBUILD2021-03-06 08:57:16 UTC (rev 409433)
@@ -4,10 +4,10 @@
 # Contributor: Daniel J Griffiths 
 
 pkgname=chromium
-pkgver=89.0.4389.72
-pkgrel=2
+pkgver=89.0.4389.82
+pkgrel=1
 _launcher_ver=7
-_gcc_patchset=6
+_gcc_patchset=7
 pkgdesc="A web browser built for speed, simplicity, and security"
 arch=('x86_64')
 url="https://www.chromium.org/Home";
@@ -25,16 +25,12 @@
 
https://github.com/foutrelis/chromium-launcher/archive/v$_launcher_ver/chromium-launcher-$_launcher_ver.tar.gz
 
https://github.com/stha09/chromium-patches/releases/download/chromium-${pkgver%%.*}-patchset-$_gcc_patchset/chromium-${pkgver%%.*}-patchset-$_gcc_patchset.tar.xz
 add-dependency-on-opus-in-webcodecs.patch
-don-t-crash-on-reentrant-RunMoveLoop-call.patch
-add-ctime-for-std-time.patch
 chromium-glibc-2.33.patch
 use-oauth2-client-switches-as-default.patch)
-sha256sums=('946a0b65aad10e0f77a539103892099b7238310c733f25b41d58b76f6ac0bc4f'
+sha256sums=('df4914407b68afdc6449cb8e3f1b08d110eb8689ac41f86490e337fa4d1be379'
 '86859c11cfc8ba106a3826479c0bc759324a62150b271dd35d1a0f96e890f52f'
-'359d2847e775d8cf6f4e0b12c94c8f2718f0fd562427859c596ce1c3711dbd8e'
+'f8b1558f6c87b33423da854d42f0f69d47885a96d6bf6ce7f26373e93d47442f'
 'b86b11de8db438c47f0a84c7956740f648d21035f4ee46bfbd50c3348d369121'
-'615f5fefc94da605957edb34b6c000f32953fb5ff6ffb321f062dab8e0fef9d3'
-'102e0c976c0d7fd1fbe2f2978ec621499a97b62457b3fde4daf84f026d1a53a7'
 '2fccecdcd4509d4c36af873988ca9dbcba7fdb95122894a9fdf502c33a1d7a4b'
 'e393174d7695d0bafed69e868c5fbfecf07aa6969f3b64596d0bae8b067e1711')
 
@@ -95,11 +91,10 @@
 
   # Upstream fixes
   patch -Np1 -i ../add-dependency-on-opus-in-webcodecs.patch
-  patch -Np1 -i ../don-t-crash-on-reentrant-RunMoveLoop-call.patch
-  patch -Np1 -i ../add-ctime-for-std-time.patch
 
   # Fixes for building with libstdc++ instead of libc++
   patch -Np1 -i ../patches/chromium-89-quiche-dcheck.patch
+  patch -Np1 -i ../patches/chromium-89-AXTreeSerializer-include.patch
 
   # Force script incompatible with Python 3 to use /usr/bin/python2
   sed -i '1s|python$|&2|' third_party/dom_distiller_js/protoc_plugins/*.py

Deleted: add-ctime-for-std-time.patch
===
--- add-ctime-for-std-time.patch2021-03-05 23:26:38 UTC (rev 409432)
+++ add-ctime-for-std-time.patch2021-03-06 08:57:16 UTC (rev 409433)
@@ -1,27 +0,0 @@
-From c06ddc4935bf1394812c011ce5d93898ccc8a53a Mon Sep 17 00:00:00 2001
-From: Stephan Hartmann 
-Date: Tue, 9 Feb 2021 19:22:57 +
-Subject: [PATCH] IWYU: add ctime for std::time
-
-Bug: None
-Change-Id: I8bdae43209984242b9f5e538d74ece4409b65e3c
-Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2679610
-Reviewed-by: Katie Dektar 
-Commit-Queue: Katie Dektar 
-Cr-Commit-Position: refs/heads/master@{#852287}

- ui/accessibility/ax_tree_serializer.h | 1 +
- 1 file changed, 1 insertion(+)
-
-diff --git a/ui/accessibility/ax_tree_serializer.h 
b/ui/accessibility/ax_tree_serializer.h
-index ddbbdcdc25c53..1790e3b791967 100644
 a/ui/accessibility/ax_tree_serializer.h
-+++ b/ui/accessibility/ax_tree_serializer.h
-@@ -8,6 +8,7 @@
- #include 
- #include 
- 
-+#include 
- #include 
- #include 
- #include 

Deleted: don-t-crash-on-reentrant-RunMoveLoop-call.patch
===
--- don-t-crash-on-reentrant-RunMoveLoop-call.patch 2021-03-05 23:26:38 UTC 
(rev 409432)
+++ don-t-crash-on-reentrant-RunMoveLoop-call.patch 2021-03-06 08:57:16 UTC 
(rev 409433)
@@ -1,33 +0,0 @@
-From 4b05247f43d592ce748933963df923d9a40705f8 Mon Sep 17 00:00:00 2001
-From: Sigurdur Asgeirsson 
-Date: Mon, 8 Feb 2021 18:36:10 +
-Subject: [PATCH] Don't crash on reentrant RunMoveLoop call.
-MIME-Version: 1.0
-Content-Type: text/plain; charset=UTF-8
-Content-Transfer-Encoding: 8bit
-
-Bug: 1173484
-Change-Id: Ia75b200d2826586080c26089751bef1d12c8fbce
-Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2680089
-Reviewed-by: Scott Violet 
-Commit-Queue: Sigurður Ásgeirsson 
-Cr-Commit-Po