aboutsummaryrefslogtreecommitdiff
path: root/graphics/mesa-dri
Commit message (Collapse)AuthorAgeFilesLines
* graphics/mesa-dri: Fix 4afbb0586e84d991a8a3a501f4dab6eb5971e28cHelge Oldach2022-04-161-1/+1
| | | | | PR: 263042 Submitted by: Helge Oldach <freebsd@oldach.net>
* graphics/mesa-dri: Fix PLISTPo-Chuan Hsieh2022-03-251-0/+1
| | | | | | | | | | | | | | | | | | - Bump PORTREVISION for package change ===> Checking for pkg-plist issues (check-plist) ===> Parsing plist ===> Checking for items in STAGEDIR missing from pkg-plist Error: Orphaned: share/drirc.d/00-radv-defaults.conf ===> Checking for items in pkg-plist which are not in STAGEDIR ===> Error: Plist issues found. *** Error code 1 Stop. make: stopped in /usr/ports/graphics/mesa-dri =>> Error: check-plist failures detected Approved by: portmgr (blanket)
* graphics/mesa: Update to 21.3.8Emmanuel Vadot2022-03-212-4/+4
| | | | | | | | | Update to the last release of the 21.3 branch. Release notes; https://lists.freedesktop.org/archives/mesa-dev/2022-March/225710.html MFH: 2022Q1 Sponsored by: Beckhoff Automation GmbH & Co. KG
* graphics/mesa*: Update to 21.3.7Emmanuel Vadot2022-02-284-6/+15
| | | | | | | | | | | | While here add panfrost driver for arm64 and enable lavapipe (llvm based driver for vulkan). Realese notes: https://lists.freedesktop.org/archives/mesa-dev/2022-February/225692.html MFC: 2022Q1 Sponsored by: Beckhoff Automation GmbH & Co. KG Differential Revision: https://reviews.freebsd.org/D34366 Differential Revision: https://reviews.freebsd.org/D34370 Differential Revision: https://reviews.freebsd.org/D34371
* graphics/mesa: Update to 21.3.6Emmanuel Vadot2022-02-152-4/+4
| | | | | | | | | Release notes for 21.3.5: https://lists.freedesktop.org/archives/mesa-dev/2022-January/225661.html Release notes for 21.3.6: https://lists.freedesktop.org/archives/mesa-dev/2022-February/225673.html MFH: 2022Q1 Sponsored by: Beckhoff Automation GmbH & Co. KG Differential Revision: https://reviews.freebsd.org/D34239
* graphics/mesa: Update to 21.3.4Emmanuel Vadot2022-01-1810-72/+33
| | | | | | | | | | | | | | | | | | | | | | | This is the last mesa release with DRI drivers, next one will only have the gallium drivers. Release notes for 21.2.0: https://lists.freedesktop.org/archives/mesa-dev/2021-August/225459.html Release notes for 21.2.1: https://lists.freedesktop.org/archives/mesa-dev/2021-September/225480.html Release notes for 21.2.2: https://lists.freedesktop.org/archives/mesa-dev/2021-September/225490.html Release notes for 21.2.3: https://lists.freedesktop.org/archives/mesa-dev/2021-September/225495.html Release notes for 21.2.4: https://lists.freedesktop.org/archives/mesa-dev/2021-October/225532.html Release notes for 21.2.5: https://lists.freedesktop.org/archives/mesa-dev/2021-October/225555.html Release notes for 21.2.6: https://lists.freedesktop.org/archives/mesa-dev/2021-November/225580.html Release notes for 21.3.0: https://lists.freedesktop.org/archives/mesa-dev/2021-November/225574.html Release notes for 21.3.1: https://lists.freedesktop.org/archives/mesa-dev/2021-December/225581.html Release notes for 21.3.2: https://lists.freedesktop.org/archives/mesa-dev/2021-December/225603.html Release notes for 21.3.3: https://lists.freedesktop.org/archives/mesa-dev/2021-December/225612.html Release notes for 21.3.4: https://lists.freedesktop.org/archives/mesa-dev/2022-January/225635.html MFH: 2022Q1 Reviewed by: zeising (privately) Sponsored by: Beckhoff Automation GmbH & Co. KG Differential Revision: https://reviews.freebsd.org/D33332
* graphics/mesa-dri: build on riscv64Robert Clausecker2021-11-191-1/+1
| | | | PR: 259159
* graphics/mesa: Update to 21.1.8Emmanuel Vadot2021-10-132-4/+4
| | | | | | | | | | | Update to the latest release of the 21.1 branch. Release Notes: https://lists.freedesktop.org/archives/mesa-dev/2021-July/225455.html Release Notes: https://lists.freedesktop.org/archives/mesa-dev/2021-August/225461.html Release Notes: https://lists.freedesktop.org/archives/mesa-dev/2021-September/225465.html Differential Revision: https://reviews.freebsd.org/D32351 Sponsored by: Beckhoff Automation GmbH & Co. KG
* cleanup: drop support for EOL FreeBSD 11.XRene Ladan2021-09-302-19/+0
| | | | | | | | | | | | | | | | | Search criteria used: - 11.4 - OSREL* - OSVER* - *_FreeBSD_11 Input from: - adridg: devel/qca-legacy - jbeich: _WITH_DPRINTF, _WITH_GETLINE, GNU bfd workarounds - sunpoet: security/p5-*OpenSSL* Reviewed by: doceng, kde, multimedia, perl, python, ruby, rust Differential Revision: https://reviews.freebsd.org/D32008 Test Plan: make index
* graphics/mesa-libs: Add back patch for irisEmmanuel Vadot2021-08-041-0/+11
| | | | | | | Due to how the mesa ports are split we need to patch meson files so iris is prefered on compatible intel GPU. PR: 257462
* graphics/mesa-*: Unbreak on 11.4Emmanuel Vadot2021-07-282-0/+19
| | | | | | Re-add patches that was removed on the 21.1.5 update. PR: 257305
* graphics/mesa-dri: fix build on powerpc64lePiotr Kubaj2021-07-213-1/+25
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | n file included from ../src/gallium/drivers/llvmpipe/lp_setup_tri.c:50: /usr/lib/clang/11.0.1/include/altivec.h:55:19: error: unknown type name 'vector' static __inline__ vector bool char __ATTRS_o_ai ^ /usr/lib/clang/11.0.1/include/altivec.h:56:10: error: unknown type name 'vector' vec_perm(vector bool char __a, vector bool char __b, vector unsigned char __c); ^ /usr/lib/clang/11.0.1/include/altivec.h:56:32: error: unknown type name 'vector' vec_perm(vector bool char __a, vector bool char __b, vector unsigned char __c); ^ /usr/lib/clang/11.0.1/include/altivec.h:66:19: error: unknown type name 'vector' static __inline__ vector bool short __ATTRS_o_ai vec_perm( ^ /usr/lib/clang/11.0.1/include/altivec.h:67:5: error: unknown type name 'vector' vector bool short __a, vector bool short __b, vector unsigned char __c); ^ /usr/lib/clang/11.0.1/include/altivec.h:67:28: error: unknown type name 'vector' vector bool short __a, vector bool short __b, vector unsigned char __c); ^ /usr/lib/clang/11.0.1/include/altivec.h:80:19: error: unknown type name 'vector' static __inline__ vector bool int __ATTRS_o_ai ^ /usr/lib/clang/11.0.1/include/altivec.h:81:10: error: unknown type name 'vector' vec_perm(vector bool int __a, vector bool int __b, vector unsigned char __c); ^ /usr/lib/clang/11.0.1/include/altivec.h:81:31: error: unknown type name 'vector' vec_perm(vector bool int __a, vector bool int __b, vector unsigned char __c); ^ /usr/lib/clang/11.0.1/include/altivec.h:96:19: error: unknown type name 'vector' static __inline__ vector bool long long __ATTRS_o_ai ^ /usr/lib/clang/11.0.1/include/altivec.h:97:10: error: unknown type name 'vector' vec_perm(vector bool long long __a, vector bool long long __b, ^ /usr/lib/clang/11.0.1/include/altivec.h:97:37: error: unknown type name 'vector' vec_perm(vector bool long long __a, vector bool long long __b, ^ /usr/lib/clang/11.0.1/include/altivec.h:203:9: error: unknown type name 'vector' vec_add(vector bool char __a, vector signed char __b) { ^ /usr/lib/clang/11.0.1/include/altivec.h:208:33: error: unknown type name 'vector' vec_add(vector signed char __a, vector bool char __b) { ^ /usr/lib/clang/11.0.1/include/altivec.h:218:9: error: unknown type name 'vector' vec_add(vector bool char __a, vector unsigned char __b) { ^ /usr/lib/clang/11.0.1/include/altivec.h:223:35: error: unknown type name 'vector' vec_add(vector unsigned char __a, vector bool char __b) { ^ /usr/lib/clang/11.0.1/include/altivec.h:232:53: error: unknown type name 'vector' static __inline__ vector short __ATTRS_o_ai vec_add(vector bool short __a, ^ /usr/lib/clang/11.0.1/include/altivec.h:238:53: error: unknown type name 'vector' vector bool short __b) { ^ /usr/lib/clang/11.0.1/include/altivec.h:248:9: error: unknown type name 'vector' vec_add(vector bool short __a, vector unsigned short __b) { ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 20 errors generated. Additionally, fix packaging failure on all powerpc*, since llvmpipe is now used.
* mesa*: Update to 21.1.5Emmanuel Vadot2021-07-2017-271/+83
| | | | | | | | | | - swrast is only a gallium driver now. - Bump needed llvm to 12 - libclc is still a llvm10, moving to >10 needs to change from where we pick libclc as its now part of llvm Differential Revision: https://reviews.freebsd.org/D31165 Reviewed by: kbowling, zeising
* graphics/mesa-dri: enable libunwind on armv7Piotr Kubaj2021-06-281-1/+1
|
* graphics/mesa-libs: Bump reverse deps for libglvndKevin Bowling2021-06-221-1/+1
| | | | | | | | | | Per discussion with bapt on helping pkg handle the changing of these deps and avoiding impossible upgrade senarios. PR: 246767 Reviewed by: manu, bapt Approved by: x11 Differential Revision: https://reviews.freebsd.org/D30824
* graphics/mesa-dri: fix build on riscv64Piotr Kubaj2021-06-161-1/+1
| | | | | Submitted by: linimon PR: 256138
* Remove # $FreeBSD$ from Makefiles.Mathieu Arnold2021-04-063-5/+0
|
* Improve r556423 and allow building against custom LLVM version, i.e.Alexey Dokuchaev2021-03-151-2/+2
| | | | | | | | | | | | | respect flexible LLVM_DEFAULT, by not hardcoding package version and depending on the appropriate executable instead. This is to help users sticking to the particular LLVM versions lower the number of different LLVM packages installed. For example, there is currently a mismatch between LLVM_DEFAULT assigned by the default versions framework (90) and in this file (10; this hasn't changed). Notes: svn path=/head/; revision=568432
* Remove obsolete sparc64 stanza. This collided with ONLY_FOR_ARCHSMark Linimon2021-01-271-3/+0
| | | | | | | | | | | | statements in the ports that include it, with the following absurd value for IGNORE on e.g. aarch64: is only for amd64 i386, while you are running aarch64 (reason: Clover needs a GPU supported by the Radeon KMS driver) (reason: not supported on sparc64) Approved by: portmgr (tier-2 blanket) Notes: svn path=/head/; revision=563035
* graphics/mesa-dri: exclude buffer age on iris under kwinJan Beich2020-12-243-0/+14
| | | | | | | | | | | | Freeze in OpenGL initialization detected PR: 251836 Reported by: Roman, Oleg Nauman, arrowd, Oleksandr Kryvulia Tested by: arrowd, Roman Approved by: manu Notes: svn path=/head/; revision=559047
* mesa-*: Update to 20.2.3Emmanuel Vadot2020-12-034-8/+18
| | | | | | | | | | - Fix mesa-gallium-va and mesa-gallium-vdpau for X11 usage - Add a patch so iris will be prefered for compatible intel GPUs (>=broadwell) PR: 250307 250325 Notes: svn path=/head/; revision=556929
* graphics/mesa-dri: make powerpc64 use LLVM10Piotr Kubaj2020-11-272-9/+1
| | | | | | | LLVM90 requirement was introduced when Mesa used LLVM80 and 90 gave much better experience on powerpc64. Now that everyone moved to 10, make a move on powerpc64 as well. Notes: svn path=/head/; revision=556423
* Remove non existing patch.Mathieu Arnold2020-11-051-4/+0
| | | | | | | PR: 250723 Notes: svn path=/head/; revision=554140
* graphics/mesa-dri: fix build of libosmesa on powerpc64lePiotr Kubaj2020-10-232-0/+28
| | | | | | | | | | Error: ../src/gallium/auxiliary/util/u_pwr8.h:87:11: error: implicit declaration of function 'vec_perm' is invalid in C99 [-Werror,-Wimplicit-function-declaration] return vec_perm (even, odd, perm_mask); ^ Notes: svn path=/head/; revision=553060
* graphics/mesa*: Add Iris Gallium driver and libunwind for more archEmmanuel Vadot2020-10-133-3/+5
| | | | | | | | | | | | | | Iris is the prefered gallium driver for Intel Gen8 to Gen11, add it to the build. [1] Add libunwind support for more arch. [2] PR: 250307 [1], 250305 [2] Submitted by: jbeich [2] Reported by: jbeich [1] Reviewed by: zeising Notes: svn path=/head/; revision=552236
* graphics/mesa*: Update to 20.2Emmanuel Vadot2020-10-1242-1119/+240
| | | | | | | | | | | | | | | | | | | Update to 20.2 Move graphics/libxatracker to graphics/mesa-gallium-xa Remove VAAPI and VDPAU options in mesa-libs in favor of two new ports : mesa-gallium-va and mesa-gallium-vdpau Bump needed llvm to llvm10 Change a lot of meson option from false to disabled as it's deprecated. Remove the drm and surfaceless platform from mesa* as it's always enabled now. Add zstd option, used for shader cache. Reviewed by: x11 (zeising@) Differential Revision: https://reviews.freebsd.org/D26682 Notes: svn path=/head/; revision=552109
* mesa-libs: Add glesv1 libEmmanuel Vadot2020-09-191-3/+0
| | | | | | | | | | | | There is no real reason to disable glesv1 so add it to the build. While here add a USE_GL for it. Reviewed by: zeising Approved by: x11 (zeising@) Differential Revision: https://reviews.freebsd.org/D26461 Notes: svn path=/head/; revision=548950
* mesa: Remove sparc64 patchesEmmanuel Vadot2020-09-192-29/+5
| | | | | | | | | | | | No one who cares about graphics have a sparc64 machine. Next update to 20.2 will not contain any patches too. Reviewed by: zeising Approved by: x11 (zeising@) Differential Revision: https://reviews.freebsd.org/D26460 Notes: svn path=/head/; revision=548949
* mesa*: Only add x11 dependancy if it's requestedEmmanuel Vadot2020-09-172-9/+8
| | | | | | | | | | | | This allow to have a full setup without any x11 deps. PR: 247029 Reviewed by: zeising Approved by: x11 (zeising@) Differential Revision: https://reviews.freebsd.org/D26438 Notes: svn path=/head/; revision=548829
* graphics/mesa: Fix build with -fno-commonNiclas Zeising2020-08-185-0/+213
| | | | | | | | | | Pull in a bunch of upstream patches to graphics/mesa to fix build with -fno-common, which is the default after the llvm 11 import. MFH: 2020Q3 Notes: svn path=/head/; revision=545240
* graphics/mesa-dri: switch powerpc64 to llvmpipePiotr Kubaj2020-07-101-2/+2
| | | | | | | powerpc* is left in .elif block for powerpc and powerpcspe which I didn't test. Notes: svn path=/head/; revision=541859
* mesa-dri: Use gallium SWRAST on x86 and aarch64Emmanuel Vadot2020-07-032-3/+6
| | | | | | | | | | | | Mesa have two software rasterizer, the classic mesa dri one and the gallium one. The classic dri one is starting to be deprecated upstream (like all dri drivers) so switch the arches that can build the gallium one to it. Approved by: zeising (x11) Notes: svn path=/head/; revision=541124
* graphics/mesa: Fix minor issues from meson switchNiclas Zeising2020-06-163-3/+33
| | | | | | | | | | | | | | | | | | | | | | | Fix a couple of minor issues with mesa related ports after the switch to meson. Define _GNU_SOURCE when building on FreeBSD. This fixes blur effects in Plasma 5 and issues with the SDDM greeter. This fix was originally applied in r516100 but got lost in the switch to meson. [1] Properly detect sys/sysctl.h on FreeBSD. On FreeBSD sys/sysctl.h needs sys/types.h as well, patch the meson build script to take this into account. Fix a broken sed command to properly set ${LOCALBASE}/etc and ${LOCALBASE}/share/ as appropriate. Bump portrevision of all mesa related ports. PR: 247138 [1] Reported by: Roman [1] Reviewed by: manu Tested by: Roman, Serge Volkov Differential Revision: https://reviews.freebsd.org/D25265 Notes: svn path=/head/; revision=539358
* mesa-dri: Bump PORTREVISION after 538573Emmanuel Vadot2020-06-121-1/+1
| | | | | | | Approved by: zeising (x11@ implicit) Notes: svn path=/head/; revision=538575
* mesa-dri: SWRAST is set with DRIVER not GDRIVEREmmanuel Vadot2020-06-121-1/+1
| | | | | | | | | | Fix packaging swrast_dri.so PR: 247194 Approved by: zeising (x11@ implicit) Notes: svn path=/head/; revision=538573
* mesa-dri: Switch back to the dri swrast driversEmmanuel Vadot2020-06-111-2/+2
| | | | | | | | | | | | The meson switch changed which swrast driver we build from dri to gallium. I'm not too sure at how the gallium swrast is usable but switch back to the dri one. This also fixes the build on armv7 where the gallium swrast driver isn't available. Approved by: zeising (x11@ implicit) Notes: svn path=/head/; revision=538491
* mesa-dri: Fix build when PLATFORM_X11 isn't setEmmanuel Vadot2020-06-102-5/+8
| | | | | | | Approved by: zeising (x11@ implicit) Notes: svn path=/head/; revision=538438
* mesa: Fix build empty DRI_DRIVERNiclas Zeising2020-06-091-9/+5
| | | | | | | | | | | | | | | | | | | In some cases, such as on sparc64, armv6 and armv7 etc, DRI_DRIVER, GALLIUM_DRIVER and/or VULKAN_DRIVER might be undefined. This causes an error similar to make: "/usr/ports/graphics/mesa-dri/Makefile" line 106: Malformed conditional (${DRI_DRIVERS:M${:UI915}}) Fix this by checking if [DRI,GALLIUM,VULKAN]_DRIVER is defined before checking what it is set to. While here, remove textproc/py-mako dependency from mesa-dri/Makefile, it's already included in mesa-dri/Makefile.common, no need to depend on it twice. PR: 247117 Reported by: jbeich Notes: svn path=/head/; revision=538339
* mesa-dri: Bump PORTREVISIONEmmanuel Vadot2020-06-091-1/+1
| | | | | | | | | | | | Due to some options change we had a small windows where wayland might not have been enabled, bump PORTREVISION so next at next update it will be brought back. Reported by: zeising Approved by: zeizing (x11@ implicit) Notes: svn path=/head/; revision=538313
* mesa-dri: Add wayland to -Dplatform if option is selectedEmmanuel Vadot2020-06-081-3/+3
| | | | | | | | PR: 247056 Approved by: zeising (x11@ implicit) Notes: svn path=/head/; revision=538209
* mesa*: Switch to using a native-file for llvmEmmanuel Vadot2020-06-082-1/+6
| | | | | | | | | | | | | Meson seems to not care that a llvm-config binary exists and will prefer to use llvm-config-devel for some reason. Using a native-file fixes that and meson will correctly use the llvm specified in it. PR: 247026 Approved by: zeising (x11@ implicit) Notes: svn path=/head/; revision=538207
* mesa*: Add platforms optionEmmanuel Vadot2020-06-061-5/+26
| | | | | | | | | | | | | Mesa support different platforms, add some options that control which one we are enabling and build the -Dplatform meson arg based on that. Keep the WAYLAND option for now but if you're using it switch to the newly created PLATFORM_WAYLAND. PR: 246969 Approved by: zeising (x11@ implicit) Notes: svn path=/head/; revision=538079
* mesa-dri: Disable some arm driversEmmanuel Vadot2020-06-055-65/+2
| | | | | | | | | | | | | We don't have any hardware or driver capable of running the freedreno driver so disable it. Our VC4 support don't work with mesa so disable it too. Reviewed by: zeising (x11@) Approved by: zeising (x11@) Differential Revision: https://reviews.freebsd.org/D25093 Notes: svn path=/head/; revision=538046
* mesa*: Use lld from devel/binutils if /usr/bin/ld isn't lldEmmanuel Vadot2020-06-053-22/+8
| | | | | | | | | | | | GCC arches on 11 and 12 will uses ld.bfd and don't have ld.lld so we can't blindly use ld.lld. Suggested by: jbeich Reported by: pkubaj Approved by: zeising (x11@ implicit) Notes: svn path=/head/; revision=538045
* mesa*: Always use LLDEmmanuel Vadot2020-06-051-0/+2
| | | | | | | | | | | | LLD is already used in 12 and 13 but we still use ld.bfd by default on 11 and for some unknown reason some mesa libs fails to build with it since the meson switch. PR: 246997 Approved by: zeising (x11@ implicit) Notes: svn path=/head/; revision=538032
* mesa*: Fix build on i386Emmanuel Vadot2020-06-051-0/+53
| | | | | | | | | | | Fix build related to libatomic on i386. Simply copy the patch from mesa-devel. Reported by: jbeich Approved by: zeising (x11@ implicit) Notes: svn path=/head/; revision=538015
* mesa: Fix linking on 11Emmanuel Vadot2020-06-051-0/+21
| | | | | | | | | | | | | 11 uses gnuld by default and it doesn't support --build-id Add a check in meson and raise the meson version to 0.46 as cc.get_supported_link_arguments was added in this version. Upstream already do this check. Reported by: kib Approved by: zeising (x11@, implicit) Notes: svn path=/head/; revision=538008
* mesa*: Switch to mesonEmmanuel Vadot2020-06-0514-370/+122
| | | | | | | | | | | | | | | | Upstream switched to meson for their build system so do the same as it will be easier to find problems sooner than later. This also switch to python3, python is only used for the build. There is more thing enabled by default (or auto-enabled based on some configuration) so we need to disable a lot more things than with autotools. This should be a non functional change. Reviewed by: zeising (x11@) Differential Revision: https:/reviews.freebsd.org/D25092 Notes: svn path=/head/; revision=537998
* Adapt LLVM_DEFAULT downgrades to the new version scheme in devel/llvm10Jan Beich2020-05-111-1/+1
| | | | | | | | | | | | | | | | $ DEFAULT_VERSIONS=llvm=90 make -V LLVM_DEFAULT -C graphics/mesa-dri 80 $ DEFAULT_VERSIONS=llvm=10 make -V LLVM_DEFAULT -C graphics/mesa-dri 10 PR: 245178 Reported by: mi Approved by: x11 (zeising), maintainer timeout (2 months) MFH: 2020Q2 (for llvm10 users) Differential Revision: https://reviews.freebsd.org/D24222 Notes: svn path=/head/; revision=534936
* graphics/mesa: Update to 19.0.8Niclas Zeising2020-05-034-22/+6
| | | | | | | | | | | | | | | Update mesa and related ports to 19.0.8. This is the last version where the autotools build system is being used. This serves as a stepping stone for reworking the ports to use the meson build system and to enable further updates. PR: 235570 Submitted by: jbeich (with minor changes) Differential Revision: https://reviews.freebsd.org/D19099 https://reviews.freebsd.org/D19100 Notes: svn path=/head/; revision=533793