diff options
author | Mike Gilbert <floppym@gentoo.org> | 2015-02-05 22:53:10 +0000 |
---|---|---|
committer | Mike Gilbert <floppym@gentoo.org> | 2015-02-05 22:53:10 +0000 |
commit | 363917a23249ea50bda71285df7879011c53eb2c (patch) | |
tree | b3ff39d2d3ae16a0394a746bb53d2a8c2efede45 | |
parent | Mark arm64/m68/s390/sh stable. (diff) | |
download | gentoo-2-363917a23249ea50bda71285df7879011c53eb2c.tar.gz gentoo-2-363917a23249ea50bda71285df7879011c53eb2c.tar.bz2 gentoo-2-363917a23249ea50bda71285df7879011c53eb2c.zip |
Add 'fonts' use flag to toggle freetype DEPEND. Bug 538926.
(Portage version: 2.2.15/cvs/Linux x86_64, signed Manifest commit with key 0BBEEA1FEA4843A4)
-rw-r--r-- | sys-boot/grub/ChangeLog | 6 | ||||
-rw-r--r-- | sys-boot/grub/grub-2.02_beta2-r7.ebuild | 21 | ||||
-rw-r--r-- | sys-boot/grub/grub-9999-r1.ebuild | 21 | ||||
-rw-r--r-- | sys-boot/grub/metadata.xml | 1 |
4 files changed, 34 insertions, 15 deletions
diff --git a/sys-boot/grub/ChangeLog b/sys-boot/grub/ChangeLog index 148fe5cd68a8..e92b4e4344fe 100644 --- a/sys-boot/grub/ChangeLog +++ b/sys-boot/grub/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for sys-boot/grub # Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sys-boot/grub/ChangeLog,v 1.344 2015/02/04 02:50:01 floppym Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-boot/grub/ChangeLog,v 1.345 2015/02/05 22:53:10 floppym Exp $ + + 05 Feb 2015; Mike Gilbert <floppym@gentoo.org> grub-2.02_beta2-r7.ebuild, + grub-9999-r1.ebuild, metadata.xml: + Add 'fonts' use flag to toggle freetype DEPEND. Bug 538926. 04 Feb 2015; Mike Gilbert <floppym@gentoo.org> grub-2.02_beta2-r7.ebuild, grub-9999-r1.ebuild, metadata.xml: diff --git a/sys-boot/grub/grub-2.02_beta2-r7.ebuild b/sys-boot/grub/grub-2.02_beta2-r7.ebuild index 02b5b8cbedd9..40dd4622dee8 100644 --- a/sys-boot/grub/grub-2.02_beta2-r7.ebuild +++ b/sys-boot/grub/grub-2.02_beta2-r7.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2015 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-boot/grub/grub-2.02_beta2-r7.ebuild,v 1.4 2015/02/04 02:50:01 floppym Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-boot/grub/grub-2.02_beta2-r7.ebuild,v 1.5 2015/02/05 22:53:10 floppym Exp $ EAPI=5 @@ -36,16 +36,16 @@ fi DEJAVU=dejavu-sans-ttf-2.34 UNIFONT=unifont-7.0.06 -SRC_URI+=" mirror://gnu/unifont/${UNIFONT}/${UNIFONT}.pcf.gz +SRC_URI+=" fonts? ( mirror://gnu/unifont/${UNIFONT}/${UNIFONT}.pcf.gz ) themes? ( mirror://sourceforge/dejavu/${DEJAVU}.zip )" DESCRIPTION="GNU GRUB boot loader" HOMEPAGE="http://www.gnu.org/software/grub/" # Includes licenses for dejavu and unifont -LICENSE="GPL-3 truetype? ( BitstreamVera GPL-2-with-font-exception )" +LICENSE="GPL-3 fonts? ( GPL-2-with-font-exception ) themes? ( BitstreamVera )" SLOT="2" -IUSE="debug device-mapper doc efiemu mount +multislot nls static sdl test +themes truetype libzfs" +IUSE="debug device-mapper doc efiemu +fonts mount +multislot nls static sdl test +themes truetype libzfs" GRUB_ALL_PLATFORMS=( # everywhere: @@ -61,6 +61,13 @@ GRUB_ALL_PLATFORMS=( ) IUSE+=" ${GRUB_ALL_PLATFORMS[@]/#/grub_platforms_}" +REQUIRED_USE=" + grub_platforms_coreboot? ( fonts ) + grub_platforms_qemu? ( fonts ) + grub_platforms_ieee1275? ( fonts ) + grub_platforms_loongson? ( fonts ) +" + # os-prober: Used on runtime to detect other OSes # xorriso (dev-libs/libisoburn): Used on runtime for mkrescue RDEPEND=" @@ -79,11 +86,11 @@ RDEPEND=" DEPEND="${RDEPEND} ${PYTHON_DEPS} app-misc/pax-utils - media-libs/freetype:2 sys-devel/flex sys-devel/bison sys-apps/help2man sys-apps/texinfo + fonts? ( media-libs/freetype:2 ) grub_platforms_xen? ( app-emulation/xen-tools ) static? ( app-arch/xz-utils[static-libs(+)] @@ -97,7 +104,7 @@ DEPEND="${RDEPEND} dev-libs/libisoburn app-emulation/qemu ) - truetype? ( app-arch/unzip ) + themes? ( app-arch/unzip ) " RDEPEND+=" kernel_linux? ( @@ -177,7 +184,7 @@ src_prepare() { setup_fonts() { ln -s "${WORKDIR}/${UNIFONT}.pcf" unifont.pcf || die - if use truetype; then + if use themes; then ln -s "${WORKDIR}/${DEJAVU}/ttf/DejaVuSans.ttf" DejaVuSans.ttf || die fi } diff --git a/sys-boot/grub/grub-9999-r1.ebuild b/sys-boot/grub/grub-9999-r1.ebuild index e4f9a60e92d7..31c3b0a827d7 100644 --- a/sys-boot/grub/grub-9999-r1.ebuild +++ b/sys-boot/grub/grub-9999-r1.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2015 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-boot/grub/grub-9999-r1.ebuild,v 1.27 2015/02/04 02:50:01 floppym Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-boot/grub/grub-9999-r1.ebuild,v 1.28 2015/02/05 22:53:10 floppym Exp $ EAPI=5 @@ -38,16 +38,16 @@ fi DEJAVU=dejavu-sans-ttf-2.34 UNIFONT=unifont-7.0.06 -SRC_URI+=" mirror://gnu/unifont/${UNIFONT}/${UNIFONT}.pcf.gz +SRC_URI+=" fonts? ( mirror://gnu/unifont/${UNIFONT}/${UNIFONT}.pcf.gz ) themes? ( mirror://sourceforge/dejavu/${DEJAVU}.zip )" DESCRIPTION="GNU GRUB boot loader" HOMEPAGE="http://www.gnu.org/software/grub/" # Includes licenses for dejavu and unifont -LICENSE="GPL-3 truetype? ( BitstreamVera GPL-2-with-font-exception )" +LICENSE="GPL-3 fonts? ( GPL-2-with-font-exception ) themes? ( BitstreamVera )" SLOT="2" -IUSE="debug device-mapper doc efiemu mount +multislot nls static sdl test +themes truetype libzfs" +IUSE="debug device-mapper doc efiemu +fonts mount +multislot nls static sdl test +themes truetype libzfs" GRUB_ALL_PLATFORMS=( # everywhere: @@ -63,6 +63,13 @@ GRUB_ALL_PLATFORMS=( ) IUSE+=" ${GRUB_ALL_PLATFORMS[@]/#/grub_platforms_}" +REQUIRED_USE=" + grub_platforms_coreboot? ( fonts ) + grub_platforms_qemu? ( fonts ) + grub_platforms_ieee1275? ( fonts ) + grub_platforms_loongson? ( fonts ) +" + # os-prober: Used on runtime to detect other OSes # xorriso (dev-libs/libisoburn): Used on runtime for mkrescue RDEPEND=" @@ -81,11 +88,11 @@ RDEPEND=" DEPEND="${RDEPEND} ${PYTHON_DEPS} app-misc/pax-utils - media-libs/freetype:2 sys-devel/flex sys-devel/bison sys-apps/help2man sys-apps/texinfo + fonts? ( media-libs/freetype:2 ) grub_platforms_xen? ( app-emulation/xen-tools ) static? ( app-arch/xz-utils[static-libs(+)] @@ -99,7 +106,7 @@ DEPEND="${RDEPEND} dev-libs/libisoburn app-emulation/qemu ) - truetype? ( app-arch/unzip ) + themes? ( app-arch/unzip ) " RDEPEND+=" kernel_linux? ( @@ -177,7 +184,7 @@ src_prepare() { setup_fonts() { ln -s "${WORKDIR}/${UNIFONT}.pcf" unifont.pcf || die - if use truetype; then + if use themes; then ln -s "${WORKDIR}/${DEJAVU}/ttf/DejaVuSans.ttf" DejaVuSans.ttf || die fi } diff --git a/sys-boot/grub/metadata.xml b/sys-boot/grub/metadata.xml index bb2fbdbdd921..3c18317bc52d 100644 --- a/sys-boot/grub/metadata.xml +++ b/sys-boot/grub/metadata.xml @@ -16,6 +16,7 @@ <flag name="efiemu"> Build and install the efiemu runtimes </flag> + <flag name="fonts">Build and install fonts for the gfxterm module</flag> <flag name="mount"> Build and install the grub-mount utility </flag> |