Git-Url:
http://git.frugalware.org/gitweb/gitweb.cgi?p=xfce46.git;a=commitdiff;h=a8b2202576743b551755834c2cfa29924b34870a
commit a8b2202576743b551755834c2cfa29924b34870a
Author: Priyank <[EMAIL PROTECTED]>
Date: Thu Nov 20 17:52:44 2008 +0530
xfce4-settings-4.5.92-2-i686
* Added a patch to apply frugalware specific defaults to Xfce
* Currently applies to DPI, Hinting, Font size, GTK+ Theme and Icon theme
diff --git a/source/xfce4/xfce4-settings/FrugalBuild
b/source/xfce4/xfce4-settings/FrugalBuild
index 6e184af..1c0c9f6 100644
--- a/source/xfce4/xfce4-settings/FrugalBuild
+++ b/source/xfce4/xfce4-settings/FrugalBuild
@@ -3,18 +3,20 @@
pkgname=xfce4-settings
pkgver=4.5.92
-pkgrel=1
+pkgrel=2
pkgdesc="Xfce4 Settings Frontend"
makedepends=('intltool')
depends=('libxfcegui4>=4.5.92' 'libxfce4util>=4.5.92' 'libexo>=0.3.92' \
'libglade' 'xfconf>=4.5.92' 'dbus-glib>=0.76' 'libxi' 'libxrandr' \
- 'libxcursor' 'libnotify>=0.4.4' 'libwnck')
+ 'libxcursor' 'libnotify>=0.4.4' 'libwnck' 'libxklavier>=3.6')
groups=('xfce4' 'xfce4-core')
conflicts=('xfce-mcs-manager' 'xfce-mcs-plugins')
replaces=('xfce-mcs-manager' 'xfce-mcs-plugins')
archs=('i686' 'x86_64')
Finclude xfce4
-sha1sums=('3197160edb6c390e11dae0a1cebd1207e6ff6a74')
+source=([EMAIL PROTECTED] ${pkgname}_frugalware.patch)
+sha1sums=('3197160edb6c390e11dae0a1cebd1207e6ff6a74' \
+ '24cb8d90fb4af7ee4db01e090077a23b1cfdca5e')
# optimization OK
diff --git a/source/xfce4/xfce4-settings/xfce4-settings_frugalware.patch
b/source/xfce4/xfce4-settings/xfce4-settings_frugalware.patch
new file mode 100644
index 0000000..fa2bccd
--- /dev/null
+++ b/source/xfce4/xfce4-settings/xfce4-settings_frugalware.patch
@@ -0,0 +1,37 @@
+diff -Naur xfce4-settings-4.5.92/xfsettingsd/registry.c
xfce4-settings-4.5.92.new/xfsettingsd/registry.c
+--- xfce4-settings-4.5.92/xfsettingsd/registry.c 2008-11-10
12:01:06.000000000 +0530
++++ xfce4-settings-4.5.92.new/xfsettingsd/registry.c 2008-11-20
17:35:26.000000000 +0530
+@@ -245,16 +245,16 @@
+ /* Xft settings */
+ g_value_set_int (&properties[XSETTING_ENTRY_XFT_ANTIALIAS].value, -1);
+ g_value_set_int (&properties[XSETTING_ENTRY_XFT_HINTING].value, -1);
+- g_value_set_string (&properties[XSETTING_ENTRY_XFT_HINTSTYLE].value,
"hintnone");
+- g_value_set_string (&properties[XSETTING_ENTRY_XFT_RGBA].value, "none");
+- g_value_set_int (&properties[XSETTING_ENTRY_XFT_DPI].value, -1);
++ g_value_set_string (&properties[XSETTING_ENTRY_XFT_HINTSTYLE].value,
"hintfull");
++ g_value_set_string (&properties[XSETTING_ENTRY_XFT_RGBA].value, "vrgb");
++ g_value_set_int (&properties[XSETTING_ENTRY_XFT_DPI].value, 72);
+ /* GTK settings */
+ g_value_set_boolean
(&properties[XSETTING_ENTRY_GTK_CANCHANGEACCELS].value, FALSE);
+ g_value_set_string (&properties[XSETTING_ENTRY_GTK_COLORPALETTE].value,
+ "black:white:gray50:red:purple:blue:light "
+
"blue:green:yellow:orange:lavender:brown:goldenrod4:dodger "
+ "blue:pink:light green:gray10:gray30:gray75:gray90");
+- g_value_set_string (&properties[XSETTING_ENTRY_GTK_FONTNAME].value, "Sans
10");
++ g_value_set_string (&properties[XSETTING_ENTRY_GTK_FONTNAME].value, "Sans
12");
+ g_value_set_string (&properties[XSETTING_ENTRY_GTK_ICONSIZES].value,
NULL);
+ g_value_set_string (&properties[XSETTING_ENTRY_GTK_KEYTHEMENAME].value,
NULL);
+ g_value_set_string (&properties[XSETTING_ENTRY_GTK_TOOLBARSTYLE].value,
"Icons");
+diff -Naur xfce4-settings-4.5.92/xfsettingsd/xsettings.xml
xfce4-settings-4.5.92.new/xfsettingsd/xsettings.xml
+--- xfce4-settings-4.5.92/xfsettingsd/xsettings.xml 2008-11-10
11:30:40.000000000 +0530
++++ xfce4-settings-4.5.92.new/xfsettingsd/xsettings.xml 2008-11-20
17:36:06.000000000 +0530
+@@ -2,7 +2,7 @@
+
+ <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="Frugalware"/>
++ <property name="IconThemeName" type="string" value="Tango"/>
+ </property>
+ </channel>
_______________________________________________
Frugalware-git mailing list
[email protected]
http://frugalware.org/mailman/listinfo/frugalware-git