All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] Cope with Ghostscript 10.00.0 and later
@ 2022-09-22 14:45 Akira Yokosawa
  2022-09-22 16:49 ` Paul E. McKenney
  0 siblings, 1 reply; 2+ messages in thread
From: Akira Yokosawa @ 2022-09-22 14:45 UTC (permalink / raw)
  To: Paul E. McKenney; +Cc: perfbook, Akira Yokosawa

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


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] Cope with Ghostscript 10.00.0 and later
  2022-09-22 14:45 [PATCH] Cope with Ghostscript 10.00.0 and later Akira Yokosawa
@ 2022-09-22 16:49 ` Paul E. McKenney
  0 siblings, 0 replies; 2+ messages in thread
From: Paul E. McKenney @ 2022-09-22 16:49 UTC (permalink / raw)
  To: Akira Yokosawa; +Cc: perfbook

On Thu, Sep 22, 2022 at 11:45:00PM +0900, Akira Yokosawa wrote:
> 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.

Queued and pushed, thank you!

							Thanx, Paul

>         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
> 

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2022-09-22 16:49 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-09-22 14:45 [PATCH] Cope with Ghostscript 10.00.0 and later Akira Yokosawa
2022-09-22 16:49 ` Paul E. McKenney

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.