]> sigrok.org Git - sigrok-util.git/blame - cross-compile/appimage/README
sigrok-cross-mingw: Optionally emit progress messages.
[sigrok-util.git] / cross-compile / appimage / README
CommitLineData
ddc7a838 1-------------------------------------------------------------------------------
2README
3-------------------------------------------------------------------------------
4
ea193494 5This is a small script for bundling PulseView/sigrok-cli and its dependencies
ddc7a838 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
ddc7a838 15
16Status
17------
18
f4b6ec06
UH
19Working AppImages (stable releases and nightly builds) are provided here:
20https://sigrok.org/wiki/Downloads
ddc7a838 21
22
23Requirements
24------------
25
d9f89f29
UH
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
c8f1a10f
UH
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
c5aaf334
UH
36
37Apply chdir.patch (required to fix sigrok bug #1300), then build:
38
39 $ patch -p1 < chdir.patch
c8f1a10f
UH
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
bb8e5714 47The AppImages are tested to build fine on Ubuntu 16.04 (32bit and 64bit).
d9f89f29
UH
48These older distros are used for the build so that the generated AppImages
49can run on as many different systems as possible.
ddc7a838 50
51
52Building
53--------
54
ea193494
UH
55For PulseView:
56
b24da7c1 57 $ ./sigrok-native-appimage
ddc7a838 58
ea193494
UH
59For sigrok-cli:
60
61 $ ./sigrok-native-appimage sigrok-cli
62
63Per default the script will put the AppImages in:
ddc7a838 64
65 ./out/*.AppImage
66
67Please edit the script if you want to change any settings.