From: | "Chi-Thanh Christopher Nguyen (chithanh)" <chithanh@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in x11-drivers/radeon-ucode: radeon-ucode-20140204.ebuild ChangeLog |
Date: | Tue, 04 Feb 2014 17:54:49 |
Message-Id: | 20140204175444.CC7E02004C@flycatcher.gentoo.org |
1 | chithanh 14/02/04 17:54:44 |
2 | |
3 | Modified: ChangeLog |
4 | Added: radeon-ucode-20140204.ebuild |
5 | Log: |
6 | Update for VCE 2.0 firmware |
7 | |
8 | (Portage version: 2.2.7/cvs/Linux x86_64, unsigned Manifest commit) |
9 | |
10 | Revision Changes Path |
11 | 1.36 x11-drivers/radeon-ucode/ChangeLog |
12 | |
13 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-drivers/radeon-ucode/ChangeLog?rev=1.36&view=markup |
14 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-drivers/radeon-ucode/ChangeLog?rev=1.36&content-type=text/plain |
15 | diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-drivers/radeon-ucode/ChangeLog?r1=1.35&r2=1.36 |
16 | |
17 | Index: ChangeLog |
18 | =================================================================== |
19 | RCS file: /var/cvsroot/gentoo-x86/x11-drivers/radeon-ucode/ChangeLog,v |
20 | retrieving revision 1.35 |
21 | retrieving revision 1.36 |
22 | diff -u -r1.35 -r1.36 |
23 | --- ChangeLog 22 Nov 2013 18:46:35 -0000 1.35 |
24 | +++ ChangeLog 4 Feb 2014 17:54:44 -0000 1.36 |
25 | @@ -1,6 +1,12 @@ |
26 | # ChangeLog for x11-drivers/radeon-ucode |
27 | -# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 |
28 | -# $Header: /var/cvsroot/gentoo-x86/x11-drivers/radeon-ucode/ChangeLog,v 1.35 2013/11/22 18:46:35 chithanh Exp $ |
29 | +# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 |
30 | +# $Header: /var/cvsroot/gentoo-x86/x11-drivers/radeon-ucode/ChangeLog,v 1.36 2014/02/04 17:54:44 chithanh Exp $ |
31 | + |
32 | +*radeon-ucode-20140204 (04 Feb 2014) |
33 | + |
34 | + 04 Feb 2014; Chí-Thanh Christopher Nguyễn <chithanh@g.o> |
35 | + +radeon-ucode-20140204.ebuild: |
36 | + Update for VCE 2.0 firmware |
37 | |
38 | *radeon-ucode-20131111 (22 Nov 2013) |
39 | |
40 | |
41 | |
42 | |
43 | 1.1 x11-drivers/radeon-ucode/radeon-ucode-20140204.ebuild |
44 | |
45 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-drivers/radeon-ucode/radeon-ucode-20140204.ebuild?rev=1.1&view=markup |
46 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-drivers/radeon-ucode/radeon-ucode-20140204.ebuild?rev=1.1&content-type=text/plain |
47 | |
48 | Index: radeon-ucode-20140204.ebuild |
49 | =================================================================== |
50 | # Copyright 1999-2014 Gentoo Foundation |
51 | # Distributed under the terms of the GNU General Public License v2 |
52 | # $Header: /var/cvsroot/gentoo-x86/x11-drivers/radeon-ucode/radeon-ucode-20140204.ebuild,v 1.1 2014/02/04 17:54:44 chithanh Exp $ |
53 | |
54 | EAPI=5 |
55 | |
56 | inherit linux-info |
57 | |
58 | DESCRIPTION="IRQ microcode for r6xx/r7xx/Evergreen/N.Islands/S.Islands Radeon GPUs and APUs" |
59 | HOMEPAGE="http://people.freedesktop.org/~agd5f/radeon_ucode/" |
60 | SRC_URI="mirror://gentoo/${P}.tar.xz" |
61 | |
62 | LICENSE="radeon-ucode" |
63 | SLOT="0" |
64 | KEYWORDS="~amd64 ~x86" |
65 | IUSE="" |
66 | |
67 | RDEPEND="!sys-kernel/linux-firmware[-savedconfig]" |
68 | |
69 | S=${WORKDIR}/${PN/-/_} |
70 | |
71 | src_install() { |
72 | insinto /lib/firmware/radeon |
73 | FILES=( *.bin ) |
74 | doins ${FILES[@]} || die "doins failed" |
75 | } |
76 | |
77 | pkg_postinst() { |
78 | if linux_config_exists && linux_chkconfig_builtin DRM_RADEON; then |
79 | if ! linux_chkconfig_present FIRMWARE_IN_KERNEL || \ |
80 | ! [[ "$(linux_chkconfig_string EXTRA_FIRMWARE)" == *_rlc.bin* ]]; then |
81 | ewarn "Your kernel has radeon DRM built-in but not the IRQ microcode." |
82 | ewarn "For kernel modesetting to work, please set in kernel config" |
83 | ewarn "CONFIG_FIRMWARE_IN_KERNEL=y" |
84 | ewarn "CONFIG_EXTRA_FIRMWARE_DIR=\"/lib/firmware\"" |
85 | ewarn "CONFIG_EXTRA_FIRMWARE=\"${FILES[@]/#/radeon/}\"" |
86 | ewarn "You may skip microcode files for which no hardware is installed." |
87 | ewarn "More information at http://wiki.gentoo.org/wiki/Radeon#Firmware" |
88 | fi |
89 | fi |
90 | } |