Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 235603 - app-office/scribus-1.3.3.12: No "cups" USE flag.
Summary: app-office/scribus-1.3.3.12: No "cups" USE flag.
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High enhancement
Assignee: Hanno Böck
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-08-24 12:38 UTC by Jeremy Murphy
Modified: 2008-09-10 22:31 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jeremy Murphy 2008-08-24 12:38:11 UTC
There is a --disable-cups option to the configure script, but not "cups" USE flag to enable it.  So at the moment, scribus-1.3.3.12 always depends on cups, but it looks like it doesn't have to.

Reproducible: Always
Comment 1 Jeroen Roovers (RETIRED) gentoo-dev 2008-08-25 00:54:17 UTC
Looks like an automagical dependency in 1.3.3.12-r1 to me.
Comment 2 Jeremy Murphy 2008-08-25 01:07:03 UTC
(In reply to comment #1)
> Looks like an automagical dependency in 1.3.3.12-r1 to me.
> 

Sorry, what do you mean by that?  Nothing can be done?
Comment 3 Jeroen Roovers (RETIRED) gentoo-dev 2008-08-25 04:50:43 UTC
(In reply to comment #2)
> (In reply to comment #1)
> > Looks like an automagical dependency in 1.3.3.12-r1 to me.
> > 
> 
> Sorry, what do you mean by that?  Nothing can be done?

Automagical means care is taken that some library (from cups) is present before the package (scribus) is emerged, without making sure that cups is only used by scribus when USE=cups is given for the scribus ebuild. In this case, from looking solely at the ebuild it seems that cups is always required (whereas you suggest that configure says otherwise). I'll let hanno answer these. :)
Comment 4 Jeremy Murphy 2008-08-25 08:22:46 UTC
FYI, I tested configuring the package manually with "./configure" and "./configure --disable-cups".  Both complete successfully, here's the difference in their log files:

$ diff disable-cups.log enable-cups.log
175a176,179
> checking cups/cups.h usability... yes
> checking cups/cups.h presence... yes
> checking for cups/cups.h... yes
> checking for cups-config... yes
313c317
<    CUPS installed:          No
---
>    CUPS installed:          Yes
Comment 5 Hanno Böck gentoo-dev 2008-09-10 22:31:52 UTC
Added cups useflag. I've not bumped scribus, as I don't think it's important enough.