Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 691623 Details for
Bug 776412
font.eclass: use BDEPEND with EAPI 7
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
fix.patch
0001-font.eclass-use-BDEPEND-with-EAPI-7.patch (text/plain), 1.43 KB, created by
David Michael
on 2021-03-15 18:20:13 UTC
(
hide
)
Description:
fix.patch
Filename:
MIME Type:
Creator:
David Michael
Created:
2021-03-15 18:20:13 UTC
Size:
1.43 KB
patch
obsolete
>From 402f88129aedd29bb4907d97b6767a4b6feb1717 Mon Sep 17 00:00:00 2001 >From: David Michael <fedora.dm0@gmail.com> >Date: Mon, 15 Mar 2021 14:11:26 -0400 >Subject: [PATCH] font.eclass: use BDEPEND with EAPI 7 > >The mkfontscale program and encodings paths are used in the native >root during src_install, so they need to be in BDEPEND. > >Also stop documenting DOCS as an eclass variable since it is a part >of EAPI 6 and only used in eutils.eclass for EAPI 5 support. > >Closes: https://bugs.gentoo.org/776412 >Signed-off-by: David Michael <fedora.dm0@gmail.com> >--- > eclass/font.eclass | 14 +++++--------- > 1 file changed, 5 insertions(+), 9 deletions(-) > >diff --git a/eclass/font.eclass b/eclass/font.eclass >index e9e448a8155..4d4cd74cf2f 100644 >--- a/eclass/font.eclass >+++ b/eclass/font.eclass >@@ -46,21 +46,17 @@ FONTDIR=${FONTDIR:-/usr/share/fonts/${FONT_PN}} > # Array containing fontconfig conf files to install. > FONT_CONF=( "" ) > >-# @ECLASS-VARIABLE: DOCS >-# @DEFAULT_UNSET >-# @DESCRIPTION: >-# Space delimited list of docs to install. >-# We always install these: >-# COPYRIGHT README{,.txt} NEWS AUTHORS BUGS ChangeLog FONTLOG.txt >-DOCS=${DOCS:-} >- > if [[ ${CATEGORY}/${PN} != media-fonts/encodings ]]; then > IUSE="X" >+ [[ ${EAPI} == [56] ]] && > DEPEND="X? ( > >=x11-apps/mkfontscale-1.2.0 > media-fonts/encodings >+ )" || >+ BDEPEND="X? ( >+ >=x11-apps/mkfontscale-1.2.0 >+ media-fonts/encodings > )" >- RDEPEND="" > fi > > # @FUNCTION: font_xfont_config >-- >2.26.2 >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 776412
: 691623