Subject: Re: CVS commit: pkgsrc/print/ghostscript
To: David Sainty <David.Sainty@dtsp.co.nz>
From: Greg Troxel <gdt@ir.bbn.com>
List: pkgsrc-changes
Date: 10/23/2007 08:30:26
David Sainty <David.Sainty@dtsp.co.nz> writes:

> On Mon, 22 Oct 2007 11:59:45 -0400 "Greg Troxel" <gdt@ir.bbn.com> wrote:
>> For people who build from source, that's great, but it means, I think,
>> that using cups from binary packages doesn't really work.  That's why I
>> was trying to think of how to make the default build work, while not
>> causing too much grief.
>
> Good point, but I think this is a non-problem, and here's why :)
>
> I don't think this is different to the Many other packages that optionally 
> use CUPS.  I think koffice is an example.
>
> For binary packages I think the answer is that cups should be globally 
> enabled in binary builds so that people that want it can use it.

As far as I know we don't have list of options to be globally enabled in
bulk builds; they use the default options for each package.  So, perhaps
ghostscript should have cups in PKG_SUGGESTED_OPTIONS.  The problem with
this is that then everyone who wants ghostscript ends up with cups.

(I realize that people building from source can tweak options and avoid
this, and hence to me the discussion is about the binary bulk builds.)

>>   The one thing I think might sway it is that it might be nice for
>>   print/cups to have a default "ghostscript" option...  That would
>>   require a cups-lib.

>> To avoid a circular dependency?  What would the ghostscript option do?
>> Just depend on ghostscript so cups can print ps files to non-ps
>> printers

> That's what I was thinking.  Not a biggie though.

This could be nice, but I would tend to leave it off by default (for
binary builds).  Cups could also depend on ijs, needed for HP printers
that don't use postscript.  But if one simply has to install those
packages, and then it works, it seems much less important to include
them by default, and the harm of bloat seems to win out as the major
consideration, at least for me.

We could solve this by having print/cups stay lean and print/cups-all
(need a better name) depend on ghostscript, ijs, and whatever else
people might want.  It might only serve as a clue and not get used, but
that would be ok.