Git-Url: 
http://git.frugalware.org/gitweb/gitweb.cgi?p=frugalware-current.git;a=commitdiff;h=d5edaa670e34afca1febf57c0dc92e9dd774a3b4

commit d5edaa670e34afca1febf57c0dc92e9dd774a3b4
Author: James Buren <r...@frugalware.org>
Date:   Tue Mar 15 16:56:52 2011 -0500

xfce4-settings-4.8.1-2-i686
* enable new lcdfilter support

diff --git a/source/xfce4/xfce4-settings/FrugalBuild 
b/source/xfce4/xfce4-settings/FrugalBuild
index 8b38c21..1d2c61a 100644
--- a/source/xfce4/xfce4-settings/FrugalBuild
+++ b/source/xfce4/xfce4-settings/FrugalBuild
@@ -3,7 +3,7 @@

pkgname=xfce4-settings
pkgver=4.8.1
-pkgrel=1
+pkgrel=2
pkgdesc="Xfce4 Settings Frontend"
makedepends=('intltool')
depends=('libxfce4ui>=4.8.0' 'libxfce4util>=4.8.1' 'libexo>=0.6.0' \
@@ -17,10 +17,12 @@ archs=('i686' 'x86_64' 'ppc')
Finclude xfce4
#source=(${source[@]} ${pkgname}_frugalware.patch)
sha1sums=('71636f421eea105ff809837324ef6e9cad1e480b' \
-          'ca270db0583778d8a1f74ecec83fc3fbc46f7988')
+          'ca270db0583778d8a1f74ecec83fc3fbc46f7988' \
+          'a72bbcbbadb213c202ef09992ad1bdca8b4fb76f')

## bug fix release
-source=(http://archive.xfce.org/src/xfce/$pkgname/4.8/$pkgname-$pkgver.tar.bz2 
 ${pkgname}_frugalware.patch)
+source=(http://archive.xfce.org/src/xfce/$pkgname/4.8/$pkgname-$pkgver.tar.bz2 
\
+       ${pkgname}_frugalware.patch \
+       ${pkgname}-4.8.0-lcdfilter.patch)

# optimization OK
-
diff --git a/source/xfce4/xfce4-settings/xfce4-settings-4.8.0-lcdfilter.patch 
b/source/xfce4/xfce4-settings/xfce4-settings-4.8.0-lcdfilter.patch
new file mode 100644
index 0000000..6082e2e
--- /dev/null
+++ b/source/xfce4/xfce4-settings/xfce4-settings-4.8.0-lcdfilter.patch
@@ -0,0 +1,12 @@
+diff -aur a/xfsettingsd/registry.c b/xfsettingsd/registry.c
+--- a/xfsettingsd/registry.c   2011-01-30 10:34:15.000000000 -0600
++++ b/xfsettingsd/registry.c   2011-03-15 16:32:40.134000088 -0500
+@@ -384,7 +384,7 @@
+     str = g_value_get_string (&properties[XSETTING_ENTRY_XFT_RGBA].value);
+     update_property (props, "Xft.rgba", str);
+
+-    /*update_property (props, "Xft.lcdfilter", g_str_equal (str, "rgb") ? 
"lcddefault" : "none");*/
++    update_property (props, "Xft.lcdfilter", (g_str_equal(str,"none") || 
g_str_equal(str,"unknown")) ? "lcdnone" : "lcddefault");
+
+     if (g_value_get_int (&properties[XSETTING_ENTRY_XFT_HINTING].value))
+         str = g_value_get_string 
(&properties[XSETTING_ENTRY_XFT_HINTSTYLE].value);
_______________________________________________
Frugalware-git mailing list
Frugalware-git@frugalware.org
http://frugalware.org/mailman/listinfo/frugalware-git

Reply via email to