1 # How to create AppImages for Geeqie
3 ## Download the required tools:
5 Download the `linuxdeploy` tool. At the time of writing, this is:
7 wget https://github.com/linuxdeploy/linuxdeploy/releases/download/continuous/linuxdeploy-x86_64.AppImage
10 Move this file to `$HOME/bin` or somewhere else in your `$PATH` and make executable.
12 ## Generate the executable
15 cd <your working area>
18 Download Geeqie sources:
20 git clone git://www.geeqie.org/geeqie.git
24 If a run has already been made, remove any existing targets:
26 rm -r <target dir>/AppDir
30 Create a fresh target directory:
32 mkdir <target dir>/AppDir
35 Generate the Geeqie executable:
37 sudo make maintainer-clean
38 ./autogen.sh --prefix="/usr/"
40 make install DESTDIR=<full path to target dir>/AppDir
43 ## Generate the AppImage
47 linuxdeploy-x86_64.AppImage \
48 --appdir ./AppDir --output appimage \
49 --desktop-file ./AppDir/usr/share/applications/geeqie.desktop \
50 --icon-file ./AppDir/usr/share/pixmaps/geeqie.png \
51 --executable ./AppDir/usr/bin/geeqie`
55 If required, rename the AppImage executable - e.g.:
57 mv ./Geeqie-v1.6-x86_64.AppImage $(./Geeqie-v1.6-x86_64.AppImage -v | sed 's/git//' | sed 's/-.* /-/' | sed 's/ /-v/' | sed 's/-GTK3//').AppImage
61 The script `./scripts/generate-appimage.sh` automates this process.