aboutsummaryrefslogtreecommitdiffstats
path: root/appimage/build-appimage
diff options
context:
space:
mode:
authorJay Berkenbilt <ejb@ql.org>2021-12-11 23:16:05 +0100
committerJay Berkenbilt <ejb@ql.org>2021-12-13 17:16:21 +0100
commita372a988fdcdf84c8ba2e47f021802fc3ffb9089 (patch)
treece884fdcafc4883803a51f454af797bc43844575 /appimage/build-appimage
parentabb6a16ed16b6137b829bc88a6f2b8b3b6c8cf35 (diff)
downloadqpdf-a372a988fdcdf84c8ba2e47f021802fc3ffb9089.tar.zst
Switch build from docbook manual to sphinx
Also remove linearization from qpdf-manual.pdf. It's a small file, and removing the dependency on the qpdf executable significantly shortens build times.
Diffstat (limited to 'appimage/build-appimage')
-rwxr-xr-xappimage/build-appimage9
1 files changed, 5 insertions, 4 deletions
diff --git a/appimage/build-appimage b/appimage/build-appimage
index 03039ed1..04fa805b 100755
--- a/appimage/build-appimage
+++ b/appimage/build-appimage
@@ -43,24 +43,25 @@ if [ "x$1" == "x--sign" ]; then
fi
-# Check if we are on Ubuntu Trusty
+# Check Ubuntu Distribution
_osversion=$(cat /etc/os-release | grep PRETTY_NAME | awk -F'=' '{print $2}' | sed 's#"##g')
# Warn users building the AppImage locally:
-if [[ ! $_osversion =~ Ubuntu\ 16.04.*\ LTS ]]; then
+if [[ ! $_osversion =~ Ubuntu\ 18.04.*\ LTS ]]; then
set +x
echo ""
# 0 1 2 3 4 5 6 7
# 01234567890123456789012345678901234567890123456789012345678901234567890123456789
echo "+===========================================================================+"
echo "|| WARNING: You are about to build a QPDF AppImage on a system which is ||"
- echo "|| NOT Ubuntu 16.04 LTS ('Xenial'). ||"
+ echo "|| NOT Ubuntu 18.04 LTS. ||"
echo "|| ||"
echo "|| It is recommended that you use a distribution that is at least a ||"
echo "|| few years old to maximize the number of Linux distributions the ||"
echo "|| resulting AppImage will work on. AppImages often don't work on ||"
echo "|| distributions older than the one they were built on because of ||"
- echo "|| standard library differences. ||"
+ echo "|| standard library differences. The oldest supported Ubuntu LTS is ||"
+ echo "|| a good option. ||"
echo "+===========================================================================+"
echo ""
set -x