2012-02-24 16:09:50 +01:00
#
- update to 10.02.1:
* Patch release to address some security bugs
* This release (10.02.0) marks the final demise of the
PostScript based PDF interpreter.
* This 10.01.1 release removes the "-dNEWPDF=false" command
line option to fall back to the deprecated, old PDF
interpreter.
* This 10.01.0 release removes the "-dNEWPDF=false" command
line option to fall back to the deprecated, old PDF
interpreter.
* This release officially deprecates the old Postscript
implementation of PDF, we will not be updating or maintaining
that code moving forward. The option to use the old PDF
implementation _**will**_ be removed in the next full release
(10.01.0)
* Important: This release includes the new PDF interpreter
(implemented in C rather than PostScript). It is both
integrated into Ghostscript (now ENABLED by default), and
available as a standalone, PDF only, binary. See
https://ghostscript.com/pdfi.html for more details.
* This also bundles the latest zlib (1.2.12) which addresses a
security issue (CVE-2018-25032)
* **Important**: This release includes the new PDF interpreter
(implemented in C rather than PostScript). It is both
integrated into Ghostscript (now **ENABLED** by default), and
available as a standalone, PDF only, binary. See
https://ghostscript.com/pdfi.html for more details.
- drop CVE-2023-28879.patch, CVE-2023-36664.patch,
CVE-2023-38559.patch, CVE-2023-43115.patch,
CVE-2023-46751.patch: upstream
OBS-URL: https://build.opensuse.org/package/show/Printing/ghostscript?expand=0&rev=171
2024-01-28 11:53:01 +01:00
# spec file for package ghostscript
2012-02-24 16:09:50 +01:00
#
2024-01-03 13:28:22 +01:00
# Copyright (c) 2024 SUSE LLC
2012-02-24 16:09:50 +01:00
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
2019-08-20 12:24:25 +02:00
# Please submit bugfixes or comments via https://bugs.opensuse.org/
2012-02-24 16:09:50 +01:00
#
2014-03-27 14:53:38 +01:00
Accepting request 989807 from home:dirkmueller:Factory
- update to 9.56.1:
* New PDF Interpreter: This is an entirely new implementation written in C
(rather than PostScript, as before)
* Calling Ghostscript via the GS API is now thread safe. The one limitation
is that the X11 devices for Unix-like systems (x11, x11alpha, x11cmyk,
x11cmyk2, x11cmyk4, x11cmyk8, x11gray2, x11gray4 and x11mono) cannot be
made thread safe, due to their interaction with the X11 server, those
devices have been modified to only allow one instance in an executable.
* The PSD output device now writes ICC profiles to their output files, for
improved color fidelity.
* Our efforts in code hygiene and maintainability continue.
* The usual round of bug fixes, compatibility changes, and incremental
improvements.
* We have added the capability to build with the Tesseract OCR
engine. In such a build, new devices are available (pdfocr8/pdfocr24/
pdfocr32) which render the output file to an image, OCR that image, and
output the image "wrapped" up as a PDF file, with the OCR generated text
information included as "invisible" text (in PDF terms, text rendering mode
3).
- drop CVE-2021-3781.patch, CVE-2021-45949.patch: upstream
- use _multibuild
OBS-URL: https://build.opensuse.org/request/show/989807
OBS-URL: https://build.opensuse.org/package/show/Printing/ghostscript?expand=0&rev=155
2022-07-18 16:12:49 +02:00
%global flavor @BUILD_FLAVOR@%{nil}
%if "%{flavor}" == "mini"
%global psuffix -mini
2015-03-20 10:54:15 +01:00
%else
Accepting request 989807 from home:dirkmueller:Factory
- update to 9.56.1:
* New PDF Interpreter: This is an entirely new implementation written in C
(rather than PostScript, as before)
* Calling Ghostscript via the GS API is now thread safe. The one limitation
is that the X11 devices for Unix-like systems (x11, x11alpha, x11cmyk,
x11cmyk2, x11cmyk4, x11cmyk8, x11gray2, x11gray4 and x11mono) cannot be
made thread safe, due to their interaction with the X11 server, those
devices have been modified to only allow one instance in an executable.
* The PSD output device now writes ICC profiles to their output files, for
improved color fidelity.
* Our efforts in code hygiene and maintainability continue.
* The usual round of bug fixes, compatibility changes, and incremental
improvements.
* We have added the capability to build with the Tesseract OCR
engine. In such a build, new devices are available (pdfocr8/pdfocr24/
pdfocr32) which render the output file to an image, OCR that image, and
output the image "wrapped" up as a PDF file, with the OCR generated text
information included as "invisible" text (in PDF terms, text rendering mode
3).
- drop CVE-2021-3781.patch, CVE-2021-45949.patch: upstream
- use _multibuild
OBS-URL: https://build.opensuse.org/request/show/989807
OBS-URL: https://build.opensuse.org/package/show/Printing/ghostscript?expand=0&rev=155
2022-07-18 16:12:49 +02:00
%global psuffix %{nil}
2015-03-20 10:54:15 +01:00
%endif
Accepting request 989807 from home:dirkmueller:Factory
- update to 9.56.1:
* New PDF Interpreter: This is an entirely new implementation written in C
(rather than PostScript, as before)
* Calling Ghostscript via the GS API is now thread safe. The one limitation
is that the X11 devices for Unix-like systems (x11, x11alpha, x11cmyk,
x11cmyk2, x11cmyk4, x11cmyk8, x11gray2, x11gray4 and x11mono) cannot be
made thread safe, due to their interaction with the X11 server, those
devices have been modified to only allow one instance in an executable.
* The PSD output device now writes ICC profiles to their output files, for
improved color fidelity.
* Our efforts in code hygiene and maintainability continue.
* The usual round of bug fixes, compatibility changes, and incremental
improvements.
* We have added the capability to build with the Tesseract OCR
engine. In such a build, new devices are available (pdfocr8/pdfocr24/
pdfocr32) which render the output file to an image, OCR that image, and
output the image "wrapped" up as a PDF file, with the OCR generated text
information included as "invisible" text (in PDF terms, text rendering mode
3).
- drop CVE-2021-3781.patch, CVE-2021-45949.patch: upstream
- use _multibuild
OBS-URL: https://build.opensuse.org/request/show/989807
OBS-URL: https://build.opensuse.org/package/show/Printing/ghostscript?expand=0&rev=155
2022-07-18 16:12:49 +02:00
Name : ghostscript%{psuffix}
- update to 10.02.1:
* Patch release to address some security bugs
* This release (10.02.0) marks the final demise of the
PostScript based PDF interpreter.
* This 10.01.1 release removes the "-dNEWPDF=false" command
line option to fall back to the deprecated, old PDF
interpreter.
* This 10.01.0 release removes the "-dNEWPDF=false" command
line option to fall back to the deprecated, old PDF
interpreter.
* This release officially deprecates the old Postscript
implementation of PDF, we will not be updating or maintaining
that code moving forward. The option to use the old PDF
implementation _**will**_ be removed in the next full release
(10.01.0)
* Important: This release includes the new PDF interpreter
(implemented in C rather than PostScript). It is both
integrated into Ghostscript (now ENABLED by default), and
available as a standalone, PDF only, binary. See
https://ghostscript.com/pdfi.html for more details.
* This also bundles the latest zlib (1.2.12) which addresses a
security issue (CVE-2018-25032)
* **Important**: This release includes the new PDF interpreter
(implemented in C rather than PostScript). It is both
integrated into Ghostscript (now **ENABLED** by default), and
available as a standalone, PDF only, binary. See
https://ghostscript.com/pdfi.html for more details.
- drop CVE-2023-28879.patch, CVE-2023-36664.patch,
CVE-2023-38559.patch, CVE-2023-43115.patch,
CVE-2023-46751.patch: upstream
OBS-URL: https://build.opensuse.org/package/show/Printing/ghostscript?expand=0&rev=171
2024-01-28 11:53:01 +01:00
Version : 10.02.1
Accepting request 989807 from home:dirkmueller:Factory
- update to 9.56.1:
* New PDF Interpreter: This is an entirely new implementation written in C
(rather than PostScript, as before)
* Calling Ghostscript via the GS API is now thread safe. The one limitation
is that the X11 devices for Unix-like systems (x11, x11alpha, x11cmyk,
x11cmyk2, x11cmyk4, x11cmyk8, x11gray2, x11gray4 and x11mono) cannot be
made thread safe, due to their interaction with the X11 server, those
devices have been modified to only allow one instance in an executable.
* The PSD output device now writes ICC profiles to their output files, for
improved color fidelity.
* Our efforts in code hygiene and maintainability continue.
* The usual round of bug fixes, compatibility changes, and incremental
improvements.
* We have added the capability to build with the Tesseract OCR
engine. In such a build, new devices are available (pdfocr8/pdfocr24/
pdfocr32) which render the output file to an image, OCR that image, and
output the image "wrapped" up as a PDF file, with the OCR generated text
information included as "invisible" text (in PDF terms, text rendering mode
3).
- drop CVE-2021-3781.patch, CVE-2021-45949.patch: upstream
- use _multibuild
OBS-URL: https://build.opensuse.org/request/show/989807
OBS-URL: https://build.opensuse.org/package/show/Printing/ghostscript?expand=0&rev=155
2022-07-18 16:12:49 +02:00
Release : 0
Summary : The Ghostscript interpreter for PostScript and PDF
License : AGPL-3.0-only
Group : Productivity/Office/Other
URL : https://www.ghostscript.com/
- update to 10.02.1:
* Patch release to address some security bugs
* This release (10.02.0) marks the final demise of the
PostScript based PDF interpreter.
* This 10.01.1 release removes the "-dNEWPDF=false" command
line option to fall back to the deprecated, old PDF
interpreter.
* This 10.01.0 release removes the "-dNEWPDF=false" command
line option to fall back to the deprecated, old PDF
interpreter.
* This release officially deprecates the old Postscript
implementation of PDF, we will not be updating or maintaining
that code moving forward. The option to use the old PDF
implementation _**will**_ be removed in the next full release
(10.01.0)
* Important: This release includes the new PDF interpreter
(implemented in C rather than PostScript). It is both
integrated into Ghostscript (now ENABLED by default), and
available as a standalone, PDF only, binary. See
https://ghostscript.com/pdfi.html for more details.
* This also bundles the latest zlib (1.2.12) which addresses a
security issue (CVE-2018-25032)
* **Important**: This release includes the new PDF interpreter
(implemented in C rather than PostScript). It is both
integrated into Ghostscript (now **ENABLED** by default), and
available as a standalone, PDF only, binary. See
https://ghostscript.com/pdfi.html for more details.
- drop CVE-2023-28879.patch, CVE-2023-36664.patch,
CVE-2023-38559.patch, CVE-2023-43115.patch,
CVE-2023-46751.patch: upstream
OBS-URL: https://build.opensuse.org/package/show/Printing/ghostscript?expand=0&rev=171
2024-01-28 11:53:01 +01:00
Source0 : https://github.com/ArtifexSoftware/ghostpdl-downloads/releases/download/gs10021/ghostscript-%{version} .tar.xz
Accepting request 989807 from home:dirkmueller:Factory
- update to 9.56.1:
* New PDF Interpreter: This is an entirely new implementation written in C
(rather than PostScript, as before)
* Calling Ghostscript via the GS API is now thread safe. The one limitation
is that the X11 devices for Unix-like systems (x11, x11alpha, x11cmyk,
x11cmyk2, x11cmyk4, x11cmyk8, x11gray2, x11gray4 and x11mono) cannot be
made thread safe, due to their interaction with the X11 server, those
devices have been modified to only allow one instance in an executable.
* The PSD output device now writes ICC profiles to their output files, for
improved color fidelity.
* Our efforts in code hygiene and maintainability continue.
* The usual round of bug fixes, compatibility changes, and incremental
improvements.
* We have added the capability to build with the Tesseract OCR
engine. In such a build, new devices are available (pdfocr8/pdfocr24/
pdfocr32) which render the output file to an image, OCR that image, and
output the image "wrapped" up as a PDF file, with the OCR generated text
information included as "invisible" text (in PDF terms, text rendering mode
3).
- drop CVE-2021-3781.patch, CVE-2021-45949.patch: upstream
- use _multibuild
OBS-URL: https://build.opensuse.org/request/show/989807
OBS-URL: https://build.opensuse.org/package/show/Printing/ghostscript?expand=0&rev=155
2022-07-18 16:12:49 +02:00
Source10 : apparmor_ghostscript
2012-02-24 16:09:50 +01:00
# Patch0...Patch9 is for patches from upstream:
# Source10...Source99 is for sources from SUSE which are intended for upstream:
# Patch10...Patch99 is for patches from SUSE which are intended for upstream:
# Source100...Source999 is for sources from SUSE which are not intended for upstream:
# Patch100...Patch999 is for patches from SUSE which are not intended for upstream:
2020-04-29 12:44:01 +02:00
# Patch101 ijs_exec_server_dont_use_sh.patch fixes IJS printing problem
# additionally allow exec'ing hpijs in apparmor profile was needed (bsc#1128467):
2019-03-08 13:28:32 +01:00
Patch101 : ijs_exec_server_dont_use_sh.patch
2023-09-20 09:12:33 +02:00
# Build Requirements:
Accepting request 989807 from home:dirkmueller:Factory
- update to 9.56.1:
* New PDF Interpreter: This is an entirely new implementation written in C
(rather than PostScript, as before)
* Calling Ghostscript via the GS API is now thread safe. The one limitation
is that the X11 devices for Unix-like systems (x11, x11alpha, x11cmyk,
x11cmyk2, x11cmyk4, x11cmyk8, x11gray2, x11gray4 and x11mono) cannot be
made thread safe, due to their interaction with the X11 server, those
devices have been modified to only allow one instance in an executable.
* The PSD output device now writes ICC profiles to their output files, for
improved color fidelity.
* Our efforts in code hygiene and maintainability continue.
* The usual round of bug fixes, compatibility changes, and incremental
improvements.
* We have added the capability to build with the Tesseract OCR
engine. In such a build, new devices are available (pdfocr8/pdfocr24/
pdfocr32) which render the output file to an image, OCR that image, and
output the image "wrapped" up as a PDF file, with the OCR generated text
information included as "invisible" text (in PDF terms, text rendering mode
3).
- drop CVE-2021-3781.patch, CVE-2021-45949.patch: upstream
- use _multibuild
OBS-URL: https://build.opensuse.org/request/show/989807
OBS-URL: https://build.opensuse.org/package/show/Printing/ghostscript?expand=0&rev=155
2022-07-18 16:12:49 +02:00
BuildRequires : freetype2-devel
BuildRequires : libjpeg-devel
BuildRequires : liblcms2-devel
BuildRequires : libpng-devel
BuildRequires : libtiff-devel
BuildRequires : libtool
BuildRequires : pkgconfig
BuildRequires : update-alternatives
BuildRequires : zlib-devel
Requires(post) : update-alternatives
- update to 10.02.1:
* Patch release to address some security bugs
* This release (10.02.0) marks the final demise of the
PostScript based PDF interpreter.
* This 10.01.1 release removes the "-dNEWPDF=false" command
line option to fall back to the deprecated, old PDF
interpreter.
* This 10.01.0 release removes the "-dNEWPDF=false" command
line option to fall back to the deprecated, old PDF
interpreter.
* This release officially deprecates the old Postscript
implementation of PDF, we will not be updating or maintaining
that code moving forward. The option to use the old PDF
implementation _**will**_ be removed in the next full release
(10.01.0)
* Important: This release includes the new PDF interpreter
(implemented in C rather than PostScript). It is both
integrated into Ghostscript (now ENABLED by default), and
available as a standalone, PDF only, binary. See
https://ghostscript.com/pdfi.html for more details.
* This also bundles the latest zlib (1.2.12) which addresses a
security issue (CVE-2018-25032)
* **Important**: This release includes the new PDF interpreter
(implemented in C rather than PostScript). It is both
integrated into Ghostscript (now **ENABLED** by default), and
available as a standalone, PDF only, binary. See
https://ghostscript.com/pdfi.html for more details.
- drop CVE-2023-28879.patch, CVE-2023-36664.patch,
CVE-2023-38559.patch, CVE-2023-43115.patch,
CVE-2023-46751.patch: upstream
OBS-URL: https://build.opensuse.org/package/show/Printing/ghostscript?expand=0&rev=171
2024-01-28 11:53:01 +01:00
Requires(preun) : update-alternatives
2012-02-24 16:09:50 +01:00
# Provide the additional RPM Provides of the ghostscript-library package
2021-03-08 11:36:51 +01:00
# (ghostscript_x11 is provided by the ghostscript-x11 sub-package, see below).
# The "Provides: ghostscript_any" is there to support "BuildRequires: ghostscript_any"
# so other packages can build with any available Ghostscript implementation,
# either ghostscript or ghostscript-mini ("BuildRequires: ghostscript-mini" should not
# be used because ghostscript-mini does not exist outside of OBS so other packages that
# use "BuildRequires: ghostscript-mini" could not be built in published products).
# The "Provides: ghostscript_any" does not affect end-users who should not get
# ghostscript-mini installed (but only the full featured ghostscript package)
# because ghostscript-mini (and ghostscript-mini-devel) are not published
# in openSUSE products, cf. https://build.opensuse.org/request/show/877083
Accepting request 989807 from home:dirkmueller:Factory
- update to 9.56.1:
* New PDF Interpreter: This is an entirely new implementation written in C
(rather than PostScript, as before)
* Calling Ghostscript via the GS API is now thread safe. The one limitation
is that the X11 devices for Unix-like systems (x11, x11alpha, x11cmyk,
x11cmyk2, x11cmyk4, x11cmyk8, x11gray2, x11gray4 and x11mono) cannot be
made thread safe, due to their interaction with the X11 server, those
devices have been modified to only allow one instance in an executable.
* The PSD output device now writes ICC profiles to their output files, for
improved color fidelity.
* Our efforts in code hygiene and maintainability continue.
* The usual round of bug fixes, compatibility changes, and incremental
improvements.
* We have added the capability to build with the Tesseract OCR
engine. In such a build, new devices are available (pdfocr8/pdfocr24/
pdfocr32) which render the output file to an image, OCR that image, and
output the image "wrapped" up as a PDF file, with the OCR generated text
information included as "invisible" text (in PDF terms, text rendering mode
3).
- drop CVE-2021-3781.patch, CVE-2021-45949.patch: upstream
- use _multibuild
OBS-URL: https://build.opensuse.org/request/show/989807
OBS-URL: https://build.opensuse.org/package/show/Printing/ghostscript?expand=0&rev=155
2022-07-18 16:12:49 +02:00
Provides : ghostscript_any = %{version}
%if "%{flavor}" != "mini"
BuildRequires : dbus-1-devel
BuildRequires : libexpat-devel
BuildRequires : xorg-x11-fonts
2023-04-27 10:22:33 +02:00
BuildRequires : pkgconfig(ice)
BuildRequires : pkgconfig(sm)
BuildRequires : pkgconfig(x11)
BuildRequires : pkgconfig(xext)
BuildRequires : pkgconfig(xproto)
BuildRequires : pkgconfig(xt)
Accepting request 989807 from home:dirkmueller:Factory
- update to 9.56.1:
* New PDF Interpreter: This is an entirely new implementation written in C
(rather than PostScript, as before)
* Calling Ghostscript via the GS API is now thread safe. The one limitation
is that the X11 devices for Unix-like systems (x11, x11alpha, x11cmyk,
x11cmyk2, x11cmyk4, x11cmyk8, x11gray2, x11gray4 and x11mono) cannot be
made thread safe, due to their interaction with the X11 server, those
devices have been modified to only allow one instance in an executable.
* The PSD output device now writes ICC profiles to their output files, for
improved color fidelity.
* Our efforts in code hygiene and maintainability continue.
* The usual round of bug fixes, compatibility changes, and incremental
improvements.
* We have added the capability to build with the Tesseract OCR
engine. In such a build, new devices are available (pdfocr8/pdfocr24/
pdfocr32) which render the output file to an image, OCR that image, and
output the image "wrapped" up as a PDF file, with the OCR generated text
information included as "invisible" text (in PDF terms, text rendering mode
3).
- drop CVE-2021-3781.patch, CVE-2021-45949.patch: upstream
- use _multibuild
OBS-URL: https://build.opensuse.org/request/show/989807
OBS-URL: https://build.opensuse.org/package/show/Printing/ghostscript?expand=0&rev=155
2022-07-18 16:12:49 +02:00
%if 0%{?suse_version} == 1315
BuildRequires : cups154-devel
%else
BuildRequires : cups-devel
%endif
%if 0%{?suse_version} >= 1500
BuildRequires : apparmor-abstractions
BuildRequires : apparmor-rpm-macros
%endif
%endif
# Always check if latest version of openjpeg becomes compatible with ghostscript
%if 0%{?suse_version} >= 1550
BuildRequires : pkgconfig(libopenjp2) >= 2.3.1
%endif
%if "%{flavor}" == "mini"
Conflicts : ghostscript
Conflicts : ghostscript-devel
Conflicts : ghostscript-library
Conflicts : ghostscript-x11
%else
Recommends: ghostscript-x11 = %{version} -%{release}
Conflicts : ghostscript-x11 < %{version} -%{release}
- update to 10.02.1:
* Patch release to address some security bugs
* This release (10.02.0) marks the final demise of the
PostScript based PDF interpreter.
* This 10.01.1 release removes the "-dNEWPDF=false" command
line option to fall back to the deprecated, old PDF
interpreter.
* This 10.01.0 release removes the "-dNEWPDF=false" command
line option to fall back to the deprecated, old PDF
interpreter.
* This release officially deprecates the old Postscript
implementation of PDF, we will not be updating or maintaining
that code moving forward. The option to use the old PDF
implementation _**will**_ be removed in the next full release
(10.01.0)
* Important: This release includes the new PDF interpreter
(implemented in C rather than PostScript). It is both
integrated into Ghostscript (now ENABLED by default), and
available as a standalone, PDF only, binary. See
https://ghostscript.com/pdfi.html for more details.
* This also bundles the latest zlib (1.2.12) which addresses a
security issue (CVE-2018-25032)
* **Important**: This release includes the new PDF interpreter
(implemented in C rather than PostScript). It is both
integrated into Ghostscript (now **ENABLED** by default), and
available as a standalone, PDF only, binary. See
https://ghostscript.com/pdfi.html for more details.
- drop CVE-2023-28879.patch, CVE-2023-36664.patch,
CVE-2023-38559.patch, CVE-2023-43115.patch,
CVE-2023-46751.patch: upstream
OBS-URL: https://build.opensuse.org/package/show/Printing/ghostscript?expand=0&rev=171
2024-01-28 11:53:01 +01:00
Provides : %{version}
Provides : ghostscript-library = %{version}
Accepting request 989807 from home:dirkmueller:Factory
- update to 9.56.1:
* New PDF Interpreter: This is an entirely new implementation written in C
(rather than PostScript, as before)
* Calling Ghostscript via the GS API is now thread safe. The one limitation
is that the X11 devices for Unix-like systems (x11, x11alpha, x11cmyk,
x11cmyk2, x11cmyk4, x11cmyk8, x11gray2, x11gray4 and x11mono) cannot be
made thread safe, due to their interaction with the X11 server, those
devices have been modified to only allow one instance in an executable.
* The PSD output device now writes ICC profiles to their output files, for
improved color fidelity.
* Our efforts in code hygiene and maintainability continue.
* The usual round of bug fixes, compatibility changes, and incremental
improvements.
* We have added the capability to build with the Tesseract OCR
engine. In such a build, new devices are available (pdfocr8/pdfocr24/
pdfocr32) which render the output file to an image, OCR that image, and
output the image "wrapped" up as a PDF file, with the OCR generated text
information included as "invisible" text (in PDF terms, text rendering mode
3).
- drop CVE-2021-3781.patch, CVE-2021-45949.patch: upstream
- use _multibuild
OBS-URL: https://build.opensuse.org/request/show/989807
OBS-URL: https://build.opensuse.org/package/show/Printing/ghostscript?expand=0&rev=155
2022-07-18 16:12:49 +02:00
Provides : gs = %{version}
Provides : gs_lib = %{version}
2012-02-24 16:09:50 +01:00
Provides : pstoraster
Obsoletes : ghostscript-library < %{version}
Accepting request 989807 from home:dirkmueller:Factory
- update to 9.56.1:
* New PDF Interpreter: This is an entirely new implementation written in C
(rather than PostScript, as before)
* Calling Ghostscript via the GS API is now thread safe. The one limitation
is that the X11 devices for Unix-like systems (x11, x11alpha, x11cmyk,
x11cmyk2, x11cmyk4, x11cmyk8, x11gray2, x11gray4 and x11mono) cannot be
made thread safe, due to their interaction with the X11 server, those
devices have been modified to only allow one instance in an executable.
* The PSD output device now writes ICC profiles to their output files, for
improved color fidelity.
* Our efforts in code hygiene and maintainability continue.
* The usual round of bug fixes, compatibility changes, and incremental
improvements.
* We have added the capability to build with the Tesseract OCR
engine. In such a build, new devices are available (pdfocr8/pdfocr24/
pdfocr32) which render the output file to an image, OCR that image, and
output the image "wrapped" up as a PDF file, with the OCR generated text
information included as "invisible" text (in PDF terms, text rendering mode
3).
- drop CVE-2021-3781.patch, CVE-2021-45949.patch: upstream
- use _multibuild
OBS-URL: https://build.opensuse.org/request/show/989807
OBS-URL: https://build.opensuse.org/package/show/Printing/ghostscript?expand=0&rev=155
2022-07-18 16:12:49 +02:00
# The "Obsoletes: ghostscript-mini" is intentionally unversioned because
# this package ghostscript should replace any version of ghostscript-mini.
2012-02-24 16:09:50 +01:00
Obsoletes : ghostscript-mini
2013-12-19 14:49:21 +01:00
%if 0%{?suse_version} > 1210
2023-12-18 21:42:43 +01:00
Recommends: (cups-filters-ghostscript if cups)
2013-12-19 14:49:21 +01:00
%endif
Accepting request 989807 from home:dirkmueller:Factory
- update to 9.56.1:
* New PDF Interpreter: This is an entirely new implementation written in C
(rather than PostScript, as before)
* Calling Ghostscript via the GS API is now thread safe. The one limitation
is that the X11 devices for Unix-like systems (x11, x11alpha, x11cmyk,
x11cmyk2, x11cmyk4, x11cmyk8, x11gray2, x11gray4 and x11mono) cannot be
made thread safe, due to their interaction with the X11 server, those
devices have been modified to only allow one instance in an executable.
* The PSD output device now writes ICC profiles to their output files, for
improved color fidelity.
* Our efforts in code hygiene and maintainability continue.
* The usual round of bug fixes, compatibility changes, and incremental
improvements.
* We have added the capability to build with the Tesseract OCR
engine. In such a build, new devices are available (pdfocr8/pdfocr24/
pdfocr32) which render the output file to an image, OCR that image, and
output the image "wrapped" up as a PDF file, with the OCR generated text
information included as "invisible" text (in PDF terms, text rendering mode
3).
- drop CVE-2021-3781.patch, CVE-2021-45949.patch: upstream
- use _multibuild
OBS-URL: https://build.opensuse.org/request/show/989807
OBS-URL: https://build.opensuse.org/package/show/Printing/ghostscript?expand=0&rev=155
2022-07-18 16:12:49 +02:00
%endif
2012-02-24 16:09:50 +01:00
%description
Ghostscript is a package of software that provides:
- update to 10.02.1:
* Patch release to address some security bugs
* This release (10.02.0) marks the final demise of the
PostScript based PDF interpreter.
* This 10.01.1 release removes the "-dNEWPDF=false" command
line option to fall back to the deprecated, old PDF
interpreter.
* This 10.01.0 release removes the "-dNEWPDF=false" command
line option to fall back to the deprecated, old PDF
interpreter.
* This release officially deprecates the old Postscript
implementation of PDF, we will not be updating or maintaining
that code moving forward. The option to use the old PDF
implementation _**will**_ be removed in the next full release
(10.01.0)
* Important: This release includes the new PDF interpreter
(implemented in C rather than PostScript). It is both
integrated into Ghostscript (now ENABLED by default), and
available as a standalone, PDF only, binary. See
https://ghostscript.com/pdfi.html for more details.
* This also bundles the latest zlib (1.2.12) which addresses a
security issue (CVE-2018-25032)
* **Important**: This release includes the new PDF interpreter
(implemented in C rather than PostScript). It is both
integrated into Ghostscript (now **ENABLED** by default), and
available as a standalone, PDF only, binary. See
https://ghostscript.com/pdfi.html for more details.
- drop CVE-2023-28879.patch, CVE-2023-36664.patch,
CVE-2023-38559.patch, CVE-2023-43115.patch,
CVE-2023-46751.patch: upstream
OBS-URL: https://build.opensuse.org/package/show/Printing/ghostscript?expand=0&rev=171
2024-01-28 11:53:01 +01:00
An interpreter for the PostScript language, with the ability to convert
PostScript language files to many raster formats, view them on displays, and
print them on printers that don't have PostScript language capability built in.
2012-02-24 16:09:50 +01:00
- update to 10.02.1:
* Patch release to address some security bugs
* This release (10.02.0) marks the final demise of the
PostScript based PDF interpreter.
* This 10.01.1 release removes the "-dNEWPDF=false" command
line option to fall back to the deprecated, old PDF
interpreter.
* This 10.01.0 release removes the "-dNEWPDF=false" command
line option to fall back to the deprecated, old PDF
interpreter.
* This release officially deprecates the old Postscript
implementation of PDF, we will not be updating or maintaining
that code moving forward. The option to use the old PDF
implementation _**will**_ be removed in the next full release
(10.01.0)
* Important: This release includes the new PDF interpreter
(implemented in C rather than PostScript). It is both
integrated into Ghostscript (now ENABLED by default), and
available as a standalone, PDF only, binary. See
https://ghostscript.com/pdfi.html for more details.
* This also bundles the latest zlib (1.2.12) which addresses a
security issue (CVE-2018-25032)
* **Important**: This release includes the new PDF interpreter
(implemented in C rather than PostScript). It is both
integrated into Ghostscript (now **ENABLED** by default), and
available as a standalone, PDF only, binary. See
https://ghostscript.com/pdfi.html for more details.
- drop CVE-2023-28879.patch, CVE-2023-36664.patch,
CVE-2023-38559.patch, CVE-2023-43115.patch,
CVE-2023-46751.patch: upstream
OBS-URL: https://build.opensuse.org/package/show/Printing/ghostscript?expand=0&rev=171
2024-01-28 11:53:01 +01:00
An interpreter for Portable Document Format (PDF) files, with the same
abilities.
2012-02-24 16:09:50 +01:00
- update to 10.02.1:
* Patch release to address some security bugs
* This release (10.02.0) marks the final demise of the
PostScript based PDF interpreter.
* This 10.01.1 release removes the "-dNEWPDF=false" command
line option to fall back to the deprecated, old PDF
interpreter.
* This 10.01.0 release removes the "-dNEWPDF=false" command
line option to fall back to the deprecated, old PDF
interpreter.
* This release officially deprecates the old Postscript
implementation of PDF, we will not be updating or maintaining
that code moving forward. The option to use the old PDF
implementation _**will**_ be removed in the next full release
(10.01.0)
* Important: This release includes the new PDF interpreter
(implemented in C rather than PostScript). It is both
integrated into Ghostscript (now ENABLED by default), and
available as a standalone, PDF only, binary. See
https://ghostscript.com/pdfi.html for more details.
* This also bundles the latest zlib (1.2.12) which addresses a
security issue (CVE-2018-25032)
* **Important**: This release includes the new PDF interpreter
(implemented in C rather than PostScript). It is both
integrated into Ghostscript (now **ENABLED** by default), and
available as a standalone, PDF only, binary. See
https://ghostscript.com/pdfi.html for more details.
- drop CVE-2023-28879.patch, CVE-2023-36664.patch,
CVE-2023-38559.patch, CVE-2023-43115.patch,
CVE-2023-46751.patch: upstream
OBS-URL: https://build.opensuse.org/package/show/Printing/ghostscript?expand=0&rev=171
2024-01-28 11:53:01 +01:00
The ability to convert PostScript language files to PDF (with some limitations)
and vice versa.
2012-02-24 16:09:50 +01:00
- update to 10.02.1:
* Patch release to address some security bugs
* This release (10.02.0) marks the final demise of the
PostScript based PDF interpreter.
* This 10.01.1 release removes the "-dNEWPDF=false" command
line option to fall back to the deprecated, old PDF
interpreter.
* This 10.01.0 release removes the "-dNEWPDF=false" command
line option to fall back to the deprecated, old PDF
interpreter.
* This release officially deprecates the old Postscript
implementation of PDF, we will not be updating or maintaining
that code moving forward. The option to use the old PDF
implementation _**will**_ be removed in the next full release
(10.01.0)
* Important: This release includes the new PDF interpreter
(implemented in C rather than PostScript). It is both
integrated into Ghostscript (now ENABLED by default), and
available as a standalone, PDF only, binary. See
https://ghostscript.com/pdfi.html for more details.
* This also bundles the latest zlib (1.2.12) which addresses a
security issue (CVE-2018-25032)
* **Important**: This release includes the new PDF interpreter
(implemented in C rather than PostScript). It is both
integrated into Ghostscript (now **ENABLED** by default), and
available as a standalone, PDF only, binary. See
https://ghostscript.com/pdfi.html for more details.
- drop CVE-2023-28879.patch, CVE-2023-36664.patch,
CVE-2023-38559.patch, CVE-2023-43115.patch,
CVE-2023-46751.patch: upstream
OBS-URL: https://build.opensuse.org/package/show/Printing/ghostscript?expand=0&rev=171
2024-01-28 11:53:01 +01:00
A set of C procedures (the Ghostscript library) that implement the graphics and
filtering (data compression / decompression / conversion) capabilities that
appear as primitive operations in the PostScript language and in PDF.
2012-02-24 16:09:50 +01:00
For information how to use Ghostscript see
Accepting request 989807 from home:dirkmueller:Factory
- update to 9.56.1:
* New PDF Interpreter: This is an entirely new implementation written in C
(rather than PostScript, as before)
* Calling Ghostscript via the GS API is now thread safe. The one limitation
is that the X11 devices for Unix-like systems (x11, x11alpha, x11cmyk,
x11cmyk2, x11cmyk4, x11cmyk8, x11gray2, x11gray4 and x11mono) cannot be
made thread safe, due to their interaction with the X11 server, those
devices have been modified to only allow one instance in an executable.
* The PSD output device now writes ICC profiles to their output files, for
improved color fidelity.
* Our efforts in code hygiene and maintainability continue.
* The usual round of bug fixes, compatibility changes, and incremental
improvements.
* We have added the capability to build with the Tesseract OCR
engine. In such a build, new devices are available (pdfocr8/pdfocr24/
pdfocr32) which render the output file to an image, OCR that image, and
output the image "wrapped" up as a PDF file, with the OCR generated text
information included as "invisible" text (in PDF terms, text rendering mode
3).
- drop CVE-2021-3781.patch, CVE-2021-45949.patch: upstream
- use _multibuild
OBS-URL: https://build.opensuse.org/request/show/989807
OBS-URL: https://build.opensuse.org/package/show/Printing/ghostscript?expand=0&rev=155
2022-07-18 16:12:49 +02:00
%{_datadir} /ghostscript/%{version} /doc/Use.htm
2012-02-24 16:09:50 +01:00
%package x11
Summary : X11 library for Ghostscript
2019-05-09 10:39:39 +02:00
Group : Productivity/Publishing/PS
2012-02-24 16:09:50 +01:00
Requires : ghostscript = %{version} -%{release}
2012-04-25 16:47:49 +02:00
Conflicts : ghostscript-library < %{version}
Conflicts : ghostscript-library > %{version}
2012-02-24 16:09:50 +01:00
Conflicts : ghostscript-mini
Accepting request 989807 from home:dirkmueller:Factory
- update to 9.56.1:
* New PDF Interpreter: This is an entirely new implementation written in C
(rather than PostScript, as before)
* Calling Ghostscript via the GS API is now thread safe. The one limitation
is that the X11 devices for Unix-like systems (x11, x11alpha, x11cmyk,
x11cmyk2, x11cmyk4, x11cmyk8, x11gray2, x11gray4 and x11mono) cannot be
made thread safe, due to their interaction with the X11 server, those
devices have been modified to only allow one instance in an executable.
* The PSD output device now writes ICC profiles to their output files, for
improved color fidelity.
* Our efforts in code hygiene and maintainability continue.
* The usual round of bug fixes, compatibility changes, and incremental
improvements.
* We have added the capability to build with the Tesseract OCR
engine. In such a build, new devices are available (pdfocr8/pdfocr24/
pdfocr32) which render the output file to an image, OCR that image, and
output the image "wrapped" up as a PDF file, with the OCR generated text
information included as "invisible" text (in PDF terms, text rendering mode
3).
- drop CVE-2021-3781.patch, CVE-2021-45949.patch: upstream
- use _multibuild
OBS-URL: https://build.opensuse.org/request/show/989807
OBS-URL: https://build.opensuse.org/package/show/Printing/ghostscript?expand=0&rev=155
2022-07-18 16:12:49 +02:00
Provides : ghostscript_x11 = %{version}
2012-02-24 16:09:50 +01:00
%description x11
- update to 10.02.1:
* Patch release to address some security bugs
* This release (10.02.0) marks the final demise of the
PostScript based PDF interpreter.
* This 10.01.1 release removes the "-dNEWPDF=false" command
line option to fall back to the deprecated, old PDF
interpreter.
* This 10.01.0 release removes the "-dNEWPDF=false" command
line option to fall back to the deprecated, old PDF
interpreter.
* This release officially deprecates the old Postscript
implementation of PDF, we will not be updating or maintaining
that code moving forward. The option to use the old PDF
implementation _**will**_ be removed in the next full release
(10.01.0)
* Important: This release includes the new PDF interpreter
(implemented in C rather than PostScript). It is both
integrated into Ghostscript (now ENABLED by default), and
available as a standalone, PDF only, binary. See
https://ghostscript.com/pdfi.html for more details.
* This also bundles the latest zlib (1.2.12) which addresses a
security issue (CVE-2018-25032)
* **Important**: This release includes the new PDF interpreter
(implemented in C rather than PostScript). It is both
integrated into Ghostscript (now **ENABLED** by default), and
available as a standalone, PDF only, binary. See
https://ghostscript.com/pdfi.html for more details.
- drop CVE-2023-28879.patch, CVE-2023-36664.patch,
CVE-2023-38559.patch, CVE-2023-43115.patch,
CVE-2023-46751.patch: upstream
OBS-URL: https://build.opensuse.org/package/show/Printing/ghostscript?expand=0&rev=171
2024-01-28 11:53:01 +01:00
This package contains the X11 library which is needed to view PostScript and
PDF files with Ghostscript under the X Window System.
2012-02-24 16:09:50 +01:00
%package devel
Summary : Development files for Ghostscript
2012-04-25 16:47:49 +02:00
Group : Development/Libraries/C and C++
2012-02-24 16:09:50 +01:00
Requires : ghostscript = %{version}
2012-03-16 10:36:05 +01:00
Conflicts : ghostscript-library < %{version}
Conflicts : ghostscript-library > %{version}
Conflicts : ghostscript-mini
2012-03-23 11:40:53 +01:00
Conflicts : ghostscript-mini-devel
2012-02-24 16:09:50 +01:00
%description devel
This package contains the development files for Ghostscript.
%prep
Accepting request 989807 from home:dirkmueller:Factory
- update to 9.56.1:
* New PDF Interpreter: This is an entirely new implementation written in C
(rather than PostScript, as before)
* Calling Ghostscript via the GS API is now thread safe. The one limitation
is that the X11 devices for Unix-like systems (x11, x11alpha, x11cmyk,
x11cmyk2, x11cmyk4, x11cmyk8, x11gray2, x11gray4 and x11mono) cannot be
made thread safe, due to their interaction with the X11 server, those
devices have been modified to only allow one instance in an executable.
* The PSD output device now writes ICC profiles to their output files, for
improved color fidelity.
* Our efforts in code hygiene and maintainability continue.
* The usual round of bug fixes, compatibility changes, and incremental
improvements.
* We have added the capability to build with the Tesseract OCR
engine. In such a build, new devices are available (pdfocr8/pdfocr24/
pdfocr32) which render the output file to an image, OCR that image, and
output the image "wrapped" up as a PDF file, with the OCR generated text
information included as "invisible" text (in PDF terms, text rendering mode
3).
- drop CVE-2021-3781.patch, CVE-2021-45949.patch: upstream
- use _multibuild
OBS-URL: https://build.opensuse.org/request/show/989807
OBS-URL: https://build.opensuse.org/package/show/Printing/ghostscript?expand=0&rev=155
2022-07-18 16:12:49 +02:00
%setup -q -n ghostscript-%{version}
2020-04-29 12:44:01 +02:00
# Patch101 ijs_exec_server_dont_use_sh.patch fixes IJS printing problem
# additionally allow exec'ing hpijs in apparmor profile was needed (bsc#1128467):
2019-03-08 13:28:32 +01:00
%patch101 -p1
2018-03-15 13:57:22 +01:00
# Remove patch backup files to avoid packaging
# cf. https://build.opensuse.org/request/show/581052
2018-03-12 11:33:44 +01:00
rm -f Resource/Init/*.ps.orig
- update to 10.02.1:
* Patch release to address some security bugs
* This release (10.02.0) marks the final demise of the
PostScript based PDF interpreter.
* This 10.01.1 release removes the "-dNEWPDF=false" command
line option to fall back to the deprecated, old PDF
interpreter.
* This 10.01.0 release removes the "-dNEWPDF=false" command
line option to fall back to the deprecated, old PDF
interpreter.
* This release officially deprecates the old Postscript
implementation of PDF, we will not be updating or maintaining
that code moving forward. The option to use the old PDF
implementation _**will**_ be removed in the next full release
(10.01.0)
* Important: This release includes the new PDF interpreter
(implemented in C rather than PostScript). It is both
integrated into Ghostscript (now ENABLED by default), and
available as a standalone, PDF only, binary. See
https://ghostscript.com/pdfi.html for more details.
* This also bundles the latest zlib (1.2.12) which addresses a
security issue (CVE-2018-25032)
* **Important**: This release includes the new PDF interpreter
(implemented in C rather than PostScript). It is both
integrated into Ghostscript (now **ENABLED** by default), and
available as a standalone, PDF only, binary. See
https://ghostscript.com/pdfi.html for more details.
- drop CVE-2023-28879.patch, CVE-2023-36664.patch,
CVE-2023-38559.patch, CVE-2023-43115.patch,
CVE-2023-46751.patch: upstream
OBS-URL: https://build.opensuse.org/package/show/Printing/ghostscript?expand=0&rev=171
2024-01-28 11:53:01 +01:00
rm -rf freetype jpeg libpng lcms2art zlib tiff
2020-02-03 10:20:23 +01:00
%if 0%{?suse_version} >= 1550
rm -rf openjpeg
%endif
2012-02-24 16:09:50 +01:00
%build
2017-01-30 14:16:52 +01:00
# Derive build timestamp from latest changelog entry
Accepting request 989807 from home:dirkmueller:Factory
- update to 9.56.1:
* New PDF Interpreter: This is an entirely new implementation written in C
(rather than PostScript, as before)
* Calling Ghostscript via the GS API is now thread safe. The one limitation
is that the X11 devices for Unix-like systems (x11, x11alpha, x11cmyk,
x11cmyk2, x11cmyk4, x11cmyk8, x11gray2, x11gray4 and x11mono) cannot be
made thread safe, due to their interaction with the X11 server, those
devices have been modified to only allow one instance in an executable.
* The PSD output device now writes ICC profiles to their output files, for
improved color fidelity.
* Our efforts in code hygiene and maintainability continue.
* The usual round of bug fixes, compatibility changes, and incremental
improvements.
* We have added the capability to build with the Tesseract OCR
engine. In such a build, new devices are available (pdfocr8/pdfocr24/
pdfocr32) which render the output file to an image, OCR that image, and
output the image "wrapped" up as a PDF file, with the OCR generated text
information included as "invisible" text (in PDF terms, text rendering mode
3).
- drop CVE-2021-3781.patch, CVE-2021-45949.patch: upstream
- use _multibuild
OBS-URL: https://build.opensuse.org/request/show/989807
OBS-URL: https://build.opensuse.org/package/show/Printing/ghostscript?expand=0&rev=155
2022-07-18 16:12:49 +02:00
export SOURCE_DATE_EPOCH=$(date -d " $ ( h e a d - n 2 %{_sourcedir} / %{name} . c h a n g e s | t a i l - n 1 | c u t - d - - f 1 ) " +%{s})
2012-02-24 16:09:50 +01:00
# Set our preferred architecture-specific flags for the compiler and linker:
2021-04-15 10:05:17 +02:00
export CFLAGS=" %{optflags} - f n o - s t r i c t - a l i a s i n g - f P I C "
export CXXFLAGS=" %{optflags} - f n o - s t r i c t - a l i a s i n g - f P I C "
export LDFLAGS=" - p i e "
2012-02-24 16:09:50 +01:00
autoreconf -fi
2012-04-25 16:47:49 +02:00
# --docdir=%%{_defaultdocdir}/%%{name} does not work therefore it is not used.
2015-03-25 15:14:43 +01:00
# --enable-cups but no longer --with-pdftoraster --enable-dbus --with-install-cups because
# --with-install-cups was introduced in version 9.04 but meanwhile it is an unrecognized option by configure
# because cups/filter/gstoraster and cups/filter/gstopxl and related files gstoraster.convs pxlcolor.ppd pxlmono.ppd
# are no longer provided by Ghostscript but were moved to the cups-filters package.
# also pdftoraster is provided by cups-filters and there is colord support that
# would need --enable-dbus because colord is accessed via D-Bus.
2012-03-23 11:40:53 +01:00
# --with-ijs to enable IJS printer driver support (in particular needed by HPIJS).
# --with-drivers=ALL to all file format drivers and all printer drivers.
# --with-x to use the X Window System.
2015-03-25 15:14:43 +01:00
# --enable-openjpeg because since Ghostscript 9.05 JasPer is deprecated
# (--without-jasper is now an unrecognized option by configure)
2012-04-27 14:58:11 +02:00
# and Ghostscript now ships modified OpenJPEG sources for JPEG2000 decoding
2015-03-25 15:14:43 +01:00
# (replacing JasPer - although JasPer is still included for this release)
2012-04-27 14:58:11 +02:00
# Performance, reliability and memory use whilst decoding JPX streams are all improved.
2015-03-25 15:14:43 +01:00
# see also http://bugs.ghostscript.com/show_bug.cgi?id=691430
2023-07-04 09:40:24 +02:00
# --without-ufst because this is relevant to commercial releases only
2012-04-27 14:58:11 +02:00
# which would require a commercial license.
2018-03-12 11:33:44 +01:00
# --disable-compile-inits to disable compiling of resources (Fonts, init postscript files, ...)
# into the library, which is the upstream recommendation for distributions. This also allows
# unbundling the 35 Postscript Standard fonts, provided by the URW font package
2012-03-15 16:45:27 +01:00
# --without-libpaper disables libpaper support because SUSE does not have libpaper.
2023-07-04 09:40:24 +02:00
# --without-tesseract because this requires C++ (it might be added if Tesseract support in Ghostscript is needed).
Accepting request 989807 from home:dirkmueller:Factory
- update to 9.56.1:
* New PDF Interpreter: This is an entirely new implementation written in C
(rather than PostScript, as before)
* Calling Ghostscript via the GS API is now thread safe. The one limitation
is that the X11 devices for Unix-like systems (x11, x11alpha, x11cmyk,
x11cmyk2, x11cmyk4, x11cmyk8, x11gray2, x11gray4 and x11mono) cannot be
made thread safe, due to their interaction with the X11 server, those
devices have been modified to only allow one instance in an executable.
* The PSD output device now writes ICC profiles to their output files, for
improved color fidelity.
* Our efforts in code hygiene and maintainability continue.
* The usual round of bug fixes, compatibility changes, and incremental
improvements.
* We have added the capability to build with the Tesseract OCR
engine. In such a build, new devices are available (pdfocr8/pdfocr24/
pdfocr32) which render the output file to an image, OCR that image, and
output the image "wrapped" up as a PDF file, with the OCR generated text
information included as "invisible" text (in PDF terms, text rendering mode
3).
- drop CVE-2021-3781.patch, CVE-2021-45949.patch: upstream
- use _multibuild
OBS-URL: https://build.opensuse.org/request/show/989807
OBS-URL: https://build.opensuse.org/package/show/Printing/ghostscript?expand=0&rev=155
2022-07-18 16:12:49 +02:00
%define gs_font_path %{_datadir}/fonts/truetype:%{_datadir}/fonts/Type1:%{_datadir}/fonts/CID:%{_datadir}/fonts/URW
2012-09-24 12:58:49 +02:00
# See http://bugs.ghostscript.com/show_bug.cgi?id=693100
2012-09-24 12:58:16 +02:00
export SUSE_ASNEEDED=0
Accepting request 989807 from home:dirkmueller:Factory
- update to 9.56.1:
* New PDF Interpreter: This is an entirely new implementation written in C
(rather than PostScript, as before)
* Calling Ghostscript via the GS API is now thread safe. The one limitation
is that the X11 devices for Unix-like systems (x11, x11alpha, x11cmyk,
x11cmyk2, x11cmyk4, x11cmyk8, x11gray2, x11gray4 and x11mono) cannot be
made thread safe, due to their interaction with the X11 server, those
devices have been modified to only allow one instance in an executable.
* The PSD output device now writes ICC profiles to their output files, for
improved color fidelity.
* Our efforts in code hygiene and maintainability continue.
* The usual round of bug fixes, compatibility changes, and incremental
improvements.
* We have added the capability to build with the Tesseract OCR
engine. In such a build, new devices are available (pdfocr8/pdfocr24/
pdfocr32) which render the output file to an image, OCR that image, and
output the image "wrapped" up as a PDF file, with the OCR generated text
information included as "invisible" text (in PDF terms, text rendering mode
3).
- drop CVE-2021-3781.patch, CVE-2021-45949.patch: upstream
- use _multibuild
OBS-URL: https://build.opensuse.org/request/show/989807
OBS-URL: https://build.opensuse.org/package/show/Printing/ghostscript?expand=0&rev=155
2022-07-18 16:12:49 +02:00
%configure \
--with-fontpath=%{gs_font_path} \
--with-libiconv=maybe \
--enable-freetype \
--with-jbig2dec \
--enable-openjpeg \
- update to 10.02.1:
* Patch release to address some security bugs
* This release (10.02.0) marks the final demise of the
PostScript based PDF interpreter.
* This 10.01.1 release removes the "-dNEWPDF=false" command
line option to fall back to the deprecated, old PDF
interpreter.
* This 10.01.0 release removes the "-dNEWPDF=false" command
line option to fall back to the deprecated, old PDF
interpreter.
* This release officially deprecates the old Postscript
implementation of PDF, we will not be updating or maintaining
that code moving forward. The option to use the old PDF
implementation _**will**_ be removed in the next full release
(10.01.0)
* Important: This release includes the new PDF interpreter
(implemented in C rather than PostScript). It is both
integrated into Ghostscript (now ENABLED by default), and
available as a standalone, PDF only, binary. See
https://ghostscript.com/pdfi.html for more details.
* This also bundles the latest zlib (1.2.12) which addresses a
security issue (CVE-2018-25032)
* **Important**: This release includes the new PDF interpreter
(implemented in C rather than PostScript). It is both
integrated into Ghostscript (now **ENABLED** by default), and
available as a standalone, PDF only, binary. See
https://ghostscript.com/pdfi.html for more details.
- drop CVE-2023-28879.patch, CVE-2023-36664.patch,
CVE-2023-38559.patch, CVE-2023-43115.patch,
CVE-2023-46751.patch: upstream
OBS-URL: https://build.opensuse.org/package/show/Printing/ghostscript?expand=0&rev=171
2024-01-28 11:53:01 +01:00
--disable-hidden-visibility \
Accepting request 989807 from home:dirkmueller:Factory
- update to 9.56.1:
* New PDF Interpreter: This is an entirely new implementation written in C
(rather than PostScript, as before)
* Calling Ghostscript via the GS API is now thread safe. The one limitation
is that the X11 devices for Unix-like systems (x11, x11alpha, x11cmyk,
x11cmyk2, x11cmyk4, x11cmyk8, x11gray2, x11gray4 and x11mono) cannot be
made thread safe, due to their interaction with the X11 server, those
devices have been modified to only allow one instance in an executable.
* The PSD output device now writes ICC profiles to their output files, for
improved color fidelity.
* Our efforts in code hygiene and maintainability continue.
* The usual round of bug fixes, compatibility changes, and incremental
improvements.
* We have added the capability to build with the Tesseract OCR
engine. In such a build, new devices are available (pdfocr8/pdfocr24/
pdfocr32) which render the output file to an image, OCR that image, and
output the image "wrapped" up as a PDF file, with the OCR generated text
information included as "invisible" text (in PDF terms, text rendering mode
3).
- drop CVE-2021-3781.patch, CVE-2021-45949.patch: upstream
- use _multibuild
OBS-URL: https://build.opensuse.org/request/show/989807
OBS-URL: https://build.opensuse.org/package/show/Printing/ghostscript?expand=0&rev=155
2022-07-18 16:12:49 +02:00
--enable-dynamic \
--disable-compile-inits \
%if "%{flavor}" == "mini"
--without-ijs \
--disable-cups \
--disable-dbus \
--without-pdftoraster \
--with-drivers=FILES \
--without-x \
%else
--without-local-zlib \
--with-ijs \
--enable-cups \
--with-drivers=ALL \
--with-x \
%endif
--disable-gtk \
--without-ufst \
2023-07-04 09:40:24 +02:00
--without-libpaper \
--without-tesseract
2018-03-12 11:33:44 +01:00
2012-04-25 16:47:49 +02:00
# Make libgs.so and two programs which use it, gsx and gsc:
2018-03-12 11:33:44 +01:00
# With --disable-gtk, gsx and gsc are identical. It provides a command line
# frontend to libgs equivalent (functional and command line arguments) to
# the gs binary, but uses the shared libgs instead of static linking
Accepting request 989807 from home:dirkmueller:Factory
- update to 9.56.1:
* New PDF Interpreter: This is an entirely new implementation written in C
(rather than PostScript, as before)
* Calling Ghostscript via the GS API is now thread safe. The one limitation
is that the X11 devices for Unix-like systems (x11, x11alpha, x11cmyk,
x11cmyk2, x11cmyk4, x11cmyk8, x11gray2, x11gray4 and x11mono) cannot be
made thread safe, due to their interaction with the X11 server, those
devices have been modified to only allow one instance in an executable.
* The PSD output device now writes ICC profiles to their output files, for
improved color fidelity.
* Our efforts in code hygiene and maintainability continue.
* The usual round of bug fixes, compatibility changes, and incremental
improvements.
* We have added the capability to build with the Tesseract OCR
engine. In such a build, new devices are available (pdfocr8/pdfocr24/
pdfocr32) which render the output file to an image, OCR that image, and
output the image "wrapped" up as a PDF file, with the OCR generated text
information included as "invisible" text (in PDF terms, text rendering mode
3).
- drop CVE-2021-3781.patch, CVE-2021-45949.patch: upstream
- use _multibuild
OBS-URL: https://build.opensuse.org/request/show/989807
OBS-URL: https://build.opensuse.org/package/show/Printing/ghostscript?expand=0&rev=155
2022-07-18 16:12:49 +02:00
%make_build so
2013-02-20 13:27:45 +01:00
# Configure and make libijs (that is not done regardless whether or not --with-ijs is used above):
2013-01-04 10:02:55 +01:00
pushd ijs
./autogen.sh
2018-02-28 11:35:32 +01:00
autoreconf -fi
Accepting request 989807 from home:dirkmueller:Factory
- update to 9.56.1:
* New PDF Interpreter: This is an entirely new implementation written in C
(rather than PostScript, as before)
* Calling Ghostscript via the GS API is now thread safe. The one limitation
is that the X11 devices for Unix-like systems (x11, x11alpha, x11cmyk,
x11cmyk2, x11cmyk4, x11cmyk8, x11gray2, x11gray4 and x11mono) cannot be
made thread safe, due to their interaction with the X11 server, those
devices have been modified to only allow one instance in an executable.
* The PSD output device now writes ICC profiles to their output files, for
improved color fidelity.
* Our efforts in code hygiene and maintainability continue.
* The usual round of bug fixes, compatibility changes, and incremental
improvements.
* We have added the capability to build with the Tesseract OCR
engine. In such a build, new devices are available (pdfocr8/pdfocr24/
pdfocr32) which render the output file to an image, OCR that image, and
output the image "wrapped" up as a PDF file, with the OCR generated text
information included as "invisible" text (in PDF terms, text rendering mode
3).
- drop CVE-2021-3781.patch, CVE-2021-45949.patch: upstream
- use _multibuild
OBS-URL: https://build.opensuse.org/request/show/989807
OBS-URL: https://build.opensuse.org/package/show/Printing/ghostscript?expand=0&rev=155
2022-07-18 16:12:49 +02:00
%configure --enable-shared --disable-static
%make_build
2013-01-04 10:02:55 +01:00
popd
2012-02-24 16:09:50 +01:00
%install
2012-04-25 16:47:49 +02:00
# Install libgs.so gsx gsc and some header files:
2012-02-24 16:09:50 +01:00
make soinstall DESTDIR=%{buildroot}
2018-03-12 11:33:44 +01:00
# Use gsc instead of gs, and remove duplicate gsx (see above)
mv %{buildroot} /%{_bindir} /{gsc,gs}
rm %{buildroot} /%{_bindir} /gsx
2013-01-04 10:02:55 +01:00
# Install libijs and its header files:
pushd ijs
Accepting request 989807 from home:dirkmueller:Factory
- update to 9.56.1:
* New PDF Interpreter: This is an entirely new implementation written in C
(rather than PostScript, as before)
* Calling Ghostscript via the GS API is now thread safe. The one limitation
is that the X11 devices for Unix-like systems (x11, x11alpha, x11cmyk,
x11cmyk2, x11cmyk4, x11cmyk8, x11gray2, x11gray4 and x11mono) cannot be
made thread safe, due to their interaction with the X11 server, those
devices have been modified to only allow one instance in an executable.
* The PSD output device now writes ICC profiles to their output files, for
improved color fidelity.
* Our efforts in code hygiene and maintainability continue.
* The usual round of bug fixes, compatibility changes, and incremental
improvements.
* We have added the capability to build with the Tesseract OCR
engine. In such a build, new devices are available (pdfocr8/pdfocr24/
pdfocr32) which render the output file to an image, OCR that image, and
output the image "wrapped" up as a PDF file, with the OCR generated text
information included as "invisible" text (in PDF terms, text rendering mode
3).
- drop CVE-2021-3781.patch, CVE-2021-45949.patch: upstream
- use _multibuild
OBS-URL: https://build.opensuse.org/request/show/989807
OBS-URL: https://build.opensuse.org/package/show/Printing/ghostscript?expand=0&rev=155
2022-07-18 16:12:49 +02:00
%make_install
2013-01-04 10:02:55 +01:00
popd
# Remove installed ijs example client and server and its .la file:
rm %{buildroot} %{_bindir} /ijs_client_example
rm %{buildroot} %{_bindir} /ijs_server_example
rm %{buildroot} %{_libdir} /libijs.la
2018-03-15 13:57:22 +01:00
# Install examples:
- update to 10.02.1:
* Patch release to address some security bugs
* This release (10.02.0) marks the final demise of the
PostScript based PDF interpreter.
* This 10.01.1 release removes the "-dNEWPDF=false" command
line option to fall back to the deprecated, old PDF
interpreter.
* This 10.01.0 release removes the "-dNEWPDF=false" command
line option to fall back to the deprecated, old PDF
interpreter.
* This release officially deprecates the old Postscript
implementation of PDF, we will not be updating or maintaining
that code moving forward. The option to use the old PDF
implementation _**will**_ be removed in the next full release
(10.01.0)
* Important: This release includes the new PDF interpreter
(implemented in C rather than PostScript). It is both
integrated into Ghostscript (now ENABLED by default), and
available as a standalone, PDF only, binary. See
https://ghostscript.com/pdfi.html for more details.
* This also bundles the latest zlib (1.2.12) which addresses a
security issue (CVE-2018-25032)
* **Important**: This release includes the new PDF interpreter
(implemented in C rather than PostScript). It is both
integrated into Ghostscript (now **ENABLED** by default), and
available as a standalone, PDF only, binary. See
https://ghostscript.com/pdfi.html for more details.
- drop CVE-2023-28879.patch, CVE-2023-36664.patch,
CVE-2023-38559.patch, CVE-2023-43115.patch,
CVE-2023-46751.patch: upstream
OBS-URL: https://build.opensuse.org/package/show/Printing/ghostscript?expand=0&rev=171
2024-01-28 11:53:01 +01:00
EXAMPLESDIR=%{buildroot} %{_datadir} /ghostscript/%{version} /examples
2018-03-15 13:57:22 +01:00
test -d $EXAMPLESDIR || install -d $EXAMPLESDIR
for E in examples/*
do install -m 644 $E $EXAMPLESDIR || :
done
test -d $EXAMPLESDIR/cjk || install -d $EXAMPLESDIR/cjk
for E in examples/cjk/*
do install -m 644 $E $EXAMPLESDIR/cjk || :
done
2012-04-25 16:47:49 +02:00
# Install documentation which is not installed by default
# see http://bugs.ghostscript.com/show_bug.cgi?id=693002
# and fail intentionally as notification if something changed:
- update to 10.02.1:
* Patch release to address some security bugs
* This release (10.02.0) marks the final demise of the
PostScript based PDF interpreter.
* This 10.01.1 release removes the "-dNEWPDF=false" command
line option to fall back to the deprecated, old PDF
interpreter.
* This 10.01.0 release removes the "-dNEWPDF=false" command
line option to fall back to the deprecated, old PDF
interpreter.
* This release officially deprecates the old Postscript
implementation of PDF, we will not be updating or maintaining
that code moving forward. The option to use the old PDF
implementation _**will**_ be removed in the next full release
(10.01.0)
* Important: This release includes the new PDF interpreter
(implemented in C rather than PostScript). It is both
integrated into Ghostscript (now ENABLED by default), and
available as a standalone, PDF only, binary. See
https://ghostscript.com/pdfi.html for more details.
* This also bundles the latest zlib (1.2.12) which addresses a
security issue (CVE-2018-25032)
* **Important**: This release includes the new PDF interpreter
(implemented in C rather than PostScript). It is both
integrated into Ghostscript (now **ENABLED** by default), and
available as a standalone, PDF only, binary. See
https://ghostscript.com/pdfi.html for more details.
- drop CVE-2023-28879.patch, CVE-2023-36664.patch,
CVE-2023-38559.patch, CVE-2023-43115.patch,
CVE-2023-46751.patch: upstream
OBS-URL: https://build.opensuse.org/package/show/Printing/ghostscript?expand=0&rev=171
2024-01-28 11:53:01 +01:00
DOCDIR=%{buildroot} %{_datadir} /doc/ghostscript/%{version}
2012-09-27 15:49:11 +02:00
for D in LICENSE
2012-04-25 16:47:49 +02:00
do test -e $DOCDIR/$( basename $D ) && exit 99
install -m 644 $D $DOCDIR
done
2018-03-15 13:57:22 +01:00
# Add a link named 'ghostscript' from SUSE's usual documentation directory /usr/share/doc/packages
# with link target Ghostscript's documentation directory e.g. /usr/share/doc/ghostscript/9.23
# as relative link to get the link independent of the buildroot prefix
# i.e. in /usr/share/doc/packages add the link ghostscript -> ../ghostscript/9.23
2012-04-25 16:47:49 +02:00
# because "configure --docdir=%%{_defaultdocdir}/%%{name}" does not work (see above):
2012-05-11 12:09:58 +02:00
install -d -m 755 %{buildroot} %{_defaultdocdir}
2012-04-25 16:47:49 +02:00
pushd %{buildroot} %{_defaultdocdir}
- update to 10.02.1:
* Patch release to address some security bugs
* This release (10.02.0) marks the final demise of the
PostScript based PDF interpreter.
* This 10.01.1 release removes the "-dNEWPDF=false" command
line option to fall back to the deprecated, old PDF
interpreter.
* This 10.01.0 release removes the "-dNEWPDF=false" command
line option to fall back to the deprecated, old PDF
interpreter.
* This release officially deprecates the old Postscript
implementation of PDF, we will not be updating or maintaining
that code moving forward. The option to use the old PDF
implementation _**will**_ be removed in the next full release
(10.01.0)
* Important: This release includes the new PDF interpreter
(implemented in C rather than PostScript). It is both
integrated into Ghostscript (now ENABLED by default), and
available as a standalone, PDF only, binary. See
https://ghostscript.com/pdfi.html for more details.
* This also bundles the latest zlib (1.2.12) which addresses a
security issue (CVE-2018-25032)
* **Important**: This release includes the new PDF interpreter
(implemented in C rather than PostScript). It is both
integrated into Ghostscript (now **ENABLED** by default), and
available as a standalone, PDF only, binary. See
https://ghostscript.com/pdfi.html for more details.
- drop CVE-2023-28879.patch, CVE-2023-36664.patch,
CVE-2023-38559.patch, CVE-2023-43115.patch,
CVE-2023-46751.patch: upstream
OBS-URL: https://build.opensuse.org/package/show/Printing/ghostscript?expand=0&rev=171
2024-01-28 11:53:01 +01:00
ln -s ../ghostscript/%{version} ghostscript
2012-04-25 16:47:49 +02:00
popd
2012-05-11 12:09:58 +02:00
# Extract the catalog of devices which are actually built-in in exactly this Ghostscript:
2015-03-25 15:14:43 +01:00
# If a needed source file is no longer accessible fail intentionally as notification
# that something changed which needs adaptions here:
2020-10-20 17:14:31 +02:00
catalog_devices_source_files=" d e v i c e s / d e v s . m a k d e v i c e s / d c o n t r i b . m a k c o n t r i b / c o n t r i b . m a k "
for F in $catalog_devices_source_files
2015-03-25 15:14:43 +01:00
do test -r $F || exit 99
done
2012-05-11 12:09:58 +02:00
# Do not pollute the build log file with zillions of meaningless messages:
set +x
cat /dev/null >catalog.devices
Accepting request 989807 from home:dirkmueller:Factory
- update to 9.56.1:
* New PDF Interpreter: This is an entirely new implementation written in C
(rather than PostScript, as before)
* Calling Ghostscript via the GS API is now thread safe. The one limitation
is that the X11 devices for Unix-like systems (x11, x11alpha, x11cmyk,
x11cmyk2, x11cmyk4, x11cmyk8, x11gray2, x11gray4 and x11mono) cannot be
made thread safe, due to their interaction with the X11 server, those
devices have been modified to only allow one instance in an executable.
* The PSD output device now writes ICC profiles to their output files, for
improved color fidelity.
* Our efforts in code hygiene and maintainability continue.
* The usual round of bug fixes, compatibility changes, and incremental
improvements.
* We have added the capability to build with the Tesseract OCR
engine. In such a build, new devices are available (pdfocr8/pdfocr24/
pdfocr32) which render the output file to an image, OCR that image, and
output the image "wrapped" up as a PDF file, with the OCR generated text
information included as "invisible" text (in PDF terms, text rendering mode
3).
- drop CVE-2021-3781.patch, CVE-2021-45949.patch: upstream
- use _multibuild
OBS-URL: https://build.opensuse.org/request/show/989807
OBS-URL: https://build.opensuse.org/package/show/Printing/ghostscript?expand=0&rev=155
2022-07-18 16:12:49 +02:00
for D in $( LD_LIBRARY_PATH=%{buildroot} /%{_libdir} %{buildroot} %{_bindir} /gs -h | sed -n -e '/^Available devices:/,/^Search path:/p' | grep -E -v '^Available devices:|^Search path:' )
2020-10-20 17:14:31 +02:00
do for F in $catalog_devices_source_files
2012-05-11 12:09:58 +02:00
do sed -n -e '/ Catalog /,/ End of catalog /p' $F | grep " [ [ : s p a c e : ] ] $ D [ [ : s p a c e : ] ] " | grep -o '[[:alnum:]].*' | tr -s '[:blank:]' ' ' | sed -e 's/ /\t/' | expand -t16 >>catalog.devices
done
done
# Switch back to the usual build log messages:
set -x
install -m 644 catalog.devices $DOCDIR
Accepting request 989807 from home:dirkmueller:Factory
- update to 9.56.1:
* New PDF Interpreter: This is an entirely new implementation written in C
(rather than PostScript, as before)
* Calling Ghostscript via the GS API is now thread safe. The one limitation
is that the X11 devices for Unix-like systems (x11, x11alpha, x11cmyk,
x11cmyk2, x11cmyk4, x11cmyk8, x11gray2, x11gray4 and x11mono) cannot be
made thread safe, due to their interaction with the X11 server, those
devices have been modified to only allow one instance in an executable.
* The PSD output device now writes ICC profiles to their output files, for
improved color fidelity.
* Our efforts in code hygiene and maintainability continue.
* The usual round of bug fixes, compatibility changes, and incremental
improvements.
* We have added the capability to build with the Tesseract OCR
engine. In such a build, new devices are available (pdfocr8/pdfocr24/
pdfocr32) which render the output file to an image, OCR that image, and
output the image "wrapped" up as a PDF file, with the OCR generated text
information included as "invisible" text (in PDF terms, text rendering mode
3).
- drop CVE-2021-3781.patch, CVE-2021-45949.patch: upstream
- use _multibuild
OBS-URL: https://build.opensuse.org/request/show/989807
OBS-URL: https://build.opensuse.org/package/show/Printing/ghostscript?expand=0&rev=155
2022-07-18 16:12:49 +02:00
%if "%{flavor}" != "mini"
install -D -m 644 %{SOURCE10} %{buildroot} %{_sysconfdir} /apparmor.d/ghostscript
%endif
2012-02-24 16:09:50 +01:00
2019-08-20 12:24:25 +02:00
# Move /usr/bin/gs to /usr/bin/gs.bin to be able to use update-alternatives
Accepting request 989807 from home:dirkmueller:Factory
- update to 9.56.1:
* New PDF Interpreter: This is an entirely new implementation written in C
(rather than PostScript, as before)
* Calling Ghostscript via the GS API is now thread safe. The one limitation
is that the X11 devices for Unix-like systems (x11, x11alpha, x11cmyk,
x11cmyk2, x11cmyk4, x11cmyk8, x11gray2, x11gray4 and x11mono) cannot be
made thread safe, due to their interaction with the X11 server, those
devices have been modified to only allow one instance in an executable.
* The PSD output device now writes ICC profiles to their output files, for
improved color fidelity.
* Our efforts in code hygiene and maintainability continue.
* The usual round of bug fixes, compatibility changes, and incremental
improvements.
* We have added the capability to build with the Tesseract OCR
engine. In such a build, new devices are available (pdfocr8/pdfocr24/
pdfocr32) which render the output file to an image, OCR that image, and
output the image "wrapped" up as a PDF file, with the OCR generated text
information included as "invisible" text (in PDF terms, text rendering mode
3).
- drop CVE-2021-3781.patch, CVE-2021-45949.patch: upstream
- use _multibuild
OBS-URL: https://build.opensuse.org/request/show/989807
OBS-URL: https://build.opensuse.org/package/show/Printing/ghostscript?expand=0&rev=155
2022-07-18 16:12:49 +02:00
install -d %{buildroot} %{_sysconfdir} /alternatives
2019-08-20 12:24:25 +02:00
mv %{buildroot} %{_bindir} /gs %{buildroot} %{_bindir} /gs.bin
ln -sf %{_bindir} /gs.bin %{buildroot} %{_sysconfdir} /alternatives/gs
ln -sf %{_sysconfdir} /alternatives/gs %{buildroot} %{_bindir} /gs
2019-03-22 12:27:22 +01:00
%post
/sbin/ldconfig
Accepting request 989807 from home:dirkmueller:Factory
- update to 9.56.1:
* New PDF Interpreter: This is an entirely new implementation written in C
(rather than PostScript, as before)
* Calling Ghostscript via the GS API is now thread safe. The one limitation
is that the X11 devices for Unix-like systems (x11, x11alpha, x11cmyk,
x11cmyk2, x11cmyk4, x11cmyk8, x11gray2, x11gray4 and x11mono) cannot be
made thread safe, due to their interaction with the X11 server, those
devices have been modified to only allow one instance in an executable.
* The PSD output device now writes ICC profiles to their output files, for
improved color fidelity.
* Our efforts in code hygiene and maintainability continue.
* The usual round of bug fixes, compatibility changes, and incremental
improvements.
* We have added the capability to build with the Tesseract OCR
engine. In such a build, new devices are available (pdfocr8/pdfocr24/
pdfocr32) which render the output file to an image, OCR that image, and
output the image "wrapped" up as a PDF file, with the OCR generated text
information included as "invisible" text (in PDF terms, text rendering mode
3).
- drop CVE-2021-3781.patch, CVE-2021-45949.patch: upstream
- use _multibuild
OBS-URL: https://build.opensuse.org/request/show/989807
OBS-URL: https://build.opensuse.org/package/show/Printing/ghostscript?expand=0&rev=155
2022-07-18 16:12:49 +02:00
%if "%{flavor}" != "mini"
2019-03-22 12:27:22 +01:00
%if 0%{?suse_version} >= 1500
Accepting request 989807 from home:dirkmueller:Factory
- update to 9.56.1:
* New PDF Interpreter: This is an entirely new implementation written in C
(rather than PostScript, as before)
* Calling Ghostscript via the GS API is now thread safe. The one limitation
is that the X11 devices for Unix-like systems (x11, x11alpha, x11cmyk,
x11cmyk2, x11cmyk4, x11cmyk8, x11gray2, x11gray4 and x11mono) cannot be
made thread safe, due to their interaction with the X11 server, those
devices have been modified to only allow one instance in an executable.
* The PSD output device now writes ICC profiles to their output files, for
improved color fidelity.
* Our efforts in code hygiene and maintainability continue.
* The usual round of bug fixes, compatibility changes, and incremental
improvements.
* We have added the capability to build with the Tesseract OCR
engine. In such a build, new devices are available (pdfocr8/pdfocr24/
pdfocr32) which render the output file to an image, OCR that image, and
output the image "wrapped" up as a PDF file, with the OCR generated text
information included as "invisible" text (in PDF terms, text rendering mode
3).
- drop CVE-2021-3781.patch, CVE-2021-45949.patch: upstream
- use _multibuild
OBS-URL: https://build.opensuse.org/request/show/989807
OBS-URL: https://build.opensuse.org/package/show/Printing/ghostscript?expand=0&rev=155
2022-07-18 16:12:49 +02:00
%apparmor_reload %{_sysconfdir} /apparmor.d/ghostscript
%endif
2019-03-22 12:27:22 +01:00
%endif
2019-08-20 12:24:25 +02:00
%{_sbindir} /update-alternatives \
--install %{_bindir} /gs gs %{_bindir} /gs.bin 15
2012-02-24 16:09:50 +01:00
2018-03-12 11:33:44 +01:00
%postun -p /sbin/ldconfig
2012-02-24 16:09:50 +01:00
2019-08-20 12:24:25 +02:00
%preun
if test $1 -eq 0 ; then
%{_sbindir} /update-alternatives \
--remove gs %{_bindir} /gs.bin
fi
2012-02-24 16:09:50 +01:00
%files
- update to 10.02.1:
* Patch release to address some security bugs
* This release (10.02.0) marks the final demise of the
PostScript based PDF interpreter.
* This 10.01.1 release removes the "-dNEWPDF=false" command
line option to fall back to the deprecated, old PDF
interpreter.
* This 10.01.0 release removes the "-dNEWPDF=false" command
line option to fall back to the deprecated, old PDF
interpreter.
* This release officially deprecates the old Postscript
implementation of PDF, we will not be updating or maintaining
that code moving forward. The option to use the old PDF
implementation _**will**_ be removed in the next full release
(10.01.0)
* Important: This release includes the new PDF interpreter
(implemented in C rather than PostScript). It is both
integrated into Ghostscript (now ENABLED by default), and
available as a standalone, PDF only, binary. See
https://ghostscript.com/pdfi.html for more details.
* This also bundles the latest zlib (1.2.12) which addresses a
security issue (CVE-2018-25032)
* **Important**: This release includes the new PDF interpreter
(implemented in C rather than PostScript). It is both
integrated into Ghostscript (now **ENABLED** by default), and
available as a standalone, PDF only, binary. See
https://ghostscript.com/pdfi.html for more details.
- drop CVE-2023-28879.patch, CVE-2023-36664.patch,
CVE-2023-38559.patch, CVE-2023-43115.patch,
CVE-2023-46751.patch: upstream
OBS-URL: https://build.opensuse.org/package/show/Printing/ghostscript?expand=0&rev=171
2024-01-28 11:53:01 +01:00
%license LICENSE
2019-08-20 12:24:25 +02:00
%ghost %config %{_sysconfdir} /alternatives/gs
2012-02-24 16:09:50 +01:00
%{_bindir} /dvipdf
%{_bindir} /eps2eps
%{_bindir} /gs
2019-08-20 12:24:25 +02:00
%{_bindir} /gs.bin
2012-02-24 16:09:50 +01:00
%{_bindir} /gsbj
%{_bindir} /gsdj
%{_bindir} /gsdj500
%{_bindir} /gslj
%{_bindir} /gslp
%{_bindir} /gsnd
%{_bindir} /lprsetup.sh
%{_bindir} /pdf2dsc
%{_bindir} /pdf2ps
%{_bindir} /pf2afm
%{_bindir} /pfbtopfa
%{_bindir} /pphs
%{_bindir} /printafm
%{_bindir} /ps2ascii
%{_bindir} /ps2epsi
%{_bindir} /ps2pdf
%{_bindir} /ps2pdf12
%{_bindir} /ps2pdf13
%{_bindir} /ps2pdf14
%{_bindir} /ps2pdfwr
%{_bindir} /ps2ps
%{_bindir} /ps2ps2
%{_bindir} /unix-lpr.sh
Accepting request 989807 from home:dirkmueller:Factory
- update to 9.56.1:
* New PDF Interpreter: This is an entirely new implementation written in C
(rather than PostScript, as before)
* Calling Ghostscript via the GS API is now thread safe. The one limitation
is that the X11 devices for Unix-like systems (x11, x11alpha, x11cmyk,
x11cmyk2, x11cmyk4, x11cmyk8, x11gray2, x11gray4 and x11mono) cannot be
made thread safe, due to their interaction with the X11 server, those
devices have been modified to only allow one instance in an executable.
* The PSD output device now writes ICC profiles to their output files, for
improved color fidelity.
* Our efforts in code hygiene and maintainability continue.
* The usual round of bug fixes, compatibility changes, and incremental
improvements.
* We have added the capability to build with the Tesseract OCR
engine. In such a build, new devices are available (pdfocr8/pdfocr24/
pdfocr32) which render the output file to an image, OCR that image, and
output the image "wrapped" up as a PDF file, with the OCR generated text
information included as "invisible" text (in PDF terms, text rendering mode
3).
- drop CVE-2021-3781.patch, CVE-2021-45949.patch: upstream
- use _multibuild
OBS-URL: https://build.opensuse.org/request/show/989807
OBS-URL: https://build.opensuse.org/package/show/Printing/ghostscript?expand=0&rev=155
2022-07-18 16:12:49 +02:00
%{_mandir} /man1/dvipdf.1%{?ext_man}
%{_mandir} /man1/eps2eps.1%{?ext_man}
%{_mandir} /man1/gs.1%{?ext_man}
%{_mandir} /man1/gsbj.1%{?ext_man}
%{_mandir} /man1/gsdj.1%{?ext_man}
%{_mandir} /man1/gsdj500.1%{?ext_man}
%{_mandir} /man1/gslj.1%{?ext_man}
%{_mandir} /man1/gslp.1%{?ext_man}
%{_mandir} /man1/gsnd.1%{?ext_man}
%{_mandir} /man1/pdf2dsc.1%{?ext_man}
%{_mandir} /man1/pdf2ps.1%{?ext_man}
%{_mandir} /man1/pf2afm.1%{?ext_man}
%{_mandir} /man1/pfbtopfa.1%{?ext_man}
%{_mandir} /man1/printafm.1%{?ext_man}
%{_mandir} /man1/ps2ascii.1%{?ext_man}
%{_mandir} /man1/ps2epsi.1%{?ext_man}
%{_mandir} /man1/ps2pdf.1%{?ext_man}
%{_mandir} /man1/ps2pdf12.1%{?ext_man}
%{_mandir} /man1/ps2pdf13.1%{?ext_man}
%{_mandir} /man1/ps2pdf14.1%{?ext_man}
%{_mandir} /man1/ps2pdfwr.1%{?ext_man}
%{_mandir} /man1/ps2ps.1%{?ext_man}
2012-04-25 16:47:49 +02:00
%doc %{_defaultdocdir} /ghostscript
2018-03-15 13:57:22 +01:00
%dir %{_datadir} /doc/ghostscript
- update to 10.02.1:
* Patch release to address some security bugs
* This release (10.02.0) marks the final demise of the
PostScript based PDF interpreter.
* This 10.01.1 release removes the "-dNEWPDF=false" command
line option to fall back to the deprecated, old PDF
interpreter.
* This 10.01.0 release removes the "-dNEWPDF=false" command
line option to fall back to the deprecated, old PDF
interpreter.
* This release officially deprecates the old Postscript
implementation of PDF, we will not be updating or maintaining
that code moving forward. The option to use the old PDF
implementation _**will**_ be removed in the next full release
(10.01.0)
* Important: This release includes the new PDF interpreter
(implemented in C rather than PostScript). It is both
integrated into Ghostscript (now ENABLED by default), and
available as a standalone, PDF only, binary. See
https://ghostscript.com/pdfi.html for more details.
* This also bundles the latest zlib (1.2.12) which addresses a
security issue (CVE-2018-25032)
* **Important**: This release includes the new PDF interpreter
(implemented in C rather than PostScript). It is both
integrated into Ghostscript (now **ENABLED** by default), and
available as a standalone, PDF only, binary. See
https://ghostscript.com/pdfi.html for more details.
- drop CVE-2023-28879.patch, CVE-2023-36664.patch,
CVE-2023-38559.patch, CVE-2023-43115.patch,
CVE-2023-46751.patch: upstream
OBS-URL: https://build.opensuse.org/package/show/Printing/ghostscript?expand=0&rev=171
2024-01-28 11:53:01 +01:00
%doc %{_datadir} /doc/ghostscript/%{version}
2012-04-25 16:47:49 +02:00
%dir %{_datadir} /ghostscript
- update to 10.02.1:
* Patch release to address some security bugs
* This release (10.02.0) marks the final demise of the
PostScript based PDF interpreter.
* This 10.01.1 release removes the "-dNEWPDF=false" command
line option to fall back to the deprecated, old PDF
interpreter.
* This 10.01.0 release removes the "-dNEWPDF=false" command
line option to fall back to the deprecated, old PDF
interpreter.
* This release officially deprecates the old Postscript
implementation of PDF, we will not be updating or maintaining
that code moving forward. The option to use the old PDF
implementation _**will**_ be removed in the next full release
(10.01.0)
* Important: This release includes the new PDF interpreter
(implemented in C rather than PostScript). It is both
integrated into Ghostscript (now ENABLED by default), and
available as a standalone, PDF only, binary. See
https://ghostscript.com/pdfi.html for more details.
* This also bundles the latest zlib (1.2.12) which addresses a
security issue (CVE-2018-25032)
* **Important**: This release includes the new PDF interpreter
(implemented in C rather than PostScript). It is both
integrated into Ghostscript (now **ENABLED** by default), and
available as a standalone, PDF only, binary. See
https://ghostscript.com/pdfi.html for more details.
- drop CVE-2023-28879.patch, CVE-2023-36664.patch,
CVE-2023-38559.patch, CVE-2023-43115.patch,
CVE-2023-46751.patch: upstream
OBS-URL: https://build.opensuse.org/package/show/Printing/ghostscript?expand=0&rev=171
2024-01-28 11:53:01 +01:00
%dir %{_datadir} /ghostscript/%{version}
%{_datadir} /ghostscript/%{version} /Resource
%{_datadir} /ghostscript/%{version} /iccprofiles
%{_datadir} /ghostscript/%{version} /examples/
%{_datadir} /ghostscript/%{version} /lib/
2012-02-24 16:09:50 +01:00
%{_libdir} /libgs.so.*
%{_libdir} /ghostscript/
2013-01-04 10:02:55 +01:00
%{_libdir} /libijs-0.35.so
Accepting request 989807 from home:dirkmueller:Factory
- update to 9.56.1:
* New PDF Interpreter: This is an entirely new implementation written in C
(rather than PostScript, as before)
* Calling Ghostscript via the GS API is now thread safe. The one limitation
is that the X11 devices for Unix-like systems (x11, x11alpha, x11cmyk,
x11cmyk2, x11cmyk4, x11cmyk8, x11gray2, x11gray4 and x11mono) cannot be
made thread safe, due to their interaction with the X11 server, those
devices have been modified to only allow one instance in an executable.
* The PSD output device now writes ICC profiles to their output files, for
improved color fidelity.
* Our efforts in code hygiene and maintainability continue.
* The usual round of bug fixes, compatibility changes, and incremental
improvements.
* We have added the capability to build with the Tesseract OCR
engine. In such a build, new devices are available (pdfocr8/pdfocr24/
pdfocr32) which render the output file to an image, OCR that image, and
output the image "wrapped" up as a PDF file, with the OCR generated text
information included as "invisible" text (in PDF terms, text rendering mode
3).
- drop CVE-2021-3781.patch, CVE-2021-45949.patch: upstream
- use _multibuild
OBS-URL: https://build.opensuse.org/request/show/989807
OBS-URL: https://build.opensuse.org/package/show/Printing/ghostscript?expand=0&rev=155
2022-07-18 16:12:49 +02:00
%if "%{flavor}" != "mini"
- update to 10.02.1:
* Patch release to address some security bugs
* This release (10.02.0) marks the final demise of the
PostScript based PDF interpreter.
* This 10.01.1 release removes the "-dNEWPDF=false" command
line option to fall back to the deprecated, old PDF
interpreter.
* This 10.01.0 release removes the "-dNEWPDF=false" command
line option to fall back to the deprecated, old PDF
interpreter.
* This release officially deprecates the old Postscript
implementation of PDF, we will not be updating or maintaining
that code moving forward. The option to use the old PDF
implementation _**will**_ be removed in the next full release
(10.01.0)
* Important: This release includes the new PDF interpreter
(implemented in C rather than PostScript). It is both
integrated into Ghostscript (now ENABLED by default), and
available as a standalone, PDF only, binary. See
https://ghostscript.com/pdfi.html for more details.
* This also bundles the latest zlib (1.2.12) which addresses a
security issue (CVE-2018-25032)
* **Important**: This release includes the new PDF interpreter
(implemented in C rather than PostScript). It is both
integrated into Ghostscript (now **ENABLED** by default), and
available as a standalone, PDF only, binary. See
https://ghostscript.com/pdfi.html for more details.
- drop CVE-2023-28879.patch, CVE-2023-36664.patch,
CVE-2023-38559.patch, CVE-2023-43115.patch,
CVE-2023-46751.patch: upstream
OBS-URL: https://build.opensuse.org/package/show/Printing/ghostscript?expand=0&rev=171
2024-01-28 11:53:01 +01:00
%exclude %{_libdir} /ghostscript/%{version} /X11.so
2019-03-22 12:27:22 +01:00
%if 0%{?suse_version} < 1500
2019-02-12 11:26:47 +01:00
%dir %{_sysconfdir} /apparmor.d
2019-03-22 12:27:22 +01:00
%endif
%{_sysconfdir} /apparmor.d/ghostscript
2012-02-24 16:09:50 +01:00
%files x11
- update to 10.02.1:
* Patch release to address some security bugs
* This release (10.02.0) marks the final demise of the
PostScript based PDF interpreter.
* This 10.01.1 release removes the "-dNEWPDF=false" command
line option to fall back to the deprecated, old PDF
interpreter.
* This 10.01.0 release removes the "-dNEWPDF=false" command
line option to fall back to the deprecated, old PDF
interpreter.
* This release officially deprecates the old Postscript
implementation of PDF, we will not be updating or maintaining
that code moving forward. The option to use the old PDF
implementation _**will**_ be removed in the next full release
(10.01.0)
* Important: This release includes the new PDF interpreter
(implemented in C rather than PostScript). It is both
integrated into Ghostscript (now ENABLED by default), and
available as a standalone, PDF only, binary. See
https://ghostscript.com/pdfi.html for more details.
* This also bundles the latest zlib (1.2.12) which addresses a
security issue (CVE-2018-25032)
* **Important**: This release includes the new PDF interpreter
(implemented in C rather than PostScript). It is both
integrated into Ghostscript (now **ENABLED** by default), and
available as a standalone, PDF only, binary. See
https://ghostscript.com/pdfi.html for more details.
- drop CVE-2023-28879.patch, CVE-2023-36664.patch,
CVE-2023-38559.patch, CVE-2023-43115.patch,
CVE-2023-46751.patch: upstream
OBS-URL: https://build.opensuse.org/package/show/Printing/ghostscript?expand=0&rev=171
2024-01-28 11:53:01 +01:00
%{_libdir} /ghostscript/%{version} /X11.so
Accepting request 989807 from home:dirkmueller:Factory
- update to 9.56.1:
* New PDF Interpreter: This is an entirely new implementation written in C
(rather than PostScript, as before)
* Calling Ghostscript via the GS API is now thread safe. The one limitation
is that the X11 devices for Unix-like systems (x11, x11alpha, x11cmyk,
x11cmyk2, x11cmyk4, x11cmyk8, x11gray2, x11gray4 and x11mono) cannot be
made thread safe, due to their interaction with the X11 server, those
devices have been modified to only allow one instance in an executable.
* The PSD output device now writes ICC profiles to their output files, for
improved color fidelity.
* Our efforts in code hygiene and maintainability continue.
* The usual round of bug fixes, compatibility changes, and incremental
improvements.
* We have added the capability to build with the Tesseract OCR
engine. In such a build, new devices are available (pdfocr8/pdfocr24/
pdfocr32) which render the output file to an image, OCR that image, and
output the image "wrapped" up as a PDF file, with the OCR generated text
information included as "invisible" text (in PDF terms, text rendering mode
3).
- drop CVE-2021-3781.patch, CVE-2021-45949.patch: upstream
- use _multibuild
OBS-URL: https://build.opensuse.org/request/show/989807
OBS-URL: https://build.opensuse.org/package/show/Printing/ghostscript?expand=0&rev=155
2022-07-18 16:12:49 +02:00
%endif
2012-02-24 16:09:50 +01:00
%files devel
%{_includedir} /ghostscript/
%{_libdir} /libgs.so
2013-01-04 10:02:55 +01:00
%{_includedir} /ijs/
%{_libdir} /libijs.so
%{_libdir} /pkgconfig/ijs.pc
2012-02-24 16:09:50 +01:00
%changelog