Commit Graph

157 Commits

Author SHA1 Message Date
K900
9692e965c6 virtualbox: 6.1.40 -> 7.0.6
- bump versions
- add new dependencies
- lrelease is an unconditional dependency now
- more Qt path hackery
- remove rdesktop-vrdp (removed upstream)
2023-03-04 13:39:50 +03:00
Artturin
f9fdf2d402 treewide: move NIX_CFLAGS_COMPILE to the env attrset
with structuredAttrs lists will be bash arrays which cannot be exported
which will be a issue with some patches and some wrappers like cc-wrapper

this makes it clearer that NIX_CFLAGS_COMPILE must be a string as lists
in env cause a eval failure
2023-02-22 21:23:04 +02:00
Vladimír Čunát
1511e469a6
virtualbox: 6.1.36 -> 6.1.40
In particular this fixes build of linuxPackages*.virtualbox after
updating linuxHeaders to 6.0
2022-10-19 11:18:45 +02:00
André Silva
0426ccf784
virtualbox: 6.1.34 -> 6.1.36 2022-07-30 12:35:06 +01:00
Alyssa Ross
97a16f52d7
linuxPackages.virtualboxGuestAdditions: properly mark platforms
This saves a lot of defensive checking inside the expression.
2022-06-26 18:12:06 +00:00
Alyssa Ross
943fd5ea4b
pkgsi686Linux.linuxPackages.virtualboxGuestAdditions: mark broken
Hasn't built since the upgrade to Linux 5.10.

https://forums.virtualbox.org/viewtopic.php?t=104819
2022-06-26 18:11:58 +00:00
Robert Scott
466c2e342a treewide/applications: add sourceType binaryNativeCode for many packages 2022-06-23 18:38:19 +01:00
André Silva
9c8132494f
virtualbox: 6.1.30 -> 6.1.34 2022-05-30 19:32:49 +01:00
Vladimír Čunát
b8c192b98e
linuxPackages.virtualboxGuestAdditions: xserverABI cleanup 2022-04-19 14:20:31 +02:00
Vladimír Čunát
54979403b9
linuxPackages.virtualboxGuestAdditions: xserverABI
Fix build after xorg-server upgrade.  I suppose we'll keep using 118?
  vboxvideo_drv_13.so
  vboxvideo_drv_14.so
  vboxvideo_drv_15.so
  vboxvideo_drv_16.so
  vboxvideo_drv_17.so
  vboxvideo_drv_18.so
  vboxvideo_drv_19.so
  vboxvideo_drv_70.so
  vboxvideo_drv_71.so
  vboxvideo_drv_110.so
  vboxvideo_drv_111.so
  vboxvideo_drv_112.so
  vboxvideo_drv_113.so
  vboxvideo_drv_114.so
  vboxvideo_drv_115.so
  vboxvideo_drv_116.so
  vboxvideo_drv_117.so
  vboxvideo_drv_118.so
2022-04-18 16:36:03 +02:00
Alyssa Ross
69af0d1717 linuxPackages.virtualboxGuestAdditions: mark broken on Linux 5.17
This package is slightly out of date, but 6.1.32 doesn't fix 5.17
compatibility either.
2022-03-21 13:22:59 +00:00
Alyssa Ross
dcabc91904
virtualbox: 6.1.28 -> 6.1.30
The guest additions currently don't build, either before or after this
change, but upgrading is still good because it gets us Linux 5.16
compatibility for the kernel module.
2022-01-10 03:54:09 +00:00
Bernardo Meurer
b232c81a32
virtualbox: 6.1.26 -> 6.1.28 2021-10-30 19:42:07 -07: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
William Kral
ba0da8a076 virtualbox: 6.1.18 -> 6.1.22 2021-05-16 16:54:18 -07: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
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
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
Pascal Bach
9c300b6e2c virtualbox-guest-additions: fix dlopen of libXrandr
The library could not be loaded which prevented autoresizing
when using the VMSVGA adapter.
2020-06-17 18:43:27 +02:00
Niklas Thorne
081aa8f724 virtualbox: 6.1.6 -> 6.1.10 2020-06-08 12:37:06 +02:00
Fabian Möller
0481e09ad3
virtualbox: 6.1.4 -> 6.1.6 2020-04-19 14:04:17 +02: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
Fabian Möller
837dbc809e
fixup! virtualbox: 6.0.12 -> 6.0.14
use fetchpatch in guest additions
2019-12-12 00:59:03 +01:00
Fabian Möller
041680d936
virtualbox: 6.0.12 -> 6.0.14 2019-11-26 11:58:52 +01:00
Florian Klink
fb5f649bc9
Merge pull request #70881 from xfix/virtualbox-update
virtualbox: 6.0.10 -> 6.0.12
2019-10-11 19:24:12 +02:00
Konrad Borowski
8e2c34c0b0 virtualbox: 6.0.10 -> 6.0.12 2019-10-09 22:14:57 +02:00
Linus Heckemann
22011b0218 linuxPackages.virtualBoxGuestAdditions: fix build
Fixes #70470
2019-10-07 14:02:45 +02:00
Florian Klink
8058883bad
linuxPackages.virtualboxGuestAdditions: apply mp-r0drv-linux.c… (#69500)
linuxPackages.virtualboxGuestAdditions: apply mp-r0drv-linux.c patch
2019-09-27 15:46:55 +02:00
Joachim F
ad773d31e2
Merge pull request #69345 from joachifm/feat/split-version
Replace uses of splitString for splitting version strings
2019-09-27 06:19:18 +00:00
Joachim Fasting
bad07dfac5
tree-wide: replace uses of splitString "." with lib.versions
Quoting from the splitString docstring:

   NOTE: this function is not performant and should never be used.

This replaces trivial uses of splitString for splitting version
strings with the (potentially builtin) splitVersion.
2019-09-26 17:42:49 +02:00
Florian Klink
61f0f8d607 linuxPackages.virtualboxGuestAdditions: apply mp-r0drv-linux.c patch
These don't use a the virtualbox sources, but an iso as src, and we need
to add the kernel 5.3 patch aswell.

As for some reason the source files are present on the .iso with Windows
Line endings (sic!), call dos2unix first.

Unfortunately, we can't use the same kernel-5.3-fix.patch as virtualbox
itself, as some files are missing and paths are different.
2019-09-26 12:01:30 +02:00
Ambroz Bizjak
7dcef37ef8 virtualboxGuestAdditions: Fix clipboard integration.
VBoxClient needs a RUNPATH entry to dlopen libXfixes successfully.

Fixes https://github.com/NixOS/nixpkgs/issues/65542
2019-09-23 18:07:37 +02:00
Christian Kögler
2756c3054c virtualboxGuestAdditions: fix compilation with kernel 5.2 2019-09-13 17:39:27 +02:00
Tim Steinbach
4e99ef6a18
virtualbox: 6.0.8 -> 6.0.10 2019-09-04 11:12:07 -04:00
Milan Pässler (work)
185fd61631 treewide: remove uses of doBuild and doConfigure
doBuild and doConfigure are not actually used by any builders, they were
probably added by mistake and just confuse people.
2019-09-02 23:42:12 +02:00
Florian Klink
fa6c93abe5
linuxPackages.virtualboxGuestAdditions: don't install VBoxOGL for now (#61944)
linuxPackages.virtualboxGuestAdditions: don't install VBoxOGL for now
2019-05-26 12:30:28 +02:00
Ambroz Bizjak
1430e10892 virtualbox: 6.0.6 -> 6.0.8 2019-05-25 21:39:55 +02:00
Florian Klink
8b34ec423c linuxPackages.virtualboxGuestAdditions: don't install VBoxOGL for now
It seems to be broken upstream too, and fixing it is far down the
priority list:
https://www.virtualbox.org/pipermail/vbox-dev/2017-June/014561.html
Additionally, 3d support seems to rely on VBoxOGL.so being symlinked
from libGL.so (which we can't), and Oracle doesn't plan on supporting
libglvnd either. (#18457)
2019-05-23 14:27:05 +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
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
Vladimír Čunát
626233eee6
linuxPackages.virtualboxGuestAdditions: fix build after xorg 1.20
We still need to force the ABI version to 118 it seems.
Close https://github.com/NixOS/nixpkgs/pull/53867
2019-01-13 10:38:32 +01:00
Tor Hedin Brønner
aad9baeba8 linuxPackages.virtualboxGuestAdditions: fix hash 2018-12-09 20:46:07 +01: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
John Ericson
2c2f1e37d4 reewide: Purge all uses stdenv.system and top-level system
It is deprecated and will be removed after 18.09.
2018-08-30 17:20:32 -04:00
Florian Klink
fa4c1eeae6 virtualbox: 5.2.12 -> 5.2.14 2018-07-17 12:40:20 +02:00
Florian Klink
b6708a4c9a virtualbox: update extpack and guest additions checksums 2018-05-12 13:15:28 +01:00
Florian Klink
0a80a37672 virtulabox: update guest additions hash
missed in 8eb3167e2e
2018-05-02 08:55:08 +02:00