https://github.com/adamv/homebrew/tree/vbox In my "vbox" branch I have a prelimiary formula for VirtualBox. Due to the complexity and weirdness of VirtualBox itself, it is unlikely that this formula will ever end up in the master repo. But it will go into Homebrew-Alt once I get it a bit more solid, and maybe some other people will find it useful. Note that I am rebasing this branch at will. VirtualBox is built 32-bit only. It requires that the user and kernel mode data structures have the same size. This is true on most UNIX systems, but OS X has a hybrid 32-bit kernel/64-bit userspace. And since I don't have any new enough Macs for testing, I can't test it with the 64-bit kernel enabled. So in order to build 32-bit on Snow Leopard with Homebrew, this branch also incorporates Universal builds of gettext and glib. These universal capable builds will flow back to master, again, after they've had some more testing. Caveats, warnings, and general notes in the formula itself: https://github.com/adamv/homebrew/blob/vbox/Library/Formula/virtualbox.rb Any feedback greatly appreciated.
On Sun, Jun 5, 2011 at 12:08 PM, Adam Vandenberg <flangy@gmail.com> wrote: > Any feedback greatly appreciated. > WOOT! -Charlie
Since I was able to get Ubuntu running in a homebrewed VirtualBox, I decided that the Universal gettext/glib was safe to merge into master, so I did. FYI. A couple of things I'm hacking on (which will affect VirtualBox and Wine) are: * Save the install options when a formula is installed, so upgrade can reinstall with the same options. Not quite sure the best way to do this yet. * Be able to specify that a formula is 32-bit only, even on Snow Leopard, as part of the formula DSL. This will simplify dep management somewhat. * Be able to specify dep options. This is a longer term goal, and of the three issues here, the one I'm least comfortable with. On Sun, Jun 5, 2011 at 12:59 PM, Charlie Sharpsteen <chuck@sharpsteen.net> wrote: > On Sun, Jun 5, 2011 at 12:08 PM, Adam Vandenberg <flangy@gmail.com> wrote: >> >> Any feedback greatly appreciated. > > WOOT! > -Charlie