aboutsummaryrefslogtreecommitdiffstats
path: root/graphics
diff options
context:
space:
mode:
authorjmd <jmd@FreeBSD.org>2018-08-22 08:35:32 +0800
committerjmd <jmd@FreeBSD.org>2018-08-22 08:35:32 +0800
commit33d0dd639b8991f0afe6f6c44b423289c2663156 (patch)
treeae3115a280f88772dae64e4a3d74cd1af9c87a94 /graphics
parenta20f144e11e2837d38468a8d306b5d7a48663c38 (diff)
downloadfreebsd-ports-gnome-33d0dd639b8991f0afe6f6c44b423289c2663156.tar.gz
freebsd-ports-gnome-33d0dd639b8991f0afe6f6c44b423289c2663156.tar.zst
freebsd-ports-gnome-33d0dd639b8991f0afe6f6c44b423289c2663156.zip
new port: graphics/drm-legacy-kmod
This port contains the drm1 and drm2 legacy bits from base. Reviewed by: seanc, zeising (mentor), mat Approved by: seanc, zeising (mentor) Differential Revision: https://reviews.freebsd.org/D16823
Diffstat (limited to 'graphics')
-rw-r--r--graphics/Makefile1
-rw-r--r--graphics/drm-devel-kmod/Makefile2
-rw-r--r--graphics/drm-legacy-kmod/Makefile36
-rw-r--r--graphics/drm-legacy-kmod/distinfo3
-rw-r--r--graphics/drm-legacy-kmod/pkg-descr5
-rw-r--r--graphics/drm-legacy-kmod/pkg-plist11
-rw-r--r--graphics/drm-next-kmod/Makefile2
-rw-r--r--graphics/drm-stable-kmod/Makefile2
8 files changed, 59 insertions, 3 deletions
diff --git a/graphics/Makefile b/graphics/Makefile
index 403770c3bece..d091cfa29846 100644
--- a/graphics/Makefile
+++ b/graphics/Makefile
@@ -154,6 +154,7 @@
SUBDIR += drawpile
SUBDIR += driconf
SUBDIR += drm-devel-kmod
+ SUBDIR += drm-legacy-kmod
SUBDIR += drm-next-kmod
SUBDIR += drm-stable-kmod
SUBDIR += dspdfviewer
diff --git a/graphics/drm-devel-kmod/Makefile b/graphics/drm-devel-kmod/Makefile
index 0c729ed33120..b1cbdd63b5d5 100644
--- a/graphics/drm-devel-kmod/Makefile
+++ b/graphics/drm-devel-kmod/Makefile
@@ -16,7 +16,7 @@ ONLY_FOR_ARCHS_REASON= the new KMS components are only supported on amd64
RUN_DEPENDS= gpu-firmware-kmod>=g20180319:graphics/gpu-firmware-kmod
-CONFLICTS_INSTALL= drm-next-kmod drm-stable-kmod
+CONFLICTS_INSTALL= drm-next-kmod drm-stable-kmod drm-legacy-kmod
OPTIONS_DEFINE= DEBUG
diff --git a/graphics/drm-legacy-kmod/Makefile b/graphics/drm-legacy-kmod/Makefile
new file mode 100644
index 000000000000..f83b4d16a9cf
--- /dev/null
+++ b/graphics/drm-legacy-kmod/Makefile
@@ -0,0 +1,36 @@
+# Created by: Johannes Dieterich <jmd@FreeBSD.org>
+# $FreeBSD$
+
+PORTNAME= drm-legacy-kmod
+PORTVERSION= g20180820
+CATEGORIES= graphics
+
+MAINTAINER= jmd@FreeBSD.org
+COMMENT= Legacy DRM modules for the linuxkpi-based KMS components
+
+LICENSE= BSD2CLAUSE MIT GPLv2
+LICENSE_COMB= multi
+
+RUN_DEPENDS= gpu-firmware-kmod>=g20180319:graphics/gpu-firmware-kmod
+
+USES= kmod uidfix
+
+OPTIONS_DEFINE= DEBUG
+
+CONFLICTS_INSTALL= drm-devel-kmod drm-stable-kmod drm-next-kmod
+
+USE_GITHUB= yes
+GH_ACCOUNT= FreeBSDDesktop
+GH_PROJECT= drm-legacy
+GH_TAGNAME= 1758d21
+
+.include <bsd.port.options.mk>
+
+.if ${OPSYS} == FreeBSD && ${OSVERSION} < 1200080
+IGNORE= only for 12.0 or higher after removal of base components
+.endif
+.if ${OPSYS} != FreeBSD
+IGNORE= not supported on anything but FreeBSD
+.endif
+
+.include <bsd.port.mk>
diff --git a/graphics/drm-legacy-kmod/distinfo b/graphics/drm-legacy-kmod/distinfo
new file mode 100644
index 000000000000..46043d791fb3
--- /dev/null
+++ b/graphics/drm-legacy-kmod/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1534816787
+SHA256 (FreeBSDDesktop-drm-legacy-g20180820-1758d21_GH0.tar.gz) = 5de69221fda3a4af58e85072a7fc81dbab19b80ea3fd419d1399b6f0475ed927
+SIZE (FreeBSDDesktop-drm-legacy-g20180820-1758d21_GH0.tar.gz) = 1741125
diff --git a/graphics/drm-legacy-kmod/pkg-descr b/graphics/drm-legacy-kmod/pkg-descr
new file mode 100644
index 000000000000..43c9b0880033
--- /dev/null
+++ b/graphics/drm-legacy-kmod/pkg-descr
@@ -0,0 +1,5 @@
+Legacy DRM bits that used to be in base before their removal prior to release
+of 12.0. For newer Intel and AMD hardware, please use one of the LinuxKPI-based
+ports (drm-next-kmod, drm-stable-kmod, drm-devel-kmod).
+
+WWW: https://github.com/FreeBSDDesktop/drm-legacy
diff --git a/graphics/drm-legacy-kmod/pkg-plist b/graphics/drm-legacy-kmod/pkg-plist
new file mode 100644
index 000000000000..41056ad0279d
--- /dev/null
+++ b/graphics/drm-legacy-kmod/pkg-plist
@@ -0,0 +1,11 @@
+/%%KMODDIR%%/drm.ko
+/%%KMODDIR%%/drm2.ko
+/%%KMODDIR%%/i915kms.ko
+/%%KMODDIR%%/mach64.ko
+/%%KMODDIR%%/mga.ko
+/%%KMODDIR%%/r128.ko
+/%%KMODDIR%%/radeonkms.ko
+/%%KMODDIR%%/savage.ko
+/%%KMODDIR%%/sis.ko
+/%%KMODDIR%%/tdfx.ko
+/%%KMODDIR%%/via.ko
diff --git a/graphics/drm-next-kmod/Makefile b/graphics/drm-next-kmod/Makefile
index b3cb31a03c5d..c57931a5380e 100644
--- a/graphics/drm-next-kmod/Makefile
+++ b/graphics/drm-next-kmod/Makefile
@@ -16,7 +16,7 @@ ONLY_FOR_ARCHS_REASON= the new KMS components are only supported on amd64
RUN_DEPENDS= gpu-firmware-kmod>=g20180319:graphics/gpu-firmware-kmod
-CONFLICTS_INSTALL= drm-devel-kmod drm-stable-kmod
+CONFLICTS_INSTALL= drm-devel-kmod drm-stable-kmod drm-legacy-kmod
OPTIONS_DEFINE= DEBUG
diff --git a/graphics/drm-stable-kmod/Makefile b/graphics/drm-stable-kmod/Makefile
index 15899daf1cdc..857318a1a9a8 100644
--- a/graphics/drm-stable-kmod/Makefile
+++ b/graphics/drm-stable-kmod/Makefile
@@ -16,7 +16,7 @@ ONLY_FOR_ARCHS_REASON= the new KMS components are only supported on amd64
RUN_DEPENDS= gpu-firmware-kmod>=g20180319:graphics/gpu-firmware-kmod
-CONFLICTS_INSTALL= drm-devel-kmod drm-next-kmod
+CONFLICTS_INSTALL= drm-devel-kmod drm-next-kmod drm-legacy-kmod
OPTIONS_DEFINE= DEBUG