Commit Graph

395 Commits

Author SHA1 Message Date
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
Edmund Wu
2f25cca931
mesa: 19.1.5 -> 19.2.0 2019-09-26 08:26:31 -04:00
volth
08f68313a4 treewide: remove redundant rec 2019-08-28 11:07:32 +00:00
Vladimír Čunát
ee099bf5e7
Merge #66998: mesa: 19.1.3 -> 19.1.5 (into staging) 2019-08-24 18:17:51 +02:00
Vladimír Čunát
b3024380de
mesa: 19.1.4 -> 19.1.5 (bugfix only) 2019-08-24 18:09:36 +02:00
R. RyanTM
cbe14dc3cf driversi686Linux.mesa: 19.1.3 -> 19.1.4
Semi-automatic update generated by
https://github.com/ryantm/nixpkgs-update tools. This update was made
based on information from
https://repology.org/metapackage/mesa/versions
2019-08-19 17:20:36 -07:00
Matthew Bauer
a316d71f59 mesa: add surfaceless egl platform 2019-08-12 18:09:30 -04:00
Cole Mickens
d4ffb8d4ec mesa: 19.1.1 -> 19.1.3 2019-07-27 01:22:54 +02:00
Matthew Bauer
5c8472a2a1
mesa: fix darwin and use meson auto features (PR #63912)
This fixes the darwin build, while also using Meson’s auto features as
much as possible. As a result, we avoid using having to specify
default drivers and instead delegate that to Mesa’s build system.
Removed other flags that were specified to the default in Mesa.

The -fno-common is needed to address undefined symbol _lp_dummy_tile
in the build.
2019-07-09 14:51:41 +02:00
worldofpeace
7d703ff5a5 mesa: fix build Aarch64 2019-06-27 17:07:48 -04:00
Edmund Wu
1141c6f5f8
mesa: 18.3.4 -> 19.1.1 2019-06-26 18:32:47 -04:00
Edmund Wu
544a87cf23
mesa: build with meson 2019-06-26 18:32:44 -04:00
Edmund Wu
3c45b0c00a
mesa: extract stubs 2019-06-25 09:00:33 -04:00
Matthew Bauer
4d6f65b81f
Merge pull request #62167 from matthewbauer/alias-libgl
Add libGL* aliases
2019-06-17 15:18:29 -04:00
Matthew Bauer
f7e2bb8cff mesa: rename from mesa-noglu to mesa 2019-06-17 11:49:27 -04:00
Frederik Rietdijk
d3afcac771 Merge master into staging-next 2019-06-09 12:28:52 +02:00
Matthew Bauer
0121da2af1 mesa: fix stubs on darwin
Adds a special case for isDarwin
2019-06-04 23:14:13 -04:00
Matthew Bauer
872100cf41
Merge branch 'staging' into release-cross-fixes 2019-05-18 14:57:53 -05:00
Matthew Bauer
476c580605 mesa: don’t use valgrind-light on aarch32
valgrind-light doesn’t appear to work correctly on aarch32. It’s also
not a required dependency on mesa, so in the future we may be able to
disable it for other platforms
2019-05-08 21:50:24 -04:00
Matthew Bauer
9225890537 mesa: use platforms instead of throw
mesaPlatforms can be used in the platforms attr.
2019-05-08 21:46:31 -04:00
Matthew Bauer
296e8fef61
Merge branch 'staging' into mesa_3 2019-05-02 17:37:20 -04:00
Matthew Bauer
0fe315c9b6 treewide: remove old patches for macOS
These shouldn’t be needed now that we are on macOS 10.12.
2019-04-26 21:54:32 -04:00
Lengyel Balazs
6f9a7f05cf mesa: 18.3.3 -> 18.3.4 2019-02-18 23:24:47 +01:00
Will Dietz
f69df75655 mesa: 18.3.2 -> 18.3.3
https://www.mesa3d.org/relnotes/18.3.3.html
2019-01-31 17:20:26 -06:00
Will Dietz
f268eb6683 mesa: 18.3.1 -> 18.3.2 2019-01-19 09:26:22 +01:00
Frederik Rietdijk
60a3973a55 Merge staging-next into staging 2019-01-05 10:15:00 +01:00
Matthew Bauer
d9707792b5 mesa: make sure $drivers output gets created
Not all installs will have a $drivers output, so we just create an
empty one here.
2019-01-04 23:26:57 -06:00
Lengyel Balazs
f4a53ff3bc treewide/xorg: replace *proto with xorgproto 2019-01-04 14:38:57 +01:00
rnhmjoj
bf49bfc81b mesa: 18.2.6 -> 18.3.1 2018-12-19 09:09:41 +01:00
Jörg Thalheim
e873882849
mesa: fix cross-compiling 2018-12-12 08:02:19 +00:00
Daiderd Jordan
47bddf5a84
glu: don't use valgrind on darwin 2018-12-11 22:40:47 +01:00
Will Dietz
60856aa9ea mesa: 18.2.5 -> 18.2.6
https://www.mesa3d.org/relnotes/18.2.6.html
2018-11-28 15:09:33 -06:00
Matthew Bauer
2c1d3a9a82 Merge remote-tracking branch 'upstream/master' into staging 2018-11-18 19:02:09 -06:00
Jan Malakhovski
ce5ba1ca44 mesa: don't require wayland things with wayland disabled (#50559) 2018-11-18 16:36:24 +01:00
Will Dietz
6b490ee296 mesa: 18.2.4 -> 18.2.5
https://www.mesa3d.org/relnotes/18.2.5.html
2018-11-16 08:53:53 -06:00
Frederik Rietdijk
53d00c3351 Merge master into staging-next 2018-11-10 11:08:54 +01:00
Jan Malakhovski
3902085b3f mesa: tiny cleanup 2018-11-08 05:20:19 +00:00
Will Dietz
a668934558 mesa: 18.2.3 -> 18.2.4
bug-fix release:
https://www.mesa3d.org/relnotes/18.2.4.html
2018-11-01 11:07:16 -05:00
Will Dietz
f7b3f43f81 mesa: 18.2.2 -> 18.2.3
https://lists.freedesktop.org/archives/mesa-dev/2018-October/207343.html

Optimistically drop disk cache patch, changelog mentions related
changes to cache behavior.

Not sure if those changes address our problem
(can we count on build-id?) so someone more familiar with
this should probably take a look before merging :).
2018-10-24 08:08:49 -05:00
Will Dietz
6dc9e7d2a9 mesa: 18.2.1 -> 18.2.2 2018-10-05 15:21:05 -05:00
Will Dietz
0d91e3b550 mesa: add new required dep on libXrandr 2018-09-21 13:25:12 -05:00
Will Dietz
c1743dd12d mesa: drop non-applying hunk, hopefully include no longer needed
(cherry picked from commit b673b8987872adfd97fdb8821198450ff229118d)
2018-09-21 13:24:07 -05:00
Will Dietz
6248955e6a mesa: 18.1.8 -> 18.2.1
(cherry picked from commit eb2b89a0a1901d4c89dcc6c0a36e1cabd1fcd002)
2018-09-21 13:23:38 -05:00
Will Dietz
fc5daa7b68 mesa: 18.1.7 -> 18.1.8
https://www.mesa3d.org/relnotes/18.1.8.html
2018-09-09 16:54:06 -05:00
Matthew Bauer
203d77171c
Merge branch 'staging' into remove-mesa-darwin 2018-09-07 22:14:55 -05:00
Robert Schütz
93550cbddf Merge branch 'master' into staging-next 2018-08-31 17:32:48 +02: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
Vladimír Čunát
f02bfc74c9
mesa: 18.1.5 -> 18.1.7 (maintenance) 2018-08-26 10:49:12 +02:00
Matthew Bauer
16879e2f6a mesa: remove darwin-specific derivations
The ‘mesa-darwin’ stuff was very out of date (2012). This moves darwin
to use the newer mesa. Stuff seems to build okay. Needs more testing
on other stuff though (libraries work). No drivers build but that is
how it should work on macOS.

/cc @cstrahan @Anton-Latukha
2018-08-25 15:59:19 -05:00
Gabriel Ebner
ff3665f584 mesa: enable texture floats 2018-08-25 18:34:41 +02:00
Jona Stubbe
4688f4078f restructure driver selection to show conditions for which each driver is selected 2018-08-22 23:48:38 +02:00
Jona Stubbe
a1f5702755 mesa: restructure driver selection to be more architecture-neutral
This allows Mesa to also build on ppc64le.
2018-08-22 19:27:23 +02:00
David McFarland
0a18b917ca mesa: add patch to include driver path in cache key
Mesa usually uses the timestamps of the llvm and driver shared libraries
as a cache key.  In /nix/store these are all zero, so we'll include
$(drivers) in the cache key, which should be unique for all combinations
of mesa and llvm versions.
2018-08-06 17:01:09 -03:00
Vladimír Čunát
3e7f4611a0
mesa: 8.1.4 -> 8.1.5 (maintenance) 2018-07-30 08:47:02 +02:00
Anton-Latukha
7ebc3ab2a6 mesa: cleanup: rm defunct glx-rts & sysfs flags, grsec/PaX patch
Config log:

```
configure: WARNING: unrecognized options: --disable-glx-rts, --enable-sysfs
```
2018-07-22 21:41:48 +03:00
Anton-Latukha
8f101cce83 rm maintainer eduarrrd from packages, no activity > year 2018-07-22 21:41:48 +03:00
Anton-Latukha
c56dd53092 mesa, mesa-darwin: free up floating point textures (patents expired)
https://cgit.freedesktop.org/mesa/mesa/commit/?id=66673bef941af344314fe9c91cad8cd330b245eb
https://www.phoronix.com/scan.php?page=news_item&px=OpenGL-Texture-Float-Freed
2018-07-22 21:41:40 +03:00
Frederik Rietdijk
3209775495 Merge master into staging 2018-07-22 11:14:41 +02:00
volth
52f53c69ce pkgs/*: remove unreferenced function arguments 2018-07-21 02:48:04 +00:00
Will Dietz
06de6dc71b mesa: more include fixes
mostly from void-linux (thanks!)
2018-07-18 14:34:51 -05:00
Anton-Latukha
9d0336a2bb
mesa: 18.1.2 -> 18.1.4
Picked from #43378.
2018-07-16 17:53:01 +02:00
Vladimír Čunát
2bd8e98eba
mesa: fix overzealous patching of *.pc
PR #42529 (722dd05) broke gbm.pc and consequently virglrenderer build.
2018-07-16 17:47:24 +02:00
Matthew Bauer
b29440fd10
Merge pull request #42467 from mkaito/update-mesa
mesa: 18.0.3 -> 18.1.2
2018-07-05 22:18:21 -04:00
Michishige Kaito
3b6970542a Remove unnecessary reference to python27Packages 2018-06-26 10:54:03 +01:00
Michishige Kaito
722dd05b14 mesa: point pkgconfig at $drivers 2018-06-25 21:33:07 +01:00
Michishige Kaito
fc0b7c984c mesa: 18.0.3 -> 18.1.2 2018-06-25 21:32:41 +01:00
Tuomas Tynkkynen
164601faa2 mesa: Enable virgl driver
This gets NixOS tests requiring X11 to work on aarch64:

https://nix-cache.s3.amazonaws.com/log/nj4dwi3wkxx0cxv230ii4a99yz71b4km-vm-test-run-keymap-neo.drv
2018-05-26 18:03:44 +03:00
Will Dietz
014f2cdb89 mesa: 17.3.9 -> 18.0.3 2018-05-08 11:18:43 -05:00
Matthew Justin Bauer
eeb016e8f0
Merge branch 'staging' into fix-ncurses-darwin-extensions 2018-05-02 15:40:38 -05:00
Will Dietz
910ad133b4 mesa: 17.3.8 -> 17.3.9
https://www.mesa3d.org/relnotes/17.3.9.html
2018-04-30 11:08:23 -05:00
John Ericson
ba52ae5048 treewide: isArm -> isAarch32
Following legacy packing conventions, `isArm` was defined just for
32-bit ARM instruction set. This is confusing to non packagers though,
because Aarch64 is an ARM instruction set.

The official ARM overview for ARMv8[1] is surprisingly not confusing,
given the overall state of affairs for ARM naming conventions, and
offers us a solution. It divides the nomenclature into three levels:

```
ISA:             ARMv8   {-A, -R, -M}
                 /    \
Mode:     Aarch32     Aarch64
             |         /   \
Encoding:   A64      A32   T32
```

At the top is the overall v8 instruction set archicture. Second are the
two modes, defined by bitwidth but differing in other semantics too, and
buttom are the encodings, (hopefully?) isomorphic if they encode the
same mode.

The 32 bit encodings are mostly backwards compatible with previous
non-Thumb and Thumb encodings, and if so we can pun the mode names to
instead mean "sets of compatable or isomorphic encodings", and then
voilà we have nice names for 32-bit and 64-bit arm instruction sets
which do not use the word ARM so as to not confused either laymen or
experienced ARM packages.

[1]: https://developer.arm.com/products/architecture/a-profile
2018-04-25 15:28:55 -04:00
Will Dietz
f07f0c6009 Merge remote-tracking branch 'origin/master' into staging 2018-04-24 19:58:44 -05:00
Will Dietz
64c2e058e6 mesa, libglvnd, xorg: disable tls w/musl 2018-04-24 17:16:22 -05:00
David McFarland
ee1778de78 mesa_drivers: fix drirc install path
This will install drirc to the location where mesa expects to find it.

You can test with:

    LIBGL_DEBUG=1 glxgears

An error message will be printed if drirc can't be found.
2018-04-21 11:42:06 -03:00
Will Dietz
bf44cf71b7 mesa: 17.3.7 -> 17.3.8
https://www.mesa3d.org/relnotes/17.3.8.html

Remove upstreamed portion of musl patch,
always add remaining fix (missing include).
2018-04-05 11:41:49 -05:00
Will Dietz
231cdaf159 mesa: 17.3.6 -> 17.3.7 2018-04-03 08:11:26 -05:00
Jan Malakhovski
c7cf808ff8 libva: make libva-full the default
It seems that all uses of `libva` it in nixpkgs except `mesa` and itself actually
either will gain from using `libva-full` instead of `libva-minimal` by default
or simply won't care.
2018-03-26 14:02:06 +03:00
Nikolay Amiantov
6bf1421f13 treewide: refactor to use libglvnd
* Implement libGL as a symlink package which uses libraries from libglvnd and
  headers from Mesa (since ones from libglvnd are outdated).
* Use libGL_driver.driverLink treewide; add FHS paths where possible.
2018-03-26 14:01:49 +03:00
Nikolay Amiantov
803e87aa1e mesa_noglu: build virgl driver
It's used for 3D acceleration inside qemu.
2018-03-26 14:01:49 +03:00
Nikolay Amiantov
03a6766a6d mesa_noglu: build with libglvnd 2018-03-26 14:01:49 +03:00
Jan Malakhovski
7079e744d4 Merge branch 'master' into staging
Resolved the following conflicts (by carefully applying patches from the both
branches since the fork point):

   pkgs/development/libraries/epoxy/default.nix
   pkgs/development/libraries/gtk+/3.x.nix
   pkgs/development/python-modules/asgiref/default.nix
   pkgs/development/python-modules/daphne/default.nix
   pkgs/os-specific/linux/systemd/default.nix
2018-03-10 20:38:13 +00:00
Vladimír Čunát
04c31a5de1
libGL rename: fallout after a week on master
and a few nitpicks.
2018-03-05 14:53:38 +01:00
Vladimír Čunát
6a9ab8db11
mesa: 17.3.5 -> 17.3.6 (bugfix)
It's emergency bugfix for intel.
2018-03-03 11:14:50 +01:00
Vladimír Čunát
ddb422714d
mesa: 17.3.3 -> 17.3.5 (maintenance) 2018-02-24 22:30:13 +01:00
Will Dietz
1289cdaf75 mesa: patch to fix w/musl 2018-02-13 09:44:53 -06:00
Vladimír Čunát
b91e846639
mesa: 17.2.8 -> 17.3.3
TODO: verify that S3TC works without adding libtxc*,
and clean all the related code.
2018-01-21 11:01:47 +01:00
David McFarland
af32623d04 mesa: set sysconfdir to /run/opengl-driver/etc
This allows drirc to be found.
2018-01-07 21:31:33 -04:00
Samuel Dionne-Riel
7b97c8c0c8 treewide: homepage+src updates (found by repology, #33263) 2018-01-05 20:42:46 +01:00
Vladimír Čunát
0e8283370b
mesa: 17.2.7 -> 17.2.8 (maintenance) 2017-12-29 10:01:21 +01:00
Vladimír Čunát
21ba964f0b
mesa: maintenance 17.2.6 -> 17.2.7 2017-12-16 17:51:17 +01:00
Vladimír Čunát
6a71852630
mesa: maintenance 17.2.4 -> 17.2.6 2017-11-27 13:05:52 +01:00
Orivej Desh
1f78f9fb7a mesa: replace dead https link 2017-11-13 17:50:34 +00:00
Vladimír Čunát
41267f612f
mesa: maintenance 17.2.2 -> 17.2.4 2017-10-30 22:35:54 +01:00
Vladimír Čunát
e9a1663f8c
mesa: don't build "svga" gallium driver on ARM
https://bugs.freedesktop.org/show_bug.cgi?id=102232#c1
Don't cause a rebuild on non-ARM.
2017-10-10 20:34:38 +02:00
Vladimír Čunát
0df6a8fbe3
Merge #30196: mesa: 17.1.10 -> 17.2.2 2017-10-08 18:22:49 +02:00
Gabriel Ebner
e16d95b686 mesa: 17.1.10 -> 17.2.2 2017-10-07 15:54:51 +02:00
John Ericson
f037625f87 Merge remote-tracking branch 'upstream/staging' into deps-reorg 2017-09-28 12:32:57 -04:00
Vladimír Čunát
332dc7c719
mesa: maintenance 17.1.9 -> 17.1.10 2017-09-25 21:50:10 +02:00
John Ericson
03d3788cdf mesa: Recategorize dependencies 2017-09-21 15:49:55 -04:00
Vladimír Čunát
9d6ac8eada
mesa: maintenance 17.1.8 -> 17.1.9 2017-09-09 07:54:46 +02:00