1
0

10 Commits

Author SHA256 Message Date
07d1e49f27 Accepting request 1295683 from Printing
OBS-URL: https://build.opensuse.org/request/show/1295683
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/ghostscript-fonts?expand=0&rev=14
2025-07-27 14:25:38 +00:00
d7d1cf453c - Remove the -converted subpackage that uses ttf-converter.
Anyone using these fonts should actually use the
  urw-base35-fonts package.

OBS-URL: https://build.opensuse.org/package/show/Printing/ghostscript-fonts?expand=0&rev=24
2025-07-25 06:42:27 +00:00
8c5140be37 Accepting request 818362 from Printing
OBS-URL: https://build.opensuse.org/request/show/818362
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/ghostscript-fonts?expand=0&rev=13
2020-07-06 14:16:41 +00:00
392537e55a Accepting request 813026 from Printing
OBS-URL: https://build.opensuse.org/request/show/813026
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/ghostscript-fonts?expand=0&rev=12
2020-06-11 07:58:07 +00:00
0505959a55 Accepting request 780307 from Printing
OBS-URL: https://build.opensuse.org/request/show/780307
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/ghostscript-fonts?expand=0&rev=11
2020-03-03 09:13:48 +00:00
0b6e7c1bb3 Accepting request 563275 from Printing
OBS-URL: https://build.opensuse.org/request/show/563275
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/ghostscript-fonts?expand=0&rev=10
2018-01-13 20:33:55 +00:00
c37533c49b Accepting request 558096 from Printing
Call reconfigure_fonts_* -n binary_RPM_package_name (boo#1067213) (forwarded request 558095 from jsmeix)

OBS-URL: https://build.opensuse.org/request/show/558096
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/ghostscript-fonts?expand=0&rev=9
2017-12-23 11:18:00 +00:00
832a240d71 Accepting request 531151 from Printing
Build ghostscript-fonts cleanly (without questionable SUSE-specific patching) (forwarded request 531150 from jsmeix)

OBS-URL: https://build.opensuse.org/request/show/531151
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/ghostscript-fonts?expand=0&rev=8
2017-10-10 09:33:47 +00:00
Stephan Kulow
e699e4beb2 Accepting request 137351 from Printing
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/137351
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/ghostscript-fonts?expand=0&rev=4
2012-10-07 16:59:03 +00:00
Ismail Dönmez
ae9af78d3b Accepting request 130554 from Printing
- prepare spec file for dropping SuSEconfig.fonts (openFATE#313536) (forwarded request 130134 from pgajdos)

OBS-URL: https://build.opensuse.org/request/show/130554
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/ghostscript-fonts?expand=0&rev=3
2012-08-12 13:25:21 +00:00
2 changed files with 8 additions and 53 deletions

View File

@@ -1,3 +1,10 @@
-------------------------------------------------------------------
Thu Jul 24 15:22:56 UTC 2025 - Antonio Larrosa <alarrosa@suse.com>
- Remove the -converted subpackage that uses ttf-converter.
Anyone using these fonts should actually use the
urw-base35-fonts package.
-------------------------------------------------------------------
Mon Jun 22 11:10:15 UTC 2020 - Antonio Larrosa <alarrosa@suse.com>

View File

@@ -1,7 +1,7 @@
#
# spec file for package ghostscript-fonts
#
# Copyright (c) 2020 SUSE LLC
# Copyright (c) 2025 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -54,12 +54,6 @@ Source1: ghostscript-fonts-other-6.0.tar.gz
#
# Patch100...Patch999 is for patches from SUSE which are not intended for upstream:
#
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
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"
@@ -79,7 +73,6 @@ in the package ghostscript-fonts-std.
Optional Fonts for Ghostscript
in the package ghostscript-fonts-other.
%package std
Summary: Basic Fonts for Ghostscript
Group: Productivity/Publishing/PS
@@ -92,7 +85,6 @@ Times, Helvetica, Courier, Symbol, etc.
Contributed by URW++ Design and Development
Incorporated, of Hamburg, Germany.
%package other
Summary: Optional Fonts for Ghostscript
# ghostscript-fonts-std contains /usr/share/ghostscript/fonts/fonts.dir
@@ -113,23 +105,6 @@ from traditional printer or display fonts;
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
# create directory (and change to it) before unpacking Source0 and
@@ -138,13 +113,6 @@ be used by applications that don't support Type1 fonts.
%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-*
rm generated/Utopia-*
%install
# Install the fonts into the /usr/share/ghostscript/fonts/ directory
@@ -169,10 +137,6 @@ install -d -m 755 %{buildroot}%{_datadir}/fonts
# 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.
@@ -192,8 +156,6 @@ fi
%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.
@@ -436,18 +398,4 @@ exit 0
%{_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