Commit Graph

225 Commits

Author SHA1 Message Date
Matt McHenry
c97f15e81a
virtualbox: fix audio driver loading (#136048)
virtualbox: fix audio driver loading

fixes #123851

patch by @jcumming
2021-09-16 14:11:38 +03:00
Artturin
e740711cf6 virtualbox: remove components/VBoxREM.so when
hardened or headless is enabled
arch does it as well
1b2aaf4113/trunk/PKGBUILD (L184)
2021-09-08 19:06:33 +03:00
Kid
b43389f49d iasl: drop pacakge 2021-08-10 03:46:01 +00:00
Markus Partheymueller
5701e5bc3b
virtualbox: 6.1.22 -> 6.1.26 (#132223)
Co-authored-by: Sandro <sandro.jaeckel@gmail.com>
2021-08-02 16:40:32 +02:00
AndersonTorres
e9e5f5f84d Change all alsaLib references to alsa-lib 2021-06-10 01:12:49 -03:00
William Kral
ba0da8a076 virtualbox: 6.1.18 -> 6.1.22 2021-05-16 16:54:18 -07:00
André Silva
4499318712
virtualbox: fix build on linux 5.11 2021-03-01 10:12:27 +00:00
Sandro Jäckel
b02c411492
virtualbox:
virtualbox: remove unused input
2021-02-17 23:12:25 +01:00
Bryan A. S
72e688c973 virtualbox: 6.1.16 -> 6.1.18
Signed-off-by: Bryan A. S <bryanasdev000@gmail.com>
2021-01-22 19:36:45 -03:00
Ben Siraphob
5d566c43b4 pkgs/applications: pkgconfig -> pkg-config 2021-01-16 23:49:59 -08:00
Ben Siraphob
108bdac3d9 pkgs/applications: stdenv.lib -> lib 2021-01-15 14:24:03 +07:00
Magicloud
e416dc89a1 virtualbox: 6.1.14 -> 6.1.16
6.1.16 is the latest release of Virtualbox. And it is necessary to have it when using Linux 5.9 kernel.
2020-10-24 02:53:08 +08:00
Maximilian Bosch
579404c4a5
virtualbox: re-add support for virtio
For some reason the original source tarball for version 6.1.14 didn't
bundle the sources for `virtio`-support causing a build-failure.

After this was reported, a new tarball named
`VirtualBox-6.1.14a.tar.bz2` was published which fixes the issue[1].

[1] https://www.virtualbox.org/ticket/19862
2020-09-25 12:37:39 +02:00
Magicloud
e1538e43b9 virtualbox: 6.1.10 -> 6.1.14
6.1.14 is the latest release of Virtualbox.

Also disabled VirtIO since the source tarball does not include necessary source code.
2020-09-09 19:58:36 +08:00
Florian Klink
d5f7c6ed3c
Merge pull request #89798 from nthorne/virtualbox6110
virtualbox: 6.1.6 -> 6.1.10
2020-07-21 14:32:18 +02:00
Domen Kožar
347ab190c7
remove usage of patchelfUnstable now that it's released 2020-07-08 21:55:09 +02:00
Niklas Thorne
081aa8f724 virtualbox: 6.1.6 -> 6.1.10 2020-06-08 12:37:06 +02:00
Julian Stecklina
7c995a4532 virtualbox: build BIOS from C instead of alternative sources
VirtualBox ships with "alternative BIOS sources" for its virtual BIOS.
These are generated by first compiling the BIOS C sources with the
Open Watcom toolchain, disassembling the output and checking in the
disassembly into the VirtualBox repo.

The result means that the BIOS C code cannot be patched, because it's
not compiled from the C sources, if Open Watcom is not there.

As Open Watcom is now available in nixpkgs, we can just ignore the
alternative BIOS sources and compile it from C directly.
2020-04-28 13:36:50 +02:00
Fabian Möller
0481e09ad3
virtualbox: 6.1.4 -> 6.1.6 2020-04-19 14:04:17 +02:00
Fabian Möller
93e8f5d90f
virtualbox: add update script 2020-04-19 14:03:58 +02:00
Michael Reilly
84cf00f980
treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
Matteo Scarlata
2b99b29136 virtualbox: 6.0.14 -> 6.1.4
Update Virtualbox to its latest version. This allows compilation against
kernel >= 5.4 to succeed without further patches (see #74260, build
would fail for linux-5.5.5 to 5.5.9).
2020-03-13 22:36:31 +00:00
Jan Tojnar
21280e418d
virtualbox: fix eval 2019-12-30 22:01:39 +01:00
Maximilian Bosch
59ab29fe88
virtualbox: fix build
Newer `iasl`-versions disallow strings within certain declarations[1]
which breaks the virtualbox build as it relies on exactly this
behavior[2].

This should be removed again when updating virtualbox to 6.1.

[1] https://acpica.org/node/172
[2] https://hydra.nixos.org/build/108774352
2019-12-30 14:11:32 +01:00
Florian Klink
135ebdb7b8
Merge pull request #74260 from B4dM4n/virtualbox-update
virtualbox: 6.0.12 -> 6.0.14
2019-12-12 03:52:39 +01:00
Fabian Möller
63969f5821
fixup! virtualbox: 6.0.12 -> 6.0.14 2019-12-11 22:59:50 +01:00
Florian Klink
64bb05dc4a virtualbox: remove flokli from maintainers
I'm not using virtualbox anymore.
2019-11-28 16:18:11 +01:00
Fabian Möller
041680d936
virtualbox: 6.0.12 -> 6.0.14 2019-11-26 11:58:52 +01:00
Konrad Borowski
8e2c34c0b0 virtualbox: 6.0.10 -> 6.0.12 2019-10-09 22:14:57 +02:00
William Kral
2f2da824ed virtualbox: Temporary fix for kernel >= 5.3 2019-09-23 12:33:34 -07:00
Tim Steinbach
4e99ef6a18
virtualbox: 6.0.8 -> 6.0.10 2019-09-04 11:12:07 -04:00
Ambroz Bizjak
b52dfd3007 virtualbox: Make sure that Qt finds plugins to make VMs run again.
Fixes #65564. When hardening is enabled, we cannot use a wrapper for
VirtualBoxVM, so patch the source code to set QT_PLUGIN_PATH as required.
2019-09-04 06:38:12 -07:00
volth
c814d72b51 treewide: name -> pname 2019-08-17 10:54:38 +00:00
worldofpeace
2bd649b152 virtualbox: use wrapQtAppsHook
Fixes #66200

See: #65399
2019-08-06 13:07:57 -04:00
Nikolay Amiantov
6f0b781bc1 virtualbox: enable Java bindings
Almost doesn't affect closure size:

Before:
/nix/store/0l23ahih0wzm39q7vgch9v86pw28shdh-virtualbox-6.0.8	 545.9M

After:
/nix/store/s7c6jgf6p0w64fxxh9iik9yi1rsmf2jz-virtualbox-6.0.8	 546.6M
2019-06-28 17:49:36 +03:00
Josef Kemetmüller
25a89d05d8 virtualboxHeadless: Fix build 2019-06-01 15:30:35 +02:00
Ambroz Bizjak
1430e10892 virtualbox: 6.0.6 -> 6.0.8 2019-05-25 21:39:55 +02:00
Florian Klink
7495a761cc
virtualbox: python2 -> python3 (#61100)
virtualbox: python2 -> python3
2019-05-10 14:54:56 +02:00
Ambroz Bizjak
5bec9dc65b virtualbox: 5.2.28 -> 6.0.6
Quite some fixing was needed to get this to work.

Changes in VirtualBox and additions:

- VirtualBox is no longer officially supported on 32-bit hosts so i686-linux is removed from platforms
  for VirtualBox and the extension pack. 32-bit additions still work.

- There was a refactoring of kernel module makefiles and two resulting bugs affected us which had to be patched.
  These bugs were reported to the bug tracker (see comments near patches).

- The Qt5X11Extras makefile patch broke. Fixed it to apply again, making the libraries logic simpler
  and more correct (it just uses a different base path instead of always linking to Qt5X11Extras).

- Added a patch to remove "test1" and "test2" kernel messages due to forgotten debugging code.

- virtualbox-host NixOS module: the VirtualBoxVM executable should be setuid not VirtualBox.
  This matches how the official installer sets it up.

- Additions: replaced a for loop for installing kernel modules with just a "make install",
  which seems to work without any of the things done in the previous code.

- Additions: The package defined buildCommand which resulted in phases not running, including RUNPATH
  stripping in fixupPhase, and installPhase was defined which was not even run. Fixed this by
  refactoring using phases. Had to set dontStrip otherwise binaries were broken by stripping.
  The libdbus path had to be added later in fixupPhase because it is used via dlopen not directly linked.

- Additions: Added zlib and libc to patchelf, otherwise runtime library errors result from some binaries.
  For some reason the missing libc only manifested itself for mount.vboxsf when included in the initrd.

Changes in nixos/tests/virtualbox:

- Update the simple-gui test to send the right keys to start the VM. With VirtualBox 5
  it was enough to just send "return", but with 6 the Tools thing may be selected by
  default. Send "home" to reliably select Tools, "down" to move to the VM and "return"
  to start it.

- Disable the VirtualBox UART by default because it causes a crash due to a regression
  in VirtualBox (specific to software virtualization and serial port usage). It can
  still be enabled using an option but there is an assert that KVM nested virtualization
  is enabled, which works around the problem (see below).

- Add an option to enable nested KVM virtualization, allowing VirtualBox to use hardware
  virtualization. This works around the UART problem and also allows using 64-bit
  guests, but requires a kernel module parameter.

- Add an option to run 64-bit guests. Tested that the tests pass with that. As mentioned
  this requires KVM nested virtualization.
2019-05-09 23:36:57 +02:00
Graham Christensen
e2f6e36401
virtualbox: python2 -> python3 2019-05-07 14:54:39 -04:00
Artemis Tosini
ea29d811b5
virtualbox: 5.2.26 → 5.2.28 2019-04-28 23:07:55 +00:00
Florian Klink
29d7e7a0c6 virtualbox: 5.2.22 -> 5.2.26 (#56210) 2019-02-22 17:55:47 -08:00
Jan Malakhovski
e295651108 virtualbox: move defaults to package file 2019-02-13 23:12:38 +00:00
Lengyel Balazs
f4a53ff3bc treewide/xorg: replace *proto with xorgproto 2019-01-04 14:38:57 +01:00
Alyssa Ross
d41661cea7
virtualbox: 5.2.14 -> 5.2.22
I had to drop xorriso because it didn't seem to want to compile with it
any more, and had to add libopus as a build input because it wouldn't
compile without that.
2018-12-07 16:04:49 +00:00
Will Dietz
eb91037e7b tree-wide: patchelf used during build -> nativeBuildInputs
In a few cases it wasn't clear so I left them as-is.

While visiting these moved other things to nativeBuildInputs
when it was clear they were one of these cases:

* makeWrapper
* archive utilities (in order to unpack src)
  * a few of these might no longer be needed but leaving for another day
2018-09-28 11:43:16 -05:00
(cdep)illabout
d2b5e6eafe
Start trying to actually use the extpack in the virtualbox derivation. 2018-08-10 14:28:57 +09:00
volth
52f53c69ce pkgs/*: remove unreferenced function arguments 2018-07-21 02:48:04 +00:00
Florian Klink
fa4c1eeae6 virtualbox: 5.2.12 -> 5.2.14 2018-07-17 12:40:20 +02:00
Silvan Mosberger
57bccb3cb8 treewide: http -> https sources (#42676)
* treewide: http -> https sources

This updates the source urls of all top-level packages from http to
https where possible.

* buildtorrent: fix url and tab -> spaces
2018-06-28 20:43:35 +02:00