moment/packaging/appimage
miruka 419ba5a57a Fix appimage build: must compile Pillow manually
Using the Pillow wheel makes running Mirage fail with

    ImportError: libxcb-2dfad6c3.so.1.1.0: ELF load
    command address/offset not properly aligned

Probably has to do with us installing libX11/libXss libs.
2020-07-17 11:18:23 -04:00
..
build.sh Fix appimage build: must compile Pillow manually 2020-07-17 11:18:23 -04:00
README.md Put AppImage instructions inside a README 2020-03-26 18:51:50 -04:00

AppImage building

The image must be built on Ubuntu 16.04 Xenial, to ensure compatibility with
older systems.

LXD can be used to setup a suitable container from any distro.

If not done already (all default settings are usually fine):

lxd init

Initialize a new container named ubuntu:

lxc launch images:ubuntu/xenial/amd64 ubuntu

Now, you can either clone the repo from inside the container...:

lxc exec ubuntu -- apt install -y git
lxc exec ubuntu -- git pull https://github.com/mirukana/mirage

...or directly copy a repository from your local filesystem inside:

lxc exec ubuntu -- /bin/mkdir -p /root/mirage
lxc file push -vr <path to repo root>/* ubuntu/root/mirage

Run the build script inside the container:

lxc exec ubuntu -- /root/mirage/packaging/appimage/build.sh

You can also start a shell inside (e.g. if something goes wrong):

lxc exec ubuntu -- /bin/bash