1 |
commit: 671846f3c983fc7f9c5c1bab40d783efb1d2f801 |
2 |
Author: Emil Karlson <jekarlson <AT> gmail <DOT> com> |
3 |
AuthorDate: Tue Sep 30 16:43:38 2014 +0000 |
4 |
Commit: Emil Karlson <jekarlson <AT> gmail <DOT> com> |
5 |
CommitDate: Tue Sep 30 16:43:38 2014 +0000 |
6 |
URL: http://sources.gentoo.org/gitweb/?p=proj/x11.git;a=commit;h=671846f3 |
7 |
|
8 |
x11-drivers/ati-drivers: version bump |
9 |
|
10 |
--- |
11 |
profiles/package.mask | 2 +- |
12 |
...-13.12-r1.ebuild => ati-drivers-14.9-r1.ebuild} | 53 +++++++++++++++------- |
13 |
...s-13.11_beta.ebuild => ati-drivers-14.9.ebuild} | 34 +++++++++----- |
14 |
3 files changed, 60 insertions(+), 29 deletions(-) |
15 |
|
16 |
diff --git a/profiles/package.mask b/profiles/package.mask |
17 |
index 86e0412..ac64da8 100644 |
18 |
--- a/profiles/package.mask |
19 |
+++ b/profiles/package.mask |
20 |
@@ -128,5 +128,5 @@ |
21 |
=x11-proto/xproto-9999 |
22 |
|
23 |
#mask until new multilib is enabled |
24 |
-=x11-drivers/ati-drivers-13.12-r1 |
25 |
=x11-drivers/ati-drivers-14.4_p1-r1 |
26 |
+=x11-drivers/ati-drivers-14.9-r1 |
27 |
|
28 |
diff --git a/x11-drivers/ati-drivers/ati-drivers-13.12-r1.ebuild b/x11-drivers/ati-drivers/ati-drivers-14.9-r1.ebuild |
29 |
similarity index 94% |
30 |
rename from x11-drivers/ati-drivers/ati-drivers-13.12-r1.ebuild |
31 |
rename to x11-drivers/ati-drivers/ati-drivers-14.9-r1.ebuild |
32 |
index 3f1e1f3..fbaff2e 100644 |
33 |
--- a/x11-drivers/ati-drivers/ati-drivers-13.12-r1.ebuild |
34 |
+++ b/x11-drivers/ati-drivers/ati-drivers-14.9-r1.ebuild |
35 |
@@ -8,11 +8,11 @@ inherit eutils multilib-build linux-info linux-mod toolchain-funcs versionator p |
36 |
|
37 |
DESCRIPTION="Ati precompiled drivers for Radeon Evergreen (HD5000 Series) and newer chipsets" |
38 |
HOMEPAGE="http://www.amd.com" |
39 |
-#RUN="${WORKDIR}/amd-catalyst-13.11-beta1-linux-x86.x86_64.run" |
40 |
+RUN="${WORKDIR}/fglrx-14.301.1001/amd-driver-installer-14.301.1001-x86.x86_64.run" |
41 |
SLOT="1" |
42 |
# Uses javascript for download YESSSS |
43 |
#DRIVERS_URI="http://www2.ati.com/drivers/linux/amd-catalyst-13.12-linux-x86.x86_64.zip" |
44 |
-DRIVERS_URI="http://dev.gentooexperimental.org/~scarabeus/amd-catalyst-13.12-linux-x86.x86_64.zip" |
45 |
+DRIVERS_URI="mirror://gentoo/amd-catalyst-14-9-linux-x86-x86-64.zip" |
46 |
XVBA_SDK_URI="http://developer.amd.com/wordpress/media/2012/10/xvba-sdk-0.74-404001.tar.gz" |
47 |
SRC_URI="${DRIVERS_URI} ${XVBA_SDK_URI}" |
48 |
FOLDER_PREFIX="common/" |
49 |
@@ -21,14 +21,36 @@ IUSE="debug +modules qt4 static-libs pax_kernel" |
50 |
LICENSE="AMD GPL-2 QPL-1.0" |
51 |
KEYWORDS="-* ~amd64 ~x86" |
52 |
|
53 |
-RESTRICT="bindist test" |
54 |
+RESTRICT="bindist test fetch" |
55 |
|
56 |
RDEPEND=" |
57 |
- <=x11-base/xorg-server-1.14.49[-minimal] |
58 |
+ <=x11-base/xorg-server-1.15.49[-minimal] |
59 |
>=app-admin/eselect-opengl-1.0.7 |
60 |
app-admin/eselect-opencl |
61 |
sys-power/acpid |
62 |
x11-apps/xauth |
63 |
+ x11-libs/libX11 |
64 |
+ x11-libs/libXext |
65 |
+ x11-libs/libXinerama |
66 |
+ x11-libs/libXrandr |
67 |
+ x11-libs/libXrender |
68 |
+ virtual/glu |
69 |
+ abi_x86_32? ( |
70 |
+ || ( |
71 |
+ virtual/glu[abi_x86_32] |
72 |
+ app-emulation/emul-linux-x86-opengl |
73 |
+ ) |
74 |
+ || ( |
75 |
+ ( |
76 |
+ x11-libs/libX11[abi_x86_32] |
77 |
+ x11-libs/libXext[abi_x86_32] |
78 |
+ x11-libs/libXinerama[abi_x86_32] |
79 |
+ x11-libs/libXrandr[abi_x86_32] |
80 |
+ x11-libs/libXrender[abi_x86_32] |
81 |
+ ) |
82 |
+ app-emulation/emul-linux-x86-xlibs |
83 |
+ ) |
84 |
+ ) |
85 |
qt4? ( |
86 |
x11-libs/libICE |
87 |
x11-libs/libSM |
88 |
@@ -91,6 +113,8 @@ QA_PRESTRIPPED=" |
89 |
usr/lib\(32\|64\)\?/libAMDXvBA.so.1.0 |
90 |
usr/lib\(32\|64\)\?/libaticaldd.so |
91 |
usr/lib\(32\|64\)\?/dri/fglrx_dri.so |
92 |
+ usr/lib\(32\|64\)\?/OpenCL/vendors/amd/libOpenCL.so.1 |
93 |
+ usr/lib\(32\|64\)\?/OpenCL/vendors/amd/libamdocl\(32\|64\).so |
94 |
" |
95 |
|
96 |
QA_SONAME=" |
97 |
@@ -131,6 +155,14 @@ QA_DT_HASH=" |
98 |
usr/lib\(32\|64\)\?/OpenCL/vendors/amd/libOpenCL.so.1 |
99 |
" |
100 |
|
101 |
+pkg_nofetch() { |
102 |
+ einfo "The driver packages" |
103 |
+ einfo ${A} |
104 |
+ einfo "need to be downloaded manually from" |
105 |
+ einfo "http://support.amd.com/en-us/download/desktop?os=Linux%20x86_64" |
106 |
+ einfo "and ${XVBA_SDK_URI}" |
107 |
+} |
108 |
+ |
109 |
pkg_pretend() { |
110 |
local CONFIG_CHECK="~MTRR ~!DRM ACPI PCI_MSI !LOCKDEP !PAX_KERNEXEC_PLUGIN_METHOD_OR" |
111 |
use amd64 && CONFIG_CHECK+=" COMPAT" |
112 |
@@ -275,22 +307,11 @@ src_prepare() { |
113 |
# compile fix for AGP-less kernel, bug #435322 |
114 |
epatch "${FILESDIR}"/ati-drivers-12.9-KCL_AGP_FindCapsRegisters-stub.patch |
115 |
|
116 |
- # Compile fix for kernel typesafe uid types #469160 |
117 |
- epatch "${FILESDIR}/typesafe-kuid.diff" |
118 |
- |
119 |
epatch "${FILESDIR}/ati-drivers-13.8-beta-include-seq_file.patch" |
120 |
|
121 |
- epatch "${FILESDIR}/check-for-iommu-only-if-iommu-is-supported.patch" |
122 |
- |
123 |
# Fix #483400 |
124 |
epatch "${FILESDIR}/fgl_glxgears-do-not-include-glATI.patch" |
125 |
|
126 |
- # Fix build on new kernels |
127 |
- epatch "${FILESDIR}/ati-drivers-13.12-acpi.patch" |
128 |
- |
129 |
- # Add support for linux-3.13. See #498766 |
130 |
- epatch "${FILESDIR}/ati-drivers-linux-3.13-acpi-handle.patch" |
131 |
- |
132 |
# Compile fix, https://bugs.gentoo.org/show_bug.cgi?id=454870 |
133 |
use pax_kernel && epatch "${FILESDIR}/const-notifier-block.patch" |
134 |
|
135 |
@@ -387,7 +408,7 @@ src_install() { |
136 |
insinto /etc/ati |
137 |
exeinto /etc/ati |
138 |
# Everything except for the authatieventsd.sh script. |
139 |
- doins ${FOLDER_PREFIX}etc/ati/{logo*,control,atiogl.xml,signature,amdpcsdb.default} |
140 |
+ doins ${FOLDER_PREFIX}etc/ati/{logo*,control,signature,amdpcsdb.default} |
141 |
doexe ${FOLDER_PREFIX}etc/ati/authatieventsd.sh |
142 |
|
143 |
# include. |
144 |
|
145 |
diff --git a/x11-drivers/ati-drivers/ati-drivers-13.11_beta.ebuild b/x11-drivers/ati-drivers/ati-drivers-14.9.ebuild |
146 |
similarity index 95% |
147 |
rename from x11-drivers/ati-drivers/ati-drivers-13.11_beta.ebuild |
148 |
rename to x11-drivers/ati-drivers/ati-drivers-14.9.ebuild |
149 |
index 34a44b2..70857a8 100644 |
150 |
--- a/x11-drivers/ati-drivers/ati-drivers-13.11_beta.ebuild |
151 |
+++ b/x11-drivers/ati-drivers/ati-drivers-14.9.ebuild |
152 |
@@ -8,9 +8,11 @@ inherit eutils multilib linux-info linux-mod toolchain-funcs versionator pax-uti |
153 |
|
154 |
DESCRIPTION="Ati precompiled drivers for Radeon Evergreen (HD5000 Series) and newer chipsets" |
155 |
HOMEPAGE="http://www.amd.com" |
156 |
-RUN="${WORKDIR}/amd-catalyst-13.11-beta1-linux-x86.x86_64.run" |
157 |
+RUN="${WORKDIR}/fglrx-14.301.1001/amd-driver-installer-14.301.1001-x86.x86_64.run" |
158 |
SLOT="1" |
159 |
-DRIVERS_URI="http://www2.ati.com/drivers/beta/amd-catalyst-13.11-betav1-linux-x86.x86_64.zip" |
160 |
+# Uses javascript for download YESSSS |
161 |
+#DRIVERS_URI="http://www2.ati.com/drivers/linux/amd-catalyst-13.12-linux-x86.x86_64.zip" |
162 |
+DRIVERS_URI="mirror://gentoo/amd-catalyst-14-9-linux-x86-x86-64.zip" |
163 |
XVBA_SDK_URI="http://developer.amd.com/wordpress/media/2012/10/xvba-sdk-0.74-404001.tar.gz" |
164 |
SRC_URI="${DRIVERS_URI} ${XVBA_SDK_URI}" |
165 |
FOLDER_PREFIX="common/" |
166 |
@@ -19,10 +21,10 @@ IUSE="debug +modules multilib qt4 static-libs pax_kernel" |
167 |
LICENSE="AMD GPL-2 QPL-1.0" |
168 |
KEYWORDS="-* ~amd64 ~x86" |
169 |
|
170 |
-RESTRICT="bindist test" |
171 |
+RESTRICT="bindist test fetch" |
172 |
|
173 |
RDEPEND=" |
174 |
- <=x11-base/xorg-server-1.14.49[-minimal] |
175 |
+ <=x11-base/xorg-server-1.15.49[-minimal] |
176 |
>=app-admin/eselect-opengl-1.0.7 |
177 |
app-admin/eselect-opencl |
178 |
sys-power/acpid |
179 |
@@ -34,7 +36,10 @@ RDEPEND=" |
180 |
x11-libs/libXrender |
181 |
virtual/glu |
182 |
multilib? ( |
183 |
- app-emulation/emul-linux-x86-opengl |
184 |
+ || ( |
185 |
+ virtual/glu[abi_x86_32] |
186 |
+ app-emulation/emul-linux-x86-opengl |
187 |
+ ) |
188 |
|| ( |
189 |
( |
190 |
x11-libs/libX11[abi_x86_32] |
191 |
@@ -108,6 +113,8 @@ QA_PRESTRIPPED=" |
192 |
usr/lib\(32\|64\)\?/libAMDXvBA.so.1.0 |
193 |
usr/lib\(32\|64\)\?/libaticaldd.so |
194 |
usr/lib\(32\|64\)\?/dri/fglrx_dri.so |
195 |
+ usr/lib\(32\|64\)\?/OpenCL/vendors/amd/libOpenCL.so.1 |
196 |
+ usr/lib\(32\|64\)\?/OpenCL/vendors/amd/libamdocl\(32\|64\).so |
197 |
" |
198 |
|
199 |
QA_SONAME=" |
200 |
@@ -148,6 +155,14 @@ QA_DT_HASH=" |
201 |
usr/lib\(32\|64\)\?/OpenCL/vendors/amd/libOpenCL.so.1 |
202 |
" |
203 |
|
204 |
+pkg_nofetch() { |
205 |
+ einfo "The driver packages" |
206 |
+ einfo ${A} |
207 |
+ einfo "need to be downloaded manually from" |
208 |
+ einfo "http://support.amd.com/en-us/download/desktop?os=Linux%20x86_64" |
209 |
+ einfo "and ${XVBA_SDK_URI}" |
210 |
+} |
211 |
+ |
212 |
pkg_pretend() { |
213 |
local CONFIG_CHECK="~MTRR ~!DRM ACPI PCI_MSI !LOCKDEP !PAX_KERNEXEC_PLUGIN_METHOD_OR" |
214 |
use amd64 && CONFIG_CHECK+=" COMPAT" |
215 |
@@ -239,7 +254,7 @@ src_unpack() { |
216 |
else |
217 |
RUN="${DISTDIR}/${DRIVERS_DISTFILE}" |
218 |
fi |
219 |
- sh ${RUN} --extract "${S}" 2>&1 > /dev/null || die |
220 |
+ sh "${RUN}" --extract "${S}" 2>&1 > /dev/null || die |
221 |
fi |
222 |
|
223 |
mkdir xvba_sdk |
224 |
@@ -292,13 +307,8 @@ src_prepare() { |
225 |
# compile fix for AGP-less kernel, bug #435322 |
226 |
epatch "${FILESDIR}"/ati-drivers-12.9-KCL_AGP_FindCapsRegisters-stub.patch |
227 |
|
228 |
- # Compile fix for kernel typesafe uid types #469160 |
229 |
- epatch "${FILESDIR}/typesafe-kuid.diff" |
230 |
- |
231 |
epatch "${FILESDIR}/ati-drivers-13.8-beta-include-seq_file.patch" |
232 |
|
233 |
- epatch "${FILESDIR}/check-for-iommu-only-if-iommu-is-supported.patch" |
234 |
- |
235 |
# Fix #483400 |
236 |
epatch "${FILESDIR}/fgl_glxgears-do-not-include-glATI.patch" |
237 |
|
238 |
@@ -412,7 +422,7 @@ src_install() { |
239 |
insinto /etc/ati |
240 |
exeinto /etc/ati |
241 |
# Everything except for the authatieventsd.sh script. |
242 |
- doins ${FOLDER_PREFIX}etc/ati/{logo*,control,atiogl.xml,signature,amdpcsdb.default} |
243 |
+ doins ${FOLDER_PREFIX}etc/ati/{logo*,control,signature,amdpcsdb.default} |
244 |
doexe ${FOLDER_PREFIX}etc/ati/authatieventsd.sh |
245 |
|
246 |
# include. |