From a749b49a903a268ff215e8ec73896fd407b16bbf Mon Sep 17 00:00:00 2001 From: Colin Clark Date: Wed, 30 Aug 2023 11:24:23 +0100 Subject: [PATCH] Script to download Continuous Build AppImages --- README.md | 19 +++++++++++++- scripts/geeqie-download-appimage.sh | 39 +++++++++++++++++++++++++++++ scripts/meson.build | 1 + 3 files changed, 58 insertions(+), 1 deletion(-) create mode 100755 scripts/geeqie-download-appimage.sh diff --git a/README.md b/README.md index 89a07a16..931586d8 100644 --- a/README.md +++ b/README.md @@ -29,6 +29,8 @@ The project website is and you will find the latest so * [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) @@ -112,7 +114,22 @@ Geeqie is available: * 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. diff --git a/scripts/geeqie-download-appimage.sh b/scripts/geeqie-download-appimage.sh new file mode 100755 index 00000000..c7bab7e3 --- /dev/null +++ b/scripts/geeqie-download-appimage.sh @@ -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 diff --git a/scripts/meson.build b/scripts/meson.build index acac18e1..0e9ac89e 100644 --- a/scripts/meson.build +++ b/scripts/meson.build @@ -15,6 +15,7 @@ script_sources += files('authors.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', -- 2.20.1