From f2b35719cfaf47f0225d92b0554eca699e861fc1 Mon Sep 17 00:00:00 2001 From: Erik Kundiman Date: Wed, 22 Oct 2025 19:22:57 +0800 Subject: Fix CEF media plugin failing to load on Arch Somehow the absence of the variable declaration would break CEF media plugin on Arch (just like it happened on openSUSE Tumbleweed) when it's not even used any more anywhere else. It's a different variable from the one whose absence broke CEF on Tumbleweed. Apart from that, the package now explicitly pulls at-spi2-core, which contains libatk-1.0.so.0, libatk-bridge-2.0.so.0 and libatspi.so.0 which are linked by libmedia_plugin_cef.so. at-spi2-core may not necessarily get pulled by some other package on a minimal fresh Arch installation. --- indra/media_plugins/cef/media_plugin_cef.cpp | 1 + indra/newview/PKGBUILD.in | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/indra/media_plugins/cef/media_plugin_cef.cpp b/indra/media_plugins/cef/media_plugin_cef.cpp index 3e7ed88c5d..a2b664c755 100644 --- a/indra/media_plugins/cef/media_plugin_cef.cpp +++ b/indra/media_plugins/cef/media_plugin_cef.cpp @@ -115,6 +115,7 @@ private: bool mCanSelectAll; std::string mRootCachePath; std::string mCachePath; + std::string mContextCachePath; std::string mCefLogFile; bool mCefLogVerbose; std::vector mPickedFiles; diff --git a/indra/newview/PKGBUILD.in b/indra/newview/PKGBUILD.in index 1f0c83cc41..3310c6c601 100644 --- a/indra/newview/PKGBUILD.in +++ b/indra/newview/PKGBUILD.in @@ -6,7 +6,7 @@ pkgdesc="${VIEWER_PACKAGE_COMMENT}" arch=('${CMAKE_SYSTEM_PROCESSOR}') url="https://${VIEWER_PACKAGE_DOMAIN_NAME}" license=('LGPL-2.1') -depends=(apr-util boost-libs fltk glu hunspell libnghttp2 openjpeg2 sdl2 vlc libvorbis) +depends=(apr-util at-spi2-core boost-libs fltk glu hunspell libnghttp2 openjpeg2 sdl2 vlc libvorbis) package() { cd "$startdir" -- cgit v1.2.3