Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 124361 - app-emulation/xen-3.0.1-r1 and SDL, VNC, mingw32, Adlib, FMOD
Summary: app-emulation/xen-3.0.1-r1 and SDL, VNC, mingw32, Adlib, FMOD
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Other
: High normal (vote)
Assignee: Chris Bainbridge (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-02-27 22:56 UTC by Christopher G. Stach II
Modified: 2006-08-04 06:53 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
xen-3.0.1-r1.patch (xen-3.0.1-r1.patch,1.67 KB, patch)
2006-02-28 12:02 UTC, Christopher G. Stach II
Details | Diff
VNC/SDL/FMOD Patch (xen-tools-3.0.2-vncsdlfmod.patch,7.89 KB, patch)
2006-07-04 08:11 UTC, Nick Devito
Details | Diff
SDL/VNC/FMOD patch for xen-tools (xen-tools-3.0.2-vncsdlfmod.patch,581 bytes, patch)
2006-07-04 08:22 UTC, Nick Devito
Details | Diff
USE-based VNC and SDL support in xen-tools (vnc-sdl-support.patch,1.34 KB, patch)
2006-07-06 01:05 UTC, Andrew Ross (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Christopher G. Stach II 2006-02-27 22:56:34 UTC
Xen can use SDL, VNC, etc. for guests.  It should probably have USE flags for both and consequently depend on those libs.

Build output:

(cd ioemu; ./configure --prefix=usr)
Install prefix    usr
BIOS directory    /usr/share/xen/qemu
binary directory  /usr/bin
Manual directory  /usr/share/man
Source path       /var/tmp/portage/xen-3.0.1-r1/work/xen-3.0.1/tools/ioemu
C compiler        gcc
make              make
host CPU          i386
host big endian   no
target list       target-i386-dm
gprof enabled     no
static build      no
VNC support       no
SDL support       no
SDL static link   no
mingw32 support   no
Adlib support     no
FMOD support      no
WARNING: cannot compile statically with SDL - qemu-fast won't have a graphical output
Comment 1 Chris Bainbridge (RETIRED) gentoo-dev 2006-02-28 01:56:19 UTC
Please attach a patch for the ebuild to enable that functionality with the appropriate USE flags. I have never used the sdl/vnc functionality and would prefer a patch from someone who actually has it working...
Comment 2 Christopher G. Stach II 2006-02-28 12:02:24 UTC
Created attachment 80956 [details, diff]
xen-3.0.1-r1.patch
Comment 3 Christopher G. Stach II 2006-02-28 12:03:10 UTC
Crap, wrong bug.  Ignore!
Comment 4 Chris Bainbridge (RETIRED) gentoo-dev 2006-03-05 02:59:29 UTC
Comment on attachment 80956 [details, diff]
xen-3.0.1-r1.patch

not this bug
Comment 5 Nick Devito 2006-07-04 08:01:04 UTC
It seems like once the libraries are installed, it will automagically detect the libraries and compile in support for it. I've made a patch, and I will attach it as soon as I grab a clean copy of the xen-tools-3.0.2-r1 ebuild...
Comment 6 Nick Devito 2006-07-04 08:11:12 UTC
Created attachment 90857 [details, diff]
VNC/SDL/FMOD Patch

This adds sdl/vnc/fmod support to xen-tools. Adding mingw32 would be kind of pointless.
Comment 7 Nick Devito 2006-07-04 08:22:35 UTC
Created attachment 90861 [details, diff]
SDL/VNC/FMOD patch for xen-tools

This patch actually works without replacing everything with spaces! (That's why you never copy and paste anything that has tabs in it..)
Comment 8 Andrew Ross (RETIRED) gentoo-dev 2006-07-06 01:05:41 UTC
Created attachment 91023 [details, diff]
USE-based VNC and SDL support in xen-tools

USE-based dependencies are only half the solution, as ./configure 's autodetection needs to be overridden as well.

Both app-emulation/xen-tools-3.0.2-r1.ebuild and the patch in attachment 90861 [details, diff] allow xen-tools to autodetect the presence of SDL and build against it, which results in incorrect behaviour when SDL is installed but the user doesn't wish xen-tools to be built with SDL support. The same is true for VNC.

fmod support looks broken in the copy of qmeu bundled with xen-tools (fmodaudio.c is missing, at the very least), and no-one appears to be using it anyway (based on searches of the xen-users and xen-devel mailing lists, along with Google searches).

Please test this patch, as I do not currently have access to a suitable setup for complete testing.
Comment 9 R. May 2006-07-28 02:03:06 UTC
Hello,

I tried the patch Xen-tools will compile but must we also rebuild xend?

Do you have a Intel VT to get a working Windows in your vm?

R. R.
Comment 10 R. May 2006-07-28 09:33:15 UTC
Hello again,

SdL seems not to work.

with both (with patch and without)

I can't start Guest Image which needs SDL Support

I have a VT enabled CPU and a working image. But with gentoo it always has the B State in xentop

Regards Roland
Comment 11 Chris Bainbridge (RETIRED) gentoo-dev 2006-08-04 06:53:43 UTC
I've added the patch to portage.