Patch to work with the default icon theme
Use the patch posted in http://lists.freedesktop.org/archives/pulseaudio-discuss/2015-July/024216.html instead of pulling in gnome-icon-theme-legacy. https://bugzilla.redhat.com/show_bug.cgi?id=1249198
This commit is contained in:
parent
0520ca861b
commit
442400d928
34
0001-Use-freedesktop.org-standard-icon-name.patch
Normal file
34
0001-Use-freedesktop.org-standard-icon-name.patch
Normal file
@ -0,0 +1,34 @@
|
||||
From bd76be12abfff4427231567404b41843417e6332 Mon Sep 17 00:00:00 2001
|
||||
From: "Paul W. Frields" <stickster@gmail.com>
|
||||
Date: Fri, 31 Jul 2015 15:36:14 -0400
|
||||
Subject: [PATCH] Use freedesktop.org standard icon name
|
||||
|
||||
---
|
||||
src/pavucontrol.glade | 4 ++--
|
||||
1 file changed, 2 insertions(+), 2 deletions(-)
|
||||
|
||||
diff --git a/src/pavucontrol.glade b/src/pavucontrol.glade
|
||||
index 219f5a2..5efd4b3 100644
|
||||
--- a/src/pavucontrol.glade
|
||||
+++ b/src/pavucontrol.glade
|
||||
@@ -312,7 +312,7 @@
|
||||
<object class="GtkImage" id="image18">
|
||||
<property name="visible">True</property>
|
||||
<property name="can_focus">False</property>
|
||||
- <property name="icon_name">stock_lock</property>
|
||||
+ <property name="icon_name">security-medium</property>
|
||||
<property name="icon-size">1</property>
|
||||
</object>
|
||||
</child>
|
||||
@@ -1474,7 +1474,7 @@
|
||||
<object class="GtkImage" id="image18">
|
||||
<property name="visible">True</property>
|
||||
<property name="can_focus">False</property>
|
||||
- <property name="icon_name">stock_lock</property>
|
||||
+ <property name="icon_name">security-medium</property>
|
||||
<property name="icon-size">1</property>
|
||||
</object>
|
||||
</child>
|
||||
--
|
||||
2.4.3
|
||||
|
@ -1,12 +1,14 @@
|
||||
Name: pavucontrol
|
||||
Version: 3.0
|
||||
Release: 4%{?dist}
|
||||
Release: 5%{?dist}
|
||||
Summary: Volume control for PulseAudio
|
||||
|
||||
Group: Applications/Multimedia
|
||||
License: GPLv2+
|
||||
URL: http://freedesktop.org/software/pulseaudio/%{name}
|
||||
Source0: http://freedesktop.org/software/pulseaudio/%{name}/%{name}-%{version}.tar.xz
|
||||
# Fix icons with adwaita-icon-theme
|
||||
Patch0: 0001-Use-freedesktop.org-standard-icon-name.patch
|
||||
|
||||
BuildRequires: pulseaudio-libs-devel >= 3.0
|
||||
BuildRequires: gtkmm30-devel
|
||||
@ -15,8 +17,6 @@ BuildRequires: desktop-file-utils
|
||||
BuildRequires: libcanberra-devel
|
||||
BuildRequires: intltool
|
||||
|
||||
Requires: gnome-icon-theme-legacy
|
||||
|
||||
%description
|
||||
PulseAudio Volume Control (pavucontrol) is a simple GTK based volume control
|
||||
tool ("mixer") for the PulseAudio sound server. In contrast to classic mixer
|
||||
@ -25,6 +25,7 @@ of each playback stream separately.
|
||||
|
||||
%prep
|
||||
%setup -q
|
||||
%patch0 -p1
|
||||
|
||||
%build
|
||||
%configure
|
||||
@ -51,6 +52,9 @@ desktop-file-validate $RPM_BUILD_ROOT%{_datadir}/applications/pavucontrol.deskto
|
||||
%{_datadir}/applications/pavucontrol.desktop
|
||||
|
||||
%changelog
|
||||
* Wed Aug 19 2015 Kalev Lember <klember@redhat.com> - 3.0-5
|
||||
- Patch to work with the default icon theme (bug 1249198)
|
||||
|
||||
* Sat Aug 01 2015 Julian Sikorski <belegdol@fedoraproject.org> - 3.0-4
|
||||
- Added gnome-icon-theme-legacy to Requires (bug 1249198)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user