Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: "Yann E. MORIN" <yann.morin.1998@free.fr>
To: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Cc: Kamel Bouhara <kamel.bouhara@gmail.com>,
	Ricardo Martincoski <ricardo.martincoski@datacom.com.br>,
	Klaus Heinrich Kiwi <klaus@linux.vnet.ibm.com>,
	Julien Olivain <ju.o@free.fr>,
	buildroot@buildroot.org, Romain Naour <romain.naour@smile.fr>
Subject: Re: [Buildroot] [PATCH 00/29 v2] package: improve for better pulseview integration (branch yem/sdcc-fx2lafw)
Date: Sun, 20 Apr 2025 10:09:14 +0200	[thread overview]
Message-ID: <aASrqq79CcbjeIJZ@landeda> (raw)
In-Reply-To: <20250419171732.356b2676@windsurf>

Thomas, All,

On 2025-04-19 17:17 +0200, Thomas Petazzoni spake thusly:
> On Wed,  9 Apr 2025 22:03:42 +0200
> "Yann E. MORIN" <yann.morin.1998@free.fr> wrote:
> > This series aims at making the pulseview and other sigrok-related
> > packages more integrated. The series is articulated around three main
> > goals, the details of which are expanded later:
> >  1. cleanup and extend pulseview dependencies, notably the need for
> >     fonts;
> >  2. extend the boost package, for a better host variant, and better
> >     maintainability;
> >  3. introduce sdcc and fx2lafw, to allow use of Cypress FX2-based logic
> >     analyzers.
> 
> Wow, this is a large series doing a lot of stuff.

Yes, but it is all related and triggered by the f2xlafw package coming
last in the series... So, a lot of different things, but to an ultimate
common goal.

> I already applied a
> few of the preparation patches in order to reduce a bit the size of
> your series.

\o/ :-)

> Now, I have several concerns about different aspects of the series.
> Nothing I am entirely against, just topics on which I am not 100% sure
> on how we want to deal with them.
> 
> First topic is the some-font package and this whole idea that all font
> packages should at least install some font. One thing that bothers me
> is that fonts can be provided in different formats, and "some-font"
> doesn't say which font format will be used/available. Should we make
> this "some-ttf-font", or something like that? Is that even a mechanism
> we want in Buildroot at all? Arnout, Peter, Julien, Romain, any opinion?

Yes, the some-font stuff is not what I am most proud of. If you have a
better idea on how to allow applications to request that some font be
available, or some refinements on my solutions, I'm all ears and eyes.

As for TTF vs fixed-width, I don't think that makes a difference.
Applicaitons usually use a font rendering library, like fontconfig and
harfbuzz et al. which would load and render text from whatever font they
are told to load, or that is available... In the very limited use-case I
had, running pulseview full-screen on framebuffer on rpi2, it was
working very well whatever the fonts that were installed (the text would
look slightly ugly/weird at times, but was rendered OK).

But I'm by far not an expert in fonts, so I may very well be talking
bullshit.

> Second topic of concern is how you handle the host-boost dependency.
> You add a "select BR2_PACKAGE_HOST_BOOST" to all packages that need
> host-boost, adding hidden Config.in.host options for all of them. Is
> this really what we want? So far, we have never required
> BR2_PACKAGE_HOST_* options to be selected (think
> BR2_PACKAGE_HOST_PKGCONF for example). So to stay consistent, I would
> rather suggest that the BR2_PACKAGE_HOST_BOOST_<something> hidden
> options that are needed get added and selected by whoever need them,
> but BR2_PACKAGE_HOST_BOOST isn't needed, nor it is necessary for
> packages to select it.

The thing is, if you look for example to the package host-odb, it does
not itself need host-boost, but it depends on libodb-boost, which does.
Today, libodb-boost does not need any of the boost extra libraries, but
if tomorrow it does, then without a host-libodb-boost Kconfig symbol, it
would be host-odb that would have to carry the selection of that extra
boost library; that does not sound too nice to me...

Second, if a package selects HOST_BOOST_BLAH, it is not too much of a
burden to also select _HOST_BOOST, I believe. I modeled that from the
host-python3 package: there is a main symbol that has to be selected
before sub-options can also be selected. Granted, host-python also has a
prompt and can be enabled on its own, which is not the case for
host-boost. However, I think it would be a little bit awkward to have
symbols for sub-options of a package that has no main symbol for
itself... (but if the consensus is to just drop the main symbol, and
just keep the rest of the symbols as-is for a configurable host variant,
I will not argue further, that would be fine for me as well).

> Of course, unless we decide to bite the bullet
> and have Config.in.host options for all host packages, always selected,
> but that's a huge effort and complicated one (think host-cmake, which
> may or may not be built depending on whether there is a suitable CMake
> version on the host machine).

We already talked about this and we already tried, but it really is way
too much to do; let's concentrate on those packages where that is
actually needed and/or makes sense and/or is not too much trouble...

However, to be honest, that is not the part of the boost changes I was
expecting the most comments about; I had rather expected some (very
needed!) questioning on that subset:

    utils/check-symbols: allow ignoring some defined-but-unused symbols
    package/boost: commonalise list of libs
    package/boost: check that known libs match Boost's list

Regards,
Yann E. MORIN.

-- 
.-----------------.--------------------.------------------.--------------------.
|  Yann E. MORIN  | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software  Designer | \ / CAMPAIGN     |  ___               |
| +33 561 099 427 `------------.-------:  X  AGAINST      |  \e/  There is no  |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL    |   v   conspiracy.  |
'------------------------------^-------^------------------^--------------------'
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

  reply	other threads:[~2025-04-20  8:09 UTC|newest]

Thread overview: 47+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-04-09 20:03 [Buildroot] [PATCH 00/29 v2] package: improve for better pulseview integration (branch yem/sdcc-fx2lafw) Yann E. MORIN
2025-04-09 20:03 ` [Buildroot] [PATCH 01/29 v2] package/libsigrokdecode: needs python3 w/ zlib support Yann E. MORIN
2025-04-19 15:02   ` Thomas Petazzoni via buildroot
2025-05-02 10:40   ` Arnout Vandecappelle via buildroot
2025-04-09 20:03 ` [Buildroot] [PATCH 02/29 v2] package/dejavu: update homepage Yann E. MORIN
2025-04-19 15:02   ` Thomas Petazzoni via buildroot
2025-05-02 10:40   ` Arnout Vandecappelle via buildroot
2025-04-09 20:03 ` [Buildroot] [PATCH 03/29 v2] package/dejavu: ensure at least one typeface is installed Yann E. MORIN
2025-04-09 20:03 ` [Buildroot] [PATCH 04/29 v2] package/liberation: " Yann E. MORIN
2025-04-09 20:03 ` [Buildroot] [PATCH 05/29 v2] package/some-font: new pseudo-package Yann E. MORIN
2025-04-09 20:03 ` [Buildroot] [PATCH 06/29 v2] package/pulseview: fix, update, and reorganise dependencies Yann E. MORIN
2025-04-19 15:04   ` Thomas Petazzoni via buildroot
2025-05-02 10:40   ` Arnout Vandecappelle via buildroot
2025-05-02 10:41   ` Arnout Vandecappelle via buildroot
2025-04-09 20:03 ` [Buildroot] [PATCH 07/29 v2] package/pulseview: needs some font, and fontconfig support in qt5base Yann E. MORIN
2025-04-09 20:03 ` [Buildroot] [PATCH 08/29 v2] package/boost: move host variables closer together Yann E. MORIN
2025-04-19 15:10   ` Thomas Petazzoni via buildroot
2025-05-02 10:41   ` Arnout Vandecappelle via buildroot
2025-04-09 20:03 ` [Buildroot] [PATCH 09/29 v2] package/boost: move taget library selection " Yann E. MORIN
2025-04-19 15:10   ` Thomas Petazzoni via buildroot
2025-05-02 10:42   ` Arnout Vandecappelle via buildroot
2025-04-09 20:03 ` [Buildroot] [PATCH 10/29 v2] package/boost: prepare for a configurable host variant Yann E. MORIN
2025-04-09 20:03 ` [Buildroot] [PATCH 11/29 v2] package/boost: add host symbol Yann E. MORIN
2025-04-09 20:03 ` [Buildroot] [PATCH 12/29 v2] package/libodb-boost: afirm host-boost dependency for host variant Yann E. MORIN
2025-04-09 20:03 ` [Buildroot] [PATCH 13/29 v2] package/thrift: " Yann E. MORIN
2025-04-09 20:03 ` [Buildroot] [PATCH 14/29 v2] package/riscv-isa-sim: afirm host-boost dependency Yann E. MORIN
2025-04-09 20:03 ` [Buildroot] [PATCH 15/29 v2] pakcage/boost: make host variant slightly configurable Yann E. MORIN
2025-04-09 20:03 ` [Buildroot] [PATCH 16/29 v2] utils/check-symbols: allow ignoring some defined-but-unused symbols Yann E. MORIN
2025-04-09 20:03 ` [Buildroot] [PATCH 17/29 v2] package/boost: commonalise list of libs Yann E. MORIN
2025-04-09 20:03 ` [Buildroot] [PATCH 18/29 v2] package/boost: add graph option for host variant Yann E. MORIN
2025-04-09 20:03 ` [Buildroot] [PATCH 19/29 v2] package/boost: headers-only libs are always installed Yann E. MORIN
2025-04-09 20:03 ` [Buildroot] [PATCH 20/29 v2] package/boost: check that known libs match Boost's list Yann E. MORIN
2025-04-09 20:03 ` [Buildroot] [PATCH 21/29 v2] package/boost: use positive logic to enable libraries Yann E. MORIN
2025-04-09 20:03 ` [Buildroot] [PATCH 22/29 v2] package/boost: explain how to maintain the list of libraries Yann E. MORIN
2025-04-09 20:03 ` [Buildroot] [PATCH 23/29 v2] package/boost: bump to version 1.87.0 Yann E. MORIN
2025-04-15  9:56   ` Michael Nosthoff via buildroot
2025-04-15 19:46     ` Yann E. MORIN
2025-04-09 20:03 ` [Buildroot] [PATCH 24/29 v2] package/sdcc: new package Yann E. MORIN
2025-04-09 20:03 ` [Buildroot] [PATCH 25/29 v2] package/sdcc: add option for the mcs51 (aka 8051) port Yann E. MORIN
2025-04-09 20:03 ` [Buildroot] [PATCH 26/29 v2] package/sdcc: add option for the z80 port Yann E. MORIN
2025-04-09 20:03 ` [Buildroot] [PATCH 27/29 v2] package/sdcc: add option for the device lib Yann E. MORIN
2025-04-09 20:03 ` [Buildroot] [PATCH 28/29 v2] support/download/git: use FOO_DL_OPTS Yann E. MORIN
2025-05-02 10:42   ` Arnout Vandecappelle via buildroot
2025-04-09 20:03 ` [Buildroot] [PATCH 29/29 v2] package/fx2lafw: new package Yann E. MORIN
2025-04-19 15:17 ` [Buildroot] [PATCH 00/29 v2] package: improve for better pulseview integration (branch yem/sdcc-fx2lafw) Thomas Petazzoni via buildroot
2025-04-20  8:09   ` Yann E. MORIN [this message]
2025-04-20 13:01   ` Yann E. MORIN

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=aASrqq79CcbjeIJZ@landeda \
    --to=yann.morin.1998@free.fr \
    --cc=buildroot@buildroot.org \
    --cc=ju.o@free.fr \
    --cc=kamel.bouhara@gmail.com \
    --cc=klaus@linux.vnet.ibm.com \
    --cc=ricardo.martincoski@datacom.com.br \
    --cc=romain.naour@smile.fr \
    --cc=thomas.petazzoni@bootlin.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