package/p*/Config.in: fix ordering of statements
authorAdam Duskett <Aduskett@gmail.com>
Sat, 22 Apr 2017 17:18:02 +0000 (13:18 -0400)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Mon, 1 May 2017 17:01:15 +0000 (19:01 +0200)
The check-package script when ran gives warnings on ordering issues
on all of these Config files.  This patch cleans up all warnings
related to the ordering in the Config files for packages starting with
the letter p in the package directory.

The appropriate ordering is: type, default, depends on, select, help
See http://nightly.buildroot.org/#_config_files for more information.

Signed-off-by: Adam Duskett <Adamduskett@outlook.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
20 files changed:
package/pangomm/Config.in
package/pcmanfm/Config.in
package/php/Config.ext
package/portaudio/Config.in
package/powerpc-utils/Config.in
package/powervr/Config.in
package/pppd/Config.in
package/pulseaudio/Config.in
package/pulseview/Config.in
package/pure-ftpd/Config.in
package/python-crossbar/Config.in
package/python-ipaddr/Config.in
package/python-libconfig/Config.in
package/python-msgpack/Config.in
package/python-pylibftdi/Config.in
package/python-pysnmp-apps/Config.in
package/python-pysnmp-mibs/Config.in
package/python-service-identity/Config.in
package/python-treq/Config.in
package/python/Config.in

index a7c41a008f2de1e231ce93b246dd6dcb64cfcf42..08c6064c0c7b86322e9321a6fc589420e7623d85 100644 (file)
@@ -1,15 +1,15 @@
 config BR2_PACKAGE_PANGOMM
        bool "pangomm"
-       select BR2_PACKAGE_CAIROMM
-       select BR2_PACKAGE_GLIBMM
-       select BR2_PACKAGE_PANGO
-       select BR2_PACKAGE_LIBSIGC
        depends on BR2_TOOLCHAIN_HAS_SYNC_4 # pango -> harfbuzz
        depends on BR2_INSTALL_LIBSTDCPP # glibmm/pango
        depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_8 # C++11
        depends on BR2_TOOLCHAIN_HAS_THREADS # *mm/pango -> libglib2
        depends on BR2_USE_MMU # *mm/pango -> libglib2
        depends on BR2_USE_WCHAR # *mm/pango -> libglib2
+       select BR2_PACKAGE_CAIROMM
+       select BR2_PACKAGE_GLIBMM
+       select BR2_PACKAGE_PANGO
+       select BR2_PACKAGE_LIBSIGC
        help
          The pangomm package is a set of C++ bindings for Pango.
 
index 40ebbdfcb4e93127bff6cba1e1c346a4c6238e89..979e74777dcd595cb61b785238d9a8fb3f8fa49d 100644 (file)
@@ -1,15 +1,15 @@
 config BR2_PACKAGE_PCMANFM
        bool "pcmanfm"
-       select BR2_PACKAGE_LIBFM
-       select BR2_PACKAGE_MENU_CACHE
-       select BR2_PACKAGE_LIBGLIB2
-       select BR2_PACKAGE_LIBGTK2 if !BR2_PACKAGE_LIBGTK3_X11
        depends on BR2_PACKAGE_XORG7
        depends on BR2_USE_WCHAR # libglib2
        depends on BR2_TOOLCHAIN_HAS_THREADS # libglib2
        depends on BR2_USE_MMU # libglib2
        depends on BR2_INSTALL_LIBSTDCPP # libgtk2
        depends on BR2_TOOLCHAIN_HAS_SYNC_4 # libgtk2 -> pango -> harfbuzz
+       select BR2_PACKAGE_LIBFM
+       select BR2_PACKAGE_MENU_CACHE
+       select BR2_PACKAGE_LIBGLIB2
+       select BR2_PACKAGE_LIBGTK2 if !BR2_PACKAGE_LIBGTK3_X11
        help
          PCMan File Manager (PCManFM) is a file manager application developed
          by Hong Jen Yee from Taiwan which is meant to be a replacement for
index 7c3ba7e8c44e2283423dd25be884e9134f6adab0..43cc4b328951c5935b33392c1905111b62892670 100644 (file)
@@ -53,8 +53,8 @@ config BR2_PACKAGE_PHP_EXT_ZIP
 
 config BR2_PACKAGE_PHP_EXT_ZLIB
        bool "zlib"
-       select BR2_PACKAGE_ZLIB
        default y
+       select BR2_PACKAGE_ZLIB
        help
          zlib support
 
@@ -136,9 +136,9 @@ config BR2_PACKAGE_PHP_EXT_PDO_MYSQL
 
 config BR2_PACKAGE_PHP_EXT_PDO_POSTGRESQL
        bool "PostgreSQL"
-       select BR2_PACKAGE_POSTGRESQL
        depends on BR2_USE_MMU # postgresql
        depends on !BR2_STATIC_LIBS
+       select BR2_PACKAGE_POSTGRESQL
        help
          PDO driver for PostgreSQL
 
@@ -164,8 +164,8 @@ comment "Human language and character encoding support"
 
 config BR2_PACKAGE_PHP_EXT_GETTEXT
        bool "Gettext"
-       select BR2_PACKAGE_GETTEXT if BR2_NEEDS_GETTEXT
        depends on BR2_USE_WCHAR
+       select BR2_PACKAGE_GETTEXT if BR2_NEEDS_GETTEXT
        help
          Gettext support
 
@@ -180,11 +180,11 @@ config BR2_PACKAGE_PHP_EXT_ICONV
 
 config BR2_PACKAGE_PHP_EXT_INTL
        bool "intl"
-       select BR2_PACKAGE_ICU
        depends on BR2_INSTALL_LIBSTDCPP
        depends on BR2_USE_WCHAR
        depends on !BR2_BINFMT_FLAT # icu
        depends on BR2_TOOLCHAIN_HAS_THREADS # icu
+       select BR2_PACKAGE_ICU
        help
          Internationalization support
 
index 252a92a650ceaa8d020dbb5eac71b65edc2e0eef..18e87fde5ebc19832de466984081541908aba8ef 100644 (file)
@@ -14,8 +14,8 @@ if BR2_PACKAGE_PORTAUDIO
 
 config BR2_PACKAGE_PORTAUDIO_ALSA
        bool "alsa support"
-       select BR2_PACKAGE_ALSA_LIB
        default y
+       select BR2_PACKAGE_ALSA_LIB
        help
          Compile with ALSA support.
 
index fb2fb7fac2e0cc25e8c97dc11a698f33748dcc8b..b0ca84789e8822f74e5f0564478b565c1bd75435 100644 (file)
@@ -16,8 +16,8 @@ if BR2_PACKAGE_POWERPC_UTILS
 
 config BR2_PACKAGE_POWERPC_UTILS_RTAS
        bool "RTAS support"
-       select BR2_PACKAGE_LIBRTAS
        depends on BR2_TOOLCHAIN_USES_GLIBC
+       select BR2_PACKAGE_LIBRTAS
        help
          Enable support for functions that require RTAS.
 
index 746e15b291aeec6c3b7ea5c4d9c811e0b596443f..7be2b2378a4a5178b89899c1fe9575d206d29a80 100644 (file)
@@ -2,5 +2,5 @@ config BR2_PACKAGE_HAS_POWERVR
        bool
 
 config BR2_PACKAGE_PROVIDES_POWERVR
-       depends on BR2_PACKAGE_HAS_POWERVR
        string
+       depends on BR2_PACKAGE_HAS_POWERVR
index b56b623459cc91efee77ddc8774ca4d162fd208f..8c56421c0d6df5af9af94f17ad8302cbd6f47a8e 100644 (file)
@@ -11,8 +11,8 @@ config BR2_PACKAGE_PPPD
 if BR2_PACKAGE_PPPD
 
 config BR2_PACKAGE_PPPD_FILTER
-       select BR2_PACKAGE_LIBPCAP
        bool "filtering"
+       select BR2_PACKAGE_LIBPCAP
        help
          Packet filtering abilities for pppd. If enabled,
          the pppd active-filter and pass-filter options
index 20aa374fce8c962eec9dd2976cebb32f6909bae7..0adfd88c793e05a496eb3fd989362a880e93814b 100644 (file)
@@ -4,11 +4,11 @@ config BR2_PACKAGE_PULSEAUDIO
        depends on BR2_TOOLCHAIN_HAS_THREADS
        depends on !BR2_STATIC_LIBS
        depends on BR2_TOOLCHAIN_HAS_SYNC_4 # json-c
+       depends on BR2_USE_MMU # fork()
        select BR2_PACKAGE_LIBTOOL
        select BR2_PACKAGE_JSON_C
        select BR2_PACKAGE_LIBSNDFILE
        select BR2_PACKAGE_SPEEX
-       depends on BR2_USE_MMU # fork()
        help
          PulseAudio is a sound system for POSIX OSes, meaning that it
          is a proxy for your sound applications. It allows you to do
index 46abe78f76976126c0402c1bff8b93002b81b11c..daa0fbab606df0da261456001176d554dc876c2f 100644 (file)
@@ -1,8 +1,15 @@
 config BR2_PACKAGE_PULSEVIEW
        bool "pulseview"
+       depends on BR2_PACKAGE_QT5
+       # libsigrok->libglib2:
+       depends on BR2_USE_WCHAR
+       depends on BR2_TOOLCHAIN_HAS_THREADS
+       depends on BR2_USE_MMU
+       depends on BR2_INSTALL_LIBSTDCPP
+       # libsigrok
+       depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_8
        select BR2_PACKAGE_LIBSIGROK
        select BR2_PACKAGE_LIBSIGROKCXX
-       depends on BR2_PACKAGE_QT5
        select BR2_PACKAGE_QT5BASE_WIDGETS
        select BR2_PACKAGE_QT5BASE_PNG
        select BR2_PACKAGE_QT5SVG
@@ -10,13 +17,6 @@ config BR2_PACKAGE_PULSEVIEW
        select BR2_PACKAGE_BOOST_FILESYSTEM
        select BR2_PACKAGE_BOOST_SYSTEM
        select BR2_PACKAGE_BOOST_THREAD
-       # libsigrok->libglib2:
-       depends on BR2_USE_WCHAR
-       depends on BR2_TOOLCHAIN_HAS_THREADS
-       depends on BR2_USE_MMU
-       depends on BR2_INSTALL_LIBSTDCPP
-       # libsigrok
-       depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_8
        help
          PulseView is a Qt based logic analyzer, oscilloscope
          and MSO GUI for sigrok.
index 57b78d1ae6d84f4d90d770076581d54623aab310..0e1e9c264e7cd7896fe27684afecc40b1ca78b1b 100644 (file)
@@ -1,7 +1,7 @@
 config BR2_PACKAGE_PURE_FTPD
        bool "pure-ftpd"
-       select BR2_PACKAGE_LIBICONV if !BR2_ENABLE_LOCALE
        depends on BR2_USE_MMU # fork()
+       select BR2_PACKAGE_LIBICONV if !BR2_ENABLE_LOCALE
        help
          Pure-FTPd is a free (BSD), secure, production-quality and standard-
          conformant FTP server. It doesn't provide useless bells and whistles,
index be8332515ec244529d4539186614b7dc1fc5c4ff..faec922e507dfed5c40a01f8f40a201dad983862 100644 (file)
@@ -1,5 +1,6 @@
 config BR2_PACKAGE_PYTHON_CROSSBAR
        bool "python-crossbar"
+       depends on BR2_INSTALL_LIBSTDCPP # python-pyasn
        # All the following dependencies are runtime dependencies
        select BR2_PACKAGE_PYTHON_AUTOBAHN
        select BR2_PACKAGE_PYTHON_CBOR
@@ -31,7 +32,6 @@ config BR2_PACKAGE_PYTHON_CROSSBAR
        select BR2_PACKAGE_PYTHON_UBJSON
        select BR2_PACKAGE_PYTHON_WATCHDOG
        select BR2_PACKAGE_PYTHON_WSACCEL
-       depends on BR2_INSTALL_LIBSTDCPP # python-pyasn
        help
          Crossbar.io is an open-source WAMP application router that
          allows to build advanced applications from loosely-coupled
index 9db2dab38b018de6ed60a6fcec836c6348df55f3..57279273f99817eac35c2d0ae0ff6623297ab0d5 100644 (file)
@@ -1,6 +1,6 @@
 config BR2_PACKAGE_PYTHON_IPADDR
-       depends on BR2_PACKAGE_PYTHON # included since python3.3
        bool "python-ipaddr"
+       depends on BR2_PACKAGE_PYTHON # included since python3.3
        help
          An IPv4/IPv6 manipulation library in Python. This library is
          used to create/poke/manipulate IPv4 and IPv6 addresses and
index a222f9a1301d9330436cf4b117c99de1e3b55a0c..00688719ee99f90fae035ddf2e0fb65a0bf2ca34 100644 (file)
@@ -4,13 +4,13 @@ comment "python-libconfig needs a glibc or uClibc toolchain w/ C++, threads"
 
 config BR2_PACKAGE_PYTHON_LIBCONFIG
        bool "python-libconfig"
-       select BR2_PACKAGE_BOOST
-       select BR2_PACKAGE_BOOST_PYTHON
-       select BR2_PACKAGE_LIBCONFIG
        depends on BR2_INSTALL_LIBSTDCPP
        depends on BR2_TOOLCHAIN_HAS_THREADS
        # error: invalid use of incomplete type 'struct _IO_FILE'
        depends on !BR2_TOOLCHAIN_USES_MUSL
+       select BR2_PACKAGE_BOOST
+       select BR2_PACKAGE_BOOST_PYTHON
+       select BR2_PACKAGE_LIBCONFIG
        help
          Python bindings to the C++ library libconfig
 
index 7dfe8e81f1a3358c1940b95182c3d41b6fc32d57..9aa2b5f824da1cea399476ca09e75c17981e83bc 100644 (file)
@@ -1,8 +1,8 @@
 config BR2_PACKAGE_PYTHON_MSGPACK
        bool "python-msgpack"
-       select BR2_PACKAGE_MSGPACK
        depends on BR2_INSTALL_LIBSTDCPP # msgpack
        depends on BR2_TOOLCHAIN_HAS_SYNC_4 # msgpack
+       select BR2_PACKAGE_MSGPACK
        help
          MessagePack (http://msgpack.org/) is a fast, compact binary
          serialization format, suitable for similar data to JSON.
index f82907123516a68ad19f01a30a0e2010e4a58b0c..d340974656360fa55ef344ef28e6394466a23cf0 100644 (file)
@@ -1,7 +1,7 @@
 config BR2_PACKAGE_PYTHON_PYLIBFTDI
        bool "python-pylibftdi"
-       select BR2_PACKAGE_LIBFTDI
        depends on BR2_TOOLCHAIN_HAS_THREADS # libusb
+       select BR2_PACKAGE_LIBFTDI
        help
          This package contains the python language binding libftdi.
 
index b032eba1fe2c05520b8ffa97784b46f344c362d9..32e32699464630fe658ae30515698d4f5ddf8c34 100644 (file)
@@ -1,7 +1,7 @@
 config BR2_PACKAGE_PYTHON_PYSNMP_APPS
        bool "python-pysnmp-apps"
-       select BR2_PACKAGE_PYTHON_PYSNMP
        depends on BR2_INSTALL_LIBSTDCPP # pysnmp -> pyasn
+       select BR2_PACKAGE_PYTHON_PYSNMP
        help
          A collection of command-line tools for SNMP management
          purposes built on top of the PySNMP package.
index eca17d26aa092fac8f800c6156cef32ec92776bd..521d95eab13da8ee01ee6cbdd173114e686a0c5d 100644 (file)
@@ -1,7 +1,7 @@
 config BR2_PACKAGE_PYTHON_PYSNMP_MIBS
        bool "python-pysnmp-mibs"
-       select BR2_PACKAGE_PYTHON_PYSNMP
        depends on BR2_INSTALL_LIBSTDCPP # pysnmp -> pyasn
+       select BR2_PACKAGE_PYTHON_PYSNMP
        help
          PySNMP MIBs is a set of IETF & IANA MIBs pre-compiled and
          packaged to simplify their use with the PySNMP library.
index c9cbb6cca1395a0af4a23a985f61a3bab37225b3..304b38acdec9152c5b71915433c92d35105d10ad 100644 (file)
@@ -1,10 +1,10 @@
 config BR2_PACKAGE_PYTHON_SERVICE_IDENTITY
        bool "python-service-identity"
+       depends on BR2_INSTALL_LIBSTDCPP # python-pyopenssl, python-pyasn
        select BR2_PACKAGE_PYTHON_CHARACTERISTIC # runtime
        select BR2_PACKAGE_PYTHON_PYASN # runtime
        select BR2_PACKAGE_PYTHON_PYASN_MODULES # runtime
        select BR2_PACKAGE_PYTHON_PYOPENSSL # runtime
-       depends on BR2_INSTALL_LIBSTDCPP # python-pyopenssl, python-pyasn
        help
          Service identity verification for pyOpenSSL.
 
index 4a237373d1830505bd581989a21c5f1f1b8cb5ea..2047cc0dc73d38fdeda8b8f7ec3d606b5266553d 100644 (file)
@@ -1,11 +1,11 @@
 config BR2_PACKAGE_PYTHON_TREQ
        bool "python-treq"
+       depends on BR2_INSTALL_LIBSTDCPP # python-pyopenssl
        select BR2_PACKAGE_PYTHON_REQUESTS # runtime
        select BR2_PACKAGE_PYTHON_SERVICE_IDENTITY # runtime
        select BR2_PACKAGE_PYTHON_SIX # runtime
        select BR2_PACKAGE_PYTHON_TWISTED # runtime
        select BR2_PACKAGE_PYTHON_PYOPENSSL # runtime
-       depends on BR2_INSTALL_LIBSTDCPP # python-pyopenssl
        help
          treq is an HTTP library inspired by requests but written on
          top of Twisted's Agents.  It provides a simple, higher level
index fa83e7774a51a975ba15d44c66e48e3ba2ef6e23..054ccd2aaa1c3b47d3f39b983129c098a8ffb81d 100644 (file)
@@ -39,14 +39,14 @@ menu "core python modules"
 comment "The following modules are unusual or require extra libraries"
 
 config BR2_PACKAGE_PYTHON_BZIP2
-       select BR2_PACKAGE_BZIP2
        bool "bzip2 module"
+       select BR2_PACKAGE_BZIP2
        help
          bzip2 module for Python
 
 config BR2_PACKAGE_PYTHON_BSDDB
-       select BR2_PACKAGE_BERKELEYDB
        bool "bsddb module"
+       select BR2_PACKAGE_BERKELEYDB
        help
          bsddb module for Python.
 
@@ -56,8 +56,8 @@ config BR2_PACKAGE_PYTHON_CODECSCJK
          Chinese/Japanese/Korean codecs module for Python (large).
 
 config BR2_PACKAGE_PYTHON_CURSES
-       select BR2_PACKAGE_NCURSES
        bool "curses module"
+       select BR2_PACKAGE_NCURSES
        help
          curses module for Python.
 
@@ -67,15 +67,15 @@ config BR2_PACKAGE_PYTHON_OSSAUDIODEV
          ossaudiodev module for Python.
 
 config BR2_PACKAGE_PYTHON_READLINE
-       select BR2_PACKAGE_READLINE
        bool "readline"
+       select BR2_PACKAGE_READLINE
        help
          readline module for Python (required for command-line
          editing in the Python shell).
 
 config BR2_PACKAGE_PYTHON_SSL
-       select BR2_PACKAGE_OPENSSL
        bool "ssl"
+       select BR2_PACKAGE_OPENSSL
        help
          _ssl module for Python (required for https in urllib etc).
 
@@ -110,8 +110,8 @@ config BR2_PACKAGE_PYTHON_SQLITE
          SQLite database support
 
 config BR2_PACKAGE_PYTHON_PYEXPAT
-       select BR2_PACKAGE_EXPAT
        bool "xml module"
+       select BR2_PACKAGE_EXPAT
        help
          pyexpat and xml libraries for Python