From owner-freebsd-ports-bugs@freebsd.org Mon Aug 26 09:46:00 2019 Return-Path: Delivered-To: freebsd-ports-bugs@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 00EBAD5FBF for ; Mon, 26 Aug 2019 09:46:00 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.nyi.freebsd.org (unknown [127.0.1.3]) by mx1.freebsd.org (Postfix) with ESMTP id 46H6Zb6GmBz497J for ; Mon, 26 Aug 2019 09:45:59 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.nyi.freebsd.org (Postfix) id D5764D5FBE; Mon, 26 Aug 2019 09:45:59 +0000 (UTC) Delivered-To: ports-bugs@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id D534AD5FBD for ; Mon, 26 Aug 2019 09:45:59 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 46H6Zb5KJlz497G for ; Mon, 26 Aug 2019 09:45:59 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (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 9A17A437A for ; Mon, 26 Aug 2019 09:45:59 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id x7Q9jxGC052571 for ; Mon, 26 Aug 2019 09:45:59 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from bugzilla@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id x7Q9jxU9052570 for ports-bugs@FreeBSD.org; Mon, 26 Aug 2019 09:45:59 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: bugzilla set sender to bugzilla-noreply@freebsd.org using -f 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 Date: Mon, 26 Aug 2019 09:45:59 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Ports Framework X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: commit-hook@freebsd.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: portmgr@FreeBSD.org X-Bugzilla-Flags: exp-run+ X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 26 Aug 2019 09:46:00 -0000 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.=