Files
cog/cog-fix-load-backend-fdo-lib.patch
Joan Torres 9bfebbc1cd Accepting request 1247121 from GNOME:Next
- Update to version 0.18.4:
  + meson: Fix the build in systems where the "ln" command cannot
    calculate relative symlink target paths.
  + wl:
    - Fix some items in popup menus not being rendered.
    - Add support for weston-protocols version 14.
- Changes from version 0.18.3:
  + drm: Fix handling of the scaling factor setting.
  + gtk4: Take scaling factor into account for pointer events.
  + launcher: Support toggling WebKit features with a new
    --features/-F command line option, when built against WebKit
    2.42.0 or newer.
- Rebase cog-fix-load-backend-fdo-lib.patch.

OBS-URL: https://build.opensuse.org/request/show/1247121
OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/cog?expand=0&rev=10
2025-02-24 09:56:33 +00:00

65 lines
3.0 KiB
Diff

diff -Nur cog-0.18.4/platform/drm/cog-platform-drm.c cog-0.18.4-patched/platform/drm/cog-platform-drm.c
--- cog-0.18.4/platform/drm/cog-platform-drm.c 2024-05-15 14:39:19.000000000 +0200
+++ cog-0.18.4-patched/platform/drm/cog-platform-drm.c 2025-02-19 15:15:16.653576012 +0100
@@ -1409,7 +1409,7 @@
init_config(COG_DRM_PLATFORM(platform), shell, params);
g_signal_connect(shell, "notify::device-scale-factor", G_CALLBACK(cog_drm_platform_shell_device_factor_changed), NULL);
- if (!wpe_loader_init ("libWPEBackend-fdo-1.0.so")) {
+ if (!wpe_loader_init ("libWPEBackend-fdo-1.0.so.1")) {
g_set_error_literal (error,
COG_PLATFORM_WPE_ERROR,
COG_PLATFORM_WPE_ERROR_INIT,
Index: cog/platform/gtk4/cog-platform-gtk4.c
===================================================================
--- cog.orig/platform/gtk4/cog-platform-gtk4.c
+++ cog/platform/gtk4/cog-platform-gtk4.c
@@ -666,7 +666,7 @@ cog_gtk4_platform_setup(CogPlatform *pla
{
g_assert_nonnull(platform);
- wpe_loader_init("libWPEBackend-fdo-1.0.so");
+ wpe_loader_init("libWPEBackend-fdo-1.0.so.1");
if (!gtk_init_check()) {
g_set_error_literal(error, COG_PLATFORM_EGL_ERROR, 0,
"GTK initialization failed");
Index: cog/platform/headless/cog-platform-headless.c
===================================================================
--- cog.orig/platform/headless/cog-platform-headless.c
+++ cog/platform/headless/cog-platform-headless.c
@@ -72,7 +72,7 @@ cog_headless_platform_setup(CogPlatform*
{
CogHeadlessPlatform *self = COG_HEADLESS_PLATFORM(platform);
- wpe_loader_init("libWPEBackend-fdo-1.0.so");
+ wpe_loader_init("libWPEBackend-fdo-1.0.so.1");
wpe_fdo_initialize_shm();
if (params && params[0] != '\0') {
Index: cog/platform/wayland/cog-platform-wl.c
===================================================================
--- cog.orig/platform/wayland/cog-platform-wl.c
+++ cog/platform/wayland/cog-platform-wl.c
@@ -2490,7 +2490,7 @@ cog_wl_platform_setup(CogPlatform *platf
{
g_return_val_if_fail (COG_IS_SHELL (shell), FALSE);
- if (!wpe_loader_init ("libWPEBackend-fdo-1.0.so")) {
+ if (!wpe_loader_init ("libWPEBackend-fdo-1.0.so.1")) {
g_set_error_literal (error,
COG_PLATFORM_WPE_ERROR,
COG_PLATFORM_WPE_ERROR_INIT,
Index: cog/platform/x11/cog-platform-x11.c
===================================================================
--- cog.orig/platform/x11/cog-platform-x11.c
+++ cog/platform/x11/cog-platform-x11.c
@@ -772,7 +772,7 @@ cog_x11_platform_setup(CogPlatform *plat
s_display = calloc (sizeof (struct CogX11Display), 1);
s_window = calloc (sizeof (struct CogX11Window), 1);
- if (!wpe_loader_init ("libWPEBackend-fdo-1.0.so")) {
+ if (!wpe_loader_init ("libWPEBackend-fdo-1.0.so.1")) {
g_set_error_literal (error,
COG_PLATFORM_WPE_ERROR,
COG_PLATFORM_WPE_ERROR_INIT,