Bugzilla – Bug 1216560
ghostscript recommending cups-filters?
Last modified: 2024-02-02 13:16:21 UTC
Is there a need for ghostscript to recommend cups-filters? Unfortunately ghostscript is pulled through ImageMagick into systems (uses it for some image conversions). If that one pulls cups-filters we end up with full blown cups installations.
regarding "cups-filters" there is in ghostscript.spec only -------------------------------------------------------------- %if 0%{?suse_version} > 1210 Recommends: cups-filters-ghostscript %endif -------------------------------------------------------------- and in ghostscript.changes there is -------------------------------------------------------------- Tue Sep 3 16:26:46 CEST 2013 - jsmeix@suse.de ... * 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). -------------------------------------------------------------- so I assume this "Recommends: cups-filters-ghostscript" came from https://bugzilla.opensuse.org/show_bug.cgi?id=735404#c44 which is dated 2013-08-28 In cups-filters.spec there is -------------------------------------------------------------- Requires: cups > 1.5.4 ... Provides: cups-filters-ghostscript -------------------------------------------------------------- and in cups-filters.changes there is -------------------------------------------------------------- Tue May 30 13:57:16 CEST 2017 - jsmeix@suse.de - Since version 1.14.0 there are no longer sub-packages ... -------------------------------------------------------------- so since May 30 2017 a "Recommends: cups-filters-ghostscript" leads to a "Requires: cups > 1.5.4" I think both in ghostscript.spec "Recommends: cups-filters-ghostscript" and in cups-filters.spec "Requires: cups > 1.5.4" are meanwhile wrong. That cups-filters.spec "Requires: cups > 1.5.4" is only there to require a sufficient CUPS version. It is not there to require CUPS. See the comment in cups-filters.spec there. I will have a closer look which of all those old dependencies around cups-filters is still needed nowadays. I want to keep backward compatibility with SLE15/Leap15 (even SLE12-GA has already cups-1.7.5).
In ghostscript.spec Recommends: cups-filters-ghostscript became meanwhile fixed by Dominique Leuenberger as Recommends: (cups-filters-ghostscript if cups) so ghostscript recommends cups-filters only when cups is present see https://build.opensuse.org/request/show/1133848
In cups-filters.spec removed outdated and obsoleted Requires: cups > 1.5.4 see https://build.opensuse.org/request/show/1143640 and https://build.opensuse.org/request/show/1143641