Commit Graph

638 Commits

Author SHA1 Message Date
Vladimír Čunát
2931f3b2f7
mesa: 23.1.1 -> 23.1.2
https://docs.mesa3d.org/relnotes/23.1.2.html#bug-fixes
2023-06-11 10:27:01 +02:00
Marian Hammer
996cc009c6
mesa: fix build without valgrind
Since the update to mesa v23.1.1 the build without valgrind was broken.
This is a result of a change in mesa meson_options.txt which made the
valgrind support a feature in mesa:

3f10a89180 (0cc1139e3347f573ae1feee5b73dbc8a8a21fcfa_1844_1829)

So it must be explicitly turned off as it is now on by default.
2023-06-08 15:59:35 +02:00
Yureka
7f7ab8be97 mesa: 23.0.3 -> 23.1.1 2023-05-29 12:44:36 +02:00
Yureka
fcb0199827 mesa: mark as broken on darwin 2023-05-29 12:44:36 +02:00
Yureka
d3edadc491 mesa_22_3: drop 2023-05-29 12:44:36 +02:00
Vladimír Čunát
307c3bdd0f
mesa: fixup build after rust-bindgen update 2023-04-28 08:20:48 +02:00
Vladimír Čunát
d0ea36ece4
mesa: 23.0.2 -> 23.0.3
https://docs.mesa3d.org/relnotes/23.0.3.html
Rebuild amounts are fairly low now
(1.5k x86_64-linux, basically no darwin).
2023-04-25 08:29:09 +02:00
K900
62b9ccf838 mesa_23_0: 23.0.1 -> 23.0.2, drop merged patch 2023-04-16 10:50:18 +03:00
K900
a9709b3d9d mesa: have one attribute per major version
(Mesa release versions are [year].[release].[patch])
2023-04-16 10:50:18 +03:00
Vladimír Čunát
bb320adc88
Merge #224857: mesa: fix zink by patching RPATH so it finds libvulkan.so
...into staging-next
2023-04-06 11:38:24 +02:00
Mia Kanashi
19be5ac011
mesa: fix zink by patching RPATH so it finds libvulkan.so
Currently zink can't find libvulkan.so, so it won't work when you try to use it,
you can verify that using strace, patching RPATH fixes this.

closes #187791
2023-04-05 21:57:42 +03:00
Vladimír Čunát
fcda0efbe2
Merge #215214: libGL: complete meta, correct version
...into staging
2023-04-04 09:03:05 +02:00
Sandro Jäckel
56728f632b
libGL: complete meta, get version from correct package 2023-03-27 23:58:15 +02:00
K900
c8217d6ba4 mesa: remove libgrl.a
Saves a bit of space.
2023-03-27 14:57:53 +03:00
Vladimír Čunát
b544cd986c
Merge branch 'master' into staging-next 2023-03-26 11:38:50 +02:00
Atemu
33a700b406 mesa: provide patch versions
This allows us to bump the mesa attribute (used by many packages, see
https://github.com/NixOS/nixpkgs/issues/218232) independently from the packages
used by NixOS users.
2023-03-25 21:08:50 +01:00
Atemu
c4752a1631 mesa_23: init at 23.0.1 2023-03-25 15:26:00 +01:00
Atemu
c2ebb395ca mesa: refactor for multi-version setup 2023-03-25 15:12:38 +01:00
Karel Kočí
48f48c3101
mesa: build dri for arm
The isAarch64 applies only to 64bit arm. The commit
e7a2c65ab5 missed support for 32bit arm.

This also removes kmsro as it is not used by Mesa meson.build file. The
kmsro is detected from other galium drivers. This might not be correct
and there probably should be a way to enable this in the upstream but
for now this does nothing.
2023-03-16 10:18:05 +01:00
Vladimír Čunát
40af042f60
mesa: 22.3.6 -> 22.3.7 2023-03-08 23:48:43 +01:00
github-actions[bot]
a5961d9534
Merge master into staging-next 2023-03-06 12:01:40 +00:00
Jörg Thalheim
6ea505ee4e mesa: enable vulkan intel drivers on 32bit 2023-03-06 09:34:30 +01:00
Vladimír Čunát
69d33860f6
Merge #217832: mesa: 22.3.5 -> 22.3.6
...into staging
2023-02-26 17:27:32 +01:00
github-actions[bot]
3cdd771820
Merge staging-next into staging 2023-02-23 18:01:49 +00:00
hw-lunemann
852e9c2781 mesa: 22.3.5 -> 22.3.6 2023-02-23 16:05:24 +01:00
Alyssa Ross
52c286ee5b
Merge remote-tracking branch 'origin/master' into staging-next
Conflicts:
	pkgs/development/libraries/pmdk/default.nix
2023-02-23 13:51:34 +00:00
Artturin
3251013cc1 treewide: env.NIX_CFLAGS_COMPILE use toString on result of optionals
env values must be strings
2023-02-22 21:23:05 +02: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
Martin Weinelt
9e7f9a402b
python310Packages.mako: Normalize attribute, pname, dirname 2023-02-19 21:36:02 +01:00
Vladimír Čunát
410d64db35
mesa: 22.3.4 -> 22.3.5
https://docs.mesa3d.org/relnotes/22.3.5.html
Fixes #216137
2023-02-13 10:39:07 +01:00
Vladimír Čunát
1e42908aa7
Merge branch 'master' into staging-next 2023-02-08 21:50:23 +01:00
John Ericson
5855bcd789 libGL: Add meta.pkgConfigModules and test 2023-02-07 12:15:37 -05:00
K900
9bccea539c mesa: build Intel drivers on i686
Sorry gamers :(
2023-02-04 12:35:03 +03:00
github-actions[bot]
33d4318fcc
Merge staging-next into staging 2023-01-31 00:03:07 +00:00
Alyssa Ross
b538df3133
mesa: fix build for armv5tel
Fixes: e7a2c65ab5 ("mesa: reorganize default driver list")
2023-01-30 20:00:14 +00:00
Sergei Trofimovich
3f9fe5c15f mesa: revert "fix build"
This reverts commit f4a78e4b2c.

commit 8c80bd08b7
("build-support/cc-wrapper: pass in non-existent --sysroot= to untangle
from libc") was reverted. We can drop the workaround.
2023-01-29 07:51:00 +00:00
K900
c304f2646c mesa: add udev dependency
Enables display hotplug events for Vulkan
2023-01-28 22:54:54 +03:00
K900
b071fdb268 mesa: also demote anv 2023-01-28 17:21:16 +03:00
K900
14e04064d3 mesa: demote iris to x86_64 only 2023-01-28 17:09:48 +03:00
K900
e7a2c65ab5 mesa: reorganize default driver list
Upstream doesn't enable lots of things we might actually want
by default, so just specify everything manually.

Each list is grouped into three parts: arch-independent drivers,
aarch64-only drivers and x86_64 only drivers.
2023-01-28 16:36:35 +03:00
K900
677e5a1b3a mesa: clean up, allow building with dozen 2023-01-28 16:36:34 +03:00
K900
96978011e6 mesa: enable SPIR-V support for Clover 2023-01-28 16:36:34 +03:00
K900
17af0cdc15 mesa: enable RT on Intel hardware 2023-01-28 16:36:34 +03:00
K900
5074173a53 mesa: build intel-nullhw Vulkan layer
Useful for debugging
2023-01-28 16:36:34 +03:00
K900
678bcd522a mesa: add libzstd
Will be used for shader caches, should make loading them slightly faster.
2023-01-28 16:36:26 +03:00
K900
f416128e90 mesa: simplify opencl patch 2023-01-28 15:28:38 +03:00
Vladimír Čunát
ea8fb54acb mesa: use LLVM 15, remove global spirv-translator override 2023-01-28 15:28:38 +03:00
K900
f4a78e4b2c mesa: fix build 2023-01-28 15:28:37 +03:00
Vladimír Čunát
2b5f71eed1
mesa: 22.3.3 -> 22.3.4
https://docs.mesa3d.org/relnotes/22.3.4.html
2023-01-28 10:10:25 +01:00
Shawn8901
a59dda942c treewide: remove global with lib; statements in pkgs/development 2023-01-26 18:31:02 +01:00
K900
dcf630c172 mesa: 22.3.2 -> 22.3.3 2023-01-11 23:24:24 +03:00
Vladimír Čunát
3cd6cd4120
mesa: 22.3.1 -> 22.3.2
https://docs.mesa3d.org/relnotes/22.3.2.html
2023-01-01 17:08:31 +01:00
Vladimír Čunát
4237877304
Merge #205327: mesa-demos: fix build on Darwin
...into staging
2022-12-31 10:55:22 +01:00
K900
cdf92e56f7 mesa: enable separateDebugInfo
It is generally useful, and it also makes rusticl work for ??? reasons ???
2022-12-23 17:03:47 +03:00
K900
cd53c071f2 mesa: 22.2.5 -> 22.3.1, enable rusticl 2022-12-15 13:02:29 +03:00
Vladimír Čunát
06a53254e2
mesa: 22.2.4 -> 22.2.5
https://lists.freedesktop.org/archives/mesa-announce/2022-December/000696.html
(still waiting for 22.3.1)
2022-12-10 09:15:20 +01:00
Alyssa Ross
8bf18f7862
mesa: use libdrm on all supported platforms
libdrm is not Linux-specific.  It is also used on (at least) every BSD
and illumos.
2022-12-09 17:31:20 +00:00
Zhaofeng Li
fa9f9f8361 mesa: Actually build more Vulkan drivers on aarch64-linux
If `auto` exists, the entire list of Vulkan drivers is replaced
so our additions aren't honored:

<ef168a57b9/meson.build (L258-277)>

Co-authored-by: K900 <me@0upti.me>
2022-12-02 17:07:59 -07:00
Rouven Czerwinski
caf8e0091d meta: 22.2.3 -> 22.2.4
https://docs.mesa3d.org/relnotes/22.2.4.html
2022-11-28 07:35:06 +01:00
K900
952dbf0a4a mesa: build more Vulkan drivers on aarch64-linux 2022-11-10 17:42:21 +03:00
Vladimír Čunát
906947555d
mesa: 22.2.2 -> 22.2.3
https://docs.mesa3d.org/relnotes/22.2.3.html

I'm merging a bit optimistically, but it's just a patch update.
At least I verified building atop current staging-next for x86_64-*
2022-11-08 11:28:16 +01:00
Weijia Wang
7a222ffee3 mesa: fix build on darwin 2022-11-03 16:53:45 +01:00
Thiago Kenji Okada
e46fce495a
Merge pull request #196310 from LunNova/lunnova/mesa-layers
mesa: add vulkanLayers option and default it to device-select, overlay
2022-10-26 11:47:12 +01:00
PedroHLC ☭
8d7db0597f
mesa: rm unused attributes 2022-10-21 20:45:43 -03:00
PedroHLC ☭
aa8d873a4e
mesa: 22.2.1 -> 22.2.2 2022-10-21 20:45:42 -03:00
Luna Nova
33a5279d62
mesa: add vulkanLayers option and default it to device-select, overlay
Fixes #196086
2022-10-16 14:41:10 -07:00
PedroHLC ☭
b4b99f16da
mesa: re-enable video-codecs
The release disables some codecs 7d969fe9e9.
Since we are not Fedora, we should probably enable them https://lists.fedoraproject.org/archives/list/legal@lists.fedoraproject.org/thread/M4LTGLHY5JX42IHC45WNWB5FH2JIFMAS/.
2022-10-13 15:55:51 -03:00
PedroHLC ☭
445887f636
mesa: 22.1.7 -> 22.2.1 2022-10-13 15:40:56 -03:00
Zhaofeng Li
dd3fc58112 mesa: Install radv override configs into $out
Without this, the per-game radv overrides aren't applied.
2022-10-01 21:46:46 -06:00
PedroHLC ☭
28dd75158d
mesa: 22.1.6 -> 22.1.7 2022-08-22 09:55:36 -03:00
PedroHLC ☭
335a7492c0
mesa: 22.1.4 -> 22.1.6; patch darwin instead of freezing version 2022-08-11 10:16:15 -03:00
Artturin
4885138129 treewide: remove unnecessary meson find_program patches
they are unnecessary since 32e36bd429f804fd1468f51e39020f7360d8a5a8
https://github.com/NixOS/nixpkgs/pull/183507
2022-08-01 20:03:47 +03:00
Michael Weiss
0793afce9e
mesa: 22.1.3 -> 22.1.4 2022-07-17 15:41:38 +02:00
Michael Weiss
826ab9966b
mesa: 22.1.1 -> 22.1.3 2022-07-04 22:56:23 +02:00
Vladimír Čunát
eb3469e526
mesa: revert to 22.0 on darwin 2022-06-11 11:05:43 +02:00
Michael Weiss
cd3d17f3e2
mesa: 22.0.4 -> 22.1.1 2022-06-02 21:36:05 +02:00
Michael Weiss
b3fa0c3f86
mesa: 22.0.3 -> 22.0.4 2022-05-26 22:02:47 +02:00
Michael Weiss
9e461b9399
Merge pull request #173538 from primeos/mesa
mesa: 22.0.2 -> 22.0.3
2022-05-26 22:00:53 +02:00
Artemis Tosini
e5caa559c4
mesa: Add support for building the Zink driver
Zink requires vulkan-loader to build. Enable vulkan-loader when Zink is explicitally specified as a build target
2022-05-23 01:17:19 +00:00
Michael Weiss
44c5652c19
mesa: 22.0.2 -> 22.0.3 2022-05-18 23:15:11 +02:00
Michael Weiss
076f96079f
Merge pull request #170001 from primeos/mesa
mesa: 22.0.1 -> 22.0.2
2022-04-24 13:07:10 +02:00
Michael Weiss
629fa2f3c2
mesa: 22.0.1 -> 22.0.2 2022-04-23 21:48:01 +02:00
Thiago Kenji Okada
67ae929deb mesa: disable withValgrind if valgrind-light is marked as broken
`valgrind` derivation is currently marked as broken in either:
- `stdenv.isDarwin`
- `stdenv.hostPlatform.isStatic`

Instead of adding those two checks in the `mesa` derivation, we can just
check the current `valgrind-light.meta.broken` attribute.
2022-04-20 19:14:27 +01:00
Vladimír Čunát
01f8e68748
Merge #161085: mesa: 21.3.8 -> 22.0.1 (into staging) 2022-04-09 09:49:09 +02:00
Michael Weiss
040d8929bd
Merge pull request #166494 from andersk/mesa-cross
mesa: Fix cross-compilation
2022-04-01 21:47:52 +02:00
Anders Kaseorg
3ddd9479c9 mesa: Fix cross-compilation
Signed-off-by: Anders Kaseorg <andersk@mit.edu>
2022-03-30 15:32:40 -07:00
Michael Weiss
c8eda85fb6
mesa: 21.3.8 -> 22.0.1
The DRI drivers were removed [0]:
> Mesa's main branch no longer has any "classic" drivers, use the
> "amber" branch instead.

Mesa 21.3 provided the following DRI drivers:
i915 i965 r100 r200 nouveau

For nouveau, there is a Gallium3D driver as well, and i965 can be
replaced with iris or crocus (iris was already the default for
generation 8+ Intel iGPUs and crocus is a new driver for older hardware
that supports generation 4 to 7 iGPUs [1]).
(See also [2] for some more information.)

[0]: cdde031ac2
[1]: https://airlied.blogspot.com/2021/04/crocus-gallium-for-gen4-7-generation.html
[2]: https://www.phoronix.com/scan.php?page=news_item&px=2021-Retire-Mesa-Classic-Main

Note: "-Ddri-drivers-path" is still required to avoid a dependency
cycle.

Release notes: https://docs.mesa3d.org/relnotes/22.0.0.html
2022-03-30 22:36:09 +02:00
Michael Weiss
46076745df
mesa: 21.3.7 -> 21.3.8 2022-03-23 23:12:16 +01:00
Vladimír Čunát
7cbe21b24d
Merge #160267: mesa.drivers: Convert hard links to symlinks 2022-02-28 21:26:45 +01:00
Vladimír Čunát
f5f9b6af9d
mesa.drivers: nit, more info in a comment 2022-02-28 21:25:21 +01:00
Vladimír Čunát
d5cd8efaca
mesa.drivers: improve readability
Co-authored-by: Janne Heß <janne@hess.ooo>
2022-02-28 21:10:42 +01:00
AndersonTorres
ed2b1b4b90 Merge branch 'master' into staging-next 2022-02-26 21:04:25 -03:00
Michael Weiss
6431bebc93
mesa: Limit the devDoesNotDependOnLLVM test to Linux
The required modifications in the postInstall phase are only applied on
Linux and the test currently fails on Darwin:
https://github.com/NixOS/nixpkgs/runs/5344236204
> building '/nix/store/45s58pv9j6a19wr9izx49s6i0i4qshxs-mesa-dev-does-not-depend-on-llvm.drv'...
> error: output '/nix/store/czmszfcwdx87vx2wf80lhp3h9skqqcfs-mesa-dev-does-not-depend-on-llvm' is not allowed to refer to the following paths:
>          /nix/store/cwb5g57al7iizw456ah9rk49cxb47wi3-mesa-21.3.7-drivers
2022-02-26 18:48:17 +01:00
Michael Weiss
42890734c3
mesa: 21.3.6 -> 21.3.7 2022-02-26 12:33:53 +01:00
Michael Weiss
cee6a92b21
mesa: 21.3.5 -> 21.3.6 2022-02-17 20:43:44 +01:00
Anders Kaseorg
4e199a91dc mesa.drivers: Convert hard links to symlinks
Signed-off-by: Anders Kaseorg <andersk@mit.edu>
2022-02-15 23:29:48 -08:00
Michael Weiss
4d54ec489c mesa: 21.3.4 -> 21.3.5 2022-01-29 00:36:25 -08:00
Michael Weiss
c1a7122670
mesa: 21.3.3 -> 21.3.4 2022-01-13 20:40:27 +01:00
Michael Weiss
9b760ab5c4
mesa: 21.3.2 -> 21.3.3 2021-12-30 12:25:26 +01:00
Michael Weiss
62dc6893b7
mesa: 21.3.1 -> 21.3.2 2021-12-18 21:13:29 +01:00
Michael Weiss
5390a70302
mesa: 21.2.6 -> 21.3.1 2021-12-01 23:18:56 +01:00
Michael Weiss
63a370df6f
mesa: 21.2.5 -> 21.2.6 2021-11-25 23:26:00 +01:00
Cole Mickens
4e54a9fad0
mesa: /run/opengl-driver in gbm-backend-paths 2021-11-09 23:53:19 -08:00
github-actions[bot]
ba990541d1
Merge staging-next into staging 2021-10-30 00:02:03 +00:00
Michael Weiss
f8d1de8e18
mesa: 21.2.4 -> 21.2.5 2021-10-28 21:36:58 +02:00
Yuka
8daecb33b9
mesa: update musl patches (#141970)
Also remove a patch that was upstreamed
2021-10-23 13:32:39 +02:00
Jonathan Ringer
5957e9f064
mesa: 21.2.3 -> 21.2.4 2021-10-15 22:36:34 +02:00
Rick van Schijndel
5d30f708b9 mesa: add llvm as dependency for llvm-config-native
Fixes https://github.com/NixOS/nixpkgs/issues/136926
2021-10-13 22:36:23 +02:00
Michael Weiss
b88fce906f
mesa: 21.2.2 -> 21.2.3 2021-09-30 01:00:34 +02:00
github-actions[bot]
42ade1cfa3
Merge staging-next into staging 2021-09-22 18:01:40 +00:00
Michael Weiss
f36df15fe5
mesa: 21.2.1 -> 21.2.2 2021-09-21 23:49:01 +02:00
Troels Henriksen
b41d29dd31
mesa: restore OpenCL support
Co-authored-by: Sandro <sandro.jaeckel@gmail.com>
Co-authored-by: Simon Bruder <simon@sbruder.de>
2021-09-18 23:40:09 +02:00
Michael Weiss
8761186f0a
mesa: 21.1.7 -> 21.2.1 2021-08-19 23:13:25 +02:00
Alyssa Ross
f5db95a96a
mesa: 21.1.6 -> 21.1.7 2021-08-13 11:15:59 +02:00
Michael Weiss
364bb239ab
mesa: 21.1.5 -> 21.1.6 2021-07-29 10:54:36 +02:00
ash lea
1b3ba289b2 mesa: fix datadir location 2021-07-24 15:11:58 +02:00
github-actions[bot]
6d11e6d03e
Merge master into staging-next 2021-07-17 00:01:37 +00:00
TredwellGit
79a4590495 steamPackages.steam-fhsenv: fix Proton
LLVM must match version required by Mesa.

Fixes https://github.com/NixOS/nixpkgs/issues/127068
2021-07-16 15:13:31 -07:00
Michael Weiss
b5a7a474d1
mesa: 21.1.4 -> 21.1.5 2021-07-15 11:41:34 +02:00
Michael Weiss
f7997354b7
wayland-scanner: use for nativeBuildInputs
This makes things more explicit (and less confusing) but only touches
the packages that I maintain.
2021-07-03 17:56:23 +02:00
Michael Weiss
e23145b62a
mesa: 21.1.3 -> 21.1.4 2021-07-01 13:13:43 +02:00
Michael Weiss
ecbe6c123f
mesa: 21.1.2 -> 21.1.3
I've also updated the URL for the RISC-V patch in case the content of
the old URL will change (not sure if that's possible after a merge
request is merged but now that the patch is upstream it seems like a
good idea regardless; and the content has actually already changed so
the old hash wasn't correct anymore).
2021-06-18 22:58:15 +02:00
Zhaofeng Li
f885e987ef mesa: Add patch for RISC-V driver selection 2021-06-12 23:17:13 -07:00
Zhaofeng Li
1f007dd009 Use lib.meta.availableOn for optional Valgrind dependency 2021-06-12 23:17:13 -07:00
Jonathan Ringer
012a33b0de mesa: fix darwin build 2021-06-06 22:31:19 -07:00
Michael Weiss
70029711d4
mesa: 21.1.1 -> 21.1.2 2021-06-02 23:09:36 +02:00
Michael Weiss
e56bed6bdb
mesa: 21.0.3 -> 21.1.1
Note: This update likely causes some issues when running an application
that has a direct dependency on Mesa (e.g. Sway and XWayland) and was
compiled against a different Nixpkgs revision. See 7106fca0fe for more
details regarding that issue.
2021-05-24 18:43:28 +02:00
Michael Weiss
7106fca0fe
mesa: 21.0.1 -> 21.0.3
Note: The update to Mesa 21.0.2 was reverted (25ae1fd29f) because it
caused major issues with Sway (segfault on startup [0]).
This is still the case and might affect all packages that directly
depend on "mesa" (for libgbm or libglapi) but it only causes issues when
the package depends on a "mesa" version that differs from "mesa.drivers"
used for "/run/opengl-driver/". I've noticed this while testing Mesa
updates with the NixOS option "hardware.opengl.package" (as usual)
instead of rebuilding my whole system (which would work). Unfortunately
this can/will likely also cause issues when mixing different channels,
using Flakes/Overlays, etc.

The cause of this should be similar to [1] ("mesa" updates now cause the
same issues that "glibc" updates already do, maybe triggered by certain
Mesa changes) and some additional discussions is in [2],[3].

Note: Don't backport this to NixOS 21.05, at least not without careful
consideration.

[0]: https://github.com/NixOS/nixpkgs/pull/118753#issuecomment-818950977
[1]: https://github.com/NixOS/nixpkgs/issues/95808
[2]: https://github.com/NixOS/nixpkgs/pull/120325
[3]: https://github.com/NixOS/nixpkgs/pull/119558
2021-05-20 18:59:09 +02:00
Michael Weiss
ba7ede846b
mesa: Cleanup enableRadv (not used anymore) 2021-05-20 18:59:09 +02:00
Alyssa Ross
31c5b4fe9b mesa: don't manually enableParallelBuilding
This is automatic for Meson builds.
2021-05-12 11:57:35 +00:00
John Ericson
96f700fc24 mesa: Fix build
Needed more LLVM outputs
2021-04-30 22:08:26 +00:00
Las
e22d1d37cc mesa: Don't fail to build when d3d isn't built 2021-04-28 21:10:58 +00:00
Michael Weiss
25ae1fd29f
Revert "mesa: 21.0.1 -> 21.0.2"
This reverts commit e3bc983d8f.

It caused segmentation faults for at least Sway and XWayland with the
iris driver, see [0]. The cause and impact of this regression is still
unknown but let's revert it until we know more.

[0]: https://github.com/NixOS/nixpkgs/pull/118753#issuecomment-818950977
2021-04-13 20:36:45 +02:00
Gabriel Ebner
acbfd3f7c0 mesa: add driversdev output and test that dev doesn't depend on drivers
OpenGL applications should not depend on the Mesa drivers, since these
are supposed to be loaded at runtime from /run/opengl-driver using the
glvnd library.  Furthermore, the drivers output has a large closure
since it depends on LLVM.

The only dependency from dev to drivers came from the xatracker
pkg-config file.  This commit moves this file into a new
output called driversdev.
2021-04-09 09:26:12 +02:00
Gabriel Ebner
4bff6d04e4 libGL: use headers from glvnd
The glvnd library contains a copy of the OpenGL headers.  By compiling
against the glvnd headers we completely avoid a dependency on Mesa (and
LLVM).  This reduces rebuild time.  It also prevents accidents, such as
where some packages kept a reference to the mesa.drivers output and thus
had all Mesa drivers in their runtime closure.
2021-04-09 09:24:24 +02:00
Michael Weiss
e3bc983d8f
mesa: 21.0.1 -> 21.0.2 2021-04-07 20:34:37 +02:00
Michael Weiss
8cd7e290e4
mesa: 20.3.5 -> 21.0.1 (#109319) 2021-03-25 15:34:08 +01:00
Michael Weiss
f6e726a3db
mesa: 20.3.4 -> 20.3.5 (#117513) 2021-03-25 14:54:04 +01:00
Ivan Babrou
5363f1714b mesa: fix missing timespec_get on aarch64-darwin
This doesn't affect any other target.

See: https://gitlab.freedesktop.org/mesa/mesa/-/issues/1020
2021-02-20 10:03:52 -08:00
Michael Weiss
d51b3b7413
mesa: 20.3.3 -> 20.3.4 (#111202) 2021-01-30 01:00:41 +01:00
zowoq
153ad8bc1e Merge staging-next into staging 2021-01-22 16:56:40 +10:00
Ben Siraphob
66e44425c6 pkgs/development/libraries: stdenv.lib -> lib 2021-01-21 19:11:02 -08:00
Jan Tojnar
fc7bd322df
Merge branch 'staging-next' into staging 2021-01-19 13:50:04 +01:00
Jonathan Ringer
9bb3fccb5b treewide: pkgs.pkgconfig -> pkgs.pkg-config, move pkgconfig to alias.nix
continuation of #109595

pkgconfig was aliased in 2018, however, it remained in
all-packages.nix due to its wide usage. This cleans
up the remaining references to pkgs.pkgsconfig and
moves the entry to aliases.nix.

python3Packages.pkgconfig remained unchanged because
it's the canonical name of the upstream package
on pypi.
2021-01-19 01:16:25 -08:00
Michael Weiss
79851ec593
mesa: 20.3.2 -> 20.3.3 (#109310)
The "util: Disable memstream for Apple builds" patch got backported:
6a006c3567
2021-01-14 12:12:21 +01:00
Michael Weiss
16cf68dc7a
mesa: 20.3.1 -> 20.3.2 (#108152)
This also applies the macOS patch unconditionally to avoid breakages in
the future.
2021-01-01 20:08:54 +01:00
Ryan Burns
7115040e19 mesa: fix build on darwin
Latest mesa requires macOS SDK 10.13 - this applies an upstream
patch for compatibility with 10.13

Applied on darwin only to avoid linux rebuilds in staging-next - left a
note that this can be done unconditionally as it has no effect on
non-darwin platforms, if this would be considered more robust.
2020-12-31 09:11:38 +01:00
Michael Weiss
af9f917ce1
mesa: 20.3.0 -> 20.3.1 2020-12-17 12:01:08 +01:00
Michael Weiss
3106113c9e
mesa: Drop all old patches
There's no need to keep the expressions for old patches around.
Also: Apply the musl patch unconditionally to ensure that it doesn't
break after future updates.
2020-12-17 12:01:03 +01:00
Michael Weiss
a9385a730b
mesa: 20.2.4 -> 20.3.0 2020-12-17 11:51:02 +01:00