From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id DD862158086 for ; Sat, 30 Oct 2021 17:30:11 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 3F9E7E0841; Sat, 30 Oct 2021 17:30:11 +0000 (UTC) Received: from smtp.gentoo.org (mail.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 1C586E0841 for ; Sat, 30 Oct 2021 17:30:11 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id CF9E53432EB for ; Sat, 30 Oct 2021 17:30:09 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 62E587A for ; Sat, 30 Oct 2021 17:30:08 +0000 (UTC) From: "Stephan Hartmann" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Stephan Hartmann" Message-ID: <1635615001.4a035ae5851832c168d6db5955027ef3f9051534.sultan@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: www-client/chromium/files/, www-client/chromium/ X-VCS-Repository: repo/gentoo X-VCS-Files: www-client/chromium/Manifest www-client/chromium/chromium-97.0.4676.0.ebuild www-client/chromium/chromium-97.0.4682.3.ebuild www-client/chromium/files/chromium-95-xfce-maximize.patch X-VCS-Directories: www-client/chromium/files/ www-client/chromium/ X-VCS-Committer: sultan X-VCS-Committer-Name: Stephan Hartmann X-VCS-Revision: 4a035ae5851832c168d6db5955027ef3f9051534 X-VCS-Branch: master Date: Sat, 30 Oct 2021 17:30:08 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 2b748680-c572-4832-98da-844e2de63054 X-Archives-Hash: a22b1412045a4afb83fdcc8336eaab87 commit: 4a035ae5851832c168d6db5955027ef3f9051534 Author: Stephan Hartmann gentoo org> AuthorDate: Sat Oct 30 17:29:36 2021 +0000 Commit: Stephan Hartmann gentoo org> CommitDate: Sat Oct 30 17:30:01 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4a035ae5 www-client/chromium: dev channel bump to 97.0.4682.3 Bug: https://bugs.gentoo.org/819771 Package-Manager: Portage-3.0.20, Repoman-3.0.3 Signed-off-by: Stephan Hartmann gentoo.org> www-client/chromium/Manifest | 4 +-- ...0.4676.0.ebuild => chromium-97.0.4682.3.ebuild} | 9 +++---- .../chromium/files/chromium-95-xfce-maximize.patch | 30 ++++++++++++++++++++++ 3 files changed, 36 insertions(+), 7 deletions(-) diff --git a/www-client/chromium/Manifest b/www-client/chromium/Manifest index f3a182b1902..4fd27fce870 100644 --- a/www-client/chromium/Manifest +++ b/www-client/chromium/Manifest @@ -2,5 +2,5 @@ DIST chromium-95-patchset-4.tar.xz 4308 BLAKE2B e91cb78d2357af8c0dfc66e4d148c5e6 DIST chromium-95.0.4638.54.tar.xz 1213374932 BLAKE2B 75e1017a50eb0f42c714863969414308df7ee69160271d3bcd5ba7af79c96c5eb53edd9d892f33db6c2455d0b2dfa12dadfa8cb01d4baf1f89d57fde5291783e SHA512 159c8d37e8cfb5bb0e55d3d1329295dab585164b84b8c514ea80f0f68ce0b491f4c40a186a2bc108baae2341cf320dee78c654c0a038d5aeb17b5a19c7f043d9 DIST chromium-96-patchset-4.tar.xz 4812 BLAKE2B 5d82d212b8ec1689be6f4a7a0646256311d06c17e74ee0e5b2035c32125a5235e4b6b7605cefffa367cc53e651be17b75f5e339149b4c80dca50cd959b1623f1 SHA512 a72c1bb2c58e9e2912a641093c153f01ad7239dc971c7c96481ba4164204afe41741f3253e8af03070dab8276179784dc6a11761b39ad7902ed2553016778282 DIST chromium-96.0.4664.27.tar.xz 1221600064 BLAKE2B 707596f44897660057edf977011db34341028c4b99dbe61878109090049e727232bfe784a1ea1447847a559584d0b2297a218c06817b618be76b5e96aafa8ea6 SHA512 4b87a04d055dedb508466e188151ea7f46d14a8a76dd64b4e783d8b6cc8e4d0d54ca5fdfb4ac60727028fbc3539e64bcb77d424904af2a64cb8f5d44d065f08e -DIST chromium-97-patchset-1.tar.xz 4508 BLAKE2B a30d60cb4d5f883b3f72e23df1bed8339d144c75de9ab231f5e00ffb80899c87bc6e4a46cf1126c9b163573313ce7342be4dabac1e854bcf24c49f344807feb7 SHA512 651ad56c216b7569df436d13e6f0da13181dc236af8cd4bc177a7d5461eb9ccb0650c122c68231427b6ffd4290d5e7840c5dfa9a1c7ffd8ef7882a3efd053fc4 -DIST chromium-97.0.4676.0.tar.xz 1224908136 BLAKE2B cdb0c94aa364757c0a88fb8c4320164ad96839bef77058d2cc8c10a59882930bd28b20d0bdb324aca785c506e7af24718f62860b714cae5f349d64b9e31234e3 SHA512 1184a56cfcba029f9bd34b5bd422fc01ebbfbc7399223f88d6e9c5f2557e9adfc4332fec26a62e1beb2d7c815163ec9a5f409b0f235e425d93b83677a332c92f +DIST chromium-97-patchset-2.tar.xz 3756 BLAKE2B a690466a5d359f38805f468d096f909d3063a4134aa28599a145c4741a15244c7dc06dd8151f53ef0dd29a6a604447ce37f99181a05170ac88483a837dea71cc SHA512 e088d84ea43ffc05e4e83b1c87d83fb73d985df1cf92d3a17e50201e96c32dfda29d7d9b84943307380b2d75cda699ddf65ef6414e3e4484f01ac5b957605ccd +DIST chromium-97.0.4682.3.tar.xz 1221976628 BLAKE2B 7b1e753568d806a03ed130cfde91032234f5fc7ae3e45ab247ebc76b8804dfa4b645a8668514bd0e6fe4bff1a779de30836fb557a2b4eaaaae310b41442ce17d SHA512 39b379ddfe59b8b4b2a9f4d4e502ac4450580da72bf9f59b4b185d4ac3b81ab1a1077c270b1ba65a32d80702f7b0fbe38059014bada9dc5a68160aea3e162e04 diff --git a/www-client/chromium/chromium-97.0.4676.0.ebuild b/www-client/chromium/chromium-97.0.4682.3.ebuild similarity index 99% rename from www-client/chromium/chromium-97.0.4676.0.ebuild rename to www-client/chromium/chromium-97.0.4682.3.ebuild index 84b87e1c066..51304ed5d3d 100644 --- a/www-client/chromium/chromium-97.0.4676.0.ebuild +++ b/www-client/chromium/chromium-97.0.4682.3.ebuild @@ -13,13 +13,13 @@ inherit check-reqs chromium-2 desktop flag-o-matic ninja-utils pax-utils python- DESCRIPTION="Open-source version of Google Chrome web browser" HOMEPAGE="https://chromium.org/" -PATCHSET="1" +PATCHSET="2" PATCHSET_NAME="chromium-$(ver_cut 1)-patchset-${PATCHSET}" SRC_URI="https://commondatastorage.googleapis.com/chromium-browser-official/${P}.tar.xz https://github.com/stha09/chromium-patches/releases/download/${PATCHSET_NAME}/${PATCHSET_NAME}.tar.xz" LICENSE="BSD" -SLOT="0" +SLOT="0/dev" KEYWORDS="~amd64 ~arm64 ~x86" IUSE="component-build cups cpu_flags_arm_neon debug +hangouts headless +js-type-check kerberos +official pic +proprietary-codecs pulseaudio screencast selinux +suid +system-ffmpeg +system-harfbuzz +system-icu vaapi wayland widevine" REQUIRED_USE=" @@ -134,7 +134,6 @@ if [[ ${CHROMIUM_FORCE_LIBCXX} == yes ]]; then DEPEND+=" >=sys-libs/libcxx-12" else COMMON_DEPEND=" - app-arch/snappy:= dev-libs/libxslt:= >=dev-libs/re2-0.2019.08.01:= >=media-libs/openh264-1.6.0:= @@ -233,6 +232,7 @@ src_prepare() { "${WORKDIR}/patches" "${FILESDIR}/chromium-93-InkDropHost-crash.patch" "${FILESDIR}/chromium-96-EnumTable-crash.patch" + "${FILESDIR}/chromium-95-xfce-maximize.patch" "${FILESDIR}/chromium-use-oauth2-client-switches-as-default.patch" "${FILESDIR}/chromium-shim_headers.patch" ) @@ -430,6 +430,7 @@ src_prepare() { third_party/skia/third_party/skcms third_party/skia/third_party/vulkan third_party/smhasher + third_party/snappy third_party/sqlite third_party/swiftshader third_party/swiftshader/third_party/astc-encoder @@ -499,7 +500,6 @@ src_prepare() { keeplibs+=( third_party/libxslt ) keeplibs+=( third_party/openh264 ) keeplibs+=( third_party/re2 ) - keeplibs+=( third_party/snappy ) if use system-icu; then keeplibs+=( third_party/icu ) fi @@ -610,7 +610,6 @@ src_configure() { gn_system_libraries+=( libxslt ) gn_system_libraries+=( openh264 ) gn_system_libraries+=( re2 ) - gn_system_libraries+=( snappy ) fi build/linux/unbundle/replace_gn_files.py --system-libraries "${gn_system_libraries[@]}" || die diff --git a/www-client/chromium/files/chromium-95-xfce-maximize.patch b/www-client/chromium/files/chromium-95-xfce-maximize.patch new file mode 100644 index 00000000000..296d97873dd --- /dev/null +++ b/www-client/chromium/files/chromium-95-xfce-maximize.patch @@ -0,0 +1,30 @@ +From 603d765ca5154db27718d89a2ee9be2a95a64254 Mon Sep 17 00:00:00 2001 +From: Alexander Dunaev +Date: Fri, 29 Oct 2021 20:54:46 +0700 +Subject: [PATCH] [linux/xfce] Set zero insets on maximising the window. + +It turned out that Xfwm handles the frame insets not the way KWin and +Mutter do. + +Bug: 1260821 +Change-Id: I69e71049157c03b74d78bc5edb7a60bf39cdda8b +--- + +diff --git a/ui/platform_window/x11/x11_window.cc b/ui/platform_window/x11/x11_window.cc +index dd381747..706f19c 100644 +--- a/ui/platform_window/x11/x11_window.cc ++++ b/ui/platform_window/x11/x11_window.cc +@@ -676,6 +676,13 @@ + // save this one for later too. + should_maximize_after_map_ = !window_mapped_in_client_; + ++ // Some WMs keep respecting the frame extents even if the window is maximised. ++ // Remove the insets when maximising. The extents will be set again when the ++ // window is restored to normal state. ++ // See https://crbug.com/1260821 ++ if (CanSetDecorationInsets()) ++ SetDecorationInsets(nullptr); ++ + SetWMSpecState(true, x11::GetAtom("_NET_WM_STATE_MAXIMIZED_VERT"), + x11::GetAtom("_NET_WM_STATE_MAXIMIZED_HORZ")); + }