Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 16 May 2019 14:17:59 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 237927] graphics/drm-current-kmod: transforms in master port, prepares slave ports, brings options for installing specific drivers
Message-ID:  <bug-237927-7788@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D237927

            Bug ID: 237927
           Summary: graphics/drm-current-kmod: transforms in master port,
                    prepares slave ports, brings options for installing
                    specific drivers
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: jmd@freebsd.org
          Reporter: phascolarctos@protonmail.ch
                CC: jmd@freebsd.org
          Assignee: jmd@freebsd.org
             Flags: maintainer-feedback?(jmd@freebsd.org)
 Attachment #204402 maintainer-approval?(jmd@freebsd.org)
             Flags:
                CC: jmd@freebsd.org

Created attachment 204402
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D204402&action=
=3Dedit
drm-kmod - introduces master/slave ports, driver specific options

I initially just wanted to add options to the drm-*-kmod ports to build and
install only desired drivers (if I have an intel graphic card, I do not need
radeon driver). However, seeing that there are four different ports to main=
tain
singularly -- i.e. in this case four different ports needing to be updated =
with
the new options -- I also transformed drm-current-kmod in a master port and
drm-fbsd11.2-kmod, drm-fbsd12.0-kmod, drm-legacy-kmod into slave ports.

It was a complex work. Here is a summary of the changes:

- drm-current-kmod is now a master port and drm-fbsd12.0-kmod,
drm-fbsd11.2-kmod, drm-legacy-kmod are now slave ports. This required the
following changes:
    * evey drm-<version>-kmod has been renamed into drm-kmod-<version>, so =
that
different package names can be easily managed using PKGNAMESUFFIX;
    * a variable MINOSVERSION has been introduced that must be defined for
every drm-kmod-* port that tells make what is the minimal FreeBSD version
required to build and install the port;

- new options AMD, I915, RADEON and VMWGFX, enabled by default: install a
driver if and only if the corresponding option is on.

I tested successfully with poudriere on {11.2,12.0}-RELEASE {i386, amd64}. =
Of
course, there are plenty of different cases to test, so I encourage testing
again if possible.

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-237927-7788>