- moved saved volume settings back to /etc/alsa (per discussion at #293301)
This commit is contained in:
parent
09932a2943
commit
857c3b5c85
@ -6,8 +6,8 @@
|
||||
fi
|
||||
- if [ ! -r /etc/asound.state ]; then
|
||||
- xecho "Saving the mixer setup used for this in /etc/asound.state."
|
||||
+ if [ ! -r /var/lib/alsa/asound.state ]; then
|
||||
+ xecho "Saving the mixer setup used for this in /var/lib/alsa/asound.state."
|
||||
+ if [ ! -r /etc/alsa/asound.state ]; then
|
||||
+ xecho "Saving the mixer setup used for this in /etc/alsa/asound.state."
|
||||
$sbindir/alsactl store
|
||||
fi
|
||||
clear
|
||||
@ -19,8 +19,8 @@
|
||||
#: ../alsaconf.in:932
|
||||
-msgid "Saving the mixer setup used for this in /etc/asound.state."
|
||||
-msgstr "ミキサーの設定を /etc/asound.state に保存します"
|
||||
+msgid "Saving the mixer setup used for this in /var/lib/alsa/asound.state."
|
||||
+msgstr "ミキサーの設定を /var/lib/alsa/asound.state に保存します"
|
||||
+msgid "Saving the mixer setup used for this in /etc/alsa/asound.state."
|
||||
+msgstr "ミキサーの設定を /etc/alsa/asound.state に保存します"
|
||||
|
||||
#: ../alsaconf.in:936
|
||||
msgid ""
|
||||
@ -32,8 +32,8 @@
|
||||
#: ../alsaconf.in:932
|
||||
-msgid "Saving the mixer setup used for this in /etc/asound.state."
|
||||
-msgstr "Сохраняем настройки микшера в /etc/asound.state."
|
||||
+msgid "Saving the mixer setup used for this in /var/lib/alsa/asound.state."
|
||||
+msgstr "Сохраняем настройки микшера в /var/lib/alsa/asound.state."
|
||||
+msgid "Saving the mixer setup used for this in /etc/alsa/asound.state."
|
||||
+msgstr "Сохраняем настройки микшера в /etc/alsa/asound.state."
|
||||
|
||||
#: ../alsaconf.in:936
|
||||
msgid ""
|
||||
@ -44,7 +44,7 @@
|
||||
.TP
|
||||
\fI\-f, \-\-file\fP
|
||||
-Select the configuration file to use. The default is /etc/asound.state or
|
||||
+Select the configuration file to use. The default is /var/lib/alsa/asound.state or
|
||||
+Select the configuration file to use. The default is /etc/alsa/asound.state or
|
||||
/etc/asound.names (for the \fInames\fP command).
|
||||
|
||||
.TP
|
||||
@ -53,7 +53,7 @@
|
||||
|
||||
.SH FILES
|
||||
-\fI/etc/asound.state\fP (or whatever file you specify with the
|
||||
+\fI/var/lib/alsa/asound.state\fP (or whatever file you specify with the
|
||||
+\fI/etc/alsa/asound.state\fP (or whatever file you specify with the
|
||||
\fB\-f\fP flag) is used to store current settings for your
|
||||
soundcards. The settings include all the usual soundcard mixer
|
||||
settings. More importantly, alsactl is
|
||||
@ -64,7 +64,7 @@
|
||||
#include "alsactl.h"
|
||||
|
||||
-#define SYS_ASOUNDRC "/etc/asound.state"
|
||||
+#define SYS_ASOUNDRC "/var/lib/alsa/asound.state"
|
||||
+#define SYS_ASOUNDRC "/etc/alsa/asound.state"
|
||||
#define SYS_ASOUNDNAMES "/etc/asound.names"
|
||||
|
||||
int debugflag = 0;
|
||||
|
@ -4,7 +4,7 @@
|
||||
Summary: Advanced Linux Sound Architecture (ALSA) utilities
|
||||
Name: alsa-utils
|
||||
Version: 1.0.15
|
||||
Release: 0.3%{?prever_dot}%{?dist}
|
||||
Release: 0.4%{?prever_dot}%{?dist}
|
||||
License: GPLv2+
|
||||
Group: Applications/Multimedia
|
||||
URL: http://www.alsa-project.org/
|
||||
@ -56,8 +56,8 @@ mkdir -p $RPM_BUILD_ROOT/%{_sbindir}
|
||||
ln -s ../../sbin/alsactl $RPM_BUILD_ROOT/%{_sbindir}/alsactl
|
||||
|
||||
# Create a place for volume configuration
|
||||
mkdir -p $RPM_BUILD_ROOT/var/lib/alsa
|
||||
touch $RPM_BUILD_ROOT/var/lib/alsa/asound.state
|
||||
mkdir -p $RPM_BUILD_ROOT/etc/alsa
|
||||
touch $RPM_BUILD_ROOT/etc/alsa/asound.state
|
||||
|
||||
%clean
|
||||
%{__rm} -rf $RPM_BUILD_ROOT
|
||||
@ -73,11 +73,15 @@ touch $RPM_BUILD_ROOT/var/lib/alsa/asound.state
|
||||
%{_datadir}/alsa/
|
||||
%{_datadir}/sounds/
|
||||
%{_mandir}/man?/*
|
||||
%dir /var/lib/alsa/
|
||||
%ghost /var/lib/alsa/asound.state
|
||||
%dir /etc/alsa/
|
||||
%ghost /etc/alsa/asound.state
|
||||
|
||||
|
||||
%changelog
|
||||
* Mon Oct 1 2007 Martin Stransky <stransky@redhat.com> 1.0.15-0.4.rc1
|
||||
- moved saved volume settings back to /etc/alsa
|
||||
(per discussion at #293301)
|
||||
|
||||
* Mon Sep 24 2007 Martin Stransky <stransky@redhat.com> 1.0.15-0.3.rc1
|
||||
- fixed #303151 - wrong salsa dir in /etc/udev/rules.d/90-alsa.rules
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user