From 73d379e4072c47028bbc09543c96900c1b25610e Mon Sep 17 00:00:00 2001 From: Stephen Gaito Date: Thu, 21 Nov 2019 20:34:17 +0000 Subject: [PATCH] begun work on assembling images --- buildScripts/assembleAppImage | 22 ++++++++++++++++++++++ buildScripts/buildPdf2htmlEX | 2 +- buildScripts/pdf2htmlEX.desktop | 11 +++++++++++ 3 files changed, 34 insertions(+), 1 deletion(-) create mode 100755 buildScripts/assembleAppImage create mode 100644 buildScripts/pdf2htmlEX.desktop diff --git a/buildScripts/assembleAppImage b/buildScripts/assembleAppImage new file mode 100755 index 0000000..e48c1fe --- /dev/null +++ b/buildScripts/assembleAppImage @@ -0,0 +1,22 @@ +#!/bin/bash + +# This bash script automates the creation of an AppImage for pdf2htmlEX +# It is based upon code taken from +# https://github.com/AppImage/pkg2appimage +# and +# https://github.com/AppImage/AppImages + +mkdir -p buildAppImage + +cd buildAppImage + +wget -q https://github.com/AppImage/AppImages/raw/master/functions.sh \ + -O ./functions.sh + +. ./functions.sh + +apt download -y apt libapt-pkg5.0 libbz2-1.0 liblzma5 \ + multiarch-support zlib1g dpkg + +mkdir -p pdf2htmlEX.AppImage + diff --git a/buildScripts/buildPdf2htmlEX b/buildScripts/buildPdf2htmlEX index 6dbef4e..ad47a2d 100755 --- a/buildScripts/buildPdf2htmlEX +++ b/buildScripts/buildPdf2htmlEX @@ -2,7 +2,7 @@ # This bash script builds pdf2htmlEX -cd pdf2html +cd pdf2htmlEX mkdir build cd build cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=/usr .. diff --git a/buildScripts/pdf2htmlEX.desktop b/buildScripts/pdf2htmlEX.desktop new file mode 100644 index 0000000..81f4508 --- /dev/null +++ b/buildScripts/pdf2htmlEX.desktop @@ -0,0 +1,11 @@ +[Desktop Entry] +Version=1.0 +Type=Application +Name=pdf2htmlEX +Comment=pdf2htmlEX +Exec=/usr/local/bin/pdf2htmlEX +Icon=/usr/local/share/pdf2htmlEX/pdf2htmlEX-64x64 +Categories=Office; +Terminal=false +StartupNotify=false +X-AppImage-Version=try1