Hello community,

here is the log from the commit of package pulseaudio.1321 for 
openSUSE:12.3:Update checked in at 2013-02-09 14:34:03
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:12.3:Update/pulseaudio.1321 (Old)
 and      /work/SRC/openSUSE:12.3:Update/.pulseaudio.1321.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "pulseaudio.1321", Maintainer is ""

Changes:
--------
New Changes file:

--- /dev/null   2013-02-09 11:18:20.872010756 +0100
+++ /work/SRC/openSUSE:12.3:Update/.pulseaudio.1321.new/pulseaudio.changes      
2013-02-09 14:34:08.000000000 +0100
@@ -0,0 +1,902 @@
+-------------------------------------------------------------------
+Sun Jan 20 17:55:54 UTC 2013 - ohole...@suse.com
+
+- bluetooth module now requires Bluez > 4.99 
+
+-------------------------------------------------------------------
+Mon Dec 31 18:09:24 UTC 2012 - crrodrig...@opensuse.org
+
+- Update to pulseaudio 3.0 (bnc#799737 and bnc#800656)
+* ALSA Use Case Manager (UCM) support
+* Runtime editable LADSPA filter parameters
+* Out-of-the-box support for Bluetooth sources
+* Configurable device latency offset
+* Various ALSA changes
+* Lots of infrastructure improvements
+
+-------------------------------------------------------------------
+Tue Nov 27 15:23:42 CET 2012 - ti...@suse.de
+
+- Add the audio setup for qemu/kvm to setup-pulseaudio script
+  (bnc#737070)
+
+-------------------------------------------------------------------
+Sat Nov 17 02:01:24 UTC 2012 - crrodrig...@opensuse.org
+
+- disable all HAL compat/support since it is long gone. 
+
+-------------------------------------------------------------------
+Thu Nov 15 13:23:47 UTC 2012 - tittiatc...@gmail.com
+
+- Enable systemd integration (following the distribution):
+  + Add systemd-devel BuildRequires.
+  + Pass --enable-systemd to configure.
+
+-------------------------------------------------------------------
+Sun Nov  4 00:58:52 UTC 2012 - crrodrig...@opensuse.org
+
+- Place udev rules in the proper place 
+
+-------------------------------------------------------------------
+Tue Oct 16 12:12:54 UTC 2012 - co...@suse.com
+
+- buildrequire systemd through pkgconfig provides to remove cycle
+
+-------------------------------------------------------------------
+Thu Sep  6 14:08:55 CEST 2012 - ti...@suse.de
+
+- Fix the broken setup by setup-pulseaudio when alsa-plugins-pulse
+  doesn't exist (bnc#779039)
+
+-------------------------------------------------------------------
+Sat Jul 21 13:58:43 UTC 2012 - zai...@opensuse.org
+
+- Update to version 2.1:
+  + Actually build libwebrtc-util.
+  + Various bugfixes.
+
+-------------------------------------------------------------------
+Mon Jun 18 15:50:43 CEST 2012 - ti...@suse.de
+
+- Add kmix setup to setup-pulseaudio script
+
+-------------------------------------------------------------------
+Wed Jun  6 14:16:34 CEST 2012 - ti...@suse.de
+
+- Add the proper exit codes to setup-pulseaudio script
+  (for avoiding the errors during installation, too)
+
+-------------------------------------------------------------------
+Mon Jun  4 08:37:07 UTC 2012 - idon...@suse.com
+
+- Remove rpmlintrc, we can't use setBadness for Factory 
+
+-------------------------------------------------------------------
+Wed May 30 09:49:36 CEST 2012 - ti...@suse.de
+
+- Kill leftover PA processes when disabled via setup-pulseaudio
+- Set up gstreamer audiosink/src in setup-pulseaudio script, too
+
+-------------------------------------------------------------------
+Tue May 29 13:01:46 CEST 2012 - ti...@suse.de
+
+- Add the setup for SoX to setup-pulseaudio script
+
+-------------------------------------------------------------------
+Sat May 19 20:45:28 UTC 2012 - pascal.ble...@opensuse.org
+
+- update to 2.0:
+  + Alternate sample rates.
+  + Jack detection.
+  + Echo cancellation: WebRTC canceller, automatic gain control,
+    drift compensation.
+  + Virtual Surround module.
+  + Xen Paravirtualised audio sink.
+  + Fixed HURD support.
+  + A2DP decoder quality improvements.
+- Add new BuildRequires: libwebrtc_audio_processing-devel,
+  BuildRequires:  gcc-c++ and if SuSE-Release >= 12.1
+  BuildRequires:  systemd-devel 
+- Drop pulseaudio-remove_broken_assert.patch, fixed upstream.
+- Futureproof spec for soname changes.
+
+-------------------------------------------------------------------
+Fri Feb 17 20:57:09 UTC 2012 - pascal.ble...@opensuse.org
+
+- add pulseaudio-remove_broken_assert.patch to remove a broken assert that
+  makes pulseaudio crash when playing audio from Firefox when having to
+  resample, especially in combination with the jack sink
+- add libcap-devel build dependency for capabilities support
+- add fftw3-devel build dependency for builtin equalizer support
+- add orc build dependency for better performance
+
+-------------------------------------------------------------------
+Thu Jan 12 20:30:01 UTC 2012 - reddw...@opensuse.org
+
+- Remove libatomic-ops-devel buildrequires since it has been
+  dropped from Factory (for x86/x86-64 it wasn't being used
+  anyway)
+
+-------------------------------------------------------------------
+Tue Dec 27 13:27:22 UTC 2011 - idon...@suse.com
+
+- Fix wrong size argument in memset call 
+
+-------------------------------------------------------------------
+Fri Oct 21 08:17:27 UTC 2011 - wstephen...@suse.com
+
+- Update to version 1.1:
+  + Reintroduce a 3 point version string in various API calls,
+    fixing PulseAudio with Skype.
+  + Fix some linking errors that accidentally linked libpulse to
+    libpulsecore which could under some circumstance "downgrade"
+    libpulse to GPL (rather than LGPL) which could in turn cause
+    problems with non-GPL compatible apps which link to libpulse.
+  + Fix a problem where starting PA without X11 would fail due to
+    dbus problems.
+
+-------------------------------------------------------------------
+Fri Sep 30 11:09:58 UTC 2011 - toddrme2...@gmail.com
+
+- Made descriptions consistent
+- Added %suse_update_desktop_file for pulseaudio-kde
+  (fix for RPMLINT warning)
+- Added check for duplicate files (fix for RPMLINT warning)
+- Cleaned up spec file formatting with spec-cleaner
+
+-------------------------------------------------------------------
+Tue Sep 27 23:56:50 CEST 2011 - dims...@opensuse.org
+
+- Update to version 1.0:
+  + Fix crash in threaded message queues
+  + dbus: fix crash if modules do not load
+- Changes from version 0.99.4:
+  + Various bug fixes
+- Changes from version 0.99.3:
+  + Per-Port volume control
+  + Fix Introspection annotations
+  + Various bug fixes
+- Add xz BuildRequires because we can't build a package for a
+  xz-compressed tarball without explicitly specifying that... See
+  bnc#697467 for more details
+
+-------------------------------------------------------------------
+Thu Aug 25 20:29:23 UTC 2011 - dims...@opensuse.org
+
+- Update to version 0.99.2 (2nd pre-release of 1.0):
+  + D-Bus based control protocol (beta)
+  + Source Output Volumes
+  + Passthrough Support
+  + Windows support restored
+  + Improved sample rate adaptation in module-rtp-receive
+  + Volume Change Sync for flat volumes
+  + Enhanced Port Volume controls
+  + New, future proof format for metadata files
+  + New equalizer and acoustic echo cancellation modules
+  + If Jack is running, Pulseaudio will connect to it automatically
+    by default (previously this required editing a configuration
+    file)
+- Add pkgconfig(json) BuildRequires.
+- Rebase disabled-start.diff and suppress-socket-error-msg.diff.
+
+-------------------------------------------------------------------
+Wed Jul 27 13:29:24 CEST 2011 - ti...@suse.de
+
+- Updated to version 0.9.23:
+  Bugfix only update, see changelog at
+    http://pulseaudio.org/milestone/0.9.23
+- Suppress too verbose error message at socket connection failure
+  from a client; this is annoying when alsa-plugins-pulse fallback
+  is used
+
+-------------------------------------------------------------------
+Fri Jul 22 17:23:07 CEST 2011 - vu...@opensuse.org
+
+- Automatically configure the system for pulseaudio in %post:
+  + Note that this change will forcefully enable PulseAudio on
+    systems where it had manually been disabled with
++++ 705 more lines (skipped)
++++ between /dev/null
++++ and /work/SRC/openSUSE:12.3:Update/.pulseaudio.1321.new/pulseaudio.changes

New:
----
  baselibs.conf
  default.pa-for-gdm
  disabled-start.diff
  pulseaudio-3.0.tar.xz
  pulseaudio-wrong-memset.patch
  pulseaudio.changes
  pulseaudio.spec
  setup-pulseaudio
  suppress-socket-error-msg.diff
  sysconfig.sound-pulseaudio

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ pulseaudio.spec ++++++
#
# spec file for package pulseaudio
#
# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.

# Please submit bugfixes or comments via http://bugs.opensuse.org/
#


Name:           pulseaudio
Version:        3.0
Release:        0
%define drvver  3.0
%define soname  0
%define _udevrulesdir %(pkg-config --variable=udevdir udev)/rules.d
Summary:        A Networked Sound Server
License:        GPL-2.0+ and LGPL-2.1+
Group:          System/Sound Daemons
Url:            http://pulseaudio.org
Source:         
http://www.freedesktop.org/software/pulseaudio/releases/%{name}-%{version}.tar.xz
Source1:        default.pa-for-gdm
Source2:        setup-pulseaudio
Source3:        sysconfig.sound-pulseaudio
Source99:       baselibs.conf
Patch0:         disabled-start.diff
Patch1:         suppress-socket-error-msg.diff
Patch2:         pulseaudio-wrong-memset.patch
%if 0%{?suse_version} >= 1210
BuildRequires:  pkgconfig(systemd)
%endif
BuildRequires:  alsa-devel
BuildRequires:  bluez-devel
BuildRequires:  doxygen
BuildRequires:  fdupes
BuildRequires:  gcc-c++
BuildRequires:  gdbm-devel
BuildRequires:  intltool
BuildRequires:  jack-devel
BuildRequires:  libavahi-devel
BuildRequires:  libopenssl-devel
BuildRequires:  libsamplerate-devel
BuildRequires:  libsndfile-devel
#our libtdb-devel does not have a .pc file
BuildRequires:  fftw3-devel
BuildRequires:  libcap-devel
BuildRequires:  libtdb-devel
BuildRequires:  libtool
BuildRequires:  libudev-devel >= 143
BuildRequires:  libwebrtc_audio_processing-devel
BuildRequires:  lirc-devel
BuildRequires:  orc
BuildRequires:  speex-devel
BuildRequires:  systemd-devel
BuildRequires:  tcpd-devel
BuildRequires:  translation-update-upstream
BuildRequires:  update-desktop-files
BuildRequires:  xorg-x11-devel
# Only needed because we don't (and won't) support building xz tarballs by 
default... See bnc#697467
BuildRequires:  xz
BuildRequires:  pkgconfig(gconf-2.0)
BuildRequires:  pkgconfig(glib-2.0)
BuildRequires:  pkgconfig(gtk+-2.0)
BuildRequires:  pkgconfig(json) >= 0.9
BuildRequires:  pkgconfig(sbc)
PreReq:         %fillup_prereq
PreReq:         pwdutils
Requires:       rtkit
Requires:       udev >= 146
Recommends:     %{name}-lang
Recommends:     alsa-plugins-pulse
Obsoletes:      libpulsecore9 < 0.9.15
Provides:       libpulsecore9 = 0.9.15
Obsoletes:      libpulsecore7 < 0.9.13
Provides:       libpulsecore7 = 0.9.13
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
Conflicts:      kernel < 2.6.31

%description
pulseaudio is a networked sound server for Linux, other Unix like
operating systems and Microsoft Windows. It is intended to be an
improved drop-in replacement for the Enlightened Sound Daemon (ESOUND).

%package esound-compat
Summary:        ESOUND compatibility for PulseAudio
Group:          System/Sound Daemons
Requires:       %{name} = %{version}
Provides:       esound-daemon = 0.2.41
Obsoletes:      esound-daemon < 0.2.41

%description esound-compat
pulseaudio is a networked sound server for Linux and other Unix like
operating systems and Microsoft Windows. It is intended to be an
improved drop-in replacement for the Enlightened Sound Daemon (ESOUND).

This package provides the compatibility layer for drop-in replacement
of ESOUND.

%package module-lirc
Summary:        LIRC module for PulseAudio
Group:          System/Sound Daemons
Requires:       %{name} = %{version}

%description module-lirc
pulseaudio is a networked sound server for Linux and other Unix like
operating systems and Microsoft Windows. It is intended to be an
improved drop-in replacement for the Enlightened Sound Daemon (ESOUND).

This package provides support for IR and RF remotes. 

%package module-x11
Summary:        X11 module for PulseAudio
Group:          System/Sound Daemons
Requires:       %{name} = %{version}
Requires:       %{name}-utils = %{version}

%description module-x11
pulseaudio is a networked sound server for Linux and other Unix like
operating systems and Microsoft Windows. It is intended to be an
improved drop-in replacement for the Enlightened Sound Daemon (ESOUND).

This package provides the components needed to automatically start
the PulseAudio sound server on X11 startup.

%package module-zeroconf
Summary:        Zeroconf module for PulseAudio
Group:          System/Sound Daemons
Requires:       %{name} = %{version}

%description module-zeroconf
pulseaudio is a networked sound server for Linux and other Unix like
operating systems and Microsoft Windows. It is intended to be an
improved drop-in replacement for the Enlightened Sound Daemon (ESOUND).

This package provides zeroconf network support for the PulseAudio sound server

%package module-jack
Summary:        JACK support for the PulseAudio sound server
Group:          System/Sound Daemons
Requires:       %{name} = %{version}

%description module-jack
pulseaudio is a networked sound server for Linux and other Unix like
operating systems and Microsoft Windows. It is intended to be an
improved drop-in replacement for the Enlightened Sound Daemon (ESOUND).

This package includes support for Jack-based applications.

%package module-bluetooth
Summary:        Bluetooth support for the PulseAudio sound server
Group:          System/Sound Daemons
Requires:       %{name} = %{version}
Requires:       bluez >= 4.99

%description module-bluetooth
pulseaudio is a networked sound server for Linux and other Unix like
operating systems and Microsoft Windows. It is intended to be an
improved drop-in replacement for the Enlightened Sound Daemon (ESOUND).

Contains Bluetooth audio (A2DP/HSP/HFP) support for the PulseAudio sound server.

%package module-gconf
Summary:        GCONF module for PulseAudio
Group:          System/Sound Daemons
Requires:       %{name} = %{version}

%description module-gconf
pulseaudio is a networked sound server for Linux and other Unix like
operating systems and Microsoft Windows. It is intended to be an
improved drop-in replacement for the Enlightened Sound Daemon (ESOUND).

This package provides gconf storage of PulseAudio sound server settings.

%package -n libpulse%{soname}
Summary:        Client interface to PulseAudio
Group:          System/Libraries
Provides:       pulseaudio-libs = %{version}
Obsoletes:      pulseaudio-libs < %{version}

%description -n libpulse%{soname}
pulseaudio is a networked sound server for Linux and other Unix like
operating systems and Microsoft Windows. It is intended to be an
improved drop-in replacement for the Enlightened Sound Daemon (ESOUND).

This package contains the system libraries for clients of pulseaudio
sound server.

%package -n libpulse-mainloop-glib%{soname}
Summary:        GLIB 2.0 Main Loop wrapper for PulseAudio
Group:          System/Sound Daemons
Provides:       pulseaudio-libs-glib2 = %{version}
Obsoletes:      pulseaudio-libs-glib2 < %{version}

%description -n libpulse-mainloop-glib%{soname}
pulseaudio is a networked sound server for Linux and other Unix like
operating systems and Microsoft Windows. It is intended to be an
improved drop-in replacement for the Enlightened Sound Daemon (ESOUND).

This package contains the GLIB Main Loop bindings for the PulseAudio 
sound server.

%package -n libpulse-devel
Summary:        Development package for the pulseaudio library
Group:          Development/Libraries/C and C++
Requires:       libpulse%{soname} = %{version}
Requires:       libpulse-mainloop-glib%{soname} = %{version}
Requires:       pkgconfig
Requires:       pkgconfig(glib-2.0)
Provides:       pulseaudio-devel = %{version}
Obsoletes:      pulseaudio-devel < %{version}

%description -n libpulse-devel
pulseaudio is a networked sound server for Linux and other Unix like
operating systems and Microsoft Windows. It is intended to be an
improved drop-in replacement for the Enlightened Sound Daemon (ESOUND).

This package contains the files needed to compile programs that use the
pulseaudio library.

%package utils
Summary:        PulseAudio utilities
Group:          System/Sound Daemons
Requires:       %{name} = %{version}
Requires:       libpulse%{soname} = %{version}
Requires:       libpulse-mainloop-glib%{soname} = %{version}

%description utils
pulseaudio is a networked sound server for Linux and other Unix like
operating systems and Microsoft Windows. It is intended to be an
improved drop-in replacement for the Enlightened Sound Daemon (ESOUND).

This package provides utilies for making use of the PulseAudio sound 
server.

%package gdm-hooks
Summary:        PulseAudio GDM integration
Group:          Productivity/Multimedia/Other
Requires:       %{name} = %{version}
Requires:       gdm >= 2.22
#for the gdm user
Requires(pre):  gdm
#avoid cycle
#!BuildIgnore: gdm

%description gdm-hooks
pulseaudio is a networked sound server for Linux and other Unix like
operating systems and Microsoft Windows. It is intended to be an
improved drop-in replacement for the Enlightened Sound Daemon (ESOUND).

This package contains GDM integration hooks for the PulseAudio sound server.

%lang_package
%prep
%setup -q -T -b0
translation-update-upstream
%patch0
%patch1 -p1
%patch2

%build
autoreconf -fiv
export CFLAGS="%{optflags} -fno-strict-aliasing"
# libpulse and libpulsecommon need each other - no way with as-needed
export SUSE_ASNEEDED=0
%configure \
        --disable-static \
        --disable-rpath \
        --enable-systemd \
        --with-system-user=pulse \
        --with-system-group=pulse \
        --with-access-group=pulse-access \
        --disable-hal \
        --disable-hal-compat \
        --with-udev-rules-dir=%{_udevrulesdir}
make %{?_smp_mflags} V=1
make doxygen

%install
%make_install
rm -rf \
    "%{buildroot}%{_libdir}"/*.la \
    "%{buildroot}%{_libdir}/pulse-%{drvver}/modules"/*.la \
    "%{buildroot}%{_libdir}/pulseaudio"/*.la

# configure --disable-static had no effect; delete manually.
rm -rf "%{buildroot}%{_libdir}"/*.a

# openSUSE 11.3 cannot find the .desktop files
%suse_update_desktop_file pulseaudio
%suse_update_desktop_file pulseaudio-kde
%find_lang %{name}
install %{SOURCE2} %{buildroot}%{_bindir}
chmod 755 %{buildroot}%{_bindir}/setup-pulseaudio
install -d %{buildroot}%{_localstatedir}/adm/fillup-templates
install -m 0644 %{SOURCE3} %{buildroot}%{_localstatedir}/adm/fillup-templates
mkdir -p %{buildroot}%{_sysconfdir}/profile.d
touch %{buildroot}%{_sysconfdir}/profile.d/pulseaudio.sh
touch %{buildroot}%{_sysconfdir}/profile.d/pulseaudio.csh
mkdir -p %{buildroot}%{_localstatedir}/lib/gdm/.pulse
cp $RPM_SOURCE_DIR/default.pa-for-gdm 
%{buildroot}%{_localstatedir}/lib/gdm/.pulse/default.pa
ln -s esdcompat %{buildroot}%{_bindir}/esd
%fdupes -s doxygen/html

%clean
%{?buildroot:%__rm -rf '%{buildroot}'}

%pre
groupadd -r pulse &>/dev/null || :
useradd -r -c 'PulseAudio daemon' \
    -s /sbin/nologin -d /var/lib/pulseaudio -g pulse -G audio pulse &>/dev/null 
|| :
groupadd -r pulse-access &>/dev/null || :

%post   -n libpulse%{soname} -p /sbin/ldconfig

%postun -n libpulse%{soname} -p /sbin/ldconfig

%post   -n libpulse-mainloop-glib%{soname} -p /sbin/ldconfig

%postun -n libpulse-mainloop-glib%{soname} -p /sbin/ldconfig

%post
/sbin/ldconfig
%{fillup_only -an sound}
# Update the /etc/profile.d/pulseaudio.* files
setup-pulseaudio --auto > /dev/null

%postun -p /sbin/ldconfig

%files
%defattr(-,root,root)
%doc README LICENSE GPL LGPL
%{_bindir}/pulseaudio
%{_bindir}/setup-pulseaudio
%{_bindir}/qpaeq
%dir %{_datadir}/pulseaudio
%{_datadir}/pulseaudio/alsa-mixer
%{_localstatedir}/adm/fillup-templates/sysconfig.sound-pulseaudio
%{_libdir}/libpulsecore-%{drvver}.so
%dir %{_libdir}/pulseaudio
%{_libdir}/pulseaudio/libpulsedsp.so
%dir %{_libdir}/pulse-%{drvver}/
%dir %{_libdir}/pulse-%{drvver}/modules/
%{_libdir}/pulse-%{drvver}/modules/libalsa-util.so
%{_libdir}/pulse-%{drvver}/modules/libcli.so
%{_libdir}/pulse-%{drvver}/modules/liboss-util.so
%{_libdir}/pulse-%{drvver}/modules/libprotocol-cli.so
%{_libdir}/pulse-%{drvver}/modules/libprotocol-esound.so
%{_libdir}/pulse-%{drvver}/modules/libprotocol-http.so
%{_libdir}/pulse-%{drvver}/modules/libprotocol-native.so
%{_libdir}/pulse-%{drvver}/modules/libprotocol-simple.so
%{_libdir}/pulse-%{drvver}/modules/librtp.so
%{_libdir}/pulse-%{drvver}/modules/libwebrtc-util.so
%{_libdir}/pulse-%{drvver}/modules/module-alsa-card.so
%{_libdir}/pulse-%{drvver}/modules/module-alsa-sink.so
%{_libdir}/pulse-%{drvver}/modules/module-alsa-source.so
%{_libdir}/pulse-%{drvver}/modules/module-always-sink.so
%{_libdir}/pulse-%{drvver}/modules/module-augment-properties.so
%{_libdir}/pulse-%{drvver}/modules/module-card-restore.so
%{_libdir}/pulse-%{drvver}/modules/module-cli.so
%{_libdir}/pulse-%{drvver}/modules/module-cli-protocol-tcp.so
%{_libdir}/pulse-%{drvver}/modules/module-cli-protocol-unix.so
%{_libdir}/pulse-%{drvver}/modules/module-combine.so
%{_libdir}/pulse-%{drvver}/modules/module-combine-sink.so
%{_libdir}/pulse-%{drvver}/modules/module-console-kit.so
%{_libdir}/pulse-%{drvver}/modules/module-dbus-protocol.so
%{_libdir}/pulse-%{drvver}/modules/module-default-device-restore.so
%{_libdir}/pulse-%{drvver}/modules/module-detect.so
%{_libdir}/pulse-%{drvver}/modules/module-device-manager.so
%{_libdir}/pulse-%{drvver}/modules/module-device-restore.so
%{_libdir}/pulse-%{drvver}/modules/module-echo-cancel.so
%{_libdir}/pulse-%{drvver}/modules/module-esound-compat-spawnfd.so
%{_libdir}/pulse-%{drvver}/modules/module-esound-compat-spawnpid.so
%{_libdir}/pulse-%{drvver}/modules/module-esound-protocol-tcp.so
%{_libdir}/pulse-%{drvver}/modules/module-esound-protocol-unix.so
%{_libdir}/pulse-%{drvver}/modules/module-esound-sink.so
%{_libdir}/pulse-%{drvver}/modules/module-equalizer-sink.so
%{_libdir}/pulse-%{drvver}/modules/module-filter-apply.so
%{_libdir}/pulse-%{drvver}/modules/module-filter-heuristics.so
%{_libdir}/pulse-%{drvver}/modules/module-http-protocol-tcp.so
%{_libdir}/pulse-%{drvver}/modules/module-http-protocol-unix.so
%{_libdir}/pulse-%{drvver}/modules/module-intended-roles.so
%{_libdir}/pulse-%{drvver}/modules/module-ladspa-sink.so
%{_libdir}/pulse-%{drvver}/modules/module-loopback.so
%{_libdir}/pulse-%{drvver}/modules/module-match.so
%{_libdir}/pulse-%{drvver}/modules/module-mmkbd-evdev.so
%{_libdir}/pulse-%{drvver}/modules/module-native-protocol-fd.so
%{_libdir}/pulse-%{drvver}/modules/module-native-protocol-tcp.so
%{_libdir}/pulse-%{drvver}/modules/module-native-protocol-unix.so
%{_libdir}/pulse-%{drvver}/modules/module-null-sink.so
%{_libdir}/pulse-%{drvver}/modules/module-null-source.so
%{_libdir}/pulse-%{drvver}/modules/module-oss.so
%{_libdir}/pulse-%{drvver}/modules/module-pipe-sink.so
%{_libdir}/pulse-%{drvver}/modules/module-pipe-source.so
%{_libdir}/pulse-%{drvver}/modules/module-position-event-sounds.so
%{_libdir}/pulse-%{drvver}/modules/module-remap-sink.so
%{_libdir}/pulse-%{drvver}/modules/module-rescue-streams.so
%{_libdir}/pulse-%{drvver}/modules/module-role-cork.so
%{_libdir}/pulse-%{drvver}/modules/module-rtp-recv.so
%{_libdir}/pulse-%{drvver}/modules/module-rtp-send.so
%{_libdir}/pulse-%{drvver}/modules/module-rygel-media-server.so
%{_libdir}/pulse-%{drvver}/modules/module-simple-protocol-tcp.so
%{_libdir}/pulse-%{drvver}/modules/module-simple-protocol-unix.so
%{_libdir}/pulse-%{drvver}/modules/module-sine.so
%{_libdir}/pulse-%{drvver}/modules/module-sine-source.so
%{_libdir}/pulse-%{drvver}/modules/module-stream-restore.so
%{_libdir}/pulse-%{drvver}/modules/module-suspend-on-idle.so
%{_libdir}/pulse-%{drvver}/modules/module-switch-on-connect.so
%{_libdir}/pulse-%{drvver}/modules/module-switch-on-port-available.so
%if 0%{?suse_version} >= 1210
%{_libdir}/pulse-%{drvver}/modules/module-systemd-login.so
%endif
%{_libdir}/pulse-%{drvver}/modules/module-tunnel-sink.so
%{_libdir}/pulse-%{drvver}/modules/module-tunnel-source.so
%{_libdir}/pulse-%{drvver}/modules/module-udev-detect.so
%{_libdir}/pulse-%{drvver}/modules/module-virtual-sink.so
%{_libdir}/pulse-%{drvver}/modules/module-virtual-source.so
%{_libdir}/pulse-%{drvver}/modules/module-virtual-surround-sink.so
%{_libdir}/pulse-%{drvver}/modules/module-volume-restore.so
%{_udevrulesdir}/90-pulseaudio.rules
%doc %{_mandir}/man1/pulseaudio.1*
%doc %{_mandir}/man5/default.pa.5*
%doc %{_mandir}/man5/pulse-client.conf.5*
%doc %{_mandir}/man5/pulse-daemon.conf.5*
%doc %{_mandir}/man5/pulse-cli-syntax.5*
%dir %{_sysconfdir}/pulse/
%config(noreplace) %{_sysconfdir}/pulse/daemon.conf
%config(noreplace) %{_sysconfdir}/pulse/default.pa
%config(noreplace) %{_sysconfdir}/pulse/system.pa
%config(noreplace) %{_sysconfdir}/dbus-1/system.d/pulseaudio-system.conf
# created by setup-pulseaudio script
%ghost %{_sysconfdir}/profile.d/pulseaudio.sh
%ghost %{_sysconfdir}/profile.d/pulseaudio.csh

%files esound-compat
%defattr(-,root,root)
%{_bindir}/esdcompat
%{_bindir}/esd
%doc %{_mandir}/man1/esdcompat.1*

%files gdm-hooks
%defattr(-,root,root)
%attr(0750, gdm, gdm) %dir %{_localstatedir}/lib/gdm
%attr(0700, gdm, gdm) %dir %{_localstatedir}/lib/gdm/.pulse
%attr(0600, gdm, gdm) %{_localstatedir}/lib/gdm/.pulse/default.pa

%files -n libpulse%{soname}
%defattr(-,root,root)
%doc README LICENSE GPL LGPL
%dir %{_sysconfdir}/pulse/
%config(noreplace) %{_sysconfdir}/pulse/client.conf
%{_libdir}/libpulse.so.%{soname}
%{_libdir}/libpulse.so.%{soname}.*
%{_libdir}/libpulse-simple.so.*
%dir %{_libdir}/pulseaudio
%{_libdir}/pulseaudio/libpulsecommon-%{drvver}.so

%files -n libpulse-devel
%defattr(-,root,root)
%doc doxygen/html
%{_includedir}/pulse/
%{_libdir}/libpulse.so
%{_libdir}/libpulse-mainloop-glib.so
%{_libdir}/libpulse-simple.so
%{_libdir}/pkgconfig/libpulse*.pc
%dir %{_libdir}/cmake
%dir %{_libdir}/cmake/PulseAudio
%{_libdir}/cmake/PulseAudio/PulseAudio*.cmake
%{_datadir}/vala

%files -n libpulse-mainloop-glib%{soname}
%defattr(-,root,root)
%{_libdir}/libpulse-mainloop-glib.so.%{soname}
%{_libdir}/libpulse-mainloop-glib.so.%{soname}.*

%files module-bluetooth
%defattr(-,root,root)
%{_libdir}/pulse-%{drvver}/modules/module-bluetooth-policy.so
%{_libdir}/pulse-%{drvver}/modules/libbluetooth-util.so
%{_libdir}/pulse-%{drvver}/modules/module-bluetooth-device.so
%{_libdir}/pulse-%{drvver}/modules/module-bluetooth-discover.so
%{_libdir}/pulse-%{drvver}/modules/module-bluetooth-proximity.so
%attr(0755,root,root) %{_libexecdir}/pulse/proximity-helper

%files module-gconf
%defattr(-,root,root)
%dir %{_libexecdir}/pulse
%{_libdir}/pulse-%{drvver}/modules/module-gconf.so
%{_libexecdir}/pulse/gconf-helper

%files module-lirc
%defattr(-,root,root)
%{_libdir}/pulse-%{drvver}/modules/module-lirc.so

%files module-jack
%defattr(-,root,root)
%{_libdir}/pulse-%{drvver}/modules/module-jack-sink.so
%{_libdir}/pulse-%{drvver}/modules/module-jack-source.so
%{_libdir}/pulse-%{drvver}/modules/module-jackdbus-detect.so

%files module-x11
%defattr(-,root,root)
%{_sysconfdir}/xdg/autostart/pulseaudio.desktop
%{_sysconfdir}/xdg/autostart/pulseaudio-kde.desktop
%{_bindir}/start-pulseaudio-x11
%{_bindir}/start-pulseaudio-kde
%{_libdir}/pulse-%{drvver}/modules/module-x11-bell.so
%{_libdir}/pulse-%{drvver}/modules/module-x11-cork-request.so
%{_libdir}/pulse-%{drvver}/modules/module-x11-publish.so
%{_libdir}/pulse-%{drvver}/modules/module-x11-xsmp.so
%doc %{_mandir}/man1/start-pulseaudio-kde.1*
%doc %{_mandir}/man1/start-pulseaudio-x11.1*

%files module-zeroconf
%defattr(-,root,root)
%{_libdir}/pulse-%{drvver}/modules/libavahi-wrap.so
%{_libdir}/pulse-%{drvver}/modules/libraop.so
%{_libdir}/pulse-%{drvver}/modules/module-raop-discover.so
%{_libdir}/pulse-%{drvver}/modules/module-raop-sink.so
%{_libdir}/pulse-%{drvver}/modules/module-zeroconf-discover.so
%{_libdir}/pulse-%{drvver}/modules/module-zeroconf-publish.so

%files utils
%defattr(-,root,root)
%{_bindir}/pacat
%{_bindir}/pacmd
%{_bindir}/pactl
%{_bindir}/paplay
%{_bindir}/parec
%{_bindir}/pamon
%{_bindir}/parecord
%{_bindir}/pax11publish
%{_bindir}/padsp
%{_bindir}/pasuspender
%doc %{_mandir}/man1/pacat.1*
%doc %{_mandir}/man1/pacmd.1*
%doc %{_mandir}/man1/pactl.1*
%doc %{_mandir}/man1/paplay.1*
%doc %{_mandir}/man1/pasuspender.1*
%doc %{_mandir}/man1/padsp.1*
%doc %{_mandir}/man1/pax11publish.1*

%files lang -f %{name}.lang

%changelog
++++++ baselibs.conf ++++++
libpulse0
  obsoletes "pulseaudio-libs-<targettype> <= <version>"
  provides "pulseaudio-libs-<targettype> = <version>"
libpulse-mainloop-glib0
++++++ default.pa-for-gdm ++++++
load-module module-device-restore
load-module module-card-restore
load-module module-udev-detect
load-module module-native-protocol-unix
load-module module-default-device-restore
load-module module-rescue-streams
load-module module-always-sink
load-module module-intended-roles
load-module module-suspend-on-idle
load-module module-console-kit
load-module module-position-event-sounds

++++++ disabled-start.diff ++++++
Index: src/daemon/start-pulseaudio-x11.in
===================================================================
--- src/daemon/start-pulseaudio-x11.in.orig
+++ src/daemon/start-pulseaudio-x11.in
@@ -19,6 +19,12 @@
 
 set -e
 
+. /etc/sysconfig/sound
+
+if [ x"$PULSEAUDIO_ENABLE" = x"no" ] ; then
+    exit 1
+fi
+
 @PA_BINARY@ --start "$@"
 
 if [ x"$DISPLAY" != x ] ; then
Index: src/daemon/start-pulseaudio-kde.in
===================================================================
--- src/daemon/start-pulseaudio-kde.in.orig
+++ src/daemon/start-pulseaudio-kde.in
@@ -19,6 +19,12 @@
 
 set -e
 
+. /etc/sysconfig/sound
+
+if [ x"$PULSEAUDIO_ENABLE" = x"no" ] ; then
+    exit 1
+fi
+
 [ -z "$PULSE_SERVER" ]
 
 @PA_BINARY@ --start "$@"
++++++ pulseaudio-wrong-memset.patch ++++++
--- src/modules/rtp/rtp.c.orig  2012-05-20 09:23:37.081609264 +0200
+++ src/modules/rtp/rtp.c       2012-05-20 09:24:08.991608129 +0200
@@ -286,7 +286,7 @@
 
     if (!found_tstamp) {
         pa_log_warn("Couldn't find SCM_TIMESTAMP data in auxiliary recvmsg() 
data!");
-        memset(tstamp, 0, sizeof(tstamp));
+        memset(tstamp, 0, sizeof(struct timeval));
     }
 
     return 0;
--- src/modules/echo-cancel/adrian-aec.c.orig   2012-05-20 09:24:20.836607707 
+0200
+++ src/modules/echo-cancel/adrian-aec.c        2012-05-20 09:26:07.641603903 
+0200
@@ -163,7 +163,7 @@
     } else if (1 == a->hangover) {
       --(a->hangover);
       // My Leaky NLMS is to erase vector w when hangover expires
-      memset(a->w, 0, sizeof(a->w));
+      memset(a->w, 0, sizeof(REAL));
     }
   }
 }
++++++ setup-pulseaudio ++++++
#!/bin/sh

LIST_OF_OSS_APPS="aumix sox"

show_help() {
    echo "setup-pulseaudio [ --enable | --disable | --auto | --status ]"
    echo ""
    echo "Modifies configuration files of some applications for PulseAudio"
    echo "  --enable   Enables PulseAudio"
    echo "  --disable  Disables PulseAudio"
    echo "  --auto     Automatically enables/disables PulseAudio based on 
configuration"
    echo "  --status   Shows activation state (disabled or enabled) for 
PulseAudio"
    echo ""
    echo "You need to be root for this command to succeed"
    echo "You may need to re-login for changes to take effect"
    exit 1
}

check_root() {
    id=`id -u`
    if [ "x$id" = "x0" ]; then
        true
    else
        echo "You need to be root in order to enable/disable pulseaudio"
        false
    fi
}

PROFNAME=/etc/profile.d/pulseaudio.sh
CPROFNAME=/etc/profile.d/pulseaudio.csh

MPLAYER_CONF=/etc/mplayer/mplayer.conf

set_variable () {
    if test -f $PROFNAME &&
        grep -q "export $1"= $PROFNAME; then
        sed -i -e "s|export $1=.*|export $1=$2|g" $PROFNAME
    else
        echo "export $1=$2" >> $PROFNAME
    fi
    if test -f $CPROFNAME &&
        grep -q "setenv $1 " $CPROFNAME; then
        sed -i -e "s|setenv $1 .*|setenv $1 $2|g" $CPROFNAME
    else
        echo "setenv $1 $2" >> $CPROFNAME
    fi
}

delete_variable () {
    if test -f $PROFNAME &&
        grep -q "export $1"= $PROFNAME; then
        sed -i -e "/export $1=.*/d" $PROFNAME
    fi
    if test -f $CPROFNAME &&
        grep -q "setenv $1 " $CPROFNAME; then
        sed -i -e "/setenv $1 .*/d" $CPROFNAME
    fi
}

setup_gconf_vendor() {
    if [ -x /usr/bin/gconftool-2 ]; then
        /usr/bin/gconftool-2 --direct --config-source \
            xml:readwrite:/etc/gconf/gconf.xml.vendor \
            "$@"
    fi
}

enable_phonon() {
    echo "Enabling PulseAudio for Phonon..."
    delete_variable PHONON_PULSEAUDIO_DISABLE
}

enable_kmix() {
    echo "Enabling PulseAudio for Kmix..."
    delete_variable KMIX_PULSEAUDIO_DISABLE
}

enable_alsa() {
    echo "Enabling PulseAudio for ALSA..."
    if [ -f /etc/alsa-pulse.conf ]; then
        set_variable ALSA_CONFIG_PATH /etc/alsa-pulse.conf
    else
        echo "Missing /etc/alsa-pluse.conf; please install alsa-plugins-pulse 
package"
    fi
}

enable_libao() {
    echo "Enabling PulseAudio for libao..."
    if test -f /etc/libao.conf; then
        if grep -q "default_driver=pulse" /etc/libao.conf; then
            echo "Default driver is pulse already in /etc/libao.conf"
        else
            echo "default_driver=pulse" >> /etc/libao.conf
        fi
    else
        echo "default_driver=pulse" >> /etc/libao.conf
    fi
}

enable_mplayer() {
    echo "Enabling PulseAudio for mplayer..."
    if test -f $MPLAYER_CONF; then
        if grep -q '^ao *= *pulse' $MPLAYER_CONF; then
            :
        elif grep -q '^ao *=' $MPLAYER_CONF; then
            sed -i -e 's/^ao *= *\(.*\)$/ao=pulse,\1/g' $MPLAYER_CONF
        else
            echo "ao=pulse" >> $MPLAYER_CONF
        fi
    fi

    # FIXME: mplayerplug-in uses $HOME/.mplayer/mplayerplug-in.conf
}

enable_speechd() {
    echo "Enabling PulseAudio for speech dispatcher..."
    if test -f /etc/speech-dispatcher/speechd.conf; then
        if grep -q 'AudioOutputMethod' /etc/speech-dispatcher/speechd.conf; then
            sed -i -e "s|^.*AudioOutputMethod .*|AudioOutputMethod \"pulse\"|g" 
/etc/speech-dispatcher/speechd.conf
        else
            echo "AudioOutputMethod \"pulse\"" >> 
/etc/speech-dispatcher/speechd.conf
        fi
    fi
}

enable_openal() {
    # nothing to do here. openal-soft is patched to prefer pulse but
    # it won't autostart the daemon.
    return 0
}

enable_oss() {
    echo "Enabling PulseAudio for OSS..."
    for app in $LIST_OF_OSS_APPS; do
        if grep -q "alias $app='padsp $app'" $PROFNAME; then
            echo "Application $app already setup for PulseAudio"
        else
            echo "alias $app='padsp $app'" >> $PROFNAME
        fi
    done
}

enable_sdl() {
    echo "Enabling PulseAudio for SDL..."
    # For SDL, we just add an environment variable, so that apps use the PA 
audio driver
    set_variable SDL_AUDIODRIVER pulse
}

enable_timidity() {
    echo "Enabling PulseAudio for Timidity..."
    # Use esound output for timidity
    if grep -q "alias timidity='timidity -Oe'" $PROFNAME; then
        echo "Timidity already setup for using PulseAudio"
    else
        echo "alias timidity='timidity -Oe'" >> $PROFNAME
    fi
}

enable_xine() {
    #echo "Enabling PulseAudio for Xine..."
    # FIXME: xine uses $HOME/.xine/config
    return 0
}

enable_festival() {
    test -f /etc/festival.scm || return 0
    echo "Enabling PulseAudio for Festival..."
    cat << EOF >> /etc/festival.scm
;;;; Use pulseaudio to output sound
(Parameter.set 'Audio_Command "paplay -n festival \$FILE")
(Parameter.set 'Audio_Method 'Audio_Command)
(Parameter.set 'Audio_Required_Format 'snd)
EOF
}

enable_sox() {
    echo "Enabling PulseAudio for SoX..."
    set_variable AUDIODRIVER pulseaudio
}

enable_gstreamer() {
    # set autoaudiosink/src, which should pick up PA
    echo "Setting auto sink/src for gstreamer"
    setup_gconf_vendor -s -t str \
        /system/gstreamer/0.10/default/audiosink autoaudiosink
    setup_gconf_vendor -s -t str \
        /system/gstreamer/0.10/default/musicaudiosink autoaudiosink
    setup_gconf_vendor -s -t str \
        /system/gstreamer/0.10/default/chataudiosink autoaudiosink
    setup_gconf_vendor -s -t str \
        /system/gstreamer/0.10/default/audiosrc autoaudiosrc
}

enable_qemu () {
    echo "Enabling PulseAudio for QEMU/KVM"
    set_variable QEMU_AUDIO_DRV pa
}

enable_autospawn() {
    echo "Enabling PulseAudio autospawn..."
    if grep -q ^autospawn /etc/pulse/client.conf; then
        sed -i -e "s|^autospawn.*|autospawn = yes|g" /etc/pulse/client.conf
    else
        echo "autospawn = yes" >> /etc/pulse/client.conf
    fi
}

disable_alsa() {
    echo "Disabling PulseAudio for ALSA..."
    delete_variable ALSA_CONFIG_PATH
}

disable_phonon() {
    echo "Disabling PulseAudio for Phonon..."
    set_variable PHONON_PULSEAUDIO_DISABLE 1
}

disable_kmix() {
    echo "Disabling PulseAudio for Kmix..."
    set_variable KMIX_PULSEAUDIO_DISABLE 1
}

disable_libao() {
    if test -f /etc/libao.conf; then
        echo "Disabling PulseAudio for libao..."
        sed -i -e "/default_driver=pulse/d" /etc/libao.conf
    fi
}

disable_mplayer() {
    if test -f $MPLAYER_CONF; then
        echo "Disabling PulseAudio for mplayer..."
        sed -i -e 's/^ao *= *pulse,*/ao=/g' \
                -e 's/^ao *= *$/ao=alsa/g' $MPLAYER_CONF
    fi
}

disable_speechd() {
    echo "Disabling PulseAudio for speech dispatcher..."
    if test -f /etc/speech-dispatcher/speechd.conf; then
        if grep -q 'AudioOutputMethod' /etc/speech-dispatcher/speechd.conf; then
            sed -i -e "s|^.*AudioOutputMethod .*|#AudioOutputMethod 
\"pulse\"|g" /etc/speech-dispatcher/speechd.conf
        fi
    fi
}

disable_openal() {
    # nothing to do here. openal-soft is patched to prefer pulse but
    # it won't autostart the daemon.
    return 0
}

disable_oss() {
    for app in $LIST_OF_OSS_APPS; do
        sed -i -e "/alias $app='padsp $app'/d" $PROFNAME
    done
}

disable_sdl() {
    echo "Disabling PulseAudio for SDL..."
    delete_variable SDL_AUDIODRIVER
}

disable_timidity() {
    echo "Disabling PulseAudio for Timidity..."
    sed -i -e "/alias timidity='timidity -Oe'/d" $PROFNAME
}

disable_xine() {
    #echo "Disabling PulseAudio for Xine..."
    # FIXME: xine uses $HOME/.xine/config
    return 0
}

disable_festival() {
    test -f /etc/festival.scm || return 0
    echo "Disabling PulseAudio for Festival..."
    /usr/bin/sed --in-place /";;;; Use pulseaudio to output sound"/d 
/etc/festival.scm
    /usr/bin/sed --in-place /"(Parameter.set 'Audio_Command \"paplay -n 
festival \$FILE\")"/d /etc/festival.scm
    /usr/bin/sed --in-place /"(Parameter.set 'Audio_Method 'Audio_Command)"/d 
/etc/festival.scm
    /usr/bin/sed --in-place /"(Parameter.set 'Audio_Required_Format 'snd)"/d 
/etc/festival.scm
}

disable_sox() {
    echo "Disabling PulseAudio for SoX..."
    set_variable AUDIODRIVER alsa
}

disable_gstreamer() {
    echo "Setting alsasink/src for gstreamer"
    setup_gconf_vendor -s -t str \
        /system/gstreamer/0.10/default/audiosink alsasink
    setup_gconf_vendor -s -t str \
        /system/gstreamer/0.10/default/musicaudiosink alsasink
    setup_gconf_vendor -s -t str \
        /system/gstreamer/0.10/default/chataudiosink alsasink
    setup_gconf_vendor -s -t str \
        /system/gstreamer/0.10/default/audiosrc alsasrc
}

disable_qemu () {
    echo "Clearing QEMU/KVM audio setup"
    delete_variable QEMU_AUDIO_DRV
}

disable_autospawn() {
    echo "Disabling PulseAudio autospawn..."
    if grep -q ^autospawn /etc/pulse/client.conf; then
        sed -i -e "s|^autospawn.*|autospawn = no|g" /etc/pulse/client.conf
    else
        echo "autospawn = no" >> /etc/pulse/client.conf
    fi
    # kill leftover PA processes
    killall pulseaudio > /dev/null 2>&1
}

enable_all() {
    enable_alsa
    enable_libao
    enable_mplayer
    enable_openal
    enable_oss
    enable_sdl
    enable_timidity
    enable_xine
    enable_festival
    enable_phonon
    enable_kmix
    enable_speechd
    enable_sox
    enable_gstreamer
    enable_qemu
    enable_autospawn
}

disable_all() {
    disable_alsa
    disable_libao
    disable_mplayer
    disable_openal
    disable_oss
    disable_sdl
    disable_timidity
    disable_xine
    disable_festival
    disable_phonon
    disable_kmix
    disable_speechd
    disable_sox
    disable_gstreamer
    disable_qemu
    disable_autospawn
}

case $1 in
    --enable)
        check_root || exit 1
        ENABLE=1
        enable_all
        ;;
    --disable)
        check_root || exit 1
        ENABLE=0
        disable_all
        ;;
    --auto)
        check_root || exit 1
        if [ -f /etc/sysconfig/sound ]; then
            . /etc/sysconfig/sound
        fi
        if [ "x$PULSEAUDIO_ENABLE" = "xyes" ]; then
            enable_all
        elif [ "x$PULSEAUDIO_ENABLE" = "xcustom" ]; then
            echo "Custom configuration detected, doing nothing."
        else
            disable_all
        fi
        exit 0
        ;;
    --status)
        if [ -f /etc/sysconfig/sound ]; then
            . /etc/sysconfig/sound
        fi
        if [ "x$PULSEAUDIO_ENABLE" = "xyes" ]; then
            echo "enabled"
        elif [ "x$PULSEAUDIO_ENABLE" = "xcustom" ]; then
            echo "custom configured"
        else
            echo "disabled"
        fi
        exit 0
        ;;
    *)
        show_help
        ;;
esac

# Now, update /etc/sysconfig/sound with the PA status
if grep -q PULSEAUDIO_ENABLE /etc/sysconfig/sound; then
    if [  "x$ENABLE" = "x1" ]; then
        sed -i -e "s|PULSEAUDIO_ENABLE=\"no\"|PULSEAUDIO_ENABLE=\"yes\"|g" 
/etc/sysconfig/sound
    else
        sed -i -e "s|PULSEAUDIO_ENABLE=\"yes\"|PULSEAUDIO_ENABLE=\"no\"|g" 
/etc/sysconfig/sound
    fi
else
    if [ "x$ENABLE" = "x1" ]; then
        echo "PULSEAUDIO_ENABLE=\"yes\"" >> /etc/sysconfig/sound
    else
        echo "PULSEAUDIO_ENABLE=\"no\"" >> /etc/sysconfig/sound
    fi
fi
exit 0
++++++ suppress-socket-error-msg.diff ++++++
---
 src/pulsecore/socket-client.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Index: pulseaudio-0.99.2/src/pulsecore/socket-client.c
===================================================================
--- pulseaudio-0.99.2.orig/src/pulsecore/socket-client.c
+++ pulseaudio-0.99.2/src/pulsecore/socket-client.c
@@ -253,7 +253,7 @@ static int sockaddr_prepare(pa_socket_cl
     c->local = pa_socket_address_is_local(sa);
 
     if ((c->fd = pa_socket_cloexec(sa->sa_family, SOCK_STREAM, 0)) < 0) {
-        pa_log("socket(): %s", pa_cstrerror(errno));
+        /*pa_log("socket(): %s", pa_cstrerror(errno));*/
         return -1;
     }
 
++++++ sysconfig.sound-pulseaudio ++++++

## Path:        Hardware/Soundcard/PulseAudio
## Description: PulseAudio configuration
## Type:        list(yes,no,custom)
#
# Enable or disable PulseAudio system. Can be set to "custom" to not have
# scripts automatically change sound-related configuration for PulseAudio.
#
PULSEAUDIO_ENABLE="yes"
-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org

Reply via email to