1 |
chainsaw 09/01/19 17:21:11 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: alsa-utils-1.0.19.ebuild |
5 |
Log: |
6 |
Version bump, disabling the ill-advised automatic module unloading. Closes bug #175740 and #253535. |
7 |
(Portage version: 2.1.6.7/cvs/Linux x86_64) |
8 |
|
9 |
Revision Changes Path |
10 |
1.255 media-sound/alsa-utils/ChangeLog |
11 |
|
12 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-sound/alsa-utils/ChangeLog?rev=1.255&view=markup |
13 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-sound/alsa-utils/ChangeLog?rev=1.255&content-type=text/plain |
14 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-sound/alsa-utils/ChangeLog?r1=1.254&r2=1.255 |
15 |
|
16 |
Index: ChangeLog |
17 |
=================================================================== |
18 |
RCS file: /var/cvsroot/gentoo-x86/media-sound/alsa-utils/ChangeLog,v |
19 |
retrieving revision 1.254 |
20 |
retrieving revision 1.255 |
21 |
diff -u -r1.254 -r1.255 |
22 |
--- ChangeLog 21 Dec 2008 15:03:35 -0000 1.254 |
23 |
+++ ChangeLog 19 Jan 2009 17:21:11 -0000 1.255 |
24 |
@@ -1,6 +1,20 @@ |
25 |
# ChangeLog for media-sound/alsa-utils |
26 |
-# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2 |
27 |
-# $Header: /var/cvsroot/gentoo-x86/media-sound/alsa-utils/ChangeLog,v 1.254 2008/12/21 15:03:35 nixnut Exp $ |
28 |
+# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 |
29 |
+# $Header: /var/cvsroot/gentoo-x86/media-sound/alsa-utils/ChangeLog,v 1.255 2009/01/19 17:21:11 chainsaw Exp $ |
30 |
+ |
31 |
+*alsa-utils-1.0.19 (19 Jan 2009) |
32 |
+ |
33 |
+ 19 Jan 2009; <chainsaw@g.o> +files/alsasound-1.0.19.confd, |
34 |
+ +files/alsasound-1.0.19.initd, +alsa-utils-1.0.19.ebuild: |
35 |
+ Version bump, disabling the ill-advised automatic module unloading. Note |
36 |
+ that our recommendations have changed, you are encouraged to build your |
37 |
+ audio drivers into the kernels unless the device is hotpluggable or needs |
38 |
+ special parameters (such as model= for HD-Audio). Unloading did not work |
39 |
+ if the audio device prefix was not snd, as reported by chad heuschober |
40 |
+ <chad_ryan1@×××××××.com> in bug #175740. As Dieter Ries <clip2@×××.de> |
41 |
+ reported in bug #253535 the modularisation of the HD-Audio driver meant |
42 |
+ that the fragile code handling this broke further as ordering was not |
43 |
+ taken into account. |
44 |
|
45 |
21 Dec 2008; nixnut <nixnut@g.o> alsa-utils-1.0.17.ebuild: |
46 |
Stable on ppc wrt bug 245517 |
47 |
|
48 |
|
49 |
|
50 |
1.1 media-sound/alsa-utils/alsa-utils-1.0.19.ebuild |
51 |
|
52 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-sound/alsa-utils/alsa-utils-1.0.19.ebuild?rev=1.1&view=markup |
53 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-sound/alsa-utils/alsa-utils-1.0.19.ebuild?rev=1.1&content-type=text/plain |
54 |
|
55 |
Index: alsa-utils-1.0.19.ebuild |
56 |
=================================================================== |
57 |
# Copyright 1999-2009 Gentoo Foundation |
58 |
# Distributed under the terms of the GNU General Public License v2 |
59 |
# $Header: /var/cvsroot/gentoo-x86/media-sound/alsa-utils/alsa-utils-1.0.19.ebuild,v 1.1 2009/01/19 17:21:11 chainsaw Exp $ |
60 |
|
61 |
inherit eutils |
62 |
|
63 |
MY_P="${P/_rc/rc}" |
64 |
|
65 |
DESCRIPTION="Advanced Linux Sound Architecture Utils (alsactl, alsamixer, etc.)" |
66 |
HOMEPAGE="http://www.alsa-project.org/" |
67 |
SRC_URI="mirror://alsaproject/utils/${MY_P}.tar.bz2" |
68 |
|
69 |
LICENSE="GPL-2" |
70 |
SLOT="0.9" |
71 |
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sh ~sparc ~x86" |
72 |
IUSE="nls midi minimal" |
73 |
|
74 |
DEPEND=">=sys-libs/ncurses-5.1 |
75 |
dev-util/dialog |
76 |
>=media-libs/alsa-lib-${PV} |
77 |
app-text/xmlto" |
78 |
RDEPEND="${DEPEND} |
79 |
virtual/modutils |
80 |
!minimal? ( sys-apps/pciutils )" |
81 |
|
82 |
S="${WORKDIR}/${MY_P}" |
83 |
|
84 |
pkg_setup() { |
85 |
if use midi && ! built_with_use --missing true media-libs/alsa-lib midi; then |
86 |
eerror "" |
87 |
eerror "To be able to build alsa-utils with midi support you need" |
88 |
eerror "to have built media-libs/alsa-lib with midi USE flag." |
89 |
die "Missing midi USE flag on media-libs/alsa-lib" |
90 |
fi |
91 |
} |
92 |
|
93 |
src_compile() { |
94 |
econf $(use_enable nls) \ |
95 |
$(use_enable midi sequencer) \ |
96 |
|| die "configure failed" |
97 |
|
98 |
emake || die "make failed" |
99 |
} |
100 |
|
101 |
pkg_preinst() { |
102 |
if [[ -a /etc/modules.d/alsa ]] && [[ ! -a /etc/modprobe.d/alsa ]]; then |
103 |
elog "Moving old alsa configuration in modules.d to new" |
104 |
elog "location in modprobe.d in /etc/" |
105 |
mv "${ROOT}/etc/modules.d/alsa" "${ROOT}/etc/modprobe.d/alsa" |
106 |
fi |
107 |
} |
108 |
|
109 |
src_install() { |
110 |
local ALSA_UTILS_DOCS="ChangeLog README TODO |
111 |
seq/aconnect/README.aconnect |
112 |
seq/aseqnet/README.aseqnet" |
113 |
|
114 |
emake DESTDIR="${D}" install || die "Installation Failed" |
115 |
|
116 |
dodoc ${ALSA_UTILS_DOCS} || die |
117 |
newdoc alsamixer/README README.alsamixer || die |
118 |
|
119 |
newinitd "${FILESDIR}/alsasound-1.0.19.initd" alsasound |
120 |
newconfd "${FILESDIR}/alsasound-1.0.19.confd" alsasound |
121 |
insinto /etc/modprobe.d |
122 |
newins "${FILESDIR}/alsa-modules.conf-rc" alsa |
123 |
|
124 |
keepdir /var/lib/alsa |
125 |
} |
126 |
|
127 |
pkg_postinst() { |
128 |
echo |
129 |
elog "To take advantage of the init script, and automate the process of" |
130 |
elog "storing and restoring sound-card mixer levels you should" |
131 |
elog "add alsasound to the boot runlevel. You can do this as" |
132 |
elog "root like so:" |
133 |
elog " # rc-update add alsasound boot" |
134 |
echo |
135 |
elog "The script will load ALSA modules, if you choose to use a modular" |
136 |
elog "configuration. The Gentoo ALSA developers recommend you to build" |
137 |
elog "your audio drivers into the kernel unless the device is hotpluggable" |
138 |
elog "or you need to supply specific options (such as model= to HD Audio)." |
139 |
echo |
140 |
ewarn "Automated unloading of ALSA modules is deprecated and unsupported." |
141 |
ewarn "Should you choose to use it, bug reports will not be accepted." |
142 |
echo |
143 |
if use minimal; then |
144 |
ewarn "The minimal use flag disables the dependency on pciutils that" |
145 |
ewarn "is needed by alsaconf at runtime." |
146 |
fi |
147 |
} |