Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 566930 | Differences between
and this patch

Collapse All | Expand All

(-)a/sys-boot/refind/metadata.xml (-8 / +37 lines)
Lines 1-4 Link Here
1
<?xml version="1.0" encoding="UTF-8"?>
1
<?xml version='1.0' encoding='UTF-8'?>
2
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
2
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
3
<pkgmetadata>
3
<pkgmetadata>
4
	<maintainer type="person">
4
	<maintainer type="person">
Lines 6-21 Link Here
6
		<name>Sam Jorna</name>
6
		<name>Sam Jorna</name>
7
	</maintainer>
7
	</maintainer>
8
	<maintainer type="person">
8
	<maintainer type="person">
9
                <email>sveyret@gmail.com</email>
9
		<email>sveyret@gmail.com</email>
10
                <name>Stephane Veyret</name>
10
		<name>Stéphane Veyret</name>
11
		<description>Proxy - Maintainer.CC on bugs</description>
11
		<description>Proxy - Maintainer.CC on bugs</description>
12
        </maintainer>
12
	</maintainer>
13
	<maintainer type="project">
13
	<maintainer type="project">
14
                <email>proxy-maint@gentoo.org</email>
14
		<email>proxy-maint@gentoo.org</email>
15
                <name>Proxy Maintainers</name>
15
		<name>Proxy Maintainers</name>
16
	</maintainer>
16
	</maintainer>
17
	<longdescription lang="en">EFI Boot Manager</longdescription>
17
	<longdescription lang="en">
18
	<longdescription lang="fr">Gestionnaire d'amorçage EFI</longdescription>
18
A graphical boot manager for EFI- and UEFI-based computers, such as all
19
Intel-based Macs and recent (most 2011 and later) PCs. rEFInd presents a
20
boot menu showing all the EFI boot loaders on the EFI-accessible
21
partitions, and optionally BIOS-bootable partitions on Macs and BIOS boot
22
entries on UEFI PCs with CSMs. EFI-compatbile OSes, including Linux,
23
provide boot loaders that rEFInd can detect and launch. rEFInd can launch
24
Linux EFI boot loaders such as ELILO, GRUB Legacy, GRUB 2, and 3.3.0 and
25
later kernels with EFI stub support. EFI filesystem drivers for ext2/3/4fs,
26
ReiserFS, Btrfs, NTFS, HFS+, and ISO-9660 enable rEFInd to read boot
27
loaders from these filesystems, too. rEFInd's ability to detect boot
28
loaders at runtime makes it very easy to use, particularly when paired with
29
Linux kernels that provide EFI stub support.
30
	</longdescription>
31
	<longdescription lang="fr">
32
Un gestionnaire d'amorçage pour ordinateur EFI ou UEFI tel que tous les Macs
33
contenant un processeur Intel et les PC récents (2011 et après). rEFInd affiche
34
un menu d'amorçage montrant tous les gestionnaires d'amorçage sur les
35
partitions EFI accessibles et optionnellement les partitions démarrable en BIOS
36
sur Macs et les entrées BIOS sur les PC UEFI avec CSM. Les systèmes
37
d'exploitation compatibles EFI, incluant Linux, fournissent des gestionnaires
38
d'amorçage que rEFInd détect et démarre. rEFInd peut démarrer les gestionnaires
39
d'amorçage EFI Linux tel que ELILO, GRUB Legacy, GRUB 2 ainsi que les noyaux
40
3.3.0 et suivants avec le support EFI stub. Les pilotes EFI pour les sytèmes de
41
fichiers ext2/3/4fs, ReiserFS, Btrfs, NTFS, HFS+ et ISO-9660 permettent à
42
rEFInd de lire les gestionnaires d'amorçage également depuis ces systèmes de
43
fichiers. La capacité de rEFInd à détecter les gestionnaires d'amorçage au
44
moment de l'exécution le rend très facile à utiliser, en particulier associé à
45
des noyau Linux qui fournissent un support EFI stub.
46
	</longdescription>
19
	<use lang="en">
47
	<use lang="en">
20
		<flag name="ext2">Builds the EFI binary ext2 filesystem driver</flag>
48
		<flag name="ext2">Builds the EFI binary ext2 filesystem driver</flag>
21
		<flag name="ext4">Builds the EFI binary ext4 filesystem driver</flag>
49
		<flag name="ext4">Builds the EFI binary ext4 filesystem driver</flag>
Lines 40-42 Link Here
40
		<remote-id type="sourceforge">refind</remote-id>
68
		<remote-id type="sourceforge">refind</remote-id>
41
	</upstream>
69
	</upstream>
42
</pkgmetadata>
70
</pkgmetadata>
71
(-)a/sys-boot/refind/refind-0.10.2.ebuild (-7 / +23 lines)
Lines 2-10 Link Here
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
# $Id$
3
# $Id$
4
4
5
EAPI=5
5
EAPI=6
6
6
7
inherit eutils
7
inherit eutils toolchain-funcs flag-o-matic
8
8
9
DESCRIPTION="The rEFInd UEFI Boot Manager by Rod Smith"
9
DESCRIPTION="The rEFInd UEFI Boot Manager by Rod Smith"
10
HOMEPAGE="http://www.rodsbooks.com/refind/"
10
HOMEPAGE="http://www.rodsbooks.com/refind/"
Lines 40-48 pkg_setup() { Link Here
40
}
40
}
41
41
42
src_compile() {
42
src_compile() {
43
	# Prepare flags
44
	append-cflags "-fno-strict-aliasing" "-fno-stack-protector" "-fshort-wchar" "-Wall"
45
46
	local make_flags=(
47
		ARCH="${BUILDARCH}"
48
		GENFW="/usr/bin/GenFw"
49
		CC="$(tc-getCC)"
50
		AS="$(tc-getAS)"
51
		LD="$(tc-getLD)"
52
		AR="$(tc-getAR)"
53
		RANLIB="$(tc-getRANLIB)"
54
		OBJCOPY="$(tc-getOBJCOPY)"
55
		CFLAGS="${CFLAGS}"
56
		LDFLAGS="${LDFLAGS}"
57
		GNUEFI_LDFLAGS="-T \$(GNUEFI_LDSCRIPT) -shared -nostdlib -Bsymbolic \
58
			-L\$(EFILIB) -L\$(GNUEFILIB) \$(CRTOBJS) -znocombreloc -zdefs"
59
	)
60
43
	# Make main EFI
61
	# Make main EFI
44
	all_target=gnuefi
62
	export all_target=gnuefi
45
	emake ARCH=${BUILDARCH} ${all_target}
63
	emake "${make_flags[@]}" ${all_target}
46
64
47
	# Make filesystem drivers
65
	# Make filesystem drivers
48
	export gnuefi_target="_gnuefi"
66
	export gnuefi_target="_gnuefi"
Lines 50-57 src_compile() { Link Here
50
		fs=${fs#+}
68
		fs=${fs#+}
51
		if use "${fs}"; then
69
		if use "${fs}"; then
52
			einfo "Building ${fs} filesystem driver"
70
			einfo "Building ${fs} filesystem driver"
53
			rm -f "${S}/filesystems/fsw_efi.o"
71
			emake "${make_flags[@]}" -C "${S}/filesystems" ${fs}${gnuefi_target}
54
			emake -C "${S}/filesystems" ARCH=${BUILDARCH} ${fs}${gnuefi_target}
55
		fi
72
		fi
56
	done
73
	done
57
}
74
}
58
- 

Return to bug 566930