mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-07-21 16:11:22 +00:00
Build with WPE renderer is no longer tested upstream https://bugs.webkit.org/show_bug.cgi?id=238513#c10 and that configuration is extremely buggy since 2.36.0: https://github.com/NixOS/nixpkgs/issues/169201 Previously it was disabled inc0d053ea0e. (cherry picked from commit303f80a9b4)
12 lines
798 B
Diff
12 lines
798 B
Diff
--- a/Source/WebKit/UIProcess/glib/WebProcessPoolGLib.cpp
|
|
+++ b/Source/WebKit/UIProcess/glib/WebProcessPoolGLib.cpp
|
|
@@ -89,7 +89,7 @@
|
|
#if PLATFORM(WAYLAND)
|
|
if (WebCore::PlatformDisplay::sharedDisplay().type() == WebCore::PlatformDisplay::Type::Wayland) {
|
|
#if USE(WPE_RENDERER)
|
|
- wpe_loader_init("libWPEBackend-fdo-1.0.so.1");
|
|
+ wpe_loader_init("@wpebackend_fdo@/lib/libWPEBackend-fdo-1.0.so.1");
|
|
if (AcceleratedBackingStoreWayland::checkRequirements()) {
|
|
parameters.hostClientFileDescriptor = IPC::Attachment(UnixFileDescriptor(wpe_renderer_host_create_client(), UnixFileDescriptor::Adopt));
|
|
parameters.implementationLibraryName = FileSystem::fileSystemRepresentation(String::fromLatin1(wpe_loader_get_loaded_implementation_library_name()));
|