Cf. koreader/kobase#2298.
The `linux` update target now build an AppImage too.
Other miscellaneous changes:
- AppImage:
* better icons
* update filename to conform to spec (`ApplicationName-$VERSION-$ARCH.AppImage`)
* running from extracted contents will behave like the Linux distribution (multi-user mode)
- Debian package:
* better icons
* update version to include git commit
* drop fakeroot requirement for building
* fix dependencies (based on our targeted Ubuntu LTS: 22.04, AKA Jammy)
- Linux distribution:
* better icons
* improved start-up script (can be symlinked to)
Relates to https://github.com/koreader/koreader/issues/9268
Requires https://github.com/koreader/koreader-base/pull/1504
Usage:
- `kodev release linux` for native package (same arch as host)
- `LINUX_ARCH=arm release linux` for armhf on a x86_64 host.
- `LINUX_ARCH=arm64 release linux` for arm64 on a x86_64 host.
It produces a `koreader-linux-$ARCH-$VERSION.tar.xz` archive, where $ARCH follows `uname -m` convention {x86_64, armv7l, aarch64}
To generate the debian package from the generic archive the following command is required
`./platform/linux/do_debian_package.sh path_to.tar.xz`