Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 219587 - app-emulation/virtualbox-1.5.6: add use flag to disable the qt gui
Summary: app-emulation/virtualbox-1.5.6: add use flag to disable the qt gui
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: Markus Ullmann (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-04-28 12:32 UTC by Francisco J. Vazquez
Modified: 2008-08-10 15:13 UTC (History)
1 user (show)

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


Attachments
diff for virtualbox-1.5.6.ebuild (virtualbox-1.5.6-use-qt.diff,2.08 KB, patch)
2008-04-28 12:33 UTC, Francisco J. Vazquez
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Francisco J. Vazquez 2008-04-28 12:32:29 UTC
virtualbox is perfectly usable without the qt interface, via VBoxManage and VBoxSDL. With the diff posted below the gui is only built if the qt use flag is active, but it could be easily changed so that the gui is always built unless an local use variable is used (disable_qt_gui, or something like that).

Reproducible: Always
Comment 1 Francisco J. Vazquez 2008-04-28 12:33:24 UTC
Created attachment 151231 [details, diff]
diff for virtualbox-1.5.6.ebuild
Comment 2 Tristan Heaven (RETIRED) gentoo-dev 2008-04-29 14:54:08 UTC
The USE flag should be "qt3" instead.
Comment 3 Alessio Cassibba (X-Drum) 2008-06-05 22:50:51 UTC
(In reply to comment #0)
> virtualbox is perfectly usable without the qt interface, via VBoxManage and
> VBoxSDL. With the diff posted below the gui is only built if the qt use flag is
> active, but it could be easily changed so that the gui is always built unless
> an local use variable is used (disable_qt_gui, or something like that).
Hi,

the --enable-qt / --disable-qt switch is not recognized by the VirtualBox
build system, the only way to totally disable the build of the (qt) graphic frontend is to use the --build-headless switch

a version bump of VirtualBox 1.6.0 is available on jokey's overlay[1]
with this new use flag implemented.

[1] http://overlays.gentoo.org/dev/jokey/browser/trunk
Comment 4 Francisco J. Vazquez 2008-06-06 08:38:57 UTC
(In reply to comment #3)
> the --enable-qt / --disable-qt switch is not recognized by the VirtualBox
> build system, the only way to totally disable the build of the (qt) graphic
> frontend is to use the --build-headless switch

Maybe in 1.6.0. In 1.5.6:

$ grep -A 2 disable-qt configure
    --disable-qt)
      WITH_QT=0
      ;;

And I assure you, it works; I don't have any VirtualBox executable or qt libraries in my system :)

Of course there is a disable-headless too, but that also disables SDL:

$ grep -A 5 build-headless configure
    --build-headless)
      HEADLESS=1
      WITH_SDL=0
      WITH_SDL_TTF=0
      WITH_X11=0
      WITH_QT=0

So NO frontend is built (i.e., it makes it quite useless).
Comment 5 Markus Ullmann (RETIRED) gentoo-dev 2008-08-10 15:13:43 UTC
Seems this was overlooked during last version bump round

Fixed now :)