moment/packaging/appimage
miruka 7c83b1c167 Remove uneeded dependencies for AppImage building
Pillow 0.7+ no longer requires separate installation of libraries like
libjpeg, zlib, etc, for common desktop architectures at least
(which is why we keep them in the INSTALL.md manual install commands).
2020-05-30 23:08:21 -04:00
..
build.sh Remove uneeded dependencies for AppImage building 2020-05-30 23:08:21 -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