summaryrefslogtreecommitdiff
path: root/packages
diff options
context:
space:
mode:
Diffstat (limited to 'packages')
-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