Accepting request 341659 from home:jsmeix:branches:Printing

Ghostscript 9.18 upstream fix for http://bugs.ghostscript.com/show_bug.cgi?id=696301 so that gserrors.h is again installed that is needed by several other packages to build (in particular texlive, libspectre, gimp,...)

OBS-URL: https://build.opensuse.org/request/show/341659
OBS-URL: https://build.opensuse.org/package/show/Printing/ghostscript?expand=0&rev=59
This commit is contained in:
Johannes Meixner 2015-10-30 11:46:47 +00:00 committed by Git OBS Bridge
parent 1bb98aba3f
commit 825afa6f1c
5 changed files with 50 additions and 0 deletions

View File

@ -1,3 +1,11 @@
-------------------------------------------------------------------
Fri Oct 30 11:28:14 CET 2015 - jsmeix@suse.de
- install_gserrors.h.patch installs gserrors.h to fix
http://bugs.ghostscript.com/show_bug.cgi?id=696301
because without gserrors.h several other packages fail to build
(in particular texlive, libspectre, gimp,...).
-------------------------------------------------------------------
Mon Oct 12 10:26:52 CEST 2015 - jsmeix@suse.de

View File

@ -68,6 +68,12 @@ Source0: http://downloads.ghostscript.com/public/ghostscript-%{version}.t
# so that they also work when -dFirstPage/-dLastPage is used,
# see http://bugs.ghostscript.com/show_bug.cgi?id=696246
Patch1: fix_ijs_and_x11_for_FirstPage_and_LastPage.patch
# Patch2 install_gserrors.h.patch
# installs gserrors.h to fix
# http://bugs.ghostscript.com/show_bug.cgi?id=696301
# because without gserrors.h several other packages fail to build
# (in particular texlive, libspectre, gimp,...)
Patch2: install_gserrors.h.patch
# Source10...Source99 is for sources from SUSE which are intended for upstream:
# Patch10...Patch99 is for patches from SUSE which are intended for upstream:
# Patch11 ppc64le-support.patch is a remainder of the previous patch
@ -150,6 +156,12 @@ This package contains the development files for Minimal Ghostscript.
# so that they also work when -dFirstPage/-dLastPage is used,
# see http://bugs.ghostscript.com/show_bug.cgi?id=696246
%patch1 -b fix_ijs_and_x11_for_FirstPage_and_LastPage.orig
# Patch2 install_gserrors.h.patch
# installs gserrors.h to fix
# http://bugs.ghostscript.com/show_bug.cgi?id=696301
# because without gserrors.h several other packages fail to build
# (in particular texlive, libspectre, gimp,...)
%patch2 -b install_gserrors.h.orig
# Patch11 ppc64le-support.patch is a remainder of the previous patch
# now the hunk for LCMS (lcms/include/lcms.h) is removed
# because LCMS 1.x is removed since Ghostscript 9.16

View File

@ -1,3 +1,11 @@
-------------------------------------------------------------------
Fri Oct 30 11:28:14 CET 2015 - jsmeix@suse.de
- install_gserrors.h.patch installs gserrors.h to fix
http://bugs.ghostscript.com/show_bug.cgi?id=696301
because without gserrors.h several other packages fail to build
(in particular texlive, libspectre, gimp,...).
-------------------------------------------------------------------
Mon Oct 12 10:26:52 CEST 2015 - jsmeix@suse.de

View File

@ -88,6 +88,12 @@ Source0: http://downloads.ghostscript.com/public/ghostscript-%{version}.t
# so that they also work when -dFirstPage/-dLastPage is used,
# see http://bugs.ghostscript.com/show_bug.cgi?id=696246
Patch1: fix_ijs_and_x11_for_FirstPage_and_LastPage.patch
# Patch2 install_gserrors.h.patch
# installs gserrors.h to fix
# http://bugs.ghostscript.com/show_bug.cgi?id=696301
# because without gserrors.h several other packages fail to build
# (in particular texlive, libspectre, gimp,...)
Patch2: install_gserrors.h.patch
# Source10...Source99 is for sources from SUSE which are intended for upstream:
# Patch10...Patch99 is for patches from SUSE which are intended for upstream:
# Patch11 ppc64le-support.patch is a remainder of the previous patch
@ -287,6 +293,12 @@ This package contains the development files for Ghostscript.
# so that they also work when -dFirstPage/-dLastPage is used,
# see http://bugs.ghostscript.com/show_bug.cgi?id=696246
%patch1 -b fix_ijs_and_x11_for_FirstPage_and_LastPage.orig
# Patch2 install_gserrors.h.patch
# installs gserrors.h to fix
# http://bugs.ghostscript.com/show_bug.cgi?id=696301
# because without gserrors.h several other packages fail to build
# (in particular texlive, libspectre, gimp,...)
%patch2 -b install_gserrors.h.orig
# Patch11 ppc64le-support.patch is a remainder of the previous patch
# now the hunk for LCMS (lcms/include/lcms.h) is removed
# because LCMS 1.x is removed since Ghostscript 9.16

10
install_gserrors.h.patch Normal file
View File

@ -0,0 +1,10 @@
--- base/unix-dll.mak.orig 2015-10-05 10:21:11.000000000 +0200
+++ base/unix-dll.mak 2015-10-30 11:22:12.000000000 +0100
@@ -184,6 +184,7 @@ install-so-subtarget: so-subtarget
ln -s $(GS_SONAME_MAJOR_MINOR) $(DESTDIR)$(libdir)/$(GS_SONAME_MAJOR)
$(INSTALL_DATA) $(PSSRC)iapi.h $(DESTDIR)$(gsincludedir)iapi.h
$(INSTALL_DATA) $(PSSRC)ierrors.h $(DESTDIR)$(gsincludedir)ierrors.h
+ $(INSTALL_DATA) $(GLSRC)gserrors.h $(DESTDIR)$(gsincludedir)gserrors.h
$(INSTALL_DATA) $(DEVSRC)gdevdsp.h $(DESTDIR)$(gsincludedir)gdevdsp.h
soinstall: