Skip to content

Commit

Permalink
Bundle missing xcb libraries into AppImage - #47
Browse files Browse the repository at this point in the history
  • Loading branch information
bpozdena committed Aug 5, 2022
1 parent 3806634 commit 472aa50
Showing 1 changed file with 15 additions and 2 deletions.
17 changes: 15 additions & 2 deletions AppImageBuilder.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ AppDir:
id: io.github.bpozdena.OneDriveGUI
name: OneDriveGUI
icon: OneDriveGUI
version: 0.2.3
version: 0.2.4
exec: usr/bin/python3
exec_args: "$APPDIR/usr/src/OneDriveGUI.py $@"

Expand All @@ -30,8 +30,21 @@ AppDir:

include:
- python3
- libxcb-icccm4
- libxcb-image0
- libxcb-keysyms1
- libxcb-render-util0
exclude: []

after_bundle: |
mkdir -p $APPDIR/lib/x86_64-linux-gnu
cp $APPDIR/usr/lib/x86_64-linux-gnu/{libxcb-icccm.so.4.0.0,libxcb-image.so.0.0.0,libxcb-keysyms.so.1.0.0,libxcb-render-util.so.0.0.0} $APPDIR/lib/x86_64-linux-gnu/
cd $APPDIR/lib/x86_64-linux-gnu
ln -s libxcb-icccm.so.4.0.0 libxcb-icccm.so.4
ln -s libxcb-image.so.0.0.0 libxcb-image.so.0
ln -s libxcb-keysyms.so.1.0.0 libxcb-keysyms.so.1
ln -s libxcb-render-util.so.0.0.0 libxcb-render-util.so.0
runtime:
env:
PYTHONHOME: '${APPDIR}/usr'
Expand All @@ -40,4 +53,4 @@ AppDir:
AppImage:
# update-information: gh-releases-zsync
sign-key: None
arch: x86_64
arch: x86_64

0 comments on commit 472aa50

Please sign in to comment.