Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 327901 - x11-terms/rxvt-unicode USE=afterimage should also support x11-wm/afterstep
Summary: x11-terms/rxvt-unicode USE=afterimage should also support x11-wm/afterstep
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All All
: High normal (vote)
Assignee: Jeroen Roovers (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-07-12 11:10 UTC by Manuel
Modified: 2010-08-27 09:51 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 Manuel 2010-07-12 11:10:05 UTC
The "afterimage"-functionality for "x11-terms/rxvt-unicode" can be 
supplied by both, "media-libs/libafterimage" and "x11-wm/afterstep".*

However, the RDEPEND of rxvt-unicode ebuilds just mentions libafterimage.
This is a problem for afterstep-users, as libafterimage and afterstep
block each other. So if one already has afterstep on the system and tries
to emerge rxvt-unicode with afterimage portage aborts, whining about
blocking packages…

This applies to all rxvt-unicode ebuilds I came across.

See "Expected Results" for proposed fix.


* This is because Afterstep incorporates afterimage, libafterimage is merely the stand-alone version of it.)

Reproducible: Always

Steps to Reproduce:
1. emerge afterstep
2. emerge rxvt-unicode with USE=afterimage
3. Oh noes!

Actual Results:  
 

Expected Results:  
Fix the ebuilds. The afterimage-related line of RDEPEND should look like this:
"afterimage? ( || ( media-libs/afterimage x11-wm/afterstep ) )" 

Try doing this in /usr/portage/x11-terms/rxvt-unicode:

sed  -i 's/afterimage? ( media-libs\/libafterimage )/afterimage? ( || ( media-libs\/afterimage x11-wm\/afterstep ) )/g' *.ebuild
Comment 1 Nathan Mahon 2010-07-22 19:50:15 UTC
I'd say this would be better solved by pulling libAI out of AfterStep and using system libAI as a dependency.  Solves several problems rather than just the rxvt-unicode one.
Comment 2 Jeroen Roovers (RETIRED) gentoo-dev 2010-08-27 04:12:32 UTC
Good idea. It's fixed in all ebuilds.
Comment 3 Paul Tobias 2010-08-27 07:47:26 UTC
Umm, guys,

Now all the rxvt-unicode ebuilds has this line as RDEPEND:
afterimage? ( || ( media-libs/afterimage x11-wm/afterstep ) )

But there is no media-libs/afterimage package in the tree. So it should be media-libs/libafterimage.
Comment 4 Manuel 2010-08-27 08:03:38 UTC
Damn you're right, reopened the bug, hope Jeroen will be seeing this soon.

Paul, could you tell guys in #gentoo on freenode on this? I'm still banned because I tried to discuss about the "no dirty language" policy with one of
the mods :/

Comment 5 Alex Alexander (RETIRED) gentoo-dev 2010-08-27 08:54:06 UTC
fixed the dependency, thanks for spotting ;)
Comment 6 Manuel 2010-08-27 09:51:20 UTC
Thanks alot. :)