From e43ff7868ff25c5f01e436931417a2ccd51e7837 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ingo=20Kl=C3=B6cker?= Date: Wed, 15 Sep 2021 12:01:57 +0200 Subject: appimage: Add a few hacks that are currently needed to build an AppImage * Apply a patch to latest pinentry to make it build with Qt 5.9 * Copy appimage.desktop and speedo.mk with appimage support which are not yet available in gnupg (outside of the work branch) GnuPG-bug-id: 5598 --- appimage/build-appimage-with-docker.sh | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'appimage/build-appimage-with-docker.sh') diff --git a/appimage/build-appimage-with-docker.sh b/appimage/build-appimage-with-docker.sh index 36c314593..37a511966 100755 --- a/appimage/build-appimage-with-docker.sh +++ b/appimage/build-appimage-with-docker.sh @@ -22,6 +22,9 @@ set -e +# Needed for below HACK +sourcedir=$(cd $(dirname $0)/..; pwd) + tag_or_branch=gnupg-2.2.30 buildroot=$(mktemp -d --tmpdir gnupg-appimage.XXXXXXXXXX) echo Using ${buildroot} @@ -37,6 +40,14 @@ cd gnupg # to verify the signature build-aux/getswdb.sh +# HACK copy appimage.desktop to make it available in the Docker container +mkdir -p ${buildroot}/gnupg/appimage +cp ${sourcedir}/appimage/appimage.desktop ${buildroot}/gnupg/appimage +# HACK replace with speedo.mk that supports appimage +cp ${sourcedir}/build-aux/speedo.mk ${buildroot}/gnupg/build-aux +# HACK copy patch to make it available in the Docker container +cp ${sourcedir}/appimage/0001-qt-Support-building-with-Qt-5.9.patch ${buildroot}/gnupg + cd ${buildroot} mkdir -p build -- cgit v1.2.3