Hello community, here is the log from the commit of package ghostscript for openSUSE:Factory checked in at 2013-12-22 19:32:43 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/ghostscript (Old) and /work/SRC/openSUSE:Factory/.ghostscript.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Package is "ghostscript" Changes: -------- --- /work/SRC/openSUSE:Factory/ghostscript/ghostscript-mini.changes 2013-04-14 10:14:25.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.ghostscript.new/ghostscript-mini.changes 2013-12-22 19:32:44.000000000 +0100 @@ -1,0 +2,49 @@ +Fri Dec 13 19:09:12 UTC 2013 - uweigand@de.ibm.com + +- 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/b4f5c91a2c1582bd284f0d0f49cb43e2c22... + (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 + +- Version upgrade to 9.10. Primarily a maintenance release. + Highlights in this release include: + * LittleCMS2 and libpng have both been updated to the + latest versions. + * The URW Postscript font set has been updated to the + latest version, fixing many compatibility problems + with the Adobe fonts. + * The CUPS filters gstoraster and gstopxl have been + removed from Ghostscript. Those filters are now provided by + cups-filters (a free software package hosted by OpenPrinting) + that contains all CUPS filters needed by CUPS under Linux + (see also the openSUSE issue bnc#735404 comment#44 at + https://bugzilla.novell.com/show_bug.cgi?id=735404#c44). + For details see the News.htm and History9.htm files. +- fix-undefined-operation.patch is no longer needed because + it is fixed in the upstream sources. + +------------------------------------------------------------------- +Thu Aug 29 15:06:13 CEST 2013 - jsmeix@suse.de + +- Version upgrade to 9.10rc1 (release candidate for the 9.10 version). + For details see the News.htm and History9.htm files. +- Prepare spec files to build both releases and release candidates + easily in the future by using special different version strings. +- fix-undefined-operation.patch fixes + http://bugs.ghostscript.com/show_bug.cgi?id=694546 +- Removed BuildRequires for liblcms-devel because it is not needed + when we build Ghostscript that works in compliance with upstream + (see https://bugzilla.novell.com/show_bug.cgi?id=828751#c5). + +------------------------------------------------------------------- ghostscript.changes: same change Old: ---- ghostscript-9.07.tar.gz New: ---- ghostscript-9.10.tar.gz ppc64le-support.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ ghostscript-mini.spec ++++++ --- /var/tmp/diff_new_pack.qLQyJt/_old 2013-12-22 19:32:46.000000000 +0100 +++ /var/tmp/diff_new_pack.qLQyJt/_new 2013-12-22 19:32:46.000000000 +0100 @@ -17,7 +17,6 @@ Name: ghostscript-mini BuildRequires: freetype2-devel -BuildRequires: liblcms-devel BuildRequires: libpng-devel BuildRequires: libtiff-devel BuildRequires: libtool @@ -27,18 +26,49 @@ License: AGPL-3.0 Group: System/Libraries Url: http://www.ghostscript.com/ -Version: 9.07 +# Special version needed for Ghostscript release candidates e.g. "Version: 9.pre10rc1": +# Version 9.10rc1 would be newer than 9.10 (run "zypper vcmp 9.10rc1 9.10") because the rpmvercmp algorithm +# would treat 9.10rc1 as 9.10.rc.1 (alphabetic and numeric sections get separated into different elements) +# and 9.10.rc.1 is newer than 9.10 (it has one more element in the list while previous elements are equal) +# so that we use an alphabetic prefix to make it older than 9.10 (numbers are considered newer than letters): +#Version: 9.pre10rc1 +# Normal version for Ghostscript releases is the upstream version: +Version: 9.10 Release: 0 +# 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.10rc1". +# For Ghostscript releases tarball_version and version are the same (i.e. the upstream version): +%define tarball_version %{version} +# 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.10". +# For Ghostscript releases built_version and version are the same (i.e. the upstream version): +%define built_version %{version} # Source0...Source9 is for sources from upstream: -# URL for Source0: http://downloads.ghostscript.com/public/ghostscript-9.07.tar.gz +# Special URLs for Ghostscript release candidates: +# URL for Source0: http://www.ghostscript.com/~chrisl/ghostscript-9.10rc1.tar.gz +# URL for MD5 checksums: http://www.ghostscript.com/~chrisl/MD5SUMS +# MD5 checksum for Source0: 0cdf23c5dff76040983bca74675f88be +#Source0: http://www.ghostscript.com/~chrisl/ghostscript-9.10rc1.tar.gz +# Normal URLs for Ghostscript releases: +# URL for Source0: http://downloads.ghostscript.com/public/ghostscript-9.10.tar.gz # URL for MD5 checksums: http://downloads.ghostscript.com/public/MD5SUMS -# MD5 checksum for Source0: 57ebf17c5abcf0fc95a386bfff08c1a4 +# MD5 checksum for Source0: 5f0c0a2670b08466a4050ddbd1f3de63 Source0: http://downloads.ghostscript.com/public/ghostscript-%{version}.tar.gz # 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: +# 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/b4f5c91a2c1582bd284f0d0f49cb43e2c22... +# (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: # @@ -110,7 +140,9 @@ %prep # Be quiet when unpacking and # use a directory name matching Source0 to make it work also for ghostscript-mini: -%setup -q -n ghostscript-%{version} +%setup -q -n ghostscript-%{tarball_version} +# Patch10 ppc64le-support.patch from IBM fixes endianness in lcms (the Little-CMS library): +%patch10 -p1 %build # Set our preferred architecture-specific flags for the compiler and linker: @@ -134,18 +166,6 @@ # which would require a commercial license. # --without-libpaper disables libpaper support because SUSE does not have libpaper. %define gs_font_path /usr/share/fonts/truetype:/usr/share/fonts/Type1:/usr/share/fonts/CID:/usr/share/fonts/URW -%if 0%{?suse_version} >= 1210 -# --without-system-libtiff enforces not to use the systems libtiff because -# currently (dated Thu Mar 15 2012) using system libtiff fails -# in openSUSE:Factory and openSUSE:12.1 with -# "checking for libtiff with pkg-config... checking for TIFFOpen in -ltiff... no -# configure: Could not find a copy of libtiff on your system. -# Disabling tiff output devices." -# regardless of "BuildRequires libtiff-devel" which works everywhere except openSUSE:Factory. -%define with_or_without_system_libtiff --without-system-libtiff -%else -%define with_or_without_system_libtiff --with-system-libtiff -%endif # See http://bugs.ghostscript.com/show_bug.cgi?id=693100 export SUSE_ASNEEDED=0 ./configure --prefix=%{_prefix} \ @@ -156,7 +176,6 @@ --infodir=%{_infodir} \ --with-fontpath=%{gs_font_path} \ --with-libiconv=maybe \ - %{with_or_without_system_libtiff} \ --enable-freetype \ --with-jbig2dec \ --without-jasper \ @@ -204,14 +223,10 @@ rm %{buildroot}%{_bindir}/ijs_client_example rm %{buildroot}%{_bindir}/ijs_server_example rm %{buildroot}%{_libdir}/libijs.la -# Remove installed but obsolete pdfopt man pages because pdfopt is removed since version 9.07 -# and fail intentionally as notification when this is fixed upstream: -rm %{buildroot}%{_mandir}/man1/pdfopt.1 || exit 99 -rm %{buildroot}%{_mandir}/de/man1/pdfopt.1 || exit 99 # 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: -DOCDIR=%{buildroot}%{_datadir}/ghostscript/%{version}/doc +DOCDIR=%{buildroot}%{_datadir}/ghostscript/%{built_version}/doc for D in LICENSE do test -e $DOCDIR/$( basename $D ) && exit 99 install -m 644 $D $DOCDIR @@ -220,7 +235,7 @@ # because "configure --docdir=%%{_defaultdocdir}/%%{name}" does not work (see above): install -d -m 755 %{buildroot}%{_defaultdocdir} pushd %{buildroot}%{_defaultdocdir} -ln -s ../../ghostscript/%{version}/doc ghostscript +ln -s ../../ghostscript/%{built_version}/doc ghostscript popd # Extract the catalog of devices which are actually built-in in exactly this Ghostscript: # Do not pollute the build log file with zillions of meaningless messages: @@ -320,12 +335,12 @@ %doc %{_mandir}/de/man1/wftopfa.1.gz %doc %{_defaultdocdir}/ghostscript %dir %{_datadir}/ghostscript -%dir %{_datadir}/ghostscript/%{version} -%doc %{_datadir}/ghostscript/%{version}/doc/ -%{_datadir}/ghostscript/%{version}/examples/ -%{_datadir}/ghostscript/%{version}/iccprofiles/ -%{_datadir}/ghostscript/%{version}/lib/ -%{_datadir}/ghostscript/%{version}/Resource/ +%dir %{_datadir}/ghostscript/%{built_version} +%doc %{_datadir}/ghostscript/%{built_version}/doc/ +%{_datadir}/ghostscript/%{built_version}/examples/ +%{_datadir}/ghostscript/%{built_version}/iccprofiles/ +%{_datadir}/ghostscript/%{built_version}/lib/ +%{_datadir}/ghostscript/%{built_version}/Resource/ %{_libdir}/libgs.so.* %{_libdir}/ghostscript/ %{_libdir}/libijs-0.35.so ++++++ ghostscript.spec ++++++ --- /var/tmp/diff_new_pack.qLQyJt/_old 2013-12-22 19:32:46.000000000 +0100 +++ /var/tmp/diff_new_pack.qLQyJt/_new 2013-12-22 19:32:46.000000000 +0100 @@ -21,7 +21,6 @@ BuildRequires: dbus-1-devel BuildRequires: freetype2-devel BuildRequires: libexpat-devel -BuildRequires: liblcms-devel BuildRequires: libopenssl-devel BuildRequires: libpng-devel BuildRequires: libtiff-devel @@ -34,18 +33,49 @@ License: AGPL-3.0 Group: System/Libraries Url: http://www.ghostscript.com/ -Version: 9.07 +# Special version needed for Ghostscript release candidates e.g. "Version: 9.pre10rc1": +# Version 9.10rc1 would be newer than 9.10 (run "zypper vcmp 9.10rc1 9.10") because the rpmvercmp algorithm +# would treat 9.10rc1 as 9.10.rc.1 (alphabetic and numeric sections get separated into different elements) +# and 9.10.rc.1 is newer than 9.10 (it has one more element in the list while previous elements are equal) +# so that we use an alphabetic prefix to make it older than 9.10 (numbers are considered newer than letters): +#Version: 9.pre10rc1 +# Normal version for Ghostscript releases is the upstream version: +Version: 9.10 Release: 0 +# 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.10rc1". +# For Ghostscript releases tarball_version and version are the same (i.e. the upstream version): +%define tarball_version %{version} +# 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.10". +# For Ghostscript releases built_version and version are the same (i.e. the upstream version): +%define built_version %{version} # Source0...Source9 is for sources from upstream: -# URL for Source0: http://downloads.ghostscript.com/public/ghostscript-9.07.tar.gz +# Special URLs for Ghostscript release candidates: +# URL for Source0: http://www.ghostscript.com/~chrisl/ghostscript-9.10rc1.tar.gz +# URL for MD5 checksums: http://www.ghostscript.com/~chrisl/MD5SUMS +# MD5 checksum for Source0: 0cdf23c5dff76040983bca74675f88be +#Source0: http://www.ghostscript.com/~chrisl/ghostscript-9.10rc1.tar.gz +# Normal URLs for Ghostscript releases: +# URL for Source0: http://downloads.ghostscript.com/public/ghostscript-9.10.tar.gz # URL for MD5 checksums: http://downloads.ghostscript.com/public/MD5SUMS -# MD5 checksum for Source0: 57ebf17c5abcf0fc95a386bfff08c1a4 +# MD5 checksum for Source0: 5f0c0a2670b08466a4050ddbd1f3de63 Source0: http://downloads.ghostscript.com/public/ghostscript-%{version}.tar.gz # 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: +# 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/b4f5c91a2c1582bd284f0d0f49cb43e2c22... +# (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: # @@ -128,6 +158,16 @@ # 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/<version>/Resource/Init/Fontmap.GS # which lists Ghostscript's fonts but the fonts itself are provided in the @@ -224,7 +264,9 @@ %prep # Be quiet when unpacking and # use a directory name matching Source0 to make it work also for ghostscript-mini: -%setup -q -n ghostscript-%{version} +%setup -q -n ghostscript-%{tarball_version} +# Patch10 ppc64le-support.patch from IBM fixes endianness in lcms (the Little-CMS library): +%patch10 -p1 %build # Set our preferred architecture-specific flags for the compiler and linker: @@ -249,18 +291,6 @@ # which would require a commercial license. # --without-libpaper disables libpaper support because SUSE does not have libpaper. %define gs_font_path /usr/share/fonts/truetype:/usr/share/fonts/Type1:/usr/share/fonts/CID:/usr/share/fonts/URW -%if 0%{?suse_version} >= 1210 -# --without-system-libtiff enforces not to use the systems libtiff because -# currently (dated Thu Mar 15 2012) using system libtiff fails -# in openSUSE:Factory and openSUSE:12.1 with -# "checking for libtiff with pkg-config... checking for TIFFOpen in -ltiff... no -# configure: Could not find a copy of libtiff on your system. -# Disabling tiff output devices." -# regardless of "BuildRequires libtiff-devel" which works everywhere except openSUSE:Factory. -%define with_or_without_system_libtiff --without-system-libtiff -%else -%define with_or_without_system_libtiff --with-system-libtiff -%endif # See http://bugs.ghostscript.com/show_bug.cgi?id=693100 export SUSE_ASNEEDED=0 ./configure --prefix=%{_prefix} \ @@ -271,7 +301,6 @@ --infodir=%{_infodir} \ --with-fontpath=%{gs_font_path} \ --with-libiconv=maybe \ - %{with_or_without_system_libtiff} \ --enable-freetype \ --with-jbig2dec \ --without-jasper \ @@ -319,14 +348,10 @@ rm %{buildroot}%{_bindir}/ijs_client_example rm %{buildroot}%{_bindir}/ijs_server_example rm %{buildroot}%{_libdir}/libijs.la -# Remove installed but obsolete pdfopt man pages because pdfopt is removed since version 9.07 -# and fail intentionally as notification when this is fixed upstream: -rm %{buildroot}%{_mandir}/man1/pdfopt.1 || exit 99 -rm %{buildroot}%{_mandir}/de/man1/pdfopt.1 || exit 99 # 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: -DOCDIR=%{buildroot}%{_datadir}/ghostscript/%{version}/doc +DOCDIR=%{buildroot}%{_datadir}/ghostscript/%{built_version}/doc for D in LICENSE do test -e $DOCDIR/$( basename $D ) && exit 99 install -m 644 $D $DOCDIR @@ -335,7 +360,7 @@ # because "configure --docdir=%%{_defaultdocdir}/%%{name}" does not work (see above): install -d -m 755 %{buildroot}%{_defaultdocdir} pushd %{buildroot}%{_defaultdocdir} -ln -s ../../ghostscript/%{version}/doc ghostscript +ln -s ../../ghostscript/%{built_version}/doc ghostscript popd # Extract the catalog of devices which are actually built-in in exactly this Ghostscript: # Do not pollute the build log file with zillions of meaningless messages: @@ -364,7 +389,6 @@ %files %defattr(-, root, root) -%config %{_sysconfdir}/cups/gstoraster.convs %{_bindir}/dvipdf %{_bindir}/eps2eps %{_bindir}/font2c @@ -395,14 +419,6 @@ %{_bindir}/ps2ps2 %{_bindir}/unix-lpr.sh %{_bindir}/wftopfa -%dir /usr/lib/cups -%dir /usr/lib/cups/filter -/usr/lib/cups/filter/gstopxl -/usr/lib/cups/filter/gstoraster -%dir %{_datadir}/cups -%dir %{_datadir}/cups/model -%{_datadir}/cups/model/pxlcolor.ppd -%{_datadir}/cups/model/pxlmono.ppd %doc %{_mandir}/man1/dvipdf.1.gz %doc %{_mandir}/man1/eps2eps.1.gz %doc %{_mandir}/man1/font2c.1.gz @@ -444,20 +460,20 @@ %doc %{_mandir}/de/man1/wftopfa.1.gz %doc %{_defaultdocdir}/ghostscript %dir %{_datadir}/ghostscript -%dir %{_datadir}/ghostscript/%{version} -%doc %{_datadir}/ghostscript/%{version}/doc/ -%{_datadir}/ghostscript/%{version}/examples/ -%{_datadir}/ghostscript/%{version}/iccprofiles/ -%{_datadir}/ghostscript/%{version}/lib/ -%{_datadir}/ghostscript/%{version}/Resource/ +%dir %{_datadir}/ghostscript/%{built_version} +%doc %{_datadir}/ghostscript/%{built_version}/doc/ +%{_datadir}/ghostscript/%{built_version}/examples/ +%{_datadir}/ghostscript/%{built_version}/iccprofiles/ +%{_datadir}/ghostscript/%{built_version}/lib/ +%{_datadir}/ghostscript/%{built_version}/Resource/ %{_libdir}/libgs.so.* %{_libdir}/ghostscript/ %{_libdir}/libijs-0.35.so -%exclude %{_libdir}/ghostscript/%{version}/X11.so +%exclude %{_libdir}/ghostscript/%{built_version}/X11.so %files x11 %defattr(-,root,root) -%{_libdir}/ghostscript/%{version}/X11.so +%{_libdir}/ghostscript/%{built_version}/X11.so %files devel %defattr(-,root,root) ++++++ ghostscript-9.07.tar.gz -> ghostscript-9.10.tar.gz ++++++ /work/SRC/openSUSE:Factory/ghostscript/ghostscript-9.07.tar.gz /work/SRC/openSUSE:Factory/.ghostscript.new/ghostscript-9.10.tar.gz differ: char 5, line 1 ++++++ ppc64le-support.patch ++++++ Index: ghostscript-9.10/lcms/include/lcms.h =================================================================== --- ghostscript-9.10.orig/lcms/include/lcms.h +++ ghostscript-9.10/lcms/include/lcms.h @@ -140,11 +140,15 @@ typedef pthread_rwlock_t LCMS_RW #endif #if defined(__sgi__) || defined(__sgi) || defined(__powerpc__) || defined(sparc) || defined(__ppc__) || defined(__s390__) || defined(__s390x__) +# ifndef __LITTLE_ENDIAN__ # define USE_BIG_ENDIAN 1 +# endif #endif #if TARGET_CPU_PPC +# ifndef __LITTLE_ENDIAN__ # define USE_BIG_ENDIAN 1 +# endif #endif #if macintosh Index: ghostscript-9.10/lcms2/include/lcms2.h =================================================================== --- ghostscript-9.10.orig/lcms2/include/lcms2.h +++ ghostscript-9.10/lcms2/include/lcms2.h @@ -178,17 +178,23 @@ typedef int cmsBool; #endif #if defined(__sgi__) || defined(__sgi) || defined(__powerpc__) || defined(sparc) +# ifndef __LITTLE_ENDIAN__ # define CMS_USE_BIG_ENDIAN 1 +# endif #endif #if defined(__ppc__) || defined(__s390__) || defined(__s390x__) +# ifndef __LITTLE_ENDIAN__ # define CMS_USE_BIG_ENDIAN 1 +# endif #endif #ifdef TARGET_CPU_PPC # if TARGET_CPU_PPC +# ifndef __LITTLE_ENDIAN__ # define CMS_USE_BIG_ENDIAN 1 # endif +# endif #endif #ifdef macintosh -- To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-commit+help@opensuse.org