From: Arnout Vandecappelle <arnout@mind.be>
To: buildroot@busybox.net
Subject: [Buildroot] [RFC] Unification of package comments on wchar, largefile, c++ support, thread, ... support
Date: Wed, 21 Aug 2013 00:29:13 +0200 [thread overview]
Message-ID: <5213EDB9.9090704@mind.be> (raw)
In-Reply-To: <CAAXf6LV7wB6_RsufRWD6s7-viuYheasMHJWqDAGtu6BmPpZBdw@mail.gmail.com>
On 19/08/13 17:00, Thomas De Schampheleire wrote:
> Hi,
>
> When a package needs any of wchar/largefile/C++/thread support in the
> toolchain, this is handled with a comment in Config.in shown when this
> condition is not met.
>
> However, the text of these comments is currently not unified, some
> examples: (grep -A1 comment package/*/Config.in)
>
> package/acl/Config.in:comment "acl requires a toolchain with LARGEFILE support"
> package/acl/Config.in- depends on !BR2_LARGEFILE
> --
> package/aircrack-ng/Config.in:comment "aircrack-ng needs a toolchain
> with largefile and threads support"
> package/aircrack-ng/Config.in- depends on !BR2_LARGEFILE ||
> !BR2_TOOLCHAIN_HAS_THREADS
> --
> package/alsa-lib/Config.in:comment "alsa-lib needs threads support in toolchain"
> package/alsa-lib/Config.in- depends on !BR2_TOOLCHAIN_HAS_THREADS
> --
> package/alsamixergui/Config.in:comment "alsamixergui requires a
> toolchain with C++ and threads support enabled"
> package/alsamixergui/Config.in- depends on (!BR2_INSTALL_LIBSTDCPP ||
> !BR2_TOOLCHAIN_HAS_THREADS) && BR2_PACKAGE_XORG7
> --
> package/atk/Config.in:comment "atk requires a toolchain with WCHAR support"
> package/atk/Config.in- depends on !BR2_USE_WCHAR
> --
> package/attr/Config.in:comment "attr requires a toolchain with
> LARGEFILE support"
> package/attr/Config.in- depends on !BR2_LARGEFILE
> --
> package/audiofile/Config.in:comment "audiofile requires a toolchain
> with C++ support enabled"
> package/audiofile/Config.in- depends on !BR2_INSTALL_LIBSTDCPP
> --
> package/avahi/Config.in:comment "avahi requires a toolchain with thread support"
> package/avahi/Config.in- depends on !BR2_TOOLCHAIN_HAS_THREADS
> --
> package/axel/Config.in:comment "axel needs a toolchain with thread support"
> package/axel/Config.in- depends on !BR2_TOOLCHAIN_HAS_THREADS
>
>
> As you can see, in just the first few hits of my grep commands, there
> are many differences:
>
> - requires vs needs
> - LARGEFILE vs largefile (capitalization)
> - 'a toolchain with ... support' vs '... support in toolchain'
> - thread vs threads
> - '... support' vs '... support enabled'
> - 'and' vs '+' vs '&' when multiple features are needed (not shown in
> the above examples)
>
>
> I would like to agree on one common text, and adapt all packages
> accordingly. The exact wording can be discussed, the main goal is the
> unification. Here is a proposal:
>
> foo requires a toolchain with feat support
> foo requires a toolchain with featA and featB support
> foo requires a toolchain with featA, featB and featC support
>
> where the features would be written as: WCHAR, LARGEFILE, IPV6, RPC,
> C++, thread.
>
>
> What is your opinion on:
> a. the concept of this unification
> b. the wording proposed above
Yes and yes.
One problem: it has to fit 70 characters.
libfoobarfrobniz requies a toolchain with WCHAR, LARGEFILE, IPV6 and C++
support
doesn't fit... But I guess we can make an exception for these rare occasions.
Regards,
Arnout
--
Arnout Vandecappelle arnout at mind be
Senior Embedded Software Architect +32-16-286500
Essensium/Mind http://www.mind.be
G.Geenslaan 9, 3001 Leuven, Belgium BE 872 984 063 RPR Leuven
LinkedIn profile: http://www.linkedin.com/in/arnoutvandecappelle
GPG fingerprint: 7CB5 E4CC 6C2E EFD4 6E3D A754 F963 ECAB 2450 2F1F
next prev parent reply other threads:[~2013-08-20 22:29 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-08-19 15:00 [Buildroot] [RFC] Unification of package comments on wchar, largefile, c++ support, thread, ... support Thomas De Schampheleire
2013-08-20 22:29 ` Arnout Vandecappelle [this message]
2013-08-21 5:28 ` Alexander Lukichev
2013-09-06 10:37 ` Thomas De Schampheleire
2013-09-06 12:28 ` Thomas Petazzoni
2013-09-06 14:34 ` Thomas De Schampheleire
2013-09-06 14:38 ` Michael Rommel
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=5213EDB9.9090704@mind.be \
--to=arnout@mind.be \
--cc=buildroot@busybox.net \
/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