public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: LuK1337 <priv.luk@gmail.com>
To: git-commits@fedoraproject.org
Subject: [rpms/chromium] epel9-next: Disable LensOverlay feature by default
Date: Fri, 07 Aug 2026 16:08:26 GMT	[thread overview]
Message-ID: <178611890648.1.17720522191798147754.rpms-chromium-6cdfef9f8985@fedoraproject.org> (raw)

            A new commit has been pushed.

            Repo   : rpms/chromium
            Branch : epel9-next
            Commit : 6cdfef9f8985abcb76c99875c3dbdaaee3958d1c
            Author : LuK1337 <priv.luk@gmail.com>
            Date   : 2025-11-15T11:18:32+01:00
            Stats  : +7/-1 in 2 file(s)
            URL    : https://src.fedoraproject.org/rpms/chromium/c/6cdfef9f8985abcb76c99875c3dbdaaee3958d1c?branch=epel9-next

            Log:
            Disable LensOverlay feature by default

Google Lens does not work in chromium provided by Fedora, it displays
the following error message when attempting to use it:
  Something went wrong
  Couldn't load this panel, try again

---
diff --git a/chromium.conf b/chromium.conf
index c66a04a..24ecd8e 100644
--- a/chromium.conf
+++ b/chromium.conf
@@ -17,6 +17,7 @@ else
    NATIVE_WAYLAND=off
 fi
 
+DISABLE_FEATURES="LensOverlay"
 FEATURES="AllowQt"
 CHROMIUM_FLAGS=" --enable-chrome-browser-cloud-management"
 if [ "$NATIVE_WAYLAND" == "on" ] ; then
@@ -52,6 +53,7 @@ esac
 if [ "$MODE" != "none" ] ; then
    # chromium in VM, running with standard setting
    CHROMIUM_FLAGS=""
+   DISABLE_FEATURES=""
    FEATURES=""
 fi
 
@@ -65,4 +67,5 @@ if [ "$WEB_DARKMODE" == "on" ] ; then
    fi
 fi
 
+[ -z "$DISABLE_FEATURES" ] || CHROMIUM_FLAGS+=" --disable-features=$DISABLE_FEATURES"
 [ -z "$FEATURES" ] || CHROMIUM_FLAGS+=" --enable-features=$FEATURES"

diff --git a/chromium.spec b/chromium.spec
index 18f6a36..98cdb79 100644
--- a/chromium.spec
+++ b/chromium.spec
@@ -245,7 +245,7 @@
 
 Name:	chromium
 Version: 142.0.7444.162
-Release: 1%{?dist}
+Release: 2%{?dist}
 Summary: A WebKit (Blink) powered web browser that Google doesn't want you to use
 Url: http://www.chromium.org/Home
 License: BSD-3-Clause AND LGPL-2.1-or-later AND Apache-2.0 AND IJG AND MIT AND GPL-2.0-or-later AND ISC AND OpenSSL AND (MPL-1.1 OR GPL-2.0-only OR LGPL-2.0-only)
@@ -1750,6 +1750,9 @@ fi
 %endif
 
 %changelog
+* Sat Nov 15 2025 LuK1337 <priv.luk@gmail.com> - 142.0.7444.162-2
+- Disable LensOverlay feature by default
+
 * Thu Nov 13 2025 Mamoru TASAKA <mtasaka@fedoraproject.org> - 142.0.7444.162-2
 - Rebuild for ffmpeg 8 again
 

                 reply	other threads:[~2026-08-07 16:08 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=178611890648.1.17720522191798147754.rpms-chromium-6cdfef9f8985@fedoraproject.org \
    --to=priv.luk@gmail.com \
    --cc=git-commits@fedoraproject.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