Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 254217

Summary: x11-apps/ccsm should require pycairo
Product: Gentoo Linux Reporter: Roman Krylov <rkrylov>
Component: New packagesAssignee: Desktop-Effects herd <desktop-effects+disabled>
Status: RESOLVED INVALID    
Severity: minor CC: jer
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Roman Krylov 2009-01-08 12:33:26 UTC
compiz-fusion should require pycairo, not only cairo.
Otherwise, ccsm will fail with something like "Python: module cairo not found".

Reproducible: Always

Steps to Reproduce:
1. Try to install compiz-fusion without pycairo
2. Run ccsm.


Actual Results:  
"Python: module cairo not found"

Expected Results:  
no bugs :)

ofcourse install(reinstall) of pycairo solves the problem
Comment 1 Roman Krylov 2009-01-08 12:35:47 UTC
Also ebuild should check real presence and functioning of 'gtk' module for python from pygtk - if it's broken it should be reinstalled manually to solve the problem.
Comment 2 Jeroen Roovers (RETIRED) gentoo-dev 2009-01-08 16:26:13 UTC
Looks like compiz-fusion depends on x11-apps/ccsm which depends on dev-python/pygtk which depends on dev-python/pycairo in turn. Looks like a valid dependency tree to me...
Comment 3 Jorge Manuel B. S. Vicetto (RETIRED) gentoo-dev 2009-01-09 15:13:32 UTC
(In reply to comment #1)
> Also ebuild should check real presence and functioning of 'gtk' module for
> python from pygtk - if it's broken it should be reinstalled manually to solve
> the problem.
> 

If you mean an automatic detection, that's against Gentoo way. This is done in Gentoo through dependencies and as Jeroen said, the deptree seems correct.
If it's still failing, check the output of emerge -uDpvN world.

PS - The title was also wrong as your issue was with ccsm and not compiz-fusion
Comment 4 Roman Krylov 2009-01-11 10:02:23 UTC
OK, ccsm is separate package, but is a strict dependency of compiz-fusion.

Well, should I have had submitted a bug to compiz-fusion bugzilla to validate the presence of pygtk?

P.S. Sorry for bad English, I tried to express the subject as I could :)
Comment 5 Jorge Manuel B. S. Vicetto (RETIRED) gentoo-dev 2009-01-19 02:39:54 UTC
(In reply to comment #4)
> OK, ccsm is separate package, but is a strict dependency of compiz-fusion.
> 
> Well, should I have had submitted a bug to compiz-fusion bugzilla to validate
> the presence of pygtk?
> 
> P.S. Sorry for bad English, I tried to express the subject as I could :)
> 

I'm sorry, but your comment was buried in my inbox - just noticed it.
What I meant is that if you were asking for compiz-fusion to "automatically detect" the presence of gtk, that goes against the way things are done in Gentoo. As I explained, that's done through dependencies in Gentoo and they seem correct here.
For help troubleshooting your issue, you may want to join #gentoo-desktop-effects in the freenode irc network.