rpms/alsa-plugins/devel alsa-plugins-1.0.15-pulsehint.patch, NONE, 1.1 alsa-plugins.spec, 1.9, 1.10

Lubomir Kundrak (lkundrak) fedora-extras-commits at redhat.com
Tue Mar 4 18:17:35 UTC 2008


Author: lkundrak

Update of /cvs/pkgs/rpms/alsa-plugins/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv15759/devel

Modified Files:
	alsa-plugins.spec 
Added Files:
	alsa-plugins-1.0.15-pulsehint.patch 
Log Message:
Be a bit more verbose

alsa-plugins-1.0.15-pulsehint.patch:

--- NEW FILE alsa-plugins-1.0.15-pulsehint.patch ---
--- alsa-plugins-1.0.15/pulse/pulse.c.orig	2008-03-04 18:56:22.000000000 +0100
+++ alsa-plugins-1.0.15/pulse/pulse.c	2008-03-04 18:58:33.000000000 +0100
@@ -204,7 +204,10 @@ int pulse_connect(snd_pulse_t *p, const 
     return 0;
 
 error:
-    fprintf(stderr, "*** PULSEAUDIO: Unable to connect: %s\n",
+    fprintf(stderr,
+        "*** PULSEAUDIO: Unable to connect: %s\n"
+        "*** Is your sound server running?\n"
+        "*** See: http://www.pulseaudio.org/wiki/Troubleshooting\n",
         pa_strerror(pa_context_errno(p->context)));
 
     pa_threaded_mainloop_unlock(p->mainloop);


Index: alsa-plugins.spec
===================================================================
RCS file: /cvs/pkgs/rpms/alsa-plugins/devel/alsa-plugins.spec,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -r1.9 -r1.10
--- alsa-plugins.spec	19 Feb 2008 02:28:00 -0000	1.9
+++ alsa-plugins.spec	4 Mar 2008 18:16:56 -0000	1.10
@@ -1,6 +1,6 @@
 Name:           alsa-plugins
 Version:        1.0.15
-Release:        3%{?dist}
+Release:        4%{?dist}
 Summary:        The Advanced Linux Sound Architecture (ALSA) Plugins
 # All packages are LGPLv2+ with the exception of samplerate which is GPLv2+
 License:        GPLv2+ and LGPLv2+
@@ -16,6 +16,7 @@
 Patch0:         1.0.14-buffer-attr.patch
 Patch1:         1.0.14-state-xrun.patch
 Patch2:         1.0.14-pulse-SND_PCM_STATE_PREPARED.patch
+Patch3:         alsa-plugins-1.0.15-pulsehint.patch
 BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 
 BuildRequires:  alsa-lib-devel
@@ -100,6 +101,7 @@
 %patch0 -p1 -b .buffer_attr
 %patch1 -p1 -b .state_xrun
 %patch2 -p1 -b .pulse-SND_PCM_STATE_PREPARED
+%patch3 -p1 -b .pulsehint
 
 %build
 %configure --disable-static \
@@ -173,6 +175,10 @@
 %{_libdir}/alsa-lib/libasound_module_pcm_vdownmix.so
 
 %changelog
+* Tue Mar 04 2008 Lubomir Kundrak <lkundrak at redhat.com> - 1.0.15-4
+- Be more heplful when there's PulseAudio trouble.
+- This may save us some bogus bug reports
+
 * Mon Feb 18 2008 Fedora Release Engineering <rel-eng at fedoraproject.org> - 1.0.15-3
 - Autorebuild for GCC 4.3
 




More information about the fedora-extras-commits mailing list