Script to download Continuous Build AppImages
authorColin Clark <colin.clark@cclark.uk>
Wed, 30 Aug 2023 10:24:23 +0000 (11:24 +0100)
committerColin Clark <colin.clark@cclark.uk>
Wed, 30 Aug 2023 10:24:23 +0000 (11:24 +0100)
README.md
scripts/geeqie-download-appimage.sh [new file with mode: 0755]
scripts/meson.build

index 89a07a1..931586d 100644 (file)
--- a/README.md
+++ b/README.md
@@ -29,6 +29,8 @@ The project website is <https://www.geeqie.org/> and you will find the latest so
 
 * [Features](#features)
 * [Downloading](#downloading)
 
 * [Features](#features)
 * [Downloading](#downloading)
+* [AppImages](#appimages)
+* [Installation Scripts](#installation-scripts)
 * [Compiling and Installing](#compiling-and-installing)
 * [Notes and changes for the latest release](#notes-and-changes-for-the-latest-release)
 * [Requirements](#requirements)
 * [Compiling and Installing](#compiling-and-installing)
 * [Notes and changes for the latest release](#notes-and-changes-for-the-latest-release)
 * [Requirements](#requirements)
@@ -112,7 +114,22 @@ Geeqie is available:
 
 * via WSL2 on Windows 11 - see notes below.
 
 
 * via WSL2 on Windows 11 - see notes below.
 
-However Geeqie is stable and you may compile the latest version from sources.
+### AppImages
+
+The Continuous Build release version has AppImages that are automatically generated each time the source code is updated. There are two versions - the full version is about 120MB and the minimal version is about 10MB and will therefore load much faster.
+
+The minimal version can display jpegs, pngs and some other formats, but does not have the range of the full version.
+
+This script file will download the latest Continuous Build AppImages for you:
+
+```sh
+wget https://github.com/BestImageViewer/geeqie/blob/master/scripts/geeqie-download-appimage.sh
+chmod +x geeqie-download-appimage.sh
+```
+
+### Installation scripts
+
+Geeqie is stable and you may compile the latest version from sources.
 
 There are two scripts which will download and compile the sources for you.
 
 
 There are two scripts which will download and compile the sources for you.
 
diff --git a/scripts/geeqie-download-appimage.sh b/scripts/geeqie-download-appimage.sh
new file mode 100755 (executable)
index 0000000..c7bab7e
--- /dev/null
@@ -0,0 +1,39 @@
+#!/bin/sh
+#**********************************************************************
+# Copyright (C) 2023 - The Geeqie Team
+#
+# Author: Colin Clark
+#
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License along
+# with this program; if not, write to the Free Software Foundation, Inc.,
+# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
+#**********************************************************************
+
+## @file
+## @brief Download full and minimal AppImages from the Continuous build release on GitHub.
+##
+## The user should modify the symbolic links as appropriate.
+##
+## Downloads will not be made unless the server version is newer than the local file.
+##
+
+cd "$HOME/bin/" || exit
+architecture=$(arch)
+
+wget --quiet --show-progress --backups=3 --timestamping "https://github.com/BestImageViewer/geeqie/releases/download/continuous/Geeqie-latest-$architecture.AppImage";
+chmod +x "Geeqie-latest-$architecture.AppImage"
+ln --symbolic --force "Geeqie-latest-$architecture.AppImage" Geeqie
+
+wget --quiet --show-progress --backups=3 --timestamping "https://github.com/BestImageViewer/geeqie/releases/download/continuous/Geeqie-minimal-latest-$architecture.AppImage";
+chmod +x "Geeqie-minimal-latest-$architecture.AppImage"
+ln --symbolic --force "Geeqie-minimal-latest-$architecture.AppImage" geeqie
index acac18e..0e9ac89 100644 (file)
@@ -15,6 +15,7 @@ script_sources += files('authors.sh',
 'devel-install.sh',
 'doxygen-help.sh',
 'doxygen.sh',
 'devel-install.sh',
 'doxygen-help.sh',
 'doxygen.sh',
+'geeqie-download-appimage.sh',
 'generate-ClayRGB1998-icc-h.sh',
 'generate-appimage.sh',
 'generate-linuxdeploy-for-arm.sh',
 'generate-ClayRGB1998-icc-h.sh',
 'generate-appimage.sh',
 'generate-linuxdeploy-for-arm.sh',