forked from odoo/odoo
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
CPT-211 Update Ghostscript to version 10.04.0 (#36)
- Loading branch information
Showing
2 changed files
with
2 additions
and
56 deletions.
There are no files selected for viewing
52 changes: 0 additions & 52 deletions
52
docker/0001-pdfwrite-undo-commit-4dcfae36bb4dcbc4ef3b5e5afc98bcd.patch
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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 \ | ||
|