Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 256995 - gnome-extra/avant-window-navigator-0.2.6.-r1 should depend on a composition manager
Summary: gnome-extra/avant-window-navigator-0.2.6.-r1 should depend on a composition m...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard:
Keywords:
Depends on: awn-0.3.2
Blocks:
  Show dependency tree
 
Reported: 2009-01-30 22:19 UTC by Paul Philippov
Modified: 2009-02-15 23:28 UTC (History)
2 users (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 Paul Philippov 2009-01-30 22:19:32 UTC
avant-window-navigator does not run if no composition manager presents in the system.


Reproducible: Always

Steps to Reproduce:

Actual Results:  
$ avant-window-navigator 
Error: Screen isn't composited. Please run compiz (-fusion) or another compositing manager.
Comment 1 Gilles Dartiguelongue (RETIRED) gentoo-dev 2009-01-31 00:26:21 UTC
I guess we could use some kind of virtual but I feel this would be way overkill.
Comment 2 Rémi Cardona (RETIRED) gentoo-dev 2009-02-01 14:23:37 UTC
No, it's a purely run-time dependency and putting them all in a virtual would be useless (not to mention almost impossible).

The best here IMHO is for the a-w-n ebuild to show a small einfo.

Thanks
Comment 3 Mike Auty (RETIRED) gentoo-dev 2009-02-09 23:15:20 UTC
This may not be an issue with the new a-w-n (0.3.2) since it apparently pops up a message box telling you when there's no compositing manager running.
Comment 4 Paul Philippov 2009-02-10 10:58:53 UTC
I don't think a-w-n pops up the message yet before is installed. I believe it would be better to prevent compiling it if no composing manage exists on the pc.
Comment 5 Mike Auty (RETIRED) gentoo-dev 2009-02-10 11:05:04 UTC
If it's a runtime dependency (and not a build time dependency) then why stop the program installing?  It's not possible to tell whether the user's just about to install one afterwards, so you might just end up frustrating the user.

Also, we'd then have to maintain a list of compositing window managers which might not get updated at the same time the tree is updated, which would allow for the even more frustrating situation of having a compositing window manager installed but *still* not being allowed to install a-w-n.

Die messages for runtimes dependencies are bad.  At best you could get away with an ewarn, but you should still allow the compilation and installation...
Comment 6 Rémi Cardona (RETIRED) gentoo-dev 2009-02-10 11:07:19 UTC
(In reply to comment #4)
> I don't think a-w-n pops up the message yet before is installed. I believe it
> would be better to prevent compiling it if no composing manage exists on the
> pc.

Again, that's wrong (IMHO) because a compositor is a _strictly_ runtime dep.
Forcing a compositor in {R,}DEPEND is a _bad_ idea.

AWN will be notified if they run it without a compositor. That's more than
necessary in my opinion.

Thanks
Comment 7 Gilles Dartiguelongue (RETIRED) gentoo-dev 2009-02-15 23:28:55 UTC
added an ewarn.