notbugAs an Amazon Associate I earn from qualifying purchases.
Want a good read? Try FreeBSD Mastery: Jails (IT Mastery Book 15)
Want a good monitor light? See my photosAll times are UTC
Remember
I remember
2024-11-06 Today brought in a new category: filesystems. Sadly, the website did not process it well. I am working on that. It may take a few days.
2024-11-07 Commit processing is halted. I have a fix for the new category. It is making its way through the system.
UPDATE: the backend is processing the original filesystems commit now. It should take about an hour.
UPDATE: as of 20:30 UTC, the filesystems commit has been processed. Commit processing is now up to date.
Port details
mesa-libs OpenGL libraries that support GLX and EGL clients
24.1.7_1 graphics on this many watch lists=20 search for ports that depend on this port Find issues related to this port Report an issue related to this port View this port on Repology. pkg-fallout 24.1.5Version of this port present on the latest quarterly branch.
Maintainer: x11@FreeBSD.org search for ports maintained by this maintainer
Port Added: 2017-05-12 18:47:08
Last Update: 2024-11-01 23:52:43
Commit Hash: f093aba
People watching this port, also watch:: libdrm, libxml2, dbus, libevent, jpeg-turbo
License: MIT
WWW:
https://www.mesa3d.org/
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.
Homepage    cgit ¦ Codeberg ¦ GitHub ¦ GitLab ¦ SVNWeb

Manual pages:
FreshPorts has no man page information for this port.
pkg-plist: as obtained via: make generate-plist
Expand this list (30 items)
Collapse this list.
  1. @ldconfig
  2. /usr/local/share/licenses/mesa-libs-24.1.7_1/catalog.mk
  3. /usr/local/share/licenses/mesa-libs-24.1.7_1/LICENSE
  4. /usr/local/share/licenses/mesa-libs-24.1.7_1/MIT
  5. etc/libmap.d/mesa.conf
  6. include/EGL/eglext_angle.h
  7. include/EGL/eglmesaext.h
  8. @comment include/GL/internal/dri_interface.h
  9. include/gbm.h
  10. @comment lib/dri/radeon_dri.so
  11. @comment lib/dri/r300_dri.so
  12. lib/libEGL_mesa.so
  13. lib/libEGL_mesa.so.0
  14. lib/libEGL_mesa.so.0.0.0
  15. lib/libGLX_mesa.so
  16. lib/libGLX_mesa.so.0
  17. lib/libGLX_mesa.so.0.0.0
  18. lib/libgbm.so
  19. lib/libgbm.so.1
  20. lib/libgbm.so.1.0.0
  21. lib/libglapi.so
  22. lib/libglapi.so.0
  23. lib/libglapi.so.0.0.0
  24. @comment libdata/pkgconfig/dri.pc
  25. libdata/pkgconfig/gbm.pc
  26. @comment share/drirc.d/00-mesa-defaults.conf
  27. share/glvnd/egl_vendor.d/50_mesa.json
  28. @owner
  29. @group
  30. @mode
Collapse this list.
Dependency lines:
  • mesa-libs>0:graphics/mesa-libs
To install the port:
cd /usr/ports/graphics/mesa-libs/ && make install clean
To add the package, run one of these commands:
  • pkg install graphics/mesa-libs
  • pkg install mesa-libs
NOTE: If this package has multiple flavors (see below), then use one of them instead of the name specified above.
PKGNAME: mesa-libs
Flavors: there is no flavor information for this port.
distinfo:
TIMESTAMP = 1724945188 SHA256 (mesa-24.1.7.tar.xz) = ecd2e7b1c73998f4103542f39c6b8c968d251637ccc8caa42641aecb86cd2566 SIZE (mesa-24.1.7.tar.xz) = 29206724

Expand this list (6 items)

Collapse this list.

SHA256 (4a253aae7ca437201d2a31d2a11a1a5434fe41f1.patch) = 84f18f14788bd8f387e2fc754b945bf30f84b517dd917785ed5d8ef1d594e24a SIZE (4a253aae7ca437201d2a31d2a11a1a5434fe41f1.patch) = 1626 SHA256 (5a9c052ba78e5d1b0020b8f8320d211d2205a958.patch) = 4b4b7e205ea333db66c809d442f17e1f865aa623c54e7e4d918c45a1f2c9704f SIZE (5a9c052ba78e5d1b0020b8f8320d211d2205a958.patch) = 2162 SHA256 (5d48fb19553c15bbbac498afcb7cc8710a803716.patch) = 316360bdb0e0eb46075a8e537e1147283d1e88f2ee48d9eac13bb8c24f7d7b46 SIZE (5d48fb19553c15bbbac498afcb7cc8710a803716.patch) = 1090

Collapse this list.


Packages (timestamps in pop-ups are UTC):
mesa-libs
ABIaarch64amd64armv6armv7i386powerpcpowerpc64powerpc64le
FreeBSD:13:latest24.1.724.1.7_120.2.324.1.724.1.7_1-20.2.3-
FreeBSD:13:quarterly24.1.724.1.7-24.1.724.1.723.3.423.3.423.3.4
FreeBSD:14:latest24.1.724.1.7_1-24.1.724.1.7_122.3.7_1-22.3.7_1
FreeBSD:14:quarterly24.1.724.1.7-24.1.724.1.723.3.423.3.423.3.4
FreeBSD:15:latest24.1.724.1.7_1n/a24.1.7n/a23.3.523.3.524.0.1
Dependencies
NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
Build dependencies:
  1. libglvnd>=0 : graphics/libglvnd
  2. wayland-protocols>=1.8 : graphics/wayland-protocols
  3. py311-mako>0 : textproc/py-mako@py311
  4. llvm-config15 : devel/llvm15
  5. bison : devel/bison
  6. meson : devel/meson
  7. ninja : devel/ninja
  8. pkgconf>=1.3.0_1 : devel/pkgconf
  9. python3.11 : lang/python311
  10. xorgproto>=0 : x11/xorgproto
  11. x11.pc : x11/libX11
  12. xcb.pc : x11/libxcb
  13. xdamage.pc : x11/libXdamage
  14. xext.pc : x11/libXext
  15. xfixes.pc : x11/libXfixes
  16. xshmfence.pc : x11/libxshmfence
  17. xxf86vm.pc : x11/libXxf86vm
  18. xrandr.pc : x11/libXrandr
Runtime dependencies:
  1. x11.pc : x11/libX11
  2. xcb.pc : x11/libxcb
  3. xdamage.pc : x11/libXdamage
  4. xext.pc : x11/libXext
  5. xfixes.pc : x11/libXfixes
  6. xshmfence.pc : x11/libxshmfence
  7. xxf86vm.pc : x11/libXxf86vm
  8. xrandr.pc : x11/libXrandr
Library dependencies:
  1. libwayland-server.so : graphics/wayland
  2. libzstd.so : archivers/zstd
  3. libdrm.so : graphics/libdrm
  4. libexpat.so : textproc/expat2
This port is required by:
for Build

Deleted ports which required this port:

Expand this list of 16 deleted ports
  1. games/libretro-cores*
  2. games/openastromenace*
  3. games/plee-the-bear*
  4. games/ppracer*
  5. graphics/iccexamin*
  6. graphics/py-rabbyt*
  7. multimedia/gstreamer1-qt4*
  8. multimedia/gstreamer1-qt5*
  9. multimedia/qt5-phonon4-gstreamer*
  10. net-im/ring-daemon*
  11. net-im/ring-gnome*
  12. net-im/ring-libclient*
  13. www/libxul*
  14. x11/kde4-workspace*
  15. x11-themes/qt5-style-Kvantum*
  16. x11-toolkits/gai*
  17. Collapse this list of deleted ports.
for Libraries
  1. audio/plasma5-kpipewire
  2. audio/plasma6-kpipewire
  3. benchmarks/glmark2
  4. benchmarks/vkmark
  5. databases/compass
  6. devel/electron29
  7. devel/electron30
Expand this list (187 items / 180 hidden - sorry, this count includes any deleted ports)
  1. Collapse this list).
  2. devel/electron31
  3. devel/electron32
  4. devel/sdl20
  5. devel/sdl3
  6. editors/vscode
  7. emulators/libretro-reicast
  8. emulators/qemu
  9. emulators/qemu-devel
  10. emulators/qemu8
  11. emulators/reicast
  12. games/moonlight-embedded-devel
  13. games/retroarch
  14. graphics/cogl
  15. graphics/kmscube
  16. graphics/libosmesa
  17. graphics/mesa-dri
  18. graphics/piglit
  19. graphics/waffle
  20. multimedia/arcan
  21. multimedia/kodi
  22. multimedia/mpv
  23. multimedia/wf-recorder
  24. net/neatvnc
  25. net/tigervnc-server
  26. net/waypipe
  27. net/wayvnc
  28. net/wlvncc
  29. net-im/signal-desktop
  30. net-im/tg_owt
  31. www/chromium
  32. www/iridium
  33. www/qt6-webengine
  34. www/ungoogled-chromium
  35. x11/gnome-shell
  36. x11/hyprlock
  37. x11/virglrenderer
  38. x11/xdg-desktop-portal-hyprland
  39. x11/xdg-desktop-portal-wlr
  40. x11-drivers/xf86-video-amdgpu
  41. x11-servers/xarcan
  42. x11-servers/xorg-server
  43. x11-servers/xwayland
  44. x11-toolkits/aquamarine
  45. x11-toolkits/scenefx
  46. x11-toolkits/wlroots
  47. x11-toolkits/wlroots015
  48. x11-toolkits/wlroots017
  49. x11-wm/cosmic-comp
  50. x11-wm/hyprland
  51. x11-wm/magpie
  52. x11-wm/mutter
  53. x11-wm/niri
  54. x11-wm/plasma5-kwin
  55. x11-wm/plasma6-kwin
  56. Collapse this list.

Deleted ports which required this port:

Expand this list of 126 deleted ports
  1. astro/celestia-gnome*
  2. audio/amarok-kde4*
  3. audio/mixxx20*
  4. audio/mixxx21*
  5. cad/gmsh-occ*
  6. cad/linuxcnc-devel*
  7. devel/electron11*
  8. devel/electron12*
  9. devel/electron13*
  10. devel/electron17*
  11. devel/electron18*
  12. devel/electron19*
  13. devel/electron21*
  14. devel/electron22*
  15. devel/electron23*
  16. devel/electron24*
  17. devel/electron25*
  18. devel/electron26*
  19. devel/electron27*
  20. devel/electron28*
  21. devel/electron4*
  22. devel/electron5*
  23. devel/electron6*
  24. devel/electron7*
  25. devel/electron9*
  26. editors/atom*
  27. editors/textroom*
  28. emulators/desmume*
  29. emulators/ppsspp-devel*
  30. emulators/ppsspp-qt5-devel*
  31. emulators/qemu2*
  32. emulators/qemu30*
  33. emulators/qemu40*
  34. emulators/qemu41*
  35. emulators/qemu42*
  36. emulators/qemu6*
  37. emulators/qemu7*
  38. emulators/qemu70*
  39. emulators/wxmupen64plus*
  40. emulators/yabause*
  41. games/armagetron*
  42. games/asteroid*
  43. games/bloboats*
  44. games/cleanq3*
  45. games/d2x-xl*
  46. games/diameter*
  47. games/fteqw*
  48. games/ggz-sdl-games*
  49. games/goldencheetah*
  50. games/iourbanterror*
  51. games/kiki*
  52. games/marsnomercy*
  53. games/openalchemist*
  54. games/plutocracy*
  55. games/stonesoup-sdl*
  56. games/vegastrike*
  57. games/voxelands*
  58. games/warsow*
  59. games/xpilot-ng-client*
  60. games/xptools*
  61. graphics/bugle*
  62. graphics/clutter-gtk*
  63. graphics/copperspice*
  64. graphics/djview4-qt4*
  65. graphics/gstreamer-plugins-gl*
  66. graphics/inventor*
  67. graphics/kudu*
  68. graphics/libGLw*
  69. graphics/libxatracker*
  70. graphics/llpp*
  71. graphics/natron*
  72. graphics/openfx-io*
  73. graphics/osg-devel*
  74. graphics/pencil*
  75. graphics/qt4-opengl*
  76. graphics/truevision*
  77. graphics/tulip*
  78. java/openjfx8-devel*
  79. lang/beignet*
  80. lang/modula3*
  81. math/mandelbulber2*
  82. misc/survex*
  83. misc/zygrib*
  84. multimedia/cinelerra-gg*
  85. multimedia/din*
  86. multimedia/f3d*
  87. multimedia/kodi-devel*
  88. multimedia/mediadownloader*
  89. multimedia/mpv034*
  90. multimedia/qmmp*
  91. multimedia/vdr-plugin-softhddevice*
  92. multimedia/vlc-qt4*
  93. multimedia/vlc3*
  94. net/tigervnc-devel*
  95. net-im/empathy*
  96. net-im/webinar*
  97. science/avogadro*
  98. science/coot*
  99. science/gwyddion*
  100. science/molden*
  101. science/openstructure*
  102. shells/sparforte*
  103. sysutils/sysadm-client*
  104. www/qupzilla-qt5*
  105. www/seamonkey*
  106. www/webkit-gtk2*
  107. www/webkit-gtk3*
  108. www/wt3*
  109. x11/kde-workspace-kde4*
  110. x11/mere-about*
  111. x11/py-qt4-opengl*
  112. x11/xscreensaver-gnome*
  113. x11/xscreensaver-gnome-hacks*
  114. x11-drivers/xf86-video-ati-legacy*
  115. x11-servers/xwayland-devel*
  116. x11-toolkits/gtkada3*
  117. x11-toolkits/hs-OpenGLRaw*
  118. x11-toolkits/nucleo*
  119. x11-toolkits/qt5-gtkplatform*
  120. x11-toolkits/qt5-quick*
  121. x11-toolkits/soqt-devel*
  122. x11-toolkits/wlc*
  123. x11-toolkits/wlroots-devel*
  124. x11-toolkits/wlroots-hyprland*
  125. x11-toolkits/wlroots016*
  126. x11-wm/compton-yshui*
  127. Collapse this list of deleted ports.
for Run

Deleted ports which required this port:

Expand this list of 16 deleted ports
  1. games/libretro-cores*
  2. games/openastromenace*
  3. games/plee-the-bear*
  4. games/ppracer*
  5. graphics/iccexamin*
  6. graphics/py-rabbyt*
  7. multimedia/gstreamer1-qt4*
  8. multimedia/gstreamer1-qt5*
  9. multimedia/qt5-phonon4-gstreamer*
  10. net-im/ring-daemon*
  11. net-im/ring-gnome*
  12. net-im/ring-libclient*
  13. www/libxul*
  14. x11/kde4-workspace*
  15. x11-themes/qt5-style-Kvantum*
  16. x11-toolkits/gai*
  17. Collapse this list of deleted ports.
* - deleted ports are only shown under the This port is required by section. It was harder to do for the Required section. Perhaps later...

Configuration Options:
===> The following configuration options are available for mesa-libs-24.1.7_1: ZSTD=on: Use ZSTD for shader cache ====> Options available for the group PLATFORM X11=on: Enable X11 support for GBM/EGL WAYLAND=on: Enable Wayland support for GBM/EGL ===> Use 'make config' to modify these settings
Options name:
graphics_mesa-libs
USES:
llvm:noexport xorg compiler:c++11-lib bison meson pathfix pkgconfig python:build shebangfix tar:xz
FreshPorts was unable to extract/find any pkg message
Master Sites:
Expand this list (1 items)
Collapse this list.
  1. https://mesa.freedesktop.org/archive/
Collapse this list.
Notes from UPDATING
These upgrade notes are taken from /usr/ports/UPDATING
  • 2021-06-17
    Affects: users of graphics/mesa-libs and x11/nvidia-driver
    Author: kbowling@FreeBSD.org
    Reason: 
      Some libraries from mesa-libs are now provided by libglvnd while
      others were renamed. nvidia-driver already used libglvnd but bundled
      a copy which is now provided as a separate package. When building
      outside poudriere make sure to remove mesa-libs and nvidia-driver
      first in order to avoid conflict with libglvnd.
    
      For portmaster users:
      # pkg delete -f mesa-libs nvidia-driver
      # portmaster -a
    
      For portupgrade users:
      # pkg delete -f mesa-libs nvidia-driver
      # portupgrade -a
    
    

Number of commits found: 65

Commit History - (may be incomplete: for full details, see links to repositories near top of page)
CommitCreditsLog message
24.1.7_1
01 Nov 2024 23:52:43
commit hash: f093abad37cb6de91f71a72302b6591793ae5f52commit hash: f093abad37cb6de91f71a72302b6591793ae5f52commit hash: f093abad37cb6de91f71a72302b6591793ae5f52commit hash: f093abad37cb6de91f71a72302b6591793ae5f52 files touched by this commit
Jan Beich (jbeich) search for other commits by this committer
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
24.1.5
22 Aug 2024 08:33:24
commit hash: e313acaea33b7ad94efcc4455d17d9284968cb68commit hash: e313acaea33b7ad94efcc4455d17d9284968cb68commit hash: e313acaea33b7ad94efcc4455d17d9284968cb68commit hash: e313acaea33b7ad94efcc4455d17d9284968cb68 files touched by this commit
Emmanuel Vadot (manu) search for other commits by this committer
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
24.1.5
20 Aug 2024 07:43:39
commit hash: 277dfdc8d586432b358ede366e4dcc61dfa1ed1bcommit hash: 277dfdc8d586432b358ede366e4dcc61dfa1ed1bcommit hash: 277dfdc8d586432b358ede366e4dcc61dfa1ed1bcommit hash: 277dfdc8d586432b358ede366e4dcc61dfa1ed1b files touched by this commit
Emmanuel Vadot (manu) search for other commits by this committer
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
24.0.9_1
01 Jul 2024 08:17:57
commit hash: a26876a1e5f8629e203f98d279dad670be735652commit hash: a26876a1e5f8629e203f98d279dad670be735652commit hash: a26876a1e5f8629e203f98d279dad670be735652commit hash: a26876a1e5f8629e203f98d279dad670be735652 files touched by this commit
Emmanuel Vadot (manu) search for other commits by this committer
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
24.0.9_1
01 Jul 2024 08:17:57
commit hash: aa6c9614c0f637cf82b56467e5d918c1e0988369commit hash: aa6c9614c0f637cf82b56467e5d918c1e0988369commit hash: aa6c9614c0f637cf82b56467e5d918c1e0988369commit hash: aa6c9614c0f637cf82b56467e5d918c1e0988369 files touched by this commit
Emmanuel Vadot (manu) search for other commits by this committer
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
24.0.9
19 Jun 2024 13:20:53
commit hash: 2007b26000f49fb040d855ccf03edbdf7d641014commit hash: 2007b26000f49fb040d855ccf03edbdf7d641014commit hash: 2007b26000f49fb040d855ccf03edbdf7d641014commit hash: 2007b26000f49fb040d855ccf03edbdf7d641014 files touched by this commit
Emmanuel Vadot (manu) search for other commits by this committer
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
24.0.6
30 Apr 2024 06:11:31
commit hash: c68125108742cc3a27263b57b7d71ae3dad58bdacommit hash: c68125108742cc3a27263b57b7d71ae3dad58bdacommit hash: c68125108742cc3a27263b57b7d71ae3dad58bdacommit hash: c68125108742cc3a27263b57b7d71ae3dad58bda files touched by this commit
Emmanuel Vadot (manu) search for other commits by this committer
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
24.0.4_1
18 Apr 2024 12:22:27
commit hash: 171cdaf295e37c781f9a4999b05ea74da0bcd0f0commit hash: 171cdaf295e37c781f9a4999b05ea74da0bcd0f0commit hash: 171cdaf295e37c781f9a4999b05ea74da0bcd0f0commit hash: 171cdaf295e37c781f9a4999b05ea74da0bcd0f0 files touched by this commit
Emmanuel Vadot (manu) search for other commits by this committer
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
23.1.8
24 Nov 2023 10:30:58
commit hash: 602829a66e54df6c39f2c34275168ad2ba3c4850commit hash: 602829a66e54df6c39f2c34275168ad2ba3c4850commit hash: 602829a66e54df6c39f2c34275168ad2ba3c4850commit hash: 602829a66e54df6c39f2c34275168ad2ba3c4850 files touched by this commit
Emmanuel Vadot (manu) search for other commits by this committer
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
23.1.8
21 Nov 2023 15:17:28
commit hash: 29d855b6f775be3f43aa5fb4b45c88ca9711dfd3commit hash: 29d855b6f775be3f43aa5fb4b45c88ca9711dfd3commit hash: 29d855b6f775be3f43aa5fb4b45c88ca9711dfd3commit hash: 29d855b6f775be3f43aa5fb4b45c88ca9711dfd3 files touched by this commit
Emmanuel Vadot (manu) search for other commits by this committer
Author: 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
22.3.7_2
12 Aug 2023 20:56:50
commit hash: 6fef4101daa2041a1dffdcde860a8b386d7a5f5fcommit hash: 6fef4101daa2041a1dffdcde860a8b386d7a5f5fcommit hash: 6fef4101daa2041a1dffdcde860a8b386d7a5f5fcommit hash: 6fef4101daa2041a1dffdcde860a8b386d7a5f5f files touched by this commit
Kevin Bowling (kbowling) search for other commits by this committer
Author: sasamotikomi
graphics/mesa-dri: enable i915g

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

PR:		269006
22.3.7_1
04 Apr 2023 09:17:31
commit hash: 0ab18b0ed7e606feb41a548fc95c80f5eb63d6e9commit hash: 0ab18b0ed7e606feb41a548fc95c80f5eb63d6e9commit hash: 0ab18b0ed7e606feb41a548fc95c80f5eb63d6e9commit hash: 0ab18b0ed7e606feb41a548fc95c80f5eb63d6e9 files touched by this commit
Jan Beich (jbeich) search for other commits by this committer
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
22.3.7
20 Mar 2023 17:16:03
commit hash: 045971139f0912f8f20d68016deb257a66aa6ceacommit hash: 045971139f0912f8f20d68016deb257a66aa6ceacommit hash: 045971139f0912f8f20d68016deb257a66aa6ceacommit hash: 045971139f0912f8f20d68016deb257a66aa6cea files touched by this commit
Jan Beich (jbeich) search for other commits by this committer
graphics/mesa-*: unbreak with --auto-features=enabled

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

PR:		270361
22.3.4
27 Jan 2023 08:18:59
commit hash: bb76a96cf0e7a3f76d7d44eff70729ad5f407faacommit hash: bb76a96cf0e7a3f76d7d44eff70729ad5f407faacommit hash: bb76a96cf0e7a3f76d7d44eff70729ad5f407faacommit hash: bb76a96cf0e7a3f76d7d44eff70729ad5f407faa files touched by this commit
Emmanuel Vadot (manu) search for other commits by this committer
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
22.3.0_1
08 Dec 2022 19:00:46
commit hash: 799245580a718022ce7bb96012a2720ede33a8aecommit hash: 799245580a718022ce7bb96012a2720ede33a8aecommit hash: 799245580a718022ce7bb96012a2720ede33a8aecommit hash: 799245580a718022ce7bb96012a2720ede33a8ae files touched by this commit
Emmanuel Vadot (manu) search for other commits by this committer
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
22.3.0_1
08 Dec 2022 19:00:38
commit hash: 34810cf205f58893da2c7f7a781094dcaf0d533acommit hash: 34810cf205f58893da2c7f7a781094dcaf0d533acommit hash: 34810cf205f58893da2c7f7a781094dcaf0d533acommit hash: 34810cf205f58893da2c7f7a781094dcaf0d533a files touched by this commit
Emmanuel Vadot (manu) search for other commits by this committer
graphics/mesa-libs: Cleanup

- Specify license directly in this port.

Sponsored by:   Beckhoff Automation GmbH & Co. KG
22.3.0_1
08 Dec 2022 19:00:28
commit hash: e70ff172c20525bf5ec27c7b904a8e2760947addcommit hash: e70ff172c20525bf5ec27c7b904a8e2760947addcommit hash: e70ff172c20525bf5ec27c7b904a8e2760947addcommit hash: e70ff172c20525bf5ec27c7b904a8e2760947add files touched by this commit
Emmanuel Vadot (manu) search for other commits by this committer
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
22.3.0
05 Dec 2022 14:03:28
commit hash: 855947ebf7e738232a8bbf6d47cc56f2896f276fcommit hash: 855947ebf7e738232a8bbf6d47cc56f2896f276fcommit hash: 855947ebf7e738232a8bbf6d47cc56f2896f276fcommit hash: 855947ebf7e738232a8bbf6d47cc56f2896f276f files touched by this commit
Emmanuel Vadot (manu) search for other commits by this committer
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
22.2.1
19 Oct 2022 19:22:54
commit hash: a06b620420eda5baa5fd0dc2c71630ebbfe6030fcommit hash: a06b620420eda5baa5fd0dc2c71630ebbfe6030fcommit hash: a06b620420eda5baa5fd0dc2c71630ebbfe6030fcommit hash: a06b620420eda5baa5fd0dc2c71630ebbfe6030f files touched by this commit
Emmanuel Vadot (manu) search for other commits by this committer
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
22.2.1
19 Oct 2022 13:30:07
commit hash: 23e4dce35c4a5666968d40a38ef569a210a7bedecommit hash: 23e4dce35c4a5666968d40a38ef569a210a7bedecommit hash: 23e4dce35c4a5666968d40a38ef569a210a7bedecommit hash: 23e4dce35c4a5666968d40a38ef569a210a7bede files touched by this commit
Emmanuel Vadot (manu) search for other commits by this committer
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
07 Sep 2022 21:58:51
commit hash: fb16dfecae4a6efac9f3a78e0b759fb7a3c53de4commit hash: fb16dfecae4a6efac9f3a78e0b759fb7a3c53de4commit hash: fb16dfecae4a6efac9f3a78e0b759fb7a3c53de4commit hash: fb16dfecae4a6efac9f3a78e0b759fb7a3c53de4 files touched by this commit
Stefan Eßer (se) search for other commits by this committer
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)
21.3.8
07 Sep 2022 21:10:59
commit hash: b7f05445c00f2625aa19b4154ebcbce5ed2daa52commit hash: b7f05445c00f2625aa19b4154ebcbce5ed2daa52commit hash: b7f05445c00f2625aa19b4154ebcbce5ed2daa52commit hash: b7f05445c00f2625aa19b4154ebcbce5ed2daa52 files touched by this commit
Stefan Eßer (se) search for other commits by this committer
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)
21.3.8
20 Jul 2022 14:22:04
commit hash: 022e658bd10b8753ede87b3dfda087efabddac98commit hash: 022e658bd10b8753ede87b3dfda087efabddac98commit hash: 022e658bd10b8753ede87b3dfda087efabddac98commit hash: 022e658bd10b8753ede87b3dfda087efabddac98 files touched by this commit
Tobias C. Berner (tcberner) search for other commits by this committer
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)
21.1.8
16 Nov 2021 12:03:37
commit hash: 7af0a654d3d1b56c77b95d11aab424d151674193commit hash: 7af0a654d3d1b56c77b95d11aab424d151674193commit hash: 7af0a654d3d1b56c77b95d11aab424d151674193commit hash: 7af0a654d3d1b56c77b95d11aab424d151674193 files touched by this commit
Piotr Kubaj (pkubaj) search for other commits by this committer
graphics/mesa-libs: don't force gcc on powerpc

Builds fine with clang.
21.1.8
13 Oct 2021 15:42:29
commit hash: cacd1d00442ac5c73ce9e4d76dda7ee18207a35ccommit hash: cacd1d00442ac5c73ce9e4d76dda7ee18207a35ccommit hash: cacd1d00442ac5c73ce9e4d76dda7ee18207a35ccommit hash: cacd1d00442ac5c73ce9e4d76dda7ee18207a35c files touched by this commit
Emmanuel Vadot (manu) search for other commits by this committer
graphics/mesa-dri: Remove meson option gallium-clover

It doesn't exists and cause error with meson >= 0.60

PR:	   259140
21.1.8
13 Oct 2021 08:46:30
commit hash: c55f38a3bc5493967a35b969ec0b442d2a9ff180commit hash: c55f38a3bc5493967a35b969ec0b442d2a9ff180commit hash: c55f38a3bc5493967a35b969ec0b442d2a9ff180commit hash: c55f38a3bc5493967a35b969ec0b442d2a9ff180 files touched by this commit
Emmanuel Vadot (manu) search for other commits by this committer
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
21.1.5_2
15 Aug 2021 18:47:47
commit hash: 1a86bea35222459cae676d18682b85e919f50512commit hash: 1a86bea35222459cae676d18682b85e919f50512commit hash: 1a86bea35222459cae676d18682b85e919f50512commit hash: 1a86bea35222459cae676d18682b85e919f50512 files touched by this commit
Kevin Bowling (kbowling) search for other commits by this committer
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
21.1.5_1
04 Aug 2021 10:23:10
commit hash: a751a7f865e6616b74206c3f6dad0a3c957edeeccommit hash: a751a7f865e6616b74206c3f6dad0a3c957edeeccommit hash: a751a7f865e6616b74206c3f6dad0a3c957edeeccommit hash: a751a7f865e6616b74206c3f6dad0a3c957edeec files touched by this commit
Emmanuel Vadot (manu) search for other commits by this committer
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
21.1.5
28 Jul 2021 07:12:07
commit hash: f74b56360de7b82aa5135be306cdfacb3db3acd0commit hash: f74b56360de7b82aa5135be306cdfacb3db3acd0commit hash: f74b56360de7b82aa5135be306cdfacb3db3acd0commit hash: f74b56360de7b82aa5135be306cdfacb3db3acd0 files touched by this commit
Emmanuel Vadot (manu) search for other commits by this committer
graphics/mesa-*: Unbreak on 11.4

Re-add patches that was removed on the 21.1.5 update.

PR:    257305
21.1.5
24 Jul 2021 23:57:59
commit hash: 3662ce6c007c31d83fdd5cff5a62634fae754f1acommit hash: 3662ce6c007c31d83fdd5cff5a62634fae754f1acommit hash: 3662ce6c007c31d83fdd5cff5a62634fae754f1acommit hash: 3662ce6c007c31d83fdd5cff5a62634fae754f1a files touched by this commit
Po-Chuan Hsieh (sunpoet) search for other commits by this committer
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)) +
(Only the first 15 lines of the commit message are shown above View all of this commit message)
21.1.5
20 Jul 2021 07:36:39
commit hash: 22a85734ff71983126a94a1970c534a45a9e730ecommit hash: 22a85734ff71983126a94a1970c534a45a9e730ecommit hash: 22a85734ff71983126a94a1970c534a45a9e730ecommit hash: 22a85734ff71983126a94a1970c534a45a9e730e files touched by this commit
Emmanuel Vadot (manu) search for other commits by this committer
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
20.2.3_1
17 Jun 2021 04:25:27
commit hash: b44acc9409bd3bdd92e86e35c06d50e2134b02f2commit hash: b44acc9409bd3bdd92e86e35c06d50e2134b02f2commit hash: b44acc9409bd3bdd92e86e35c06d50e2134b02f2commit hash: b44acc9409bd3bdd92e86e35c06d50e2134b02f2 files touched by this commit
Kevin Bowling (kbowling) search for other commits by this committer
Author: Jan Beich
graphics/mesa-libs: enable libglvnd support

PR:		246767
Reviewed by:	kbowling
Tested by:	kbowling
Differential Revision:	https://reviews.freebsd.org/D25020
20.2.3
06 Apr 2021 14:31:07
commit hash: 305f148f482daf30dcf728039d03d019f88344ebcommit hash: 305f148f482daf30dcf728039d03d019f88344ebcommit hash: 305f148f482daf30dcf728039d03d019f88344ebcommit hash: 305f148f482daf30dcf728039d03d019f88344eb files touched by this commit
Mathieu Arnold (mat) search for other commits by this committer
Remove # $FreeBSD$ from Makefiles.
20.2.3
03 Dec 2020 20:55:33
Revision:556929Original commit files touched by this commit
manu search for other commits by this committer
 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
20.2.0_2
27 Nov 2020 01:15:50
Revision:556425Original commit files touched by this commit
pkubaj search for other commits by this committer
After r556423, also bump PORTREVISION on other Mesa ports.
20.2.0_1
13 Oct 2020 11:53:49
Revision:552236Original commit files touched by this commit
manu search for other commits by this committer
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
20.2.0
12 Oct 2020 08:30:54
Revision:552109Original commit files touched by this commit
manu search for other commits by this committer
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
19.0.8_3
19 Sep 2020 09:34:36
Revision:548950Original commit files touched by this commit
manu search for other commits by this committer
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
19.0.8_2
17 Sep 2020 09:22:29
Revision:548829Original commit files touched by this commit
manu search for other commits by this committer
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
19.0.8_2
16 Jun 2020 15:38:29
Revision:539358Original commit files touched by this commit
zeising search for other commits by this committer
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
19.0.8_1
09 Jun 2020 19:56:17
Revision:538339Original commit files touched by this commit
zeising search for other commits by this committer
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
19.0.8
06 Jun 2020 09:23:13
Revision:538079Original commit files touched by this commit
manu search for other commits by this committer
 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)
19.0.8
05 Jun 2020 09:13:58
Revision:537998Original commit files touched by this commit
manu search for other commits by this committer
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
19.0.8
27 May 2020 07:41:41
Revision:536673Original commit files touched by this commit
jbeich search for other commits by this committer
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
19.0.8
03 May 2020 16:15:23
Revision:533793Original commit files touched by this commit
zeising search for other commits by this committer
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
18.3.2_4
17 Apr 2020 11:02:46
Revision:531925Original commit files touched by this commit
pkubaj search for other commits by this committer
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.
18.3.2_4
08 Mar 2020 19:27:27
Revision:528071Original commit files touched by this commit
zeising search for other commits by this committer
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)
18.3.2_3
17 Dec 2019 09:40:42
Revision:520319Original commit files touched by this commit
amdmi3 search for other commits by this committer
- Update WWW

Approved by:	portmgr blanket
18.3.2_3
30 Oct 2019 19:07:32
Revision:516100Original commit files touched by this commit
zeising search for other commits by this committer
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
18.3.2_2
04 Oct 2019 22:14:03
Revision:513788Original commit files touched by this commit
zeising search for other commits by this committer
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)
18.3.2_1
30 Jun 2019 14:56:12
Revision:505425Original commit files touched by this commit
zeising search for other commits by this committer
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)
18.2.8
17 Jan 2019 15:34:37
Revision:490569Original commit files touched by this commit
jbeich search for other commits by this committer
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
18.1.9_4
11 Nov 2018 23:54:07
Revision:484788Original commit files touched by this commit
jbeich search for other commits by this committer
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
18.1.9_3
08 Nov 2018 20:31:08
Revision:484475Original commit files touched by this commit
zeising search for other commits by this committer
Enable libEGL for all platforms

Enable libEGL build for all platforms, even those without llvm.  Previously
it was disabled on those platforms.  This has been tested on sparc64.

Remove the EGL option completely.

PR:		232729
Submitted by:	jbeich
Tested by:	Yoshihiko Iwama (sparc64 support)
18.1.9_2
16 Oct 2018 00:00:08
Revision:482191Original commit files touched by this commit
jbeich search for other commits by this committer
graphics/mesa-libs: enable surfaceless like upstream

PR:		224659
Approved by:	maintainer timeout (9 months)
18.1.9_1
15 Oct 2018 23:59:24
Revision:482189Original commit files touched by this commit
jbeich search for other commits by this committer
graphics/wayland: update to 1.16.0

- New libwayland-egl home for consumers as Mesa 18.2 dropped it

Changes:	https://lists.freedesktop.org/archives/wayland-devel/2018-April/037767.html
Changes:	https://lists.freedesktop.org/archives/wayland-devel/2018-August/039358.html
PR:		227423
Submitted by:	Greg V <greg@unrelenting.technology>
Approved by:	maintainer timeout (5 months)
18.1.9
29 Sep 2018 18:52:33
Revision:480911Original commit files touched by this commit
zeising search for other commits by this committer
graphics/mesa: Update to 18.1.9
18.1.8_1
11 Sep 2018 18:34:28
Revision:479538Original commit files touched by this commit
zeising search for other commits by this committer
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
18.1.5
03 Aug 2018 19:24:44
Revision:476319Original commit files touched by this commit
zeising search for other commits by this committer
graphics/mesa: Update to 18.1.5

Obtained
from:	https://github.com/FreeBSDDesktop/freebsd-ports/tree/feature/mesa-18.1
MFC after:	2018Q3
18.1.4_2
01 Aug 2018 18:30:52
Revision:476189Original commit files touched by this commit
zeising search for other commits by this committer
Fix build with lld linker on i386

Fix the build with the lld linker on i386.  This is done by adding an option
to the linker to allow relocations in read-only segments, since there are
some assembler code that's not PIC.
the gnu ld linker does this by default.

PR:		230239
Submitted by:	emaste
18.1.4_1
31 Jul 2018 18:41:30
Revision:476013Original commit files touched by this commit
zeising search for other commits by this committer
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
17.3.0
17 Dec 2017 13:07:37
Revision:456530Original commit files touched by this commit
zeising search for other commits by this committer
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
17.2.2
10 Oct 2017 06:47:01
Revision:451657Original commit files touched by this commit
rezny search for other commits by this committer
Update the Mesa ports to 17.2.2

Mesa supports both llvm40 and llvm50. The former remains the default as it's
what the OpenCL ports currently require and it's available on more platforms.
17.1.0
21 May 2017 19:30:54
Revision:441424Original commit files touched by this commit
rezny search for other commits by this committer
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
17.0.4
12 May 2017 18:46:53
Revision:440699Original commit files touched by this commit
rezny search for other commits by this committer
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: 65