Accepting request 211702 from home:jsmeix:branches:Printing
Added explanatory info what ppc64le-support.patch is about and added RPM recommends for cups-filters-ghostscript OBS-URL: https://build.opensuse.org/request/show/211702 OBS-URL: https://build.opensuse.org/package/show/Printing/ghostscript?expand=0&rev=34
This commit is contained in:
parent
5588774d21
commit
9960deeefc
@ -1,7 +1,18 @@
|
|||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Fri Dec 13 19:09:12 UTC 2013 - uweigand@de.ibm.com
|
Fri Dec 13 19:09:12 UTC 2013 - uweigand@de.ibm.com
|
||||||
|
|
||||||
- ppc64le-support.patch: Support powerpc64le-linux.
|
- ppc64le-support.patch from IBM fixes endianness
|
||||||
|
in lcms (the Little-CMS library) to support the new
|
||||||
|
architecture ppc64le (IBM Power PC Little Endian architecture)
|
||||||
|
because ppc64 is big-endian and ppc64le is little-endian
|
||||||
|
and lcms has a hard-coded check that assumes PowerPC
|
||||||
|
is always big-endian which is incorrect on ppc64le.
|
||||||
|
The fix is already in the main Little-CMS repository
|
||||||
|
by this Git commit
|
||||||
|
https://github.com/mm2/Little-CMS/commit/b4f5c91a2c1582bd284f0d0f49cb43e2c2235a79
|
||||||
|
(There are some cosmetic changes in the upstream patch.)
|
||||||
|
It is not yet in the imported copy in Ghostscript.
|
||||||
|
IBM will work with upstream to get the fix imported too.
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Tue Sep 3 16:26:46 CEST 2013 - jsmeix@suse.de
|
Tue Sep 3 16:26:46 CEST 2013 - jsmeix@suse.de
|
||||||
|
@ -15,7 +15,6 @@
|
|||||||
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
||||||
#
|
#
|
||||||
|
|
||||||
|
|
||||||
Name: ghostscript-mini
|
Name: ghostscript-mini
|
||||||
BuildRequires: freetype2-devel
|
BuildRequires: freetype2-devel
|
||||||
BuildRequires: libpng-devel
|
BuildRequires: libpng-devel
|
||||||
@ -60,6 +59,15 @@ Source0: http://downloads.ghostscript.com/public/ghostscript-%{version}.t
|
|||||||
# 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:
|
||||||
|
# Patch10 ppc64le-support.patch from IBM fixes endianness in lcms (the Little-CMS library)
|
||||||
|
# to support the new architecture ppc64le (IBM Power PC Little Endian architecture)
|
||||||
|
# because ppc64 is big-endian and ppc64le is little-endian and lcms has a hard-coded
|
||||||
|
# check that assumes PowerPC is always big-endian which is incorrect on ppc64le.
|
||||||
|
# The fix is already in the main Little-CMS repository by this Git commit
|
||||||
|
# https://github.com/mm2/Little-CMS/commit/b4f5c91a2c1582bd284f0d0f49cb43e2c2235a79
|
||||||
|
# (There are some cosmetic changes in the patch as it went upstream.)
|
||||||
|
# It is not yet in the imported copy in Ghostscript.
|
||||||
|
# IBM will work with upstream to get the fix imported too.
|
||||||
Patch10: ppc64le-support.patch
|
Patch10: ppc64le-support.patch
|
||||||
#
|
#
|
||||||
# Source100...Source999 is for sources from SUSE which are not intended for upstream:
|
# Source100...Source999 is for sources from SUSE which are not intended for upstream:
|
||||||
@ -133,6 +141,7 @@ 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}
|
||||||
|
# Patch10 ppc64le-support.patch from IBM fixes endianness in lcms (the Little-CMS library):
|
||||||
%patch10 -p1
|
%patch10 -p1
|
||||||
|
|
||||||
%build
|
%build
|
||||||
|
@ -1,7 +1,18 @@
|
|||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Fri Dec 13 19:09:12 UTC 2013 - uweigand@de.ibm.com
|
Fri Dec 13 19:09:12 UTC 2013 - uweigand@de.ibm.com
|
||||||
|
|
||||||
- ppc64le-support.patch: Support powerpc64le-linux.
|
- ppc64le-support.patch from IBM fixes endianness
|
||||||
|
in lcms (the Little-CMS library) to support the new
|
||||||
|
architecture ppc64le (IBM Power PC Little Endian architecture)
|
||||||
|
because ppc64 is big-endian and ppc64le is little-endian
|
||||||
|
and lcms has a hard-coded check that assumes PowerPC
|
||||||
|
is always big-endian which is incorrect on ppc64le.
|
||||||
|
The fix is already in the main Little-CMS repository
|
||||||
|
by this Git commit
|
||||||
|
https://github.com/mm2/Little-CMS/commit/b4f5c91a2c1582bd284f0d0f49cb43e2c2235a79
|
||||||
|
(There are some cosmetic changes in the upstream patch.)
|
||||||
|
It is not yet in the imported copy in Ghostscript.
|
||||||
|
IBM will work with upstream to get the fix imported too.
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Tue Sep 3 16:26:46 CEST 2013 - jsmeix@suse.de
|
Tue Sep 3 16:26:46 CEST 2013 - jsmeix@suse.de
|
||||||
|
@ -15,7 +15,6 @@
|
|||||||
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
||||||
#
|
#
|
||||||
|
|
||||||
|
|
||||||
Name: ghostscript
|
Name: ghostscript
|
||||||
BuildRequires: cups-devel
|
BuildRequires: cups-devel
|
||||||
# dbus-1-devel is needed for "configure --enable-dbus" (see below):
|
# dbus-1-devel is needed for "configure --enable-dbus" (see below):
|
||||||
@ -67,6 +66,15 @@ Source0: http://downloads.ghostscript.com/public/ghostscript-%{version}.t
|
|||||||
# 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:
|
||||||
|
# Patch10 ppc64le-support.patch from IBM fixes endianness in lcms (the Little-CMS library)
|
||||||
|
# to support the new architecture ppc64le (IBM Power PC Little Endian architecture)
|
||||||
|
# because ppc64 is big-endian and ppc64le is little-endian and lcms has a hard-coded
|
||||||
|
# check that assumes PowerPC is always big-endian which is incorrect on ppc64le.
|
||||||
|
# The fix is already in the main Little-CMS repository by this Git commit
|
||||||
|
# https://github.com/mm2/Little-CMS/commit/b4f5c91a2c1582bd284f0d0f49cb43e2c2235a79
|
||||||
|
# (There are some cosmetic changes in the patch as it went upstream.)
|
||||||
|
# It is not yet in the imported copy in Ghostscript.
|
||||||
|
# IBM will work with upstream to get the fix imported too.
|
||||||
Patch10: ppc64le-support.patch
|
Patch10: ppc64le-support.patch
|
||||||
#
|
#
|
||||||
# Source100...Source999 is for sources from SUSE which are not intended for upstream:
|
# Source100...Source999 is for sources from SUSE which are not intended for upstream:
|
||||||
@ -150,6 +158,16 @@ Conflicts: ghostscript-x11 > %{version}-%{release}
|
|||||||
# When the ghostscript main-package is installed, usually the exact matching
|
# When the ghostscript main-package is installed, usually the exact matching
|
||||||
# version-release of the ghostscript-x11 sub-package should be also installed:
|
# version-release of the ghostscript-x11 sub-package should be also installed:
|
||||||
Recommends: ghostscript-x11 = %{version}-%{release}
|
Recommends: ghostscript-x11 = %{version}-%{release}
|
||||||
|
# When the ghostscript main-package is installed, usually the CUPS filters gstoraster and gstopxl
|
||||||
|
# should be also installed. Since version 9.10 those CUPS filters are removed from Ghostscript
|
||||||
|
# and are now provided by the binary RPM sub-package cups-filters-ghostscript
|
||||||
|
# (see the cups-filters-ghostscript sub-package description).
|
||||||
|
# No RPM requirement because Ghostscript can be used without those CUPS filters
|
||||||
|
# and cups-filters-ghostscript is only available for newer openSUSE versions
|
||||||
|
# (currently since openSUSE 12.2) but in particular not for SLE11:
|
||||||
|
%if 0%{?suse_version} > 1210
|
||||||
|
Recommends: cups-filters-ghostscript
|
||||||
|
%endif
|
||||||
# Require Ghostscript's fonts because the Ghostscript package provides the
|
# Require Ghostscript's fonts because the Ghostscript package provides the
|
||||||
# "Fontmap" file /usr/share/ghostscript/<version>/Resource/Init/Fontmap.GS
|
# "Fontmap" file /usr/share/ghostscript/<version>/Resource/Init/Fontmap.GS
|
||||||
# which lists Ghostscript's fonts but the fonts itself are provided in the
|
# which lists Ghostscript's fonts but the fonts itself are provided in the
|
||||||
@ -247,6 +265,7 @@ 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}
|
||||||
|
# Patch10 ppc64le-support.patch from IBM fixes endianness in lcms (the Little-CMS library):
|
||||||
%patch10 -p1
|
%patch10 -p1
|
||||||
|
|
||||||
%build
|
%build
|
||||||
|
Loading…
Reference in New Issue
Block a user