From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from mediacenter.hi.pengutronix.de ([2001:6f8:1178:2::65]) by metis.ext.pengutronix.de with esmtp (Exim 4.72) (envelope-from ) id 1SEntr-0000zz-IJ for ptxdist@pengutronix.de; Mon, 02 Apr 2012 22:30:51 +0200 Received: from mol by mediacenter.hi.pengutronix.de with local (Exim 4.72) (envelope-from ) id 1SEntr-0007Yw-H4 for ptxdist@pengutronix.de; Mon, 02 Apr 2012 22:30:51 +0200 Date: Mon, 2 Apr 2012 22:30:51 +0200 From: Michael Olbrich Message-ID: <20120402203051.GD28453@pengutronix.de> References: <20120328091404.GY27119@pengutronix.de> <1333006587-29085-1-git-send-email-bernhard@bwalle.de> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <1333006587-29085-1-git-send-email-bernhard@bwalle.de> Subject: Re: [ptxdist] [PATCH v2] rules: Add fbterm Reply-To: ptxdist@pengutronix.de List-Id: PTXdist Development Mailing List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: ptxdist-bounces@pengutronix.de Errors-To: ptxdist-bounces@pengutronix.de To: ptxdist@pengutronix.de On Thu, Mar 29, 2012 at 09:36:27AM +0200, Bernhard Walle wrote: > From: Bernhard Walle > > This is a nice framebuffer terminal with support for Unicode and nice > font rendering. > > Signed-off-by: Bernhard Walle > --- > v1->v2: > o Remove the space in "GPL v2" > o Add FBTERM_GPM and FBTERM_VESA. > > rules/fbterm.in | 34 +++++++++++++++++++++++++++++ > rules/fbterm.make | 61 +++++++++++++++++++++++++++++++++++++++++++++++++++++ > 2 files changed, 95 insertions(+) > create mode 100644 rules/fbterm.in > create mode 100644 rules/fbterm.make > > diff --git a/rules/fbterm.in b/rules/fbterm.in > new file mode 100644 > index 0000000..cb326e8 > --- /dev/null > +++ b/rules/fbterm.in > @@ -0,0 +1,34 @@ > +## SECTION=multimedia_framebuffer > + > +menuconfig FBTERM > + tristate > + prompt "fbterm " > + select FREETYPE > + select FONTCONFIG > + select GPM if FBTERM_GPM > + select LIBX86 if FBTERM_VESA > + help > + Framebuffer terminal. Supports unicode and uses fontconfig and Freetype > + for font rendering. Thus is has support for anti-aliased fonts. > + > +if FBTERM > + > +config FBTERM_GPM > + bool > + prompt "Build fbterm with gpm support" > + help > + If enabled, fbterm is built with console mouse support. The required > + 'gpm' package is automatically selected. > + > +config FBTERM_VESA > + bool > + prompt "Build fbterm with VESA support" > + depends on ARCH_X86 ARCH_X86 is not defined here. You need to add the check in the makefile. Michael > + help > + If enabled, fbterm is built with VESA graphics support. The required > + 'libx86' package is automatically selected. Only available on x86 > + platforms. > + > +endif > + > +# vim: set ts=8 sw=8 noet ft=kconfig: > diff --git a/rules/fbterm.make b/rules/fbterm.make > new file mode 100644 > index 0000000..8af3e87 > --- /dev/null > +++ b/rules/fbterm.make > @@ -0,0 +1,61 @@ > +# -*-makefile-*- > +# > +# Copyright (C) 2012 by Bernhard Walle > +# > +# See CREDITS for details about who has contributed to this project. > +# > +# For further information about the PTXdist project and license conditions > +# see the README file. > +# > + > +# > +# We provide this package > +# > +PACKAGES-$(PTXCONF_FBTERM) += fbterm > + > +# > +# Paths and names > +# > +FBTERM_VERSION := 1.7.0 > +FBTERM_MD5 := c36bae75a450df0519b4527cccaf7572 > +FBTERM := fbterm-$(FBTERM_VERSION) > +FBTERM_SUFFIX := tar.gz > +FBTERM_URL := http://fbterm.googlecode.com/files/$(FBTERM).$(FBTERM_SUFFIX) > +FBTERM_SOURCE := $(SRCDIR)/$(FBTERM).$(FBTERM_SUFFIX) > +FBTERM_DIR := $(BUILDDIR)/$(FBTERM) > +FBTERM_LICENSE := GPLv2 > + > +# ---------------------------------------------------------------------------- > +# Prepare > +# ---------------------------------------------------------------------------- > + > +# > +# autoconf > +# > +FBTERM_CONF_TOOL := autoconf > +FBTERM_AUTOCONF := \ > + $(CROSS_AUTOCONF_USR) \ > + --$(call ptx/endis, PTXCONF_FBTERM_GPM)-gpm \ > + --$(call ptx/endis, PTXCONF_FBTERM_VESA)-vesa > + > +# ---------------------------------------------------------------------------- > +# Target-Install > +# ---------------------------------------------------------------------------- > + > +$(STATEDIR)/fbterm.targetinstall: > + @$(call targetinfo) > + > + @$(call install_init, fbterm) > + @$(call install_fixup, fbterm,PRIORITY,optional) > + @$(call install_fixup, fbterm,SECTION,base) > + @$(call install_fixup, fbterm,AUTHOR,"Bernhard Walle ") > + @$(call install_fixup, fbterm,DESCRIPTION,missing) > + > + @$(call install_copy, fbterm, 0, 0, 0755, \ > + -, /usr/bin/fbterm) > + > + @$(call install_finish, fbterm) > + > + @$(call touch) > + > +# vim: syntax=make > -- > 1.7.9.5 > > > -- > ptxdist mailing list > ptxdist@pengutronix.de > -- Pengutronix e.K. | | Industrial Linux Solutions | http://www.pengutronix.de/ | Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 | Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 | -- ptxdist mailing list ptxdist@pengutronix.de