1 |
commit: 0de74f598eef8ff70e9716abcd5bdf1083e2b54f |
2 |
Author: Jason A. Donenfeld <zx2c4 <AT> gentoo <DOT> org> |
3 |
AuthorDate: Tue Mar 10 00:30:37 2020 +0000 |
4 |
Commit: Jason A. Donenfeld <zx2c4 <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue Mar 10 00:31:11 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0de74f59 |
7 |
|
8 |
x11-drivers/xf86-video-intel: bump to 20191206 |
9 |
|
10 |
Closes: https://bugs.gentoo.org/707918 |
11 |
Package-Manager: Portage-2.3.93, Repoman-2.3.20 |
12 |
Signed-off-by: Jason A. Donenfeld <zx2c4 <AT> gentoo.org> |
13 |
|
14 |
x11-drivers/xf86-video-intel/Manifest | 1 + |
15 |
.../files/xf86-video-intel-fno-common.patch | 24 ++++++ |
16 |
.../xf86-video-intel-2.99.917_p20191209.ebuild | 91 ++++++++++++++++++++++ |
17 |
3 files changed, 116 insertions(+) |
18 |
|
19 |
diff --git a/x11-drivers/xf86-video-intel/Manifest b/x11-drivers/xf86-video-intel/Manifest |
20 |
index 18eeaa30870..533a9327ce8 100644 |
21 |
--- a/x11-drivers/xf86-video-intel/Manifest |
22 |
+++ b/x11-drivers/xf86-video-intel/Manifest |
23 |
@@ -1 +1,2 @@ |
24 |
DIST xf86-video-intel-2.99.917_p20190301.tar.bz2 1247462 BLAKE2B 9047c7a05acaa2125db1527da58d6b4f18d1893e66413facf97b9136adf900cd2b806d149e484880a4361f4798ced52c03ef1b2054136e2896b60aefc3b5e319 SHA512 09ef78d002c6337a2b260999f07c70d9778aa7151f3252c7e2a186b0d1bf218192b616ac8363861e5285dec8fc8599b77eeb1a8195ca5029816f55189aee2b34 |
25 |
+DIST xf86-video-intel-2.99.917_p20191209.tar.bz2 1249789 BLAKE2B 69c4772d41283aaf2f635c48448c49f495c2ec443d8ac2ffdb8a3fe68024c31d769bd5d4fdb07cf6150906c44f9562ccb673ac52837fa6be540c61cbc5359ec8 SHA512 a6c9d19736fec794add638731966b8e5841f6b2d81576b5f978b5916cbd4b338aff93ed235c6f284ba86c11cf82a1ebbed2936fdfc539a124c5211436e5ae40c |
26 |
|
27 |
diff --git a/x11-drivers/xf86-video-intel/files/xf86-video-intel-fno-common.patch b/x11-drivers/xf86-video-intel/files/xf86-video-intel-fno-common.patch |
28 |
new file mode 100644 |
29 |
index 00000000000..5c0640f9fac |
30 |
--- /dev/null |
31 |
+++ b/x11-drivers/xf86-video-intel/files/xf86-video-intel-fno-common.patch |
32 |
@@ -0,0 +1,24 @@ |
33 |
+From 7ca3a0d0d9a2de49db30708d38195b6585df4ed8 Mon Sep 17 00:00:00 2001 |
34 |
+From: =?UTF-8?q?Hanno=20B=C3=B6ck?= <hanno@g.o> |
35 |
+Date: Sun, 2 Feb 2020 14:18:39 +0100 |
36 |
+Subject: [PATCH] Avoid duplicate definition of I810CopyROP in i810.h and |
37 |
+ i810_accel.c, fixes compilation with -fno-common/gcc-10. |
38 |
+ |
39 |
+--- |
40 |
+ src/legacy/i810/i810.h | 1 - |
41 |
+ 1 file changed, 1 deletion(-) |
42 |
+ |
43 |
+diff --git a/src/legacy/i810/i810.h b/src/legacy/i810/i810.h |
44 |
+index 347188c9..901b7e64 100644 |
45 |
+--- a/src/legacy/i810/i810.h |
46 |
++++ b/src/legacy/i810/i810.h |
47 |
+@@ -322,6 +322,5 @@ extern void I810InitMC(ScreenPtr pScreen); |
48 |
+ extern const OptionInfoRec *I810AvailableOptions(int chipid, int busid); |
49 |
+ |
50 |
+ extern const int I810CopyROP[16]; |
51 |
+-const int I810PatternROP[16]; |
52 |
+ |
53 |
+ #endif /* _I810_H_ */ |
54 |
+-- |
55 |
+2.24.1 |
56 |
+ |
57 |
|
58 |
diff --git a/x11-drivers/xf86-video-intel/xf86-video-intel-2.99.917_p20191209.ebuild b/x11-drivers/xf86-video-intel/xf86-video-intel-2.99.917_p20191209.ebuild |
59 |
new file mode 100644 |
60 |
index 00000000000..fde4be0da90 |
61 |
--- /dev/null |
62 |
+++ b/x11-drivers/xf86-video-intel/xf86-video-intel-2.99.917_p20191209.ebuild |
63 |
@@ -0,0 +1,91 @@ |
64 |
+# Copyright 1999-2020 Gentoo Authors |
65 |
+# Distributed under the terms of the GNU General Public License v2 |
66 |
+ |
67 |
+EAPI=7 |
68 |
+ |
69 |
+XORG_DRI=dri |
70 |
+XORG_EAUTORECONF=yes |
71 |
+inherit linux-info xorg-3 flag-o-matic |
72 |
+ |
73 |
+if [[ ${PV} == 9999* ]]; then |
74 |
+ SRC_URI="" |
75 |
+else |
76 |
+ KEYWORDS="~amd64 ~x86" |
77 |
+ COMMIT_ID="f66d39544bb8339130c96d282a80f87ca1606caf" |
78 |
+ SRC_URI="https://gitlab.freedesktop.org/xorg/driver/xf86-video-intel/-/archive/${COMMIT_ID}/${P}.tar.bz2" |
79 |
+ S="${WORKDIR}/${PN}-${COMMIT_ID}" |
80 |
+fi |
81 |
+ |
82 |
+DESCRIPTION="X.Org driver for Intel cards" |
83 |
+ |
84 |
+IUSE="debug +sna tools +udev uxa xvmc" |
85 |
+ |
86 |
+REQUIRED_USE=" |
87 |
+ || ( sna uxa ) |
88 |
+" |
89 |
+RDEPEND=" |
90 |
+ x11-libs/libXext |
91 |
+ x11-libs/libXfixes |
92 |
+ x11-libs/libXScrnSaver |
93 |
+ >=x11-libs/pixman-0.27.1 |
94 |
+ >=x11-libs/libdrm-2.4.52[video_cards_intel] |
95 |
+ >=x11-base/xorg-server-1.18 |
96 |
+ !<=media-libs/mesa-12.0.4 |
97 |
+ tools? ( |
98 |
+ x11-libs/libX11 |
99 |
+ x11-libs/libxcb |
100 |
+ x11-libs/libXcursor |
101 |
+ x11-libs/libXdamage |
102 |
+ x11-libs/libXinerama |
103 |
+ x11-libs/libXrandr |
104 |
+ x11-libs/libXrender |
105 |
+ x11-libs/libxshmfence |
106 |
+ x11-libs/libXtst |
107 |
+ ) |
108 |
+ udev? ( |
109 |
+ virtual/libudev:= |
110 |
+ ) |
111 |
+ xvmc? ( |
112 |
+ x11-libs/libXvMC |
113 |
+ >=x11-libs/libxcb-1.5 |
114 |
+ x11-libs/xcb-util |
115 |
+ ) |
116 |
+" |
117 |
+DEPEND="${RDEPEND} |
118 |
+ x11-base/xorg-proto" |
119 |
+ |
120 |
+PATCHES=( |
121 |
+ "${FILESDIR}"/${PN}-fno-common.patch |
122 |
+) |
123 |
+ |
124 |
+src_configure() { |
125 |
+ replace-flags -Os -O2 |
126 |
+ XORG_CONFIGURE_OPTIONS=( |
127 |
+ --disable-dri1 |
128 |
+ $(use_enable debug) |
129 |
+ $(use_enable dri) |
130 |
+ $(use_enable dri dri3) |
131 |
+ $(usex dri "--with-default-dri=3") |
132 |
+ $(use_enable sna) |
133 |
+ $(use_enable tools) |
134 |
+ $(use_enable udev) |
135 |
+ $(use_enable uxa) |
136 |
+ $(use_enable xvmc) |
137 |
+ ) |
138 |
+ xorg-3_src_configure |
139 |
+} |
140 |
+ |
141 |
+pkg_postinst() { |
142 |
+ if linux_config_exists && \ |
143 |
+ kernel_is -lt 4 3 && ! linux_chkconfig_present DRM_I915_KMS; then |
144 |
+ echo |
145 |
+ ewarn "This driver requires KMS support in your kernel" |
146 |
+ ewarn " Device Drivers --->" |
147 |
+ ewarn " Graphics support --->" |
148 |
+ ewarn " Direct Rendering Manager (XFree86 4.1.0 and higher DRI support) --->" |
149 |
+ ewarn " <*> Intel 830M, 845G, 852GM, 855GM, 865G (i915 driver) --->" |
150 |
+ ewarn " i915 driver" |
151 |
+ ewarn " [*] Enable modesetting on intel by default" |
152 |
+ echo |
153 |
+ fi |
154 |
+} |