Be a bit more verbose

This commit is contained in:
Lubomir Rintel 2008-03-04 18:16:56 +00:00
parent 11a4b89d88
commit 81d834b1a6
2 changed files with 21 additions and 1 deletions

View File

@ -0,0 +1,14 @@
--- 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);

View File

@ -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 @@ Source7: pulse-default.conf
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 @@ surround".
%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 @@ rm -rf $RPM_BUILD_ROOT
%{_libdir}/alsa-lib/libasound_module_pcm_vdownmix.so
%changelog
* Tue Mar 04 2008 Lubomir Kundrak <lkundrak@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@fedoraproject.org> - 1.0.15-3
- Autorebuild for GCC 4.3