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