rpms/alsa-lib/devel alsactl.conf, NONE, 1.1 asound.conf, NONE, 1.1 .cvsignore, 1.33, 1.34 alsa-lib.spec, 1.72, 1.73 sources, 1.37, 1.38 alsa-lib-pulse-default.patch, 1.1, NONE

Jaroslav Kysela perex at fedoraproject.org
Wed Sep 10 13:43:04 UTC 2008


Author: perex

Update of /cvs/pkgs/rpms/alsa-lib/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv9012

Modified Files:
	.cvsignore alsa-lib.spec sources 
Added Files:
	alsactl.conf asound.conf 
Removed Files:
	alsa-lib-pulse-default.patch 
Log Message:
alsa-lib: updated to 1.0.18rc3 and new configuration style


--- NEW FILE alsactl.conf ---
#
# ALSA library configuration file for alsactl tool
# (/usr/share/alsa tree is not necessary for alsactl)
#

ctl.hw {
	@args [ CARD ]
	@args.CARD {
		type string
		default "0"
	}
	type hw
	card $CARD
}


--- NEW FILE asound.conf ---
#
# Place your global alsa-lib configuration here...
#

@hooks [
	{
		func load
		files [
			"/etc/alsa/pulse-default.conf"
		]
		errors false
	}
]


Index: .cvsignore
===================================================================
RCS file: /cvs/pkgs/rpms/alsa-lib/devel/.cvsignore,v
retrieving revision 1.33
retrieving revision 1.34
diff -u -r1.33 -r1.34
--- .cvsignore	15 Aug 2008 16:22:42 -0000	1.33
+++ .cvsignore	10 Sep 2008 13:42:34 -0000	1.34
@@ -20,3 +20,4 @@
 alsa-lib-1.0.16.tar.bz2
 alsa-lib-1.0.17.tar.bz2
 alsa-lib-1.0.17a.tar.bz2
+alsa-lib-1.0.18rc3.tar.bz2


Index: alsa-lib.spec
===================================================================
RCS file: /cvs/pkgs/rpms/alsa-lib/devel/alsa-lib.spec,v
retrieving revision 1.72
retrieving revision 1.73
diff -u -r1.72 -r1.73
--- alsa-lib.spec	15 Aug 2008 16:22:42 -0000	1.72
+++ alsa-lib.spec	10 Sep 2008 13:42:34 -0000	1.73
@@ -1,17 +1,18 @@
-#define  prever         rc3
-#define  prever_dot     .rc3
-%define postver		a
+%define  prever         rc3
+%define  prever_dot     .rc3
+#define postver		a
 
 Summary: The Advanced Linux Sound Architecture (ALSA) library
 Name:    alsa-lib
-Version: 1.0.17
+Version: 1.0.18
 Release: 3%{?prever_dot}%{?dist}
 License: LGPLv2+
 Group:   System Environment/Libraries
 Source:  ftp://ftp.alsa-project.org/pub/lib/%{name}-%{version}%{?prever}%{?postver}.tar.bz2
+Source10: asound.conf
+Source11: alsactl.conf
 Patch0:  alsa-lib-1.0.17-config.patch
 Patch2:  alsa-lib-1.0.14-glibc-open.patch
-Patch3:	 alsa-lib-pulse-default.patch
 Patch4:	 alsa-lib-1.0.16-no-dox-date.patch
 URL:     http://www.alsa-project.org/
 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
@@ -43,11 +44,10 @@
 %setup -q -n %{name}-%{version}%{?prever}%{?postver}
 %patch0 -p1 -b .config
 %patch2 -p1 -b .glibc-open
-%patch3 -p1 -b .pulse-default
 %patch4 -p1 -b .no-dox-date
 
 %build
-%configure --with-configdir=%{_sysconfdir}/alsa
+%configure --disable-aload
 # Remove useless /usr/lib64 rpath on 64bit archs
 sed -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool
 sed -i 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool
@@ -63,6 +63,11 @@
 mv %{buildroot}%{_libdir}/libasound.so.* %{buildroot}/%{_lib}
 ln -snf ../../%{_lib}/libasound.so.2 %{buildroot}%{_libdir}/libasound.so
 
+# Install global configuration files
+mkdir -p -m 755 $RPM_BUILD_ROOT/etc/alsa
+install -p -m 644 %{SOURCE10} %{buildroot}/etc
+install -p -m 644 %{SOURCE11} %{buildroot}/etc/alsa
+
 %clean
 rm -rf %{buildroot}
 
@@ -70,16 +75,15 @@
 
 %postun -p /sbin/ldconfig
 
-%triggerpostun -- alsa-lib < 1.0.6-2
-ln -snf ../../etc/alsa %{_datadir}/alsa
-
 %files
 %defattr(-,root,root,-)
 %doc COPYING ChangeLog TODO doc/asoundrc.txt
 %config %{_sysconfdir}/alsa/
+%config %{_sysconfdir}/asound.conf
 /%{_lib}/libasound.so.*
 %{_bindir}/aserver
 %{_libdir}/alsa-lib/
+%(_datadir)/alsa/
 
 %files devel
 %defattr(-,root,root,-)
@@ -92,6 +96,13 @@
 %{_datadir}/aclocal/alsa.m4
 
 %changelog
+* Wed Sep 10 2008 Jaroslav Kysela <jkysela at redhat.com> - 1.0.18-1.rc3
+- updated to 1.0.18rc3
+- moved /etc/alsa configuration files back to /usr/share/alsa
+- removed pulse default patch (moved to /etc/asound.conf)
+- added /etc/asound.conf and /etc/alsa/alsactl.conf
+- disable /dev/aload device checking (obsolete for 2.6 kernels)
+
 * Fri Aug 15 2008 Jaroslav Kysela <jkysela at redhat.com> - 1.0.17-3
 - updated to 1.0.17a
 


Index: sources
===================================================================
RCS file: /cvs/pkgs/rpms/alsa-lib/devel/sources,v
retrieving revision 1.37
retrieving revision 1.38
diff -u -r1.37 -r1.38
--- sources	15 Aug 2008 16:22:42 -0000	1.37
+++ sources	10 Sep 2008 13:42:34 -0000	1.38
@@ -1 +1 @@
-4284535ff10f5e71152f8f69b325d08d  alsa-lib-1.0.17a.tar.bz2
+748b7ac75102b9b4523827b81e4c1f00  alsa-lib-1.0.18rc3.tar.bz2


--- alsa-lib-pulse-default.patch DELETED ---




More information about the fedora-extras-commits mailing list