From: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
To: Randy MacLeod <randy.macleod@windriver.com>,
"openembedded-core@lists.openembedded.org"
<openembedded-core@lists.openembedded.org>
Subject: RE: [OE-core] [PATCH] kbd: package some fonts as restricted
Date: Sat, 22 Oct 2022 00:13:10 +0000 [thread overview]
Message-ID: <c000d10350ab4ad0bc60bf63df836ebb@axis.com> (raw)
In-Reply-To: <20221018001415.76680-1-Randy.MacLeod@windriver.com>
> -----Original Message-----
> From: openembedded-core@lists.openembedded.org <openembedded-core@lists.openembedded.org> On Behalf Of Randy MacLeod
> Sent: den 18 oktober 2022 02:14
> To: openembedded-core@lists.openembedded.org
> Subject: [OE-core] [PATCH] kbd: package some fonts as restricted
>
> The distribution terms of the Agafari fonts as described in
> data/consolefonts/README.Ethiopic is:
>
> Agafari:
> Donated by the Ethiopian Science and Technology Commission
> <ncic@padis.gn.apc.org> or <ncic@telecom.net.et> and may be redistributed
> for non-commercial use under Unix environments only.
>
> so package them seperately to make it easier for affected users
> to avoid installing the fonts.
>
> Signed-off-by: Randy MacLeod <Randy.MacLeod@windriver.com>
> ---
> meta/recipes-core/kbd/kbd_2.5.1.bb | 6 ++++--
> 1 file changed, 4 insertions(+), 2 deletions(-)
>
> diff --git a/meta/recipes-core/kbd/kbd_2.5.1.bb b/meta/recipes-core/kbd/kbd_2.5.1.bb
> index aa3ab6e121..8822cdbef4 100644
> --- a/meta/recipes-core/kbd/kbd_2.5.1.bb
> +++ b/meta/recipes-core/kbd/kbd_2.5.1.bb
> @@ -23,9 +23,11 @@ PACKAGECONFIG ?= "${@bb.utils.filter('DISTRO_FEATURES',
> 'pam', d)} \
>
> PACKAGECONFIG[pam] = "--enable-vlock, --disable-vlock, libpam,"
>
> -PACKAGES += "${PN}-consolefonts ${PN}-keymaps ${PN}-unimaps ${PN}-consoletrans"
> +PACKAGES += "${PN}-consolefonts ${PN}-consolefonts-restricted ${PN}-keymaps ${PN}-unimaps ${PN}-consoletrans"
>
> -FILES:${PN}-consolefonts = "${datadir}/consolefonts"
> +# Package some fonts as restricted, see README.Ethiopic
> +FILES:${PN}-consolefonts = "${datadir}/consolefonts/[a-zB-Z0-9]*"
Rather than that pretty odd pattern, I recommend to change PACKAGES
so that ${PN}-consolefonts-restricted comes before "${PN}-consolefonts:
PACKAGES += "${PN}-consolefonts-restricted ${PN}-consolefonts ${PN}-keymaps ${PN}-unimaps ${PN}-consoletrans"
The you can leave FILES:${PN}-consolefonts as it was:
FILES:${PN}-consolefonts = "${datadir}/consolefonts"
> +FILES:${PN}-consolefonts-restricted = "${datadir}/consolefonts/Agafari*"
> FILES:${PN}-consoletrans = "${datadir}/consoletrans"
> FILES:${PN}-keymaps = "${datadir}/keymaps"
> FILES:${PN}-unimaps = "${datadir}/unimaps"
> --
> 2.34.1
//Peter
prev parent reply other threads:[~2022-10-22 0:13 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-10-18 0:14 [PATCH] kbd: package some fonts as restricted Randy MacLeod
2022-10-18 10:25 ` [OE-core] " Ross Burton
2022-10-20 0:45 ` Randy MacLeod
2022-10-22 0:13 ` Peter Kjellerstedt [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=c000d10350ab4ad0bc60bf63df836ebb@axis.com \
--to=peter.kjellerstedt@axis.com \
--cc=openembedded-core@lists.openembedded.org \
--cc=randy.macleod@windriver.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox