* [PR PATCH] chromium: update to 84.0.4147.105.
@ 2020-07-28 18:22 pbui
2020-07-29 17:55 ` [PR PATCH] [Updated] " pbui
` (13 more replies)
0 siblings, 14 replies; 15+ messages in thread
From: pbui @ 2020-07-28 18:22 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 455 bytes --]
There is a new pull request by pbui against master on the void-packages repository
https://github.com/pbui/void-packages chromium
https://github.com/void-linux/void-packages/pull/23903
chromium: update to 84.0.4147.105.
- Built for x86_64 and x86_64-musl.
- Tested on x86_64.
- Drop unnecessary secure_getenv musl patch.
- Also update chromium-widevine.
A patch file from https://github.com/void-linux/void-packages/pull/23903.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-chromium-23903.patch --]
[-- Type: text/x-diff, Size: 3315 bytes --]
From ba82be065b7a751491e7eba109a4e9ca4c6aaff8 Mon Sep 17 00:00:00 2001
From: Peter Bui <pbui@github.bx612.space>
Date: Tue, 28 Jul 2020 11:42:24 -0400
Subject: [PATCH 1/2] chromium: update to 84.0.4147.105.
[ci skip]
- Built for x86_64 and x86_64-musl.
- Tested on x86_64.
- Drop unnecessary secure_getenv musl patch.
---
.../musl-patches/dont-assume-secure-getenv.patch | 13 -------------
srcpkgs/chromium/template | 4 ++--
2 files changed, 2 insertions(+), 15 deletions(-)
delete mode 100644 srcpkgs/chromium/files/musl-patches/dont-assume-secure-getenv.patch
diff --git a/srcpkgs/chromium/files/musl-patches/dont-assume-secure-getenv.patch b/srcpkgs/chromium/files/musl-patches/dont-assume-secure-getenv.patch
deleted file mode 100644
index abde598d8fd..00000000000
--- a/srcpkgs/chromium/files/musl-patches/dont-assume-secure-getenv.patch
+++ /dev/null
@@ -1,13 +0,0 @@
---- third_party/angle/third_party/vulkan-loader/src/BUILD.gn.orig 2020-02-08 16:16:30.786747326 -0500
-+++ third_party/angle/third_party/vulkan-loader/src/BUILD.gn 2020-02-08 16:17:02.682797286 -0500
-@@ -59,10 +59,6 @@
- if (is_win) {
- cflags = [ "/wd4201" ]
- }
-- if (is_linux) {
-- # assume secure_getenv() is available
-- defines += [ "HAVE_SECURE_GETENV" ]
-- }
- }
-
- if (!is_android) {
diff --git a/srcpkgs/chromium/template b/srcpkgs/chromium/template
index 96a8953d335..de9ed8479ff 100644
--- a/srcpkgs/chromium/template
+++ b/srcpkgs/chromium/template
@@ -1,7 +1,7 @@
# Template file for 'chromium'
pkgname=chromium
# See http://www.chromium.org/developers/calendar for the latest version
-version=84.0.4147.89
+version=84.0.4147.105
revision=1
archs="i686 x86_64*"
short_desc="Google's attempt at creating a safer, faster, and more stable browser"
@@ -9,7 +9,7 @@ maintainer="Enno Boland <gottox@voidlinux.org>"
license="BSD-3-Clause"
homepage="https://www.chromium.org/"
distfiles="https://commondatastorage.googleapis.com/chromium-browser-official/${pkgname}-${version}.tar.xz"
-checksum=17970d998c125b40765141f2cd346d1674f05dbd4a28fdcf31f9e3540890c679
+checksum=caf4ebeb2a2333454c3067a2534aeecaab5029aa78fc0d8b27f79ad3b9c5ccac
lib32disabled=yes
nodebug=yes
From e89e793f082dc5bb109aad3f1483b666ebf8ce11 Mon Sep 17 00:00:00 2001
From: Peter Bui <pbui@github.bx612.space>
Date: Tue, 28 Jul 2020 14:20:30 -0400
Subject: [PATCH 2/2] chromium-widevine: update to 84.0.4147.105.
[ci skip]
---
srcpkgs/chromium-widevine/template | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/srcpkgs/chromium-widevine/template b/srcpkgs/chromium-widevine/template
index 70f097c7c08..ada3f947519 100644
--- a/srcpkgs/chromium-widevine/template
+++ b/srcpkgs/chromium-widevine/template
@@ -6,7 +6,7 @@ _chromeVersion="current"
_channel="stable"
pkgname=chromium-widevine
-version=84.0.4147.89
+version=84.0.4147.105
revision=1
archs="x86_64"
create_wrksrc=yes
@@ -17,7 +17,7 @@ depends="chromium binutils xz"
homepage="https://www.google.com/chrome"
repository=nonfree
distfiles="https://dl.google.com/linux/direct/google-chrome-${_channel}_${_chromeVersion}_amd64.deb"
-checksum=9f8fd8f23a8402c45ef90668285dd37407ae13801fda652fb31a4f2ff47ef0c3
+checksum=dc7fa2ca2dccf482524dc2a343662859a22ad1fb33767447d7de6fcf6cc1dd7e
do_extract() {
:
^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: [PR PATCH] [Updated] chromium: update to 84.0.4147.105.
2020-07-28 18:22 [PR PATCH] chromium: update to 84.0.4147.105 pbui
@ 2020-07-29 17:55 ` pbui
2020-07-29 17:57 ` pbui
` (12 subsequent siblings)
13 siblings, 0 replies; 15+ messages in thread
From: pbui @ 2020-07-29 17:55 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 460 bytes --]
There is an updated pull request by pbui against master on the void-packages repository
https://github.com/pbui/void-packages chromium
https://github.com/void-linux/void-packages/pull/23903
chromium: update to 84.0.4147.105.
- Built for x86_64 and x86_64-musl.
- Tested on x86_64.
- Drop unnecessary secure_getenv musl patch.
- Also update chromium-widevine.
A patch file from https://github.com/void-linux/void-packages/pull/23903.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-chromium-23903.patch --]
[-- Type: text/x-diff, Size: 3870 bytes --]
From 7145081350b5d13f2842c37b9806395714646d0b Mon Sep 17 00:00:00 2001
From: Peter Bui <pbui@github.bx612.space>
Date: Tue, 28 Jul 2020 11:42:24 -0400
Subject: [PATCH 1/2] chromium: update to 84.0.4147.105.
[ci skip]
- Built for x86_64 and x86_64-musl.
- Tested on x86_64.
- Drop unnecessary secure_getenv musl patch.
- Turn on js_optimize by default.
---
.../musl-patches/dont-assume-secure-getenv.patch | 13 -------------
srcpkgs/chromium/template | 10 +++-------
2 files changed, 3 insertions(+), 20 deletions(-)
delete mode 100644 srcpkgs/chromium/files/musl-patches/dont-assume-secure-getenv.patch
diff --git a/srcpkgs/chromium/files/musl-patches/dont-assume-secure-getenv.patch b/srcpkgs/chromium/files/musl-patches/dont-assume-secure-getenv.patch
deleted file mode 100644
index abde598d8fd..00000000000
--- a/srcpkgs/chromium/files/musl-patches/dont-assume-secure-getenv.patch
+++ /dev/null
@@ -1,13 +0,0 @@
---- third_party/angle/third_party/vulkan-loader/src/BUILD.gn.orig 2020-02-08 16:16:30.786747326 -0500
-+++ third_party/angle/third_party/vulkan-loader/src/BUILD.gn 2020-02-08 16:17:02.682797286 -0500
-@@ -59,10 +59,6 @@
- if (is_win) {
- cflags = [ "/wd4201" ]
- }
-- if (is_linux) {
-- # assume secure_getenv() is available
-- defines += [ "HAVE_SECURE_GETENV" ]
-- }
- }
-
- if (!is_android) {
diff --git a/srcpkgs/chromium/template b/srcpkgs/chromium/template
index 96a8953d335..18bcc63f688 100644
--- a/srcpkgs/chromium/template
+++ b/srcpkgs/chromium/template
@@ -1,7 +1,7 @@
# Template file for 'chromium'
pkgname=chromium
# See http://www.chromium.org/developers/calendar for the latest version
-version=84.0.4147.89
+version=84.0.4147.105
revision=1
archs="i686 x86_64*"
short_desc="Google's attempt at creating a safer, faster, and more stable browser"
@@ -9,7 +9,7 @@ maintainer="Enno Boland <gottox@voidlinux.org>"
license="BSD-3-Clause"
homepage="https://www.chromium.org/"
distfiles="https://commondatastorage.googleapis.com/chromium-browser-official/${pkgname}-${version}.tar.xz"
-checksum=17970d998c125b40765141f2cd346d1674f05dbd4a28fdcf31f9e3540890c679
+checksum=caf4ebeb2a2333454c3067a2534aeecaab5029aa78fc0d8b27f79ad3b9c5ccac
lib32disabled=yes
nodebug=yes
@@ -36,11 +36,7 @@ makedepends="libpng-devel gtk+-devel gtk+3-devel nss-devel pciutils-devel
ffmpeg-devel libva-devel python-setuptools xcb-proto $(vopt_if sndio sndio-devel)"
depends="libexif hwids desktop-file-utils hicolor-icon-theme xdg-utils"
-build_options_default="clang pulseaudio vaapi"
-
-case "${XBPS_TARGET_MACHINE}" in
- x86_64|i686) build_options_default+=" js_optimize" ;;
-esac
+build_options_default="clang js_optimize vaapi pulseaudio"
post_extract() {
case "${XBPS_TARGET_MACHINE}" in
From 46f84f8c1aab4ca5dfe831dae6eed492422ab691 Mon Sep 17 00:00:00 2001
From: Peter Bui <pbui@github.bx612.space>
Date: Tue, 28 Jul 2020 14:20:30 -0400
Subject: [PATCH 2/2] chromium-widevine: update to 84.0.4147.105.
[ci skip]
---
srcpkgs/chromium-widevine/template | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/srcpkgs/chromium-widevine/template b/srcpkgs/chromium-widevine/template
index 70f097c7c08..ada3f947519 100644
--- a/srcpkgs/chromium-widevine/template
+++ b/srcpkgs/chromium-widevine/template
@@ -6,7 +6,7 @@ _chromeVersion="current"
_channel="stable"
pkgname=chromium-widevine
-version=84.0.4147.89
+version=84.0.4147.105
revision=1
archs="x86_64"
create_wrksrc=yes
@@ -17,7 +17,7 @@ depends="chromium binutils xz"
homepage="https://www.google.com/chrome"
repository=nonfree
distfiles="https://dl.google.com/linux/direct/google-chrome-${_channel}_${_chromeVersion}_amd64.deb"
-checksum=9f8fd8f23a8402c45ef90668285dd37407ae13801fda652fb31a4f2ff47ef0c3
+checksum=dc7fa2ca2dccf482524dc2a343662859a22ad1fb33767447d7de6fcf6cc1dd7e
do_extract() {
:
^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: chromium: update to 84.0.4147.105.
2020-07-28 18:22 [PR PATCH] chromium: update to 84.0.4147.105 pbui
2020-07-29 17:55 ` [PR PATCH] [Updated] " pbui
@ 2020-07-29 17:57 ` pbui
2020-07-29 18:30 ` [PR PATCH] [Updated] " pbui
` (11 subsequent siblings)
13 siblings, 0 replies; 15+ messages in thread
From: pbui @ 2020-07-29 17:57 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 238 bytes --]
New comment by pbui on void-packages repository
https://github.com/void-linux/void-packages/pull/23903#issuecomment-665811793
Comment:
The js_optimize change was suggested by @Johnnynator and the musl change was suggested by @ericonr .
^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: [PR PATCH] [Updated] chromium: update to 84.0.4147.105.
2020-07-28 18:22 [PR PATCH] chromium: update to 84.0.4147.105 pbui
2020-07-29 17:55 ` [PR PATCH] [Updated] " pbui
2020-07-29 17:57 ` pbui
@ 2020-07-29 18:30 ` pbui
2020-08-05 2:29 ` q66
` (10 subsequent siblings)
13 siblings, 0 replies; 15+ messages in thread
From: pbui @ 2020-07-29 18:30 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 497 bytes --]
There is an updated pull request by pbui against master on the void-packages repository
https://github.com/pbui/void-packages chromium
https://github.com/void-linux/void-packages/pull/23903
chromium: update to 84.0.4147.105.
- Built for x86_64 and x86_64-musl.
- Tested on x86_64.
- Drop unnecessary secure_getenv musl patch.
- Turn on js_optimize by default.
- Also update chromium-widevine.
A patch file from https://github.com/void-linux/void-packages/pull/23903.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-chromium-23903.patch --]
[-- Type: text/x-diff, Size: 4482 bytes --]
From 7145081350b5d13f2842c37b9806395714646d0b Mon Sep 17 00:00:00 2001
From: Peter Bui <pbui@github.bx612.space>
Date: Tue, 28 Jul 2020 11:42:24 -0400
Subject: [PATCH 1/2] chromium: update to 84.0.4147.105.
[ci skip]
- Built for x86_64 and x86_64-musl.
- Tested on x86_64.
- Drop unnecessary secure_getenv musl patch.
- Turn on js_optimize by default.
---
.../musl-patches/dont-assume-secure-getenv.patch | 13 -------------
srcpkgs/chromium/template | 10 +++-------
2 files changed, 3 insertions(+), 20 deletions(-)
delete mode 100644 srcpkgs/chromium/files/musl-patches/dont-assume-secure-getenv.patch
diff --git a/srcpkgs/chromium/files/musl-patches/dont-assume-secure-getenv.patch b/srcpkgs/chromium/files/musl-patches/dont-assume-secure-getenv.patch
deleted file mode 100644
index abde598d8fd..00000000000
--- a/srcpkgs/chromium/files/musl-patches/dont-assume-secure-getenv.patch
+++ /dev/null
@@ -1,13 +0,0 @@
---- third_party/angle/third_party/vulkan-loader/src/BUILD.gn.orig 2020-02-08 16:16:30.786747326 -0500
-+++ third_party/angle/third_party/vulkan-loader/src/BUILD.gn 2020-02-08 16:17:02.682797286 -0500
-@@ -59,10 +59,6 @@
- if (is_win) {
- cflags = [ "/wd4201" ]
- }
-- if (is_linux) {
-- # assume secure_getenv() is available
-- defines += [ "HAVE_SECURE_GETENV" ]
-- }
- }
-
- if (!is_android) {
diff --git a/srcpkgs/chromium/template b/srcpkgs/chromium/template
index 96a8953d335..18bcc63f688 100644
--- a/srcpkgs/chromium/template
+++ b/srcpkgs/chromium/template
@@ -1,7 +1,7 @@
# Template file for 'chromium'
pkgname=chromium
# See http://www.chromium.org/developers/calendar for the latest version
-version=84.0.4147.89
+version=84.0.4147.105
revision=1
archs="i686 x86_64*"
short_desc="Google's attempt at creating a safer, faster, and more stable browser"
@@ -9,7 +9,7 @@ maintainer="Enno Boland <gottox@voidlinux.org>"
license="BSD-3-Clause"
homepage="https://www.chromium.org/"
distfiles="https://commondatastorage.googleapis.com/chromium-browser-official/${pkgname}-${version}.tar.xz"
-checksum=17970d998c125b40765141f2cd346d1674f05dbd4a28fdcf31f9e3540890c679
+checksum=caf4ebeb2a2333454c3067a2534aeecaab5029aa78fc0d8b27f79ad3b9c5ccac
lib32disabled=yes
nodebug=yes
@@ -36,11 +36,7 @@ makedepends="libpng-devel gtk+-devel gtk+3-devel nss-devel pciutils-devel
ffmpeg-devel libva-devel python-setuptools xcb-proto $(vopt_if sndio sndio-devel)"
depends="libexif hwids desktop-file-utils hicolor-icon-theme xdg-utils"
-build_options_default="clang pulseaudio vaapi"
-
-case "${XBPS_TARGET_MACHINE}" in
- x86_64|i686) build_options_default+=" js_optimize" ;;
-esac
+build_options_default="clang js_optimize vaapi pulseaudio"
post_extract() {
case "${XBPS_TARGET_MACHINE}" in
From e519c50b5f86dea84569c9e4b3d2f775f5f85aee Mon Sep 17 00:00:00 2001
From: Peter Bui <pbui@github.bx612.space>
Date: Tue, 28 Jul 2020 14:20:30 -0400
Subject: [PATCH 2/2] chromium-widevine: update to 84.0.4147.105.
[ci skip]
- Modify INSTALL to use `mktemp -d` instead of hardcoded path.
---
srcpkgs/chromium-widevine/INSTALL | 2 +-
srcpkgs/chromium-widevine/template | 4 ++--
2 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/srcpkgs/chromium-widevine/INSTALL b/srcpkgs/chromium-widevine/INSTALL
index 4d9267196e3..2bf5321f9ae 100644
--- a/srcpkgs/chromium-widevine/INSTALL
+++ b/srcpkgs/chromium-widevine/INSTALL
@@ -1,6 +1,6 @@
# INSTALL
DISTFILE="https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb"
-BUILD_DIR="$PWD/var/tmp/$PKGNAME.build"
+BUILD_DIR="$(mktemp -d ${TMPDIR:-/tmp}/$PKGNAME.XXXXXX)"
case "$ACTION" in
post)
# Actions to execute before the package files are unpacked.
diff --git a/srcpkgs/chromium-widevine/template b/srcpkgs/chromium-widevine/template
index 70f097c7c08..ada3f947519 100644
--- a/srcpkgs/chromium-widevine/template
+++ b/srcpkgs/chromium-widevine/template
@@ -6,7 +6,7 @@ _chromeVersion="current"
_channel="stable"
pkgname=chromium-widevine
-version=84.0.4147.89
+version=84.0.4147.105
revision=1
archs="x86_64"
create_wrksrc=yes
@@ -17,7 +17,7 @@ depends="chromium binutils xz"
homepage="https://www.google.com/chrome"
repository=nonfree
distfiles="https://dl.google.com/linux/direct/google-chrome-${_channel}_${_chromeVersion}_amd64.deb"
-checksum=9f8fd8f23a8402c45ef90668285dd37407ae13801fda652fb31a4f2ff47ef0c3
+checksum=dc7fa2ca2dccf482524dc2a343662859a22ad1fb33767447d7de6fcf6cc1dd7e
do_extract() {
:
^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: chromium: update to 84.0.4147.105.
2020-07-28 18:22 [PR PATCH] chromium: update to 84.0.4147.105 pbui
` (2 preceding siblings ...)
2020-07-29 18:30 ` [PR PATCH] [Updated] " pbui
@ 2020-08-05 2:29 ` q66
2020-08-05 2:37 ` q66
` (9 subsequent siblings)
13 siblings, 0 replies; 15+ messages in thread
From: q66 @ 2020-08-05 2:29 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 248 bytes --]
New comment by q66 on void-packages repository
https://github.com/void-linux/void-packages/pull/23903#issuecomment-668939725
Comment:
can you find out of it's maybe possible to use system `libvpx`? we should have an up to date enough version now
^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: chromium: update to 84.0.4147.105.
2020-07-28 18:22 [PR PATCH] chromium: update to 84.0.4147.105 pbui
` (3 preceding siblings ...)
2020-08-05 2:29 ` q66
@ 2020-08-05 2:37 ` q66
2020-08-05 4:09 ` q66
` (8 subsequent siblings)
13 siblings, 0 replies; 15+ messages in thread
From: q66 @ 2020-08-05 2:37 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 366 bytes --]
New comment by q66 on void-packages repository
https://github.com/void-linux/void-packages/pull/23903#issuecomment-668939725
Comment:
can you find out of it's maybe possible to use system `libvpx`? we should have an up to date enough version now
as far as i can tell, there is support for unbundling `libvpx` in the builtin unbundler, so it should just work...
^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: chromium: update to 84.0.4147.105.
2020-07-28 18:22 [PR PATCH] chromium: update to 84.0.4147.105 pbui
` (4 preceding siblings ...)
2020-08-05 2:37 ` q66
@ 2020-08-05 4:09 ` q66
2020-08-05 4:09 ` q66
` (7 subsequent siblings)
13 siblings, 0 replies; 15+ messages in thread
From: q66 @ 2020-08-05 4:09 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 513 bytes --]
New comment by q66 on void-packages repository
https://github.com/void-linux/void-packages/pull/23903#issuecomment-668968301
Comment:
yup: please
1) rebase
2) change `post_extract` to `post_patch` while at this
3) add `libvpx-devel` to `makedepends`, then add `libvpx` to `system`
4) the body of `post_extract` could use some cleaning - first apply the musl patches (change conditional to `if [ "$XBPS_TARGET_LIBC" = "musl" ]`), then apply i686 patches separately (change the case to `i686*` from `i686`)
^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: chromium: update to 84.0.4147.105.
2020-07-28 18:22 [PR PATCH] chromium: update to 84.0.4147.105 pbui
` (5 preceding siblings ...)
2020-08-05 4:09 ` q66
@ 2020-08-05 4:09 ` q66
2020-08-05 12:05 ` [PR PATCH] [Updated] " pbui
` (6 subsequent siblings)
13 siblings, 0 replies; 15+ messages in thread
From: q66 @ 2020-08-05 4:09 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 546 bytes --]
New comment by q66 on void-packages repository
https://github.com/void-linux/void-packages/pull/23903#issuecomment-668968301
Comment:
yup - just tested with system libvpx: please
1) rebase
2) change `post_extract` to `post_patch` while at this
3) add `libvpx-devel` to `makedepends`, then add `libvpx` to `system`
4) the body of `post_extract` could use some cleaning - first apply the musl patches (change conditional to `if [ "$XBPS_TARGET_LIBC" = "musl" ]`), then apply i686 patches separately (change the case to `i686*` from `i686`)
^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: [PR PATCH] [Updated] chromium: update to 84.0.4147.105.
2020-07-28 18:22 [PR PATCH] chromium: update to 84.0.4147.105 pbui
` (6 preceding siblings ...)
2020-08-05 4:09 ` q66
@ 2020-08-05 12:05 ` pbui
2020-08-05 12:11 ` pbui
` (5 subsequent siblings)
13 siblings, 0 replies; 15+ messages in thread
From: pbui @ 2020-08-05 12:05 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 561 bytes --]
There is an updated pull request by pbui against master on the void-packages repository
https://github.com/pbui/void-packages chromium
https://github.com/void-linux/void-packages/pull/23903
chromium: update to 84.0.4147.105.
- Built for x86_64 and x86_64-musl.
- Tested on x86_64.
- Drop unnecessary secure_getenv musl patch.
- Turn on js_optimize by default.
- Also update chromium-widevine and modify INSTALL to use `mktemp -d` instead of hardcoded path.
A patch file from https://github.com/void-linux/void-packages/pull/23903.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-chromium-23903.patch --]
[-- Type: text/x-diff, Size: 5114 bytes --]
From 6740c3113538eb2bcb8d0a8d49ee032dcfda99ce Mon Sep 17 00:00:00 2001
From: Peter Bui <pbui@github.bx612.space>
Date: Tue, 28 Jul 2020 11:42:24 -0400
Subject: [PATCH 1/2] chromium: update to 84.0.4147.105.
[ci skip]
- Built for x86_64 and x86_64-musl.
- Tested on x86_64.
- Drop unnecessary secure_getenv musl patch.
- Turn on js_optimize by default.
- Use system libvpx
---
.../musl-patches/dont-assume-secure-getenv.patch | 13 -------------
srcpkgs/chromium/template | 15 ++++++---------
2 files changed, 6 insertions(+), 22 deletions(-)
delete mode 100644 srcpkgs/chromium/files/musl-patches/dont-assume-secure-getenv.patch
diff --git a/srcpkgs/chromium/files/musl-patches/dont-assume-secure-getenv.patch b/srcpkgs/chromium/files/musl-patches/dont-assume-secure-getenv.patch
deleted file mode 100644
index abde598d8fd..00000000000
--- a/srcpkgs/chromium/files/musl-patches/dont-assume-secure-getenv.patch
+++ /dev/null
@@ -1,13 +0,0 @@
---- third_party/angle/third_party/vulkan-loader/src/BUILD.gn.orig 2020-02-08 16:16:30.786747326 -0500
-+++ third_party/angle/third_party/vulkan-loader/src/BUILD.gn 2020-02-08 16:17:02.682797286 -0500
-@@ -59,10 +59,6 @@
- if (is_win) {
- cflags = [ "/wd4201" ]
- }
-- if (is_linux) {
-- # assume secure_getenv() is available
-- defines += [ "HAVE_SECURE_GETENV" ]
-- }
- }
-
- if (!is_android) {
diff --git a/srcpkgs/chromium/template b/srcpkgs/chromium/template
index aae904de440..061e09efe52 100644
--- a/srcpkgs/chromium/template
+++ b/srcpkgs/chromium/template
@@ -1,7 +1,7 @@
# Template file for 'chromium'
pkgname=chromium
# See http://www.chromium.org/developers/calendar for the latest version
-version=84.0.4147.89
+version=84.0.4147.105
revision=1
archs="i686* x86_64* aarch64* armv7l*"
short_desc="Google's attempt at creating a safer, faster, and more stable browser"
@@ -9,7 +9,7 @@ maintainer="Enno Boland <gottox@voidlinux.org>"
license="BSD-3-Clause"
homepage="https://www.chromium.org/"
distfiles="https://commondatastorage.googleapis.com/chromium-browser-official/${pkgname}-${version}.tar.xz"
-checksum=17970d998c125b40765141f2cd346d1674f05dbd4a28fdcf31f9e3540890c679
+checksum=caf4ebeb2a2333454c3067a2534aeecaab5029aa78fc0d8b27f79ad3b9c5ccac
nocross=yes
lib32disabled=yes
@@ -34,14 +34,11 @@ makedepends="libpng-devel gtk+-devel gtk+3-devel nss-devel pciutils-devel
libjpeg-turbo-devel libevent-devel json-c-devel harfbuzz-devel
minizip-devel jsoncpp-devel zlib-devel libcap-devel libXdamage-devel
re2-devel fontconfig-devel freetype-devel opus-devel
- ffmpeg-devel libva-devel python-setuptools xcb-proto $(vopt_if sndio sndio-devel)"
+ ffmpeg-devel libvpx-devel libva-devel python-setuptools xcb-proto
+ $(vopt_if sndio sndio-devel)"
depends="libexif hwids desktop-file-utils hicolor-icon-theme xdg-utils"
-build_options_default="clang pulseaudio vaapi"
-
-case "${XBPS_TARGET_MACHINE}" in
- x86_64|i686) build_options_default+=" js_optimize" ;;
-esac
+build_options_default="clang js_optimize vaapi pulseaudio"
post_extract() {
case "${XBPS_TARGET_MACHINE}" in
@@ -98,7 +95,6 @@ do_configure() {
# use_system_protobuf
# use_system_v8=1
# use_system_zlib=1
- # use_system_libvpx=1
# bzip2 jsoncpp minizip xdg_utils speex
system="
ffmpeg
@@ -109,6 +105,7 @@ do_configure() {
libevent
libjpeg
libpng
+ libvpx
libwebp
libxml
libxslt
From e8f09944feb609668dc3beb6ee95653c1ed5e006 Mon Sep 17 00:00:00 2001
From: Peter Bui <pbui@github.bx612.space>
Date: Tue, 28 Jul 2020 14:20:30 -0400
Subject: [PATCH 2/2] chromium-widevine: update to 84.0.4147.105.
[ci skip]
- Modify INSTALL to use `mktemp -d` instead of hardcoded path.
---
srcpkgs/chromium-widevine/INSTALL | 2 +-
srcpkgs/chromium-widevine/template | 4 ++--
2 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/srcpkgs/chromium-widevine/INSTALL b/srcpkgs/chromium-widevine/INSTALL
index 4d9267196e3..2bf5321f9ae 100644
--- a/srcpkgs/chromium-widevine/INSTALL
+++ b/srcpkgs/chromium-widevine/INSTALL
@@ -1,6 +1,6 @@
# INSTALL
DISTFILE="https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb"
-BUILD_DIR="$PWD/var/tmp/$PKGNAME.build"
+BUILD_DIR="$(mktemp -d ${TMPDIR:-/tmp}/$PKGNAME.XXXXXX)"
case "$ACTION" in
post)
# Actions to execute before the package files are unpacked.
diff --git a/srcpkgs/chromium-widevine/template b/srcpkgs/chromium-widevine/template
index 70f097c7c08..ada3f947519 100644
--- a/srcpkgs/chromium-widevine/template
+++ b/srcpkgs/chromium-widevine/template
@@ -6,7 +6,7 @@ _chromeVersion="current"
_channel="stable"
pkgname=chromium-widevine
-version=84.0.4147.89
+version=84.0.4147.105
revision=1
archs="x86_64"
create_wrksrc=yes
@@ -17,7 +17,7 @@ depends="chromium binutils xz"
homepage="https://www.google.com/chrome"
repository=nonfree
distfiles="https://dl.google.com/linux/direct/google-chrome-${_channel}_${_chromeVersion}_amd64.deb"
-checksum=9f8fd8f23a8402c45ef90668285dd37407ae13801fda652fb31a4f2ff47ef0c3
+checksum=dc7fa2ca2dccf482524dc2a343662859a22ad1fb33767447d7de6fcf6cc1dd7e
do_extract() {
:
^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: [PR PATCH] [Updated] chromium: update to 84.0.4147.105.
2020-07-28 18:22 [PR PATCH] chromium: update to 84.0.4147.105 pbui
` (7 preceding siblings ...)
2020-08-05 12:05 ` [PR PATCH] [Updated] " pbui
@ 2020-08-05 12:11 ` pbui
2020-08-05 12:13 ` pbui
` (4 subsequent siblings)
13 siblings, 0 replies; 15+ messages in thread
From: pbui @ 2020-08-05 12:11 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 585 bytes --]
There is an updated pull request by pbui against master on the void-packages repository
https://github.com/pbui/void-packages chromium
https://github.com/void-linux/void-packages/pull/23903
chromium: update to 84.0.4147.105.
- Built for x86_64 and x86_64-musl.
- Tested on x86_64.
- Drop unnecessary secure_getenv musl patch.
- Turn on js_optimize by default.
- Use system libvpx.
- Also update chromium-widevine and modify INSTALL to use `mktemp -d` instead of hardcoded path.
A patch file from https://github.com/void-linux/void-packages/pull/23903.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-chromium-23903.patch --]
[-- Type: text/x-diff, Size: 5465 bytes --]
From d8a68a831f56c72a9751a30c391d290c1a6e2095 Mon Sep 17 00:00:00 2001
From: Peter Bui <pbui@github.bx612.space>
Date: Tue, 28 Jul 2020 11:42:24 -0400
Subject: [PATCH 1/2] chromium: update to 84.0.4147.105.
[ci skip]
- Built for x86_64 and x86_64-musl.
- Tested on x86_64.
- Drop unnecessary secure_getenv musl patch.
- Turn on js_optimize by default.
- Use system libvpx
- Cleanup patching
---
.../dont-assume-secure-getenv.patch | 13 ----------
srcpkgs/chromium/template | 26 +++++++++----------
2 files changed, 12 insertions(+), 27 deletions(-)
delete mode 100644 srcpkgs/chromium/files/musl-patches/dont-assume-secure-getenv.patch
diff --git a/srcpkgs/chromium/files/musl-patches/dont-assume-secure-getenv.patch b/srcpkgs/chromium/files/musl-patches/dont-assume-secure-getenv.patch
deleted file mode 100644
index abde598d8fd..00000000000
--- a/srcpkgs/chromium/files/musl-patches/dont-assume-secure-getenv.patch
+++ /dev/null
@@ -1,13 +0,0 @@
---- third_party/angle/third_party/vulkan-loader/src/BUILD.gn.orig 2020-02-08 16:16:30.786747326 -0500
-+++ third_party/angle/third_party/vulkan-loader/src/BUILD.gn 2020-02-08 16:17:02.682797286 -0500
-@@ -59,10 +59,6 @@
- if (is_win) {
- cflags = [ "/wd4201" ]
- }
-- if (is_linux) {
-- # assume secure_getenv() is available
-- defines += [ "HAVE_SECURE_GETENV" ]
-- }
- }
-
- if (!is_android) {
diff --git a/srcpkgs/chromium/template b/srcpkgs/chromium/template
index aae904de440..c33c9e3cb0b 100644
--- a/srcpkgs/chromium/template
+++ b/srcpkgs/chromium/template
@@ -1,7 +1,7 @@
# Template file for 'chromium'
pkgname=chromium
# See http://www.chromium.org/developers/calendar for the latest version
-version=84.0.4147.89
+version=84.0.4147.105
revision=1
archs="i686* x86_64* aarch64* armv7l*"
short_desc="Google's attempt at creating a safer, faster, and more stable browser"
@@ -9,7 +9,7 @@ maintainer="Enno Boland <gottox@voidlinux.org>"
license="BSD-3-Clause"
homepage="https://www.chromium.org/"
distfiles="https://commondatastorage.googleapis.com/chromium-browser-official/${pkgname}-${version}.tar.xz"
-checksum=17970d998c125b40765141f2cd346d1674f05dbd4a28fdcf31f9e3540890c679
+checksum=caf4ebeb2a2333454c3067a2534aeecaab5029aa78fc0d8b27f79ad3b9c5ccac
nocross=yes
lib32disabled=yes
@@ -34,24 +34,22 @@ makedepends="libpng-devel gtk+-devel gtk+3-devel nss-devel pciutils-devel
libjpeg-turbo-devel libevent-devel json-c-devel harfbuzz-devel
minizip-devel jsoncpp-devel zlib-devel libcap-devel libXdamage-devel
re2-devel fontconfig-devel freetype-devel opus-devel
- ffmpeg-devel libva-devel python-setuptools xcb-proto $(vopt_if sndio sndio-devel)"
+ ffmpeg-devel libvpx-devel libva-devel python-setuptools xcb-proto
+ $(vopt_if sndio sndio-devel)"
depends="libexif hwids desktop-file-utils hicolor-icon-theme xdg-utils"
-build_options_default="clang pulseaudio vaapi"
+build_options_default="clang js_optimize vaapi pulseaudio"
-case "${XBPS_TARGET_MACHINE}" in
- x86_64|i686) build_options_default+=" js_optimize" ;;
-esac
-
-post_extract() {
- case "${XBPS_TARGET_MACHINE}" in
- *-musl)
+post_patch() {
+ if [ "$XBPS_TARGET_LIBC" = "musl" ]; then
for f in "${FILESDIR}"/musl-patches/*.patch; do
echo "Applying $f"
patch -Np0 -i "$f"
done
- ;;
- i686)
+ fi
+
+ case "${XBPS_TARGET_MACHINE}" in
+ i686*)
for f in "${FILESDIR}"/i686-patches/*.patch; do
echo "Applying $f"
patch -Np0 -i "$f"
@@ -98,7 +96,6 @@ do_configure() {
# use_system_protobuf
# use_system_v8=1
# use_system_zlib=1
- # use_system_libvpx=1
# bzip2 jsoncpp minizip xdg_utils speex
system="
ffmpeg
@@ -109,6 +106,7 @@ do_configure() {
libevent
libjpeg
libpng
+ libvpx
libwebp
libxml
libxslt
From 17aeb4ba94cc46e77c67335e06d00a241238be42 Mon Sep 17 00:00:00 2001
From: Peter Bui <pbui@github.bx612.space>
Date: Tue, 28 Jul 2020 14:20:30 -0400
Subject: [PATCH 2/2] chromium-widevine: update to 84.0.4147.105.
[ci skip]
- Modify INSTALL to use `mktemp -d` instead of hardcoded path.
---
srcpkgs/chromium-widevine/INSTALL | 2 +-
srcpkgs/chromium-widevine/template | 4 ++--
2 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/srcpkgs/chromium-widevine/INSTALL b/srcpkgs/chromium-widevine/INSTALL
index 4d9267196e3..2bf5321f9ae 100644
--- a/srcpkgs/chromium-widevine/INSTALL
+++ b/srcpkgs/chromium-widevine/INSTALL
@@ -1,6 +1,6 @@
# INSTALL
DISTFILE="https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb"
-BUILD_DIR="$PWD/var/tmp/$PKGNAME.build"
+BUILD_DIR="$(mktemp -d ${TMPDIR:-/tmp}/$PKGNAME.XXXXXX)"
case "$ACTION" in
post)
# Actions to execute before the package files are unpacked.
diff --git a/srcpkgs/chromium-widevine/template b/srcpkgs/chromium-widevine/template
index 70f097c7c08..ada3f947519 100644
--- a/srcpkgs/chromium-widevine/template
+++ b/srcpkgs/chromium-widevine/template
@@ -6,7 +6,7 @@ _chromeVersion="current"
_channel="stable"
pkgname=chromium-widevine
-version=84.0.4147.89
+version=84.0.4147.105
revision=1
archs="x86_64"
create_wrksrc=yes
@@ -17,7 +17,7 @@ depends="chromium binutils xz"
homepage="https://www.google.com/chrome"
repository=nonfree
distfiles="https://dl.google.com/linux/direct/google-chrome-${_channel}_${_chromeVersion}_amd64.deb"
-checksum=9f8fd8f23a8402c45ef90668285dd37407ae13801fda652fb31a4f2ff47ef0c3
+checksum=dc7fa2ca2dccf482524dc2a343662859a22ad1fb33767447d7de6fcf6cc1dd7e
do_extract() {
:
^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: chromium: update to 84.0.4147.105.
2020-07-28 18:22 [PR PATCH] chromium: update to 84.0.4147.105 pbui
` (8 preceding siblings ...)
2020-08-05 12:11 ` pbui
@ 2020-08-05 12:13 ` pbui
2020-08-05 13:53 ` pbui
` (3 subsequent siblings)
13 siblings, 0 replies; 15+ messages in thread
From: pbui @ 2020-08-05 12:13 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 309 bytes --]
New comment by pbui on void-packages repository
https://github.com/void-linux/void-packages/pull/23903#issuecomment-669157714
Comment:
@q66 I have made the changes. I've only tested building, I haven't run chromium with the linked libvpx yet... I will do so when my second build finishes in an hour or so.
^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: chromium: update to 84.0.4147.105.
2020-07-28 18:22 [PR PATCH] chromium: update to 84.0.4147.105 pbui
` (9 preceding siblings ...)
2020-08-05 12:13 ` pbui
@ 2020-08-05 13:53 ` pbui
2020-08-05 16:43 ` q66
` (2 subsequent siblings)
13 siblings, 0 replies; 15+ messages in thread
From: pbui @ 2020-08-05 13:53 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 367 bytes --]
New comment by pbui on void-packages repository
https://github.com/void-linux/void-packages/pull/23903#issuecomment-669157714
Comment:
@q66 I have made the changes. I've only tested building, I haven't run chromium with the linked libvpx yet... I will do so when my second build finishes in an hour or so.
Update: it appears to run fine with the linked libvpx.
^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: chromium: update to 84.0.4147.105.
2020-07-28 18:22 [PR PATCH] chromium: update to 84.0.4147.105 pbui
` (10 preceding siblings ...)
2020-08-05 13:53 ` pbui
@ 2020-08-05 16:43 ` q66
2020-08-06 18:04 ` Chocimier
2020-08-06 18:04 ` [PR PATCH] [Closed]: " Chocimier
13 siblings, 0 replies; 15+ messages in thread
From: q66 @ 2020-08-05 16:43 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 237 bytes --]
New comment by q66 on void-packages repository
https://github.com/void-linux/void-packages/pull/23903#issuecomment-669303381
Comment:
I have support for `ppc64le` lined up in my tree. I will merge that together with this later tonight
^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: chromium: update to 84.0.4147.105.
2020-07-28 18:22 [PR PATCH] chromium: update to 84.0.4147.105 pbui
` (11 preceding siblings ...)
2020-08-05 16:43 ` q66
@ 2020-08-06 18:04 ` Chocimier
2020-08-06 18:04 ` [PR PATCH] [Closed]: " Chocimier
13 siblings, 0 replies; 15+ messages in thread
From: Chocimier @ 2020-08-06 18:04 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 194 bytes --]
New comment by Chocimier on void-packages repository
https://github.com/void-linux/void-packages/pull/23903#issuecomment-670088915
Comment:
Closed by 8661b7571cc16a45e86f5154ca2edaed21eaca80.
^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: [PR PATCH] [Closed]: chromium: update to 84.0.4147.105.
2020-07-28 18:22 [PR PATCH] chromium: update to 84.0.4147.105 pbui
` (12 preceding siblings ...)
2020-08-06 18:04 ` Chocimier
@ 2020-08-06 18:04 ` Chocimier
13 siblings, 0 replies; 15+ messages in thread
From: Chocimier @ 2020-08-06 18:04 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 434 bytes --]
There's a closed pull request on the void-packages repository
chromium: update to 84.0.4147.105.
https://github.com/void-linux/void-packages/pull/23903
Description:
- Built for x86_64 and x86_64-musl.
- Tested on x86_64.
- Drop unnecessary secure_getenv musl patch.
- Turn on js_optimize by default.
- Use system libvpx.
- Also update chromium-widevine and modify INSTALL to use `mktemp -d` instead of hardcoded path.
^ permalink raw reply [flat|nested] 15+ messages in thread
end of thread, other threads:[~2020-08-06 18:04 UTC | newest]
Thread overview: 15+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-07-28 18:22 [PR PATCH] chromium: update to 84.0.4147.105 pbui
2020-07-29 17:55 ` [PR PATCH] [Updated] " pbui
2020-07-29 17:57 ` pbui
2020-07-29 18:30 ` [PR PATCH] [Updated] " pbui
2020-08-05 2:29 ` q66
2020-08-05 2:37 ` q66
2020-08-05 4:09 ` q66
2020-08-05 4:09 ` q66
2020-08-05 12:05 ` [PR PATCH] [Updated] " pbui
2020-08-05 12:11 ` pbui
2020-08-05 12:13 ` pbui
2020-08-05 13:53 ` pbui
2020-08-05 16:43 ` q66
2020-08-06 18:04 ` Chocimier
2020-08-06 18:04 ` [PR PATCH] [Closed]: " Chocimier
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).