diff --git a/alsa-mixer-Ignore-some-elements-in-the-analog-output.patch b/alsa-mixer-Ignore-some-elements-in-the-analog-output.patch deleted file mode 100644 index b666060..0000000 --- a/alsa-mixer-Ignore-some-elements-in-the-analog-output.patch +++ /dev/null @@ -1,68 +0,0 @@ -From 717834086c57667823a34d76357a572f43e5313b Mon Sep 17 00:00:00 2001 -From: Tanu Kaskinen -Date: Mon, 27 Oct 2014 13:00:00 +0200 -Subject: [PATCH] alsa-mixer: Ignore some elements in the analog-output path - -The analog-output path should be suppressed when there are more -specific paths available. Currently that usually doesn't happen. The -suppression can be done with the path subset detection, and this patch -makes that work (another approach would be to mark the elements as -required-absent, like analog-input does, but I like the subset -suppression more, because it requires less stuff in the configuration -files). The problem with listing the now-removed elements in -analog-output.conf was that if the sound card had e.g. a Speaker -element, then the switch behaviour was different between analog-output -and analog-output-speakers, so analog-output was not considered a -subset of analog-output-speakers. - -BugLink: https://bugs.freedesktop.org/show_bug.cgi?id=74609 ---- - src/modules/alsa/mixer/paths/analog-output.conf | 30 ------------------------ - 1 file changed, 30 deletions(-) - ---- a/src/modules/alsa/mixer/paths/analog-output.conf -+++ b/src/modules/alsa/mixer/paths/analog-output.conf -@@ -22,14 +22,6 @@ - [General] - priority = 99 - --[Jack Line Out] --state.plugged = unknown --state.unplugged = unknown -- --[Jack Line Out Phantom] --state.plugged = unknown --state.unplugged = unknown -- - [Element Hardware Master] - switch = mute - volume = merge -@@ -46,28 +38,6 @@ override-map.2 = all-left,all-right - switch = off - volume = off - --[Element Line HP Swap] --switch = off -- --; This profile path is intended to control the default output, not the --; headphones. But it should not hurt if we leave the headphone jack --; enabled nonetheless. --[Element Headphone] --switch = mute --volume = zero -- --[Element Headphone2] --switch = mute --volume = zero -- --[Element Speaker] --switch = mute --volume = off -- --[Element Desktop Speaker] --switch = mute --volume = off -- - [Element Front] - switch = mute - volume = merge diff --git a/pulseaudio.changes b/pulseaudio.changes index 81bd8a2..24cf170 100644 --- a/pulseaudio.changes +++ b/pulseaudio.changes @@ -1,3 +1,10 @@ +------------------------------------------------------------------- +Mon Nov 17 22:38:54 CET 2014 - tiwai@suse.de + +- Remove a patch causing more regressions, lost headphone handling + on Thinkpads (bnc#905418): + 0002-alsa-mixer-Ignore-some-elements-in-the-analog-output.patch + ------------------------------------------------------------------- Wed Nov 12 12:53:49 CET 2014 - tiwai@suse.de diff --git a/pulseaudio.spec b/pulseaudio.spec index a4c5986..e6e321c 100644 --- a/pulseaudio.spec +++ b/pulseaudio.spec @@ -1,7 +1,7 @@ # # spec file for package pulseaudio # -# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2014 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 @@ -46,8 +46,6 @@ Patch2: pulseaudio-wrong-memset.patch Patch3: pulseaudio-bnc881524-rtp.patch # PATCH-FIX-UPSTREAM alsa-mixer-recognize-Dock-headphone-jack.patch tiwai@suse.de Patch4: alsa-mixer-recognize-Dock-headphone-jack.patch -# PATCH-FIX-UPSTREAM alsa-mixer-Ignore-some-elements-in-the-analog-output.patch tiwai@suse.de -Patch5: alsa-mixer-Ignore-some-elements-in-the-analog-output.patch BuildRequires: alsa-devel >= 1.0.19 # require only minimal bluez, if we are on bluez 5 we will determine in %build phase BuildRequires: bluez-devel >= 4.99 @@ -79,13 +77,13 @@ BuildRequires: pkgconfig(dbus-1) >= 1.4.12 BuildRequires: pkgconfig(gconf-2.0) BuildRequires: pkgconfig(glib-2.0) BuildRequires: pkgconfig(gtk+-3.0) +BuildRequires: pkgconfig(ice) BuildRequires: pkgconfig(json) >= 0.9 BuildRequires: pkgconfig(sbc) >= 1.0 -BuildRequires: pkgconfig(x11) -BuildRequires: pkgconfig(xcb) -BuildRequires: pkgconfig(x11-xcb) -BuildRequires: pkgconfig(ice) BuildRequires: pkgconfig(sm) +BuildRequires: pkgconfig(x11) +BuildRequires: pkgconfig(x11-xcb) +BuildRequires: pkgconfig(xcb) BuildRequires: pkgconfig(xtst) PreReq: %fillup_prereq PreReq: pwdutils @@ -303,7 +301,6 @@ This package contains GDM integration hooks for the PulseAudio sound server. %patch2 %patch3 -p1 %patch4 -p1 -%patch5 -p1 %build echo 'HTML_TIMESTAMP=NO' >> doxygen/doxygen.conf.in