From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: 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 8B21A138334 for ; Fri, 26 Apr 2019 21:20:49 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 7531CE0896; Fri, 26 Apr 2019 21:20:48 +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 48B7EE0896 for ; Fri, 26 Apr 2019 21:20:48 +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 7AD8C3429F2 for ; Fri, 26 Apr 2019 21:20:46 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id DA0C35CC for ; Fri, 26 Apr 2019 21:20:44 +0000 (UTC) From: "Matt Turner" 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" Message-ID: <1556313626.4e6ac224882527af7d365ef4b2bf909513504e4a.mattst88@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: x11-drivers/xf86-video-intel/files/, x11-drivers/xf86-video-intel/ X-VCS-Repository: repo/gentoo X-VCS-Files: x11-drivers/xf86-video-intel/Manifest x11-drivers/xf86-video-intel/files/xf86-video-intel-gcc-pr65873.patch x11-drivers/xf86-video-intel/xf86-video-intel-2.99.917_p20190301.ebuild X-VCS-Directories: x11-drivers/xf86-video-intel/files/ x11-drivers/xf86-video-intel/ X-VCS-Committer: mattst88 X-VCS-Committer-Name: Matt Turner X-VCS-Revision: 4e6ac224882527af7d365ef4b2bf909513504e4a X-VCS-Branch: master Date: Fri, 26 Apr 2019 21:20:44 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 91497c36-da09-4879-b2ea-005ab5409a79 X-Archives-Hash: 4e8c812648a5da0c9f6b787ae085833d commit: 4e6ac224882527af7d365ef4b2bf909513504e4a Author: Matt Turner gentoo org> AuthorDate: Fri Apr 26 21:17:27 2019 +0000 Commit: Matt Turner gentoo org> CommitDate: Fri Apr 26 21:20:26 2019 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4e6ac224 x11-drivers/xf86-video-intel: Version bump to 2.99.917_p20190301 Closes: https://bugs.gentoo.org/653320 Closes: https://bugs.gentoo.org/673040 Signed-off-by: Matt Turner gentoo.org> x11-drivers/xf86-video-intel/Manifest | 1 + .../files/xf86-video-intel-gcc-pr65873.patch | 12 +++ .../xf86-video-intel-2.99.917_p20190301.ebuild | 91 ++++++++++++++++++++++ 3 files changed, 104 insertions(+) diff --git a/x11-drivers/xf86-video-intel/Manifest b/x11-drivers/xf86-video-intel/Manifest index 057061291f1..65508b4a528 100644 --- a/x11-drivers/xf86-video-intel/Manifest +++ b/x11-drivers/xf86-video-intel/Manifest @@ -1 +1,2 @@ DIST xf86-video-intel-2.99.917_p20180214.tar.xz 951544 BLAKE2B 57df523168c6bf650ddf6ca27bbc799a8a9d183c9a6a4d2e232288124b57bfff7bb36a8fcc55e2845c4ece2653d39c0830c4ea2ecef4f1968a3ee7413506bae3 SHA512 afc8a4db550aa5567fa6f5eb9b480fac7c3e496eb62ae62a6a7b7e317515e24d21bf78bf1b03ba90cfd909dd37a5f65247c7aa2314234aec3d575e53db825912 +DIST xf86-video-intel-2.99.917_p20190301.tar.bz2 1247462 BLAKE2B 9047c7a05acaa2125db1527da58d6b4f18d1893e66413facf97b9136adf900cd2b806d149e484880a4361f4798ced52c03ef1b2054136e2896b60aefc3b5e319 SHA512 09ef78d002c6337a2b260999f07c70d9778aa7151f3252c7e2a186b0d1bf218192b616ac8363861e5285dec8fc8599b77eeb1a8195ca5029816f55189aee2b34 diff --git a/x11-drivers/xf86-video-intel/files/xf86-video-intel-gcc-pr65873.patch b/x11-drivers/xf86-video-intel/files/xf86-video-intel-gcc-pr65873.patch new file mode 100644 index 00000000000..ed05bce9a26 --- /dev/null +++ b/x11-drivers/xf86-video-intel/files/xf86-video-intel-gcc-pr65873.patch @@ -0,0 +1,12 @@ +diff -up xf86-video-intel-20150520/src/sna/compiler.h.jx xf86-video-intel-20150520/src/sna/compiler.h +--- xf86-video-intel-20150520/src/sna/compiler.h.jx 2015-05-19 07:44:26.000000000 -0400 ++++ xf86-video-intel-20150520/src/sna/compiler.h 2015-05-20 12:53:54.797918726 -0400 +@@ -64,7 +64,7 @@ + #endif + + #if HAS_GCC(4, 6) && defined(__OPTIMIZE__) +-#define fast __attribute__((optimize("Ofast"))) ++#define fast __attribute__((optimize("O3"))) + #else + #define fast + #endif diff --git a/x11-drivers/xf86-video-intel/xf86-video-intel-2.99.917_p20190301.ebuild b/x11-drivers/xf86-video-intel/xf86-video-intel-2.99.917_p20190301.ebuild new file mode 100644 index 00000000000..2f4d89bae8f --- /dev/null +++ b/x11-drivers/xf86-video-intel/xf86-video-intel-2.99.917_p20190301.ebuild @@ -0,0 +1,91 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +XORG_DRI=dri +XORG_EAUTORECONF=yes +inherit linux-info xorg-3 flag-o-matic + +if [[ ${PV} == 9999* ]]; then + SRC_URI="" +else + KEYWORDS="~amd64 ~x86" + COMMIT_ID="6afed33b2d673d88674f0c76efe500ae414e8e1b" + SRC_URI="https://gitlab.freedesktop.org/xorg/driver/xf86-video-intel/-/archive/${COMMIT_ID}/${P}.tar.bz2" + S="${WORKDIR}/${PN}-${COMMIT_ID}" +fi + +DESCRIPTION="X.Org driver for Intel cards" + +IUSE="debug +sna tools +udev uxa xvmc" + +REQUIRED_USE=" + || ( sna uxa ) +" +RDEPEND=" + x11-libs/libXext + x11-libs/libXfixes + x11-libs/libXScrnSaver + >=x11-libs/pixman-0.27.1 + >=x11-libs/libdrm-2.4.52[video_cards_intel] + >=x11-base/xorg-server-1.18 + !<=media-libs/mesa-12.0.4 + tools? ( + x11-libs/libX11 + x11-libs/libxcb + x11-libs/libXcursor + x11-libs/libXdamage + x11-libs/libXinerama + x11-libs/libXrandr + x11-libs/libXrender + x11-libs/libxshmfence + x11-libs/libXtst + ) + udev? ( + virtual/libudev:= + ) + xvmc? ( + x11-libs/libXvMC + >=x11-libs/libxcb-1.5 + x11-libs/xcb-util + ) +" +DEPEND="${RDEPEND} + x11-base/xorg-proto" + +PATCHES=( + "${FILESDIR}"/${PN}-gcc-pr65873.patch +) + +src_configure() { + replace-flags -Os -O2 + XORG_CONFIGURE_OPTIONS=( + --disable-dri1 + $(use_enable debug) + $(use_enable dri) + $(use_enable dri dri3) + $(usex dri "--with-default-dri=3") + $(use_enable sna) + $(use_enable tools) + $(use_enable udev) + $(use_enable uxa) + $(use_enable xvmc) + ) + xorg-3_src_configure +} + +pkg_postinst() { + if linux_config_exists && \ + kernel_is -lt 4 3 && ! linux_chkconfig_present DRM_I915_KMS; then + echo + ewarn "This driver requires KMS support in your kernel" + ewarn " Device Drivers --->" + ewarn " Graphics support --->" + ewarn " Direct Rendering Manager (XFree86 4.1.0 and higher DRI support) --->" + ewarn " <*> Intel 830M, 845G, 852GM, 855GM, 865G (i915 driver) --->" + ewarn " i915 driver" + ewarn " [*] Enable modesetting on intel by default" + echo + fi +}