Page MenuHomeFreeBSD

[new port] emulators/virtualbox-ose-lite: minimal deps for packaging
AcceptedPublic

Authored by alfred on Dec 31 2014, 7:50 PM.
Tags
None
Referenced Files
Unknown Object (File)
Feb 17 2024, 11:22 PM
Unknown Object (File)
Feb 16 2024, 9:22 AM
Unknown Object (File)
Jan 2 2024, 7:40 PM
Unknown Object (File)
Dec 19 2023, 11:59 PM
Unknown Object (File)
Nov 12 2023, 9:32 AM
Unknown Object (File)
Nov 9 2023, 8:29 PM
Unknown Object (File)
Sep 13 2023, 4:58 PM
Unknown Object (File)
Jun 26 2023, 12:08 AM
Subscribers

Details

Reviewers
jkim
bapt
bdrewery
Group Reviewers
vbox
Summary

This package has minimal deps, only udp server and
vncserver are required.

This works really nicely for someone who just wants
to run headless vms or the VBoxManage tools without
bloat.

This came about due to concerns about using Virtualbox
due to the size of it.

Diff Detail

Repository
rP FreeBSD ports repository
Lint
No Lint Coverage
Unit
No Test Coverage

Event Timeline

alfred retitled this revision from to virtualbox-ose-lite minimal deps for packaging.
alfred updated this object.
alfred edited the test plan for this revision. (Show Details)

I really do not think this is worth, and it might make vbox maintenance more complicated, generating an ova file is easy enough from command line (my failure on vmware was more due to how I generated the vmdk aka version which support were dropped by vmware)

The other use, for which we use it at work is to use vbox to run images. I don't think we need ALL the options for such a port and it should help people with OCD about deps.

To be more clear: without this port, you need to install a HUGE dependency chain just to run some FreeBSD VMs.

With this port you wind up just having to compile the following:

Virtualbox
libvncserver & libjpeg
In D1405#4, @bapt wrote:

I really do not think this is worth, and it might make vbox maintenance more complicated, generating an ova file is easy enough from command line (my failure on vmware was more due to how I generated the vmdk aka version which support were dropped by vmware)

This is list of ports for non-lite:

/usr/ports/emulators/virtualbox-ose % make pretty-print-run-depends-list
This port requires package(s) "aalib-1.4.r5_11 atk-2.14.0 ca_root_nss-3.17.3_1 cairo-1.12.18_1,2 cdrtools-3.00_2 compositeproto-0.4.2 curl-7.39.0_1 damageproto-1.2.1 dbus-1.8.12 dejavu-2.34_4 dri2proto-2.8 encodings-1.0.4_1,1 expat-2.1.0_2 fixesproto-5.0 font-bh-ttf-1.0.3_1 font-misc-ethiopic-1.0.3_1 font-misc-meltho-1.0.3_1 font-util-1.3.0_1 fontcacheproto-0.1.3 fontconfig-2.11.1,1 freetype2-2.5.4_1 gdk-pixbuf2-2.31.2_1 gettext-runtime-0.19.3 glib-2.42.1 gnome_subr-1.0 graphite2-1.2.4 gtk-update-icon-cache-2.24.25 harfbuzz-0.9.36 hicolor-icon-theme-0.12 icu-53.1 indexinfo-0.2.2 inputproto-2.3.1 jasper-1.900.1_14 jbigkit-2.1_1 jpeg-8_6 kbproto-1.0.6 libGL-10.4.0 libGLU-9.0.0_2 libICE-1.0.9,1 libIDL-0.8.14_2 libSM-1.2.2_2,1 libX11-1.6.2_2,1 libXau-1.0.8_2 libXcomposite-0.4.4_2,1 libXcursor-1.1.14_2 libXdamage-1.1.4_2 libXdmcp-1.1.1_2 libXext-1.3.3,1 libXfixes-5.0.1_2 libXfontcache-1.0.5_2 libXft-2.3.1_2 libXi-1.7.4,1 libXinerama-1.1.3_2,1 libXmu-1.1.2_2,1 libXrandr-1.4.2_2 libXrender-0.9.8_2 libXt-1.1.4_2,1 libXxf86vm-1.1.3_2 libdevq-0.0.2 libdrm-2.4.58_1,1 libffi-3.0.13_3 libfontenc-1.1.2_2 libgcrypt-1.6.1_5 libglapi-10.4.0 libgpg-error-1.17 libiconv-1.14_6 libpciaccess-0.13.2_2 libpthread-stubs-0.3_6 libvncserver-0.9.9_10 libxcb-1.11 libxml2-2.9.2_2 libxshmfence-1.1_3 libxslt-1.1.28_5 mkfontdir-1.0.7 mkfontscale-1.1.1_1 pango-1.36.8 pciids-20141222 pcre-8.35_2 perl5-5.18.4_11 pixman-0.32.6 png-1.6.16 py27-setuptools27-5.5.1 python2-2_3 python27-2.7.9 qt4-corelib-4.8.6_3 qt4-gui-4.8.6_3 qt4-network-4.8.6_1 qt4-opengl-4.8.6_2 randrproto-1.4.0 renderproto-0.11.1 sdl-1.2.15_5,2 shared-mime-info-1.1_1 tiff-4.0.3_5 virtualbox-ose-kmod-4.3.20 xcb-util-0.3.9_3,1 xcb-util-renderutil-0.3.9 xdg-utils-1.0.2.20130919_1 xextproto-7.3.0 xf86vidmodeproto-2.3.1 xineramaproto-1.2.1 xorg-fonts-truetype-7.7_1 xprop-1.2.2 xproto-7.0.26 xset-1.2.3_1" to run.

Now if you ONLY want to run a few vms under a headless box, you can install lite version which only has deps:

/usr/ports/emulators/virtualbox-ose % make run-depends-list LITE=YES
/usr/ports/devel/glib20
/usr/ports/devel/libIDL
/usr/ports/devel/pcre
/usr/ports/emulators/virtualbox-ose-kmod
/usr/ports/ftp/curl
/usr/ports/graphics/png
/usr/ports/net/libvncserver
/usr/ports/sysutils/cdrtools
/usr/ports/textproc/libxslt

That is much more sane for people.

right I'll let vbox people decide on this then :)

This has been sitting for a very long time now.

The intent of this was to make a meta-port that would only pull in the basics needed without qt and a bunch of other large deps.

Can this please be signed off on or some direction given? thank you.

This request came up a few times over the last years and usually in combination with www/phpvirtualbox. This allows to run vbox headless + vnc using a Webinterface which looks almost identical to the Qt GUI. From what I remember this would need the WEBSERVICE option I think.

Since I am not doing any useful vbox work these days I won't give any vote.

This revision is now accepted and ready to land.Jun 19 2018, 5:20 PM
linimon retitled this revision from virtualbox-ose-lite minimal deps for packaging to [new port] emulators/virtualbox-ose-lite: minimal deps for packaging.Jul 18 2018, 1:02 PM