]> sigrok.org Git - sigrok-util.git/blame_incremental - cross-compile/appimage/README
sigrok-cross-mingw: Optionally emit progress messages.
[sigrok-util.git] / cross-compile / appimage / README
... / ...
CommitLineData
1-------------------------------------------------------------------------------
2README
3-------------------------------------------------------------------------------
4
5This is a small script for bundling PulseView/sigrok-cli and its dependencies
6for Linux systems as an AppImage.
7
8AppImage is a bundle format for Linux applications that allows the user to
9download an application, make it executable, and run.
10No need to install. No system libraries or system preferences are altered.
11
12For more information on AppImage, please see
13http://appimage.org/
14
15
16Status
17------
18
19Working AppImages (stable releases and nightly builds) are provided here:
20https://sigrok.org/wiki/Downloads
21
22
23Requirements
24------------
25
26The script assumes you have built all of the sigrok subprojects and
27installed them into $HOME/sr (e.g. via the sigrok-cross-linux script).
28
29It also assumes you have built AppImageKit in $HOME. First, install all
30build requirements of AppImageKit (see AppImageKit docs or its
31install-build-deps.sh file). Then:
32
33 $ cd $HOME
34 $ git clone https://github.com/AppImage/AppImageKit
35 $ cd AppImageKit
36
37Apply chdir.patch (required to fix sigrok bug #1300), then build:
38
39 $ patch -p1 < chdir.patch
40 $ ./build.sh
41
42Temporary workaround for an AppImageKit issue:
43
44 $ mkdir -p build/lib/appimagekit
45 $ cp build/out/mksquashfs build/lib/appimagekit
46
47The AppImages are tested to build fine on Ubuntu 16.04 (32bit and 64bit).
48These older distros are used for the build so that the generated AppImages
49can run on as many different systems as possible.
50
51
52Building
53--------
54
55For PulseView:
56
57 $ ./sigrok-native-appimage
58
59For sigrok-cli:
60
61 $ ./sigrok-native-appimage sigrok-cli
62
63Per default the script will put the AppImages in:
64
65 ./out/*.AppImage
66
67Please edit the script if you want to change any settings.