Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 15 Jun 2026 15:56:29 +0000
From:      Gleb Popov <arrowd@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Cc:        Kenneth Raplee <kenrap@FreeBSD.org>
Subject:   git: 39aeda359a18 - main - graphics/libosmesa: remove port
Message-ID:  <6a3020ad.3e9f0.1fe1ed67@gitrepo.freebsd.org>

index | next in thread | raw e-mail

The branch main has been updated by arrowd:

URL: https://cgit.FreeBSD.org/ports/commit/?id=39aeda359a183969b865e420ad20975c3dba7c54

commit 39aeda359a183969b865e420ad20975c3dba7c54
Author:     Kenneth Raplee <kenrap@FreeBSD.org>
AuthorDate: 2026-05-16 05:51:17 +0000
Commit:     Gleb Popov <arrowd@FreeBSD.org>
CommitDate: 2026-06-15 15:55:29 +0000

    graphics/libosmesa: remove port
---
 MOVED                             |  1 +
 graphics/Makefile                 |  1 -
 graphics/libosmesa/Makefile       | 59 ---------------------------------------
 graphics/libosmesa/pkg-descr      | 10 -------
 graphics/libosmesa/pkg-plist      | 13 ---------
 graphics/mesa-dri/Makefile.common |  3 --
 6 files changed, 1 insertion(+), 86 deletions(-)

diff --git a/MOVED b/MOVED
index 6691dbefa092..c205b589b4ee 100644
--- a/MOVED
+++ b/MOVED
@@ -5347,3 +5347,4 @@ devel/simian||2026-06-14|Has expired: does not fetch
 net/pecl-oauth2|net/php-oauth|2026-06-14|Renamed to avoid confusion between implemented protocol and library version. Also, pecl repository is deprecated
 graphics/mesa-gallium-va|graphics/mesa-dri|2026-06-15|Merged into graphics/mesa-dri
 graphics/mesa-gallium-vdpau|graphics/mesa-dri|2026-06-15|Merged into graphics/mesa-dri
+graphics/libosmesa||2026-06-15|EOLed upstream
diff --git a/graphics/Makefile b/graphics/Makefile
index f9080887fbdf..4732a4dbb51a 100644
--- a/graphics/Makefile
+++ b/graphics/Makefile
@@ -511,7 +511,6 @@
     SUBDIR += libnsgif
     SUBDIR += libopendrive
     SUBDIR += libopenraw
-    SUBDIR += libosmesa
     SUBDIR += libpano13
     SUBDIR += libpcd
     SUBDIR += libpgf
diff --git a/graphics/libosmesa/Makefile b/graphics/libosmesa/Makefile
deleted file mode 100644
index 95d775e4062f..000000000000
--- a/graphics/libosmesa/Makefile
+++ /dev/null
@@ -1,59 +0,0 @@
-PORTNAME=	libosmesa
-PORTVERSION=	${MESAVERSION}
-CATEGORIES=	graphics
-
-COMMENT=	Off-Screen Mesa implementation of the OpenGL API
-WWW=		https://www.mesa3d.org/
-
-LICENSE=	MIT
-LICENSE_FILE=	${WRKSRC}/docs/license.rst
-
-BROKEN=		osmesa was removed upstream in mesa 25.1
-
-LIB_DEPENDS+=	libglapi.so:graphics/mesa-libs
-
-USES=		llvm:lib,noexport xorg
-USE_XORG=	xorgproto
-USE_LDCONFIG=	yes
-
-.include <bsd.port.options.mk>
-.include "${.CURDIR:H:H}/graphics/mesa-dri/Makefile.common"
-
-# Disable some options
-MESON_ARGS+=	-Dgallium-drivers="swrast" \
-		-Dvulkan-drivers="" \
-		-Dplatforms="" \
-		-Dandroid-libbacktrace=disabled \
-		-Dgallium-vdpau=disabled \
-		-Dgallium-omx=disabled \
-		-Dgallium-va=disabled \
-		-Dgallium-opencl=disabled \
-		-Dgallium-xa=disabled \
-		-Dgallium-nine=false \
-		-Dgles1=disabled \
-		-Dgles2=disabled \
-		-Dglvnd=disabled \
-		-Dlmsensors=disabled \
-		-Dmicrosoft-clc=disabled \
-		-Dopengl=true \
-		-Dglx=disabled \
-		-Degl=disabled \
-		-Dgbm=disabled \
-		-Dtools="" \
-		-Dvalgrind=disabled \
-		-Dxlib-lease=disabled \
-		-Dzstd=disabled
-LDFLAGS_i386=		-Wl,-znotext
-
-MESON_ARGS+=	-Dosmesa=true
-
-.if ${ARCH} != amd64
-MESON_ARGS+=	-Dintel-rt=disabled # https://gitlab.freedesktop.org/mesa/mesa/-/issues/10629
-.endif
-
-post-install:
-	@${MKDIR} ${STAGEDIR}${PREFIX}/include/GL
-	${INSTALL_DATA} ${WRKSRC}/include/GL/osmesa.h \
-		${STAGEDIR}${PREFIX}/include/GL
-
-.include <bsd.port.post.mk>
diff --git a/graphics/libosmesa/pkg-descr b/graphics/libosmesa/pkg-descr
deleted file mode 100644
index 4fef59014348..000000000000
--- a/graphics/libosmesa/pkg-descr
+++ /dev/null
@@ -1,10 +0,0 @@
-Mesa is a 3-D graphics library with an API which is very similar to that
-of OpenGL*.  To the extent that Mesa utilizes the OpenGL command syntax or
-state machine, it is being used with authorization from Silicon Graphics,
-Inc.  However, the author makes no claim that Mesa is in any way a
-compatible replacement for OpenGL or associated with Silicon Graphics, Inc.
-
-This is a Off-Screen version of Mesa in order to do off-screen rendering in
-other packages like VTK. Offscreen rendering is useful for a
-number of things, such as batch processing, parallel processing, and
-remote processing.
diff --git a/graphics/libosmesa/pkg-plist b/graphics/libosmesa/pkg-plist
deleted file mode 100644
index 89428eff0ecf..000000000000
--- a/graphics/libosmesa/pkg-plist
+++ /dev/null
@@ -1,13 +0,0 @@
-@comment include/GL/gl.h
-@comment include/GL/glcorearb.h
-@comment include/GL/glext.h
-include/GL/osmesa.h
-@comment include/KHR/khrplatform.h
-lib/libOSMesa.so
-lib/libOSMesa.so.8
-lib/libOSMesa.so.8.0.0
-@comment lib/libglapi.so
-@comment lib/libglapi.so.0
-@comment lib/libglapi.so.0.0.0
-libdata/pkgconfig/osmesa.pc
-@comment share/drirc.d/00-mesa-defaults.conf
diff --git a/graphics/mesa-dri/Makefile.common b/graphics/mesa-dri/Makefile.common
index 6fea3639e33c..1d93132a6404 100644
--- a/graphics/mesa-dri/Makefile.common
+++ b/graphics/mesa-dri/Makefile.common
@@ -4,7 +4,6 @@
 #
 # Remember to upgrade the following ports everytime you bump MESAVERSION:
 #
-#    - graphics/libosmesa
 #    - graphics/mesa-dri
 #    - graphics/mesa-libs
 #    - lang/clover
@@ -32,9 +31,7 @@ USES+=	xorg
 .endif
 
 LIB_DEPENDS+=	libdrm.so:graphics/libdrm
-.if ${COMPONENT} != osmesa
 LIB_DEPENDS+=	libexpat.so:textproc/expat2
-.endif
 
 USES+=		compiler:c++11-lib bison meson pathfix pkgconfig \
 		python:build shebangfix tar:xz


home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?6a3020ad.3e9f0.1fe1ed67>