mirror of
https://github.com/flatcar/scripts.git
synced 2025-09-30 18:12:08 +02:00
fbset: upgraded package to upstream
Upgraded sys-apps/fbset to version 2.1 on x86 For fbdev testing for nonroot-X effort BUG=chromium-os:388 TEST=local build, run on x86 Change-Id: I7fe298a80f2c17d9bf008ef517e95ed3da713c5b Reviewed-on: https://gerrit.chromium.org/gerrit/39993 Reviewed-by: Stéphane Marchesin <marcheu@chromium.org> Tested-by: John Sheu <sheu@chromium.org> Commit-Queue: John Sheu <sheu@chromium.org>
This commit is contained in:
parent
7dd7240fbe
commit
b3a9281023
11
sdk_container/src/third_party/portage-stable/metadata/md5-cache/sys-apps/fbset-2.1
vendored
Normal file
11
sdk_container/src/third_party/portage-stable/metadata/md5-cache/sys-apps/fbset-2.1
vendored
Normal file
@ -0,0 +1,11 @@
|
||||
DEFINED_PHASES=compile install unpack
|
||||
DEPEND=sys-devel/bison sys-devel/flex
|
||||
DESCRIPTION=A utility to set the framebuffer videomode
|
||||
HOMEPAGE=http://users.telenet.be/geertu/Linux/fbdev/
|
||||
IUSE=static
|
||||
KEYWORDS=alpha amd64 arm hppa ia64 ppc ppc64 s390 sh sparc x86
|
||||
LICENSE=GPL-2
|
||||
SLOT=0
|
||||
SRC_URI=http://users.telenet.be/geertu/Linux/fbdev/fbset-2.1.tar.gz
|
||||
_eclasses_=eutils 33ef77a15337022e05342d2c772a7a5a flag-o-matic 01a8b1eb019305bc4b4a8bd0b04e4cd8 multilib 5f4ad6cf85e365e8f0c6050ddd21659e portability 0be430f759a631e692678ed796e09f5c toolchain-funcs 6526ac6fc9aedf391efb91fcd75ace68 user 9e552f935106ff0bc92af16da64b4b29
|
||||
_md5_=93cc0b0c6a3885f62ee3ae044d7cc2db
|
1
sdk_container/src/third_party/portage-stable/sys-apps/fbset/Manifest
vendored
Normal file
1
sdk_container/src/third_party/portage-stable/sys-apps/fbset/Manifest
vendored
Normal file
@ -0,0 +1 @@
|
||||
DIST fbset-2.1.tar.gz 27721 RMD160 4517560fd79d98ad71c94550eeefb1041ca56352 SHA1 141c42769818a08f1370a60dc3a809d87530db78 SHA256 40ff4ab0247b75138a0887ed40f81c1a6184f340b77126c16d074b1075b41c20
|
36
sdk_container/src/third_party/portage-stable/sys-apps/fbset/fbset-2.1.ebuild
vendored
Normal file
36
sdk_container/src/third_party/portage-stable/sys-apps/fbset/fbset-2.1.ebuild
vendored
Normal file
@ -0,0 +1,36 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/sys-apps/fbset/fbset-2.1.ebuild,v 1.35 2012/07/10 08:50:50 flameeyes Exp $
|
||||
|
||||
inherit toolchain-funcs flag-o-matic eutils
|
||||
|
||||
DESCRIPTION="A utility to set the framebuffer videomode"
|
||||
HOMEPAGE="http://users.telenet.be/geertu/Linux/fbdev/"
|
||||
SRC_URI="http://users.telenet.be/geertu/Linux/fbdev/${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="alpha amd64 arm hppa ia64 ppc ppc64 s390 sh sparc x86"
|
||||
IUSE="static"
|
||||
|
||||
DEPEND="sys-devel/bison
|
||||
sys-devel/flex"
|
||||
RDEPEND=""
|
||||
|
||||
src_unpack() {
|
||||
unpack ${A}
|
||||
cd "${S}"
|
||||
epatch "${FILESDIR}/${P}-build.patch"
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
use static && append-ldflags -static
|
||||
tc-export CC
|
||||
emake || die "emake failed"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dobin fbset modeline2fb || die "dobin failed"
|
||||
doman *.[58]
|
||||
dodoc etc/fb.modes.* INSTALL
|
||||
}
|
21
sdk_container/src/third_party/portage-stable/sys-apps/fbset/files/fbset-2.1-build.patch
vendored
Normal file
21
sdk_container/src/third_party/portage-stable/sys-apps/fbset/files/fbset-2.1-build.patch
vendored
Normal file
@ -0,0 +1,21 @@
|
||||
Index: fbset-2.1/Makefile
|
||||
===================================================================
|
||||
--- fbset-2.1.orig/Makefile
|
||||
+++ fbset-2.1/Makefile
|
||||
@@ -2,7 +2,6 @@
|
||||
# Linux Frame Buffer Device Configuration
|
||||
#
|
||||
|
||||
-CC = gcc -Wall -O2 -I.
|
||||
BISON = bison -d
|
||||
FLEX = flex
|
||||
INSTALL = install
|
||||
@@ -20,6 +19,8 @@ lex.yy.o: lex.yy.c fbset.h modes.tab.h
|
||||
lex.yy.c: modes.l
|
||||
$(FLEX) modes.l
|
||||
|
||||
+modes.tab.h: modes.tab.c
|
||||
+
|
||||
modes.tab.c: modes.y
|
||||
$(BISON) modes.y
|
||||
|
Loading…
x
Reference in New Issue
Block a user