Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F151134068
D16903.id48585.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
3 KB
Referenced Files
None
Subscribers
None
D16903.id48585.diff
View Options
Index: UPDATING
===================================================================
--- UPDATING
+++ UPDATING
@@ -5,6 +5,15 @@
You should get into the habit of checking this file for changes each time
you update your ports collection, before attempting any port upgrades.
+20180930:
+ AFFECTS: users of DRM components
+ AUTHOR: jmd@FreeBSD.org
+
+ A metaport, graphics/drm-kmod, was introduced for users of both the LinuxKPI-
+ based DRM components as well as the legacy ones. It is recommended to use the
+ metaport from now on, which will select a recommended DRM version based on
+ the FreeBSD version.
+
20180924:
AFFECTS: www/libresonic-standalone
AUTHOR: jlh@FreeBSD.org
Index: graphics/Makefile
===================================================================
--- graphics/Makefile
+++ graphics/Makefile
@@ -154,6 +154,7 @@
SUBDIR += drawpile
SUBDIR += driconf
SUBDIR += drm-devel-kmod
+ SUBDIR += drm-kmod
SUBDIR += drm-legacy-kmod
SUBDIR += drm-next-kmod
SUBDIR += drm-stable-kmod
Index: graphics/drm-kmod/Makefile
===================================================================
--- graphics/drm-kmod/Makefile
+++ graphics/drm-kmod/Makefile
@@ -0,0 +1,41 @@
+# Created by: Johannes Dieterich <jmd@FreeBSD.org>
+# $FreeBSD$
+
+PORTNAME= drm-kmod
+PORTVERSION= g20180930
+CATEGORIES= graphics
+
+MAINTAINER= jmd@FreeBSD.org
+COMMENT= Metaport of DRM modules for the linuxkpi-based KMS components
+
+USES= metaport
+
+.include <bsd.port.options.mk>
+
+.if ${OPSYS} == "FreeBSD" && ${ARCH} != "amd64"
+.if ${OSVERSION} >= 1200080
+RUN_DEPENDS= ${KMODDIR}/drm.ko:graphics/drm-legacy-kmod
+.elif ${OSVERSION} < 1200080
+IGNORE= legacy kmod not supported on less than 12.0
+.endif
+.elif ${OPSYS} == "FreeBSD" && ${ARCH} == "amd64"
+.if ${OSVERSION} < 1101510
+IGNORE= not supported on 11.1 or older, no kernel support
+.elif ${OSVERSION} >= 1101510 && ${OSVERSION} < 1200000
+RUN_DEPENDS= ${KMODDIR}/drm.ko:graphics/drm-stable-kmod
+.elif ${OSVERSION} >= 1200000 && ${OSVERSION} < 1200045
+IGNORE= not supported on older 12, no kernel support
+.elif ${OSVERSION} >= 1200045 && ${OSVERSION} < 1200058
+RUN_DEPENDS= ${KMODDIR}/drm.ko:graphics/drm-stable-kmod
+.elif ${OSVERSION} >= 1200058 && ${OSVERSION} < 1200084
+RUN_DEPENDS= ${KMODDIR}/drm.ko:graphics/drm-next-kmod
+.elif ${OSVERSION} >= 1200084
+RUN_DEPENDS= ${KMODDIR}/drm.ko:graphics/drm-devel-kmod
+.endif
+.endif
+
+.if ${OPSYS} != FreeBSD
+IGNORE= not supported on anything but FreeBSD (missing linuxkpi functionality)
+.endif
+
+.include <bsd.port.mk>
Index: graphics/drm-kmod/pkg-descr
===================================================================
--- graphics/drm-kmod/pkg-descr
+++ graphics/drm-kmod/pkg-descr
@@ -0,0 +1,7 @@
+amdgpu, i915, and radeon DRM modules for the linuxkpi-based KMS components on
+amd64, i915 and radeonkms DRM modules from the former base DRM component on
+other architectures.
+Metaport for different versions of Linux DRM based on the FreeBSD version
+in use.
+
+WWW: https://github.com/FreeBSDDesktop/kms-drm
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Tue, Apr 7, 7:53 AM (12 h, 41 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
31019541
Default Alt Text
D16903.id48585.diff (3 KB)
Attached To
Mode
D16903: [WIP] graphics/drm-*-kmod: make one metaport
Attached
Detach File
Event Timeline
Log In to Comment