Hello community, here is the log from the commit of package ghostscript for openSUSE:Factory checked in at 2012-05-22 10:10:01 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/ghostscript (Old) and /work/SRC/openSUSE:Factory/.ghostscript.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "ghostscript", Maintainer is "" Changes: -------- --- /work/SRC/openSUSE:Factory/ghostscript/ghostscript-mini.changes 2012-05-09 18:28:52.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.ghostscript.new/ghostscript-mini.changes 2012-05-22 10:10:07.000000000 +0200 @@ -1,0 +2,14 @@ +Thu May 10 15:49:33 CEST 2012 - [email protected] + +- Require Ghostscript's font packages 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 separated packages ghostscript-fonts-std + and ghostscript-fonts-other so that a RPM requirement + is needed to make sure that Ghostscript has its fonts. +- Extract the catalog of devices which are actually built-in + in exactly this Ghostscript and provide it as catalog.devices + in the Ghostscript package. + +------------------------------------------------------------------- --- /work/SRC/openSUSE:Factory/ghostscript/ghostscript.changes 2012-05-09 18:28:52.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.ghostscript.new/ghostscript.changes 2012-05-22 10:10:07.000000000 +0200 @@ -1,0 +2,14 @@ +Thu May 10 15:49:33 CEST 2012 - [email protected] + +- Require Ghostscript's font packages 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 separated packages ghostscript-fonts-std + and ghostscript-fonts-other so that a RPM requirement + is needed to make sure that Ghostscript has its fonts. +- Extract the catalog of devices which are actually built-in + in exactly this Ghostscript and provide it as catalog.devices + in the Ghostscript package. + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ ghostscript-mini.spec ++++++ --- /var/tmp/diff_new_pack.n2Z8hg/_old 2012-05-22 10:10:09.000000000 +0200 +++ /var/tmp/diff_new_pack.n2Z8hg/_new 2012-05-22 10:10:09.000000000 +0200 @@ -15,6 +15,7 @@ # Please submit bugfixes or comments via http://bugs.opensuse.org/ # + Name: ghostscript-mini BuildRequires: freetype2-devel BuildRequires: liblcms-devel @@ -48,8 +49,14 @@ Conflicts: ghostscript-x11 Conflicts: ghostscript-devel Conflicts: ghostscript-library -# Require only the basic fonts for Ghostscript (but do not recommend ghostscript-fonts-other): +# 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 +# separated packages ghostscript-fonts-std and ghostscript-fonts-other +# (regarding separated packages see /usr/share/ghostscript/<version>/doc/Fonts.htm) +# so that a RPM requirement is needed to make sure that Ghostscript has its fonts: Requires: ghostscript-fonts-std +Requires: ghostscript-fonts-other # Prerequire /sbin/ldconfig which is used in the traditional bash scriptlets for post/postun: PreReq: /sbin/ldconfig # Install into this non-root directory (required when norootforbuild is used): @@ -184,10 +191,22 @@ done # Add a link from SUSE's usual documentation directory to Ghostscript's documentation directory # because "configure --docdir=%%{_defaultdocdir}/%%{name}" does not work (see above): -install -d -m755 %{buildroot}%{_defaultdocdir} +install -d -m 755 %{buildroot}%{_defaultdocdir} pushd %{buildroot}%{_defaultdocdir} ln -s ../../ghostscript/%{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: +set +x +cat /dev/null >catalog.devices +for D in $( %{buildroot}/usr/bin/gs -h | sed -n -e '/^Available devices:/,/^Search path:/p' | egrep -v '^Available devices:|^Search path:' ) +do for F in base/devs.mak base/contrib.mak contrib/contrib.mak + do sed -n -e '/ Catalog /,/ End of catalog /p' $F | grep "[[:space:]]$D[[:space:]]" | grep -o '[[:alnum:]].*' | tr -s '[:blank:]' ' ' | sed -e 's/ /\t/' | expand -t16 >>catalog.devices + done +done +# Switch back to the usual build log messages: +set -x +install -m 644 catalog.devices $DOCDIR # Use traditional bash scriptlet with an explicite "exit 0" line at the end to be fail safe # see http://en.opensuse.org/openSUSE:Packaging_scriptlet_snippets ++++++ ghostscript.spec ++++++ --- /var/tmp/diff_new_pack.n2Z8hg/_old 2012-05-22 10:10:09.000000000 +0200 +++ /var/tmp/diff_new_pack.n2Z8hg/_new 2012-05-22 10:10:09.000000000 +0200 @@ -15,6 +15,7 @@ # 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): @@ -128,10 +129,14 @@ # 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} -# Require the basic fonts for Ghostscript: +# 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 +# separated packages ghostscript-fonts-std and ghostscript-fonts-other +# (regarding separated packages see /usr/share/ghostscript/<version>/doc/Fonts.htm) +# so that a RPM requirement is needed to make sure that Ghostscript has its fonts: Requires: ghostscript-fonts-std -# Usually the optional fonts for Ghostscript should be also installed: -Recommends: ghostscript-fonts-other +Requires: ghostscript-fonts-other # Prerequire /sbin/ldconfig which is used in the traditional bash scriptlets for post/postun: PreReq: /sbin/ldconfig # Install into this non-root directory (required when norootforbuild is used): @@ -301,10 +306,22 @@ done # Add a link from SUSE's usual documentation directory to Ghostscript's documentation directory # because "configure --docdir=%%{_defaultdocdir}/%%{name}" does not work (see above): -install -d -m755 %{buildroot}%{_defaultdocdir} +install -d -m 755 %{buildroot}%{_defaultdocdir} pushd %{buildroot}%{_defaultdocdir} ln -s ../../ghostscript/%{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: +set +x +cat /dev/null >catalog.devices +for D in $( %{buildroot}/usr/bin/gs -h | sed -n -e '/^Available devices:/,/^Search path:/p' | egrep -v '^Available devices:|^Search path:' ) +do for F in base/devs.mak base/contrib.mak contrib/contrib.mak + do sed -n -e '/ Catalog /,/ End of catalog /p' $F | grep "[[:space:]]$D[[:space:]]" | grep -o '[[:alnum:]].*' | tr -s '[:blank:]' ' ' | sed -e 's/ /\t/' | expand -t16 >>catalog.devices + done +done +# Switch back to the usual build log messages: +set -x +install -m 644 catalog.devices $DOCDIR # Use traditional bash scriptlet with an explicite "exit 0" line at the end to be fail safe # see http://en.opensuse.org/openSUSE:Packaging_scriptlet_snippets -- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
