Christian Heusel pushed to branch main at Arch Linux / Packaging / Packages / chromium
Commits: 250d52ea by Christian Heusel at 2026-01-19T15:07:56+01:00 upgpkg: 144.0.7559.59-3: Backport patch to fix HDR Fixes https://gitlab.archlinux.org/archlinux/packaging/packages/chromium/-/issues/50 - - - - - 4 changed files: - .SRCINFO - PKGBUILD - REUSE.toml - + chromium-144-fix-hdr-issue.patch Changes: ===================================== .SRCINFO ===================================== @@ -1,7 +1,7 @@ pkgbase = chromium pkgdesc = A web browser built for speed, simplicity, and security pkgver = 144.0.7559.59 - pkgrel = 2 + pkgrel = 3 url = https://www.chromium.org/Home arch = x86_64 license = BSD-3-Clause @@ -59,11 +59,13 @@ pkgbase = chromium source = compiler-rt-adjust-paths.patch source = increase-fortify-level.patch source = use-oauth2-client-switches-as-default.patch + source = chromium-144-fix-hdr-issue.patch sha256sums = 8d6de5bbf447b9d0f3c99843230ffebe5954cbcb38d9f8c2ddbbeb5fbcfa9179 sha256sums = 213e50f48b67feb4441078d50b0fd431df34323be15be97c55302d3fdac4483a sha256sums = 11a96ffa21448ec4c63dd5c8d6795a1998d8e5cd5a689d91aea4d2bdd13fb06e sha256sums = ec8e49b7114e2fa2d359155c9ef722ff1ba5fe2c518fa48e30863d71d3b82863 sha256sums = d634d2ce1fc63da7ac41f432b1e84c59b7cceabf19d510848a7cff40c8025342 sha256sums = e6da901e4d0860058dc2f90c6bbcdc38a0cf4b0a69122000f62204f24fa7e374 + sha256sums = 789ee9bfe39772eae0df42c187b7a54550921b909bfae8051df81a1b4621f307 pkgname = chromium ===================================== PKGBUILD ===================================== @@ -6,7 +6,7 @@ pkgname=chromium pkgver=144.0.7559.59 -pkgrel=2 +pkgrel=3 _launcher_ver=8 _manual_clone=0 _system_clang=1 @@ -32,13 +32,15 @@ source=(https://commondatastorage.googleapis.com/chromium-browser-official/chrom chromium-138-nodejs-version-check.patch compiler-rt-adjust-paths.patch increase-fortify-level.patch - use-oauth2-client-switches-as-default.patch) + use-oauth2-client-switches-as-default.patch + chromium-144-fix-hdr-issue.patch) sha256sums=('8d6de5bbf447b9d0f3c99843230ffebe5954cbcb38d9f8c2ddbbeb5fbcfa9179' '213e50f48b67feb4441078d50b0fd431df34323be15be97c55302d3fdac4483a' '11a96ffa21448ec4c63dd5c8d6795a1998d8e5cd5a689d91aea4d2bdd13fb06e' 'ec8e49b7114e2fa2d359155c9ef722ff1ba5fe2c518fa48e30863d71d3b82863' 'd634d2ce1fc63da7ac41f432b1e84c59b7cceabf19d510848a7cff40c8025342' - 'e6da901e4d0860058dc2f90c6bbcdc38a0cf4b0a69122000f62204f24fa7e374') + 'e6da901e4d0860058dc2f90c6bbcdc38a0cf4b0a69122000f62204f24fa7e374' + '789ee9bfe39772eae0df42c187b7a54550921b909bfae8051df81a1b4621f307') if (( _manual_clone )); then source[0]=fetch-chromium-release @@ -118,7 +120,7 @@ prepare() { # Increase _FORTIFY_SOURCE level to match Arch's default flags patch -Np1 -i ../increase-fortify-level.patch - # Fixes for building with libstdc++ instead of libc++ + patch -Np1 -i ../chromium-144-fix-hdr-issue.patch # Link to system tools required by the build mkdir -p third_party/node/linux/node-linux-x64/bin third_party/jdk/current/bin ===================================== REUSE.toml ===================================== @@ -30,6 +30,7 @@ path = [ "compiler-rt-adjust-paths.patch", "increase-fortify-level.patch", "use-oauth2-client-switches-as-default.patch", + "chromium-144-fix-hdr-issue.patch", ] SPDX-FileCopyrightText = "chromium contributors" SPDX-License-Identifier = "BSD-3-Clause" ===================================== chromium-144-fix-hdr-issue.patch ===================================== @@ -0,0 +1,37 @@ +From db1dbe8528be4d01f5ac9da0a797a14f425647f9 Mon Sep 17 00:00:00 2001 +From: Tom Anderson <[email protected]> +Date: Thu, 08 Jan 2026 10:44:15 -0800 +Subject: [PATCH] [Wayland] Remove sRGB hack for gamma 2.2 + +KWin has deprecated sRGB support, causing unusable colors with our +hack to force gamma 2.2 to sRGB. This change removes the hack. + +R=fangzhoug + +Bug: 449423580 +Change-Id: I236634d6dd899ba3ed9272dd41be3199d0397a36 +Fixed: 472094286 +Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/7415366 +Commit-Queue: Kramer Ge <[email protected]> +Reviewed-by: Kramer Ge <[email protected]> +Auto-Submit: Thomas Anderson <[email protected]> +Cr-Commit-Position: refs/heads/main@{#1566420} +--- + +diff --git a/ui/ozone/platform/wayland/host/wayland_wp_image_description.cc b/ui/ozone/platform/wayland/host/wayland_wp_image_description.cc +index bfca9fdc..f7c1672a 100644 +--- a/ui/ozone/platform/wayland/host/wayland_wp_image_description.cc ++++ b/ui/ozone/platform/wayland/host/wayland_wp_image_description.cc +@@ -185,12 +185,6 @@ + return gfx::ColorSpace::CreateSRGB(); + } + +- if (!is_hdr && transfer == gfx::ColorSpace::TransferID::GAMMA22) { +- // Pass through SRGB content to the compositor instead of re-encoding +- // it as gamma 2.2 (https://crbug.com/449423580) +- transfer = gfx::ColorSpace::TransferID::SRGB; +- } +- + gfx::ColorSpace color_space( + *primaries, *transfer, gfx::ColorSpace::MatrixID::RGB, + gfx::ColorSpace::RangeID::FULL, custom_primaries, custom_transfer_fn); View it on GitLab: https://gitlab.archlinux.org/archlinux/packaging/packages/chromium/-/commit/250d52ea7fd0b93d30f5aeafa5c841ecd64db802 -- View it on GitLab: https://gitlab.archlinux.org/archlinux/packaging/packages/chromium/-/commit/250d52ea7fd0b93d30f5aeafa5c841ecd64db802 You're receiving this email because of your account on gitlab.archlinux.org.
