From: pbui <pbui@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: Re: [PR PATCH] [Updated] chromium: update to 84.0.4147.105.
Date: Wed, 05 Aug 2020 14:11:45 +0200 [thread overview]
Message-ID: <20200805121145.Jj1rW1Gy7_XealfRcvZQI0z1JjVSLn6I58fd99qe6CY@z> (raw)
In-Reply-To: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-23903@inbox.vuxu.org>
[-- 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() {
:
next prev parent reply other threads:[~2020-08-05 12:11 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-07-28 18:22 [PR PATCH] " 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 [this message]
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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20200805121145.Jj1rW1Gy7_XealfRcvZQI0z1JjVSLn6I58fd99qe6CY@z \
--to=pbui@users.noreply.github.com \
--cc=ml@inbox.vuxu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).