Mailinglist Archive: opensuse-packaging (68 mails)

< Previous Next >
[opensuse-packaging] Try to use BuildRequires ghostscript-mini[-devel]

Hello,

this is a request to all package maintainers who have
any kind of BuildRequires for Ghostscript in the spec files.

I ask you to try out if it works for your particular packages
when you use for building packages since openSUSE 12.2 only
either BuildRequires: ghostscript-mini
or BuildRequires: ghostscript-mini-devel
in spec files that have any kind of BuildRequires for Ghostscript.


Background information and reasoning:

Since openSUSE 12.2 we have Ghostscript in the new source packages
"ghostscript" and "ghostscript-mini"
("ghostscript-mini" is only a link to "ghostscript")
and the Ghostscript fonts in the new separated source package
ghostscript-fonts, see
https://bugzilla.novell.com/show_bug.cgi?id=735824

In particular regarding "ghostscript-mini" see
https://build.opensuse.org/package/show?package=ghostscript-mini&project=Printing

Excerpt:
-----------------------------------------------------------------
Minimal Ghostscript provides only the file
format drivers in particular to output
JPEG PNG PostScript and PDF files but no
printer drivers (in particular neither
'cups' nor 'ijs') and no X11 drivers.

The ghostscript-mini package is only meant
to be used by the openSUSE build service
to avoid possible loops in the build
dependencies because ghostscript-mini
has minimal build dependencies (in particular
neither CUPS nor X11 build dependencies).

For most packages which need to only run
Ghostscript during build, a single line
"BuildRequires: ghostscript-mini"
should be sufficient in the RPM spec file.

For most packages which need Ghostscript
development files to build, a single line
"BuildRequires: ghostscript-mini-devel"
should be sufficient in the RPM spec file.
-----------------------------------------------------------------

You should not need BuildRequires for ghostscript-fonts-* packages
because ghostscript-mini has RPM requires for ghostscript-fonts-std and
ghostscript-fonts-other to make sure that Ghostscript has its fonts, see

https://build.opensuse.org/package/view_file?expand=1&file=ghostscript-mini.spec&package=ghostscript-mini&project=Printing


Kind Regards
Johannes Meixner
--
SUSE LINUX Products GmbH -- Maxfeldstrasse 5 -- 90409 Nuernberg -- Germany
HRB 16746 (AG Nuernberg) GF: Jeff Hawn, Jennifer Guild, Felix Imendoerffer
--
To unsubscribe, e-mail: opensuse-packaging+unsubscribe@xxxxxxxxxxxx
To contact the owner, e-mail: opensuse-packaging+owner@xxxxxxxxxxxx

< Previous Next >
This Thread
  • No further messages