Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 344647 - qt-gui x11-libs/cairo : strange dependency
Summary: qt-gui x11-libs/cairo : strange dependency
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: All Linux
: High normal
Assignee: Qt Bug Alias
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-11-08 08:18 UTC by Helmut Jarausch
Modified: 2010-11-14 21:13 UTC (History)
0 users

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 Helmut Jarausch 2010-11-08 08:18:54 UTC
Hi,

there is a strange dependency between x11-libs/qt-gui and x11-libs/cairo.

qt-gui-4.7.0-r1 has  
	gtk? ( || ( >=x11-libs/cairo-1.10.0[-qt4] <x11-libs/cairo-1.10.0 ) )

on the other hand
cairo-1.10.0-r3 has
	qt4? ( >=x11-libs/qt-gui-4.4:4 )

Is there any explanation for this?

Thanks,
Helmut.



Reproducible: Always
Comment 1 Ferry 2010-11-08 11:03:28 UTC
Never had issues with this. Also, haven't set the qt4 use flag myself, probably comes from the profile (10.0 amd64 desktop).

Since I use gnome *most* (not all thus) of the time I have included the gtk use flag.

emerge: there are no ebuilds built with USE flags to satisfy ">=x11-libs/cairo-1.10.0[-qt4]".
!!! One of the following packages is required to complete your request:
- x11-libs/cairo-1.10.0-r3 (Change USE: -qt4)
(dependency required by "x11-libs/qt-gui-4.7.0-r1" [ebuild])
(dependency required by "kde-base/kbattleship-4.5.3" [installed])
(dependency required by "kde-base/kdegames-meta-4.5.3" [installed])
(dependency required by "kde-base/kde-meta-4.5.3" [installed])
(dependency required by "@selected")
(dependency required by "@world" [argument])
Comment 2 Ferry 2010-11-10 10:27:56 UTC
Soz, I'm a lying little guy.

I haven't set gtk nor qt4 :). Both seem to come from the profile.
Comment 3 Davide Pesavento (RETIRED) gentoo-dev 2010-11-14 21:13:29 UTC
(In reply to comment #0)
> Hi,
> 
> there is a strange dependency between x11-libs/qt-gui and x11-libs/cairo.
> 
> qt-gui-4.7.0-r1 has  
>         gtk? ( || ( >=x11-libs/cairo-1.10.0[-qt4] <x11-libs/cairo-1.10.0 ) )
> 
> on the other hand
> cairo-1.10.0-r3 has
>         qt4? ( >=x11-libs/qt-gui-4.4:4 )
> 
> Is there any explanation for this?
> 

Nothing strange.
The dep on >=x11-libs/cairo-1.10.0[-qt4] was added to workaround bug #336801 and to prevent a cyclic dep between qt-gui[gtk] and cairo[qt4]. Since qt-gui-4.7.1-r1 it has been removed, because the gtk+ style, which was causing both issues, has been split off to a separate package (x11-themes/qgtkstyle).