Skip to Content.
Sympa Menu

sm-commit - [SM-Commit] GIT changes to master grimoire by Vlad Glagolev (d37a172e87b652e4ce9675aaf1bbedc4cea22d9c)

sm-commit AT lists.ibiblio.org

Subject: Source Mage code commit list

List archive

Chronological Thread  
  • From: Vlad Glagolev <scm AT sourcemage.org>
  • To: sm-commit AT lists.ibiblio.org
  • Subject: [SM-Commit] GIT changes to master grimoire by Vlad Glagolev (d37a172e87b652e4ce9675aaf1bbedc4cea22d9c)
  • Date: Wed, 29 Oct 2008 13:05:50 -0500

GIT changes to master grimoire by Vlad Glagolev <stealth AT sourcemage.org>:

audio-drivers/alsa-lib/DETAILS | 2 -
audio-drivers/alsa-lib/HISTORY | 1
audio-drivers/alsa-lib/init.d/alsa | 39
-------------------------------------
3 files changed, 3 insertions(+), 39 deletions(-)

New commits:
commit cc9adc3bbe07322e81511c4d66302237b95ca652
Author: Vlad Glagolev <stealth AT sourcemage.org>
Commit: Vlad Glagolev <stealth AT sourcemage.org>

alsa-lib: removed everything utils-related from init script

diff --git a/audio-drivers/alsa-lib/DETAILS b/audio-drivers/alsa-lib/DETAILS
index 461e51b..fe6a24a 100755
--- a/audio-drivers/alsa-lib/DETAILS
+++ b/audio-drivers/alsa-lib/DETAILS
@@ -1,6 +1,6 @@
SPELL=alsa-lib
if [[ $ALSA_LIB_GIT == y ]]; then
- if [[ $ALSA_LIB_GIT_AUTOUPDATE == y ]]; then
+ if [[ $ALSA_LIB_GIT_AUTOUPDATE == y ]]; then
VERSION=$(date +%Y%m%d)
else
VERSION=git
diff --git a/audio-drivers/alsa-lib/HISTORY b/audio-drivers/alsa-lib/HISTORY
index fff3fb4..b72b730 100644
--- a/audio-drivers/alsa-lib/HISTORY
+++ b/audio-drivers/alsa-lib/HISTORY
@@ -1,5 +1,6 @@
2008-10-29 Vlad Glagolev <stealth AT sourcemage.org>
* DETAILS: updated spell to 1.0.18
+ * init.d/alsa: removed everything utils-related

2008-10-13 Pol Vinogradov <vin.public AT gmail.com>
* DETAILS: updated to 1.0.18rc3
diff --git a/audio-drivers/alsa-lib/init.d/alsa
b/audio-drivers/alsa-lib/init.d/alsa
index 71410d6..7d2770a 100755
--- a/audio-drivers/alsa-lib/init.d/alsa
+++ b/audio-drivers/alsa-lib/init.d/alsa
@@ -6,8 +6,6 @@ PROGRAM=/bin/false
RUNLEVEL=3
NEEDS="+remote_fs"

-declare -r ASOUNDCFG=/etc/asound.state
-
. /etc/init.d/smgl_init

# modprobe returns 255 when failed..
@@ -83,50 +81,15 @@ start() {
/sbin/modprobe snd-mixer-oss
evaluate_retval
fi
-
- #
- # restore driver settings
- #
- if [[ -d /proc/asound ]]; then
- if ! [[ -r "$ASOUNDCFG" ]]; then
- echo "No mixer config in $ASOUNDCFG, you have to unmute your card!"
- else
- echo "Restoring settings..."
- sleep 5
- /usr/sbin/alsactl -F -f $ASOUNDCFG restore
- evaluate_retval
- fi
- fi
}

stop() {
- #
- # store driver settings
- #
- echo "Saving settings..."
- /usr/sbin/alsactl -f $ASOUNDCFG store
- evaluate_retval
-
- #
- # mute master to avoid clicks at unload
- #
- /usr/bin/amixer set Master mute >/dev/null 2>&1
-
- #
- # remove all sound modules
- #
remove_module_pattern "^snd" "(snd-page-alloc|snd_page_alloc)"
-
+
# remove the 2.2 soundcore module (if possible)
remove_module_pattern "^soundcore "

remove_module_pattern "^gameport "
-
- exit_code=$?
- if [[ "$exit_code" -ne 0 ]]; then
- /usr/bin/amixer set Master unmute >/dev/null 2>&1
- fi
- exit $exit_code
}

status() {



  • [SM-Commit] GIT changes to master grimoire by Vlad Glagolev (d37a172e87b652e4ce9675aaf1bbedc4cea22d9c), Vlad Glagolev, 10/29/2008

Archive powered by MHonArc 2.6.24.

Top of Page