From 81d834b1a6ed5083f4f627407ade24fa5537374a Mon Sep 17 00:00:00 2001 From: Lubomir Rintel Date: Mar 04 2008 18:16:56 +0000 Subject: Be a bit more verbose --- diff --git a/alsa-plugins-1.0.15-pulsehint.patch b/alsa-plugins-1.0.15-pulsehint.patch new file mode 100644 index 0000000..1a7c990 --- /dev/null +++ b/alsa-plugins-1.0.15-pulsehint.patch @@ -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); diff --git a/alsa-plugins.spec b/alsa-plugins.spec index 6fd612e..56408f5 100644 --- a/alsa-plugins.spec +++ b/alsa-plugins.spec @@ -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 - 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 - 1.0.15-3 - Autorebuild for GCC 4.3