Opened 8 months ago

Closed 6 weeks ago

#18460 closed enhancement (fixed)

Archive libwpe and wpe-backend-fdo (depending on #19478)

Reported by: Xi Ruoyao Owned by: Douglas R. Reno
Priority: normal Milestone: 12.2
Component: BOOK Version: git
Severity: normal Keywords:
Cc:

Description

With the current WebKitGTK release (2.41.91) the rendering routines requiring libwpe and wpe-backend-fdo is already unused by default (unless WEBKIT_DISABLE_DMABUF_RENDERER=1 is used). And WebKitGTK maintainer Carlos Garcia Campos says:

This environment variable and the WPE render/X11 code will be eventually removed if DMABUF works fine.

I think we can just try to archive them and disable WPE renderer of WebKitGTK at build time when the 12.1 development cycle starts.

Change History (10)

comment:1 by Douglas R. Reno, 8 months ago

Owner: changed from blfs-book to Douglas R. Reno
Status: newassigned

comment:2 by Douglas R. Reno, 8 months ago

I've removed both libwpe and wpebackend-fdo from my system, and reinstalled gst-plugins-bad (since it references wpebackend-fdo). Next up... rebuilding WebKitGTK+ with WPE turned off, and then testing Epiphany and Evolution

comment:3 by Douglas R. Reno, 8 months ago

It looks like we probably won't be able to get away from it:

-- Checking for module 'gobject-introspection-1.0'
--   Found gobject-introspection-1.0, version 1.76.1
-- Found GI: /usr/bin/g-ir-scanner (found version "1.76.1") 
-- Found Libtasn1: /usr/lib/libtasn1.so  
-- Could NOT find WPE (missing: WPE_LIBRARY WPE_INCLUDE_DIR) (Required is at least version "1.3.0")
CMake Error at Source/cmake/OptionsGTK.cmake:345 (message):
  libwpe is required for ENABLE_WAYLAND_TARGET
Call Stack (most recent call first):
  Source/cmake/WebKitCommon.cmake:228 (include)
  CMakeLists.txt:21 (include)

That was after changing -DUSE_WPE_RENDERER to OFF as well. Maybe we can check after 2.42.0 is out next week.

comment:4 by Xi Ruoyao, 8 months ago

I'm trying to hack the building system to get rid of WPE...

in reply to:  4 comment:5 by Xi Ruoyao, 8 months ago

Milestone: 12.199-Waiting
Summary: Archive libwpe and wpe-backend-fdoArchive libwpe and wpe-backend-fdo (wait for webkitgtk to move away from them)

Replying to Xi Ruoyao:

I'm trying to hack the building system to get rid of WPE...

I failed. It seems very difficult.

Let's wait for upstream. And I don't think it'll happen with 2.42 because it's already branched.

comment:6 by Xi Ruoyao, 7 months ago

Priority: normallow

Lower the priority as this won't happen until at least GNOME 46.

comment:7 by Douglas R. Reno, 5 months ago

It looks like this will happen in WebKitGTK-2.44.0. From the latest development release (2.43.2):

What's new in the WebKitGTK 2.43.2 release?
===========================================

  - Remove the X11 and WPE renderers.
  - Release unused buffers when the view is hidden.
  - Fix flickering while playing videos with DMA-BUF sink.
  - Do not special case the "sans" font family name.
  - Fix webkit_web_context_allow_tls_certificate_for_host() for IPv6 URIs produced by SoupURI.
  - Fix several crashes and rendering issues.

comment:8 by Xi Ruoyao, 6 weeks ago

Milestone: 99-Waiting12.2
Priority: lownormal

webkitgtk-2.44.0 is released.

comment:9 by Xi Ruoyao, 6 weeks ago

Summary: Archive libwpe and wpe-backend-fdo (wait for webkitgtk to move away from them)Archive libwpe and wpe-backend-fdo (depending on #19478)

comment:10 by Xi Ruoyao, 6 weeks ago

Resolution: fixed
Status: assignedclosed
Note: See TracTickets for help on using tickets.