Gentoo Archives: gentoo-commits

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