Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(373)

Side by Side Diff: sys-boot/syslinux/syslinux-3.83.ebuild

Issue 1748010: Add syslinux patches to disable banner and blinking cursor. (Closed)
Patch Set: Force rebuild of all of syslinux. Created 10 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 # Copyright 1999-2010 Gentoo Foundation 1 # Copyright 1999-2010 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2 2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/sys-boot/syslinux/syslinux-3.83.ebuild,v 1.3 2010/02/26 12:10:54 fauli Exp $ 3 # $Header: /var/cvsroot/gentoo-x86/sys-boot/syslinux/syslinux-3.83.ebuild,v 1.3 2010/02/26 12:10:54 fauli Exp $
4 4
5 inherit eutils 5 inherit eutils flag-o-matic
6 6
7 DESCRIPTION="SysLinux, IsoLinux and PXELinux bootloader" 7 DESCRIPTION="SysLinux, IsoLinux and PXELinux bootloader"
8 HOMEPAGE="http://syslinux.zytor.com/" 8 HOMEPAGE="http://syslinux.zytor.com/"
9 SRC_URI="mirror://kernel/linux/utils/boot/syslinux/${P}.tar.bz2" 9 SRC_URI="mirror://kernel/linux/utils/boot/syslinux/${P}.tar.bz2"
10 10
11 LICENSE="GPL-2" 11 LICENSE="GPL-2"
12 SLOT="0" 12 SLOT="0"
13 KEYWORDS="-* amd64 x86" 13 KEYWORDS="-* amd64 x86"
14 IUSE="" 14 IUSE=""
15 15
16 RDEPEND="sys-fs/mtools 16 RDEPEND="sys-fs/mtools
17 dev-perl/Crypt-PasswdMD5 17 dev-perl/Crypt-PasswdMD5
18 dev-perl/Digest-SHA1" 18 dev-perl/Digest-SHA1"
19 DEPEND="${RDEPEND} 19 DEPEND="${RDEPEND}
20 dev-lang/nasm" 20 dev-lang/nasm"
21 21
22 # This ebuild is a departure from the old way of rebuilding everything in syslin ux
23 # This departure is necessary since hpa doesn't support the rebuilding of anythi ng other
24 # than the installers.
25
26 # removed all the unpack/patching stuff since we aren't rebuilding the core stuf f anymore
27
28 src_unpack() { 22 src_unpack() {
29 unpack ${A} 23 unpack ${A}
30 cd "${S}" 24 cd "${S}"
31 epatch "${FILESDIR}"/${PN}-3.72-nopie.patch 25 epatch "${FILESDIR}"/${PN}-3.72-nopie.patch
32 # Don't prestrip, makes portage angry 26 # Don't prestrip, makes portage angry
33 epatch "${FILESDIR}"/${PN}-3.72-nostrip.patch 27 epatch "${FILESDIR}"/${PN}-3.72-nostrip.patch
34 28
29 # Don't try to build win32/syslinux.exe
30 epatch "${FILESDIR}/"${P}-disable_win32.patch
31
32 # Disable the text banner for quieter boot.
33 epatch "${FILESDIR}/"${P}-disable_banner.patch
34
35 # Disable the blinking cursor as early as possible.
36 epatch "${FILESDIR}/"${P}-disable_cursor.patch
37
35 rm -f gethostip #bug 137081 38 rm -f gethostip #bug 137081
36 } 39 }
37 40
38 src_compile() { 41 src_compile() {
39 » emake installer || die 42 » # By default, syslinux wants you to use pre-built binaries
43 » # and only compile part of the package. Since we want to rebuild
44 » # everything from scratch we need to remove the prebuilts or else
45 » # some things don't get built with standard make.
46 » emake spotless || die "make spotless failed"
47
48 » # The syslinux build can't tolerate "-Wl,-O*"
49 » filter-ldflags -Wl,-O1 -Wl,-O2 -Wl,-Os
50
51 » emake || die "make failed"
40 } 52 }
41 53
42 src_install() { 54 src_install() {
43 emake INSTALLSUBDIRS=utils INSTALLROOT="${D}" MANDIR=/usr/share/man inst all || die 55 emake INSTALLSUBDIRS=utils INSTALLROOT="${D}" MANDIR=/usr/share/man inst all || die
44 dodoc README NEWS TODO doc/* 56 dodoc README NEWS TODO doc/*
45 } 57 }
OLDNEW
« no previous file with comments | « sys-boot/syslinux/files/syslinux-3.83-disable_win32.patch ('k') | sys-boot/syslinux/syslinux-3.83-r1.ebuild » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698