1
0

appimage build: build and include libxcb-util1

fixes https://github.com/spesmilo/electrum/issues/8011

> Upgraded from Appimage 4.1.5 to 4.3.2 on MX-Linux 19.
> The new version fails to start with:
>
> ```
> $ electrum
> qt.qpa.plugin: Could not load the Qt platform plugin "xcb" in "" even though it was found.
> This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may > fix this problem.
>
> Available platform plugins are: eglfs, linuxfb, minimal, minimalegl, offscreen, vnc, wayland-egl, wayland, wayland-xcomposite-egl, wayland-xcomposite-glx, webgl, xcb.
>
> Aborted (core dumped)
> ```

debian 10 only distributes libxcb-util0.
debian 11 distributes libxcb-util1.
our base image atm is debian 10, so we build the package from source.
This commit is contained in:
SomberNight
2022-10-11 18:24:02 +00:00
parent b619e2b3af
commit 34488478e6
2 changed files with 33 additions and 1 deletions

View File

@@ -17,6 +17,7 @@ COPY apt.preferences /etc/apt/preferences.d/snapshot
RUN apt-get update -q && \
apt-get install -qy --allow-downgrades \
sudo \
git \
wget \
make \
@@ -24,6 +25,7 @@ RUN apt-get update -q && \
autoconf \
libtool \
autopoint \
pkg-config \
xz-utils \
libssl-dev \
libssl1.1 \
@@ -41,9 +43,10 @@ RUN apt-get update -q && \
gettext \
libzbar0 \
libdbus-1-3 \
xutils-dev \
libxkbcommon0 \
libxkbcommon-x11-0 \
libxcb1 \
libxcb1-dev \
libxcb-xinerama0 \
libxcb-randr0 \
libxcb-render0 \
@@ -56,6 +59,7 @@ RUN apt-get update -q && \
libxcb-image0 \
libxcb-keysyms1 \
libxcb-util0 \
#libxcb-util1 \
libxcb-render-util0 \
libx11-xcb1 \
libc6-dev \