diff --git a/ghostscript-mini.changes b/ghostscript-mini.changes index cca5c82..d944db7 100644 --- a/ghostscript-mini.changes +++ b/ghostscript-mini.changes @@ -1,7 +1,18 @@ ------------------------------------------------------------------- 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 diff --git a/ghostscript-mini.spec b/ghostscript-mini.spec index 9b20cc8..dd9837f 100644 --- a/ghostscript-mini.spec +++ b/ghostscript-mini.spec @@ -15,7 +15,6 @@ # Please submit bugfixes or comments via http://bugs.opensuse.org/ # - Name: ghostscript-mini BuildRequires: freetype2-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: # # 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 # # 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 # use a directory name matching Source0 to make it work also for ghostscript-mini: %setup -q -n ghostscript-%{tarball_version} +# Patch10 ppc64le-support.patch from IBM fixes endianness in lcms (the Little-CMS library): %patch10 -p1 %build diff --git a/ghostscript.changes b/ghostscript.changes index ae300b3..c03b7a6 100644 --- a/ghostscript.changes +++ b/ghostscript.changes @@ -1,7 +1,18 @@ ------------------------------------------------------------------- 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 diff --git a/ghostscript.spec b/ghostscript.spec index 0eaaa87..a22fbda 100644 --- a/ghostscript.spec +++ b/ghostscript.spec @@ -15,7 +15,6 @@ # Please submit bugfixes or comments via http://bugs.opensuse.org/ # - Name: ghostscript BuildRequires: cups-devel # 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: # # 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 # # 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 # version-release of the ghostscript-x11 sub-package should be also installed: 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 # "Fontmap" file /usr/share/ghostscript//Resource/Init/Fontmap.GS # 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 # use a directory name matching Source0 to make it work also for ghostscript-mini: %setup -q -n ghostscript-%{tarball_version} +# Patch10 ppc64le-support.patch from IBM fixes endianness in lcms (the Little-CMS library): %patch10 -p1 %build