From: Akira Yokosawa <akiyks@gmail.com>
To: "Paul E. McKenney" <paulmck@kernel.org>
Cc: perfbook@vger.kernel.org, Akira Yokosawa <akiyks@gmail.com>
Subject: [PATCH] Cope with Ghostscript 10.00.0 and later
Date: Thu, 22 Sep 2022 23:45:00 +0900 [thread overview]
Message-ID: <9b1809dc-a03c-e239-494b-89207ecaa4aa@gmail.com> (raw)
Ghostscript 10.00.0 has graduated from its RC stages recently [1].
Expand regular expressions for detecting modern versions of
Ghostscript.
Link: [1]: https://github.com/ArtifexSoftware/ghostpdl-downloads/releases/tag/gs1000
Signed-off-by: Akira Yokosawa <akiyks@gmail.com>
---
Hi,
Despite the increment of major version to 10, there seems to be no
outstanding backward-incompatible changes like the early days of
9.5x releases.
One notable change mentioned in the release note is the switch of
the default PDF interpreter to the brand new implementation in the
C language (appeared in 9.56) from the one written in PostScript.
If we encounter any behavior change, we are supposed to file a
bug report :-)
Ubuntu's and Fedora's distro packages will wait the upgrade
until next spring, I guess, but who knows.
Thanks Akira
--
a2ping-rule.mk | 4 ++--
epstopdf-rule.mk | 2 +-
2 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/a2ping-rule.mk b/a2ping-rule.mk
index 5260ec92e7f2..6db633deed24 100644
--- a/a2ping-rule.mk
+++ b/a2ping-rule.mk
@@ -7,10 +7,10 @@
A2PING := $(shell which a2ping 2>/dev/null)
ifdef A2PING
- GS_950_OR_LATER := $(shell gs --version | grep -c -E "9\.[5-9].?")
+ GS_950_OR_LATER := $(shell gs --version | grep -c -E "^(9\.[5-9]|10\.[0-9]).?")
A2PING_277P := $(shell a2ping --help 2>&1 | grep -c "2.77p,")
A2PING_283P := $(shell a2ping --help 2>&1 | grep -c "2.83p,")
- GS_953_OR_LATER := $(shell gs --version | grep -c -E "9\.5[3-9].?")
+ GS_953_OR_LATER := $(shell gs --version | grep -c -E "^(9\.5[3-9]|10\.[0-9]).?")
ifeq ($(A2PING_277P),1)
A2PING_GSCNFL = 1
else
diff --git a/epstopdf-rule.mk b/epstopdf-rule.mk
index d248ce750d68..e33e476c2c74 100644
--- a/epstopdf-rule.mk
+++ b/epstopdf-rule.mk
@@ -5,7 +5,7 @@
# Authors: Akira Yokosawa <akiyks@gmail.com>
EPSTOPDF := $(shell which epstopdf 2>/dev/null)
-GS_953_OR_LATER := $(shell gs --version | grep -c -E "9\.5[3-9].?")
+GS_953_OR_LATER := $(shell gs --version | grep -c -E "^(9\.5[3-9]|10\.[0-9]).?")
GS_OPT=--gsopt=-dPDFSETTINGS=/ebook
$(PDFTARGETS_OF_GNUPLOT_NEEDFIXFONTS): $(FIXFONTS)
base-commit: 36e0babae953969d16bc5254b79412bc873cf8c0
--
2.25.1
next reply other threads:[~2022-09-22 14:45 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-09-22 14:45 Akira Yokosawa [this message]
2022-09-22 16:49 ` [PATCH] Cope with Ghostscript 10.00.0 and later Paul E. McKenney
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=9b1809dc-a03c-e239-494b-89207ecaa4aa@gmail.com \
--to=akiyks@gmail.com \
--cc=paulmck@kernel.org \
--cc=perfbook@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.