[xfce4-settings/el6] Add the rhel gnome-icon-theme patch

Orion Poplawski orion at fedoraproject.org
Thu May 19 20:27:58 UTC 2011


commit 2268cc04dfb5db5645583ce1da6c6fb741c6b973
Author: Orion Poplawski <orion at cora.nwra.com>
Date:   Thu May 19 14:27:48 2011 -0600

    Add the rhel gnome-icon-theme patch

 xfce4-settings-4.8.2-rhel.patch |   16 ++++++++++++++++
 xfce4-settings.spec             |    7 ++++++-
 2 files changed, 22 insertions(+), 1 deletions(-)
---
diff --git a/xfce4-settings-4.8.2-rhel.patch b/xfce4-settings-4.8.2-rhel.patch
new file mode 100644
index 0000000..d117e89
--- /dev/null
+++ b/xfce4-settings-4.8.2-rhel.patch
@@ -0,0 +1,16 @@
+diff -Nur xfce4-settings-4.6.0.orig/xfsettingsd/xsettings.xml xfce4-settings-4.6.0/xfsettingsd/xsettings.xml
+--- xfce4-settings-4.6.0.orig/xfsettingsd/xsettings.xml	2009-02-20 10:12:35.000000000 -0700
++++ xfce4-settings-4.6.0/xfsettingsd/xsettings.xml	2009-04-16 15:25:44.000000000 -0600
+@@ -3,9 +3,11 @@
+ <channel name="xsettings" version="1.0">
+   <property name="Net" type="empty">
+     <property name="ThemeName" type="string" value="Xfce"/>
+-    <property name="IconThemeName" type="string" value="Rodent"/>
++    <property name="IconThemeName" type="string" value="gnome"/>
+   </property>
+   <property name="Xft" type="empty">
+     <property name="DPI" type="int" value="-1"/>
++    <property name="Antialias" type="int" value="1"/>
++    <property name="HintStyle" type="string" value="hintfull"/>
+   </property>
+ </channel>
diff --git a/xfce4-settings.spec b/xfce4-settings.spec
index 89710be..b016dcf 100644
--- a/xfce4-settings.spec
+++ b/xfce4-settings.spec
@@ -11,7 +11,12 @@ License:        GPLv2+ and GPLv2
 URL:            http://www.xfce.org/
 Source0:        http://archive.xfce.org/src/xfce/%{name}/%{xfceversion}/%{name}-%{version}.tar.bz2
 # use vendor's artwork
+%if 0%{?fedora}
 Patch0:         xfce4-settings-4.6.0-fedora.patch
+%endif
+%if 0%{?rhel}
+Patch0:         xfce4-settings-4.8.2-rhel.patch
+%endfif
 BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 
 BuildRequires:  gettext
@@ -86,7 +91,7 @@ rm -rf $RPM_BUILD_ROOT
 
 %changelog
 * Thu May 19 2011 Orion Poplawski <orion at cora.nwra.com> - 4.8.2-2
-- Require gnome-icon-theme on EL
+- Use and require gnome-icon-theme on EL
 
 * Thu May 19 2011 Christoph Wickert <wickert at kolabsys.com> - 4.8.2-1
 - Update to 4.8.2


More information about the scm-commits mailing list