Skip to content

Commit

Permalink
Switching to VeraPDF 1.27.96 (#1318)
Browse files Browse the repository at this point in the history
  • Loading branch information
Lucas-C authored Dec 6, 2024
1 parent 1f2b9e4 commit 6322c62
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 20 deletions.
33 changes: 14 additions & 19 deletions scripts/install-verapdf.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,25 +6,20 @@

set -o pipefail -o errexit -o nounset -o xtrace

VERSION=1.27.96
PUB_KEY_FINGERPRINT=13DD102B4DD69354D12DE5A83184863278B17FE7
FILENAME=verapdf-greenfield-${VERSION}-installer.zip
ZIP_URL=https://software.verapdf.org/dev/${VERSION%.*}/${FILENAME}

rm -rf verapdf-*
wget --quiet https://software.verapdf.org/rel/1.22/verapdf-greenfield-1.22.3-installer.zip
wget --quiet ${ZIP_URL}
wget --quiet ${ZIP_URL}.asc
gpg --keyserver keyserver.ubuntu.com --recv ${PUB_KEY_FINGERPRINT}
gpg --verify ${FILENAME}.asc
unzip verapdf*installer.zip
(
# Press 1 to continue, 2 to quit, 3 to redisplay:
echo 1
# Select the installation path:
echo $PWD/verapdf
# Enter O for OK, C to Cancel:
echo O
# Press 1 to continue, 2 to quit, 3 to redisplay:
echo 1
# Include optional pack 'veraPDF Corpus and Validation model' - Enter Y for Yes, N for No:
echo N
# Include optional pack 'veraPDF Documentation' - Enter Y for Yes, N for No:
echo N
# Include optional pack 'veraPDF Sample Plugins' - Enter Y for Yes, N for No:
echo N
# Press 1 to continue, 2 to quit, 3 to redisplay:
echo 1
) | verapdf-*/verapdf-install
# Path to verapdf.properties must be relative to verapdf-*/ :
verapdf-*/verapdf-install -options ../scripts/verapdf.properties
# verapdf.properties targets an installation in /tmp, because an absolute path is required :
mv /tmp/verapdf .
verapdf/verapdf --version
rm -rf verapdf-*
1 change: 1 addition & 0 deletions scripts/verapdf.properties
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
INSTALL_PATH=/tmp/verapdf
2 changes: 1 addition & 1 deletion test/test_perfs.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
)


@ensure_exec_time_below(seconds=9)
@ensure_exec_time_below(seconds=10)
@ensure_rss_memory_below(mib=15)
def test_intense_image_rendering(tmp_path):
pdf = FPDF()
Expand Down

0 comments on commit 6322c62

Please sign in to comment.