git: a707d16a2d1e - main - graphics/drm-54-kmod: Remove port

From: Emmanuel Vadot <manu_at_FreeBSD.org>
Date: Wed, 07 Sep 2022 09:48:17 UTC
The branch main has been updated by manu:

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

commit a707d16a2d1eab39ea706e33efa0dc0e26929dcb
Author:     Emmanuel Vadot <manu@FreeBSD.org>
AuthorDate: 2022-09-07 09:46:06 +0000
Commit:     Emmanuel Vadot <manu@FreeBSD.org>
CommitDate: 2022-09-07 09:48:01 +0000

    graphics/drm-54-kmod: Remove port
    
    All version of FreeBSD starting from 13.1 can and should use
    drm-510-kmod.
    
    Sponsored by:   Beckhoff Automation GmbH & Co. KG
    MFH:            2022Q3
---
 MOVED                            |  1 +
 graphics/Makefile                |  1 -
 graphics/drm-54-kmod/Makefile    | 54 ----------------------------------------
 graphics/drm-54-kmod/distinfo    |  3 ---
 graphics/drm-54-kmod/pkg-descr   |  5 ----
 graphics/drm-54-kmod/pkg-message | 18 --------------
 graphics/drm-54-kmod/pkg-plist   |  6 -----
 7 files changed, 1 insertion(+), 87 deletions(-)

diff --git a/MOVED b/MOVED
index 7b9b5dba08c1..88caeef9c1b1 100644
--- a/MOVED
+++ b/MOVED
@@ -17552,3 +17552,4 @@ x11-drivers/xf86-video-glint||2022-09-04|Has expired: Broken with recent xorg, n
 www/mediawiki136||2022-09-04|Has expired: Upstream no longer maintained
 games/sopwith|games/sdl-sopwith|2022-09-04|Moved to match upstream name
 graphics/drm-fbsd13-kmod|graphics/drm-510-kmod|2022-09-07|Obsolete, use graphics/drm-510-kmod
+graphics/drm-54-kmod|graphics/drm-510-kmod|2022-09-07|Obsolete, use graphics/drm-510-kmod
diff --git a/graphics/Makefile b/graphics/Makefile
index 93de71218d27..08b6ea89c477 100644
--- a/graphics/Makefile
+++ b/graphics/Makefile
@@ -141,7 +141,6 @@
     SUBDIR += drawing
     SUBDIR += drawpile
     SUBDIR += drm-510-kmod
-    SUBDIR += drm-54-kmod
     SUBDIR += drm-fbsd12.0-kmod
     SUBDIR += drm-kmod
     SUBDIR += drm_info
diff --git a/graphics/drm-54-kmod/Makefile b/graphics/drm-54-kmod/Makefile
deleted file mode 100644
index 183f81bfcb80..000000000000
--- a/graphics/drm-54-kmod/Makefile
+++ /dev/null
@@ -1,54 +0,0 @@
-PORTNAME=	drm-54-kmod
-PORTVERSION=	5.4.191
-PORTREVISION=	1
-CATEGORIES=	graphics kld
-
-MAINTAINER=	x11@FreeBSD.org
-COMMENT=	DRM drivers modules
-
-LICENSE=	BSD2CLAUSE MIT GPLv2
-LICENSE_COMB=	multi
-
-ONLY_FOR_ARCHS=	aarch64 amd64 i386 powerpc64 powerpc64le
-ONLY_FOR_ARCHS_REASON=	the new KMS components are only supported on amd64, i386, aarch64, and powerpc64
-IGNORE_FreeBSD_14=	Use drm-510-kmod
-
-CONFLICTS_INSTALL=	drm-devel-kmod drm-current-kmod drm-510-kmod
-
-USES=		kmod uidfix compiler:c++11-lang
-
-USE_GITHUB=	yes
-GH_ACCOUNT=	freebsd
-GH_PROJECT=	drm-kmod
-GH_TAGNAME=	drm_v5.4.191_1
-
-.include <bsd.port.options.mk>
-
-.if ${OPSYS} == FreeBSD && ${OSVERSION} < 1300136
-IGNORE=		not supported on older than 13.0, no kernel support
-.endif
-.if ${OPSYS} != FreeBSD
-IGNORE=		not supported on anything but FreeBSD (missing linuxkpi functionality)
-.endif
-
-.if ${ARCH} == "amd64"
-PLIST_SUB+=	AMDGPU=""
-PLIST_SUB+=	I915=""
-.elif ${ARCH} == "i386"
-PLIST_SUB+=	AMDGPU="@comment "
-PLIST_SUB+=	I915=""
-.elif ${ARCH} == "aarch64" || ${ARCH:Mpowerpc*}
-PLIST_SUB+=	AMDGPU=""
-PLIST_SUB+=	I915="@comment "
-.else
-PLIST_SUB+=	AMDGPU="@comment "
-PLIST_SUB+=	I915="@comment "
-.endif
-
-MAKE_ENV+=	MAKEOBJDIRPREFIX=${WRKSRC}/obj
-
-pre-build:
-		${MKDIR} ${WRKSRC}/obj
-		(cd ${WRKSRC} ; ${SETENV} ${MAKE_ENV} ${MAKE_CMD} obj)
-
-.include <bsd.port.mk>
diff --git a/graphics/drm-54-kmod/distinfo b/graphics/drm-54-kmod/distinfo
deleted file mode 100644
index f78219c5dead..000000000000
--- a/graphics/drm-54-kmod/distinfo
+++ /dev/null
@@ -1,3 +0,0 @@
-TIMESTAMP = 1654524725
-SHA256 (freebsd-drm-kmod-5.4.191-drm_v5.4.191_1_GH0.tar.gz) = 9d82509c8c870564dfbefa97eaa2df78a1a9d8f8d70ae8db1c233654e3e7ed5c
-SIZE (freebsd-drm-kmod-5.4.191-drm_v5.4.191_1_GH0.tar.gz) = 18824394
diff --git a/graphics/drm-54-kmod/pkg-descr b/graphics/drm-54-kmod/pkg-descr
deleted file mode 100644
index 967d36398760..000000000000
--- a/graphics/drm-54-kmod/pkg-descr
+++ /dev/null
@@ -1,5 +0,0 @@
-amdgpu, i915, and radeon DRM drivers modules.
-Currently corresponding to Linux 5.4.114 DRM.
-This version is for FreeBSD 13.0 and above.
-
-WWW: https://github.com/freebsd/drm-kmod/
diff --git a/graphics/drm-54-kmod/pkg-message b/graphics/drm-54-kmod/pkg-message
deleted file mode 100644
index 75064f10adbf..000000000000
--- a/graphics/drm-54-kmod/pkg-message
+++ /dev/null
@@ -1,18 +0,0 @@
-[
-{ type: install
-  message: <<EOM
-The drm-54-kmod port can be enabled for amdgpu (for AMD
-GPUs starting with the HD7000 series / Tahiti) or i915kms (for Intel
-APUs starting with HD3000 / Sandy Bridge) through kld_list in
-/etc/rc.conf. radeonkms for older AMD GPUs can be loaded and there are
-some positive reports if EFI boot is NOT enabled (similar to amdgpu).
-
-For amdgpu: kld_list="amdgpu"
-For Intel: kld_list="i915kms"
-For radeonkms: kld_list="radeonkms"
-
-Please ensure that all users requiring graphics are members of the
-"video" group.
-EOM
-}
-]
diff --git a/graphics/drm-54-kmod/pkg-plist b/graphics/drm-54-kmod/pkg-plist
deleted file mode 100644
index bba0b9fd915b..000000000000
--- a/graphics/drm-54-kmod/pkg-plist
+++ /dev/null
@@ -1,6 +0,0 @@
-%%AMDGPU%%/%%KMODDIR%%/amdgpu.ko
-/%%KMODDIR%%/drm.ko
-%%I915%%/%%KMODDIR%%/i915kms.ko
-/%%KMODDIR%%/linuxkpi_gplv2.ko
-/%%KMODDIR%%/radeonkms.ko
-/%%KMODDIR%%/ttm.ko