Accepting request 375066 from home:jsmeix:branches:Printing
Version upgrade to 9.19rc1 (first release candidate for 9.18) OBS-URL: https://build.opensuse.org/request/show/375066 OBS-URL: https://build.opensuse.org/package/show/Printing/ghostscript?expand=0&rev=65
This commit is contained in:
parent
5b0baf7ad9
commit
f5c3d843dc
11
add_brackets_for_old_autoconf.patch
Normal file
11
add_brackets_for_old_autoconf.patch
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
--- configure.ac.orig 2016-03-14 11:17:22.000000000 +0100
|
||||||
|
+++ configure.ac 2016-03-18 10:09:02.000000000 +0100
|
||||||
|
@@ -393,7 +393,7 @@ if test "x$ac_cv_header_inttypes_h" = xy
|
||||||
|
fi
|
||||||
|
|
||||||
|
AC_CHECK_LIB([dl], [dlopen],
|
||||||
|
- AC_CHECK_HEADER([dlfcn.h], [GCFLAGS="$GCFLAGS -DHAVE_LIBDL=1";LIBS="-ldl $LIBS"])
|
||||||
|
+ [AC_CHECK_HEADER([dlfcn.h], [GCFLAGS="$GCFLAGS -DHAVE_LIBDL=1";LIBS="-ldl $LIBS"])]
|
||||||
|
)
|
||||||
|
echo $LIBS
|
||||||
|
|
@ -1,47 +0,0 @@
|
|||||||
--- devices/gdevijs.c.orig 2015-10-05 10:21:11.000000000 +0200
|
|
||||||
+++ devices/gdevijs.c 2015-10-12 10:17:53.000000000 +0200
|
|
||||||
@@ -827,6 +827,10 @@ gsijs_open(gx_device *dev)
|
|
||||||
if (code < 0)
|
|
||||||
return code;
|
|
||||||
|
|
||||||
+ while (dev->child)
|
|
||||||
+ dev = dev->child;
|
|
||||||
+ ijsdev = (gx_device_ijs *)dev;
|
|
||||||
+
|
|
||||||
if (use_outputfd) {
|
|
||||||
/* Note: dup() may not be portable to all interesting IJS
|
|
||||||
platforms. In that case, this branch should be #ifdef'ed out.
|
|
||||||
--- base/gdevdflt.c.orig 2015-10-05 10:21:11.000000000 +0200
|
|
||||||
+++ base/gdevdflt.c 2015-10-12 10:21:11.000000000 +0200
|
|
||||||
@@ -17,6 +17,8 @@
|
|
||||||
#include "math_.h"
|
|
||||||
#include "memory_.h"
|
|
||||||
#include "gx.h"
|
|
||||||
+#include "gsstruct.h"
|
|
||||||
+#include "gxobj.h"
|
|
||||||
#include "gserrors.h"
|
|
||||||
#include "gsropt.h"
|
|
||||||
#include "gxcomp.h"
|
|
||||||
@@ -1294,6 +1296,11 @@ int gx_device_subclass(gx_device *dev_to
|
|
||||||
ptr1 = ((char *)new_prototype) + sizeof(gx_device);
|
|
||||||
memcpy(ptr, ptr1, new_prototype->params_size - sizeof(gx_device));
|
|
||||||
|
|
||||||
+ /* We have to patch up the "type" parameters that the memory manage/garbage
|
|
||||||
+ * collector will use, as well.
|
|
||||||
+ */
|
|
||||||
+ (((obj_header_t *)dev_to_subclass) - 1)->o_type = new_prototype->stype;
|
|
||||||
+
|
|
||||||
/* If the original device's stype structure was dynamically allocated, we need
|
|
||||||
* to 'fixup' the contents, it's procs need to point to the new device's procs
|
|
||||||
* for instance.
|
|
||||||
--- base/lib.mak.orig 2015-10-05 10:21:11.000000000 +0200
|
|
||||||
+++ base/lib.mak 2015-10-12 10:22:51.000000000 +0200
|
|
||||||
@@ -1210,7 +1210,7 @@ $(GLOBJ)gdevdsha.$(OBJ) : $(GLSRC)gdevds
|
|
||||||
|
|
||||||
$(GLOBJ)gdevdflt.$(OBJ) : $(GLSRC)gdevdflt.c $(AK) $(gx_h)\
|
|
||||||
$(gserrors_h) $(gsropt_h) $(gxcomp_h) $(gxdevice_h) $(gxdevsop_h) $(math__h)\
|
|
||||||
- $(MAKEDIRS)
|
|
||||||
+ $(gsstruct_h) $(gxobj_h) $(MAKEDIRS)
|
|
||||||
$(GLCC) $(GLO_)gdevdflt.$(OBJ) $(C_) $(GLSRC)gdevdflt.c
|
|
||||||
|
|
||||||
$(GLOBJ)gdevdgbr.$(OBJ) : $(GLSRC)gdevdgbr.c $(AK) $(gx_h)\
|
|
15
fix_make_install.patch
Normal file
15
fix_make_install.patch
Normal file
@ -0,0 +1,15 @@
|
|||||||
|
--- base/unixinst.mak.orig 2016-03-14 11:17:22.000000000 +0100
|
||||||
|
+++ base/unixinst.mak 2016-03-17 14:01:35.000000000 +0100
|
||||||
|
@@ -49,6 +49,12 @@ install-gxps: $(GXPS_XE) install-exec-bi
|
||||||
|
install-:
|
||||||
|
$(NO_OP)
|
||||||
|
|
||||||
|
+install-no_gpcl6:
|
||||||
|
+ $(NO_OP)
|
||||||
|
+
|
||||||
|
+install-no_gxps:
|
||||||
|
+ $(NO_OP)
|
||||||
|
+
|
||||||
|
install-scripts: $(PSLIBDIR)/gsnd $(UNIXINST_MAK) $(MAKEDIRS)
|
||||||
|
-mkdir -p $(DESTDIR)$(datadir)
|
||||||
|
-mkdir -p $(DESTDIR)$(gsdir)
|
@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:5fc93079749a250be5404c465943850e3ed5ffbc0d5c07e10c7c5ee8afbbdb1b
|
|
||||||
size 33727053
|
|
3
ghostscript-9.19rc1.tar.gz
Normal file
3
ghostscript-9.19rc1.tar.gz
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:c3ac33df8d15bc05acc2666841386d237c8626651bc5d9471bd3b0793c858318
|
||||||
|
size 33951104
|
@ -1,3 +1,19 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri Mar 18 10:13:23 CET 2016 - jsmeix@suse.de
|
||||||
|
|
||||||
|
- Version upgrade to 9.19rc1 (first release candidate for 9.18).
|
||||||
|
For details see the News.htm and History9.htm files.
|
||||||
|
Regarding installing packages (in particular release candidates)
|
||||||
|
from the openSUSE build service development project "Printing"
|
||||||
|
see https://build.opensuse.org/project/show/Printing
|
||||||
|
- fix_make_install.patch fixes an install error and
|
||||||
|
add_brackets_for_old_autoconf.patch fixes an autoconf error
|
||||||
|
see http://bugs.ghostscript.com/show_bug.cgi?id=696665
|
||||||
|
- fix_ijs_and_x11_for_FirstPage_and_LastPage.patch is no longer
|
||||||
|
needed because it is fixed in the upstream sources.
|
||||||
|
- install_gserrors.h.patch is no longer needed because it is fixed
|
||||||
|
in the upstream sources.
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Wed Nov 18 11:46:58 UTC 2015 - schwab@suse.de
|
Wed Nov 18 11:46:58 UTC 2015 - schwab@suse.de
|
||||||
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package ghostscript-mini
|
# spec file for package ghostscript-mini
|
||||||
#
|
#
|
||||||
# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
|
# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||||
#
|
#
|
||||||
# All modifications and additions to the file contributed by third parties
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@ -36,20 +36,20 @@ Url: http://www.ghostscript.com/
|
|||||||
# But only with the alphabetic prefix "9.pre15rc1" would be older than the previous version number "9.14"
|
# But only with the alphabetic prefix "9.pre15rc1" would be older than the previous version number "9.14"
|
||||||
# because rpmvercmp would treat 9.pre15rc1 as 9.pre.15.rc1 and letters are older than numbers
|
# because rpmvercmp would treat 9.pre15rc1 as 9.pre.15.rc1 and letters are older than numbers
|
||||||
# so that we keep additionally the previous version number to upgrade from the previous version:
|
# so that we keep additionally the previous version number to upgrade from the previous version:
|
||||||
#Version: 9.16pre18rc2
|
Version: 9.18pre19rc1
|
||||||
# Normal version for Ghostscript releases is the upstream version:
|
|
||||||
Version: 9.18
|
|
||||||
Release: 0
|
Release: 0
|
||||||
|
# Normal version for Ghostscript releases is the upstream version:
|
||||||
|
#Version: 9.18
|
||||||
# tarball_version is used below to specify the directory via "setup -n":
|
# tarball_version is used below to specify the directory via "setup -n":
|
||||||
# Special tarball_version needed for Ghostscript release candidates e.g. "define tarball_version 9.15rc1".
|
# Special tarball_version needed for Ghostscript release candidates e.g. "define tarball_version 9.15rc1".
|
||||||
# For Ghostscript releases tarball_version and version are the same (i.e. the upstream version):
|
# For Ghostscript releases tarball_version and version are the same (i.e. the upstream version):
|
||||||
%define tarball_version %{version}
|
#define tarball_version %{version}
|
||||||
#define tarball_version 9.18rc2
|
%define tarball_version 9.19rc1
|
||||||
# built_version is used below in the install and files sections:
|
# built_version is used below in the install and files sections:
|
||||||
# Separated built_version needed in case of Ghostscript release candidates e.g. "define built_version 9.15".
|
# Separated built_version needed in case of Ghostscript release candidates e.g. "define built_version 9.15".
|
||||||
# For Ghostscript releases built_version and version are the same (i.e. the upstream version):
|
# For Ghostscript releases built_version and version are the same (i.e. the upstream version):
|
||||||
%define built_version %{version}
|
#define built_version %{version}
|
||||||
#define built_version 9.18
|
%define built_version 9.19
|
||||||
# Source0...Source9 is for sources from upstream:
|
# Source0...Source9 is for sources from upstream:
|
||||||
# Special URLs for Ghostscript release candidates:
|
# Special URLs for Ghostscript release candidates:
|
||||||
# URL for Source0: http://downloads.ghostscript.com/public/.release_candidate/ghostscript-9.18rc2.tar.gz
|
# URL for Source0: http://downloads.ghostscript.com/public/.release_candidate/ghostscript-9.18rc2.tar.gz
|
||||||
@ -58,23 +58,24 @@ Release: 0
|
|||||||
# or http://downloads.ghostscript.com/public/.release_candidate/MD5SUMS
|
# or http://downloads.ghostscript.com/public/.release_candidate/MD5SUMS
|
||||||
# MD5 checksum for Source0: 7cea0466e845de0a05e60b89225ab0d3
|
# MD5 checksum for Source0: 7cea0466e845de0a05e60b89225ab0d3
|
||||||
#Source0: http://downloads.ghostscript.com/public/.release_candidate/ghostscript-9.18rc2.tar.gz
|
#Source0: http://downloads.ghostscript.com/public/.release_candidate/ghostscript-9.18rc2.tar.gz
|
||||||
|
# URL for Source0: https://github.com/ArtifexSoftware/ghostpdl-downloads/releases/tag/gs919rc1
|
||||||
|
Source0: ghostscript-9.19rc1.tar.gz
|
||||||
# Normal URLs for Ghostscript releases:
|
# Normal URLs for Ghostscript releases:
|
||||||
# URL for Source0: http://downloads.ghostscript.com/public/ghostscript-9.18.tar.gz
|
# URL for Source0: http://downloads.ghostscript.com/public/ghostscript-9.18.tar.gz
|
||||||
# URL for MD5 checksums: http://downloads.ghostscript.com/public/MD5SUMS
|
# URL for MD5 checksums: http://downloads.ghostscript.com/public/MD5SUMS
|
||||||
# MD5 checksum for Source0: 33a47567d7a591c00a253caddd12a88a
|
# MD5 checksum for Source0: 33a47567d7a591c00a253caddd12a88a
|
||||||
Source0: http://downloads.ghostscript.com/public/ghostscript-%{version}.tar.gz
|
#Source0: http://downloads.ghostscript.com/public/ghostscript-%{version}.tar.gz
|
||||||
# Patch0...Patch9 is for patches from upstream:
|
# Patch0...Patch9 is for patches from upstream:
|
||||||
# Patch1 fix_ijs_and_x11_for_FirstPage_and_LastPage.patch
|
# Patch1 fix_make_install.patch fixes the install error:
|
||||||
# fixes the Ghostscript device ijs and the x11* devices
|
# make: *** No rule to make target 'install-no_gpcl6', needed by 'install'. Stop.
|
||||||
# so that they also work when -dFirstPage/-dLastPage is used,
|
# see http://bugs.ghostscript.com/show_bug.cgi?id=696665
|
||||||
# see http://bugs.ghostscript.com/show_bug.cgi?id=696246
|
Patch1: fix_make_install.patch
|
||||||
Patch1: fix_ijs_and_x11_for_FirstPage_and_LastPage.patch
|
# Patch2 add_brackets_for_old_autoconf.patch fixes the configure error:
|
||||||
# Patch2 install_gserrors.h.patch
|
# checking for dlopen in -ldl... yes
|
||||||
# installs gserrors.h to fix
|
# ./configure: line 6915: syntax error near unexpected token `newline'
|
||||||
# http://bugs.ghostscript.com/show_bug.cgi?id=696301
|
# ./configure: line 6915: ` yes:no:' error: Bad exit status from /var/tmp/rpm-tmp.25116 (%build)
|
||||||
# because without gserrors.h several other packages fail to build
|
# see http://bugs.ghostscript.com/show_bug.cgi?id=696665
|
||||||
# (in particular texlive, libspectre, gimp,...)
|
Patch2: add_brackets_for_old_autoconf.patch
|
||||||
Patch2: install_gserrors.h.patch
|
|
||||||
# Source10...Source99 is for sources from SUSE which are intended for 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:
|
# Patch10...Patch99 is for patches from SUSE which are intended for upstream:
|
||||||
# Patch11 ppc64le-support.patch is a remainder of the previous patch
|
# Patch11 ppc64le-support.patch is a remainder of the previous patch
|
||||||
@ -156,17 +157,16 @@ This package contains the development files for Minimal Ghostscript.
|
|||||||
# Be quiet when unpacking and
|
# Be quiet when unpacking and
|
||||||
# use a directory name matching Source0 to make it work also for ghostscript-mini:
|
# use a directory name matching Source0 to make it work also for ghostscript-mini:
|
||||||
%setup -q -n ghostscript-%{tarball_version}
|
%setup -q -n ghostscript-%{tarball_version}
|
||||||
# Patch1 fix_ijs_and_x11_for_FirstPage_and_LastPage.patch
|
# Patch1 fix_make_install.patch fixes the install error:
|
||||||
# fixes the Ghostscript device ijs and the x11* devices
|
# make: *** No rule to make target 'install-no_gpcl6', needed by 'install'. Stop.
|
||||||
# so that they also work when -dFirstPage/-dLastPage is used,
|
# see http://bugs.ghostscript.com/show_bug.cgi?id=696665
|
||||||
# see http://bugs.ghostscript.com/show_bug.cgi?id=696246
|
%patch1 -b fix_make_install
|
||||||
%patch1 -b fix_ijs_and_x11_for_FirstPage_and_LastPage.orig
|
# Patch2 add_brackets_for_old_autoconf.patch fixes the configure error:
|
||||||
# Patch2 install_gserrors.h.patch
|
# checking for dlopen in -ldl... yes
|
||||||
# installs gserrors.h to fix
|
# ./configure: line 6915: syntax error near unexpected token `newline'
|
||||||
# http://bugs.ghostscript.com/show_bug.cgi?id=696301
|
# ./configure: line 6915: ` yes:no:' error: Bad exit status from /var/tmp/rpm-tmp.25116 (%build)
|
||||||
# because without gserrors.h several other packages fail to build
|
# see http://bugs.ghostscript.com/show_bug.cgi?id=696665
|
||||||
# (in particular texlive, libspectre, gimp,...)
|
%patch2 -b add_brackets_for_old_autoconf
|
||||||
%patch2 -b install_gserrors.h.orig
|
|
||||||
# Patch11 ppc64le-support.patch is a remainder of the previous patch
|
# Patch11 ppc64le-support.patch is a remainder of the previous patch
|
||||||
# now the hunk for LCMS (lcms/include/lcms.h) is removed
|
# now the hunk for LCMS (lcms/include/lcms.h) is removed
|
||||||
# because LCMS 1.x is removed since Ghostscript 9.16
|
# because LCMS 1.x is removed since Ghostscript 9.16
|
||||||
@ -361,7 +361,6 @@ exit 0
|
|||||||
%doc %{_mandir}/man1/ps2pdfwr.1.gz
|
%doc %{_mandir}/man1/ps2pdfwr.1.gz
|
||||||
%doc %{_mandir}/man1/ps2ps.1.gz
|
%doc %{_mandir}/man1/ps2ps.1.gz
|
||||||
%doc %{_mandir}/man1/wftopfa.1.gz
|
%doc %{_mandir}/man1/wftopfa.1.gz
|
||||||
%doc %{_mandir}/man1/ijs-config.1.gz
|
|
||||||
%doc %{_mandir}/de/man1/dvipdf.1.gz
|
%doc %{_mandir}/de/man1/dvipdf.1.gz
|
||||||
%doc %{_mandir}/de/man1/eps2eps.1.gz
|
%doc %{_mandir}/de/man1/eps2eps.1.gz
|
||||||
%doc %{_mandir}/de/man1/font2c.1.gz
|
%doc %{_mandir}/de/man1/font2c.1.gz
|
||||||
@ -390,7 +389,6 @@ exit 0
|
|||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%{_includedir}/ghostscript/
|
%{_includedir}/ghostscript/
|
||||||
%{_libdir}/libgs.so
|
%{_libdir}/libgs.so
|
||||||
%{_bindir}/ijs-config
|
|
||||||
%{_includedir}/ijs/
|
%{_includedir}/ijs/
|
||||||
%{_libdir}/libijs.so
|
%{_libdir}/libijs.so
|
||||||
%{_libdir}/pkgconfig/ijs.pc
|
%{_libdir}/pkgconfig/ijs.pc
|
||||||
|
@ -1,3 +1,19 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri Mar 18 10:13:23 CET 2016 - jsmeix@suse.de
|
||||||
|
|
||||||
|
- Version upgrade to 9.19rc1 (first release candidate for 9.18).
|
||||||
|
For details see the News.htm and History9.htm files.
|
||||||
|
Regarding installing packages (in particular release candidates)
|
||||||
|
from the openSUSE build service development project "Printing"
|
||||||
|
see https://build.opensuse.org/project/show/Printing
|
||||||
|
- fix_make_install.patch fixes an install error and
|
||||||
|
add_brackets_for_old_autoconf.patch fixes an autoconf error
|
||||||
|
see http://bugs.ghostscript.com/show_bug.cgi?id=696665
|
||||||
|
- fix_ijs_and_x11_for_FirstPage_and_LastPage.patch is no longer
|
||||||
|
needed because it is fixed in the upstream sources.
|
||||||
|
- install_gserrors.h.patch is no longer needed because it is fixed
|
||||||
|
in the upstream sources.
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Wed Nov 18 11:46:58 UTC 2015 - schwab@suse.de
|
Wed Nov 18 11:46:58 UTC 2015 - schwab@suse.de
|
||||||
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package ghostscript
|
# spec file for package ghostscript
|
||||||
#
|
#
|
||||||
# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
|
# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||||
#
|
#
|
||||||
# All modifications and additions to the file contributed by third parties
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@ -56,20 +56,20 @@ Url: http://www.ghostscript.com/
|
|||||||
# But only with the alphabetic prefix "9.pre15rc1" would be older than the previous version number "9.14"
|
# But only with the alphabetic prefix "9.pre15rc1" would be older than the previous version number "9.14"
|
||||||
# because rpmvercmp would treat 9.pre15rc1 as 9.pre.15.rc1 and letters are older than numbers
|
# because rpmvercmp would treat 9.pre15rc1 as 9.pre.15.rc1 and letters are older than numbers
|
||||||
# so that we keep additionally the previous version number to upgrade from the previous version:
|
# so that we keep additionally the previous version number to upgrade from the previous version:
|
||||||
#Version: 9.16pre18rc2
|
Version: 9.18pre19rc1
|
||||||
# Normal version for Ghostscript releases is the upstream version:
|
|
||||||
Version: 9.18
|
|
||||||
Release: 0
|
Release: 0
|
||||||
|
# Normal version for Ghostscript releases is the upstream version:
|
||||||
|
#Version: 9.18
|
||||||
# tarball_version is used below to specify the directory via "setup -n":
|
# tarball_version is used below to specify the directory via "setup -n":
|
||||||
# Special tarball_version needed for Ghostscript release candidates e.g. "define tarball_version 9.15rc1".
|
# Special tarball_version needed for Ghostscript release candidates e.g. "define tarball_version 9.15rc1".
|
||||||
# For Ghostscript releases tarball_version and version are the same (i.e. the upstream version):
|
# For Ghostscript releases tarball_version and version are the same (i.e. the upstream version):
|
||||||
%define tarball_version %{version}
|
#define tarball_version %{version}
|
||||||
#define tarball_version 9.18rc2
|
%define tarball_version 9.19rc1
|
||||||
# built_version is used below in the install and files sections:
|
# built_version is used below in the install and files sections:
|
||||||
# Separated built_version needed in case of Ghostscript release candidates e.g. "define built_version 9.15".
|
# Separated built_version needed in case of Ghostscript release candidates e.g. "define built_version 9.15".
|
||||||
# For Ghostscript releases built_version and version are the same (i.e. the upstream version):
|
# For Ghostscript releases built_version and version are the same (i.e. the upstream version):
|
||||||
%define built_version %{version}
|
#define built_version %{version}
|
||||||
#define built_version 9.18
|
%define built_version 9.19
|
||||||
# Source0...Source9 is for sources from upstream:
|
# Source0...Source9 is for sources from upstream:
|
||||||
# Special URLs for Ghostscript release candidates:
|
# Special URLs for Ghostscript release candidates:
|
||||||
# URL for Source0: http://downloads.ghostscript.com/public/.release_candidate/ghostscript-9.18rc2.tar.gz
|
# URL for Source0: http://downloads.ghostscript.com/public/.release_candidate/ghostscript-9.18rc2.tar.gz
|
||||||
@ -78,23 +78,24 @@ Release: 0
|
|||||||
# or http://downloads.ghostscript.com/public/.release_candidate/MD5SUMS
|
# or http://downloads.ghostscript.com/public/.release_candidate/MD5SUMS
|
||||||
# MD5 checksum for Source0: 7cea0466e845de0a05e60b89225ab0d3
|
# MD5 checksum for Source0: 7cea0466e845de0a05e60b89225ab0d3
|
||||||
#Source0: http://downloads.ghostscript.com/public/.release_candidate/ghostscript-9.18rc2.tar.gz
|
#Source0: http://downloads.ghostscript.com/public/.release_candidate/ghostscript-9.18rc2.tar.gz
|
||||||
|
# URL for Source0: https://github.com/ArtifexSoftware/ghostpdl-downloads/releases/tag/gs919rc1
|
||||||
|
Source0: ghostscript-9.19rc1.tar.gz
|
||||||
# Normal URLs for Ghostscript releases:
|
# Normal URLs for Ghostscript releases:
|
||||||
# URL for Source0: http://downloads.ghostscript.com/public/ghostscript-9.18.tar.gz
|
# URL for Source0: http://downloads.ghostscript.com/public/ghostscript-9.18.tar.gz
|
||||||
# URL for MD5 checksums: http://downloads.ghostscript.com/public/MD5SUMS
|
# URL for MD5 checksums: http://downloads.ghostscript.com/public/MD5SUMS
|
||||||
# MD5 checksum for Source0: 33a47567d7a591c00a253caddd12a88a
|
# MD5 checksum for Source0: 33a47567d7a591c00a253caddd12a88a
|
||||||
Source0: http://downloads.ghostscript.com/public/ghostscript-%{version}.tar.gz
|
#Source0: http://downloads.ghostscript.com/public/ghostscript-%{version}.tar.gz
|
||||||
# Patch0...Patch9 is for patches from upstream:
|
# Patch0...Patch9 is for patches from upstream:
|
||||||
# Patch1 fix_ijs_and_x11_for_FirstPage_and_LastPage.patch
|
# Patch1 fix_make_install.patch fixes the install error:
|
||||||
# fixes the Ghostscript device ijs and the x11* devices
|
# make: *** No rule to make target 'install-no_gpcl6', needed by 'install'. Stop.
|
||||||
# so that they also work when -dFirstPage/-dLastPage is used,
|
# see http://bugs.ghostscript.com/show_bug.cgi?id=696665
|
||||||
# see http://bugs.ghostscript.com/show_bug.cgi?id=696246
|
Patch1: fix_make_install.patch
|
||||||
Patch1: fix_ijs_and_x11_for_FirstPage_and_LastPage.patch
|
# Patch2 add_brackets_for_old_autoconf.patch fixes the configure error:
|
||||||
# Patch2 install_gserrors.h.patch
|
# checking for dlopen in -ldl... yes
|
||||||
# installs gserrors.h to fix
|
# ./configure: line 6915: syntax error near unexpected token `newline'
|
||||||
# http://bugs.ghostscript.com/show_bug.cgi?id=696301
|
# ./configure: line 6915: ` yes:no:' error: Bad exit status from /var/tmp/rpm-tmp.25116 (%build)
|
||||||
# because without gserrors.h several other packages fail to build
|
# see http://bugs.ghostscript.com/show_bug.cgi?id=696665
|
||||||
# (in particular texlive, libspectre, gimp,...)
|
Patch2: add_brackets_for_old_autoconf.patch
|
||||||
Patch2: install_gserrors.h.patch
|
|
||||||
# Source10...Source99 is for sources from SUSE which are intended for 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:
|
# Patch10...Patch99 is for patches from SUSE which are intended for upstream:
|
||||||
# Patch11 ppc64le-support.patch is a remainder of the previous patch
|
# Patch11 ppc64le-support.patch is a remainder of the previous patch
|
||||||
@ -292,17 +293,16 @@ This package contains the development files for Ghostscript.
|
|||||||
# Be quiet when unpacking and
|
# Be quiet when unpacking and
|
||||||
# use a directory name matching Source0 to make it work also for ghostscript-mini:
|
# use a directory name matching Source0 to make it work also for ghostscript-mini:
|
||||||
%setup -q -n ghostscript-%{tarball_version}
|
%setup -q -n ghostscript-%{tarball_version}
|
||||||
# Patch1 fix_ijs_and_x11_for_FirstPage_and_LastPage.patch
|
# Patch1 fix_make_install.patch fixes the install error:
|
||||||
# fixes the Ghostscript device ijs and the x11* devices
|
# make: *** No rule to make target 'install-no_gpcl6', needed by 'install'. Stop.
|
||||||
# so that they also work when -dFirstPage/-dLastPage is used,
|
# see http://bugs.ghostscript.com/show_bug.cgi?id=696665
|
||||||
# see http://bugs.ghostscript.com/show_bug.cgi?id=696246
|
%patch1 -b fix_make_install
|
||||||
%patch1 -b fix_ijs_and_x11_for_FirstPage_and_LastPage.orig
|
# Patch2 add_brackets_for_old_autoconf.patch fixes the configure error:
|
||||||
# Patch2 install_gserrors.h.patch
|
# checking for dlopen in -ldl... yes
|
||||||
# installs gserrors.h to fix
|
# ./configure: line 6915: syntax error near unexpected token `newline'
|
||||||
# http://bugs.ghostscript.com/show_bug.cgi?id=696301
|
# ./configure: line 6915: ` yes:no:' error: Bad exit status from /var/tmp/rpm-tmp.25116 (%build)
|
||||||
# because without gserrors.h several other packages fail to build
|
# see http://bugs.ghostscript.com/show_bug.cgi?id=696665
|
||||||
# (in particular texlive, libspectre, gimp,...)
|
%patch2 -b add_brackets_for_old_autoconf
|
||||||
%patch2 -b install_gserrors.h.orig
|
|
||||||
# Patch11 ppc64le-support.patch is a remainder of the previous patch
|
# Patch11 ppc64le-support.patch is a remainder of the previous patch
|
||||||
# now the hunk for LCMS (lcms/include/lcms.h) is removed
|
# now the hunk for LCMS (lcms/include/lcms.h) is removed
|
||||||
# because LCMS 1.x is removed since Ghostscript 9.16
|
# because LCMS 1.x is removed since Ghostscript 9.16
|
||||||
@ -497,7 +497,6 @@ exit 0
|
|||||||
%doc %{_mandir}/man1/ps2pdfwr.1.gz
|
%doc %{_mandir}/man1/ps2pdfwr.1.gz
|
||||||
%doc %{_mandir}/man1/ps2ps.1.gz
|
%doc %{_mandir}/man1/ps2ps.1.gz
|
||||||
%doc %{_mandir}/man1/wftopfa.1.gz
|
%doc %{_mandir}/man1/wftopfa.1.gz
|
||||||
%doc %{_mandir}/man1/ijs-config.1.gz
|
|
||||||
%doc %{_mandir}/de/man1/dvipdf.1.gz
|
%doc %{_mandir}/de/man1/dvipdf.1.gz
|
||||||
%doc %{_mandir}/de/man1/eps2eps.1.gz
|
%doc %{_mandir}/de/man1/eps2eps.1.gz
|
||||||
%doc %{_mandir}/de/man1/font2c.1.gz
|
%doc %{_mandir}/de/man1/font2c.1.gz
|
||||||
@ -531,7 +530,6 @@ exit 0
|
|||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%{_includedir}/ghostscript/
|
%{_includedir}/ghostscript/
|
||||||
%{_libdir}/libgs.so
|
%{_libdir}/libgs.so
|
||||||
%{_bindir}/ijs-config
|
|
||||||
%{_includedir}/ijs/
|
%{_includedir}/ijs/
|
||||||
%{_libdir}/libijs.so
|
%{_libdir}/libijs.so
|
||||||
%{_libdir}/pkgconfig/ijs.pc
|
%{_libdir}/pkgconfig/ijs.pc
|
||||||
|
@ -1,10 +0,0 @@
|
|||||||
--- 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:
|
|
Loading…
Reference in New Issue
Block a user