fbreader: Enable large icons for SL-Cxx00 devices & add first version of zaurus-VGA...
authorMatthias Hentges <oe@hentges.net>
Mon, 25 Jun 2007 00:32:05 +0000 (00:32 +0000)
committerMatthias Hentges <oe@hentges.net>
Mon, 25 Jun 2007 00:32:05 +0000 (00:32 +0000)
packages/fbreader/fbreader_0.8.2a.bb
packages/fbreader/files/zaurus-VGA.patch [new file with mode: 0644]

index 3a0dc54..2419ccf 100644 (file)
@@ -4,7 +4,7 @@ HOMEPAGE = "http://only.mawhrin.net/fbreader/"
 SECTION = "x11/utils"
 PRIORITY = "optional"
 DEPENDS = "gtk+ enca expat bzip2 libgpewidget"
-PR = "r3"
+PR = "r4"
 
 # The RESOLUTION is defined at compile time which makes
 # this package MACHINE specific.
@@ -13,6 +13,12 @@ PACKAGE_ARCH_${PN} = "${MACHINE_ARCH}"
 SRC_URI = "http://only.mawhrin.net/fbreader/fbreader-sources-${PV}.tgz \
           file://fbreader-0.8.2a_buildsys_oe.patch;patch=1 \
           file://480x640-buildfix.patch;patch=1"
+          
+SRC_URI_append_spitz = "\
+                 file://zaurus-VGA.patch;patch=1"
+
+SRC_URI_append_akita = "\
+                 file://zaurus-VGA.patch;patch=1"
 
 # Set the defaults
 READER_RESOLUTION = "240x320"
@@ -22,6 +28,8 @@ READER_STATUS   = "release"
 
 # Set device specific overrides
 READER_RESOLUTION_fic-gta01 = "480x640"
+READER_RESOLUTION_spitz = "640x480"
+READER_RESOLUTION_akita = "640x480"
 
 FILES_${PN} += "${datadir}/FBReader ${datadir}/zlibrary"
 
diff --git a/packages/fbreader/files/zaurus-VGA.patch b/packages/fbreader/files/zaurus-VGA.patch
new file mode 100644 (file)
index 0000000..5ba7d91
--- /dev/null
@@ -0,0 +1,13 @@
+--- fbreader-0.8.2a/fbreader/data/default/styles.gpe640x480.xml.orig   2007-06-24 23:55:56.000000000 +0000
++++ fbreader-0.8.2a/fbreader/data/default/styles.gpe640x480.xml        2007-06-24 23:56:22.000000000 +0000
+@@ -1,8 +1,8 @@
+ <?xml version="1.0" encoding="UTF-8"?>
+ <DefaultStyles>
+-      <base family="Sans" fontSize="16"/>
++      <base family="Sans" fontSize="8"/>
+       <style id="0" name="Regular Paragraph" firstLineIndentDelta="22" allowHyphenations="true"/>
+-      <style id="1" name="Title" fontSizeDelta="10" bold="true" spaceBefore="2" spaceAfter="7" alignment="center" allowHyphenations="false"/>
++      <style id="1" name="Title" fontSizeDelta="5" bold="true" spaceBefore="2" spaceAfter="7" alignment="center" allowHyphenations="false"/>
+       <style id="3" name="Poem Title" fontSizeDelta="2" bold="true" spaceBefore="6" spaceAfter="6" leftIndent="40" allowHyphenations="false"/>
+       <style id="2" name="Section Title" fontSizeDelta="6" bold="true" spaceAfter="5" alignment="center" allowHyphenations="false"/>
+       <style id="31" name="Header 1" fontSizeDelta="6" bold="true" spaceAfter="5" alignment="center" allowHyphenations="false"/>