Skip to contentSkip to conversation

wpebackend-fdo: Fix missing .so symlink when using dev package

PATCH New Zbigniew Bodek 1 participant 1 message Feb 19, 2021

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 wpebackend-fdo: Fix missing .so symlink when using dev package

From: Zbigniew Bodek <[email protected]>

Problem spotted on dunfell-23.0.4

Normally, unversioned .so is removed from -dev (default) package however it is still being referred by other agents, such as webkitgtk. That can be observed while executing i.e. Epiphany Browser.

For instance:
platformInitializeWebProcess()
calls
wpe_loader_init("libWPEBackend-fdo-1.0.so")

as a result one can see:
--------------------
wpe_loader_init could not load the library 'libWPEBackend-fdo-1.0.so':
libWPEBackend-fdo-1.0.so: cannot open shared object file:
No such file or directory
--------------------

"master" branch contains a bumped-up version of webkitgtk to which this issue does not apply (the code has changed).

Forcefully keep this .so symlink to resolve the problem in dunfell.

---
 meta/recipes-sato/webkit/wpebackend-fdo_1.4.1.bb | 3 +++
 1 file changed, 3 insertions(+)
meta/recipes-sato/webkit/wpebackend-fdo_1.4.1.bb +3 -0
index cd2f7fabda..165fc74dde 100644
@@ -15,3 +15,6 @@ REQUIRED_DISTRO_FEATURES = "opengl"
 SRC_URI = "https://wpewebkit.org/releases/${BPN}-${PV}.tar.xz"
 SRC_URI[sha256sum] = "6249a0b7cbfa662206a8d2fa24e2c574e75c681ad0e93468091f1dc68ddb299d"
 
+FILES_${PN} += "${libdir}/libWPEBackend-fdo-1.0.so"
+FILES_SOLIBSDEV = ""
+INSANE_SKIP_${PN} += "dev-so"
Signature · 1 line
2.17.1