Commit Graph

370 Commits

Author SHA1 Message Date
Friedrich Altheide
f0887fa040 virtualbox: fix guest additions resize support
- Build virtualbox guest additions from source and fix paths
- Install VBoxDRMClient to support resizing
  - Support resizing on wayland and x11
- Adding multiple new options
  - clipboard
  - seamless
- Removing x11 option
- Support linux 6.8
2024-03-26 11:47:00 +01:00
Friedrich Altheide
b7386abb63 virtualboxGuestAdditions: add friedrichaltheide to maintainers 2024-03-17 10:57:32 +01:00
Friedrich Altheide
c19f63e984 virtualboxExtpack: add friedrichaltheide to maintainers 2024-03-17 10:57:32 +01:00
Friedrich Altheide
37766ba310 virtualbox: add friedrichaltheide to maintainers 2024-03-17 10:57:32 +01:00
Bjørn Forsman
f9546586e7 virtualboxGuestAdditions: fix location of vboxclient.desktop
Move vboxclient.desktop from $out/share/autostart/ to
$out/etc/xdg/autostart/. This allows desktop environment autostart logic
to run VBoxClient-all, which is required for shared clipboard
functionality.

Fixes #89923.
2024-03-12 08:11:32 +01:00
adisbladis
5cdb38bb16
Merge pull request #288579 from blitz/vbox-kvm-2
virtualboxKvm: init
2024-03-05 18:58:57 +13:00
Julian Stecklina
c9f940be78 virtualboxKvm: assert KVM variant incompatibilities 2024-03-04 22:19:48 +01:00
Julian Stecklina
7dd125e9a0 virtualboxKvm: init at 20240226 2024-02-28 17:36:22 +01:00
Serg
d5decf6e96 virtualbox: add disable update patch 2024-02-24 09:46:12 +03:00
Sandro
032162631d
Merge pull request #284981 from Elserjo/vbox 2024-02-22 21:17:06 +01:00
Julian Stecklina
ea2bb08e93 virtualbox: 7.0.12 -> 7.0.14 2024-02-10 21:03:32 +00:00
Julian Stecklina
4596cd09eb virtualbox: allow adding config flags via overrides
This is to prepare building the KVM version [1] as well. For that it will
be nice to reuse the existing expressions.

[1] https://github.com/cyberus-technology/virtualbox-kvm
2024-02-08 19:45:57 +01:00
Julian Stecklina
c0674aafc7 virtualbox: use less vendored libraries 2024-02-08 19:45:03 +01:00
Serg
e3bd3f9474 virtualbox: add symlink to localization files 2024-01-31 16:56:00 +03:00
Robert Hensing
94b11073db
Merge pull request #222403 from Zahrun/doc/virtualbox
virtualbox: add indication for the nix option
2024-01-26 13:19:25 +01:00
Robert Hensing
c251abe9b4
virtualbox: Edit description 2024-01-26 13:19:04 +01:00
K900
13a6f42687 virtualbox: fix build with libxml 2.12 + gcc 13 2024-01-13 10:50:01 +03:00
Peder Bergebakken Sundt
f41aba3739 treewide: remove unreferenced patch files
Found with `fd \\.patch$ pkgs/ -x bash -c 'rg -F "{/}" pkgs/ -q || echo {}'`
2023-12-01 06:11:20 +01:00
Adrien Langou
8d7b487bae
virtualbox: 7.0.10 -> 7.0.12 2023-11-01 20:19:17 +01:00
Bjørn Forsman
f696376fa7 virtualbox: include Guest Additions ISO
Although virtualbox has code to download it at runtime, I'd like to have
it included at build time because:

* I like programs that are fully functional even when offline.
* Runtime downloading doesn't work, it results in error message
  "During certificate downloading: Unknown reason".

This change increases the closure size 5 % (969 -> 1020 MiB).
2023-08-20 08:25:27 +02:00
Bjørn Forsman
7f9b04a90e virtualbox: install UnattendedTemplates
Fix automated/unattended guest installs by having the missing templates
where virtualbox expects them.

Fixes #247807.
2023-08-16 15:21:00 +02:00
Vladimír Čunát
3c10b650b9
virtualbox: 7.0.8 -> 7.0.10
Includes a "Critical Patch Update to address security vulnerabilities"
https://blogs.oracle.com/virtualization/post/oracle-vm-virtualbox-7010-is-now-available

It also fixes build which probably broke with libxml2 upgrade
https://hydra.nixos.org/build/228189683/nixlog/1/tail
2023-07-23 13:03:30 +02:00
Ryan Lahfa
896be5dc2c
Merge pull request #232770 from erdnaxe/virtualbox-update 2023-06-02 13:57:21 +02:00
Dennis Gosnell
1f8daadffc
virtualbox: remove cdepillabout as maintainer 2023-06-02 07:45:47 +09:00
Alexandre Iooss
38bca18244 virtualbox: 7.0.6 -> 7.0.8 2023-05-19 18:09:55 +02:00
Martin Messer
dc61a2fe6c fix: virtualbox: make alsa as audio backend working 2023-04-14 14:00:10 +02:00
Aroun
91a1291d2b virtualbox: add pointer to related nix options 2023-03-22 00:02:01 +05:30
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
Yarny0
0ad873b44b virtualbox: update patch linux-5.18 -> linux-5.19
Some history:

The linux kernel v5.18-rc contains the commit

> commit 6e8ec2552c7d13991148e551e3325a624d73fac6
> Author: Jason A. Donenfeld <Jason@zx2c4.com>
> Date:   2022-01-16 14:23:10 +0100
>
>     random: use computational hash for entropy extraction
> [...]

which modifies the kernels random number generator.

This change broke VirtualBox 6.1.34 in several ways:
It causes random crashes and filesystem corruption in the guest
(at least on some host CPU models).
More details can be found in the
corresponding ticket in the VirtualBox bug tracker:
https://www.virtualbox.org/ticket/20914

That ticket also contains a patch "vbox-linux-5.18.patch"
for VirtualBox that fixes the problem,
at least for kernels 5.18 and (hopefully) above.
This patch got added to nixpkgs' VirtualBox build recipe with
9c8132494f .

Meanwhile, the kernel patch got backported to LTS kernels.
As the VirtualBox patch contains several `#if RTLNX_VER_MIN(5,18,0)`
clauses to apply the fix,
it can't heal VirtualBox on LTS kernel versions.
The result is that VirtualBox is still broken if used
with linux kernels 5.10 and 5.15
(currenly the default kernel in nixpkgs).

Luckily, VirtualBox developers updated the patch
(now named "vbox-linux-5.19.patch") to not only fix the
problem for the upcoming 5.19 kernel, but also address
backport releases.

The commit at hand replaces "vbox-linux-5.18.patch"
with the new "vbox-linux-5.19.patch",
fixing VirtualBox for LTS kernel releases.
2022-07-04 22:15:03 +02: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
Artturin
c1fffdfffb treewide: change some glibc to stdenv.cc.libc 2022-05-27 05:57:43 +03:00
Artturin
0c4d65b21e treewide: stdenv.glibc -> glibc 2022-05-25 15:51:20 +03: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
Matthieu Coudron
f1a3e3e21c virtualbox: set meta.mainProgram
because it's convenient <3
2022-01-29 23:47:18 +01: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
Sandro Jäckel
df17da7729
virtualbox: remove ? null from inputs, remove optional (), other minor cleanups 2021-11-10 01:40:47 +01:00
Magicloud
40c83d1e0a
virtualbox: Add option to build vboxwebsrv tool
`vboxwebsrv`, a.k.a, Virtualbox Web Service, provides a way to manage VMs via SOAP interface. This is very useful on headless servers.
2021-11-07 08:34:47 +01:00
Bernardo Meurer
b232c81a32
virtualbox: 6.1.26 -> 6.1.28 2021-10-30 19:42:07 -07:00
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