rpms/alsa-lib/F-11 alsa-lib-1.0.21-weight.patch, NONE, 1.1 alsa-lib.spec, 1.84, 1.85

perex perex at fedoraproject.org
Mon Sep 7 10:47:15 UTC 2009


Author: perex

Update of /cvs/pkgs/rpms/alsa-lib/F-11
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv19457

Modified Files:
	alsa-lib.spec 
Added Files:
	alsa-lib-1.0.21-weight.patch 
Log Message:
alsa-lib: weight patch

alsa-lib-1.0.21-weight.patch:
 simple_none.c |    3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

--- NEW FILE alsa-lib-1.0.21-weight.patch ---
>From ac9de424bc0a896e8e30b5ec176daf924a2cefb2 Mon Sep 17 00:00:00 2001
From: Takashi Iwai <tiwai at suse.de>
Date: Mon, 31 Aug 2009 16:41:12 +0200
Subject: [PATCH] mixer: Add Speaker and Beep names to the weight list

Added strings "Speaker" and "Beep" to the weight list so that the entries
appear in more appropriate positions.

Signed-off-by: Takashi Iwai <tiwai at suse.de>
---
 src/mixer/simple_none.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/src/mixer/simple_none.c b/src/mixer/simple_none.c
index 4802200..9259a08 100644
--- a/src/mixer/simple_none.c
+++ b/src/mixer/simple_none.c
@@ -134,6 +134,7 @@ static int get_compare_weight(const char *name, unsigned int idx)
 	static const char *const names[] = {
 		"Master",
 		"Headphone",
+		"Speaker",
 		"Tone",
 		"Bass",
 		"Treble",
@@ -158,6 +159,7 @@ static int get_compare_weight(const char *name, unsigned int idx)
 		"I2S",
 		"IEC958",
 		"PC Speaker",
+		"Beep",
 		"Aux",
 		"Mono",
 		"Playback",
-- 
1.5.5.1



Index: alsa-lib.spec
===================================================================
RCS file: /cvs/pkgs/rpms/alsa-lib/F-11/alsa-lib.spec,v
retrieving revision 1.84
retrieving revision 1.85
diff -u -p -r1.84 -r1.85
--- alsa-lib.spec	2 Sep 2009 08:14:23 -0000	1.84
+++ alsa-lib.spec	7 Sep 2009 10:47:15 -0000	1.85
@@ -1,3 +1,4 @@
+
 #define  prever         rc3
 #define  prever_dot     .rc3
 #define postver		a
@@ -5,7 +6,7 @@
 Summary: The Advanced Linux Sound Architecture (ALSA) library
 Name:    alsa-lib
 Version: 1.0.21
-Release: 1%{?prever_dot}%{?dist}
+Release: 2%{?prever_dot}%{?dist}
 License: LGPLv2+
 Group:   System Environment/Libraries
 Source:  ftp://ftp.alsa-project.org/pub/lib/%{name}-%{version}%{?prever}%{?postver}.tar.bz2
@@ -13,6 +14,7 @@ Source10: asound.conf
 Patch0:  alsa-lib-1.0.17-config.patch
 Patch2:  alsa-lib-1.0.14-glibc-open.patch
 Patch4:	 alsa-lib-1.0.16-no-dox-date.patch
+Patch5:  alsa-lib-1.0.21-weight.patch
 URL:     http://www.alsa-project.org/
 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
 BuildRequires: doxygen
@@ -44,6 +46,7 @@ against the ALSA libraries and interface
 %patch0 -p1 -b .config
 %patch2 -p1 -b .glibc-open
 %patch4 -p1 -b .no-dox-date
+%patch5 -p1 -b .weight
 
 %build
 %configure --disable-aload
@@ -93,6 +96,9 @@ rm -rf %{buildroot}
 %{_datadir}/aclocal/alsa.m4
 
 %changelog
+* Mon Sep  7 2009 Jaroslav Kysela <jkysela at redhat.com> - 1.0.21-2
+- Added mixer weight patch for Speaker and Beep controls
+
 * Wed Sep  2 2009 Jaroslav Kysela <jkysela at redhat.com> - 1.0.21-1
 - Updated to 1.0.21 final
 




More information about the fedora-extras-commits mailing list