Gentoo Archives: gentoo-commits

From: "Samuli Suominen (ssuominen)" <ssuominen@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in media-sound/awesfx/files: sfxload.initd sfxload.confd
Date: Wed, 28 Apr 2010 19:01:08
Message-Id: 20100428190106.1587C2C067@corvid.gentoo.org
1 ssuominen 10/04/28 19:01:05
2
3 Modified: sfxload.initd sfxload.confd
4 Log:
5 Use asfxload instead of sfxload by default in init files wrt #290458 by Lukasz Pawelczyk.
6 (Portage version: 2.2_rc67/cvs/Linux x86_64)
7
8 Revision Changes Path
9 1.2 media-sound/awesfx/files/sfxload.initd
10
11 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-sound/awesfx/files/sfxload.initd?rev=1.2&view=markup
12 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-sound/awesfx/files/sfxload.initd?rev=1.2&content-type=text/plain
13 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-sound/awesfx/files/sfxload.initd?r1=1.1&r2=1.2
14
15 Index: sfxload.initd
16 ===================================================================
17 RCS file: /var/cvsroot/gentoo-x86/media-sound/awesfx/files/sfxload.initd,v
18 retrieving revision 1.1
19 retrieving revision 1.2
20 diff -u -r1.1 -r1.2
21 --- sfxload.initd 30 May 2009 19:22:46 -0000 1.1
22 +++ sfxload.initd 28 Apr 2010 19:01:05 -0000 1.2
23 @@ -1,7 +1,7 @@
24 #!/sbin/runscript
25 -# Copyright 1999-2009 Gentoo Foundation
26 +# Copyright 1999-2010 Gentoo Foundation
27 # Distributed under the terms of the GNU General Public License v2
28 -# $Header: /var/cvsroot/gentoo-x86/media-sound/awesfx/files/sfxload.initd,v 1.1 2009/05/30 19:22:46 ssuominen Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/media-sound/awesfx/files/sfxload.initd,v 1.2 2010/04/28 19:01:05 ssuominen Exp $
30
31 depend() {
32 need alsasound
33 @@ -9,12 +9,12 @@
34
35 start() {
36 ebegin "Loading sound font bank"
37 - /usr/bin/sfxload -q ${sfxbank}
38 + ${sfxload} -q "${sfxbank}"
39 eend $? "Error at loading sound font bank ${sfxbank}"
40 }
41
42 stop() {
43 ebegin "Unloading sound font bank"
44 - /usr/bin/sfxload -i -q
45 + ${sfxload} -i -q
46 eend $? "Error at unloading sound font bank"
47 }
48
49
50
51 1.2 media-sound/awesfx/files/sfxload.confd
52
53 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-sound/awesfx/files/sfxload.confd?rev=1.2&view=markup
54 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-sound/awesfx/files/sfxload.confd?rev=1.2&content-type=text/plain
55 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-sound/awesfx/files/sfxload.confd?r1=1.1&r2=1.2
56
57 Index: sfxload.confd
58 ===================================================================
59 RCS file: /var/cvsroot/gentoo-x86/media-sound/awesfx/files/sfxload.confd,v
60 retrieving revision 1.1
61 retrieving revision 1.2
62 diff -u -r1.1 -r1.2
63 --- sfxload.confd 30 May 2009 19:22:46 -0000 1.1
64 +++ sfxload.confd 28 Apr 2010 19:01:05 -0000 1.2
65 @@ -1,4 +1,7 @@
66 # /etc/conf.d/sfxload
67
68 +# sfxload or asfxload
69 +sfxload="asfxload"
70 +
71 # Example location of sound bank for sfxload init script
72 sfxbank="/usr/share/sounds/sf2/foobar.bin"