Opened 12 years ago

Closed 12 years ago

#128 closed defect (fixed)

Gentoo xpra ebuild - dependency resolution for Xvfb

Reported by: Stroller Owned by: Antoine Martin
Priority: major Milestone:
Component: Client Keywords: Gentoo ebuild xpra Xvfb dependency


When installing xpra using your ebuild, the following ewarn message is given upon completion:

>>> Installing (1 of 1) net-misc/xpra-
 * Server support requires Xvfb
 * This cannot be pulled in by this ebuild

Surely this dependency should be resolved programatically?

Change History (2)

comment:1 Changed 12 years ago by Stroller

On my system x11-base/xorg-server provides this file:

$ locate Xvfb | grep bin/usr/bin/Xvfb
$ equery b `!!`
equery b `locate Xvfb | grep bin`
[ Searching for file(s) /usr/bin/Xvfb in *... ]
x11-base/xorg-server-1.9.2 (/usr/bin/Xvfb)

Therefore surely you can DEPEND on xorg-server?

I see that you do this already, however, I also happen to know (don't ask me how) that Xvfb is installed by xorg-server as long as the minimal USE flag is not set.

Therefore I think you can state the dependency thusly:

ssh? ( net-misc/openssh )
server? ( x11-base/xorg-server[-minimal] )
server? ( dev-python/cython )
server? ( x11-libs/libXtst )

Note the addition of "-minimal" on the 3rd line above. I won't swear that this will resolve the dependency, but I think so.

comment:2 Changed 12 years ago by Antoine Martin

Resolution: fixed
Status: newclosed

Hah, excellent. I wasn't aware of that, I had used a patched ebuild which allowed me to build with +minimal *and* +xfvb... I have no idea why that is no longer an option.

Fixed in r3416 - updated ebuilds are here

Note: See TracTickets for help on using tickets.