summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKoen Kooi <koen@openembedded.org>2005-11-08 12:04:15 +0000
committerOpenEmbedded Project <openembedded-devel@lists.openembedded.org>2005-11-08 12:04:15 +0000
commit7e3e02c2c816d63487c2de2a4e1ea815f0725bf3 (patch)
treefd01ac5b4120070d1685d53bfdfeb0d341855409
parent413b4d7adf6863ad55bbb43cd714cf3c60c7c3e2 (diff)
gpe-sessionscripts 0.66: add conditional patch for devices with a high dpi
* sets fonts to fontsize 5
-rw-r--r--packages/gpe-session-scripts/files/highdpifontfix.patch14
-rw-r--r--packages/gpe-session-scripts/gpe-session-scripts_0.66.bb10
2 files changed, 23 insertions, 1 deletions
diff --git a/packages/gpe-session-scripts/files/highdpifontfix.patch b/packages/gpe-session-scripts/files/highdpifontfix.patch
new file mode 100644
index 0000000000..67fbeff151
--- /dev/null
+++ b/packages/gpe-session-scripts/files/highdpifontfix.patch
@@ -0,0 +1,14 @@
+--- /tmp/xsettings.default 2005-11-08 12:51:34.842421400 +0100
++++ gpe-session-scripts-0.66/X11/xsettings.default 2005-11-08 12:52:40.273474368 +0100
+@@ -1,8 +1,8 @@
+ Gtk/IconSizes:S:gtk-dialog=30,30:gtk-button=16,16
+ Gtk/ToolbarIconSize:I:1
+ Gtk/ToolbarStyle:I:2
+-Gtk/FontName:S:Sans 7
+-MATCHBOX/Desktop/Font:S:Sans 7
+-Net/ThemeName:S:Default
++Gtk/FontName:S:Sans 5
++MATCHBOX/Desktop/Font:S:Sans 5
++Net/ThemeName:S:Industrial
+ MATCHBOX/Background:S:col-solid:#1f00a2
+
diff --git a/packages/gpe-session-scripts/gpe-session-scripts_0.66.bb b/packages/gpe-session-scripts/gpe-session-scripts_0.66.bb
index d7a3054149..52dcc5bdaa 100644
--- a/packages/gpe-session-scripts/gpe-session-scripts_0.66.bb
+++ b/packages/gpe-session-scripts/gpe-session-scripts_0.66.bb
@@ -1,5 +1,5 @@
LICENSE = "GPL"
-PR = "r0"
+PR = "r1"
inherit gpe
@@ -14,6 +14,14 @@ DEPENDS = "matchbox-wm matchbox-panel gpe-bluetooth xstroke xtscal gpe-question
SRC_URI += "file://matchbox-session \
file://disable-composite.xsettings"
+#apply a patch to set the fontsize for bigdpi (200+) devices to 5
+SRC_URI_append_ipaq-pxa270 = " file://highdpifontfix.patch;patch=1"
+SRC_URI_append_spitz = " file://highdpifontfix.patch;patch=1"
+SRC_URI_append_akita = " file://highdpifontfix.patch;patch=1"
+SRC_URI_append_borzoi = " file://highdpifontfix.patch;patch=1"
+SRC_URI_append_c7x0 = " file://highdpifontfix.patch;patch=1"
+SRC_URI_append_nokia770 = " file://highdpifontfix.patch;patch=1"
+
do_install_append() {
install -d ${D}${sysconfdir}/gpe/xsettings-default.d
if [ "${GUI_MACHINE_CLASS}" != "bigscreen" ]; then