Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [RFC] Unification of package comments on wchar, largefile, c++ support, thread, ... support
@ 2013-08-19 15:00 Thomas De Schampheleire
  2013-08-20 22:29 ` Arnout Vandecappelle
  2013-08-21  5:28 ` Alexander Lukichev
  0 siblings, 2 replies; 7+ messages in thread
From: Thomas De Schampheleire @ 2013-08-19 15:00 UTC (permalink / raw)
  To: buildroot

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

Thanks,
Thomas

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2013-09-06 14:38 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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
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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox