fastports

mesa-libs 24.1.7_1

graphics/mesa-libs

OpenGL libraries that support GLX and EGL clients

Category
graphics
Maintainer
x11@FreeBSD.org
WWW
https://www.mesa3d.org/
License
MIT
USES
llvm:noexport xorg compiler:c++11-lib bison meson pathfix pkgconfig python:build shebangfix tar:xz

Description

This package contains the Mesa OpenGL libraries for GLX and EGL clients.
These include libEGL, libGL, and libglesv2 as well as utlity libraries
libglapi and gbm.

Dependencies

Commit History

may be incomplete — full history at freebsd-ports on GitHub

Commit Credits Log message
f093abad37 files touched Jan Beich (jbeich)
graphics/mesa-libs: force rebuild on -CURRENT after 13d55b0eaa13
$ glxgears
Error: couldn't get an RGB, Double-buffered visual

$ glmark2-wayland
Error: eglGetDisplay() failed with error: 0x3000
Error: main: Could not initialize canvas

$ kmscube
MESA-LOADER: failed to open iris: /usr/local/lib/libglapi.so.0: Unsupported relocation type 36 in non-PLT relocations
 (search paths /usr/local/lib/dri, suffix _dri)
MESA-LOADER: failed to open kms_swrast: /usr/local/lib/libglapi.so.0: Unsupported relocation type 36 in non-PLT relocations
 (search paths /usr/local/lib/dri, suffix _dri)
MESA-LOADER: failed to open swrast: /usr/local/lib/libglapi.so.0: Unsupported relocation type 36 in non-PLT relocations
 (search paths /usr/local/lib/dri, suffix _dri)
failed to initialize GBM

PR:		282316
e313acaea3 files touched Emmanuel Vadot (manu)
graphics/mesa: Unbreak on !amd64
Disable intel-rt for all arches except amd64 as it's only supported there.

PR:		 280979
Sponsored by:	Beckhoff Automation GmbH & Co. KG
277dfdc8d5 files touched Emmanuel Vadot (manu)
graphics/mesa: Update to 24.1.5
Release notes:	https://lists.freedesktop.org/archives/mesa-dev/2024-May/226222.html
Release notes:	https://lists.freedesktop.org/archives/mesa-dev/2024-June/226223.html
Release notes:	https://lists.freedesktop.org/archives/mesa-dev/2024-June/226249.html
Release notes:	https://lists.freedesktop.org/archives/mesa-dev/2024-July/226272.html
Release notes:	https://lists.freedesktop.org/archives/mesa-dev/2024-July/226279.html
Release notes:	https://lists.freedesktop.org/archives/mesa-dev/2024-July/226289.html

Sponsored by:		Beckhoff Automation GmbH & Co. KG
Differential Revision:	https://reviews.freebsd.org/D46229
a26876a1e5 files touched Emmanuel Vadot (manu)
graphics/mesa: Fix X11 options
We need to disable xlib-lease otherwise meson will fail to configure the port

Differential Revision:	https://reviews.freebsd.org/D45744
Reviewed by:		bapt
Sponsored by:		Beckhoff Automation GmbH & Co. KG
aa6c9614c0 files touched Emmanuel Vadot (manu)
graphics/mesa: Simplify x11/wayland option
Simply use X11 for x11 support as it's done for all other ports.
Same for Wayland, just use WAYLAND.

While here always use xcb and xrandr for X11 support in mesa-dri as we
always build a vulkan driver (swrast).

Differential Revision:	https://reviews.freebsd.org/D45743
Reviewed by:		bapt
Sponsored by:		Beckhoff Automation GmbH & Co. KG
2007b26000 files touched Emmanuel Vadot (manu)
graphics/mesa: Remove Makefile.targets
This was only used to specify directory for drirc.d but the default one
works fine.

No functional changes intended.

Sponsored by:	Beckhoff Automation GmbH & Co. KG
c681251087 files touched Emmanuel Vadot (manu)
graphics/mesa: Update to 24.0.6
Release notes:	https://lists.freedesktop.org/archives/mesa-dev/2024-April/226190.html
Release notes:	https://lists.freedesktop.org/archives/mesa-dev/2024-April/226200.html

Differential Revision:	https://reviews.freebsd.org/D44941
Sponsored by:		Beckhoff Automation GmbH & Co. KG
171cdaf295 files touched Emmanuel Vadot (manu)
graphics/mesa-libs: Fix LIB_DEPENDS
Mesa itself does not depend on libOpenGL.so from libglvnd but it needs
libglvnd at build stage.
Also it doesn't not depend on libwayland-egl.so but on libwayland-server.so
and libwayland-client.so

Differential Revision:	https://reviews.freebsd.org/D44831
PR:			278324
Reported by:		autodep
Reviewed by:		bapt
Sponsored by:		Beckhoff Automation GmbH & Co. KG
602829a66e files touched Emmanuel Vadot (manu)
graphics/mesa-libs: Add USES=llvm,noexport
It was set in Makefile.common from mesa-dri before

Reported by:	jbeich
Fixes:		6e38f0a6247d ("graphics/mesa*: Drop llvm,noexport in Makefile.common")
Sponsored by:	Beckhoff Automation GmbH & Co. KG
29d855b6f7 files touched gnikl (gnikl)
graphics/mesa: update to 23.1.8
While here:
- Remove some unneeded dep in gallium-vdpau
- Disable libelf from devel/elfutils (we will fallback on base libelf), PR 273803
- Always disable libunwind, if you want stacktrace you will need to compile from
upstream PR: 250306
- enable vulkan haswell driver

Co-authored-by: manu, vishwin
PR: 273703, 273803, 250306
6fef4101da files touched sasamotikomi (sasamotikomi)
graphics/mesa-dri: enable i915g
This is still supported by Mesa for gen2/3 hw not covered by crocus.

PR:		269006
0ab18b0ed7 files touched Jan Beich (jbeich)
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
045971139f files touched Jan Beich (jbeich)
graphics/mesa-*: unbreak with --auto-features=enabled
meson.build:945:2: ERROR: Dependency "libclc" not found, tried pkgconfig

PR:		270361
bb76a96cf0 files touched Emmanuel Vadot (manu)
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
799245580a files touched Emmanuel Vadot (manu)
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
34810cf205 files touched Emmanuel Vadot (manu)
graphics/mesa-libs: Cleanup
- Specify license directly in this port.

Sponsored by:   Beckhoff Automation GmbH & Co. KG
e70ff172c2 files touched Emmanuel Vadot (manu)
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
855947ebf7 files touched Emmanuel Vadot (manu)
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
a06b620420 files touched Emmanuel Vadot (manu)
graphics/mesa-libs: fix check-plist
We need to build r300 dri driver but don't use it.

Sponsored by:	Beckhoff Automation GmbH & Co. KG
PR:	267205
23e4dce35c files touched Emmanuel Vadot (manu)
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
fb16dfecae files touched Stefan Eßer (se)
Remove WWW entries moved into port Makefiles
Commit b7f05445c00f has added WWW entries to port Makefiles based on
WWW: lines in pkg-descr files.

This commit removes the WWW: lines of moved-over URLs from these
pkg-descr files.

Approved by:		portmgr (tcberner)
b7f05445c0 files touched Stefan Eßer (se)
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.

This commit implements such a proposal and moves one of the WWW: entries
of each pkg-descr file into the respective port's Makefile. A heuristic
attempts to identify the most relevant URL in case there is more than
one WWW: entry in some pkg-descr file. URLs that are not moved into the
Makefile are prefixed with "See also:" instead of "WWW:" in the pkg-descr
files in order to preserve them.

There are 1256 ports that had no WWW: entries in pkg-descr files. These
ports will not be touched in this commit.

The portlint port has been adjusted to expect a WWW entry in each port
Makefile, and to flag any remaining "WWW:" lines in pkg-descr files as
deprecated.

Approved by:		portmgr (tcberner)
022e658bd1 files touched Tobias C. Berner (tcberner)
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>
  *  Alexander Gromnitsky
  *  Alexander Kojevnikov <alexander@kojevnikov.com>
  *  Alexander Logvinov <ports@logvinov.com>
  *  Alexander Nedotsukov <bland@FreeBSD.org>
  *  Alexander Nedotsukov <bland@mail.ru>
  *  Alexander Y. Grigoryev <alexander.4mail@gmail.com>
  *  Alexey Dokuchaev <danfe@FreeBSD.org>
  *  Alonso Cardenas Marquez <acm@FreeBSD.org>
  *  Anatoliy Dmytriyev <tolid@plab.ku.dk>
  *  Anatoly Borodin <anatoly.borodin@gmail.com>
  *  Anders Nordby <anders@fix.no>
  *  Andras Horvath <han@log69.com>
  *  Andreas Daehn <ad001@uni-rostock.de>
  *  Andrew Pantyukhin <infofarmer@FreeBSD.org>
  *  Andrey Slusar <anray@FreeBSD.org>
  *  Andrey Zakhvatov
  *  Anes Mukhametov <anes@anes.su>
  *  Anonymous <swell.k@gmail.com>
  *  Anton Berezin <tobez@FreeBSD.org>
  *  Antonio Carlos Venancio Junior (<antonio@inf.ufsc.br>)
  *  Arjan van Leeuwen <avleeuwen@piwebs.com>
  *  Ashish SHUKLA <ashish@FreeBSD.org>
  *  Bill Fumerola <billf@chc-chimes.com>
  *  Björn König <bkoenig@alpha-tierchen.de>
  *  Brad Hendrickse <bradh@iafrica.com>
  *  Bruce M Simpson <bms@FreeBSD.org>
  *  Carlos Eduardo G. Carvalho <cartola@openit.com.br>
  *  Charlie Kester <corky1951@comcast.net>
  *  Choe, Cheng-Dae
  *  Choe, Cheng-Dae <whitekid@gmail.com>
  *  Chris D. Faulhaber <jedgar@FreeBSD.org>
  *  Chris D. Faulhaber <jedgar@fxp.org>
  *  Chris Piazza <cpiazza@FreeBSD.org>
  *  Christopher Key <cjk32@cam.ac.uk>
  *  Chuck Robey <chuckr@FreeBSD.org>
  *  Corey Smith <corsmith@gmail.com>
  *  Dan Langille <dvl@FreeBSD.org>
  *  Daniel O'Connor <darius@dons.net.au>
  *  Daniel Roethlisberger <daniel@roe.ch>
  *  Danilo Egea Gondolfo <danilo@FreeBSD.org>
  *  Dave Cottlehuber <dch@skunkwerks.at>
  *  David Bremner <bremner@unb.ca>
  *  David Gilbert <dgilbert@velocet.ca>
  *  David Naylor <dbn@FreeBSD.org>
  *  David Yeske <dyeske@gmail.com>
  *  Denis Barov <dindin@dindin.ru>
  *  Denis Podolskiy <bytestore@yandex.ru>
  *  Dennis Herrmann <adox@mcx2.org>
  *  Devaux Fabien <fab@gcu.info>
  *  Dmitry Sivachenko <dima@Chg.RU>
  *  Dominik Brettnacher <domi@nonsensss.de>
  *  Donn Miller <dmmiller@cvzoom.net>
  *  Douglas Carmichael <dcarmich@mcs.com>
  *  Douglas K. Rand <rand@meridian-enviro.com>
  *  Edwin Groothuis <edwin@mavetju.org>
  *  Emanuel Haupt <ehaupt@FreeBSD.org>
  *  Emanuel Haupt <ehaupt@critical.ch>
  *  Emil J.V. Björsell (Jev)
  *  Emmanuel Vadot <manu@FreeBSD.org>
  *  Eric Anholt <anholt@FreeBSD.org>
  *  Eric Freeman <freebsdports@chillibear.com>
  *  Eric P. Scott <eps+pbug0703@ana.com>
  *  Erwin Lansing <erwin@FreeBSD.org>
  *  Eugene Mychlo <myc@barev.net>
  *  Fernan Aguero <fernan@iib.unsam.edu.ar>
  *  Franz Klammer <klammer@webonaut.com>
  *  FreeBSD GNOME Team <gnome@FreeBSD.org>
  *  G. Adam Stanislav <adam@whizkidtech.net>
  *  Garrett Wollman <wollman@lcs.mit.edu>
  *  Gea-Suan Lin <gslin@gslin.org>
  *  George Reid <greid@ukug.uk.freebsd.org>
  *  Gerrit Beine (<gerrit.beine@gmx.de>)
  *  Gerrit Beine (<tux@pinguru.net>)
  *  Glenn Johnson
  *  Greg Lewis <glewis@FreeBSD.org>
  *  Gustau Perez <gustau.perez@gmail.com>
  *  Gustau Pérez i Querol <gustau.perez@gmail.com>
  *  Gvozdikov Veniamin <g.veniamin@googlemail.com>
  *  Hernan Di Pietro <hernan.di.pietro@gmail.com>
  *  Hiroto Kagotani <hiroto.kagotani@gmail.com>
  *  Horia Racoviceanu <horia@racoviceanu.com>
  *  Hye-Shik Chang <perky@fallin.lv>
  *  Hye-Shik Chang <perky@python.or.kr>
  *  Igor Pokrovsky <ip@doom.homeunix.org>
  *  Igor Pokrovsky <tiamat@comset.net>
  *  James FitzGibbon <jfitz@FreeBSD.org>
  *  Jamie Hermans <jamie@hermans.ca>
  *  Jan Henrik Sylvester <me@janh.de>
  *  Janni
  *  Janos Mohacsi <janos.mohacsi@bsd.hu>
  *  Jason Helfman <jgh@FreeBSD.org>
  *  Jean-Marc Zucconi <jmz@FreeBSD.org>
  *  Jean-Sébastien Pédron <dumbbell@FreeBSD.org>
  *  Jean-Yves Lefort <jylefort@FreeBSD.org>
  *  Jean-Yves Lefort <jylefort@brutele.be>
  *  Jeff Molofee
  *  Jeremy Norris <ishmael127@home.com>
  *  Jeremy Norris <ishmael27@home.com>
  *  Joe Marcus Clarke <marcus@FreeBSD.org>
  *  Johannes Dieterich <jmd@FreeBSD.org>
  *  Johannes Jost Meixner <johannes@perceivon.net>
  *  Johannes Meixner <johannes@perceivon.net>
  *  John Hay
  *  John McAree <john@mcaree.org>
  *  John Prather
  *  John Reynolds <johnjen@reynoldsnet.org>
  *  Joris Dedieu <joris.dedieu@gmail.com>
  *  Jose Alonso Cardenas Marquez <acardenas@bsd.org.pe>
  *  Jose Jachuf <jjachuf@gmail.com>
  *  Joseph Koshy <koshy@india.hp.com>
  *  Juergen Unger <j.unger@choin.net>
  *  KANOU Hiroki <kanou@mil.allnet.ne.jp>
  *  KIRIYAMA Kazuhiko
  *  Kay Lehmann
  *  Kevin Golding <ports@caomhin.org>
  *  Kimura Fuyuki <fuyuki@hadaly.org>
  *  Koop Mast <kwm@FreeBSD.org>
  *  Kris Kennaway <kris@FreeBSD.org>
  *  Kris Moore <kmoore@FreeBSD.org>
  *  Kubilay Kocak <koobs@FreeBSD.org>
  *  Kurt Kanzenbach <kurt@kmk-computers.de>
  *  Kyle Martin <mkm@ieee.org>
  *  Laurent Courty
  *  Leonardo Martins <lmartins@nepe.eee.ufg.br>
  *  Lev Serebryakov <lev@FreeBSD.org>
  *  Malte Lance <malte.lance@gmx.net>
  *  Marc Fonvieille <blackend@FreeBSD.org>
  *  Mario Sergio Fujikawa Ferreira <lioux@FreeBSD.org>
  *  Mario Sergio Fujikawa Ferreira <lioux@FreeBSD.org> et al.
  *  Mark Atkinson <atkin901@gmail.com>
  *  Mark Murray <markm@FreeBSD.org>
  *  Mark Pulford <mark@kyne.com.au>
  *  Markus Brueffer <markus@FreeBSD.org>
  *  Martin Dieringer <martin.dieringe@gmx.de>
  *  Martin Dieringer <martin.dieringer@gmx.de>
  *  Martin Matuska <mm@FreeBSD.org>
  *  Martin Neubauer <m.ne@gmx.net>
  *  Martin Sugioarto <martin.sugioarto@udo.edu>
  *  Martin Tournoij <carpetsmoker@rwxrwxrwx.net>
  *  Martin Tournoij <carpetsmoker@xs4all.nl>
  *  Martin Wilke <miwi@FreeBSD.org>
  *  Mateusz Piotrowski <0mp@FreeBSD.org>
  *  Mathieu Arnold
  *  Matthew Luckie <mjl@luckie.org.nz>
  *  Matthew X. Economou <xenophon+fbsdports@irtnog.org>
  *  Matthias Fechner <mfechner@FreeBSD.org>
  *  Matthieu Volat <mazhe@alkumuna.eu>
  *  Maurice Castro <maurice@serc.rmit.edu.au>
  *  Maxim Sobolev <sobomax@FreeBSD.org>
  *  Michael Gmelin <freebsd@grem.de>
  *  Michael Johnson <ahze@FreeBSD.org>
  *  Michael Johnson <ahze@ahze.net>
  *  Michael Nottebrock <lofi@FreeBSD.org>
  *  Michael Reifenberger <mr@FreeBSD.org>
  *  Mike Krutov <neko@takino.org>
  *  Mikhail T. <mi@aldan.algebra.com>
  *  Mikhail Teterin <mi@aldan.algebra.com>
  *  Muhammad Moinur Rahman <5u623l20@gmail.com>
  *  NAKATA Maho <maho@FreeBSD.org>
  *  Naram Qashat <cyberbotx@cyberbotx.com>
  *  Nick Hilliard <nick@foobar.org>
  *  Nicola Vitale <nivit@FreeBSD.org>
  *  Nicola Vitale <nivit@email.it>
  *  Nikolay Korotkiy <sikmir@gmail.com>
  *  Norio Suzuki <nosuzuki@e-mail.ne.jp>
  *  Oliver Heesakkers <dev2@heesakkers.info>
  *  Oliver Lehmann <oliver@FreeBSD.org>
  *  Olivier Duchateau
  *  Paul Everlund
  *  Pav Lucistnik <pav@FreeBSD.org>
  *  Pedro F. Giffuni
  *  Pedro Garcia Freitas <sawp@sawp.com.br>
  *  Pedro Giffuni
  *  Pedro Giffuni <pfg@FreeBSD.org>
  *  Pete Fritchman <petef@FreeBSD.org>
  *  Pete Fritchman <petef@databits.net>
  *  Peter Ankerstal <peter@pean.org>
  *  Peter Jeremy <peterjeremy@optushome.com.au>
  *  Peter Schmiedeskamp <pschmied@qwest.net>
  *  Phil Phillips <pphillips@experts-exchange.com>
  *  Pietro Cerutti <gahr@FreeBSD.org>
  *  Pietro Cerutti <gahr@gahr.ch>
  *  Piotr Kubaj <pkubaj@anongoth.pl>
  *  Piotr Smyrak <smyru@heron.pl>
  *  Piotr Smyrak, piotr.smyrak@heron.pl
  *  Po-Chuan Hsieh <sunpoet@FreeBSD.org>
  *  Quentin Stievenart <acieroid@awesom.eu>
  *  R Joseph Wright <rjoseph@mammalia.org>
  *  Radim Kolar
  *  Rainer Hurling <rhurlin@gwdg.de>
  *  Randall Hopper
  *  Randall Hopper <aa8vb@ipass.net>
  *  Randall Hopper <aa8vb@nc.rr.com>
  *  Reinier de Blois <rddeblois@gmail.com>
  *  Richard Hwang <rhwang@bigpanda.com>, Mikhail Teterin <mi@aldan.algebra.com>, Jun-ichiro itojun Itoh <itojun@itojun.org>
  *  Rick Elrod <codeblock@eighthbit.net>
  *  Rob Farmer <rfarmer@predatorlabs.net>
  *  Rod Person <rodperson@rodperson.com>
  *  Roland Jesse <roland.jesse@gmx.net>
  *  Romain Tartiere <romain@FreeBSD.org>
  *  Ron van Daal
  *  Ronald Kuehn <rk@ronald.org>
  *  Rong-En Fan <rafan@infor.org>
  *  Rusmir Dusko <nemysis@FreeBSD.org>
  *  Rusty Nejdl <rnejdl@ringofsaturn.com>
  *  Ryan Melcer <rmelcer@iteris.com>
  *  Ryan Steinmetz <zi@FreeBSD.org>
  *  Sahil Tandon <sahil@FreeBSD.org>
  *  Sam Lawrance
  *  Satoshi Asami <asami@FreeBSD.org>
  *  Satoshi Taoka <taoka@FreeBSD.org>
  *  Seiichirou Hiraoka
  *  Serge Negodyuck <petr@petrovich.kiev.ua>
  *  Sergey A. Osokin <osa@FreeBSD.org>
  *  Sergey Skvortsov <skv@protey.ru>
  *  Sergey V. Dyatko <sergey.dyatko@gmail.com>
  *  Shane Ambler
  *  Shaun Amott <shaun@inerd.com>
  *  Shell Hung <shell@shellhung.org>
  *  Shigeyuki FUKUSHIMA <shige@FreeBSD.org>
  *  Simun Mikecin <numisemis@yahoo.com>
  *  Sofian Brabez <sbrabez@gmail.com>
  *  Stanislav Sedov <ssedov@mbsd.msk.ru>
  *  Stanislav Sedov <stas@FreeBSD.org>
  *  Stas Timokhin <devel@stasyan.com>
  *  Stas Timokhin <stast@bsdportal.ru>
  *  Stefan Walter <sw@gegenunendlich.de>
  *  Stephen Roome <steve@pepcross.com>
  *  Steve Wills <steve@meatwad.mouf.net>
  *  Steve Wills <swills@FreeBSD.org>
  *  Steven Kreuzer <skreuzer@FreeBSD.org>
  *  Steven Wallace <swallace@FreeBSD.org>
  *  Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>
  *  TAKAHASHI Kaoru <kaoru@kaisei.org>
  *  TAKATSU Tomonari <tota@FreeBSD.org>
  *  TAKATSU Tomonari <tota@rtfm.jp>
  *  TAOKA Fumiyoshi
  *  TATEISHI Katsuyuki <katsu@iec.hiroshima-u.ac.jp>
  *  Tassilo Philipp <tphilipp@potion-studios.com>
  *  Thibault Payet <monwarez@mailoo.org>
  *  Thierry Thomas <thierry@pompo.net>
  *  Thomas Dreibholz <dreibh@iem.uni-due.de>
  *  Thomas Gellekum <tg@FreeBSD.org>
  *  Thomas Hurst <tom@hur.st>
  *  Tilman Linneweh <arved@FreeBSD.org>
  *  Tim Bishop <tim@bishnet.net>
  *  Tod McQuillin <devin@spamcop.net>
  *  Tomoyuki Sakurai <cherry@trombik.org>
  *  Tsung-Han Yeh <snowfly@yuntech.edu.tw>
  *  UMENO Takashi <umeno@rr.iij4u.or.jp>
  *  Ulrich Spoerlein <q@uni.de>
  *  Vasil Dimov <vd@FreeBSD.org>
  *  Veniamin Gvozdikov <vg@FreeBSD.org>
  *  Vincent Tantardini <vinc@FreeBSD-fr.org>
  *  Vladimir Chukharev
  *  Wen Heping <wen@FreeBSD.org>
  *  Wen Heping <wenheping@gmail.com>
  *  Wen heping <wenheping@gmail.com>
  *  Wen heping<wenheping@gmail.com>
  *  Will Andrews <andrews@technologist.com>
  *  Yi-Jheng Lin <yzlin@cs.nctu.edu.tw>
  *  Ying-Chieh Liao <ijliao@FreeBSD.org>
  *  Yinghong Liu <relaxbsd@gmail.com>
  *  Yinghong.Liu <relaxbsd@gmail.com>
  *  Yuan-Chung Hsiao <ychsiao@ychsiao.org>
  *  Yukihiro Nakai <Nakai@Mlab.t.u-tokyo.ac.jp>
  *  Yukihiro Nakai <nacai@iname.com>
  *  Yukihiro Nakai <nakai@mlab.t.u-tokyo.ac.jp>
  *  Yuri Victorovich <yuri@FreeBSD.org>
  *  Yuri Victorovich <yuri@rawbw.com>
  *  Yuu Yashiki
  *  Yuzo FURUKAWA <hurukawa@kuee.kyoto-u.ac.jp>
  *  Zhihao Yuan <lichray@gmail.com>
  *  Zsolt Udvari <udvzsolt@gmail.com>
  *  ache
  *  alepulver
  *  anhot
  *  antonakis@gmail.com
  *  argv[0] (Iouri V. Ivliev)
  *  arved
  *  asami
  *  bf <bf@FreeBSD.org>
  *  bmc@WillsCreek.COM
  *  buganini@gmail.com
  *  cacho@mexicano.gdl.iteso.mx
  *  cartola (Carlos E. G. Carvalho)
  *  cartola@openit.com.br
  *  cfs@ing.puc.cl (original)
  *  chinsan
  *  chinsan <chinsan.tw@gmail.com>
  *  coryking
  *  cracauer@cons.org "Martin Cracauer"
  *  demon@FreeBSD.org
  *  dillon
  *  dom@happygiraffe.net
  *  erich@FreeBSD.org
  *  fenner
  *  fernan@iib.unsam.edu.ar
  *  frankch@waru.life.nthu.edu.tw
  *  gahr
  *  gary@hotlava.com
  *  gerard
  *  giffunip@asme.org
  *  glebius@FreeBSD.org
  *  gurkan@phys.ethz.ch
  *  hsu
  *  ijliao
  *  jamie
  *  jedgar@FreeBSD.org
  *  jeff@cetlink.net
  *  jjachuf@gmail.com
  *  jmz
  *  johalun
  *  johan
  *  johans
  *  kwm@FreeBSD.org
  *  lbartoletti <lbartoletti@FreeBSD.org>
  *  lesi@FreeBSD.org
  *  lichray@gmail.com
  *  luigi@FreeBSD.org
  *  maho@FreeBSD.org
  *  marcus@FreeBSD.org
  *  mb@imp.ch
  *  mi
  *  mm@FreeBSD.org
  *  nemysis <nemysis@gmx.ch>
  *  nik
  *  nork@FreeBSD.org
  *  olgeni@FreeBSD.org
  *  paulo@isr.uc.pt
  *  petef@FreeBSD.org
  *  pgs
  *  ports@FreeBSD.org
  *  proff@iq.org
  *  punkt.de Hosting Team <mops@punkt.de>
  *  rfarmer@predatorlabs.net
  *  roberto
  *  roland.jesse@gmx.net
  *  rpsfa@rit.edu
  *  saper@system.pl
  *  smace
  *  sobomax
  *  stas
  *  stb@lassitu.de
  *  theraven@FreeBSD.org
  *  thierry@pompo.net
  *  tobez
  *  trasz <trasz@pin.if.uz.zgora.pl>
  *  trevor
  *  vanilla
  *  will
  *  wolman@cs.washington.edu
  *  yukinopo@livedoor.com

With hat:	portmgr
7af0a654d3 files touched Piotr Kubaj (pkubaj)
graphics/mesa-libs: don't force gcc on powerpc
Builds fine with clang.
cacd1d0044 files touched Emmanuel Vadot (manu)
graphics/mesa-dri: Remove meson option gallium-clover
It doesn't exists and cause error with meson >= 0.60

PR:	   259140
c55f38a3bc files touched Emmanuel Vadot (manu)
graphics/mesa: Update to 21.1.8
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
1a86bea352 files touched Kevin Bowling (kbowling)
graphics: Make libglvnd a LIB_DEPEND
There are still some incoming reports of dep issues when upgrading
old systems.  This should help with dep solving and getting past the
file conflicts.

Reviewed by:	jbeich, x11 (manu)
Differential Revision:	https://reviews.freebsd.org/D31465
a751a7f865 files touched Emmanuel Vadot (manu)
graphics/mesa-libs: Add back patch for iris
Due to how the mesa ports are split we need to patch meson files so
iris is prefered on compatible intel GPU.

PR:  257462
f74b56360d files touched Emmanuel Vadot (manu)
graphics/mesa-*: Unbreak on 11.4
Re-add patches that was removed on the 21.1.5 update.

PR:    257305
3662ce6c00 files touched Po-Chuan Hsieh (sunpoet)
graphics/mesa-libs: Mark BROKEN on FreeBSD 11
FAILED: src/util/libmesa_util.a.p/build_id.c.o
cc -Isrc/util/libmesa_util.a.p -Isrc/util -I../src/util -Iinclude -I../include -Isrc -I../src -Isrc/mapi -I../src/mapi -Isrc/mesa -I../src/mesa -I../src/gallium/include -I../src/gallium/auxiliary -I/usr/local/include -fvisibility=hidden -fno-color-diagnostics -DNDEBUG -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=c99 -O3 -ffunction-sections -fdata-sections -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS '-DPACKAGE_VERSION="21.1.5"' '-DPACKAGE_BUGREPORT="https://gitlab.freedesktop.org/mesa/mesa/-/issues"' -DENABLE_ST_OMX_BELLAGIO=0 -DENABLE_ST_OMX_TIZONIA=0 -DHAVE_X11_PLATFORM -DHAVE_XCB_PLATFORM -DGLX_INDIRECT_RENDERING -DGLX_DIRECT_RENDERING -DGLX_USE_DRM -DHAVE_DRM_PLATFORM -DETIME=ETIMEDOUT -DENABLE_SHADER_CACHE -DHAVE___BUILTIN_BSWAP32 -DHAVE___BUILTIN_BSWAP64 -DHAVE___BUILTIN_CLZ -DHAVE___BUILTIN_CLZLL -DHAVE___BUILTIN_CTZ -DHAVE___BUILTIN_EXPECT -DHAVE___BUILTIN_FFS -DHAVE___BUILTIN_FFSLL -DHAVE___BUILTIN_POPCOUNT -DHAVE___BUILTIN_POPCOUNTLL -DHAVE___BUILTIN_UNREACHABLE -DHAVE___BUILTIN_TYPES_COMPATIBLE_P -DHAVE_FUNC_ATTRIBUTE_CONST -DHAVE_FUNC_ATTRIBUTE_FLATTEN -DHAVE_FUNC_ATTRIBUTE_MALLOC -DHAVE_FUNC_ATTRIBUTE_PURE -DHAVE_FUNC_ATTRIBUTE_UNUSED -DHAVE_FUNC_ATTRIBUTE_WARN_UNUSED_RESULT -DHAVE_FUNC_ATTRIBUTE_WEAK -DHAVE_FUNC_ATTRIBUTE_FORMAT -DHAVE_FUNC_ATTRIBUTE_PACKED -DHAVE_FUNC_ATTRIBUTE_RETURNS_NONNULL -DHAVE_FUNC_ATTRIBUTE_ALIAS -DHAVE_FUNC_ATTRIBUTE_NORETURN -DHAVE_FUNC_ATTRIBUTE_VISIBILITY -DHAVE_UINT128 -D_GNU_SOURCE -DUSE_SSE41 -DUSE_GCC_ATOMIC_BUILTINS -DUSE_X86_64_ASM -DHAVE_SYS_SYSCTL_H -DHAVE_XLOCALE_H -DHAVE_DLFCN_H -DHAVE_EXECINFO_H -DHAVE_SYS_SHM_H -DHAVE_PTHREAD_NP_H -DHAVE_STRTOF -DHAVE_MKOSTEMP -DHAVE_FLOCK -DHAVE_STRTOK_R -DHAVE_POSIX_MEMALIGN -DHAVE_DIRENT_D_TYPE -DHAVE_STRTOD_L -DHAVE_DLADDR -DHAVE_DL_ITERATE_PHDR -DHAVE_ZLIB -DHAVE_ZSTD -DHAVE_COMPRESSION -DHAVE_PTHREAD -DHAVE_LIBDRM -DLLVM_AVAILABLE '-DMESA_LLVM_VERSION_STRING="12.0.1"' -DLLVM_IS_SHARED=1 -DDRAW_LLVM_AVAILABLE -DUSE_LIBGLVND=1 -DHAVE_LIBUNWIND -DHAVE_WAYLAND_PLATFORM -DWL_HIDE_DEPRECATED -DHAVE_DRI3 -DHAVE_DRI3_MODIFIERS -Werror=implicit-function-declaration -Werror=missing-prototypes -Werror=return-type -Werror=empty-body -Werror=incompatible-pointer-types -Werror=int-conversion -Wimplicit-fallthrough -Wno-missing-field-initializers -fno-math-errno -fno-trapping-math -Qunused-arguments -fno-common -Werror=format -Wformat-security -Wno-microsoft-enum-value -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -fPIC -pthread -Werror=pointer-arith -Werror=gnu-empty-initializer -MD -MQ src/util/libmesa_util.a.p/build_id.c.o -MF src/util/libmesa_util.a.p/build_id.c.o.d -o src/util/libmesa_util.a.p/build_id.c.o -c ../src/util/build_id.c
../src/util/build_id.c:42:4: error: unknown type name 'Elf_Nhdr'
   ElfW(Nhdr) nhdr;
   ^
../src/util/build_id.c:38:20: note: expanded from macro 'ElfW'
#define ElfW(type) Elf_##type
                   ^
<scratch space>:108:1: note: expanded from here
Elf_Nhdr
^
../src/util/build_id.c:91:33: error: use of undeclared identifier 'Elf_Nhdr'
         size_t offset = sizeof(ElfW(Nhdr)) +
                                ^
../src/util/build_id.c:38:20: note: expanded from macro 'ElfW'
#define ElfW(type) Elf_##type
                   ^
<scratch space>:109:1: note: expanded from here
Elf_Nhdr
^
2 errors generated.
ninja: build stopped: subcommand failed.

Reference:	https://gitlab.freedesktop.org/mesa/mesa/-/issues/1007
22a85734ff files touched Emmanuel Vadot (manu)
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
b44acc9409 files touched Jan Beich (jbeich)
graphics/mesa-libs: enable libglvnd support
PR:		246767
Reviewed by:	kbowling
Tested by:	kbowling
Differential Revision:	https://reviews.freebsd.org/D25020
305f148f48 files touched Mathieu Arnold (mat)
Remove # $FreeBSD$ from Makefiles.
450f410688 files touched Emmanuel Vadot (manu)
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
03ae29607d files touched Piotr Kubaj (pkubaj)
After r556423, also bump PORTREVISION on other Mesa ports.
c6b2d4f359 files touched Emmanuel Vadot (manu)
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
57ce68a0c0 files touched Emmanuel Vadot (manu)
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
19c76400cc files touched Emmanuel Vadot (manu)
mesa-libs: Add glesv1 lib
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
bee928efb5 files touched Emmanuel Vadot (manu)
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
86562318c7 files touched Niclas Zeising (zeising)
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
a568c2781c files touched Niclas Zeising (zeising)
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
d212d9633c files touched Emmanuel Vadot (manu)
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)
899ab84a70 files touched Emmanuel Vadot (manu)
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
854f7c090d files touched Jan Beich (jbeich)
graphics/libglvnd: add new port
Submitted by:	Greg V <greg@unrelenting.technology>

libglvnd is a vendor-neutral dispatch layer for arbitrating OpenGL API calls
between multiple vendors. It allows multiple drivers from different vendors to
coexist on the same filesystem, and determines which vendor to dispatch each
API call to at runtime.

Both GLX and EGL are supported, in any combination with OpenGL and OpenGL ES.

https://gitlab.freedesktop.org/glvnd/libglvnd
94e6b0d69b files touched Niclas Zeising (zeising)
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
14f4762b89 files touched Piotr Kubaj (pkubaj)
graphics/mesa-libs: fix build on powerpc head
Clang currently lacks atomic functions on powerpc, making build fail:
u_atomic.c:64:1: error: definition of builtin function '__sync_val_compare_and_swap_8'

Use GCC for now.
121ae90af1 files touched Niclas Zeising (zeising)
graphics/mesa-libs: Change default to use DRI3
Change the default mesa configuration to use DRI3 rather than the older DRI2
interface.  This should improve performance somewhat, and alleviates the need
for the FIXDRM option in x11-servers/xorg-server.

Remove the FIXDRM option from x11-servers/xorg-server.

Add an UPDATING entry for the change.

For users of graphics/drm-legacy-kmod or the base graphics drivers, this might
cause regressions.  If you experience problems when running OpenGL applications
please force the use of the DRI2 backend by setting the LIBGL_DRI3_DISABLE
environment variable to 1 before starting any OpenGL application.  This is
easiest done by adding it to your shell startup file or .xinitrc.

Add UPDATING entry for xorg-server, detailing the change of device
configuration backend.

PR:		196678, 244306 (for tracking)
7622850e49 files touched Dmitry Marakasov (amdmi3)
- Update WWW
Approved by:	portmgr blanket
0824125a0c files touched Niclas Zeising (zeising)
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
58760ada9d files touched Niclas Zeising (zeising)
Bump remaining mesa ports after llvm version change
Bump these mesa ports as well, to ensure that they are rebuilt with the
correct llvm port.
This was missed in r513776

PR:		239682
MFH:		2019Q4 (implicit, fix for earlier commits)

Load all commits →