Commit 186c2793 authored by Tércio Martins's avatar Tércio Martins Committed by Jean-Baptiste Mardelle

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

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.
parent e0be8f3a
Pipeline #29742 canceled with stage
......@@ -168,8 +168,9 @@ rm $APPDIR/usr/lib/libGL.so.1 || true
rm $APPDIR/usr/lib/libasound.so.2 || true
# libxcb should be removed
rm $APPDIR/usr/lib/libxcb* || true
# libxcb and libxcb-dri{2,3} should be removed
rm $APPDIR/usr/lib/libxcb.so* || true
rm $APPDIR/usr/lib/libxcb-dri{2,3}.so* || true
rm $APPDIR/usr/lib/libgcrypt.so.20 || true
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment