Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 26 Aug 2019 09:45:59 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 238988] [exp-run] convert bsd.xorg.mk to USES=xorg and USES=xorg-cat
Message-ID:  <bug-238988-7788-DpYGaY6t6F@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-238988-7788@https.bugs.freebsd.org/bugzilla/>
References:  <bug-238988-7788@https.bugs.freebsd.org/bugzilla/>

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

--- Comment #4 from commit-hook@freebsd.org ---
A commit references this bug:

Author: zeising
Date: Mon Aug 26 09:45:18 UTC 2019
New revision: 509895
URL: https://svnweb.freebsd.org/changeset/ports/509895

Log:
  Change bsd.xorg.mk to USES=3Dxorg and USES=3Dxorg-cat

  Change the handling of xorg dependencies to use the USES framework instead
  of bsd.xorg.mk.  bsd.xorg.mk is split into two parts:
  * USES=3Dxorg for ports depending on xorg ports with USE_XORG
  * USES=3Dxorg-cat for xorg ports with XORG_CAT

  USES=3Dxorg is fairly straight forward.  The components needed are specif=
ied
  with USE_XORG, and USES=3Dxorg is needed to pull in this part of the
  framework.

  USES=3Dxorg-cat requires that the category, previously specified with
  XORG_CAT, now be passed as an argument to xorg-cat, like this
  USES=3Dxorg-cat:category.  Not specifying a category is an error.
  Further, it is also possible to specify which build system to use.  The
  default if nothing is specified is autoconf, but meson will also be
supported.
  This is added with a second argument: USES=3Dxorg-cat:category[,buildsyst=
em].

  Detailed changelog:
  * Add support in Uses/xorg-cat.mk to specify build system.  Previously, o=
nly
    autoconf was supported for xorg ports, but with this change, it's possi=
ble
    to use meson instead.  Autoconf is still the defaultx, if nothing else =
is
    specified.  The meson support is still disabled, and requires more test=
ing.
  * Add support in Uses/xorg-cat.mk to pull sources from freedesktop.org
    gitlab.
    When specifying USE_GITLAB in a port using xorg-cat, then various GL_*
    variables will be set up automatically, as well as needed changes to the
    build.
  * Switch x11-drivers/xf86-video-intel to use the USE_GITLAB framework.
  * While touching xf86-video-intel, switch to USES=3Dxorg xorg-cat:driver,=
 and
    pet portlint.
  * Add compat shims and warnings to bsd.port.mk, which will handle the old
    style ports Makefiles.
  * Change Uses/gl.mk and Uses/motif.mk to use this new framework.
  * Change Uses/autoreconf.mk to check and add dependencies later.  This is
    needed because xorg-cat uses autoreconf, and without this fix
    dependencies were not added properly.
  * Be stricter about checking for arguments in USE_XORG, previously, :build
    and :run were accepted, but not supported.  Only the default or :both
    supported.
  * Change multimedia/gstreamer1-vaapi to handle the stricter argument
    checking in USE_XORG, and add USES=3Dxorg
  * change x11/xscope to get distinfo from xorg-cat, instead of rolling it's
    own, and add USES=3Dxorg-cat

  PR:           238988 (exp-run)
  Reviewed by:  antoine, tcberner, tijl, mat, tobik
  Approved by:  portmgr (antoine)
  Obtained from:        FreeBSD Graphics Team development repo
=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20
https://github.com/FreeBSDDesktop/freebsd-ports/tree/feature/usesxorg
  Sponsored by: B3 Init (zeising)
  Differential Revision:        https://reviews.freebsd.org/D20724

Changes:
  head/Mk/Uses/autoreconf.mk
  head/Mk/Uses/gl.mk
  head/Mk/Uses/motif.mk
  head/Mk/Uses/xorg-cat.mk
  head/Mk/Uses/xorg.mk
  head/Mk/bsd.port.mk
  head/Mk/bsd.xorg.mk
  head/multimedia/gstreamer1-vaapi/Makefile
  head/x11/xscope/Makefile
  head/x11-drivers/xf86-video-intel/Makefile
  head/x11-drivers/xf86-video-intel/distinfo

--=20
You are receiving this mail because:
You are on the CC list for the bug.=



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