From: Michael Olbrich <m.olbrich@pengutronix.de>
To: ptxdist@pengutronix.de
Subject: Re: [ptxdist] [PATCH] xorg-fonts: make all xorg-font packages tristate
Date: Tue, 31 Jul 2018 11:31:44 +0200 [thread overview]
Message-ID: <20180731093144.r3agb2eflz6c743p@pengutronix.de> (raw)
In-Reply-To: <de2eff126fda748187114bb3db04e4ac8ccc34b1.camel@allegion.com>
Hi,
On Tue, Jul 31, 2018 at 08:54:14AM +0000, Baeuerle, Florian wrote:
> the approach works for me, at least for completely selecting or deselecting
> a font via collection. You have to select MENU_FONTS and XORG_FONT_TTF as
> module. I have a package which then selects noto fonts as dependency.
>
> When deselecting this package in a collection, I end up with a rootfs
> containing no fonts. When selecting the package, I have the font.
>
> I admittedly did not check all scenarios and corner cases, like (de)selecting
> a subset of fonts via collection.
>
> We really need such a feature because we have products with and without
> display and the latter ones do not have enough NAND to contain the fonts.
>
>
> The solution might be ugly but it solves a problem.
>
> If you have other ideas, I'd be willing to discuss and eventually implement
> them, because we really want to be able to (de)select fonts via collection.
If only want to switch from 'some fonts' to 'no fonts', then the goal
should be to leave the individual font packages as 'bool' and only change
MENU_XORG_FONTS/XORG_FONTS to tristate.
However, that's currently not quite that simple because xorg-fonts provides
the dependencies. Hmmm, try this for the font packages:
ifdef PTXCONF_XORG_FONTS
PACKAGES-$(PTXCONF_XORG_FONT_<SOMETHING>) += xorg-font-<something>
endif
Then the packages should be skipped if XORG_FONTS is not selected in the
collection.
Michael
--
Pengutronix e.K. | |
Industrial Linux Solutions | http://www.pengutronix.de/ |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 |
Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 |
_______________________________________________
ptxdist mailing list
ptxdist@pengutronix.de
next prev parent reply other threads:[~2018-07-31 9:31 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-07-30 14:13 Florian Bäuerle
2018-07-30 15:46 ` Michael Olbrich
2018-07-31 8:54 ` Baeuerle, Florian
2018-07-31 9:31 ` Michael Olbrich [this message]
2018-07-31 9:54 ` Baeuerle, Florian
2018-07-31 13:45 ` Michael Olbrich
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=20180731093144.r3agb2eflz6c743p@pengutronix.de \
--to=m.olbrich@pengutronix.de \
--cc=ptxdist@pengutronix.de \
/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