From owner-svn-ports-all@freebsd.org Sun Sep 30 19:19:45 2018 Return-Path: Delivered-To: svn-ports-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 9BBC110A4C5B; Sun, 30 Sep 2018 19:19:45 +0000 (UTC) (envelope-from jmd@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 42EAC8ED52; Sun, 30 Sep 2018 19:19:45 +0000 (UTC) (envelope-from jmd@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 381F8166CC; Sun, 30 Sep 2018 19:19:45 +0000 (UTC) (envelope-from jmd@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id w8UJJii7032133; Sun, 30 Sep 2018 19:19:44 GMT (envelope-from jmd@FreeBSD.org) Received: (from jmd@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id w8UJJiCv032130; Sun, 30 Sep 2018 19:19:44 GMT (envelope-from jmd@FreeBSD.org) Message-Id: <201809301919.w8UJJiCv032130@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: jmd set sender to jmd@FreeBSD.org using -f From: Johannes M Dieterich Date: Sun, 30 Sep 2018 19:19:44 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r480967 - in head/graphics: . drm-kmod X-SVN-Group: ports-head X-SVN-Commit-Author: jmd X-SVN-Commit-Paths: in head/graphics: . drm-kmod X-SVN-Commit-Revision: 480967 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.27 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 30 Sep 2018 19:19:45 -0000 Author: jmd Date: Sun Sep 30 19:19:44 2018 New Revision: 480967 URL: https://svnweb.freebsd.org/changeset/ports/480967 Log: new port: graphics/drm-kmod This metaport encompasses the recommndations of the FreeBSDDesktop team for DRM modules based on the FreeBSD version and architecture. Reviewed by: x11 (zeising), imp, rene Approved by: x11 (zeising) Differential Revision: https://reviews.freebsd.org/D16903 Added: head/graphics/drm-kmod/ head/graphics/drm-kmod/Makefile (contents, props changed) head/graphics/drm-kmod/pkg-descr (contents, props changed) Modified: head/graphics/Makefile Modified: head/graphics/Makefile ============================================================================== --- head/graphics/Makefile Sun Sep 30 18:59:22 2018 (r480966) +++ head/graphics/Makefile Sun Sep 30 19:19:44 2018 (r480967) @@ -153,6 +153,7 @@ SUBDIR += drawpile SUBDIR += driconf SUBDIR += drm-devel-kmod + SUBDIR += drm-kmod SUBDIR += drm-legacy-kmod SUBDIR += drm-next-kmod SUBDIR += drm-stable-kmod Added: head/graphics/drm-kmod/Makefile ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/graphics/drm-kmod/Makefile Sun Sep 30 19:19:44 2018 (r480967) @@ -0,0 +1,43 @@ +# Created by: Johannes Dieterich +# $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 + +.if ${OPSYS} != FreeBSD +IGNORE= not supported on anything but FreeBSD (missing linuxkpi functionality) +.else +.if ${ARCH} != "amd64" +.if ${OSVERSION} >= 1200080 +RUN_DEPENDS= ${KMODDIR}/drm.ko:graphics/drm-legacy-kmod +.elif ${OSVERSION} < 1200080 +IGNORE= legacy kmod not required on less than 12.0 +.endif +.else +.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} < 1300000 +RUN_DEPENDS= ${KMODDIR}/drm.ko:graphics/drm-next-kmod +.elif ${OSVERSION} >= 1300000 +RUN_DEPENDS= ${KMODDIR}/drm.ko:graphics/drm-devel-kmod +.else +IGNORE= not supported for this configuration +.endif +.endif +.endif + +.include Added: head/graphics/drm-kmod/pkg-descr ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/graphics/drm-kmod/pkg-descr Sun Sep 30 19:19:44 2018 (r480967) @@ -0,0 +1,13 @@ +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. This port encompasses the recommendations of the FreeBSDDesktop team +of DRM versions for FreeBSD versions based on the last update to the LinuxKPI +in that code base. In general, the most recent supported stable DRM for a give +FreeBSD version will be installed. CURRENT receives the most recent development +DRM. +This port does not however hinder the expert user to make other decisions and +continue to install DRM ports directly. + +WWW: https://github.com/FreeBSDDesktop/kms-drm