[Slackbuilds-users] qemu/spice-gtk and usbredir
atelszewski at gmail.com
Sat Oct 22 17:28:43 UTC 2016
On 22/10/16 14:33, Thomas Szteliga wrote:
> On 10/22/2016 09:39 AM, King Beowulf wrote:
>> qemu README already mentions spice and usbredir as optional
>> dependencies. spice-gtk README also mentions usbredir as an optional
>> dependency. Perhaps a more precise wording can ovoid confusion.
>> I suggest that the OP should assume that an optional dependency is
>> expected to be present at COMPILE-TIME unless otherwise specified.
>> Or the OP can just read the qemu/virt documentation.
> I'm aware. I can read, really ;-)
> But automated build tools won't know.
> And this causes, that the build order matters.
> We're no longer able to build qemu without usbredir when usbredir
> is somehow already present, because there's no way to pass
> --disable-usbredir to the qemu.Slackbuild.
> And what I'm really trying to say here is, that qemu without
> usbredir is missing an important feature and qemu without
> usbredir will make the virt-manager viewer unusable.
That depends on your use case.
Not everybody requires that feature.
And not everybody uses virt-manager.
> So maybe usbredir should be considered as REQUIRED
> or at least there should be a switch for qemu.Slackbuild
> available, which would stop the build if usbredir is missing,
> so we have more control, or a switch allowing us to pass
> --disable-usbredir if we're building on a system, where
> usbredir is already installed.
Something that is not required, shouldn't be flagged as required as long
as it makes sense.
But your proposal to forcibly disable building against usbredir is viable.
If it solves your problem, then ask the maintainer to add it.
You can never have too few options ;-)
> Before 14.1 usbredir was optional, because the official libusb
> was too old, that's not the case anymore.
No, it was optional, because it was optional ;-)
The SlackBuild build shipped with newer version of libusb linked
statically (?) to allow you to use usbredir.
All that being said, I'm using QEMU with usbredir support compiled-in,
everything under libvirt ;-)
> SlackBuilds-users mailing list
> SlackBuilds-users at slackbuilds.org
> Archives - https://lists.slackbuilds.org/pipermail/slackbuilds-users/
> FAQ - https://slackbuilds.org/faq/
More information about the SlackBuilds-users