Skip to content

Commit

Permalink
CPT-211 Update Ghostscript to version 10.04.0 (#36)
Browse files Browse the repository at this point in the history
  • Loading branch information
borna-ng authored Oct 31, 2024
1 parent faabb9d commit bc30aad
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 56 deletions.

This file was deleted.

6 changes: 2 additions & 4 deletions docker/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -59,14 +59,12 @@ fi
RUN npm install -g [email protected]

# ghostscript
COPY docker/0001-pdfwrite-undo-commit-4dcfae36bb4dcbc4ef3b5e5afc98bcd.patch /tmp/0001-pdfwrite-undo-commit-4dcfae36bb4dcbc4ef3b5e5afc98bcd.patch
RUN GHOSTSCRIPT_VERSION=10031 \
&& GHOSTSCRIPT_FILE_NAME=ghostscript-10.03.1.tar.gz \
RUN GHOSTSCRIPT_VERSION=10040 \
&& GHOSTSCRIPT_FILE_NAME=ghostscript-10.04.0.tar.gz \
&& GHOSTSCRIPT_BASE_NAME=$(basename ${GHOSTSCRIPT_FILE_NAME} .tar.gz) \
&& curl -sL -o /tmp/${GHOSTSCRIPT_FILE_NAME} https://github.com/ArtifexSoftware/ghostpdl-downloads/releases/download/gs${GHOSTSCRIPT_VERSION}/${GHOSTSCRIPT_FILE_NAME} \
&& tar -xzf /tmp/${GHOSTSCRIPT_FILE_NAME} -C /tmp \
&& cd /tmp/${GHOSTSCRIPT_BASE_NAME}/ \
&& patch -p1 < /tmp/0001-pdfwrite-undo-commit-4dcfae36bb4dcbc4ef3b5e5afc98bcd.patch \
&& ./configure \
&& make -j$(nproc) \
&& make install \
Expand Down

0 comments on commit bc30aad

Please sign in to comment.