[pulseaudio-equalizer] Rework preamp patch

Hicham HAOUARI hicham at fedoraproject.org
Wed Jan 5 14:46:29 UTC 2011


commit e77fbb75a856e8ee42dbcad66f769e1f5ba3464d
Author: Hicham HAOUARI <hicham.haouari at gmail.com>
Date:   Wed Jan 5 14:46:08 2011 +0000

    Rework preamp patch

 pulseaudio-equalizer-2.7-remove-preamp.patch |   40 ++++++++------------------
 pulseaudio-equalizer.spec                    |    5 ++-
 2 files changed, 16 insertions(+), 29 deletions(-)
---
diff --git a/pulseaudio-equalizer-2.7-remove-preamp.patch b/pulseaudio-equalizer-2.7-remove-preamp.patch
index 86053ae..5a1dcc3 100644
--- a/pulseaudio-equalizer-2.7-remove-preamp.patch
+++ b/pulseaudio-equalizer-2.7-remove-preamp.patch
@@ -11,38 +11,22 @@
    # Set the LADSPA sink as the default
 --- pulseaudio-equalizer-2.7/usr/share/pulseaudio-equalizer/pulseaudio-equalizer.py.old	2011-01-03 22:58:45.000000000 +0000
 +++ pulseaudio-equalizer-2.7/usr/share/pulseaudio-equalizer/pulseaudio-equalizer.py	2011-01-03 22:59:39.000000000 +0000
-@@ -392,34 +392,6 @@ class Equalizer:
-         table.set_border_width(5)
-         hbox1.add(table)
- 
--	# Preamp widget
--	global preampscale
--	global preampscalevalue
--	preampscale = gtk.VScale()
--	preampscale.set_draw_value(0)
--	preampscale.set_inverted(1)
--	preampscale.set_value_pos(gtk.POS_BOTTOM)
--	preampscale.set_range(0.0,2.0)
--	preampscale.set_increments(1, 0.1)
--	preampscale.set_digits(1)
--	preampscale.set_size_request(35,200)
--	preampscale.set_value(float(preamp))
--	preampscale.connect("value-changed", self.on_preampscale)
--	label = gtk.Label()
--	label.set_markup("<small>Preamp</small>")
--	preampscalevalue = gtk.Label()
--	preampscalevalue.set_markup(str(preampscale.get_value()) + "x")
--	table.attach(label, 1, 2, 0, 1)
--	table.attach(preampscale, 1, 2, 1, 2)
--	table.attach(preampscalevalue, 1, 2, 2, 3)
+@@ -412,14 +412,14 @@ class Equalizer:
+ 	table.attach(label, 1, 2, 0, 1)
+ 	table.attach(preampscale, 1, 2, 1, 2)
+ 	table.attach(preampscalevalue, 1, 2, 2, 3)
 -	label.show()
 -	preampscale.show()
 -	preampscalevalue.show()
--
--	# Separator between preamp and bands
--	separator = gtk.VSeparator()
--	table.attach(separator, 2, 3, 1, 2)
++	#label.show()
++	#preampscale.show()
++	#preampscalevalue.show()
+ 
+ 	# Separator between preamp and bands
+ 	separator = gtk.VSeparator()
+ 	table.attach(separator, 2, 3, 1, 2)
 -	separator.show()
++	#separator.show()
  
  	# Equalizer bands
  	global scale
diff --git a/pulseaudio-equalizer.spec b/pulseaudio-equalizer.spec
index 322ae8b..c826600 100644
--- a/pulseaudio-equalizer.spec
+++ b/pulseaudio-equalizer.spec
@@ -2,7 +2,7 @@
 
 Name:           pulseaudio-equalizer
 Version:        2.7
-Release:        4%{?dist}
+Release:        5%{?dist}
 Summary:        A 15 Bands Equalizer for PulseAudio
 
 Group:          Applications/Multimedia
@@ -70,6 +70,9 @@ rm -rf $RPM_BUILD_ROOT
 %{_mandir}/man1/%{name}-gtk.1.*
 
 %changelog
+* Wed Jan 05 2011 Hicham HAOUARI <hicham.haouari at gmail.com> - 2.7-5
+- Rework preamp patch
+
 * Mon Jan 03 2011 Hicham HAOUARI <hicham.haouari at gmail.com> - 2.7-4
 - Remove preamp per discussion with upstream, fixes rhbz #639604
 - Add man pages


More information about the scm-commits mailing list