commit ghostscript-fonts for openSUSE:Factory

2020-07-06 Thread root
Hello community,

here is the log from the commit of package ghostscript-fonts for 
openSUSE:Factory checked in at 2020-07-06 16:16:41

Comparing /work/SRC/openSUSE:Factory/ghostscript-fonts (Old)
 and  /work/SRC/openSUSE:Factory/.ghostscript-fonts.new.3060 (New)


Package is "ghostscript-fonts"

Mon Jul  6 16:16:41 2020 rev:13 rq:818362 version:9.06

Changes:

--- /work/SRC/openSUSE:Factory/ghostscript-fonts/ghostscript-fonts.changes  
2020-06-11 09:58:12.321906471 +0200
+++ 
/work/SRC/openSUSE:Factory/.ghostscript-fonts.new.3060/ghostscript-fonts.changes
2020-07-06 16:18:23.681152873 +0200
@@ -1,0 +2,7 @@
+Mon Jun 22 11:10:15 UTC 2020 - Antonio Larrosa 
+
+- Force the converted Nimbus Mono font to be monospaced by using
+  the --force-monospaced argument of ttf-converter 1.0.3
+  (boo#1169444 #c41)
+
+---



Other differences:
--
++ ghostscript-fonts.spec ++
--- /var/tmp/diff_new_pack.c3d63i/_old  2020-07-06 16:18:25.033157026 +0200
+++ /var/tmp/diff_new_pack.c3d63i/_new  2020-07-06 16:18:25.037157038 +0200
@@ -54,7 +54,7 @@
 #
 # Patch100...Patch999 is for patches from SUSE which are not intended for 
upstream:
 #
-BuildRequires:  ttf-converter
+BuildRequires:  ttf-converter >= 1.0.3
 # An older fontforge version should work, but 20200314 fixes bugs
 # that appear when converting n021023l.pfb from
 # ghostscript-fonts-std
@@ -139,6 +139,8 @@
 %build
 # There is nothing to "make" as the sources contain plain font files.
 ttf-converter --input-dir fonts/ --output-dir generated
+# Force Nimbus Mono to be monospaced:
+ttf-converter --force-monospaced fonts/n022003l.pfb fonts/n022004l.pfb 
fonts/n022023l.pfb fonts/n022024l.pfb --output-dir generated
 
 # There's already a version of these fonts included in xorg-x11-fonts-converted
 rm generated/CharterBT-*




commit ghostscript-fonts for openSUSE:Factory

2020-06-11 Thread root
Hello community,

here is the log from the commit of package ghostscript-fonts for 
openSUSE:Factory checked in at 2020-06-11 09:58:07

Comparing /work/SRC/openSUSE:Factory/ghostscript-fonts (Old)
 and  /work/SRC/openSUSE:Factory/.ghostscript-fonts.new.3606 (New)


Package is "ghostscript-fonts"

Thu Jun 11 09:58:07 2020 rev:12 rq:813026 version:9.06

Changes:

--- /work/SRC/openSUSE:Factory/ghostscript-fonts/ghostscript-fonts.changes  
2020-03-03 10:13:49.826351201 +0100
+++ 
/work/SRC/openSUSE:Factory/.ghostscript-fonts.new.3606/ghostscript-fonts.changes
2020-06-11 09:58:12.321906471 +0200
@@ -1,0 +2,6 @@
+Mon Jun  8 15:09:01 UTC 2020 - Antonio Larrosa 
+
+- Add a ghostscript-fonts-std-converted subpackage with fonts from
+  ghostscript-fonts-std converted to TrueType format (boo#1169444)
+
+---



Other differences:
--
++ ghostscript-fonts.spec ++
--- /var/tmp/diff_new_pack.L7S5Nh/_old  2020-06-11 09:58:13.053908823 +0200
+++ /var/tmp/diff_new_pack.L7S5Nh/_new  2020-06-11 09:58:13.057908836 +0200
@@ -54,6 +54,12 @@
 #
 # Patch100...Patch999 is for patches from SUSE which are not intended for 
upstream:
 #
+BuildRequires:  ttf-converter
+# An older fontforge version should work, but 20200314 fixes bugs
+# that appear when converting n021023l.pfb from
+# ghostscript-fonts-std
+BuildRequires:  fontforge >= 20200314
+BuildRequires:  fontpackages-devel
 # The main-package ghostscript-fonts alone is useless because it does not 
contain any font file.
 # The font files are provided via its sub-packages. Nevertheless when a user 
selects only
 # the main-package to be installed, he probably wants "all Ghostscript's free 
fonts"
@@ -107,6 +113,22 @@
 you can read about them in more detail in
 the documentation on Hershey fonts.
 
+%package std-converted
+Summary:Basic Fonts for Ghostscript converted to truetype
+Group:  Productivity/Publishing/PS
+Requires(post): fonts-config
+Requires(posttrans): fonts-config
+Requires(postun): fonts-config
+%if 0%{?suse_version} > 1500 || 0%{?sle_version} >= 150200
+# In TW and SLE 15 SP2/Leap 15.2 we have pango >= 1.44.0 which
+# doesn't support Type1 fonts (boo1169444)
+Supplements:packageand(ghostscript-fonts-std:libpango-1_0-0)
+%endif
+
+%description std-converted
+This package contains the Type1 (.pfb) fonts from
+ghostscript-fonts-std converted to TrueType format, so they can
+be used by applications that don't support Type1 fonts.
 
 %prep
 # Be quiet when unpacking and
@@ -116,6 +138,11 @@
 
 %build
 # There is nothing to "make" as the sources contain plain font files.
+ttf-converter --input-dir fonts/ --output-dir generated
+
+# There's already a version of these fonts included in xorg-x11-fonts-converted
+rm generated/CharterBT-*
+rm generated/Utopia-*
 
 %install
 # Install the fonts into the /usr/share/ghostscript/fonts/ directory
@@ -140,6 +167,10 @@
 # gets the intended symbolic link /usr/share/fonts/ghostscript -> 
../ghostscript/fonts
 ln -s %{_datadir}/ghostscript/fonts %{buildroot}%{_datadir}/fonts/ghostscript
 
+# Install also the fonts converted to truetype format
+mkdir -p %{buildroot}/%{_datadir}/fonts/truetype
+cp generated/*.ttf %{buildroot}/%{_datadir}/fonts/truetype
+
 # 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
 # Only if suse_version > 1220 it BuildRequires fontpackages-devel which 
provides reconfigure_fonts_post.
@@ -159,6 +190,8 @@
 %endif
 exit 0
 
+%reconfigure_fonts_scriptlets -n ghostscript-fonts-std-converted
+
 # 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
 # Only if suse_version > 1220 it BuildRequires fontpackages-devel which 
provides reconfigure_fonts_postun.
@@ -401,4 +434,18 @@
 %{_datadir}/ghostscript/fonts/u003043t.pfm
 %{_datadir}/ghostscript/fonts/u004006t.pfm
 
+%files std-converted
+%defattr(0644,root,root,0755)
+%dir %{_datadir}/fonts/truetype
+%{_datadir}/fonts/truetype/CenturySchL-*.ttf
+%{_datadir}/fonts/truetype/Dingbats.ttf
+%{_datadir}/fonts/truetype/NimbusMonL-*.ttf
+%{_datadir}/fonts/truetype/NimbusRomNo9L-*.ttf
+%{_datadir}/fonts/truetype/NimbusSanL-*.ttf
+%{_datadir}/fonts/truetype/StandardSymL.ttf
+%{_datadir}/fonts/truetype/URWBookmanL-*.ttf
+%{_datadir}/fonts/truetype/URWChanceryL-MediItal.ttf
+%{_datadir}/fonts/truetype/URWGothicL-*.ttf
+%{_datadir}/fonts/truetype/URWPalladioL-*.ttf
+
 %changelog




commit ghostscript-fonts for openSUSE:Factory

2020-03-03 Thread root
Hello community,

here is the log from the commit of package ghostscript-fonts for 
openSUSE:Factory checked in at 2020-03-03 10:13:48

Comparing /work/SRC/openSUSE:Factory/ghostscript-fonts (Old)
 and  /work/SRC/openSUSE:Factory/.ghostscript-fonts.new.26092 (New)


Package is "ghostscript-fonts"

Tue Mar  3 10:13:48 2020 rev:11 rq:780307 version:9.06

Changes:

--- /work/SRC/openSUSE:Factory/ghostscript-fonts/ghostscript-fonts.changes  
2018-01-13 21:33:56.656412223 +0100
+++ 
/work/SRC/openSUSE:Factory/.ghostscript-fonts.new.26092/ghostscript-fonts.changes
   2020-03-03 10:13:49.826351201 +0100
@@ -1,0 +2,7 @@
+Fri Feb 28 11:21:37 UTC 2020 - Martin Hauke 
+
+- Add "Provides: urw-fonts" to ghostscript-fonts-std since some
+  binary packages like the ones from grafana.com explicitly require
+  "urw-fonts".
+
+---



Other differences:
--
++ ghostscript-fonts.spec ++
--- /var/tmp/diff_new_pack.nKi6t0/_old  2020-03-03 10:13:51.046353726 +0100
+++ /var/tmp/diff_new_pack.nKi6t0/_new  2020-03-03 10:13:51.050353734 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package ghostscript-fonts
 #
-# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2020 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -12,7 +12,7 @@
 # license that conforms to the Open Source Definition (Version 1.9)
 # published by the Open Source Initiative.
 
-# Please submit bugfixes or comments via http://bugs.opensuse.org/
+# Please submit bugfixes or comments via https://bugs.opensuse.org/
 #
 
 
@@ -23,7 +23,7 @@
 %if 0%{?suse_version} > 1220
 BuildRequires:  fontpackages-devel
 %endif
-Url:http://www.ghostscript.com/
+URL:http://www.ghostscript.com/
 Summary:Ghostscript's free fonts
 # The version is the same version as the current ghostscript package.
 # Reasoning: Before the Ghostscript package clean-up (see bnc#735824)
@@ -35,7 +35,7 @@
 # than the old ghostscript-fonts-* sub-packages, the existing versioning scheme
 # is still used here. This versioning scheme makes sense because this
 # ghostscript-fonts-* packages are the right ones for this Ghostscript version:
-License:GPL-2.0
+License:GPL-2.0-only
 Group:  Productivity/Publishing/PS
 Version:9.06
 Release:0
@@ -78,6 +78,7 @@
 Summary:Basic Fonts for Ghostscript
 Group:  Productivity/Publishing/PS
 PreReq: coreutils %suseconfig_fonts_prereq
+Provides:   urw-fonts
 
 %description std
 Several Type 1 basic PostScript fonts.




commit ghostscript-fonts for openSUSE:Factory

2018-01-13 Thread root
Hello community,

here is the log from the commit of package ghostscript-fonts for 
openSUSE:Factory checked in at 2018-01-13 21:33:55

Comparing /work/SRC/openSUSE:Factory/ghostscript-fonts (Old)
 and  /work/SRC/openSUSE:Factory/.ghostscript-fonts.new (New)


Package is "ghostscript-fonts"

Sat Jan 13 21:33:55 2018 rev:10 rq:563275 version:9.06

Changes:

--- /work/SRC/openSUSE:Factory/ghostscript-fonts/ghostscript-fonts.changes  
2017-12-23 12:18:02.099829428 +0100
+++ /work/SRC/openSUSE:Factory/.ghostscript-fonts.new/ghostscript-fonts.changes 
2018-01-13 21:33:56.656412223 +0100
@@ -1,0 +2,10 @@
+Wed Dec 27 10:54:48 UTC 2017 - dims...@opensuse.org
+
+- Revert last change: reconfigure_post_* does not know a -n
+  parameter, which in turn results in warnings (rpm < 4.14) or
+  errors (rpm >= 4.14).
+
+  > reconfigure_fonts_post: invalid option -- 'n'
+  > error: Unknown option n in reconfigure_fonts_post(c)
+
+---



Other differences:
--
++ ghostscript-fonts.spec ++
--- /var/tmp/diff_new_pack.X0bUnR/_old  2018-01-13 21:33:57.308381700 +0100
+++ /var/tmp/diff_new_pack.X0bUnR/_new  2018-01-13 21:33:57.312381512 +0100
@@ -25,8 +25,6 @@
 %endif
 Url:http://www.ghostscript.com/
 Summary:Ghostscript's free fonts
-License:GPL-2.0
-Group:  Productivity/Publishing/PS
 # The version is the same version as the current ghostscript package.
 # Reasoning: Before the Ghostscript package clean-up (see bnc#735824)
 # the packages ghostscript-fonts-std and ghostscript-fonts-other
@@ -37,6 +35,8 @@
 # than the old ghostscript-fonts-* sub-packages, the existing versioning scheme
 # is still used here. This versioning scheme makes sense because this
 # ghostscript-fonts-* packages are the right ones for this Ghostscript version:
+License:GPL-2.0
+Group:  Productivity/Publishing/PS
 Version:9.06
 Release:0
 # Source0...Source9 is for sources from upstream:
@@ -88,12 +88,12 @@
 
 %package other
 Summary:Optional Fonts for Ghostscript
-Group:  Productivity/Publishing/PS
 # ghostscript-fonts-std contains /usr/share/ghostscript/fonts/fonts.dir
 # and /usr/share/ghostscript/fonts/fonts.scale which are needed
 # to map Ghostscript's font files to X logical font description (XLFD),
 # see the section "Using Ghostscript fonts on X Windows displays"
 # in doc/Fonts.htm in the Ghostscript sources:
+Group:  Productivity/Publishing/PS
 Requires:   ghostscript-fonts-std
 
 %description other
@@ -142,15 +142,10 @@
 # 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
 # Only if suse_version > 1220 it BuildRequires fontpackages-devel which 
provides reconfigure_fonts_post.
-# Since openSUSE 12.2 there is no SuSEconfig.pango (have it only in the 
scriptlet if suse_version < 1220).
-# Call reconfigure_fonts_* -n binary_RPM_package_name on openSUSE Tumbleweed 
and openSUSE Leap 15.0 and SLE15 and later:
+# Since openSUSE 12.2 there is no SuSEconfig.pango (have it only in the 
scriptlet if suse_version < 1220):
 %post std
 %if 0%{?suse_version} > 1220
-%if 0%{?suse_version} > 1500 || 0%{?sle_version} >= 15
-%reconfigure_fonts_post -n ghostscript-fonts-std
-%else
 %reconfigure_fonts_post
-%endif
 %else
 if test -x sbin/conf.d/SuSEconfig.fonts
 then %run_suseconfig -m fonts
@@ -166,15 +161,10 @@
 # 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
 # Only if suse_version > 1220 it BuildRequires fontpackages-devel which 
provides reconfigure_fonts_postun.
-# Since openSUSE 12.2 there is no SuSEconfig.pango (have it only in the 
scriptlet if suse_version < 1220).
-# Call reconfigure_fonts_* -n binary_RPM_package_name on openSUSE Tumbleweed 
and openSUSE Leap 15.0 and SLE15 and later:
+# Since openSUSE 12.2 there is no SuSEconfig.pango (have it only in the 
scriptlet if suse_version < 1220):
 %postun std
 %if 0%{?suse_version} > 1220
-%if 0%{?suse_version} > 1500 || 0%{?sle_version} >= 15
-%reconfigure_fonts_postun -n ghostscript-fonts-std
-%else
 %reconfigure_fonts_postun
-%endif
 %else
 if test -x sbin/conf.d/SuSEconfig.fonts
 then %run_suseconfig -m fonts
@@ -190,29 +180,19 @@
 %if 0%{?suse_version} > 1220
 # 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
-# Only if suse_version > 1220 it BuildRequires fontpackages-devel which 
provides reconfigure_fonts_posttrans.
-# Call reconfigure_fonts_* -n 

commit ghostscript-fonts for openSUSE:Factory

2017-12-23 Thread root
Hello community,

here is the log from the commit of package ghostscript-fonts for 
openSUSE:Factory checked in at 2017-12-23 12:18:00

Comparing /work/SRC/openSUSE:Factory/ghostscript-fonts (Old)
 and  /work/SRC/openSUSE:Factory/.ghostscript-fonts.new (New)


Package is "ghostscript-fonts"

Sat Dec 23 12:18:00 2017 rev:9 rq:558096 version:9.06

Changes:

--- /work/SRC/openSUSE:Factory/ghostscript-fonts/ghostscript-fonts.changes  
2017-10-10 11:33:51.307518651 +0200
+++ /work/SRC/openSUSE:Factory/.ghostscript-fonts.new/ghostscript-fonts.changes 
2017-12-23 12:18:02.099829428 +0100
@@ -1,0 +2,7 @@
+Mon Dec 18 14:18:10 CET 2017 - jsm...@suse.de
+
+- Call reconfigure_fonts_* -n binary_RPM_package_name
+  on openSUSE Tumbleweed and Leap 15.0 and SLE15 and later
+  (boo#1067213).
+
+---



Other differences:
--
++ ghostscript-fonts.spec ++
--- /var/tmp/diff_new_pack.2MBEbJ/_old  2017-12-23 12:18:02.679801149 +0100
+++ /var/tmp/diff_new_pack.2MBEbJ/_new  2017-12-23 12:18:02.683800954 +0100
@@ -142,10 +142,15 @@
 # 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
 # Only if suse_version > 1220 it BuildRequires fontpackages-devel which 
provides reconfigure_fonts_post.
-# Since openSUSE 12.2 there is no SuSEconfig.pango (have it only in the 
scriptlet if suse_version < 1220):
+# Since openSUSE 12.2 there is no SuSEconfig.pango (have it only in the 
scriptlet if suse_version < 1220).
+# Call reconfigure_fonts_* -n binary_RPM_package_name on openSUSE Tumbleweed 
and openSUSE Leap 15.0 and SLE15 and later:
 %post std
 %if 0%{?suse_version} > 1220
+%if 0%{?suse_version} > 1500 || 0%{?sle_version} >= 15
+%reconfigure_fonts_post -n ghostscript-fonts-std
+%else
 %reconfigure_fonts_post
+%endif
 %else
 if test -x sbin/conf.d/SuSEconfig.fonts
 then %run_suseconfig -m fonts
@@ -161,10 +166,15 @@
 # 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
 # Only if suse_version > 1220 it BuildRequires fontpackages-devel which 
provides reconfigure_fonts_postun.
-# Since openSUSE 12.2 there is no SuSEconfig.pango (have it only in the 
scriptlet if suse_version < 1220):
+# Since openSUSE 12.2 there is no SuSEconfig.pango (have it only in the 
scriptlet if suse_version < 1220).
+# Call reconfigure_fonts_* -n binary_RPM_package_name on openSUSE Tumbleweed 
and openSUSE Leap 15.0 and SLE15 and later:
 %postun std
 %if 0%{?suse_version} > 1220
+%if 0%{?suse_version} > 1500 || 0%{?sle_version} >= 15
+%reconfigure_fonts_postun -n ghostscript-fonts-std
+%else
 %reconfigure_fonts_postun
+%endif
 %else
 if test -x sbin/conf.d/SuSEconfig.fonts
 then %run_suseconfig -m fonts
@@ -180,19 +190,29 @@
 %if 0%{?suse_version} > 1220
 # 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
-# Only if suse_version > 1220 it BuildRequires fontpackages-devel which 
provides reconfigure_fonts_posttrans:
+# Only if suse_version > 1220 it BuildRequires fontpackages-devel which 
provides reconfigure_fonts_posttrans.
+# Call reconfigure_fonts_* -n binary_RPM_package_name on openSUSE Tumbleweed 
and openSUSE Leap 15.0 and SLE15 and later:
 %posttrans std
+%if 0%{?suse_version} > 1500 || 0%{?sle_version} >= 15
+%reconfigure_fonts_posttrans -n ghostscript-fonts-std
+%else
 %reconfigure_fonts_posttrans
+%endif
 exit 0
 %endif
 
 # 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
 # Only if suse_version > 1220 it BuildRequires fontpackages-devel which 
provides reconfigure_fonts_post.
-# Since openSUSE 12.2 there is no SuSEconfig.pango (have it only in the 
scriptlet if suse_version < 1220):
+# Since openSUSE 12.2 there is no SuSEconfig.pango (have it only in the 
scriptlet if suse_version < 1220).
+# Call reconfigure_fonts_* -n binary_RPM_package_name on openSUSE Tumbleweed 
and openSUSE Leap 15.0 and SLE15 and later:
 %post other
 %if 0%{?suse_version} > 1220
+%if 0%{?suse_version} > 1500 || 0%{?sle_version} >= 15
+%reconfigure_fonts_post -n ghostscript-fonts-other
+%else
 %reconfigure_fonts_post
+%endif
 %else
 if test -x sbin/conf.d/SuSEconfig.fonts
 then %run_suseconfig -m fonts
@@ -208,10 +228,15 @@
 # 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
 # Only if suse_version > 1220 it 

commit ghostscript-fonts for openSUSE:Factory

2017-10-10 Thread root
Hello community,

here is the log from the commit of package ghostscript-fonts for 
openSUSE:Factory checked in at 2017-10-10 11:33:47

Comparing /work/SRC/openSUSE:Factory/ghostscript-fonts (Old)
 and  /work/SRC/openSUSE:Factory/.ghostscript-fonts.new (New)


Package is "ghostscript-fonts"

Tue Oct 10 11:33:47 2017 rev:8 rq:531151 version:9.06

Changes:

--- /work/SRC/openSUSE:Factory/ghostscript-fonts/ghostscript-fonts.changes  
2012-10-07 18:59:05.0 +0200
+++ /work/SRC/openSUSE:Factory/.ghostscript-fonts.new/ghostscript-fonts.changes 
2017-10-10 11:33:51.307518651 +0200
@@ -1,0 +2,11 @@
+Wed Oct  4 12:24:39 CEST 2017 - jsm...@suse.de
+
+- Do no longer mess around with the original fonts: Do no longer
+  try to "improve" the appearance of glyphs in certain fonts in
+  a SUSE-sepcific way. Provide the fonts as originally intended.
+  Now neither the SUSE-sepcific ghostscript-fonts-std-8.11.patch
+  nor special tools like t1ascii and t1binary from the t1utils RPM
+  are needed to build a RPM package that only contains fonts.
+  Cf. the entry below dated "Tue Mar 27 16:57:57 CEST 2012".
+
+---

Old:

  ghostscript-fonts-std-8.11.patch



Other differences:
--
++ ghostscript-fonts.spec ++
--- /var/tmp/diff_new_pack.Z26QmP/_old  2017-10-10 11:33:51.991488633 +0200
+++ /var/tmp/diff_new_pack.Z26QmP/_new  2017-10-10 11:33:51.991488633 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package ghostscript-fonts
 #
-# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -23,10 +23,6 @@
 %if 0%{?suse_version} > 1220
 BuildRequires:  fontpackages-devel
 %endif
-# t1utils is needed to convert PostScript Type 1 font program data (*.pfb)
-# to PostScript (*.pfa) so that ghostscript-fonts-std-8.11.patch can be applied
-# and afterwards back to PostScript Type 1 font program data:
-BuildRequires:  t1utils
 Url:http://www.ghostscript.com/
 Summary:Ghostscript's free fonts
 License:GPL-2.0
@@ -55,16 +51,7 @@
 # Patch10...Patch99 is for patches from SUSE which are intended for upstream:
 #
 # Source100...Source999 is for sources from SUSE which are not intended for 
upstream:
-# Source100 ghostscript-fonts-std-8.11.patch is made by mfab...@suse.de
-# see https://bugzilla.novell.com/show_bug.cgi?id=suse36778 (bnc#51778).
-# It changes the weight of "Nimbus Roman No9 L:style=Medium Italic" and
-# "Nimbus Roman No9 L:style=Medium" back to "Bold" instead of "Medium".
-# ghostscript-fonts-std-8.11.patch must be listed as SourceNNN
-# because it is applied via an explicit patch call in install section
-# but the SUSE internal check_if_valid_source_dir tool could abort
-# with fatal error because it thinks this patch is not applied
-# (see https://bugzilla.novell.com/show_bug.cgi?id=649207#c17):
-Source100:  ghostscript-fonts-std-8.11.patch
+#
 # Patch100...Patch999 is for patches from SUSE which are not intended for 
upstream:
 #
 # The main-package ghostscript-fonts alone is useless because it does not 
contain any font file.
@@ -137,22 +124,9 @@
 FONT_INSTALL_DIR=%{buildroot}%{_datadir}/ghostscript/fonts
 install -d -m755 $FONT_INSTALL_DIR
 install -m644 fonts/fonts.* $FONT_INSTALL_DIR
-for S in afm gsf pfa pfb pfm
-do install -m644 fonts/*.$S $FONT_INSTALL_DIR
-done
-# Patch the installed ghostscript-fonts-std fonts:
-PATCH_FILE=$RPM_SOURCE_DIR/ghostscript-fonts-std-8.11.patch
-PFA_FILES="$( grep -o '^+++ .*\.pfa' $PATCH_FILE | cut -s -d ' ' -f2 )"
-pushd %{buildroot}%{_datadir}/ghostscript/fonts
-for PFA in $PFA_FILES
-do t1ascii ${PFA%%.*}.pfb >$PFA
-done
-patch -p0 -i $PATCH_FILE
-for PFA in $PFA_FILES
-do t1binary $PFA > ${PFA%%.*}.pfb
-   rm -vf $PFA
+for SUFFIX in afm gsf pfa pfb pfm
+do install -m644 fonts/*.$SUFFIX $FONT_INSTALL_DIR
 done
-popd
 # Provide a link to make the Ghostscript fonts also appear in the directory
 # /usr/share/fonts/ where applications (including X11) search for fonts.
 # A usr/share/fonts/ sub-directory does not exist in the buildroot:




commit ghostscript-fonts for openSUSE:Factory

2012-10-07 Thread h_root
Hello community,

here is the log from the commit of package ghostscript-fonts for 
openSUSE:Factory checked in at 2012-10-07 18:59:03

Comparing /work/SRC/openSUSE:Factory/ghostscript-fonts (Old)
 and  /work/SRC/openSUSE:Factory/.ghostscript-fonts.new (New)


Package is ghostscript-fonts, Maintainer is 

Changes:

--- /work/SRC/openSUSE:Factory/ghostscript-fonts/ghostscript-fonts.changes  
2012-08-12 15:25:31.0 +0200
+++ /work/SRC/openSUSE:Factory/.ghostscript-fonts.new/ghostscript-fonts.changes 
2012-10-07 18:59:05.0 +0200
@@ -1,0 +2,46 @@
+Fri Sep 28 16:35:29 CEST 2012 - jsm...@suse.de
+
+- Set the version is the same version as the current ghostscript
+  package i.e. 9.06 because this ghostscript-fonts-* packages
+  are the right ones for this Ghostscript version.
+
+---
+Fri Sep 28 10:46:03 CEST 2012 - jsm...@suse.de
+
+- Have SuSEconfig.pango stuff in RPM scriptlets only
+  if suse_version  1220 because since openSUSE 12.2
+  there is no longer SuSEconfig.pango (see the declined
+  comment of OBS submitrequest 136232).
+
+---
+Thu Sep 27 13:22:44 CEST 2012 - jsm...@suse.de
+
+- Using an absolute path as source in symbolic link in spec file
+  to avoid an issue with /usr/sbin/Check in SLE11, SLE_11_SP1,
+  and SLE_11_SP2 that would wrongly convert a relative path
+  ../ghostscript/fonts into a ../ghostscript/fonts.gz file.
+  Afterwards /usr/lib/rpm/brp-symlink converts it to a relative
+  path so that the binary RPM gets the intended symbolic link
+  /usr/share/fonts/ghostscript - ../ghostscript/fonts
+  (bnc#778879).
+
+---
+Wed Sep 26 10:09:22 CEST 2012 - jsm...@suse.de
+
+- Provide a link /usr/share/fonts/ghostscript which points to
+  /usr/share/ghostscript/fonts (the directory where Ghostscript
+  expects its fonts) to make the Ghostscript fonts also appear
+  in the directory /usr/share/fonts/ where applications
+  search for fonts (bnc#778879).
+
+---
+Tue Sep 25 14:58:06 CEST 2012 - jsm...@suse.de
+
+- Fix the negligent changes done by the below prepare spec file
+  for dropping SuSEconfig.fonts so that it builds again for
+  all released openSUSE versions (up to 12.2) because only
+  if suse_version  1220 one can BuildRequire fontpackages-devel
+  which provides the RPM macros like reconfigure_fonts_post,
+  reconfigure_fonts_postun, and reconfigure_fonts_posttrans.
+
+---



Other differences:
--
++ ghostscript-fonts.spec ++
--- /var/tmp/diff_new_pack.cK9fT2/_old  2012-10-07 18:59:06.0 +0200
+++ /var/tmp/diff_new_pack.cK9fT2/_new  2012-10-07 18:59:06.0 +0200
@@ -18,7 +18,11 @@
 
 Name:   ghostscript-fonts
 BuildArch:  noarch
+# Prepare spec file for dropping SuSEconfig.fonts
+# see https://features.opensuse.org/313536
+%if 0%{?suse_version}  1220
 BuildRequires:  fontpackages-devel
+%endif
 # t1utils is needed to convert PostScript Type 1 font program data (*.pfb)
 # to PostScript (*.pfa) so that ghostscript-fonts-std-8.11.patch can be applied
 # and afterwards back to PostScript Type 1 font program data:
@@ -37,7 +41,7 @@
 # than the old ghostscript-fonts-* sub-packages, the existing versioning scheme
 # is still used here. This versioning scheme makes sense because this
 # ghostscript-fonts-* packages are the right ones for this Ghostscript version:
-Version:9.05
+Version:9.06
 Release:0
 # Source0...Source9 is for sources from upstream:
 # URL for Source0: 
http://mirror.cs.wisc.edu/pub/mirrors/ghost/fonts/ghostscript-fonts-std-8.11.tar.gz
@@ -82,13 +86,13 @@
 Optional Fonts for Ghostscript
 in the package ghostscript-fonts-other.
 
+
 %package std
 Summary:Basic Fonts for Ghostscript
 Group:  Productivity/Publishing/PS
 PreReq: coreutils %suseconfig_fonts_prereq
 
 %description std
-
 Several Type 1 basic PostScript fonts.
 Times, Helvetica, Courier, Symbol, etc.
 Contributed by URW++ Design and Development
@@ -106,7 +110,6 @@
 Requires:   ghostscript-fonts-std
 
 %description other
-
 A miscellaneous set including Cyrillic,
 kana, and fonts derived from the free
 Hershey fonts, with improvements (such as
@@ -116,17 +119,20 @@
 you can read about them in more detail in
 the documentation on Hershey fonts.
 
+
 %prep
 # Be quiet when unpacking and
 # create directory (and change to it) before unpacking Source0 and
-# additionally unpack Source1 after changing directory
+# additionally unpack Source1 after changing directory:
 

commit ghostscript-fonts for openSUSE:Factory

2012-08-12 Thread h_root
Hello community,

here is the log from the commit of package ghostscript-fonts for 
openSUSE:Factory checked in at 2012-08-12 15:25:21

Comparing /work/SRC/openSUSE:Factory/ghostscript-fonts (Old)
 and  /work/SRC/openSUSE:Factory/.ghostscript-fonts.new (New)


Package is ghostscript-fonts, Maintainer is 

Changes:

--- /work/SRC/openSUSE:Factory/ghostscript-fonts/ghostscript-fonts.changes  
2012-04-23 09:13:45.0 +0200
+++ /work/SRC/openSUSE:Factory/.ghostscript-fonts.new/ghostscript-fonts.changes 
2012-08-12 15:25:31.0 +0200
@@ -1,0 +2,5 @@
+Mon Aug  6 16:40:38 UTC 2012 - pgaj...@suse.com
+
+- prepare spec file for dropping SuSEconfig.fonts (openFATE#313536)
+
+---



Other differences:
--
++ ghostscript-fonts.spec ++
--- /var/tmp/diff_new_pack.omorYB/_old  2012-08-12 15:25:35.0 +0200
+++ /var/tmp/diff_new_pack.omorYB/_new  2012-08-12 15:25:35.0 +0200
@@ -15,8 +15,10 @@
 # Please submit bugfixes or comments via http://bugs.opensuse.org/
 #
 
+
 Name:   ghostscript-fonts
 BuildArch:  noarch
+BuildRequires:  fontpackages-devel
 # t1utils is needed to convert PostScript Type 1 font program data (*.pfb)
 # to PostScript (*.pfa) so that ghostscript-fonts-std-8.11.patch can be applied
 # and afterwards back to PostScript Type 1 font program data:
@@ -82,7 +84,6 @@
 
 %package std
 Summary:Basic Fonts for Ghostscript
-License:GPL-2.0
 Group:  Productivity/Publishing/PS
 PreReq: coreutils %suseconfig_fonts_prereq
 
@@ -96,7 +97,6 @@
 
 %package other
 Summary:Optional Fonts for Ghostscript
-License:GPL-2.0
 Group:  Productivity/Publishing/PS
 # ghostscript-fonts-std contains /usr/share/ghostscript/fonts/fonts.dir
 # and /usr/share/ghostscript/fonts/fonts.scale which are needed
@@ -151,9 +151,7 @@
 # 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
 %post std
-if test -x sbin/conf.d/SuSEconfig.fonts
-then %run_suseconfig -m fonts
-fi
+%reconfigure_fonts_post
 if test -x sbin/conf.d/SuSEconfig.pango
 then %run_suseconfig -m pango
 fi
@@ -162,14 +160,38 @@
 # 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
 %postun std
-if test -x sbin/conf.d/SuSEconfig.fonts
-then %run_suseconfig -m fonts
+%reconfigure_fonts_postun
+if test -x sbin/conf.d/SuSEconfig.pango
+then %run_suseconfig -m pango
 fi
+exit 0
+
+%posttrans std
+%reconfigure_fonts_posttrans
+exit 0
+
+# 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
+%post other
+%reconfigure_fonts_post
+if test -x sbin/conf.d/SuSEconfig.pango
+then %run_suseconfig -m pango
+fi
+exit 0
+
+# 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
+%postun other
+%reconfigure_fonts_postun
 if test -x sbin/conf.d/SuSEconfig.pango
 then %run_suseconfig -m pango
 fi
 exit 0
 
+%posttrans other
+%reconfigure_fonts_posttrans
+exit 0
+
 %files
 %defattr(-, root, root)
 %doc fonts/COPYING fonts/ChangeLog fonts/README fonts/README.tweaks fonts/TODO

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org