public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] gentoo-x86 commit in media-sound/awesfx/files: sfxload.initd sfxload.confd
@ 2009-05-30 19:22 Samuli Suominen (ssuominen)
  0 siblings, 0 replies; 2+ messages in thread
From: Samuli Suominen (ssuominen) @ 2009-05-30 19:22 UTC (permalink / raw
  To: gentoo-commits

ssuominen    09/05/30 19:22:46

  Added:                sfxload.initd sfxload.confd
  Log:
  Experimental sfxload init.d and conf.d files wrt #88159.
  (Portage version: 2.1.6.13/cvs/Linux x86_64)

Revision  Changes    Path
1.1                  media-sound/awesfx/files/sfxload.initd

file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-sound/awesfx/files/sfxload.initd?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-sound/awesfx/files/sfxload.initd?rev=1.1&content-type=text/plain

Index: sfxload.initd
===================================================================
#!/sbin/runscript
# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/media-sound/awesfx/files/sfxload.initd,v 1.1 2009/05/30 19:22:46 ssuominen Exp $

depend() {
	need alsasound
}

start() {
	ebegin "Loading sound font bank"
	/usr/bin/sfxload -q ${sfxbank}
	eend $? "Error at loading sound font bank ${sfxbank}"
}

stop() {
	ebegin "Unloading sound font bank"
	/usr/bin/sfxload -i -q
	eend $? "Error at unloading sound font bank"
}



1.1                  media-sound/awesfx/files/sfxload.confd

file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-sound/awesfx/files/sfxload.confd?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-sound/awesfx/files/sfxload.confd?rev=1.1&content-type=text/plain

Index: sfxload.confd
===================================================================
# /etc/conf.d/sfxload

# Example location of sound bank for sfxload init script
sfxbank="/usr/share/sounds/sf2/foobar.bin"






^ permalink raw reply	[flat|nested] 2+ messages in thread

* [gentoo-commits] gentoo-x86 commit in media-sound/awesfx/files: sfxload.initd sfxload.confd
@ 2010-04-28 19:01 Samuli Suominen (ssuominen)
  0 siblings, 0 replies; 2+ messages in thread
From: Samuli Suominen (ssuominen) @ 2010-04-28 19:01 UTC (permalink / raw
  To: gentoo-commits

ssuominen    10/04/28 19:01:05

  Modified:             sfxload.initd sfxload.confd
  Log:
  Use asfxload instead of sfxload by default in init files wrt #290458 by Lukasz Pawelczyk.
  (Portage version: 2.2_rc67/cvs/Linux x86_64)

Revision  Changes    Path
1.2                  media-sound/awesfx/files/sfxload.initd

file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-sound/awesfx/files/sfxload.initd?rev=1.2&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-sound/awesfx/files/sfxload.initd?rev=1.2&content-type=text/plain
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-sound/awesfx/files/sfxload.initd?r1=1.1&r2=1.2

Index: sfxload.initd
===================================================================
RCS file: /var/cvsroot/gentoo-x86/media-sound/awesfx/files/sfxload.initd,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sfxload.initd	30 May 2009 19:22:46 -0000	1.1
+++ sfxload.initd	28 Apr 2010 19:01:05 -0000	1.2
@@ -1,7 +1,7 @@
 #!/sbin/runscript
-# Copyright 1999-2009 Gentoo Foundation
+# Copyright 1999-2010 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/media-sound/awesfx/files/sfxload.initd,v 1.1 2009/05/30 19:22:46 ssuominen Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-sound/awesfx/files/sfxload.initd,v 1.2 2010/04/28 19:01:05 ssuominen Exp $
 
 depend() {
 	need alsasound
@@ -9,12 +9,12 @@
 
 start() {
 	ebegin "Loading sound font bank"
-	/usr/bin/sfxload -q ${sfxbank}
+	${sfxload} -q "${sfxbank}"
 	eend $? "Error at loading sound font bank ${sfxbank}"
 }
 
 stop() {
 	ebegin "Unloading sound font bank"
-	/usr/bin/sfxload -i -q
+	${sfxload} -i -q
 	eend $? "Error at unloading sound font bank"
 }



1.2                  media-sound/awesfx/files/sfxload.confd

file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-sound/awesfx/files/sfxload.confd?rev=1.2&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-sound/awesfx/files/sfxload.confd?rev=1.2&content-type=text/plain
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-sound/awesfx/files/sfxload.confd?r1=1.1&r2=1.2

Index: sfxload.confd
===================================================================
RCS file: /var/cvsroot/gentoo-x86/media-sound/awesfx/files/sfxload.confd,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sfxload.confd	30 May 2009 19:22:46 -0000	1.1
+++ sfxload.confd	28 Apr 2010 19:01:05 -0000	1.2
@@ -1,4 +1,7 @@
 # /etc/conf.d/sfxload
 
+# sfxload or asfxload
+sfxload="asfxload"
+
 # Example location of sound bank for sfxload init script
 sfxbank="/usr/share/sounds/sf2/foobar.bin"






^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2010-04-28 19:01 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-04-28 19:01 [gentoo-commits] gentoo-x86 commit in media-sound/awesfx/files: sfxload.initd sfxload.confd Samuli Suominen (ssuominen)
  -- strict thread matches above, loose matches on Subject: below --
2009-05-30 19:22 Samuli Suominen (ssuominen)

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox