summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorErik Kundiman <erik@megapahit.org>2025-10-22 19:22:57 +0800
committerErik Kundiman <erik@megapahit.org>2025-10-22 19:22:57 +0800
commitf2b35719cfaf47f0225d92b0554eca699e861fc1 (patch)
treed0eafe727b9db82855bf4f942901cb4b3f847bac
parentbde975ccc6919a05f526fc31cd187071543a51d9 (diff)
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.
-rw-r--r--indra/media_plugins/cef/media_plugin_cef.cpp1
-rw-r--r--indra/newview/PKGBUILD.in2
2 files changed, 2 insertions, 1 deletions
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<std::string> 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"