From 43670d95a8593dd8266ca615b50f54a5b70ccff2 Mon Sep 17 00:00:00 2001
From: Juan RP <xtraeme@gmail.com>
Date: Thu, 4 Aug 2011 09:10:57 +0200
Subject: [PATCH] xfce4-settings: update to 4.8.2.

---
 .../patches/xfce4-settings-4.6.0.patch        | 17 +++++++++++++++
 srcpkgs/xfce4-settings/template               | 21 ++++++-------------
 2 files changed, 23 insertions(+), 15 deletions(-)
 create mode 100644 srcpkgs/xfce4-settings/patches/xfce4-settings-4.6.0.patch

diff --git a/srcpkgs/xfce4-settings/patches/xfce4-settings-4.6.0.patch b/srcpkgs/xfce4-settings/patches/xfce4-settings-4.6.0.patch
new file mode 100644
index 0000000000..c4ed8f878e
--- /dev/null
+++ b/srcpkgs/xfce4-settings/patches/xfce4-settings-4.6.0.patch
@@ -0,0 +1,17 @@
+--- xfsettingsd/xsettings.xml	2009-02-20 10:12:35.000000000 -0700
++++ xfsettingsd/xsettings.xml	2009-04-16 15:25:44.000000000 -0600
+@@ -2,10 +2,12 @@
+ 
+ <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="ThemeName" type="string" value="Clearlooks"/>
++    <property name="IconThemeName" type="string" value="Tango"/>
+   </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/srcpkgs/xfce4-settings/template b/srcpkgs/xfce4-settings/template
index 728761960d..2dfef7f125 100644
--- a/srcpkgs/xfce4-settings/template
+++ b/srcpkgs/xfce4-settings/template
@@ -1,13 +1,15 @@
 # Template file for 'xfce4-settings'
 pkgname=xfce4-settings
-version=4.8.1
+version=4.8.2
 distfiles="http://archive.xfce.org/src/xfce/$pkgname/4.8/$pkgname-$version.tar.bz2"
 build_style=gnu_configure
 configure_args="--localstatedir=/var --enable-sound-settings
 --enable-pluggable-dialogs"
 short_desc="Xfce settings manager"
 maintainer="Juan RP <xtraeme@gmail.com>"
-checksum=0df5fa505c0a5c0ec0741c0ecb1f18b3fbb59eed39a0b21851ee0379501f1b5a
+homepage="http://www.xfce.org/"
+license="GPL-2"
+checksum=3f79865a6a3817f3c868f2412cbf105e73e54810438f62035699ae5fd72c29d0
 long_desc="
  ${pkgname} is the settings manager for the Xfce desktop environment."
 
@@ -30,31 +32,20 @@ Add_dependency run libnotify
 Add_dependency run dbus-libs
 Add_dependency run cairo
 Add_dependency run pango
+Add_dependency run libcanberra
 
 Add_dependency build pkg-config
 Add_dependency build intltool
 Add_dependency build libxfce4ui-devel
 Add_dependency build gtk+-devel
-Add_dependency build libxfce4util-devel
-Add_dependency build gdk-pixbuf-devel
 Add_dependency build xfconf-devel
-Add_dependency build glib-devel
 Add_dependency build libXi-devel
 Add_dependency build libXcursor-devel
-Add_dependency build libX11-devel
 Add_dependency build exo-devel
 Add_dependency build libXrandr-devel
 Add_dependency build libxklavier-devel
 Add_dependency build libnotify-devel
 Add_dependency build dbus-devel
-Add_dependency build cairo-devel
-Add_dependency build pango-devel
+Add_dependency build libcanberra-devel
 
 Add_dependency full desktop-file-utils
-
-post_install()
-{
-	# Change default icon them to tango, until xfce4-icon-theme
-	# is updated for >=4.6.
-	sed -i -e "s|Rodent|Tango|" ${DESTDIR}${conf_files}
-}