aboutsummaryrefslogtreecommitdiffstats
path: root/appimage/build-appimage-with-docker.sh
diff options
context:
space:
mode:
authorIngo Klöcker <[email protected]>2021-09-15 10:01:57 +0000
committerIngo Klöcker <[email protected]>2021-09-15 10:03:23 +0000
commite43ff7868ff25c5f01e436931417a2ccd51e7837 (patch)
tree73f7e8f464b8ad707437d671dce2e2a968e8031a /appimage/build-appimage-with-docker.sh
parentappimage: Add experimental scripts for building an AppImage of gpg (diff)
downloadgnupg-ikloecker/t5598-appimage.tar.gz
gnupg-ikloecker/t5598-appimage.zip
appimage: Add a few hacks that are currently needed to build an AppImageikloecker/t5598-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
Diffstat (limited to '')
-rwxr-xr-xappimage/build-appimage-with-docker.sh11
1 files changed, 11 insertions, 0 deletions
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