Commit Graph

626 Commits

Author SHA1 Message Date
K900
9967b3b358 mesa: fix changelog URL, add myself as maintainer 2024-09-18 21:26:48 +03:00
K900
6efb622aca mesa: 24.2.1 -> 24.2.2 2024-09-06 08:24:55 +03:00
K900
02a4d9a728 mesa: cherry-pick fixes for software rendering fallback 2024-09-05 11:41:01 +03:00
K900
a4cd8fea23
mesa: rename enableValgrind back to withValgrind (#338956) 2024-09-02 10:41:58 +03:00
Alyssa Ross
e596e5cc9b
mesa: rename enableValgrind back to withValgrind
Yes, it's inconsistent with enablePatentEncumberedCodecs, but it's the
name this option had before it was removed in dda100f27b ("mesa:
split out the Darwin build into a separate expression, heavily clean
up Linux"), and therefore still has in stable.  There's no reason for
the name to change between NixOS releases just because it was
temporarily removed.
2024-09-02 09:37:32 +02:00
Alyssa Ross
dad5a62674
mesa.meta.platforms: broaden
While there's a lot in Mesa that's architecture-specific, there's also
portable stuff that should be able to build for basically any Unix out
there.  It should work on almost any Linux architecture, and it's also
used by every BSD I think.
2024-09-01 23:21:34 +02:00
Vladimír Čunát
36a13f9f21
staging-next 2024-08-23 (#336718) 2024-08-31 11:49:12 +02:00
Alyssa Ross
d4a72a3935 lib.platforms.mesaPlatforms: remove
Mesa is a package like any other.  There's no reason for it to be a
special case with its platforms listed in lib, because if other
packages want to refer to mesa's platforms, they can access the
platforms from the package meta like they would for any other package.
2024-08-31 10:28:31 +02:00
Nick Cao
63b302156f
mesa: only build with valgrind if available on host platform (#337065) 2024-08-29 10:46:02 +02:00
K900
77feb16bb5 mesa: 24.1.6 -> 24.2.1 2024-08-29 09:04:46 +03:00
K900
4405fd10d7 mesa: 24.1.5 -> 24.1.6 2024-08-15 09:07:03 +03:00
K900
b54ad046f7
Merge pull request #330785 from ExpidusOS/fix/pkgsllvm/mesa
mesa: fix building with llvm
2024-08-15 08:12:10 +03:00
K900
e1a55fe1b7 mesa: use upstream version of patch 2024-08-07 11:33:59 +03:00
K900
b335dfdd9e mesa: cherry-pick patch to fix broken video decoding on AMD iGPUs 2024-08-06 16:59:45 +03:00
Tristan Ross
6c159d5034
mesa: fix building with llvm
Use glslang's bin output in nativeBuildInputs to prevent propagating the "dev" output which
then injects the glslang libraries for host into target. Switch to using
the spirv-tools package for buildInputs instead of glslang to further
prevent the wrong things from propagating on host since we only need the
pkg-config and static libraries.
2024-08-04 21:50:03 -07:00
K900
204bb97067 mesa: 24.1.4 -> 24.1.5 2024-08-01 12:45:07 +03:00
Alyssa Ross
48b8f5f651
mesa: backport upstream revert for ffmpeg compat 2024-07-20 11:42:34 +02:00
K900
cca146900a mesa: 24.1.3 -> 24.1.4
Also move comment closer to where people will look
2024-07-17 22:52:12 +03:00
Vladimír Čunát
5a56b5dfb1
mesa: 24.1.2 -> 24.1.3
https://docs.mesa3d.org/relnotes/24.1.3.html
2024-07-13 13:02:03 +02:00
K900
8a0ea7f45b mesa: fix build on Darwin
- remove merged patch
- add new python3.12 dep
2024-07-01 12:33:16 +03:00
natsukium
25f7488f64 mesa: fix build with python312 2024-06-24 12:18:24 +02:00
K900
10293296b0 mesa: 24.1.1 -> 24.1.2 2024-06-23 12:16:28 +03:00
Emily
0b0a66ca70 mesa_glu: use libGLX explicitly
This requires hacks to build against Apple’s OpenGL framework, and
there’s no point; macOS ships with a GLU implementation already, so
this package should only be used for X11 applications that explicitly
require Mesa’s libGLX and want `<GL/glu.h>`.
2024-06-22 18:06:51 +01:00
K900
6aff2d5bd4 mesa: remove unused deps 2024-06-22 15:15:50 +03:00
K900
b0a82fe902 mesa: add llvmpipeHook for software rendering setup 2024-06-15 11:07:15 +03:00
K900
dda100f27b mesa: split out the Darwin build into a separate expression, heavily clean up Linux
The way we build Mesa for Linux (and potentially others) is very,
very different from the way we build Mesa on Darwin. In short,
on Linux we generally want to build as much of it as possible,
while on Darwin we want to build just enough of it to get GLX
for legacy X applications.

So, split out the Darwin build into its own expression entirely,
and give it just enough inputs and just enough feature flags to
actually do the one thing we want it to do, and nothing else.

The Linux expression can be simplified further now, but that
would cause rebuilds, so we'll have to do that later.
2024-06-15 11:07:14 +03:00
K900
5db38798a3 mesa: hack around aarch64-darwin build failure 2024-06-11 21:11:26 +03:00
Randy Eckenrode
724b7e23e1
mesa: disable glvnd on Darwin
Disabling glvnd ensures Mesa builds libGL.dylib and installs the GL headers on Darwin.
2024-06-10 20:07:19 -04:00
Alyssa Ross
3df6bb2c85
Merge remote-tracking branch 'origin/master' into staging-next
Conflicts:
	pkgs/applications/blockchains/polkadot/default.nix
2024-06-09 22:47:12 +01:00
Alexis Hildebrandt
755b915a15 treewide: Remove indefinite article from meta.description
nix run nixpkgs#silver-searcher -- -G '\.nix$' -0l 'description.*"[Aa]n?' pkgs \
  | xargs -0 nix run nixpkgs#gnused -- -i '' -Ee 's/(description.*")[Aa]n? (.)/\1\U\2/'
2024-06-09 23:07:45 +02:00
K900
01587e33ae mesa: fix build on Darwin 2024-06-07 09:26:25 +03:00
K900
1e443beb30 mesa: 24.0.8 -> 24.1.1
- build teflon as a separate output
- allow new Intel on non-x86
- libclc is a hard dependency now (for Intel, and later Asahi)
- fix Intel cross in presence of libclc
- NVK is no longer experimental
- add xcbutilkeysyms dependency to enable trace capture hotkey
2024-06-06 08:24:31 +03:00
Vladimír Čunát
ef12b15a5b
mesa: 24.0.7 -> 24.0.8
https://docs.mesa3d.org/relnotes/24.0.8.html
2024-05-30 11:45:09 +02:00
Sigmanificient
203a48ad35 pkgs/development: remove unused fetchpatch arguments 2024-05-24 02:53:57 +02:00
github-actions[bot]
6ff1451c6f
Merge master into staging-next 2024-05-20 12:01:29 +00:00
Alyssa Ross
85e1f479d7 pkgsStatic.libGL: mark unsupported 2024-05-20 10:33:18 +02:00
Fabián Heredia Montiel
f6f3c69442 mesa: 24.0.6 → 24.0.7
https://docs.mesa3d.org/relnotes/24.0.7.html
2024-05-09 17:27:14 -06:00
Vladimír Čunát
99b070940c
mesa: 24.0.5 -> 24.0.6
https://docs.mesa3d.org/relnotes/24.0.6.html
2024-05-06 09:28:15 +02:00
Anderson Torres
eefd56e328
mesa: reorder buildInputs
Since it "globally" calls `xorg`.
Taken from PR #299572
2024-04-22 09:39:42 +02:00
Anderson Torres
7a73706dad
mesa: convert vulkanLayers option to use lib.meson*
Taken from PR #299572
2024-04-22 09:34:48 +02:00
Vladimír Čunát
56908eaca8
Merge #286071: mesa: reword expression
...into staging
This merge causes no rebuilds.
2024-04-22 09:15:50 +02:00
Vladimír Čunát
3118b08635
mesa: 24.0.4 -> 24.0.5
https://docs.mesa3d.org/relnotes/24.0.5.html
2024-04-12 07:15:26 +02:00
John Titor
93fbdd30ad
mesa: 24.0.3 -> 24.0.4
Remove backport-radeon-crash-fix.patch added in commit 3ecdb72
Since merged into upstream
2024-04-06 19:17:53 +05:30
Philip Taron
b5ea844d0d mesa: gate elfutils on package availability rather than isLinux 2024-04-03 00:10:40 +02:00
Anderson Torres
ffe2d2fe9d mesa: rewrite env.NIX_CFLAGS_COMPILE 2024-03-27 16:58:51 -03:00
Anderson Torres
9a86e0f075 mesa: reorder lists
One element per line, no reorder.
2024-03-27 16:58:51 -03:00
Anderson Torres
4a25e78d56 mesa: get rid of lib.optional
Conistency is important, after all.
2024-03-27 16:58:51 -03:00
Anderson Torres
8e24e515c4 mesa: reword mesonFlags list by using lib.meson* functions
Keeping the list unordered, (trying) to avoid mass rebuild.
2024-03-27 16:58:51 -03:00
Anderson Torres
cbae8be861 mesa: reorder argset
Remembering neither to flip nor `M-x sort-lines` lists!
2024-03-27 16:58:51 -03:00
Anderson Torres
9b99f9e790 mesa: get rid of nested with in meta 2024-03-27 16:57:55 -03:00