notbugAs an Amazon Associate I earn from qualifying purchases.
Want a good read? Try FreeBSD Mastery: Jails (IT Mastery Book 15)
All times are UTC
Ukraine
non port: graphics/mesa-dri/Makefile
SVNWeb

Number of commits found: 83

Sat, 12 Aug 2023
[ 20:56 Kevin Bowling (kbowling) search for other commits by this committer Author: sasamotikomi ]    commit hash:6fef4101daa2041a1dffdcde860a8b386d7a5f5f  commit hash:6fef4101daa2041a1dffdcde860a8b386d7a5f5f  commit hash:6fef4101daa2041a1dffdcde860a8b386d7a5f5f  6fef410 
graphics/mesa-dri: enable i915g

This is still supported by Mesa for gen2/3 hw not covered by crocus.

PR:		269006
Wed, 26 Apr 2023
[ 12:53 Piotr Kubaj (pkubaj) search for other commits by this committer ]    commit hash:7c324fa96a88e8829ffcd36365bbb732f3257893  commit hash:7c324fa96a88e8829ffcd36365bbb732f3257893  commit hash:7c324fa96a88e8829ffcd36365bbb732f3257893  7c324fa 
graphics/mesa-dri: enable libunwind on powerpc
Tue, 4 Apr 2023
[ 09:17 Jan Beich (jbeich) search for other commits by this committer ]    commit hash:0ab18b0ed7e606feb41a548fc95c80f5eb63d6e9  commit hash:0ab18b0ed7e606feb41a548fc95c80f5eb63d6e9  commit hash:0ab18b0ed7e606feb41a548fc95c80f5eb63d6e9  0ab18b0 
graphics/mesa-dri: fix Wayland warnings on exit after d2c3c81a5310

warning: queue 0x562a5ed2cd20 destroyed while proxies still attached:
  wl_display@1 still attached

warning: queue 0x557a4efbcf70 destroyed while proxies still attached:
  zwp_linux_dmabuf_feedback_v1@18 still attached

PR:		269877
Obtained from:	upstream (mesa-23.1.0)
Exp-run by:	antoine
Approved by:	manu
Mon, 20 Mar 2023
[ 17:16 Jan Beich (jbeich) search for other commits by this committer ]    commit hash:045971139f0912f8f20d68016deb257a66aa6cea  commit hash:045971139f0912f8f20d68016deb257a66aa6cea  commit hash:045971139f0912f8f20d68016deb257a66aa6cea  0459711 
graphics/mesa-*: unbreak with --auto-features=enabled

meson.build:945:2: ERROR: Dependency "libclc" not found, tried pkgconfig

PR:		270361
Fri, 27 Jan 2023
[ 08:18 Emmanuel Vadot (manu) search for other commits by this committer ]    commit hash:bb76a96cf0e7a3f76d7d44eff70729ad5f407faa  commit hash:bb76a96cf0e7a3f76d7d44eff70729ad5f407faa  commit hash:bb76a96cf0e7a3f76d7d44eff70729ad5f407faa  bb76a96 
graphics/mesa: Update to 22.3.4

Release
notes:	https://lists.freedesktop.org/archives/mesa-dev/2023-January/225916.html

Sponsored by:	Beckhoff Automation GmbH & Co. KG
Sun, 15 Jan 2023
[ 18:16 Jan Beich (jbeich) search for other commits by this committer ]    commit hash:fe95d2527471eb9bf3aff8ac02b45482abf911bd  commit hash:fe95d2527471eb9bf3aff8ac02b45482abf911bd  commit hash:fe95d2527471eb9bf3aff8ac02b45482abf911bd  fe95d25 
graphics/mesa-dri: extend kwin_x11 workaround to crocus

PR:		268955
Tested by:	jsm, probono@puredarwin.org
Approved by:	manu
Tue, 20 Dec 2022
[ 17:16 Emmanuel Vadot (manu) search for other commits by this committer Author: Florian Walpen ]    commit hash:ad2ced80deaee8815b72d927a8e6d2b687b4864b  commit hash:ad2ced80deaee8815b72d927a8e6d2b687b4864b  commit hash:ad2ced80deaee8815b72d927a8e6d2b687b4864b  ad2ced8 
graphics/mesa-dri: Fix a crash for radeon r600 graphic cards.

Add an upstream patch to fix an immediate crash of Xorg and wayland
on systems with radeon r600 based graphic cards. See:

https://gitlab.freedesktop.org/mesa/mesa/-/issues/7931

PR: 268327
Wed, 14 Dec 2022
[ 12:04 Jan Beich (jbeich) search for other commits by this committer ]    commit hash:d3431fe0b2c27a0ec5a4a2f7a9d3fbbede9a4555  commit hash:d3431fe0b2c27a0ec5a4a2f7a9d3fbbede9a4555  commit hash:d3431fe0b2c27a0ec5a4a2f7a9d3fbbede9a4555  d3431fe 
graphics/mesa-dri: drop USE_LDCONFIG due to dlopen(3)

OpenGL drivers in mesa-dri lack headers and cannot be used by ld(1)
via -l<lib> due to missing "lib" prefix. libglvnd uses dlopen(3)
to find lib(EGL|GLX)_mesa.so in mesa-libs which uses dlopen(3)
to find the drivers under ${PREFIX}/lib/dri (or LIBGL_DRIVERS_PATH).

Vulkan drivers in mesa-dri lack headers and only expose ICD symbols
for vulkan-loader which uses dlopen(3) to find the drivers via
${PREFIX}/share/vulkan/icd.d/*.json (or VK_ICD_FILENAMES).

Approved by:	manu (on dev-commits-ports-main@ list)
Thu, 8 Dec 2022
[ 19:00 Emmanuel Vadot (manu) search for other commits by this committer ]    commit hash:fc5168cd3d8df1d18fa86b8a1b550efeae0b8c49  commit hash:fc5168cd3d8df1d18fa86b8a1b550efeae0b8c49  commit hash:fc5168cd3d8df1d18fa86b8a1b550efeae0b8c49  fc5168c 
graphics/mesa: Stop adding libglapi.so as a deps when not needed

Not every mesa port needs this lib so stop adding a dep on it if not needed.

Sponsored by:	Beckhoff Automation GmbH & Co. KG
[ 19:00 Emmanuel Vadot (manu) search for other commits by this committer ]    commit hash:799245580a718022ce7bb96012a2720ede33a8ae  commit hash:799245580a718022ce7bb96012a2720ede33a8ae  commit hash:799245580a718022ce7bb96012a2720ede33a8ae  7992455 
graphics/mesa: Do not add USE_LDCONFIG for every mesa ports

Not every mesa ports provides shared libraries intented for dynamic uses
so stop running ldconfig script for those ports.

Sponsored by:	Beckhoff Automation GmbH & Co. KG
[ 19:00 Emmanuel Vadot (manu) search for other commits by this committer ]    commit hash:e70ff172c20525bf5ec27c7b904a8e2760947add  commit hash:e70ff172c20525bf5ec27c7b904a8e2760947add  commit hash:e70ff172c20525bf5ec27c7b904a8e2760947add  e70ff17 
graphics/mesa*: Stop using meson native-file

Use BINARY_ALIAS instead, this is cleaner.
While here directly record the deps on libLLVM for packages that
needs it.

Sponsored by:	Beckhoff Automation GmbH & Co. KG
Mon, 5 Dec 2022
[ 14:03 Emmanuel Vadot (manu) search for other commits by this committer ]    commit hash:855947ebf7e738232a8bbf6d47cc56f2896f276f  commit hash:855947ebf7e738232a8bbf6d47cc56f2896f276f  commit hash:855947ebf7e738232a8bbf6d47cc56f2896f276f  855947e  (Only the first 10 of 21 ports in this commit are shown above. View all ports for this commit)
graphics/mesa: Update to 22.3

Release notes:
https://lists.freedesktop.org/archives/mesa-announce/2022-November/000695.html
On top of the release notes it seems that Gallium XVMC is also removed, see
https://gitlab.freedesktop.org/mesa/mesa/-/commit/8cc766d8f7eac26b7c029a2fac1bdfdba4776c29
for
more info.
Bump LLVM_DEFAULT to llvm15 so LTO works.
Also update libclc to track the one from llvm15.

Sponsored by:	Beckhoff Automation GmbH & Co. KG
Differential Revision:	https://reviews.freebsd.org/D37580
Wed, 19 Oct 2022
[ 13:30 Emmanuel Vadot (manu) search for other commits by this committer ]    commit hash:23e4dce35c4a5666968d40a38ef569a210a7bede  commit hash:23e4dce35c4a5666968d40a38ef569a210a7bede  commit hash:23e4dce35c4a5666968d40a38ef569a210a7bede  23e4dce  (Only the first 10 of 13 ports in this commit are shown above. View all ports for this commit)
graphics/mesa: Update to 22.2.1

This removes the old dri drivers.
While here add zink (OpenGL over Vulkan).

Release notes:
https://lists.freedesktop.org/archives/mesa-announce/2022-March/000665.html
Release notes:
https://lists.freedesktop.org/archives/mesa-announce/2022-March/000667.html
Release notes:
https://lists.freedesktop.org/archives/mesa-announce/2022-April/000670.html
Release notes:
https://lists.freedesktop.org/archives/mesa-announce/2022-May/000673.html
Release notes:
https://lists.freedesktop.org/archives/mesa-announce/2022-May/000675.html
Release notes:
https://lists.freedesktop.org/archives/mesa-announce/2022-June/000678.html
Release notes:
https://lists.freedesktop.org/archives/mesa-announce/2022-June/000681.html
Release notes:
https://lists.freedesktop.org/archives/mesa-announce/2022-June/000682.html
Release notes:
https://lists.freedesktop.org/archives/mesa-announce/2022-August/000683.html
Release notes:
https://lists.freedesktop.org/archives/mesa-announce/2022-August/000685.html
Release notes:
https://lists.freedesktop.org/archives/mesa-announce/2022-September/000687.html
Release notes:
https://lists.freedesktop.org/archives/mesa-announce/2022-October/000688.html

Differential Revision:	https://reviews.freebsd.org/D37003
Sponsored by:	Beckhoff Automation GmbH & Co. KG
Wed, 7 Sep 2022
[ 21:10 Stefan Eßer (se) search for other commits by this committer ]    commit hash:b7f05445c00f2625aa19b4154ebcbce5ed2daa52  commit hash:b7f05445c00f2625aa19b4154ebcbce5ed2daa52  commit hash:b7f05445c00f2625aa19b4154ebcbce5ed2daa52  b7f0544  (Only the first 10 of 27931 ports in this commit are shown above. View all ports for this commit)
Add WWW entries to port Makefiles

It has been common practice to have one or more URLs at the end of the
ports' pkg-descr files, one per line and prefixed with "WWW:". These
URLs should point at a project website or other relevant resources.

Access to these URLs required processing of the pkg-descr files, and
they have often become stale over time. If more than one such URL was
present in a pkg-descr file, only the first one was tarnsfered into
the port INDEX, but for many ports only the last line did contain the
port specific URL to further information.

There have been several proposals to make a project URL available as
a macro in the ports' Makefiles, over time.
(Only the first 15 lines of the commit message are shown above View all of this commit message)
Wed, 20 Jul 2022
[ 14:22 Tobias C. Berner (tcberner) search for other commits by this committer ]    commit hash:022e658bd10b8753ede87b3dfda087efabddac98  commit hash:022e658bd10b8753ede87b3dfda087efabddac98  commit hash:022e658bd10b8753ede87b3dfda087efabddac98  022e658  (Only the first 10 of 771 ports in this commit are shown above. View all ports for this commit)
graphics: remove 'Created by' lines

A big Thank You to the original contributors of these ports:

  *  "Waitman Gobble" <uzimac@da3m0n8t3r.com>
  *  Aaron Dalton <aaron@FreeBSD.org>
  *  Abel Chow <ozsanh45vds001@sneakemail.com>
  *  Adam Weinberger <adamw@FreeBSD.org>
  *  Ade Lovett <ade@FreeBSD.org>
  *  Ade Lovett <ade@lovett.com>
  *  Akinori MUSHA aka knu <knu@idaemons.org>
  *  Aldis Berjoza <aldis@bsdroot.lv>
  *  Alex Hayward <xelah@xelah.com>
  *  Alex Ivasyuv <siegerstein@pochta.ru>
  *  Alex Samorukov <samm@os2.kiev.ua>
(Only the first 15 lines of the commit message are shown above View all of this commit message)
Mon, 28 Feb 2022
[ 08:53 Emmanuel Vadot (manu) search for other commits by this committer ]    commit hash:4ddf9ef51bfdbe55613a0f249d390094a3369177  commit hash:4ddf9ef51bfdbe55613a0f249d390094a3369177  commit hash:4ddf9ef51bfdbe55613a0f249d390094a3369177  4ddf9ef 
graphics/mesa*: Update to 21.3.7

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
Tue, 18 Jan 2022
[ 09:39 Emmanuel Vadot (manu) search for other commits by this committer ]    commit hash:e9669c2a0b41e5b3506300c241f4c2e6f6f8f739  commit hash:e9669c2a0b41e5b3506300c241f4c2e6f6f8f739  commit hash:e9669c2a0b41e5b3506300c241f4c2e6f6f8f739  e9669c2 
graphics/mesa: Update to 21.3.4

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
Fri, 19 Nov 2021
[ 10:07 Emmanuel Vadot (manu) search for other commits by this committer Author: Robert Clausecker ]    commit hash:bf9fa9f3f9e89398aa139206c44f628f50572338  commit hash:bf9fa9f3f9e89398aa139206c44f628f50572338  commit hash:bf9fa9f3f9e89398aa139206c44f628f50572338  bf9fa9f 
graphics/mesa-dri: build on riscv64

PR:	259159
Wed, 21 Jul 2021
[ 11:21 Piotr Kubaj (pkubaj) search for other commits by this committer ]    commit hash:588ce0d6f952d06fab4406f2f58b99a33d321660  commit hash:588ce0d6f952d06fab4406f2f58b99a33d321660  commit hash:588ce0d6f952d06fab4406f2f58b99a33d321660  588ce0d 
graphics/mesa-dri: fix build on powerpc64le

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(
                  ^
(Only the first 15 lines of the commit message are shown above View all of this commit message)
Tue, 20 Jul 2021
[ 07:36 Emmanuel Vadot (manu) search for other commits by this committer ]    commit hash:22a85734ff71983126a94a1970c534a45a9e730e  commit hash:22a85734ff71983126a94a1970c534a45a9e730e  commit hash:22a85734ff71983126a94a1970c534a45a9e730e  22a8573  (Only the first 10 of 25 ports in this commit are shown above. View all ports for this commit)
mesa*: Update to 21.1.5

- 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
Tue, 22 Jun 2021
[ 18:53 Kevin Bowling (kbowling) search for other commits by this committer ]    commit hash:da3162c7c9f01912ba1940e188b253f2b5c7ba77  commit hash:da3162c7c9f01912ba1940e188b253f2b5c7ba77  commit hash:da3162c7c9f01912ba1940e188b253f2b5c7ba77  da3162c  (Only the first 10 of 914 ports in this commit are shown above. View all ports for this commit)
graphics/mesa-libs: Bump reverse deps for libglvnd

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
Wed, 16 Jun 2021
[ 20:33 Piotr Kubaj (pkubaj) search for other commits by this committer ]    commit hash:b2c4a0ef4b6cf846746653dcea02089c22e0956f  commit hash:b2c4a0ef4b6cf846746653dcea02089c22e0956f  commit hash:b2c4a0ef4b6cf846746653dcea02089c22e0956f  b2c4a0e 
graphics/mesa-dri: fix build on riscv64

Submitted by:	linimon
PR:	256138
Tue, 6 Apr 2021
[ 14:31 Mathieu Arnold (mat) search for other commits by this committer ]    commit hash:305f148f482daf30dcf728039d03d019f88344eb  commit hash:305f148f482daf30dcf728039d03d019f88344eb  commit hash:305f148f482daf30dcf728039d03d019f88344eb  305f148  (Only the first 10 of 29333 ports in this commit are shown above. View all ports for this commit)
Remove # $FreeBSD$ from Makefiles.
Thu, 24 Dec 2020
[ 04:22 jbeich search for other commits by this committer ] Original commit   Revision:559047
graphics/mesa-dri: exclude buffer age on iris under kwin

Freeze in OpenGL initialization detected

PR:		251836
Reported by:	Roman, Oleg Nauman, arrowd, Oleksandr Kryvulia
Tested by:	arrowd, Roman
Approved by:	manu
Thu, 3 Dec 2020
[ 20:55 manu search for other commits by this committer ] Original commit   Revision:556929 (Only the first 10 of 12 ports in this commit are shown above. View all ports for this commit)
 mesa-*: Update to 20.2.3

 - 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
Fri, 27 Nov 2020
[ 00:23 pkubaj search for other commits by this committer ] Original commit   Revision:556423
graphics/mesa-dri: make powerpc64 use LLVM10

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.
Tue, 13 Oct 2020
[ 11:53 manu search for other commits by this committer ] Original commit   Revision:552236
graphics/mesa*: Add Iris Gallium driver and libunwind for more arch

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
Mon, 12 Oct 2020
[ 08:30 manu search for other commits by this committer ] Original commit   Revision:552109 (Only the first 10 of 58 ports in this commit are shown above. View all ports for this commit)
graphics/mesa*: Update to 20.2

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
Thu, 17 Sep 2020
[ 09:22 manu search for other commits by this committer ] Original commit   Revision:548829
mesa*: Only add x11 dependancy if it's requested

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
Fri, 10 Jul 2020
[ 11:54 pkubaj search for other commits by this committer ] Original commit   Revision:541859
graphics/mesa-dri: switch powerpc64 to llvmpipe

powerpc* is left in .elif block for powerpc and powerpcspe which I didn't test.
Fri, 3 Jul 2020
[ 17:13 manu search for other commits by this committer ] Original commit   Revision:541124
mesa-dri: Use gallium SWRAST on x86 and aarch64

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)
Tue, 16 Jun 2020
[ 15:38 zeising search for other commits by this committer ] Original commit   Revision:539358
graphics/mesa: Fix minor issues from meson switch

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
Fri, 12 Jun 2020
[ 08:03 manu search for other commits by this committer ] Original commit   Revision:538575
mesa-dri: Bump PORTREVISION after 538573

Approved by:	zeising (x11@ implicit)
Thu, 11 Jun 2020
[ 14:22 manu search for other commits by this committer ] Original commit   Revision:538491
mesa-dri: Switch back to the dri swrast drivers

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)
Wed, 10 Jun 2020
[ 20:12 manu search for other commits by this committer ] Original commit   Revision:538438
mesa-dri: Fix build when PLATFORM_X11 isn't set

Approved by:	zeising (x11@ implicit)
Tue, 9 Jun 2020
[ 19:56 zeising search for other commits by this committer ] Original commit   Revision:538339
mesa: Fix build empty DRI_DRIVER

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
[ 12:46 manu search for other commits by this committer ] Original commit   Revision:538313
mesa-dri: Bump PORTREVISION

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)
Mon, 8 Jun 2020
[ 10:49 manu search for other commits by this committer ] Original commit   Revision:538209
mesa-dri: Add wayland to -Dplatform if option is selected

PR:		247056
Approved by:	zeising (x11@ implicit)
Sat, 6 Jun 2020
[ 09:23 manu search for other commits by this committer ] Original commit   Revision:538079
 mesa*: Add platforms option

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)
Fri, 5 Jun 2020
[ 18:49 manu search for other commits by this committer ] Original commit   Revision:538046
mesa-dri: Disable some arm drivers

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
[ 18:44 manu search for other commits by this committer ] Original commit   Revision:538045
mesa*: Use lld from devel/binutils if /usr/bin/ld isn't lld

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)
[ 09:13 manu search for other commits by this committer ] Original commit   Revision:537998 (Only the first 10 of 22 ports in this commit are shown above. View all ports for this commit)
mesa*: Switch to meson

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
Sun, 3 May 2020
[ 16:15 zeising search for other commits by this committer ] Original commit   Revision:533793
graphics/mesa: Update to 19.0.8

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
Mon, 16 Mar 2020
[ 19:57 pkubaj search for other commits by this committer ] Original commit   Revision:528541
graphics/mesa-dri: switch to llvm90 on powerpc64

It fixes some graphic crashes.
Sat, 15 Feb 2020
[ 20:49 zeising search for other commits by this committer ] Original commit   Revision:526241
Enable AMD drivers on arm64

Submitted by:	andrew
Differential Revision:	https://reviews.freebsd.org/D23439
Wed, 6 Nov 2019
[ 17:58 zeising search for other commits by this committer ] Original commit   Revision:516911 (Only the first 10 of 13 ports in this commit are shown above. View all ports for this commit)
Update xorgproto, libX11 and libXvMC

Update x11/xorgproto to 2019.2 [0]
Disable all legacy headers, they are no longer needed, since they only
detail deprecated protocol features.

Update x11/libX11 to 1.6.9
This is a minor update, mostly containing fixes to work with updated
x11/xorgproto.

Update x11/libXvMC to  1.0.12 [1]
This is a minor update, mostly containing fixes to work with updated
x11/xorgproto.

Patch mesa prts to explicitly link against -lXv, previously this was pulled
in by x11/libXvMC, but with changes to libXvMC .pc file, this is no longer
true.
Bump portrevision for mesa-dri because of this.

Thanks fo antoine for the exp-run!

PR:		241314 (exp-run) [0], 240801 [1]
Submitted by:	pete@nomadlogic.org [1]
Wed, 30 Oct 2019
[ 19:07 zeising search for other commits by this committer ] Original commit   Revision:516100
graphics/mesa: Add -D_GNU_SOURCE to compile flags

Add -D_GNU_SOURCE to compile flags when building on FreeBSD.  This is needed
to have mesa work with various locales, that for instance use , instead of .
as a decmal separator.

Bump portrevision on all mesa related ports.

PR:		241506
Reported by:	Jesper Schmitz Mouridsen
MFH:		2019Q4
Fri, 4 Oct 2019
[ 20:08 jbeich search for other commits by this committer ] Original commit   Revision:513776 (Only the first 10 of 11 ports in this commit are shown above. View all ports for this commit)
graphics/mesa-dri: revert r512573 and limit to llvm80 after r512440

Mesa 18.3 doesn't support LLVM 9. While some fixes were backported
there're probably more issues. Apparently, Gnome shows black screen.
As the port is unlikely to be ready for future LLVM_DEFAULT bumps
without a version update just limit to previously tested value.

PR:		239682
Requested by:	imp
Sun, 22 Sep 2019
[ 10:21 jbeich search for other commits by this committer ] Original commit   Revision:512573
graphics/mesa-dri: fix rendering glitches on AMD GPUs after r512440

PR:		240722
Reported by:	rozhuk.im@gmail.com, freebsdbugs@urisc.net
Tested by:	rozhuk.im@gmail.com, freebsdbugs@urisc.net
Obtained from:	upstream
Approved by:	portmgr blanket
Fri, 20 Sep 2019
[ 19:58 jbeich search for other commits by this committer ] Original commit   Revision:512440 (Only the first 10 of 44 ports in this commit are shown above. View all ports for this commit)
Switch default devel/llvm* to 90

PR:		239682
Reviewed by:	tobik
Differential Revision:	https://reviews.freebsd.org/D21172
Fri, 26 Jul 2019
[ 20:46 gerald search for other commits by this committer ] Original commit   Revision:507372 (Only the first 10 of 3853 ports in this commit are shown above. View all ports for this commit)
Bump PORTREVISION for ports depending on the canonical version of GCC
as defined in Mk/bsd.default-versions.mk which has moved from GCC 8.3
to GCC 9.1 under most circumstances now after revision 507371.

This includes ports
 - with USE_GCC=yes or USE_GCC=any,
 - with USES=fortran,
 - using Mk/bsd.octave.mk which in turn features USES=fortran, and
 - with USES=compiler specifying openmp, nestedfct, c11, c++0x, c++11-lang,
   c++11-lib, c++14-lang, c++17-lang, or gcc-c++11-lib
plus, everything INDEX-11 shows with a dependency on lang/gcc9 now.

PR:		238330
Sun, 30 Jun 2019
[ 14:56 zeising search for other commits by this committer ] Original commit   Revision:505425 (Only the first 10 of 11 ports in this commit are shown above. View all ports for this commit)
Switch mesa and related ports to llvm80

Switch mesa over to use llvm80 instead of llvm60.  Make it use the
global LLVM_DEFAULT instead of deciding for ourself which llvm version
to use. [1]

Fix build of lang/beginet [1]

Add patch from upstream to fix build of devel/libclc.  The patch is taken
from the git mirror of devel/libclc rather than the SVN repo, for
convenience.

Add a patch from mesa upstream preventing certain error messages when using
amdgpu [2]
(Only the first 15 lines of the commit message are shown above View all of this commit message)
Mon, 4 Mar 2019
[ 10:56 jbeich search for other commits by this committer ] Original commit   Revision:494583
graphics/mesa-dri: back out r494579

Landed by mistake. x11@ is immune to maintainer timeout nowadays.

PR:		230789
[ 10:42 jbeich search for other commits by this committer ] Original commit   Revision:494579
graphics/mesa-dri: switch to llvm70

PR:		230789
Approved by:	maintainer timeout (2 weeks)
Thu, 17 Jan 2019
[ 15:34 jbeich search for other commits by this committer ] Original commit   Revision:490569 (Only the first 10 of 14 ports in this commit are shown above. View all ports for this commit)
graphics/mesa-{libs,dri}: update to 18.2.8

- TEXTURE option is always enabled per
  https://cgit.freedesktop.org/mesa/mesa/commit/?id=66673bef941a

Changes:	https://www.mesa3d.org/relnotes/18.2.0.html
Changes:	https://www.mesa3d.org/relnotes/18.2.1.html
Changes:	https://www.mesa3d.org/relnotes/18.2.2.html
Changes:	https://www.mesa3d.org/relnotes/18.2.3.html
Changes:	https://www.mesa3d.org/relnotes/18.2.4.html
Changes:	https://www.mesa3d.org/relnotes/18.2.5.html
Changes:	https://www.mesa3d.org/relnotes/18.2.6.html
Changes:	https://www.mesa3d.org/relnotes/18.2.7.html
Changes:	https://www.mesa3d.org/relnotes/18.2.8.html
PR:		230298
Tested by:	Samy Mahmoudi, Kevin Oberman
Approved by:	maintainer timeout (2 weeks after 2019Q1)
Differential Revision:	https://reviews.freebsd.org/D16571
Wed, 12 Dec 2018
[ 01:35 gerald search for other commits by this committer ] Original commit   Revision:487272 (Only the first 10 of 3168 ports in this commit are shown above. View all ports for this commit)
Bump PORTREVISION for ports depending on the canonical version of GCC
defined via Mk/bsd.default-versions.mk which has moved from GCC 7.4 t
GCC 8.2 under most circumstances.

This includes ports
 - with USE_GCC=yes or USE_GCC=any,
 - with USES=fortran,
 - using Mk/bsd.octave.mk which in turn features USES=fortran, and
 - with USES=compiler specifying openmp, nestedfct, c11, c++0x, c++11-lang,
   c++11-lib, c++14-lang, c++17-lang, or gcc-c++11-lib
plus, as a double check, everything INDEX-11 showed depending on lang/gcc7.

PR:		231590
Sun, 11 Nov 2018
[ 23:54 jbeich search for other commits by this committer ] Original commit   Revision:484788 (Only the first 10 of 20 ports in this commit are shown above. View all ports for this commit)
graphics/mesa-libs: enable WAYLAND by default here and in consumers

PR:		227509
Requested by:	Johannes Lundberg, Greg V
Reviewed by:	tobik (earlier version)
Approved by:	madpilot, x11 (zeising), maintainer timeout (2 weeks)
Exp-run by:	antoine
Sun, 28 Oct 2018
[ 05:04 jbeich search for other commits by this committer ] Original commit   Revision:483225
graphics/mesa-dri: unbreak GCC build after r438198

configure: error: --enable-llvm is required when building r300

PR:		231329
Approved by:	maintainer timeout (1 month)
Sat, 20 Oct 2018
[ 21:39 jbeich search for other commits by this committer ] Original commit   Revision:482625
graphics/mesa-dri: don't forbid WAYLAND on non-x86

At least aarch64, armv6, armv7 couldn't set OPTIONS_SET+=WAYLAND via make.conf
(see also bug 227509) despite Wayland itself not having such a limitation.

=>> Ignoring graphics/mesa-dri: option WAYLAND is only valid on platforms with
Vulkan

PR:		221540
Pointy hat to:	jbeich (regressed by r482192)
Tue, 16 Oct 2018
[ 00:00 jbeich search for other commits by this committer ] Original commit   Revision:482192
graphics/mesa-dri: add WAYLAND option for Vulkan drivers

PR:		221540
Submitted by:	Greg V
Approved by:	maintainer timeout (9 months timeout), zeising (earlier version)
Sat, 29 Sep 2018
[ 18:52 zeising search for other commits by this committer ] Original commit   Revision:480911
graphics/mesa: Update to 18.1.9
Thu, 20 Sep 2018
[ 18:49 emaste search for other commits by this committer ] Original commit   Revision:480189
graphics/mesa-drivers: add -znotext to LDFLAGS on i386, for lld

This port links some non-PIC code, which fails with lld as it defaults
to disallowing relocations against read-only segments.  For i386 we can
just add -znotext unconditionally: for GNU BFD ld it just affirms BFD's
existing default.

PR:		214864
Approved by:	portmgr (lld blanket)
Sponsored by:	The FreeBSD Foundation
Tue, 11 Sep 2018
[ 18:34 zeising search for other commits by this committer ] Original commit   Revision:479538 (Only the first 10 of 331 ports in this commit are shown above. View all ports for this commit)
Change x11/xorgproto to become a build dep

Change x11/xorgproto to become a build time dependency when added to
USE_XORG.  Change the dependency to be on the port, rather than a file the
port installs.
Fix fallout.
Bump portrevision on depending ports.

PR:		230909
Reviewed by:	eadler
Approved by:	portmgr (antoine)
Obtained
from:	https://github.com/FreeBSDDesktop/freebsd-ports/tree/feature/xorgproto
exp-run:	antoine
Differential Revision:	https://reviews.freebsd.org/D16906
Fri, 3 Aug 2018
[ 19:24 zeising search for other commits by this committer ] Original commit   Revision:476319
graphics/mesa: Update to 18.1.5

Obtained
from:	https://github.com/FreeBSDDesktop/freebsd-ports/tree/feature/mesa-18.1
MFC after:	2018Q3
Tue, 31 Jul 2018
[ 18:41 zeising search for other commits by this committer ] Original commit   Revision:476013 (Only the first 10 of 254 ports in this commit are shown above. View all ports for this commit)
Switch to xorgproto instead of individual packages

Upstream used to distribute protocol headers as separate packages, but has
decided to merge those to a common package, named xorgproto.  This update
tracks that change.

* Add a new port, x11/xorgproto, with are protocol headers for xorg.
* Hook the new protocol port to the build and to infrastructure in
  bsd.xorg.mk.
* Update all ports with a dependency on any of the old *proto packages to
  instead depend on xorgproto.  Bump portrevision.
* Delete the old *proto packages, update MOVED.

PR:		230023
Submitted by:	zeising
Approved by:	portmgr (antoine)
exp-run by:	antoine
Sun, 29 Jul 2018
[ 22:18 gerald search for other commits by this committer ] Original commit   Revision:475857 (Only the first 10 of 1480 ports in this commit are shown above. View all ports for this commit)
Bump PORTREVISION for ports depending on the canonical version of GCC
in the ports tree (via Mk/bsd.default-versions.mk and lang/gcc) which
has now moved from GCC 6 to GCC 7 by default.

This includes ports
 - featuring USE_GCC=yes or USE_GCC=any,
 - featuring USES=fortran,
 - using Mk/bsd.octave.mk which in turn features USES=fortran, and those
 - with USES=compiler specifying one of openmp, nestedfct, c11, c++0x,
   c++11-lib, c++11-lang, c++14-lang, c++17-lang, or gcc-c++11-lib.

PR:		222542
Sat, 28 Apr 2018
[ 20:56 jbeich search for other commits by this committer ] Original commit   Revision:468593
graphics/mesa-{libs,dri}: update to 18.0.2

Changes:	https://www.mesa3d.org/relnotes/18.0.2.html
PR:		225415
Fri, 27 Apr 2018
[ 23:10 jbeich search for other commits by this committer ] Original commit   Revision:468501
graphics/mesa-dri: switch to llvm60

PR:		227682
Tue, 10 Apr 2018
[ 00:15 jbeich search for other commits by this committer ] Original commit   Revision:466926 (Only the first 10 of 18 ports in this commit are shown above. View all ports for this commit)
graphics/mesa-{libs,dri}: update to 18.0.0

Changes:	https://www.mesa3d.org/relnotes/18.0.0.html
PR:		225415
Tested by:	Greg V, cpm, Kevin Oberman, Juan Ramon Molina Menor
Reviewed by:	Greg V (Wayland, Vulkan), jkim (umtx)
Approved by:	maintainer timeout (2 weeks)
[ 00:14 jbeich search for other commits by this committer ] Original commit   Revision:466925
graphics/mesa-{libs,dri}: update to 17.3.8

Changes:	https://www.mesa3d.org/relnotes/17.3.2.html
Changes:	https://www.mesa3d.org/relnotes/17.3.3.html
Changes:	https://www.mesa3d.org/relnotes/17.3.4.html
Changes:	https://www.mesa3d.org/relnotes/17.3.5.html
Changes:	https://www.mesa3d.org/relnotes/17.3.6.html
Changes:	https://www.mesa3d.org/relnotes/17.3.7.html
Changes:	https://www.mesa3d.org/relnotes/17.3.8.html
PR:		225035
Tested by:	Oleh Hushchenkov, Kevin Oberman
Approved by:	maintainer timeout (3 months, cookie licking)
MFH:		2018Q2 (mostly regression fixes)
[ 00:14 jbeich search for other commits by this committer ] Original commit   Revision:466924
graphics/mesa-dri: fix device name detection for Wayland/EGL

PR:		223030
Submitted by:	Greg V
Obtained from:	upstream (Mesa 18.0.0)
Approved by:	maintainer timeout (4 months)
[ 00:14 jbeich search for other commits by this committer ] Original commit   Revision:466923
graphics/mesa-dri: always lower kernel version check

Sandybridge on FreeBSD 11.* is also affected:

$ glxgears
[intel_init_bufmgr: 1685] Kernel 3.9 required.
libGL error: failed to create dri screen
libGL error: failed to load driver: i965
5373 frames in 5.0 seconds = 1074.496 FPS

Reported by:	Kevin Oberman
PR:		225035 225415
Mon, 1 Jan 2018
[ 20:25 jbeich search for other commits by this committer ] Original commit   Revision:457797
gecko, mesa-dri: shave unnecessary quoting for absolute path to LLD

Left side already unquoted and Mk/bsd.port.mk didn't quote.
Sat, 30 Dec 2017
[ 08:51 jbeich search for other commits by this committer ] Original commit   Revision:457591
graphics/mesa-dri: unbreak on powerpc* + clang after r457430

python2.7 ./radv_entrypoints_gen.py \
        --xml ../../../src/vulkan/registry/vk.xml --outdir .
Traceback (most recent call last):
  File "./radv_entrypoints_gen.py", line 30, in <module>
    from mako.template import Template
ImportError: No module named mako.template

PR:		221540
Reported by:	Mark Millard (via ports@ list)
Approved by:	portmgr blanket
Wed, 27 Dec 2017
[ 22:53 jbeich search for other commits by this committer ] Original commit   Revision:457430
graphics/mesa-dri: enable Vulkan drivers

PR:		221540
Tested by:	Greg V
Approved by:	x11 (zeising)
Mon, 25 Dec 2017
[ 23:30 rezny search for other commits by this committer ] Original commit   Revision:457264 (Only the first 10 of 13 ports in this commit are shown above. View all ports for this commit)
Update the Mesa ports to 17.3.1 and switch to LLVM5 by default

Correct dependencies: remove the cruft added to mesa-dri in the previous
commit (those are mesa-libs deps), add a RUN_DEPENDS for libclc to clover

Clean up patches, remove one stale patch
Sun, 17 Dec 2017
[ 13:07 zeising search for other commits by this committer ] Original commit   Revision:456530
Update mesa ports to 17.3.0

Add missing dependencies on xcb and xxf86vm.

Changelog for mesa: https://www.mesa3d.org/relnotes/17.3.0.html

PR:		223195
Submitted by:	jbeich
Tested by:	Greg V, cpm
Tue, 12 Dec 2017
[ 21:29 madpilot search for other commits by this committer ] Original commit   Revision:456184 (Only the first 10 of 38 ports in this commit are shown above. View all ports for this commit)
- Update libva to 2.0.0
- Update libva-intel-driver to 2.0.0
- Update libva-utils to 2.0.0
- Bump dependent ports due to shlib bump
- Import upstream patch to fix multimedia/mpv [1]
- Import upstream patch to fix multimedia/gstreamer1-vaapi [2]

Approved by:	cpm [1], multimedia (timeout) [2]
Obtained
from:	https://github.com/mpv-player/mpv/commit/2ecf240b1cd20875991a5b18efafbe799864ff7f
[1]
		https://cgit.freedesktop.org/gstreamer/gstreamer-vaapi/commit/gst-libs/gst/vaapi/gstvaapiutils.c?id=777bba473e3ed1c7b8b7f7f0322892851c70dfd9
[2]
Differential Revision:	https://reviews.freebsd.org/D12761
Tue, 10 Oct 2017
[ 21:31 linimon search for other commits by this committer ] Original commit   Revision:451721 (Only the first 10 of 44 ports in this commit are shown above. View all ports for this commit)
For ports that are explicitly enabled on armv6, also enable them
on armv7.  This has not been tested with an -exp run but should
"do no harm".

PR:		221894 (partial)
Sun, 18 Jun 2017
[ 14:02 rezny search for other commits by this committer ] Original commit   Revision:443828
Update the Mesa ports to 17.1.2

- patch the Intel driver to re-enable hardware acceleration on 10.x [1]

Reported by:	cpm [1]
Approved by:	swills (mentor)
Differential Revision:	https://reviews.freebsd.org/D11148
Tue, 6 Jun 2017
[ 05:09 rezny search for other commits by this committer ] Original commit   Revision:442741
Update the Mesa ports to 17.1.1

- fix build on aarch64 by limiting the vc4 neon patch to armv6 [1]

PR:		219441 [1]
Submitted by:	strejda [1]
Reported by:	jbeich [1]
Reviewed by:	kwm
Approved by:	swills (mentor)
Differential Revision:	https://reviews.freebsd.org/D11066
Sun, 21 May 2017
[ 19:30 rezny search for other commits by this committer ] Original commit   Revision:441424 (Only the first 10 of 20 ports in this commit are shown above. View all ports for this commit)
Update the Mesa ports to 17.1.0

* restrict use of LLVM for Gallium to platforms with LLVM in base to fix
  runtime errors when Gallium is built with a mix of GCC and LLVM
* make LLVM only a BUILD_DEPEND for mesa-libs, which needs it to build EGL
* add pkg-plist entries for freedreno and vc4 drivers [1]
* remove extraneous SHEBANG_FILES entry to fix build of freedreno [2,3]
* correct typo in libosmesa, which may have affected the Gallium build [4]

PR:		219247 [1], 219406 [3]
Submitted by:	jbeich [1] (2 patches, pkg-plist fix), strejda (vc4 CFLAGS)
Reported by:	strejda [2], andrew [3], linimon [4]
Approved by:	swills (mentor)
Differential Revision:	https://reviews.freebsd.org/D10842
Fri, 12 May 2017
[ 18:46 rezny search for other commits by this committer ] Original commit   Revision:440699 (Only the first 10 of 52 ports in this commit are shown above. View all ports for this commit)
Consolidate the Mesa ports, update to 17.0.4, and add Wayland option

* libGL, libEGL, libglesv2, libglapi, and gbm have been moved into mesa-libs,
  graphics/dri has been renamed to mesa-dri, and USE_GL has been adjusted
* mesa-libs has a new WAYLAND option that enables platform support in libEGL
* mesa-dri now depends on graphics/s2tc for compressed texture support [1]
* re-remove obsolete dependency on makedepends [2]
* correct sed fix backported from 17.1 [3]

PR:		218799 (exp-run), 212762 [1], 218552 [2], 218562 [3]
Submitted by:	dbn [1], jbeich [2,3]
Reported by:	afiskon@devzen.ru [1]
Reviewed by:	kwm, johalun0@gmail.com
Approved by:	portmgr, swills (mentor)
Differential Revision:  https://reviews.freebsd.org/D10448

Number of commits found: 83