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

2020-11-17 Thread Evangelos Foutras via arch-commits
Date: Tuesday, November 17, 2020 @ 22:38:10
  Author: foutrelis
Revision: 401325

upgpkg: chromium 87.0.4280.66-1: new upstream release

Modified:
  chromium/trunk/PKGBUILD
Deleted:
  chromium/trunk/check-for-enable-accelerated-video-decode-on-Linux.patch
  chromium/trunk/fix-invalid-end-iterator-usage-in-CookieMonster.patch
  chromium/trunk/only-fall-back-to-the-i965-driver-if-we-re-on-iHD.patch
  chromium/trunk/remove-dead-reloc-in-nonalloc-LD-flags.patch
  chromium/trunk/xproto-fix-underflow-in-Fp1616ToDouble.patch

--+
 PKGBUILD |   26 --
 check-for-enable-accelerated-video-decode-on-Linux.patch |   43 
 fix-invalid-end-iterator-usage-in-CookieMonster.patch|   78 ---
 only-fall-back-to-the-i965-driver-if-we-re-on-iHD.patch  |  139 -
 remove-dead-reloc-in-nonalloc-LD-flags.patch |   37 ---
 xproto-fix-underflow-in-Fp1616ToDouble.patch |   37 ---
 6 files changed, 6 insertions(+), 354 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2020-11-17 21:19:02 UTC (rev 401324)
+++ PKGBUILD2020-11-17 22:38:10 UTC (rev 401325)
@@ -4,10 +4,10 @@
 # Contributor: Daniel J Griffiths 
 
 pkgname=chromium
-pkgver=86.0.4240.198
+pkgver=87.0.4280.66
 pkgrel=1
 _launcher_ver=6
-_gcc_patchset=6
+_gcc_patchset=9
 pkgdesc="A web browser built for speed, simplicity, and security"
 arch=('x86_64')
 url="https://www.chromium.org/Home;
@@ -28,20 +28,10 @@
 
source=(https://commondatastorage.googleapis.com/chromium-browser-official/$pkgname-$pkgver.tar.xz
 
chromium-launcher-$_launcher_ver.tar.gz::https://github.com/foutrelis/chromium-launcher/archive/v$_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-invalid-end-iterator-usage-in-CookieMonster.patch
-only-fall-back-to-the-i965-driver-if-we-re-on-iHD.patch
-remove-dead-reloc-in-nonalloc-LD-flags.patch
-check-for-enable-accelerated-video-decode-on-Linux.patch
-xproto-fix-underflow-in-Fp1616ToDouble.patch
 chromium-skia-harmony.patch)
-sha256sums=('a0ab825e527becab4ab3e11ef889e842436fe11a4fb7874419d1970e680c7a44'
+sha256sums=('29a8e4ea82edec2fdcf34ece68323bec7ab90f3d5669e6b77f58cff9c278f741'
 '04917e3cd4307d8e31bfb0027a5dce6d086edb10ff8a716024fbb8bb0c7dccf1'
-'6f9ab35fa2c9e6e34ec454b829b7b87adaebc10cacecd1ac1daa67035ee44aba'
-'69d8b7a439db1af4713245ddf5f44ca647283ba833a8733e848033ebdaf03cdc'
-'7514c6c81a64a5457b66494a366fbb39005563eecc48d1a39033dd06aec4e300'
-'7cace84d7494190e7882d3e637820646ec8d64808f0a2128c515bd44991a3790'
-'03d03a39b2afa40083eb8ccb9616a51619f71da92348effc8ee289cbda10128b'
-'1ec617b362bf97cce4254debd04d8396f17dec0ae1071b52ec8c1c3d86dbd322'
+'c99934bcd2f3ae8ea9620f5f59a94338b2cf739647f04c28c8a551d9083fa7e9'
 '771292942c0901092a402cc60ee883877a99fb804cb54d568c8c6c94565a48e1')
 
 # Possible replacements are listed in build/linux/unbundle/replace_gn_files.py
@@ -91,14 +81,10 @@
 third_party/libxml/chromium/*.cc
 
   # Upstream fixes
-  patch -Np1 -i ../fix-invalid-end-iterator-usage-in-CookieMonster.patch
-  patch -Np1 -i ../only-fall-back-to-the-i965-driver-if-we-re-on-iHD.patch
-  patch -Np1 -i ../remove-dead-reloc-in-nonalloc-LD-flags.patch
-  patch -Np1 -i ../check-for-enable-accelerated-video-decode-on-Linux.patch
-  patch -Np1 -i ../xproto-fix-underflow-in-Fp1616ToDouble.patch
 
   # Fixes for building with libstdc++ instead of libc++
-  patch -Np1 -i ../patches/chromium-86-nearby-include.patch
+  patch -Np1 -i ../patches/chromium-87-ServiceWorkerContainerHost-crash.patch
+  patch -Np1 -i ../patches/chromium-87-openscreen-include.patch
 
   # https://crbug.com/skia/6663#c10
   patch -Np0 -i ../chromium-skia-harmony.patch

Deleted: check-for-enable-accelerated-video-decode-on-Linux.patch
===
--- check-for-enable-accelerated-video-decode-on-Linux.patch2020-11-17 
21:19:02 UTC (rev 401324)
+++ check-for-enable-accelerated-video-decode-on-Linux.patch2020-11-17 
22:38:10 UTC (rev 401325)
@@ -1,43 +0,0 @@
-From 54deb9811ca9bd2327def5c05ba6987b8c7a0897 Mon Sep 17 00:00:00 2001
-From: Evangelos Foutras 
-Date: Tue, 29 Sep 2020 01:02:22 +
-Subject: [PATCH] Check for enable-accelerated-video-decode on Linux
-
-Video decoding was being accelerated on Linux even though the newly
-added "enable-accelerated-video-decode" flag was not specified. The
-chrome://gpu page was misleadingly showing this feature as disabled:
-
-  > Video Decode: Software only. Hardware acceleration disabled
-
-This change adds a check for --enable-accelerated-video-decode when
-considering 

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

2020-08-25 Thread Evangelos Foutras via arch-commits
Date: Tuesday, August 25, 2020 @ 19:05:35
  Author: foutrelis
Revision: 394711

upgpkg: chromium 85.0.4183.83-1: new upstream release

Added:
  chromium/trunk/media-Set-allocation-limit-compatible-with-FFmpeg-4.3.patch
Modified:
  chromium/trunk/PKGBUILD
Deleted:
  chromium/trunk/avoid-calling-DeleteForCurrentDocument-from-destructor.patch
  chromium/trunk/chromium-ffmpeg-4.3.patch
  chromium/trunk/force-mp3-files-to-have-a-start-time-of-zero.patch
  chromium/trunk/remove-NotifyError-calls-and-just-send-a-normal-message.patch

---+
 PKGBUILD  |   48 +-
 avoid-calling-DeleteForCurrentDocument-from-destructor.patch  |   71 --
 chromium-ffmpeg-4.3.patch |   21 --
 force-mp3-files-to-have-a-start-time-of-zero.patch|   38 -
 media-Set-allocation-limit-compatible-with-FFmpeg-4.3.patch   |   43 ++
 remove-NotifyError-calls-and-just-send-a-normal-message.patch |   42 -
 6 files changed, 54 insertions(+), 209 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2020-08-25 18:55:53 UTC (rev 394710)
+++ PKGBUILD2020-08-25 19:05:35 UTC (rev 394711)
@@ -4,10 +4,10 @@
 # Contributor: Daniel J Griffiths 
 
 pkgname=chromium
-pkgver=84.0.4147.135
+pkgver=85.0.4183.83
 pkgrel=1
 _launcher_ver=6
-_gcc_patchset=3
+_gcc_patchset=2
 pkgdesc="A web browser built for speed, simplicity, and security"
 arch=('x86_64')
 url="https://www.chromium.org/Home;
@@ -28,19 +28,13 @@
 
source=(https://commondatastorage.googleapis.com/chromium-browser-official/$pkgname-$pkgver.tar.xz
 
chromium-launcher-$_launcher_ver.tar.gz::https://github.com/foutrelis/chromium-launcher/archive/v$_launcher_ver.tar.gz
 
https://github.com/stha09/chromium-patches/releases/download/chromium-${pkgver%%.*}-patchset-$_gcc_patchset/chromium-${pkgver%%.*}-patchset-$_gcc_patchset.tar.xz
-remove-NotifyError-calls-and-just-send-a-normal-message.patch
-avoid-calling-DeleteForCurrentDocument-from-destructor.patch
-force-mp3-files-to-have-a-start-time-of-zero.patch
-chromium-ffmpeg-4.3.patch
+media-Set-allocation-limit-compatible-with-FFmpeg-4.3.patch
 chromium-fix-vaapi-on-intel.patch
 chromium-skia-harmony.patch)
-sha256sums=('dd41001596d0e17051ddcece3db6c0cdbe92fe23375d56fbcfba624a5f4996d8'
+sha256sums=('2064aa4502b87c025f2233b59d94e9e3d1c00bfeaf891e1d973687de5740e73b'
 '04917e3cd4307d8e31bfb0027a5dce6d086edb10ff8a716024fbb8bb0c7dccf1'
-'f77088dd59b170b767ba91c6b410abb778ff2e68553433b24124d398fa4d3ce7'
-'3b10917f646f88ae988ca18be9cbef82025abb6a6e5cb00b77a11077192ce32c'
-'4e41cb637e96bcef98c119ed052ba1aeab45fca5b89d65955583dab002de783e'
-'abc3fad113408332c3b187b083bf33eba59eb5c87fa3ce859023984b5804623c'
-'5390304b5f544868985ce00a3ec082d4ece2dacb1c73cdb35dd4facfea12449a'
+'2194fe22b9e5ccdc4a86da4e3572214f670c561486671f57c90636fd3cbfa43e'
+'0f041d655335cd2a4773ae7ca5e301a0ff12c6c53f57b7cf6651c268e0420a1c'
 'e495f2477091557b15bff2c99831e0a3db64ea2ebde7dcb22857a6469c944b9a'
 '771292942c0901092a402cc60ee883877a99fb804cb54d568c8c6c94565a48e1')
 
@@ -56,7 +50,7 @@
   [libdrm]=
   [libjpeg]=libjpeg
   [libpng]=libpng
-  [libvpx]=libvpx
+  #[libvpx]=libvpx
   [libwebp]=libwebp
   [libxml]=libxml2
   [libxslt]=libxslt
@@ -90,27 +84,13 @@
 third_party/blink/renderer/core/xml/parser/xml_document_parser.cc \
 third_party/libxml/chromium/*.cc
 
-  # https://chromium-review.googlesource.com/c/chromium/src/+/2223010
-  patch -Np1 -i 
../remove-NotifyError-calls-and-just-send-a-normal-message.patch
+  # https://crbug.com/1095962
+  patch -Np1 -i ../media-Set-allocation-limit-compatible-with-FFmpeg-4.3.patch
 
-  # https://chromium-review.googlesource.com/c/chromium/src/+/2224737
-  patch -Np1 -i ../avoid-calling-DeleteForCurrentDocument-from-destructor.patch
-
-  # https://chromium-review.googlesource.com/c/chromium/src/+/2268221
-  patch -Np1 -i ../force-mp3-files-to-have-a-start-time-of-zero.patch
-
   # Fixes for building with libstdc++ instead of libc++
-  patch -Np1 -i ../patches/chromium-84-AXObject-stl-iterator.patch
-  patch -Np1 -i 
../patches/chromium-84-ListContainerHelper-include-cstring.patch
-  patch -Np1 -i ../patches/chromium-84-crashpad-include-cstring.patch
-  patch -Np1 -i ../patches/chromium-84-gcc-10-include-stddef.patch
-  patch -Np1 -i ../patches/chromium-84-gcc-10-webrtc-include-stddef.patch
-  patch -Np1 -i ../patches/chromium-84-gcc-DCHECK_EQ-unique_ptr.patch
-  patch -Np1 -i ../patches/chromium-84-std-vector-const.patch
+  patch -Np1 -i 
../patches/chromium-85-NearbyShareEncryptedMetadataKey-include.patch
+  patch -Np1 -i ../patches/chromium-85-sim_hash-include.patch
 
-  # https://crbug.com/1095962
-  patch 

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

2019-01-29 Thread Evangelos Foutras via arch-commits
Date: Wednesday, January 30, 2019 @ 07:26:02
  Author: foutrelis
Revision: 344936

upgpkg: chromium 72.0.3626.81-1

New upstream release.

Added:
  chromium/trunk/chromium-webrtc-missing-header.patch
Modified:
  chromium/trunk/PKGBUILD
  chromium/trunk/chromium-skia-harmony.patch
  chromium/trunk/chromium-system-icu.patch
Deleted:
  chromium/trunk/chromium-harfbuzz-r0.patch
  chromium/trunk/fix-nav-preload-with-third-party-cookie-blocking.patch

+
 PKGBUILD   |   27 ++---
 chromium-harfbuzz-r0.patch |   80 ---
 chromium-skia-harmony.patch|   76 +-
 chromium-system-icu.patch  |   10 -
 chromium-webrtc-missing-header.patch   |   10 +
 fix-nav-preload-with-third-party-cookie-blocking.patch |   40 ---
 6 files changed, 32 insertions(+), 211 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2019-01-30 06:53:20 UTC (rev 344935)
+++ PKGBUILD2019-01-30 07:26:02 UTC (rev 344936)
@@ -4,8 +4,8 @@
 # Contributor: Daniel J Griffiths 
 
 pkgname=chromium
-pkgver=71.0.3578.98
-pkgrel=3
+pkgver=72.0.3626.81
+pkgrel=1
 _launcher_ver=6
 pkgdesc="A web browser built for speed, simplicity, and security"
 arch=('x86_64')
@@ -15,7 +15,7 @@
  'ttf-font' 'systemd' 'dbus' 'libpulse' 'pciutils' 'json-glib'
  'desktop-file-utils' 'hicolor-icon-theme')
 makedepends=('python' 'python2' 'gperf' 'yasm' 'mesa' 'ninja' 'nodejs' 'git'
- 'clang' 'lld' 'gn')
+ 'clang' 'lld' 'gn' 'java-runtime-headless')
 optdepends=('pepper-flash: support for Flash content'
 'kdialog: needed for file dialogs in KDE'
 'gnome-keyring: for storing passwords in GNOME keyring'
@@ -23,18 +23,16 @@
 install=chromium.install
 
source=(https://commondatastorage.googleapis.com/chromium-browser-official/$pkgname-$pkgver.tar.xz
 
chromium-launcher-$_launcher_ver.tar.gz::https://github.com/foutrelis/chromium-launcher/archive/v$_launcher_ver.tar.gz
-fix-nav-preload-with-third-party-cookie-blocking.patch
-chromium-harfbuzz-r0.patch
 chromium-system-icu.patch
+chromium-webrtc-missing-header.patch
 chromium-widevine.patch
 chromium-skia-harmony.patch)
-sha256sums=('1c56a9e30825774c83d568d194e9585625c6e90f81ee0ef09760fcedc86b9d45'
+sha256sums=('dfe89fe389008e6d2098099948d10774989d2f3e8dca6ace78ea4ec636dd8006'
 '04917e3cd4307d8e31bfb0027a5dce6d086edb10ff8a716024fbb8bb0c7dccf1'
-'d2c497f3400baad7d380305f4705fd1e5b9f70a8460384490a1bb78e1c2b0f23'
-'1b370d49c43e88acfe7c0b1f9517047e927f3407bd80b4a48bba32c001f80136'
-'c4f2d1bed9034c02b8806f00c2e8165df24de467803855904bff709ceaf11af5'
+'e2d284311f49c529ea45083438a768db390bde52949995534034d2a814beab89'
+'63cbed7d7af327c17878a2066c303f106ff08636372721845131f7ff13d87b44'
 'd081f2ef8793544685aad35dea75a7e6264a2cb987ff3541e6377f4a3650a28b'
-'feca54ab09ac0fc9d0626770a6b899a6ac5a12173c7d0c1005bc3964ec83e7b3')
+'5887f78b55c4ecbbcba5930f3f0bb7bc0117c2a41c2f761805fcf7f46f1ca2b3')
 
 # Possible replacements are listed in build/linux/unbundle/replace_gn_files.py
 # Keys are the names in the above script; values are the dependencies in Arch
@@ -84,17 +82,14 @@
 third_party/blink/renderer/core/xml/parser/xml_document_parser.cc \
 third_party/libxml/chromium/libxml_utils.cc
 
-  # https://crbug.com/913220
-  patch -Np1 -i ../fix-nav-preload-with-third-party-cookie-blocking.patch
-
   # Load Widevine CDM if available
   patch -Np1 -i ../chromium-widevine.patch
 
   # https://crbug.com/skia/6663#c10
-  patch -Np4 -i ../chromium-skia-harmony.patch
+  patch -Np0 -i ../chromium-skia-harmony.patch
 
-  # Fixes from Gentoo
-  patch -Np1 -i ../chromium-harfbuzz-r0.patch
+  # https://webrtc.googlesource.com/src.git/+/3e70781361ed
+  patch -Np0 -i ../chromium-webrtc-missing-header.patch
 
   # https://bugs.gentoo.org/661880#c21
   patch -Np1 -i ../chromium-system-icu.patch

Deleted: chromium-harfbuzz-r0.patch
===
--- chromium-harfbuzz-r0.patch  2019-01-30 06:53:20 UTC (rev 344935)
+++ chromium-harfbuzz-r0.patch  2019-01-30 07:26:02 UTC (rev 344936)
@@ -1,80 +0,0 @@
-From 7ae38170a117e909bb28e1470842b68de3501197 Mon Sep 17 00:00:00 2001
-From: Mike Gilbert 
-Date: Sun, 21 Oct 2018 10:06:53 -0400
-Subject: [PATCH] blink: add 'const' modifier for harfbuzz hb_codepoint_t
- pointers
-
-This resolves a build failure against harfbuzz 2.0.
-
-Based on a patch by Alexandre Fierreira.
-
-Bug: https://bugs.gentoo.org/669034

- .../renderer/platform/fonts/shaping/harfbuzz_face.cc | 2 +-
- .../renderer/platform/fonts/skia/skia_text_metrics.cc| 9 +++--
- 

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

2018-03-07 Thread Evangelos Foutras via arch-commits
Date: Wednesday, March 7, 2018 @ 12:18:01
  Author: foutrelis
Revision: 317974

upgpkg: chromium 65.0.3325.146-1

New upstream release.

Added:
  chromium/trunk/chromium-math.h-r0.patch
  chromium/trunk/chromium-stdint.patch
Modified:
  chromium/trunk/PKGBUILD
Deleted:
  chromium/trunk/chromium-memcpy-r0.patch
  chromium/trunk/chromium-omnibox-unescape-fragment.patch
  chromium/trunk/chromium-use-fromUTF8-for-UnicodeString-construction.patch

+
 PKGBUILD   |   40 -
 chromium-math.h-r0.patch   |   29 
 chromium-memcpy-r0.patch   |   35 
 chromium-omnibox-unescape-fragment.patch   |  437 ---
 chromium-stdint.patch  |   21 
 chromium-use-fromUTF8-for-UnicodeString-construction.patch |   68 -
 6 files changed, 64 insertions(+), 566 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2018-03-07 10:23:35 UTC (rev 317973)
+++ PKGBUILD2018-03-07 12:18:01 UTC (rev 317974)
@@ -5,7 +5,7 @@
 # Contributor: Daniel J Griffiths 
 
 pkgname=chromium
-pkgver=64.0.3282.186
+pkgver=65.0.3325.146
 pkgrel=1
 _launcher_ver=5
 pkgdesc="A web browser built for speed, simplicity, and security"
@@ -24,20 +24,18 @@
 
source=(https://commondatastorage.googleapis.com/chromium-browser-official/$pkgname-$pkgver.tar.xz
 
chromium-launcher-$_launcher_ver.tar.gz::https://github.com/foutrelis/chromium-launcher/archive/v$_launcher_ver.tar.gz
 
chromium-$pkgver.txt::https://chromium.googlesource.com/chromium/src.git/+/$pkgver?format=TEXT
-chromium-use-fromUTF8-for-UnicodeString-construction.patch
-chromium-omnibox-unescape-fragment.patch
 chromium-skia-harmony.patch
-chromium-memcpy-r0.patch
 chromium-clang-r2.patch
+chromium-math.h-r0.patch
+chromium-stdint.patch
 chromium-widevine.patch)
-sha256sums=('5fd0218759231ac00cc729235823592f6fd1e4a00ff64780a5fed7ab210f1860'
+sha256sums=('cb4f2f3f5a3344f7c452b61f8086d4b4e56af6f5bc34309c3ede8be6b4ab81a3'
 '4dc3428f2c927955d9ae117f2fb24d098cc6dd67adb760ac9c82b522ec8b0587'
-'e73f69942af1ba730a700151973fa6309b0586ff45bf35a7fea43f52b54a9cb5'
-'c82c830bac7ab328a76d85fb141e150a17d02d97138a6daa4720a8a8c371a402'
-'814eb2cecb10cb697e24036b08aac41e88d0e38971741f9e946200764e2401ae'
+'adfeb830af4c9b55c4a6481ef245e82ad2b9fc3cfe0fe339b30baa8573f701e7'
 'feca54ab09ac0fc9d0626770a6b899a6ac5a12173c7d0c1005bc3964ec83e7b3'
-'455f0029987d9f0532bd9a5250669af5146a9c2b65b776d4a6e2499e8aca7bb4'
 '4495e8b29dae242c79ffe4beefc5171eb3c7aacb7e9aebfd2d4d69b9d8c958d3'
+'fe0ab86aa5b0072db730eccda3e1582ebed4af25815bfd49fe0da24cf63ca902'
+'c00d2506f1078b38a8ebec474a7318e76a61db1298afb40088a34210f137210f'
 'd6fdcb922e5a7fbe15759d39ccc8ea4225821c44d98054ce0f23f9d1f00c9808')
 
 # Possible replacements are listed in build/linux/unbundle/replace_gn_files.py
@@ -45,9 +43,9 @@
 readonly -A _system_libs=(
   #[ffmpeg]=ffmpeg# https://crbug.com/731766
   [flac]=flac
-  #[fontconfig]=fontconfig# Enable for M65
-  #[freetype]=freetype2   # Using 'use_system_freetype=true' until M65
-  #[harfbuzz-ng]=harfbuzz # Using 'use_system_harfbuzz=true' until M65
+  [fontconfig]=fontconfig
+  [freetype]=freetype2
+  [harfbuzz-ng]=harfbuzz
   [icu]=icu
   [libdrm]=
   [libjpeg]=libjpeg
@@ -65,10 +63,8 @@
 readonly _unwanted_bundled_libs=(
   ${!_system_libs[@]}
   ${_system_libs[libjpeg]+libjpeg_turbo}
-  freetype
-  harfbuzz-ng
 )
-depends+=(${_system_libs[@]} freetype2 harfbuzz)
+depends+=(${_system_libs[@]})
 
 # Google API keys (see https://www.chromium.org/developers/how-tos/api-keys)
 # Note: These are for Arch Linux use ONLY. For your own distribution, please
@@ -95,18 +91,13 @@
   sed "s/@WIDEVINE_VERSION@/Pinkie Pie/" ../chromium-widevine.patch |
 patch -Np1
 
-  # https://crbug.com/772655
-  patch -Np1 -i ../chromium-use-fromUTF8-for-UnicodeString-construction.patch
-
-  # https://crbug.com/789163
-  patch -Np1 -i ../chromium-omnibox-unescape-fragment.patch
-
   # https://crbug.com/skia/6663#c10
   patch -Np4 -i ../chromium-skia-harmony.patch
 
   # Fixes from Gentoo
-  patch -Np1 -i ../chromium-memcpy-r0.patch
   patch -Np1 -i ../chromium-clang-r2.patch
+  patch -Np1 -i ../chromium-math.h-r0.patch
+  patch -Np1 -i ../chromium-stdint.patch
 
   # Remove compiler flags not supported by our system clang
   sed -i \
@@ -135,7 +126,7 @@
   \! -path "*third_party/$_lib/chromium/*" \
   \! -path "*third_party/$_lib/google/*" \
   \! -path './base/third_party/icu/*' \
-  \! -path './third_party/freetype/src/src/psnames/pstables.h' \
+  \! -path 

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

2017-10-18 Thread Evangelos Foutras
Date: Wednesday, October 18, 2017 @ 07:07:28
  Author: foutrelis
Revision: 308170

upgpkg: chromium 62.0.3202.62-1

New upstream release.

Modified:
  chromium/trunk/PKGBUILD
Deleted:
  chromium/trunk/PKGBUILD.62
  chromium/trunk/chromium-atk-r1.patch
  chromium/trunk/chromium-blink-gcc7.patch
  chromium/trunk/chromium-gcc-r1.patch
  chromium/trunk/chromium-gn-bootstrap-r14.patch

-+
 PKGBUILD|   37 +++---
 PKGBUILD.62 |  208 --
 chromium-atk-r1.patch   |   11 --
 chromium-blink-gcc7.patch   |   76 -
 chromium-gcc-r1.patch   |   14 --
 chromium-gn-bootstrap-r14.patch |   27 
 6 files changed, 20 insertions(+), 353 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2017-10-17 21:39:33 UTC (rev 308169)
+++ PKGBUILD2017-10-18 07:07:28 UTC (rev 308170)
@@ -5,7 +5,7 @@
 # Contributor: Daniel J Griffiths 
 
 pkgname=chromium
-pkgver=61.0.3163.100
+pkgver=62.0.3202.62
 pkgrel=1
 _launcher_ver=5
 pkgdesc="A web browser built for speed, simplicity, and security"
@@ -25,19 +25,15 @@
 
chromium-launcher-$_launcher_ver.tar.gz::https://github.com/foutrelis/chromium-launcher/archive/v$_launcher_ver.tar.gz
 chromium.desktop
 breakpad-use-ucontext_t.patch
-chromium-gcc-r1.patch
-chromium-gn-bootstrap-r14.patch
-chromium-atk-r1.patch
-chromium-blink-gcc7.patch
+crc32c-string-view-check.patch
+chromium-gn-bootstrap-r17.patch
 chromium-widevine.patch)
-sha256sums=('4135968cac6623c1d2b224494600cd274098cce41c298f8c3908b354a34c281b'
+sha256sums=('e8df3150386729ddcb4971636627e54815ad447be5f122201e310f5bb0bcc362'
 '4dc3428f2c927955d9ae117f2fb24d098cc6dd67adb760ac9c82b522ec8b0587'
 '028a748a5c275de9b8f776f97909f999a8583a4b77fd1cd600b4fc5c0c3e91e9'
 '6e9a345f810d36068ee74ebba4708c70ab30421dad3571b6be5e9db635078ea8'
-'11cffe305dd49027c91638261463871e9ecb0ecc6ecc02bfa37b203c5960ab58'
-'98784c4a0a793ecf34987bc8f91ae360d78596a4a59dd47651411381f752a080'
-'fc0e9abb77b6f8e21a7601ff53f267a854736d711b530be5bbd80d976678e98d'
-'f94310a7ba9b8b777adfb4442bcc0a8f0a3d549b2cf4a156066f8e2e28e2f323'
+'35435e8dae76737baafecdc76d74a1c97281c4179e416556e033a06a31468e6d'
+'d81319f168dad0e411c8e810f73daa2f56ff579578771bd9c9bb1aa2d7c09a8b'
 'd6fdcb922e5a7fbe15759d39ccc8ea4225821c44d98054ce0f23f9d1f00c9808')
 
 # Possible replacements are listed in build/linux/unbundle/replace_gn_files.py
@@ -47,7 +43,7 @@
   [flac]=flac
   #[freetype]=freetype2  # https://crbug.com/pdfium/733
   [harfbuzz-ng]=harfbuzz-icu
-  #[icu]=icu # Enable again when upstream supports ICU 59
+  [icu]=icu
   [libdrm]=
   [libjpeg]=libjpeg
   #[libpng]=libpng   # https://crbug.com/752403#c10
@@ -73,6 +69,15 @@
 prepare() {
   cd "$srcdir/$pkgname-$pkgver"
 
+  # https://crbug.com/710701
+  local _chrome_build_hash=$(curl -s 
https://chromium.googlesource.com/chromium/src.git/+/$pkgver?format=TEXT |
+base64 -d | grep -Po '^parent \K[0-9a-f]{40}$')
+  if [[ -z $_chrome_build_hash ]]; then
+error "Unable to fetch Chrome build hash."
+return 1
+  fi
+  echo "LASTCHANGE=$_chrome_build_hash-" >build/util/LASTCHANGE
+
   # Enable support for the Widevine CDM plugin
   # libwidevinecdm.so is not included, but can be copied over from Chrome
   # (Version string doesn't seem to matter so let's go with "Pinkie Pie")
@@ -79,16 +84,14 @@
   sed "s/@WIDEVINE_VERSION@/Pinkie Pie/" ../chromium-widevine.patch |
 patch -Np1
 
-  # https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=853347
-  patch -Np1 -i ../chromium-blink-gcc7.patch
-
   # Fix build with glibc 2.26
   patch -Np1 -i ../breakpad-use-ucontext_t.patch
 
+  # Fix incorrect inclusion of  in modes other than >= C++17
+  patch -Np1 -d third_party/crc32c/src <../crc32c-string-view-check.patch
+
   # Fixes from Gentoo
-  patch -Np1 -i ../chromium-gcc-r1.patch
-  patch -Np1 -i ../chromium-gn-bootstrap-r14.patch
-  patch -Np1 -i ../chromium-atk-r1.patch
+  patch -Np1 -i ../chromium-gn-bootstrap-r17.patch
 
   # Use Python 2
   find . -name '*.py' -exec sed -i -r 's|/usr/bin/python$|&2|g' {} +

Deleted: PKGBUILD.62
===
--- PKGBUILD.62 2017-10-17 21:39:33 UTC (rev 308169)
+++ PKGBUILD.62 2017-10-18 07:07:28 UTC (rev 308170)
@@ -1,208 +0,0 @@
-# $Id: PKGBUILD 277477 2016-10-01 03:36:40Z foutrelis $
-# Maintainer: Evangelos Foutras 
-# Contributor: Pierre Schmitz 
-# Contributor: Jan "heftig" Steffens 
-# Contributor: Daniel J Griffiths 
-
-pkgname=chromium
-pkgver=62.0.3202.52
-pkgrel=1
-_launcher_ver=5
-pkgdesc="A 

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

2015-04-17 Thread Evangelos Foutras
Date: Friday, April 17, 2015 @ 22:55:31
  Author: foutrelis
Revision: 237324

upgpkg: chromium 42.0.2311.90-1

- New upstream release.
- Implement new launcher.
- Enable support for the Widevine CDM plugin (packaged separately).

Added:
  chromium/trunk/chromium-widevine.patch
Modified:
  chromium/trunk/PKGBUILD
  chromium/trunk/chromium.install
Deleted:
  chromium/trunk/chromium-webkit-buffer-overflow.patch
  chromium/trunk/chromium.default
  chromium/trunk/chromium.sh

---+
 PKGBUILD  |   71 
 chromium-webkit-buffer-overflow.patch |   23 --
 chromium-widevine.patch   |   12 +
 chromium.default  |4 -
 chromium.install  |   23 --
 chromium.sh   |   25 ---
 6 files changed, 68 insertions(+), 90 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2015-04-17 20:41:03 UTC (rev 237323)
+++ PKGBUILD2015-04-17 20:55:31 UTC (rev 237324)
@@ -5,8 +5,8 @@
 # Contributor: Daniel J Griffiths ghost1...@archlinux.us
 
 pkgname=chromium
-pkgver=41.0.2272.118
-pkgrel=2
+pkgver=42.0.2311.90
+pkgrel=1
 pkgdesc=The open-source project behind Google Chrome, an attempt at creating 
a safer, faster, and more stable browser
 arch=('i686' 'x86_64')
 url=http://www.chromium.org/;
@@ -13,28 +13,23 @@
 license=('BSD')
 depends=('gtk2' 'nss' 'alsa-lib' 'xdg-utils' 'bzip2' 'libevent' 'libxss' 'icu'
  'libexif' 'libgcrypt' 'ttf-font' 'systemd' 'dbus' 'flac' 'snappy'
- 'speech-dispatcher' 'pciutils' 'libpulse' 'harfbuzz'
- 'desktop-file-utils' 'hicolor-icon-theme')
-makedepends=('python2' 'perl' 'gperf' 'yasm' 'mesa' 'libgnome-keyring'
- 'elfutils' 'subversion' 'ninja' 'clang')
+ 'speech-dispatcher' 'pciutils' 'libpulse' 'harfbuzz' 'libsecret'
+ 'perl' 'perl-file-basedir' 'desktop-file-utils' 'hicolor-icon-theme')
+makedepends=('python2' 'gperf' 'yasm' 'mesa' 'ninja' 'git')
 makedepends_x86_64=('lib32-gcc-libs' 'lib32-zlib')
 optdepends=('kdebase-kdialog: needed for file dialogs in KDE'
 'gnome-keyring: for storing passwords in GNOME keyring'
-'libgnome-keyring: for storing passwords in GNOME keyring'
 'kdeutils-kwalletmanager: for storing passwords in KWallet')
-backup=('etc/chromium/default')
 options=('!strip')
 install=chromium.install
 
source=(https://commondatastorage.googleapis.com/chromium-browser-official/$pkgname-$pkgver.tar.xz
+git+https://github.com/foutrelis/chromium-launcher.git
 chromium.desktop
-chromium.default
-chromium.sh
-chromium-webkit-buffer-overflow.patch)
-sha256sums=('c043d2eca41acaabd4f7068a5d9a21835dac2ca7705dd865d376c8a732ec8c3c'
+chromium-widevine.patch)
+sha256sums=('60b0eb38c1c3d0cc998dae70b7333e53b715cff2847c1652e03d1723300db4c9'
+'SKIP'
 '09bfac44104f4ccda4c228053f689c947b3e97da9a4ab6fa34ce061ee83d0322'
-'478340d5760a9bd6c549e19b1b5d1c5b4933ebf5f8cfb2b3e2d70d07443fe232'
-'db3a2ea59c64f5aa4618a385b9db0ac488e900664126af578676b5f09939f9f6'
-'870ca4516a0a5407b1e2da822a1ca4f201349c8699877f6bd248cd8e08e7f2f1')
+'379b746e187de28f80f5a7cd19edcfa31859656826f802a1ede054fcb6dfb221')
 
 # Google API keys (see http://www.chromium.org/developers/how-tos/api-keys)
 # Note: These are for Arch Linux use ONLY. For your own distribution, please
@@ -45,8 +40,8 @@
 _google_default_client_secret=0ZChLK6AxeA3Isu96MkwqDR4
 
 # We can't build (P)NaCL on i686 because the toolchain is x86_64 only and the
-# instructions to build the toolchain from source don't work that well (at 
least
-# from within the Chromium 39 source tree).
+# instructions on how to build the toolchain from source don't work that well
+# (at least not from within the Chromium 39 source tree).
 # 
https://sites.google.com/a/chromium.org/dev/nativeclient/pnacl/building-pnacl-components-for-distribution-packagers
 _build_nacl=1
 if [[ $CARCH == i686 ]]; then
@@ -56,15 +51,19 @@
 prepare() {
   cd $srcdir/$pkgname-$pkgver
 
+  # Enable support for the Widevine CDM plugin
+  # The actual libraries are not included, but can be copied over from Chrome:
+  #   libwidevinecdmadapter.so
+  #   libwidevinecdm.so
+  # (Version string doesn't seem to matter so let's go with Pinkie Pie)
+  sed s/@WIDEVINE_VERSION@/Pinkie Pie/ ../chromium-widevine.patch |
+patch -Np1
+
   # Remove bundled ICU; its header files appear to get picked up instead of
   # the system ones, leading to errors during the final link stage
   # 
https://groups.google.com/a/chromium.org/d/topic/chromium-packagers/BNGvJc08B6Q
   find third_party/icu -type f \! -regex '.*\.\(gyp\|gypi\|isolate\)' -delete
 
-  # Fix a buffer overflow in blink::HarfBuzzShaper::resolveCandidateRuns()
-  # 

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

2013-06-17 Thread Evangelos Foutras
Date: Tuesday, June 18, 2013 @ 05:41:11
  Author: foutrelis
Revision: 188691

Prepare Chromium 28 update.

Added:
  chromium/trunk/chromium-system-harfbuzz-r0.patch
Modified:
  chromium/trunk/PKGBUILD
Deleted:
  chromium/trunk/chromium-26.0.1410.43-speechd-0.8.patch
  
chromium/trunk/chromium-27.0.1453.93-allow-sample-rate-pass-through-on-linux.patch
  
chromium/trunk/chromium-27.0.1453.93-fix-crash-when-quickly-dragging-a-new-tab.patch
  chromium/trunk/chromium-pnacl-r0.patch

---+
 PKGBUILD  |   48 
+
 chromium-26.0.1410.43-speechd-0.8.patch   |   11 -
 chromium-27.0.1453.93-allow-sample-rate-pass-through-on-linux.patch   |   96 
--
 chromium-27.0.1453.93-fix-crash-when-quickly-dragging-a-new-tab.patch |   39 

 chromium-pnacl-r0.patch   |   11 -
 chromium-system-harfbuzz-r0.patch |   44 

 6 files changed, 63 insertions(+), 186 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2013-06-18 01:22:22 UTC (rev 188690)
+++ PKGBUILD2013-06-18 03:41:11 UTC (rev 188691)
@@ -5,16 +5,16 @@
 # Contributor: Daniel J Griffiths ghost1...@archlinux.us
 
 pkgname=chromium
-pkgver=27.0.1453.110
+pkgver=28.0.1500.45
 pkgrel=1
 pkgdesc=The open-source project behind Google Chrome, an attempt at creating 
a safer, faster, and more stable browser
 arch=('i686' 'x86_64')
 url=http://www.chromium.org/;
 license=('BSD')
-depends=('gtk2' 'nss' 'alsa-lib' 'xdg-utils' 'bzip2' 'libevent' 'libxss'
- 'libgcrypt' 'ttf-font' 'udev' 'dbus' 'flac' 'opus' 'libwebp'
- 'speech-dispatcher' 'pciutils' 'libpulse' 'desktop-file-utils'
- 'hicolor-icon-theme')
+depends=('gtk2' 'nss' 'alsa-lib' 'xdg-utils' 'bzip2' 'libevent' 'libxss' 'icu'
+ 'libgcrypt' 'ttf-font' 'udev' 'dbus' 'flac' 'opus' 'libwebp' 'snappy'
+ 'speech-dispatcher' 'pciutils' 'libpulse' 'harfbuzz' 'harfbuzz-icu'
+ 'desktop-file-utils' 'hicolor-icon-theme')
 makedepends=('python2' 'perl' 'gperf' 'yasm' 'mesa' 'libgnome-keyring'
  'elfutils' 'subversion' 'nacl-toolchain-newlib')
 optdepends=('kdebase-kdialog: needed for file dialogs in KDE')
@@ -24,18 +24,12 @@
 chromium.desktop
 chromium.default
 chromium.sh
-chromium-pnacl-r0.patch
-chromium-27.0.1453.93-allow-sample-rate-pass-through-on-linux.patch
-chromium-27.0.1453.93-fix-crash-when-quickly-dragging-a-new-tab.patch
-chromium-26.0.1410.43-speechd-0.8.patch)
-sha256sums=('85ebae343507bcd2393f2e159f2204e47a2f5e2a45fa9f3a389bcdfc17d4c1f8'
+chromium-system-harfbuzz-r0.patch)
+sha256sums=('f183d4d6f733dfed4b9391c4c6cfc831af1d050f00bdebb504b0d413cdc65d07'
 '09bfac44104f4ccda4c228053f689c947b3e97da9a4ab6fa34ce061ee83d0322'
 '478340d5760a9bd6c549e19b1b5d1c5b4933ebf5f8cfb2b3e2d70d07443fe232'
 '4999fded897af692f4974f0a3e3bbb215193519918a1fa9b31ed51e74a2dccb9'
-'9875ffcc0e9ae9420876ac66b130b1b017d445a031d43cbe0119793e1fb3781c'
-'c57d760589af1566469fbba0d85624b53eb07a3077485599f599a226dbd4d2a8'
-'d530f52cb485ff8da035b38ffebe171309a1d8e515040f5e6398ecb286336797'
-'23b04468881642ffdc8457016c8f91df395dfccb4af2ad6b758168180ae070f3')
+'2bc4cf17adac9864f4e832e57247984f28fce171d3699c0fc2c3596d1ab20386')
 
 # Google API keys (see http://www.chromium.org/developers/how-tos/api-keys)
 # Note: These are for Arch Linux use ONLY. For your own distribution, please
@@ -48,20 +42,9 @@
 prepare() {
   cd $srcdir/$pkgname-$pkgver
 
-  # Fix build without pnacl (patch from Gentoo)
-  patch -Np0 -i $srcdir/chromium-pnacl-r0.patch
+  # Fix build with system harfbuzz (patch from Gentoo)
+  patch -Np1 -i $srcdir/chromium-system-harfbuzz-r0.patch
 
-  # Allow sample rate pass through on Linux
-  # https://code.google.com/p/chromium/issues/detail?id=229918
-  patch -Np1 -i 
$srcdir/chromium-27.0.1453.93-allow-sample-rate-pass-through-on-linux.patch
-
-  # Fix crash when quickly dragging a new tab
-  # https://code.google.com/p/chromium/issues/detail?id=228918
-  patch -Np1 -i 
$srcdir/chromium-27.0.1453.93-fix-crash-when-quickly-dragging-a-new-tab.patch
-
-  # Fix header location for speech-dispatcher 0.8 (patch from PLD Linux)
-  patch -Np2 -i $srcdir/chromium-26.0.1410.43-speechd-0.8.patch
-
   # Use Python 2
   find . -type f -exec sed -i -r \
 -e 's|/usr/bin/python$|2|g' \
@@ -89,7 +72,7 @@
   # Silence typedef 'x' locally defined but not used warnings
   CFLAGS+=' -Wno-unused-local-typedefs'
 
-  build/gyp_chromium --depth=. \
+  local _chromium_conf=(
 -Dgoogle_api_key=$_google_api_key \
 -Dgoogle_default_client_id=$_google_default_client_id \
 

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

2013-05-21 Thread Evangelos Foutras
Date: Wednesday, May 22, 2013 @ 02:28:56
  Author: foutrelis
Revision: 186198

upgpkg: chromium 27.0.1453.93-1

New upstream release.

Added:
  chromium/trunk/chromium-pnacl-r0.patch
Modified:
  chromium/trunk/PKGBUILD
Deleted:
  chromium/trunk/chromium-20.0.1132.57-glib-2.16-use-siginfo_t.patch
  chromium/trunk/chromium-25.0.1364.152-fix-crash-when-cups-is-down.patch
  chromium/trunk/chromium-26.0.1410.43-audio-buffer-size.patch
  chromium/trunk/chromium-ppapi-r0.patch

--+
 PKGBUILD |   49 +++--
 chromium-20.0.1132.57-glib-2.16-use-siginfo_t.patch  |   35 --
 chromium-25.0.1364.152-fix-crash-when-cups-is-down.patch |   68 -
 chromium-26.0.1410.43-audio-buffer-size.patch|   12 --
 chromium-pnacl-r0.patch  |   11 ++
 chromium-ppapi-r0.patch  |   11 --
 6 files changed, 29 insertions(+), 157 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2013-05-22 00:02:48 UTC (rev 186197)
+++ PKGBUILD2013-05-22 00:28:56 UTC (rev 186198)
@@ -5,15 +5,15 @@
 # Contributor: Daniel J Griffiths ghost1...@archlinux.us
 
 pkgname=chromium
-pkgver=26.0.1410.63
-pkgrel=2
+pkgver=27.0.1453.93
+pkgrel=1
 pkgdesc=The open-source project behind Google Chrome, an attempt at creating 
a safer, faster, and more stable browser
 arch=('i686' 'x86_64')
 url=http://www.chromium.org/;
 license=('BSD')
 depends=('gtk2' 'nss' 'alsa-lib' 'xdg-utils' 'bzip2' 'libevent' 'libxss'
  'libgcrypt' 'ttf-font' 'udev' 'dbus' 'flac' 'opus' 'libwebp'
- 'speech-dispatcher' 'pciutils' 'desktop-file-utils'
+ 'speech-dispatcher' 'pciutils' 'libpulse' 'desktop-file-utils'
  'hicolor-icon-theme')
 makedepends=('python2' 'perl' 'gperf' 'yasm' 'mesa' 'libgnome-keyring'
  'elfutils' 'subversion' 'nacl-toolchain-newlib')
@@ -24,19 +24,13 @@
 chromium.desktop
 chromium.default
 chromium.sh
-chromium-20.0.1132.57-glib-2.16-use-siginfo_t.patch
-chromium-25.0.1364.152-fix-crash-when-cups-is-down.patch
-chromium-ppapi-r0.patch
-chromium-26.0.1410.43-audio-buffer-size.patch
+chromium-pnacl-r0.patch
 chromium-26.0.1410.43-speechd-0.8.patch)
-sha256sums=('7af8f70745992afdee0196039b5beab1b86b6de7fa70ca4f4a04dc335f034b3f'
+sha256sums=('6dd8c01a4d72acc512652332d67e92ff9bcb3533b621f2b281c30f00ce26ad40'
 '09bfac44104f4ccda4c228053f689c947b3e97da9a4ab6fa34ce061ee83d0322'
 '478340d5760a9bd6c549e19b1b5d1c5b4933ebf5f8cfb2b3e2d70d07443fe232'
 '4999fded897af692f4974f0a3e3bbb215193519918a1fa9b31ed51e74a2dccb9'
-'c1baf14121502efbc2a31b64029dcafa0e28ca5b71ad0e28a3c6342d18198615'
-'36ff43d8e85a7eac305727057c4ffd45eb7a357ce212a4a3f153037bc34a5ace'
-'1f4b57670d317959bc2dc60e5d2a44aa8fc6028f7ed540cdb502fa0aa99c81bd'
-'5af41119d383b10c21f98f0e02d2259cc8cf60eefdb2fa737d8ed87d4c01f056'
+'9875ffcc0e9ae9420876ac66b130b1b017d445a031d43cbe0119793e1fb3781c'
 '23b04468881642ffdc8457016c8f91df395dfccb4af2ad6b758168180ae070f3')
 
 # Google API keys (see http://www.chromium.org/developers/how-tos/api-keys)
@@ -47,24 +41,15 @@
 _google_default_client_id=413772536636.apps.googleusercontent.com
 _google_default_client_secret=0ZChLK6AxeA3Isu96MkwqDR4
 
-build() {
-  cd $srcdir/chromium-$pkgver
+prepare() {
+  cd $srcdir/$pkgname-$pkgver
 
-  # Fix build with glibc 2.16
-  patch -Np1 -i $srcdir/chromium-20.0.1132.57-glib-2.16-use-siginfo_t.patch
+  # Fix build without pnacl (patch from Gentoo)
+  patch -Np0 -i $srcdir/chromium-pnacl-r0.patch
 
-  # http://code.google.com/p/chromium/issues/detail?id=160574
-  patch -Np1 -i 
$srcdir/chromium-25.0.1364.152-fix-crash-when-cups-is-down.patch
-
-  # Fix build without NaCl glibc toolchain (patch from Gentoo)
-  patch -Np0 -i $srcdir/chromium-ppapi-r0.patch
-
   # Fix header location for speech-dispatcher 0.8 (patch from PLD Linux)
   patch -Np2 -i $srcdir/chromium-26.0.1410.43-speechd-0.8.patch
 
-  # http://code.google.com/p/chromium/issues/detail?id=178626
-  patch -Np1 -i $srcdir/chromium-26.0.1410.43-audio-buffer-size.patch
-
   # Use Python 2
   find . -type f -exec sed -i -r \
 -e 's|/usr/bin/python$|2|g' \
@@ -73,14 +58,19 @@
   # There are still a lot of relative calls which need a workaround
   mkdir $srcdir/python2-path
   ln -s /usr/bin/python2 $srcdir/python2-path/python
-  export PATH=$srcdir/python2-path:$PATH
 
   # Prepare NaCL toolchain
   mkdir -p out/Release/obj/gen/sdk/toolchain
   cp -a /usr/lib/nacl-toolchain-newlib \
 out/Release/obj/gen/sdk/toolchain/linux_x86_newlib
   touch out/Release/obj/gen/sdk/toolchain/linux_x86_newlib/stamp.untar
+}
 
+build() {
+  cd $srcdir/$pkgname-$pkgver
+
+  export PATH=$srcdir/python2-path:$PATH
+
   # 

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

2011-09-16 Thread Evangelos Foutras
Date: Friday, September 16, 2011 @ 13:02:52
  Author: foutrelis
Revision: 138107

upgpkg: chromium 14.0.835.163-1

New upstream release.

Added:
  chromium/trunk/webrtc-r240-r242-make-pulseaudio-optional.patch
Modified:
  chromium/trunk/PKGBUILD
  chromium/trunk/gcc-4.6.patch
Deleted:
  chromium/trunk/glibc-2.14.patch
  chromium/trunk/make-hash-tools-use-if-instead-of-switch.patch
  chromium/trunk/v8-r8472-crbug-77625-huge-number-of-cpu-wakeups.patch

---+
 PKGBUILD  |   40 -
 gcc-4.6.patch |   13 
 glibc-2.14.patch  |   51 -
 make-hash-tools-use-if-instead-of-switch.patch|   37 -
 v8-r8472-crbug-77625-huge-number-of-cpu-wakeups.patch |  506 
 webrtc-r240-r242-make-pulseaudio-optional.patch   |  122 +++
 6 files changed, 136 insertions(+), 633 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2011-09-16 16:35:58 UTC (rev 138106)
+++ PKGBUILD2011-09-16 17:02:52 UTC (rev 138107)
@@ -5,7 +5,7 @@
 # Contributor: Daniel J Griffiths ghost1...@archlinux.us
 
 pkgname=chromium
-pkgver=13.0.782.220
+pkgver=14.0.835.163
 pkgrel=1
 pkgdesc=The open-source project behind Google Chrome, an attempt at creating 
a safer, faster, and more stable browser
 arch=('i686' 'x86_64')
@@ -22,16 +22,12 @@
 chromium.desktop
 chromium.sh
 gcc-4.6.patch
-glibc-2.14.patch
-make-hash-tools-use-if-instead-of-switch.patch
-v8-r8472-crbug-77625-huge-number-of-cpu-wakeups.patch)
-md5sums=('b16d438a44a54b6f9e88ed9d3c7ba937'
- '075c3c2fa5902e16b8547dd31d437191'
- '096a46ef386817988250d2d7bddd1b34'
- '690f2be42bf2a31755753a466653eb33'
- '543a32b09f138fd47858b9a4a7c82dfb'
- '9d9e66c8365d7333e55305796b49fd77'
- '19c08d35303be15e414f2e881000140d')
+webrtc-r240-r242-make-pulseaudio-optional.patch)
+sha1sums=('f38e8835f4c12a61734eb99ee0a16d1386e2726d'
+  '7d97535ec0ed124e95888de84b2c6a3654a27d4a'
+  '427ecf06cae11f28f59b1912d659ad5541391682'
+  '3918746524fff30e73dc656754733df5c2c2'
+  'db66921c9801ad5930920faf87bd5c313a3fc702')
 
 build() {
   cd $srcdir/chromium-$pkgver
@@ -40,24 +36,13 @@
   # http://code.google.com/p/chromium/issues/detail?id=80071
   patch -Np0 -i $srcdir/gcc-4.6.patch
 
-  # Fix build with glibc 2.14
-  # http://code.google.com/p/chromium/issues/detail?id=86646
-  patch -Np2 -i $srcdir/glibc-2.14.patch
-
-  # Fix build with Perl 5.14
-  patch -d third_party/WebKit -Np2 -i \
-$srcdir/make-hash-tools-use-if-instead-of-switch.patch
-
   # Fix build with CUPS 1.5
   sed -i '/#include cups\/cups.h/ a #include cups/ppd.h' \
 chrome/browser/ui/webui/print_preview_handler.cc
 
-  # Fix upstream issue #77625: Chromium Generates HUGE numbers of CPU wakeups
-  # and uses massive amounts of power
-  # http://code.google.com/p/chromium/issues/detail?id=77625
-  # Patch from: http://code.google.com/p/v8/source/detail?r=8472
-  patch -d v8/src -Np0 -i \
-$srcdir/v8-r8472-crbug-77625-huge-number-of-cpu-wakeups.patch
+  # Make PulseAudio optional in WebRTC
+  patch -d third_party/webrtc -Np1 -i \
+$srcdir/webrtc-r240-r242-make-pulseaudio-optional.patch
 
   # Use Python 2
   find . -type f -exec sed -i -r \
@@ -91,7 +76,7 @@
 -Duse_system_yasm=1 \
 -Duse_system_zlib=1 \
 -Duse_gconf=0 \
--Ddisable_sse2=1 \
+-Ddisable_nacl=1 \
 $([[ $CARCH == i686 ]]  echo '-Ddisable_sse2=1')
 
   make chrome chrome_sandbox BUILDTYPE=Release
@@ -105,8 +90,9 @@
   install -Dm4755 -o root -g root out/Release/chrome_sandbox \
 $pkgdir/usr/lib/chromium/chromium-sandbox
 
+  # Add out/Release/{libppGoogleNaClPluginChrome.so,nacl_irt_x86_*.nexe} again
+  # when NaCl build is fixed
   cp out/Release/{{chrome,resources}.pak,libffmpegsumo.so} \
-out/Release/{libppGoogleNaClPluginChrome.so,nacl_irt_x86_*.nexe} \
 $pkgdir/usr/lib/chromium/
 
   # These links are only needed when building with system ffmpeg

Modified: gcc-4.6.patch
===
--- gcc-4.6.patch   2011-09-16 16:35:58 UTC (rev 138106)
+++ gcc-4.6.patch   2011-09-16 17:02:52 UTC (rev 138107)
@@ -68,9 +68,9 @@
 --- third_party/tcmalloc/chromium/src/common.cc2011-04-13 
13:23:04.0 +0400
 +++ third_party/tcmalloc/chromium/src/common.cc2011-04-20 
19:32:58.0 +0400
 @@ -34,6 +34,7 @@
- #include system-alloc.h
  #include config.h
  #include common.h
+ #include system-alloc.h
 +#include cstddef
  
  namespace tcmalloc {
@@ -86,17 +86,6 @@
  
  using std::map;
  
-diff -u -r third_party/tcmalloc/chromium/src/system-alloc.h 
third_party/tcmalloc/chromium/src/system-alloc.h
 third_party/tcmalloc/chromium/src/system-alloc.h   2011-04-13 
13:23:04.0