Skip to content

RFC all: use 'menuconfig' to group sub-options (branch yem/menuconfig)

Yann E. MORIN buildroot 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 RFC Latest84 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/84package/alsa-lib: move comment around, to keep proper indentationpackage/alsa-lib/Config.in+3 -30 replies
2/84package/gstreamer: move comment around, to keep proper indentationpackage/gstreamer/gstreamer/Config.in+4 -40 replies
3/84package/gstreamer1: move comment around, to keep proper indentationpackage/gstreamer1/gstreamer1/Config.in+4 -40 replies
4/84package/nodejs: move comment around, to keep proper indentationpackage/nodejs/Config.in+7 -70 replies
5/84package/tcl: move comment around, to keep proper indentationpackage/tcl/Config.in+4 -40 replies
6/84package/udpcast: move comment around, to keep proper indentationpackage/udpcast/Config.in+4 -40 replies
7/84package/alsa-lib: use 'menuconfig' instad of 'config'+'menu'package/alsa-lib/Config.in+1 -50 replies
8/84package/alsa-utils: use 'menuconfig' instead of 'config'+'menu'package/alsa-utils/Config.in+3 -41 reply
8/84package/alsa-utils: use 'menuconfig' instead of 'config'+'menu'+0 -00 replies
9/84package/angularjs: use 'menuconfig' instad of 'config'+'menu'package/angularjs/Config.in+2 -20 replies
10/84package/angularjs: simplify modules selectionpackage/angularjs/Config.in package/angularjs/angularjs.mk+36 -231 reply
10/84package/angularjs: simplify modules selection+0 -00 replies
11/84package/collectd: use 'menuconfig' instead of 'config'+'menu'package/collectd/Config.in+6 -150 replies
12/84package/gd: use 'menuconfig' instad of 'config'+'menu'package/gd/Config.in+2 -41 reply
13/84package/gpsd: use 'menuconfig' instead of 'config'+'menu'package/gpsd/Config.in+13 -120 replies
14/84package/jquery: include external plugins from jquery's Config.inpackage/Config.in package/jquery/Config.in+16 -132 replies
14/84package/jquery: include external plugins from jquery's Config.in+0 -01 reply
15/84package/libdrm: move tests programs to the bottompackage/libdrm/Config.in+5 -50 replies
16/84package/libdrm: use 'menuconfig' instad of 'config'+'menu'package/libdrm/Config.in+2 -41 reply
17/84package/mono: use 'menuconfig' instead of 'config'+'menu'package/Config.in package/mono/Config.in+7 -62 replies
18/84package/ncftp: use 'menuconfig' instad of 'config'+'menu'package/ncftp/Config.in+2 -41 reply
19/84package/nfs-utils: use 'menuconfig' instead of 'config'+'menu'package/nfs-utils/Config.in+1 -50 replies
20/84package/nodejs: use 'menuconfig' instead of 'config'+'menu'package/nodejs/Config.in+2 -41 reply
21/84package/ola: use 'menuconfig' instead of 'config'+'menu'package/ola/Config.in+4 -100 replies
22/84package/perl: use 'menuconfig' instead of 'config'+'menu'package/Config.in package/perl/Config.in+47 -482 replies
22/84package/perl: use 'menuconfig' instead of 'config'+'menu'+0 -00 replies
23/84package/php: move list of extensions after interface selectionpackage/php/Config.in+2 -20 replies
24/84package/php: use 'menuconfig' instad of 'config'+'menu'package/Config.in package/php/Config.ext package/php/Config.in+19 -192 replies
24/84package/php: use 'menuconfig' instad of 'config'+'menu'+0 -00 replies
25/84package/python: use 'menuconfig' instad of 'config'+'menu'package/python/Config.in+2 -40 replies
26/84package/python3: use 'menuconfig' instad of 'config'+'menu'package/python3/Config.in+2 -40 replies
27/84package/python{, 3}: move inclusion of external python modulespackage/Config.in package/python/Config.ext package/python/Config.in +2 more+101 -962 replies
28/84package/sdl_image: use 'menuconfig' instead of 'config'+'menu'package/sdl_image/Config.in+1 -50 replies
29/84package/tcl: use 'menuconfig' instad of 'config'+'menu'package/Config.in package/tcl/Config.in+6 -72 replies
30/84package/tiff: use 'menuconfig' instad of 'config'+'menu'package/tiff/Config.in+1 -30 replies
31/84package/udpcast: use 'menuconfig' instad of 'config'+'menu'package/udpcast/Config.in+1 -51 reply
31/84package/udpcast: use 'menuconfig' instad of 'config'+'menu'+0 -00 replies
32/84package/gstreamer: include plugins from gstreamer's real Config.inpackage/gstreamer/Config.in package/gstreamer/gstreamer/Config.in+10 -121 reply
32/84package/gstreamer: include plugins from gstreamer's real Config.in+0 -01 reply
32/84package/gstreamer: include plugins from gstreamer's real Config.in+0 -00 replies
33/84package/gstreamer: use 'menuconfig' instead of 'config'+'menu'package/gstreamer/gstreamer/Config.in+1 -11 reply
33/84package/gstreamer: use 'menuconfig' instead of 'config'+'menu'+0 -00 replies
34/84package/gstreamer1: include plugins from gstreamer1's real Config.inpackage/gstreamer1/Config.in package/gstreamer1/gstreamer1/Config.in+9 -110 replies
35/84package/gstreamer1: use 'menuconfig' instead of 'config'+'menu'package/gstreamer1/gstreamer1/Config.in+1 -10 replies
36/84docs/manual: slightly compactify a paragraphdocs/manual/adding-packages-directory.txt+5 -60 replies
37/84docs/manual: add ordering of kconfig options' attributesdocs/manual/adding-packages-directory.txt+9 -00 replies
38/84docs/manual: add example about sub-optionsdocs/manual/adding-packages-directory.txt+25 -01 reply
38/84docs/manual: add example about sub-options+0 -01 reply
38/84docs/manual: add example about sub-options+0 -00 replies
39/84docs/manual: use 'menuconfig' when there are more than 5 sub-optionsdocs/manual/adding-packages-directory.txt+28 -01 reply
40/84package/valgrind: use 'menuconfig'package/valgrind/Config.in+1 -10 replies
41/84package/e2fsprogs: use 'menuconfig'package/e2fsprogs/Config.in+1 -20 replies
42/84package/mtd: use 'menuconfig'package/mtd/Config.in+1 -20 replies
43/84package/squashfs: use 'menuconfig'package/squashfs/Config.in+1 -10 replies
44/84package/dejavu: use 'menuconfig'package/dejavu/Config.in+1 -10 replies
45/84package/google-material-design-icons: use 'menuconfig'package/google-material-design-icons/Config.in+1 -10 replies
46/84package/directfb: use 'menuconfig'package/directfb/Config.in+1 -11 reply
46/84package/directfb: use 'menuconfig'+0 -00 replies
47/84package/efl: use 'menuconfig'package/efl/Config.in+1 -10 replies
48/84package/sdl: use 'menuconfig'package/sdl/Config.in+1 -10 replies
49/84package/sdl: include SDL external libraries from sdl's Config.inpackage/Config.in package/sdl/Config.in+9 -60 replies
50/84package/sdl_*: remove redundant dependencypackage/sdl_gfx/Config.in package/sdl_image/Config.in package/sdl_mixer/Config.in +3 more+0 -60 replies
51/84package/lm-sensors: use 'menuconfig'package/lm-sensors/Config.in+1 -20 replies
52/84package/openocd: use 'menuconfig'package/openocd/Config.in+1 -30 replies
53/84package/erlang: include Erlang libraries from erlang's Config.inpackage/Config.in package/erlang/Config.in+16 -170 replies
54/84package/lua{, jit}: move inclusion of external libraries/modulespackage/Config.in package/lua/Config.ext package/lua/Config.in +2 more+56 -480 replies
55/84package/sqlite: use 'menuconfig'package/sqlite/Config.in+1 -10 replies
56/84package/cairo: use 'menuconfig'package/cairo/Config.in+1 -10 replies
57/84package/imlib2: use 'menuconfig'package/imlib2/Config.in+2 -10 replies
58/84package/libiio: use 'menuconfig'package/libiio/Config.in+1 -10 replies
59/84package/flot: use 'menuconfig'package/flot/Config.in+1 -30 replies
60/84package/boost: use 'menuconfig'package/boost/Config.in+1 -10 replies
61/84package/poco: use 'menuconfig'package/poco/Config.in+1 -30 replies
62/84package/ncurses: use 'menuconfig'package/ncurses/Config.in+1 -10 replies
63/84package/dovecot: use 'menuconfig'package/dovecot/Config.in+1 -10 replies
64/84package/gnuradio: use 'menuconfig'package/gnuradio/Config.in+1 -10 replies
65/84package/gnuradio: split long ommentpackage/gnuradio/Config.in+5 -22 replies
66/84package/connman: use 'menuconfig'package/connman/Config.in+1 -10 replies
67/84package/dnsmasq: use 'menuconfig'package/dnsmasq/Config.in+1 -10 replies
68/84package/dropbear: use 'menuconfig'package/dropbear/Config.in+1 -10 replies
69/84package/igh-ethercat: use 'menuconfig'package/igh-ethercat/Config.in+1 -10 replies
70/84package/ipsec-tools: use 'menuconfig'package/ipsec-tools/Config.in+1 -10 replies
71/84package/lftp: use 'menuconfig'package/lftp/Config.in+1 -10 replies
72/84package/lighttpd: use 'menuconfig'package/lighttpd/Config.in+1 -10 replies
73/84package/ndisc6: use 'menuconfig'package/ndisc6/Config.in+1 -10 replies
74/84package/netsnmp: use 'menuconfig'package/netsnmp/Config.in+1 -10 replies
75/84package/ntp: use 'menuconfig'package/ntp/Config.in+1 -10 replies
76/84package/openobex: use 'menuconfig'package/openobex/Config.in+1 -10 replies
77/84package/quagga: use 'menuconfig'package/quagga/Config.in+1 -10 replies
78/84package/transmission: use 'menuconfig'package/transmission/Config.in+2 -10 replies
79/84package/wpa-supplicant: use 'menuconfig'package/wpa_supplicant/Config.in+1 -10 replies
80/84boot/at91bootstrap3: use 'menuconfig'boot/at91bootstrap3/Config.in+1 -11 reply
81/84boot/barebox: use 'menuconfig'boot/barebox/Config.in+2 -10 replies
82/84boot/grub: use 'menuconfig'boot/grub/Config.in+3 -71 reply
83/84boot/mxs-bootlets: use 'menuconfig'boot/mxs-bootlets/Config.in+1 -10 replies
84/84boot/uboot: use 'menuconfig'boot/uboot/Config.in+2 -10 replies

Reviews trailers per patch

12 of 96 patches have a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchArnout Vandecappelle (Essensium/Mind)
SeriesA-b A-b
1/84
2/84
3/84
4/84
5/84
6/84
7/84
8/84
8/84
9/84
10/84
10/84
11/84
12/84
13/84
14/84A-b
14/84A-b
15/84
16/84
17/84A-b
18/84
19/84
20/84
21/84
22/84A-b
22/84A-b
23/84
24/84A-b
24/84A-b
25/84
26/84
27/84A-b
28/84
29/84A-b
30/84
31/84
31/84
32/84A-b
32/84A-b
32/84A-b
33/84
33/84
34/84
35/84
36/84
37/84
38/84
38/84
38/84
39/84
40/84
41/84
42/84
43/84
44/84
45/84
46/84
46/84
47/84
48/84
49/84
50/84
51/84
52/84
53/84
54/84
55/84
56/84
57/84
58/84
59/84
60/84
61/84
62/84
63/84
64/84
65/84
66/84
67/84
68/84
69/84
70/84
71/84
72/84
73/84
74/84
75/84
76/84
77/84
78/84
79/84
80/84
81/84
82/84
83/84
84/84

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [Buildroot] [PATCH 0/84 RFC] all: use 'menuconfig' to group sub-options (branch yem/menuconfig)

Hello All!

This RFC series is a proposal to cleanup the layout of the menuconfig UI. Although it looks to be pretty long (84 patches), it really is only three different changes :

- patches 1-6: re-order comments to fix indentation of sub-options; this can probably be applied without too much discussion, as it is really only a cleanup;

- patches 7-35: changes use of 'config'+'menu' into a 'menuconfig' (the Kconfig keywords) to automatically arrange the sub-options into sub-menus;

- patches 36-84: document that packages with 5 or more options should use sub-menus (with 'menuconfig') to store their sub-options (patches 36-39); it then changes a lot of packages accordingly (patches 40-84).

Using 'menuconfig' (like bar, below) instead of 'config'+'menu' (like foo, below) provides a nicer layout (but that's just my taste!):

    [*] foo
        foo sub-menu --->
    [*] bar --->

Finally, moving 5-or-more sub-options to sub-menus also provides for a nicer layout. Of course, I choose 5 arbitrarily; we can refine this value, but 5 looked obvious to me.

Last note: I did try to hunt fro all packages, but it is not possible to either:
- review all Config.in, or
- see all packages in the menuconfig UI (because of arch dependencies for example)

So, I may have missed a few... These can be fixed later.

This series is just an RFC, and is not available in Patchwork. If we decide that we do want it, I'll rebase it and re-submit. However, applyingg 84 patches from Patchwork is probably a bit cumbersome, so the series is also available for git-pull (see below).

Regards,
Yann E. MORIN.

The following changes since commit 3068555c47c15afb62988d35e5e148dc691c6eb9:

python-ipaddress: new package (2015-12-25 19:48:22 +0100)

are available in the git repository at:

git://git.busybox.net/~ymorin/git/buildroot yem/menuconfig

for you to fetch changes up to a93897991f9d246db5f8b92c18e4edce191ec6d6:

boot/uboot: use 'menuconfig' (2015-12-25 20:00:20 +0100)

----------------------------------------------------------------
Yann E. MORIN (84):
package/alsa-lib: move comment around, to keep proper indentation package/gstreamer: move comment around, to keep proper indentation package/gstreamer1: move comment around, to keep proper indentation package/nodejs: move comment around, to keep proper indentation package/tcl: move comment around, to keep proper indentation package/udpcast: move comment around, to keep proper indentation package/alsa-lib: use 'menuconfig' instad of 'config'+'menu' package/alsa-utils: use 'menuconfig' instead of 'config'+'menu' package/angularjs: use 'menuconfig' instad of 'config'+'menu' package/angularjs: simplify modules selection package/collectd: use 'menuconfig' instead of 'config'+'menu' package/gd: use 'menuconfig' instad of 'config'+'menu' package/gpsd: use 'menuconfig' instead of 'config'+'menu' package/jquery: include external plugins from jquery's Config.in package/libdrm: move tests programs to the bottom package/libdrm: use 'menuconfig' instad of 'config'+'menu' package/mono: use 'menuconfig' instead of 'config'+'menu' package/ncftp: use 'menuconfig' instad of 'config'+'menu' package/nfs-utils: use 'menuconfig' instead of 'config'+'menu' package/nodejs: use 'menuconfig' instead of 'config'+'menu' package/ola: use 'menuconfig' instead of 'config'+'menu' package/perl: use 'menuconfig' instead of 'config'+'menu' package/php: move list of extensions after interface selection package/php: use 'menuconfig' instad of 'config'+'menu' package/python: use 'menuconfig' instad of 'config'+'menu' package/python3: use 'menuconfig' instad of 'config'+'menu' package/python{,3}: move inclusion of external python modules package/sdl_image: use 'menuconfig' instead of 'config'+'menu' package/tcl: use 'menuconfig' instad of 'config'+'menu' package/tiff: use 'menuconfig' instad of 'config'+'menu' package/udpcast: use 'menuconfig' instad of 'config'+'menu' package/gstreamer: include plugins from gstreamer's real Config.in package/gstreamer: use 'menuconfig' instead of 'config'+'menu' package/gstreamer1: include plugins from gstreamer1's real Config.in package/gstreamer1: use 'menuconfig' instead of 'config'+'menu' docs/manual: slightly compactify a paragraph docs/manual: add ordering of kconfig options' attributes docs/manual: add example about sub-options
docs/manual: use 'menuconfig' when there are more than 5 sub-options package/valgrind: use 'menuconfig'
package/e2fsprogs: use 'menuconfig'
package/mtd: use 'menuconfig'
package/squashfs: use 'menuconfig'
package/dejavu: use 'menuconfig' package/google-material-design-icons: use 'menuconfig' package/directfb: use 'menuconfig'
package/efl: use 'menuconfig'
package/sdl: use 'menuconfig'
package/sdl: include SDL external libraries from sdl's Config.in package/sdl_*: remove redundant dependency package/lm-sensors: use 'menuconfig'
package/openocd: use 'menuconfig'
package/erlang: include Erlang libraries from erlang's Config.in package/lua{,jit}: move inclusion of external libraries/modules package/sqlite: use 'menuconfig'
package/cairo: use 'menuconfig'
package/imlib2: use 'menuconfig'
package/libiio: use 'menuconfig'
package/flot: use 'menuconfig'
package/boost: use 'menuconfig'
package/poco: use 'menuconfig'
package/ncurses: use 'menuconfig'
package/dovecot: use 'menuconfig'
package/gnuradio: use 'menuconfig'
package/gnuradio: split long omment
package/connman: use 'menuconfig'
package/dnsmasq: use 'menuconfig'
package/dropbear: use 'menuconfig'
package/igh-ethercat: use 'menuconfig' package/ipsec-tools: use 'menuconfig'
package/lftp: use 'menuconfig'
package/lighttpd: use 'menuconfig'
package/ndisc6: use 'menuconfig'
package/netsnmp: use 'menuconfig'
package/ntp: use 'menuconfig'
package/openobex: use 'menuconfig'
package/quagga: use 'menuconfig'
package/transmission: use 'menuconfig' package/wpa-supplicant: use 'menuconfig' boot/at91bootstrap3: use 'menuconfig'
boot/barebox: use 'menuconfig'
boot/grub: use 'menuconfig'
boot/mxs-bootlets: use 'menuconfig'
boot/uboot: use 'menuconfig'

 boot/at91bootstrap3/Config.in                  |   2 +-
 boot/barebox/Config.in                         |   3 +-
 boot/grub/Config.in                            |  10 +-
 boot/mxs-bootlets/Config.in                    |   2 +-
 boot/uboot/Config.in                           |   3 +-
 docs/manual/adding-packages-directory.txt      |  73 +++++++-
 package/Config.in                              | 250 -------------------------
 package/alsa-lib/Config.in                     |  12 +-
 package/alsa-utils/Config.in                   |   7 +-
 package/angularjs/Config.in                    |  37 ++--
 package/angularjs/angularjs.mk                 |  24 ++-
 package/boost/Config.in                        |   2 +-
 package/cairo/Config.in                        |   2 +-
 package/collectd/Config.in                     |  21 +--
 package/connman/Config.in                      |   2 +-
 package/dejavu/Config.in                       |   2 +-
 package/directfb/Config.in                     |   2 +-
 package/dnsmasq/Config.in                      |   2 +-
 package/dovecot/Config.in                      |   2 +-
 package/dropbear/Config.in                     |   2 +-
 package/e2fsprogs/Config.in                    |   3 +-
 package/efl/Config.in                          |   2 +-
 package/erlang/Config.in                       |  17 +-
 package/flot/Config.in                         |   4 +-
 package/gd/Config.in                           |   6 +-
 package/gnuradio/Config.in                     |   9 +-
 package/google-material-design-icons/Config.in |   2 +-
 package/gpsd/Config.in                         |  25 +--
 package/gstreamer/Config.in                    |  12 --
 package/gstreamer/gstreamer/Config.in          |  20 +-
 package/gstreamer1/Config.in                   |  11 --
 package/gstreamer1/gstreamer1/Config.in        |  19 +-
 package/igh-ethercat/Config.in                 |   2 +-
 package/imlib2/Config.in                       |   3 +-
 package/ipsec-tools/Config.in                  |   2 +-
 package/jquery/Config.in                       |  17 +-
 package/lftp/Config.in                         |   2 +-
 package/libdrm/Config.in                       |  14 +-
 package/libiio/Config.in                       |   2 +-
 package/lighttpd/Config.in                     |   2 +-
 package/lm-sensors/Config.in                   |   3 +-
 package/lua/Config.ext                         |  49 +++++
 package/lua/Config.in                          |   4 +-
 package/luajit/Config.ext                      |   1 +
 package/luajit/Config.in                       |   4 +-
 package/mono/Config.in                         |   8 +-
 package/mtd/Config.in                          |   3 +-
 package/ncftp/Config.in                        |   6 +-
 package/ncurses/Config.in                      |   2 +-
 package/ndisc6/Config.in                       |   2 +-
 package/netsnmp/Config.in                      |   2 +-
 package/nfs-utils/Config.in                    |   6 +-
 package/nodejs/Config.in                       |  20 +-
 package/ntp/Config.in                          |   2 +-
 package/ola/Config.in                          |  14 +-
 package/openobex/Config.in                     |   2 +-
 package/openocd/Config.in                      |   4 +-
 package/perl/Config.in                         |  48 ++++-
 package/php/Config.ext                         |  20 +-
 package/php/Config.in                          |   6 +-
 package/poco/Config.in                         |   4 +-
 package/python/Config.ext                      |  96 ++++++++++
 package/python/Config.in                       |   6 +-
 package/python3/Config.ext                     |   1 +
 package/python3/Config.in                      |   6 +-
 package/quagga/Config.in                       |   2 +-
 package/sdl/Config.in                          |  11 +-
 package/sdl_gfx/Config.in                      |   1 -
 package/sdl_image/Config.in                    |   7 +-
 package/sdl_mixer/Config.in                    |   1 -
 package/sdl_net/Config.in                      |   1 -
 package/sdl_sound/Config.in                    |   1 -
 package/sdl_ttf/Config.in                      |   1 -
 package/sqlite/Config.in                       |   2 +-
 package/squashfs/Config.in                     |   2 +-
 package/tcl/Config.in                          |  15 +-
 package/tiff/Config.in                         |   4 +-
 package/transmission/Config.in                 |   3 +-
 package/udpcast/Config.in                      |  14 +-
 package/valgrind/Config.in                     |   2 +-
 package/wpa_supplicant/Config.in               |   2 +-
 81 files changed, 526 insertions(+), 496 deletions(-)
 create mode 100644 package/lua/Config.ext
 create mode 120000 package/luajit/Config.ext
 create mode 100644 package/python/Config.ext
 create mode 120000 package/python3/Config.ext
Signature · 6 lines
.-----------------.--------------------.------------------.--------------------.
|  Yann E. MORIN  | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software  Designer | \ / CAMPAIGN     |  ___               |
| +33 223 225 172 `------------.-------:  X  AGAINST      |  \e/  There is no  |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL    |   v   conspiracy.  |
'------------------------------^-------^------------------^--------------------'