diff options
author | Martin Jansa <Martin.Jansa@gmail.com> | 2011-04-10 13:24:47 +0200 |
---|---|---|
committer | Martin Jansa <Martin.Jansa@gmail.com> | 2011-04-10 14:43:41 +0200 |
commit | 89500c583e0f1dc1b4ffdf72914e08e505e427e0 (patch) | |
tree | b073036cc61aa34ca5ac9eec4d617366e0dcb3d5 /meta-oe/recipes-support/fbset | |
parent | e66079da37992abd54486488aa06a99bf7a4198c (diff) | |
download | meta-openembedded-89500c583e0f1dc1b4ffdf72914e08e505e427e0.tar.gz |
recipes,classes: import a lot of recipes from meta-shr
* tested on shr-lite-image for om-gta02 and nokia900 (with meta-shr layer)
Diffstat (limited to 'meta-oe/recipes-support/fbset')
8 files changed, 138 insertions, 0 deletions
diff --git a/meta-oe/recipes-support/fbset/fbset-2.1/makefile.patch b/meta-oe/recipes-support/fbset/fbset-2.1/makefile.patch new file mode 100644 index 0000000000..82b1c61e9c --- /dev/null +++ b/meta-oe/recipes-support/fbset/fbset-2.1/makefile.patch @@ -0,0 +1,11 @@ +--- fbset-2.1/Makefile.orig 2006-05-28 04:04:27.412095480 +0200 ++++ fbset-2.1/Makefile 2006-05-28 04:14:05.379231120 +0200 +@@ -2,7 +2,7 @@ + # Linux Frame Buffer Device Configuration + # + +-CC = gcc -Wall -O2 -I. ++CFLAGS = -Wall -O2 -I. + BISON = bison -d + FLEX = flex + INSTALL = install diff --git a/meta-oe/recipes-support/fbset/fbset-modes.bb b/meta-oe/recipes-support/fbset/fbset-modes.bb new file mode 100644 index 0000000000..415c00babc --- /dev/null +++ b/meta-oe/recipes-support/fbset/fbset-modes.bb @@ -0,0 +1,17 @@ +DESCRIPTION = "Default display timings and resolutions for fbset" +LICENSE = "MIT" +LIC_FILES_CHKSUM = "file://${TOPDIR}/meta-shr/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420" + +PV = "0.1.0" +PR = "r5" + +SRC_URI = "file://fb.modes" + +do_install() { + install -d ${D}${sysconfdir} + install -m 0644 ${WORKDIR}/fb.modes ${D}${sysconfdir} +} + +PACKAGE_ARCH = "all" +CONFFILES_${PN} = "${sysconfdir}/fb.modes" + diff --git a/meta-oe/recipes-support/fbset/fbset-modes/fb.modes b/meta-oe/recipes-support/fbset/fbset-modes/fb.modes new file mode 100644 index 0000000000..ba5e6ed719 --- /dev/null +++ b/meta-oe/recipes-support/fbset/fbset-modes/fb.modes @@ -0,0 +1,3 @@ +# By default there is nothing in this file just a reminder to define some +# modes in OE + diff --git a/meta-oe/recipes-support/fbset/fbset-modes/om-gta01/fb.modes b/meta-oe/recipes-support/fbset/fbset-modes/om-gta01/fb.modes new file mode 100644 index 0000000000..446d23dd8e --- /dev/null +++ b/meta-oe/recipes-support/fbset/fbset-modes/om-gta01/fb.modes @@ -0,0 +1,29 @@ +# Timings for GTA01 VGA and QVGA mode + +mode "480x640" + # D: 26.000 MHz, H: 43.334 kHz, V: 65.657 Hz + geometry 480 640 480 640 16 + timings 38461 104 8 2 16 8 2 + accel false +endmode + +mode "vga" + # D: 26.000 MHz, H: 43.334 kHz, V: 65.657 Hz + geometry 480 640 480 640 16 + timings 38461 104 8 2 16 8 2 + accel false +endmode + +mode "240x320" + # D: 8.475 MHz, H: 24.635 kHz, V: 75.569 Hz + geometry 240 320 240 320 16 + timings 118000 88 8 2 2 8 2 + accel false +endmode + +mode "qvga" + # D: 8.475 MHz, H: 24.635 kHz, V: 75.569 Hz + geometry 240 320 240 320 16 + timings 118000 88 8 2 2 8 2 + accel false +endmode diff --git a/meta-oe/recipes-support/fbset/fbset-modes/omap3-pandora/fb.modes b/meta-oe/recipes-support/fbset/fbset-modes/omap3-pandora/fb.modes new file mode 100644 index 0000000000..0c87401b5f --- /dev/null +++ b/meta-oe/recipes-support/fbset/fbset-modes/omap3-pandora/fb.modes @@ -0,0 +1,6 @@ +mode "800x480-65" + # D: 36.001 MHz, H: 34.124 kHz, V: 64.998 Hz + geometry 800 480 800 480 16 + timings 27777 40 214 10 34 1 1 + rgba 5/11,6/5,5/0,0/0 +endmode diff --git a/meta-oe/recipes-support/fbset/fbset-modes/qemuarm/fb.modes b/meta-oe/recipes-support/fbset/fbset-modes/qemuarm/fb.modes new file mode 100644 index 0000000000..1114564797 --- /dev/null +++ b/meta-oe/recipes-support/fbset/fbset-modes/qemuarm/fb.modes @@ -0,0 +1,17 @@ +# QEMU versatilepb machine, qemuarm in OE + +mode "vga" "640x480" + geometry 640 480 640 480 16 +endmode + +mode "vga-portrait" "480x640" + geometry 480 640 480 640 16 +endmode + +mode "qvga" "320x240" + geometry 320 240 320 240 16 +endmode + +mode "qvga-portrait" "240x320" + geometry 240 320 240 320 16 +endmode diff --git a/meta-oe/recipes-support/fbset/fbset-modes/qemumips/fb.modes b/meta-oe/recipes-support/fbset/fbset-modes/qemumips/fb.modes new file mode 100644 index 0000000000..1114564797 --- /dev/null +++ b/meta-oe/recipes-support/fbset/fbset-modes/qemumips/fb.modes @@ -0,0 +1,17 @@ +# QEMU versatilepb machine, qemuarm in OE + +mode "vga" "640x480" + geometry 640 480 640 480 16 +endmode + +mode "vga-portrait" "480x640" + geometry 480 640 480 640 16 +endmode + +mode "qvga" "320x240" + geometry 320 240 320 240 16 +endmode + +mode "qvga-portrait" "240x320" + geometry 240 320 240 320 16 +endmode diff --git a/meta-oe/recipes-support/fbset/fbset_2.1.bb b/meta-oe/recipes-support/fbset/fbset_2.1.bb new file mode 100644 index 0000000000..12c1c944ef --- /dev/null +++ b/meta-oe/recipes-support/fbset/fbset_2.1.bb @@ -0,0 +1,38 @@ +# +# Copyright Matthias Hentges <devel@hentges.net> (c) 2006 +# License: MIT (see http://www.opensource.org/licenses/mit-license.php for a copy of the license) +# +# Filename: fbset_2.1.bb +# Date: 28-May-06 + +DESCRIPTION = "The fbset console tool" +LICENSE = "GPLv2" +LIC_FILES_CHKSUM = "file://fbset.c;endline=19;md5=bf326f82cdfcac391af208f019c5603f" +RRECOMMENDS_${PN} = "fbset-modes" +DEPENDS = "bison-native" + +PR = "r4" + +SRC_URI = "http://ftp.debian.org/debian/pool/main/f/fbset/fbset_2.1.orig.tar.gz \ + file://makefile.patch" + +inherit autotools update-alternatives + +PARALLEL_MAKE = "" + +do_install() { + install -d ${D}${sbindir} ${D}${datadir}/man/man8 ${D}${datadir}/man/man5 + install -m 0755 ${WORKDIR}/${P}/fbset ${D}${sbindir}/fbset.real + install -m 0644 ${WORKDIR}/${P}/*.5 ${D}${datadir}/man/man5 + install -m 0644 ${WORKDIR}/${P}/*.8 ${D}${datadir}/man/man8 +} + +ALTERNATIVE_NAME = "fbset" +ALTERNATIVE_LINK = "${sbindir}/${ALTERNATIVE_NAME}" +ALTERNATIVE_PATH = "${sbindir}/fbset.real" +ALTERNATIVE_PRIORITY = "55" + + + +SRC_URI[md5sum] = "40ed9608f46d787bfb65fd1269f7f459" +SRC_URI[sha256sum] = "517fa062d7b2d367f931a1c6ebb2bef84907077f0ce3f0c899e34490bbea9338" |