From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: <gentoo-commits+bounces-1040943-garchives=archives.gentoo.org@lists.gentoo.org> Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id D5765138334 for <garchives@archives.gentoo.org>; Thu, 9 Aug 2018 02:00:04 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 0E854E08E5; Thu, 9 Aug 2018 02:00:04 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id B3B92E08E5 for <gentoo-commits@lists.gentoo.org>; Thu, 9 Aug 2018 02:00:03 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 0E49E33FE7D for <gentoo-commits@lists.gentoo.org>; Wed, 8 Aug 2018 19:25:50 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 11D25385 for <gentoo-commits@lists.gentoo.org>; Wed, 8 Aug 2018 19:25:48 +0000 (UTC) From: "Matt Turner" <mattst88@gentoo.org> To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Matt Turner" <mattst88@gentoo.org> Message-ID: <1533756287.c2fbdeeb774e9b98e25d48e9d1bb32fab19f6a2c.mattst88@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: x11-drivers/xf86-video-ati/ X-VCS-Repository: repo/gentoo X-VCS-Files: x11-drivers/xf86-video-ati/xf86-video-ati-18.0.1-r2.ebuild x11-drivers/xf86-video-ati/xf86-video-ati-9999.ebuild X-VCS-Directories: x11-drivers/xf86-video-ati/ X-VCS-Committer: mattst88 X-VCS-Committer-Name: Matt Turner X-VCS-Revision: c2fbdeeb774e9b98e25d48e9d1bb32fab19f6a2c X-VCS-Branch: master Date: Wed, 8 Aug 2018 19:25:48 +0000 (UTC) Precedence: bulk List-Post: <mailto:gentoo-commits@lists.gentoo.org> List-Help: <mailto:gentoo-commits+help@lists.gentoo.org> List-Unsubscribe: <mailto:gentoo-commits+unsubscribe@lists.gentoo.org> List-Subscribe: <mailto:gentoo-commits+subscribe@lists.gentoo.org> List-Id: Gentoo Linux mail <gentoo-commits.gentoo.org> X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: dce0bd33-b3c2-408f-99b4-5b8d2df841b7 X-Archives-Hash: 3a35d3e55bfc0b00cb73bafb62936e67 commit: c2fbdeeb774e9b98e25d48e9d1bb32fab19f6a2c Author: Matt Turner <mattst88 <AT> gentoo <DOT> org> AuthorDate: Wed Aug 8 19:05:51 2018 +0000 Commit: Matt Turner <mattst88 <AT> gentoo <DOT> org> CommitDate: Wed Aug 8 19:24:47 2018 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c2fbdeeb Revert "x11-drivers/xf86-video-ati: port to EAPI 7" In the port to EAPI=7, we stopped inheriting xorg-2 since that eclass is not EAPI 7 ready. Unfortunately it was providing some critical functionality: [[ ${PN} == xf86-video-* || ${PN} == xf86-input-* ]] && DRIVER="yes" ... xorg-2_flags_setup() { ... [[ ${PN} = xorg-server || -n ${DRIVER} ]] && append-ldflags -Wl,-z,lazy In order to revert this commit, we must revert some commits that fix problems introduced by it as well. In total: This reverts commit f81770e41df51ad850fa78d6f57d7972a9e536bf. Revert "x11-drivers/xf86-video-ati: Fix QA syntax errors" This reverts commit 3339c825251a9809d573a98b94f36befe3286de9. Revert "x11-drivers/xf86-video-ati: fix xorg-server:= dependency" This reverts commit 6d94f4276b3cc284014af3177e0bc35168315b30. Revert "x11-drivers/xf86-video-ati: add --disable-selective-werror" This reverts commit 3313b2661bef1e56f0d089cc5b2c6f2d470fb6be. Closes: https://bugs.gentoo.org/661562 .../xf86-video-ati/xf86-video-ati-18.0.1-r2.ebuild | 68 ---------------------- .../xf86-video-ati/xf86-video-ati-9999.ebuild | 50 +++++----------- 2 files changed, 13 insertions(+), 105 deletions(-) diff --git a/x11-drivers/xf86-video-ati/xf86-video-ati-18.0.1-r2.ebuild b/x11-drivers/xf86-video-ati/xf86-video-ati-18.0.1-r2.ebuild deleted file mode 100644 index 1ac62fccd4e..00000000000 --- a/x11-drivers/xf86-video-ati/xf86-video-ati-18.0.1-r2.ebuild +++ /dev/null @@ -1,68 +0,0 @@ -# Copyright 1999-2018 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -inherit linux-info - -DESCRIPTION="ATI video driver" -HOMEPAGE="https://www.x.org/wiki/ati/" - -if [[ ${PV} == 9999* ]]; then - EGIT_REPO_URI="https://anongit.freedesktop.org/git/xorg/driver/${PN}" - inherit autotools git-r3 - LIVE_DEPEND=">=x11-misc/util-macros-1.18" -else - SRC_URI="mirror://xorg/driver/${P}.tar.bz2" - KEYWORDS="~alpha ~amd64 ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~amd64-fbsd" -fi - -LICENSE="MIT" -SLOT="0" -IUSE="+glamor udev" - -BDEPEND=" - virtual/pkgconfig -" -RDEPEND=" - >=x11-libs/libdrm-2.4.78[video_cards_radeon] - >=x11-libs/libpciaccess-0.8.0 - x11-base/xorg-server:= - glamor? ( x11-base/xorg-server[glamor] ) - udev? ( virtual/libudev:= ) -" -DEPEND=" - ${LIVE_DEPEND} - ${RDEPEND} - x11-base/xorg-proto -" - -pkg_pretend() { - if use kernel_linux ; then - if kernel_is -ge 3 9; then - CONFIG_CHECK="~!DRM_RADEON_UMS ~!FB_RADEON" - else - CONFIG_CHECK="~DRM_RADEON_KMS ~!FB_RADEON" - fi - fi - check_extra_config -} - -src_prepare() { - default - [[ ${PV} == 9999 ]] && eautoreconf -} - -src_configure() { - local econfargs=( - --disable-selective-werror - $(use_enable glamor) - $(use_enable udev) - ) - econf "${econfargs[@]}" -} - -src_install() { - default - find "${D}" -name '*.la' -delete || die -} diff --git a/x11-drivers/xf86-video-ati/xf86-video-ati-9999.ebuild b/x11-drivers/xf86-video-ati/xf86-video-ati-9999.ebuild index 1ac62fccd4e..3f5390aec7a 100644 --- a/x11-drivers/xf86-video-ati/xf86-video-ati-9999.ebuild +++ b/x11-drivers/xf86-video-ati/xf86-video-ati-9999.ebuild @@ -1,41 +1,28 @@ # Copyright 1999-2018 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -EAPI=7 +EAPI=5 -inherit linux-info - -DESCRIPTION="ATI video driver" -HOMEPAGE="https://www.x.org/wiki/ati/" +XORG_DRI=always +inherit linux-info xorg-2 if [[ ${PV} == 9999* ]]; then - EGIT_REPO_URI="https://anongit.freedesktop.org/git/xorg/driver/${PN}" - inherit autotools git-r3 - LIVE_DEPEND=">=x11-misc/util-macros-1.18" + SRC_URI="" else - SRC_URI="mirror://xorg/driver/${P}.tar.bz2" KEYWORDS="~alpha ~amd64 ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~amd64-fbsd" fi -LICENSE="MIT" -SLOT="0" +DESCRIPTION="ATI video driver" +HOMEPAGE="https://www.x.org/wiki/ati/" + IUSE="+glamor udev" -BDEPEND=" - virtual/pkgconfig -" -RDEPEND=" - >=x11-libs/libdrm-2.4.78[video_cards_radeon] +RDEPEND=">=x11-libs/libdrm-2.4.78[video_cards_radeon] >=x11-libs/libpciaccess-0.8.0 - x11-base/xorg-server:= glamor? ( x11-base/xorg-server[glamor] ) - udev? ( virtual/libudev:= ) -" -DEPEND=" - ${LIVE_DEPEND} - ${RDEPEND} - x11-base/xorg-proto -" + udev? ( virtual/libudev:= )" +DEPEND="${RDEPEND} + x11-base/xorg-proto" pkg_pretend() { if use kernel_linux ; then @@ -48,21 +35,10 @@ pkg_pretend() { check_extra_config } -src_prepare() { - default - [[ ${PV} == 9999 ]] && eautoreconf -} - src_configure() { - local econfargs=( - --disable-selective-werror + XORG_CONFIGURE_OPTIONS=( $(use_enable glamor) $(use_enable udev) ) - econf "${econfargs[@]}" -} - -src_install() { - default - find "${D}" -name '*.la' -delete || die + xorg-2_src_configure }