Bug 1085599

Summary: Dependency bloat: gutenprint-cups → gutenprint → gtk2
Product: [Fedora] Fedora Reporter: Kevin Kofler <kevin>
Component: gutenprintAssignee: Tim Waugh <twaugh>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: medium    
Version: rawhideCC: jpopelka, twaugh
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: gutenprint-5.2.10-0.6.pre2.fc21 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-04-09 17:09:05 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 661442    

Description Kevin Kofler 2014-04-09 01:11:28 UTC
Description of problem:
gutenprint-cups now drags in gtk2 through the main package. This is not the case in Fedora 19 or 20 nor in the other distros I have checked (Debian, Ubuntu).

Version-Release number of selected component (if applicable):
gutenprint-5.2.10-0.5.pre2.fc21

How reproducible:
Always.

Steps to Reproduce:
1. Install gutenprint-cups on a system without gtk2.

Actual results:
gtk2 is required.

Expected results:
gtk2 is not required.

Additional info:
The issue seems to stem from libgutenprintui2. That library has always been included in our gutenprint main package, but it used to be underlinked, relying on the client program to link the correct GTK+ libraries. That has now been fixed by upstream, introducing the (unwanted) dependency.

Please package libgutenprint and libgutenprintui2 separately from each other (i.e. move at least one of them to a subpackage). gutenprint-cups requires only libgutenprint and not libgutenprintui2.

Comment 1 Jiri Popelka 2014-04-09 08:37:51 UTC
(In reply to Kevin Kofler from comment #0)
> That has now been fixed by upstream, introducing the (unwanted) dependency.

Correct.
http://sourceforge.net/p/gimp-print/mailman/message/30193940/

> Please package libgutenprint and libgutenprintui2 separately from each other
> (i.e. move at least one of them to a subpackage). gutenprint-cups requires
> only libgutenprint and not libgutenprintui2.

I'd move both of them (leaving one in main package looks strange).
Any suggestions for names ?
libgutenprint -> gutenprint-libs
libgutenprintui2 -> gutenprint-libs-ui

Comment 2 Tim Waugh 2014-04-09 11:18:50 UTC
Those names look good to me.