Skip to content

Appimage: during image creation, delete libxcb and libxcb-dri{2,3} libraries

Tércio Martins requested to merge terciom/kdenlive:appimage-libxcb into master

Currently, the script "build-image.sh" deletes all libraries that begin with the name "libxcb..."

Systems that do not have the "libxcb-keysyms.so.1" library are unable to start Kdenlive. The terminal displays this message when starting the program: "error while loading shared libraries: libxcb-keysyms.so.1: cannot open shared object file: No such file or directory"

This prevents the program from starting on computers that only have GNOME applications installed, for example. https://ubuntu.pkgs.org/20.04/ubuntu-main-amd64/libxcb-keysyms1_0.4.0-1build1_amd64.deb.html https://www.archlinux.org/packages/extra/x86_64/xcb-util-keysyms/

The Appimage documentation recommends deleting only the "libxcb.so", "libxcb-dri2.so" and "libxcb-dri3.so" libraries: https://github.com/AppImage/pkg2appimage/blob/master/excludelist

The "build-image.sh" script has been changed to delete only those files, allowing more users to run the program.

Edited by Tércio Martins

Merge request reports