Browse Source

pulseaudio: update to 0.9.22

git-svn-id: http://trac.vinelinux.org/repos/projects/specs@2263 ec354946-7b23-47d6-9f5a-488ba84defc7
daisuke 14 years ago
parent
commit
dda05db5f6
1 changed files with 30 additions and 70 deletions
  1. 30 70
      p/pulseaudio/pulseaudio-vl.spec

+ 30 - 70
p/pulseaudio/pulseaudio-vl.spec

@@ -1,49 +1,17 @@
 %define build_compat32 %{?_with_compat32:1}%{!?_with_compat32:0}
-%define drvver 0.9.21
+%define drvver 0.9.22
 
 Name:		pulseaudio
 Summary: 	PulseAudio sound server
 Summary(ja): 	PulseAudio サウンドサーバ
-Version:	0.9.21
-Release:        2%{?_dist_release}
+Version:	0.9.22
+Release:        1%{?_dist_release}
 License:	GPLv2+
 URL:		http://pulseaudio.org
 Group:		System Environment/Daemons
 
 Source0:	http://0pointer.de/lennart/projects/pulseaudio/pulseaudio-%{version}.tar.gz
 Source1:        default.pa-for-gdm
-Patch0: 0001-dbus-remove-filter-functions-only-if-they-were-actua.patch
-Patch1: 0002-native-fix-request-counter-miscalculations.patch
-Patch2: 0003-core-make-sure-we-always-return-a-valid-memblock-in-.patch
-Patch3: 0004-bluetooth-destruct-stream-only-if-it-is-not-already-.patch
-Patch4: 0005-bluetooth-don-t-hit-an-assert-if-latency-is-queried-.patch
-Patch5: 0006-client-detect-forking-in-sample-cache-API-too.patch
-Patch6: 0007-client-verify-connection-state-in-pa_stream_connect_.patch
-Patch7: 0008-udev-don-t-forget-to-unref-devices-we-are-not-intere.patch
-Patch8: 0009-once-make-once-related-variables-volatile.patch
-Patch9: 0010-bluetooth-fix-invalid-memory-access.patch
-Patch10: 0011-log-add-an-easy-way-to-disable-log-rate-limiting.patch
-Patch11: 0012-udev-make-sure-we-get-events-only-for-sound-devices.patch
-Patch12: 0013-alsa-ignore-volume-changes-from-the-hw-if-we-are-not.patch
-Patch13: 0014-cpu-check-for-CMOV-flag-before-using-this-intsructio.patch
-Patch14: 0015-alsa-cover-Input-Source-Int-Mic.patch
-Patch15: 0016-alsa-Cover-the-Int-Mic-Boost-element.patch
-Patch16: 0017-udev-handle-sound-cards-with-both-modem-and-audio-pr.patch
-Patch17: 0018-udev-rework-modem-detection-a-bit.patch
-Patch18: 0019-daemon-first-take-name-on-the-bus-then-return-in-sta.patch
-Patch19: 0020-alsa-cover-bass-boost-mixer-element.patch
-Patch20: 0021-Mark-shared-variables-as-volatile.patch
-Patch21: 0022-udev-use-ID_MODEL_ENC-instead-of-ID_MODEL-if-it-is-s.patch
-Patch22: 0023-pacat-allow-configuration-of-latency-in-msec.patch
-Patch23: 0024-client-implement-PULSE_LATENCY_MSEC.patch
-Patch24: 0025-client-include-dolby-channel-names-in-comments.patch
-Patch25: 0026-alsa-add-profile-set-for-M-Audio-FastTrack-Pro-USB.patch
-Patch26: 0027-threaded-mainloop-Properly-initialise-m-n_waiting_fo.patch
-Patch27: 0028-udev-Use-SOUND_CLASS-instead-of-SOUND_FORM_FACTOR-wh.patch
-Patch28: 0029-More-src-pulsecore-cpu-arm.c-FTBFS-fixes.patch
-Patch29: 0030-Fix-the-following-warnings-which-now-cause-buildd-fa.patch
-Patch30: 0031-libpulse-Store-pa_stream-pointers-to-hashmaps-instea.patch
-Patch31: 0001-native-rework-handling-of-seeks-that-depend-on-varia.patch 
 
 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
 BuildRequires: tcp_wrappers, libsamplerate-devel, libsndfile-devel
@@ -212,6 +180,19 @@ Requires:	%{name}-libs = %{version}-%{release}
 %description utils
 This package contains command line utilities for the PulseAudio sound server.
 
+%package gdm-hooks
+Summary:        PulseAudio GDM integration
+Summary(ja):    PulseAudio GDM 統合
+License:        LGPLv2+
+Group:          Applications/Multimedia
+Requires:       gdm >= 2.22.0
+# for the gdm user
+Requires(pre):  gdm
+
+%description gdm-hooks
+This package contains GDM integration hooks for the PulseAudio sound server.
+
+
 # compat32
 %package -n compat32-%{name}-libs
 Summary:	Libraries for PulseAudio clients
@@ -270,47 +251,15 @@ a PulseAudio sound server.
 
 %prep
 %setup -q -T -b0
-%patch0 -p1
-%patch1 -p1
-%patch2 -p1
-%patch3 -p1
-%patch4 -p1
-%patch5 -p1
-%patch6 -p1
-%patch7 -p1
-%patch8 -p1
-%patch9 -p1
-%patch10 -p1
-%patch11 -p1
-%patch12 -p1
-%patch13 -p1
-%patch14 -p1
-%patch15 -p1
-%patch16 -p1
-%patch17 -p1
-%patch18 -p1
-%patch19 -p1
-%patch20 -p1
-%patch21 -p1
-%patch22 -p1
-%patch23 -p1
-%patch24 -p1
-%patch25 -p1
-%patch26 -p1
-%patch27 -p1
-%patch28 -p1
-%patch29 -p1
-%patch30 -p1
-%patch31 -p1
-
 
 
 %build
 %configure \
   --disable-ltdl-install --disable-static --disable-rpath \
   --with-system-user=pulse --with-system-group=pulse \
-  --with-realtime-group=pulse-rt --with-access-group=pulse-access
-make LIBTOOL=/usr/bin/libtool
+  --with-realtime-group=pulse-rt --with-access-group=pulse-access \
+  --disable-hal
+make LIBTOOL=/usr/bin/libtool %{?_smp_mflags}
 make doxygen
 
 %install
@@ -565,6 +514,12 @@ fi
 %{_mandir}/man1/padsp.1.gz
 %{_mandir}/man1/pax11publish.1.gz
 
+%files gdm-hooks
+%defattr(-,root,root)
+%attr(0700, gdm, gdm) %dir %{_localstatedir}/lib/gdm/.pulse
+%attr(0600, gdm, gdm) %{_localstatedir}/lib/gdm/.pulse/default.pa
+
+
 # compat32
 %if %{build_compat32}
 %files -n compat32-%{name}-libs
@@ -595,6 +550,11 @@ fi
 %endif
 
 %changelog
+* Wed Dec 01 2010 Daisuke SUZUKI <daisuke@linux.or.jp> 0.9.22-1
+- new upstream release
+- drop upstreamed patches
+- add gdm-hooks subpackage
+
 * Sat Oct 02 2010 Shu KONNO <owa@bg.wakwak.com> 0.9.21-2
 - rebuilt with rpm-4.8.1 for pkg-config