public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/chromium] epel9-next: Disable LensOverlay feature by default
@ 2026-08-07 16:08 LuK1337
  0 siblings, 0 replies; only message in thread
From: LuK1337 @ 2026-08-07 16:08 UTC (permalink / raw)
  To: git-commits

            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
 

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2026-08-07 16:08 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-08-07 16:08 [rpms/chromium] epel9-next: Disable LensOverlay feature by default LuK1337

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox