notbugAs an Amazon Associate I earn from qualifying purchases.
Want a good read? Try FreeBSD Mastery: Jails (IT Mastery Book 15)

/commits.php is going away

I'm proposing to take /commits.php away - it mainly duplicates the home page. Details in this GitHub issue.
Port details
mesa-libs OpenGL libraries that support GLX and EGL clients
21.1.8 graphics on this many watch lists=14 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 21.1.5_2Version 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: 2021-10-13 15:42:29
Commit Hash: cacd1d0
People watching this port, also watch:: libdrm, liblz4, glib, libedit, libevent
License: not specified in port
Description:
SVNWeb : git : Homepage
pkg-plist: as obtained via: make generate-plist
Expand this list (26 items)
Collapse this list.
  1. @ldconfig
  2. etc/libmap.d/mesa.conf
  3. include/EGL/eglextchromium.h
  4. include/EGL/eglmesaext.h
  5. @comment include/GL/internal/dri_interface.h
  6. include/gbm.h
  7. @comment lib/dri/radeon_dri.so
  8. lib/libEGL_mesa.so
  9. lib/libEGL_mesa.so.0
  10. lib/libEGL_mesa.so.0.0.0
  11. lib/libGLX_mesa.so
  12. lib/libGLX_mesa.so.0
  13. lib/libGLX_mesa.so.0.0.0
  14. lib/libgbm.so
  15. lib/libgbm.so.1
  16. lib/libgbm.so.1.0.0
  17. lib/libglapi.so
  18. lib/libglapi.so.0
  19. lib/libglapi.so.0.0.0
  20. @comment libdata/pkgconfig/dri.pc
  21. libdata/pkgconfig/gbm.pc
  22. @comment share/drirc.d/00-mesa-defaults.conf
  23. share/glvnd/egl_vendor.d/50_mesa.json
  24. @owner
  25. @group
  26. @mode
Collapse this list.
Dependency lines:
  • For RUN/BUILD depends:
    • mesa-libs>0:graphics/mesa-libs
  • For LIB depends:
    • libEGL_mesa.so:graphics/mesa-libs
    • libGLX_mesa.so:graphics/mesa-libs
    • libgbm.so:graphics/mesa-libs
    • libglapi.so: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
PKGNAME: mesa-libs
Flavors: there is no flavor information for this port.
distinfo:
Packages (timestamps in pop-ups are UTC):
mesa-libs
ABIlatestquarterly
FreeBSD:11:aarch6418.1.8_119.0.8_2
FreeBSD:11:amd6421.1.5_220.2.3_1
FreeBSD:11:armv6-19.0.8_2
FreeBSD:11:i38621.1.5_220.2.3_1
FreeBSD:11:mips--
FreeBSD:11:mips64--
FreeBSD:12:aarch6418.1.921.1.5_2
FreeBSD:12:amd6421.1.821.1.5_2
FreeBSD:12:armv618.1.919.0.8_3
FreeBSD:12:armv718.1.919.0.8_3
FreeBSD:12:i38621.1.821.1.5_2
FreeBSD:12:mips--
FreeBSD:12:mips64--
FreeBSD:12:powerpc64-20.2.3
FreeBSD:13:aarch6420.2.321.1.5_2
FreeBSD:13:amd6421.1.821.1.5_2
FreeBSD:13:armv620.2.320.2.3
FreeBSD:13:armv720.2.320.2.3
FreeBSD:13:i38621.1.821.1.5_2
FreeBSD:13:mips--
FreeBSD:13:mips64--
FreeBSD:13:powerpc6420.2.320.2.3_1
FreeBSD:14:aarch6421.1.5_2-
FreeBSD:14:amd6421.1.8-
FreeBSD:14:armv620.2.3-
FreeBSD:14:armv720.2.3-
FreeBSD:14:i38621.1.5_2-
FreeBSD:14:mips--
FreeBSD:14:mips64--
FreeBSD:14:powerpc6420.2.3-
 

Dependencies
NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
Build dependencies:
  1. wayland-protocols>=1.8 : graphics/wayland-protocols
  2. pthread-stubs.pc : devel/libpthread-stubs
  3. py38-mako>0 : textproc/py-mako@py38
  4. bison : devel/bison
  5. meson>=0.57.1_1 : devel/meson
  6. ninja : devel/ninja
  7. pkgconf>=1.3.0_1 : devel/pkgconf
  8. python3.8 : lang/python38
  9. llvm-config12 : devel/llvm12
  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. libOpenGL.so : graphics/libglvnd
  2. libwayland-egl.so : graphics/wayland
  3. libzstd.so : archivers/zstd
  4. libexpat.so : textproc/expat2
  5. libdrm.so : graphics/libdrm
  6. libunwind.so : devel/libunwind
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. benchmarks/glmark2
  2. devel/electron12
  3. devel/sdl20
  4. emulators/qemu-devel
  5. games/retroarch
  6. graphics/cogl
  7. graphics/kmscube
Expand this list (143 items / 136 hidden - sorry, this count includes any deleted ports)
  1. Collapse this list).
  2. graphics/libosmesa
  3. graphics/mesa-demos
  4. graphics/mesa-dri
  5. graphics/mesa-gallium-va
  6. graphics/mesa-gallium-vdpau
  7. graphics/mesa-gallium-xa
  8. graphics/piglit
  9. graphics/waffle
  10. lang/clover
  11. multimedia/arcan
  12. multimedia/kodi
  13. multimedia/mpv
  14. net/waypipe
  15. www/chromium
  16. x11/gnome-shell
  17. x11/virglrenderer
  18. x11-drivers/xf86-video-amdgpu
  19. x11-servers/xarcan
  20. x11-servers/xorg-server
  21. x11-servers/xwayland
  22. x11-servers/xwayland-devel
  23. x11-toolkits/gtkada3
  24. x11-toolkits/wlroots
  25. x11-wm/gamescope
  26. x11-wm/muffin
  27. x11-wm/mutter
  28. x11-wm/phoc
  29. Collapse this list.

Deleted ports which required this port:

Expand this list of 109 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/electron4*
  9. devel/electron5*
  10. devel/electron6*
  11. devel/electron7*
  12. devel/electron9*
  13. editors/atom*
  14. editors/textroom*
  15. emulators/desmume*
  16. emulators/fceux*
  17. emulators/ppsspp-devel*
  18. emulators/ppsspp-qt5-devel*
  19. emulators/qemu2*
  20. emulators/qemu30*
  21. emulators/qemu40*
  22. emulators/wxmupen64plus*
  23. emulators/yabause*
  24. games/armagetron*
  25. games/asteroid*
  26. games/bloboats*
  27. games/cleanq3*
  28. games/d2x-xl*
  29. games/diameter*
  30. games/fteqw*
  31. games/ggz-sdl-games*
  32. games/glob2*
  33. games/goldencheetah*
  34. games/iourbanterror*
  35. games/kiki*
  36. games/marsnomercy*
  37. games/openalchemist*
  38. games/plutocracy*
  39. games/stonesoup-sdl*
  40. games/vegastrike*
  41. games/voxelands*
  42. games/warsow*
  43. games/xpilot-ng-client*
  44. games/xptools*
  45. graphics/bugle*
  46. graphics/cloudcompare*
  47. graphics/clutter-gtk*
  48. graphics/copperspice*
  49. graphics/djview4-qt4*
  50. graphics/goxel*
  51. graphics/gstreamer-plugins-gl*
  52. graphics/inventor*
  53. graphics/kudu*
  54. graphics/libGLw*
  55. graphics/libxatracker*
  56. graphics/llpp*
  57. graphics/natron*
  58. graphics/openfx-io*
  59. graphics/osg-devel*
  60. graphics/pencil*
  61. graphics/qt4-opengl*
  62. graphics/truevision*
  63. graphics/tulip*
  64. java/openjfx8-devel*
  65. lang/beignet*
  66. lang/modula3*
  67. math/mandelbulber2*
  68. misc/survex*
  69. misc/zygrib*
  70. multimedia/cinelerra-gg*
  71. multimedia/din*
  72. multimedia/f3d*
  73. multimedia/kodi-devel*
  74. multimedia/mediadownloader*
  75. multimedia/qmmp*
  76. multimedia/vdr-plugin-softhddevice*
  77. multimedia/vlc-qt4*
  78. multimedia/vlc3*
  79. net/tigervnc-devel*
  80. net-im/empathy*
  81. science/avogadro*
  82. science/coot*
  83. science/gwyddion*
  84. science/molden*
  85. science/openstructure*
  86. science/paraview*
  87. shells/sparforte*
  88. sysutils/sysadm-client*
  89. www/iridium*
  90. www/qupzilla-qt5*
  91. www/seamonkey*
  92. www/waterfox*
  93. www/webkit-gtk2*
  94. www/webkit-gtk3*
  95. www/wt3*
  96. x11/kde-workspace-kde4*
  97. x11/mere-about*
  98. x11/py-qt4-opengl*
  99. x11/xscreensaver-gnome*
  100. x11/xscreensaver-gnome-hacks*
  101. x11-drivers/xf86-video-ati-legacy*
  102. x11-toolkits/hs-OpenGLRaw*
  103. x11-toolkits/nucleo*
  104. x11-toolkits/py-kivy*
  105. x11-toolkits/qt5-gtkplatform*
  106. x11-toolkits/qt5-quick*
  107. x11-toolkits/soqt-devel*
  108. x11-toolkits/wlc*
  109. x11-wm/compton-yshui*
  110. 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:
Options name:

USES:

FreshPorts was unable to extract/find any pkg message
Master Sites:
Expand this list (4 items)
Collapse this list.
  1. ftp://ftp.freedesktop.org/pub/mesa/
  2. ftp://ftp.freedesktop.org/pub/mesa/21.1.8/
  3. https://mesa.freedesktop.org/archive/
  4. https://mesa.freedesktop.org/archive/21.1.8/
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
    
    
Port Moves
  • port moved here from graphics/gbm on 2017-05-12
    REASON: Mesa libraries were merged into one port

  • port moved here from graphics/libglapi on 2017-05-12
    REASON: Mesa libraries were merged into one port

  • port moved here from graphics/libglesv2 on 2017-05-12
    REASON: Mesa libraries were merged into one port

  • port moved here from graphics/libEGL on 2017-05-12
    REASON: Mesa libraries were merged into one port

  • port moved here from graphics/libGL on 2017-05-12
    REASON: Mesa libraries were merged into one port

Number of commits found: 41

Commit History - (may be incomplete: see SVNWeb link above for full details)
DateByDescription
13 Oct 2021 15:42:29
 files touched by this commit commit hash:cacd1d00442ac5c73ce9e4d76dda7ee18207a35c  21.1.8
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
13 Oct 2021 08:46:30
 files touched by this commit commit hash:c55f38a3bc5493967a35b969ec0b442d2a9ff180  21.1.8
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
15 Aug 2021 18:47:47
 files touched by this commit commit hash:1a86bea35222459cae676d18682b85e919f50512  21.1.5_2
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
04 Aug 2021 10:23:10
 files touched by this commit commit hash:a751a7f865e6616b74206c3f6dad0a3c957edeec  21.1.5_1
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
28 Jul 2021 07:12:07
 files touched by this commit commit hash:f74b56360de7b82aa5135be306cdfacb3db3acd0  21.1.5
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
24 Jul 2021 23:57:59
 files touched by this commit commit hash:3662ce6c007c31d83fdd5cff5a62634fae754f1a  21.1.5
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)
20 Jul 2021 07:36:39
 files touched by this commit commit hash:22a85734ff71983126a94a1970c534a45a9e730e  21.1.5
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
17 Jun 2021 04:25:27
 files touched by this commit commit hash:b44acc9409bd3bdd92e86e35c06d50e2134b02f2  20.2.3_1
kbowling search for other commits by this committer
graphics/mesa-libs: enable libglvnd support

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

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

PR:		224659
Approved by:	maintainer timeout (9 months)
15 Oct 2018 23:59:24
Original commit files touched by this commit Revision:482189  18.1.9_1
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)
29 Sep 2018 18:52:33
Original commit files touched by this commit Revision:480911  18.1.9
zeising search for other commits by this committer
graphics/mesa: Update to 18.1.9
11 Sep 2018 18:34:28
Original commit files touched by this commit Revision:479538  18.1.8_1
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
03 Aug 2018 19:24:44
Original commit files touched by this commit Revision:476319  18.1.5
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
01 Aug 2018 18:30:52
Original commit files touched by this commit Revision:476189  18.1.4_2
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
31 Jul 2018 18:41:30
Original commit files touched by this commit Revision:476013  18.1.4_1
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 Dec 2017 13:07:37
Original commit files touched by this commit Revision:456530  17.3.0
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
10 Oct 2017 06:47:01
Original commit files touched by this commit Revision:451657  17.2.2
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.
21 May 2017 19:30:54
Original commit files touched by this commit Revision:441424  17.1.0
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
12 May 2017 18:46:53
Original commit files touched by this commit Revision:440699  17.0.4
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: 41