package/c*/Config.in: fix ordering of statements
authorAdam Duskett <Aduskett@gmail.com>
Sat, 22 Apr 2017 17:17:50 +0000 (13:17 -0400)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Sat, 29 Apr 2017 19:12:10 +0000 (21:12 +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 c 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>
12 files changed:
package/cairomm/Config.in
package/ccid/Config.in
package/cdrkit/Config.in
package/checkpolicy/Config.in
package/clamav/Config.in
package/classpath/Config.in
package/cmake/Config.in
package/connman/Config.in
package/cpio/Config.in
package/cppcms/Config.in
package/curlftpfs/Config.in
package/czmq/Config.in

index c0d5ccd1df14db025631c74f011f3f6f298bf8fd..840549b47caf3d03846a95bec8b28595f217ba4c 100644 (file)
@@ -1,13 +1,13 @@
 config BR2_PACKAGE_CAIROMM
        bool "cairomm"
-       select BR2_PACKAGE_CAIRO
-       select BR2_PACKAGE_LIBGLIB2
-       select BR2_PACKAGE_LIBSIGC
        depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_8 # C++11
        depends on BR2_TOOLCHAIN_HAS_THREADS # libglib2
        depends on BR2_USE_WCHAR # libglib2
        depends on BR2_USE_MMU # libglib2
        depends on BR2_INSTALL_LIBSTDCPP
+       select BR2_PACKAGE_CAIRO
+       select BR2_PACKAGE_LIBGLIB2
+       select BR2_PACKAGE_LIBSIGC
        help
          The cairomm package is a set of C++ bindings for Cairo.
 
index f5bb5830bbc4d4dcc4e6c0507c39eddda712c24e..dfb57e82c15677d5d43e2252ca6be47ed74f5010 100644 (file)
@@ -1,10 +1,10 @@
 config BR2_PACKAGE_CCID
        bool "ccid"
-       select BR2_PACKAGE_PCSC_LITE
-       select BR2_PACKAGE_LIBUSB
        depends on BR2_TOOLCHAIN_HAS_THREADS # libusb
        depends on BR2_USE_MMU # pcsc-lite
        depends on !BR2_STATIC_LIBS # pcsc-lite
+       select BR2_PACKAGE_PCSC_LITE
+       select BR2_PACKAGE_LIBUSB
        help
          PC/SC driver for USB CCID smart card readers
 
index af18ba93024e53aa7afbea5b05b3d081b90d793a..7b5b8865f6c004013e31093aae5886c839430888 100644 (file)
@@ -1,10 +1,10 @@
 config BR2_PACKAGE_CDRKIT
+       bool "cdrkit"
+       depends on BR2_USE_MMU # fork
        # Needed for libbz
        select BR2_PACKAGE_BZIP2
        select BR2_PACKAGE_LIBCAP
        select BR2_PACKAGE_ZLIB
-       depends on BR2_USE_MMU # fork
-       bool "cdrkit"
        help
          cdrkit is a suite of programs for recording CDs and DVDs,
          blanking CD-RW media, creating ISO-9660 filesystem images,
index 99754ce4945ad6779fae092de5b63f1e56472651..97ad0b7704d71692e667f215a972048744627187 100644 (file)
@@ -1,11 +1,11 @@
 config BR2_PACKAGE_CHECKPOLICY
        bool "checkpolicy"
-       select BR2_PACKAGE_LIBSELINUX
-       select BR2_PACKAGE_FLEX
        depends on BR2_TOOLCHAIN_HAS_THREADS # libselinux
        depends on !BR2_STATIC_LIBS # libselinux
        depends on BR2_TOOLCHAIN_USES_GLIBC # libselinux
        depends on !BR2_arc # libselinux
+       select BR2_PACKAGE_LIBSELINUX
+       select BR2_PACKAGE_FLEX
        help
          checkpolicy is the SELinux policy compiler. It uses libsepol
          to generate the binary policy. checkpolicy uses the static
index f832341a02f61dd7385a558529330e7da8715846..051df0d40e75775dc56f95994e6cae905d05a9d1 100644 (file)
@@ -1,11 +1,11 @@
 config BR2_PACKAGE_CLAMAV
        bool "clamav"
+       depends on BR2_TOOLCHAIN_HAS_THREADS
+       depends on BR2_USE_MMU # fork()
        select BR2_PACKAGE_GETTEXT if BR2_NEEDS_GETTEXT_IF_LOCALE
        select BR2_PACKAGE_LIBTOOL
        select BR2_PACKAGE_OPENSSL
        select BR2_PACKAGE_ZLIB
-       depends on BR2_TOOLCHAIN_HAS_THREADS
-       depends on BR2_USE_MMU # fork()
        help
          ClamAV is an open source antivirus engine for detecting trojans,
          viruses, malware & other malicious threats.
index 8051523e5e9d0db29fa04c01a5f80bdf637beb84..0385ccd43119da6820a22305d7a619ad3620573d 100644 (file)
@@ -7,9 +7,9 @@ config BR2_PACKAGE_CLASSPATH_ARCH_SUPPORTS
 
 config BR2_PACKAGE_CLASSPATH
        bool "classpath"
+       depends on BR2_PACKAGE_CLASSPATH_ARCH_SUPPORTS
        select BR2_NEEDS_HOST_JAR
        select BR2_NEEDS_HOST_JAVAC
-       depends on BR2_PACKAGE_CLASSPATH_ARCH_SUPPORTS
        help
          GNU Classpath, Essential Libraries for Java, is a GNU
          project to create free core class libraries for use with
index 2706db51fa268727ab918e0fe066dfff1260e916..1c95d717b31f78b0d7acd921fa93131a1fe36756 100644 (file)
@@ -12,6 +12,13 @@ config BR2_PACKAGE_CMAKE
 
 config BR2_PACKAGE_CMAKE_CTEST
        bool "ctest"
+       depends on BR2_PACKAGE_CMAKE_ARCH_SUPPORTS
+       depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_7 # from jsoncpp
+       depends on BR2_USE_WCHAR # libarchive
+       depends on BR2_INSTALL_LIBSTDCPP
+       depends on !BR2_STATIC_LIBS
+       depends on BR2_TOOLCHAIN_HAS_THREADS_NPTL # libuv
+       depends on BR2_USE_MMU # libuv
        select BR2_PACKAGE_CMAKE
        select BR2_PACKAGE_ZLIB
        select BR2_PACKAGE_JSONCPP
@@ -21,13 +28,6 @@ config BR2_PACKAGE_CMAKE_CTEST
        select BR2_PACKAGE_BZIP2
        select BR2_PACKAGE_XZ
        select BR2_PACKAGE_LIBUV
-       depends on BR2_PACKAGE_CMAKE_ARCH_SUPPORTS
-       depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_7 # from jsoncpp
-       depends on BR2_USE_WCHAR # libarchive
-       depends on BR2_INSTALL_LIBSTDCPP
-       depends on !BR2_STATIC_LIBS
-       depends on BR2_TOOLCHAIN_HAS_THREADS_NPTL # libuv
-       depends on BR2_USE_MMU # libuv
        help
          CTest is a testing tool distributed as a part of CMake. It
          can be used to automate updating (using CVS for example),
index 6ed40beab16249883a4b1e5adf82de159b658268..39a81ee9f0f8ee71762cc435a251348fcef135ec 100644 (file)
@@ -1,14 +1,14 @@
 config BR2_PACKAGE_CONNMAN
        bool "connman"
-       select BR2_PACKAGE_DBUS
-       select BR2_PACKAGE_LIBGLIB2
-       select BR2_PACKAGE_IPTABLES
        depends on BR2_USE_WCHAR # libglib2
        depends on BR2_TOOLCHAIN_HAS_THREADS # dbus, libglib2
        depends on BR2_USE_MMU # dbus, libglib2
        depends on !BR2_STATIC_LIBS # needs dlopen()
        depends on BR2_TOOLCHAIN_HAS_SYNC_4
        depends on !BR2_TOOLCHAIN_USES_MUSL # mixes userspace and kernel headers
+       select BR2_PACKAGE_DBUS
+       select BR2_PACKAGE_LIBGLIB2
+       select BR2_PACKAGE_IPTABLES
        help
          The Connection Manager (ConnMan) project provides a daemon
          for managing internet connections within embedded devices
@@ -50,8 +50,8 @@ config BR2_PACKAGE_CONNMAN_LOOPBACK
 
 config BR2_PACKAGE_CONNMAN_NEARD
        bool "enable neard support"
-       select BR2_PACKAGE_NEARD
        depends on BR2_TOOLCHAIN_HAS_SYNC_4 # neard
+       select BR2_PACKAGE_NEARD
 
 config BR2_PACKAGE_CONNMAN_OFONO
        bool "enable ofono support"
index 1210a0bde148fe96a759f96458e60a1ef48f740d..3ef0402c3b73602a36cb3b70b71036aec6e08eb5 100644 (file)
@@ -1,8 +1,8 @@
 config BR2_PACKAGE_CPIO
        bool "cpio"
+       depends on BR2_USE_WCHAR
        # Need argp.h support
        select BR2_PACKAGE_ARGP_STANDALONE if BR2_TOOLCHAIN_USES_UCLIBC || BR2_TOOLCHAIN_USES_MUSL
-       depends on BR2_USE_WCHAR
        help
          cpio archive utility for creation and extraction.
 
index 2cf70052f888139d134bd519084b69b4a177bc4f..e930c046232918694dd1b92fafa49722720885e7 100644 (file)
@@ -1,13 +1,13 @@
 config BR2_PACKAGE_CPPCMS
        bool "cppcms"
-       select BR2_PACKAGE_ZLIB
-       select BR2_PACKAGE_PCRE
-       select BR2_PACKAGE_LIBGCRYPT
        depends on BR2_INSTALL_LIBSTDCPP
        depends on BR2_PACKAGE_LIBGPG_ERROR_ARCH_SUPPORTS # libgcrypt
        depends on BR2_TOOLCHAIN_HAS_THREADS_NPTL
        depends on !BR2_STATIC_LIBS # dlopen()
        depends on BR2_USE_WCHAR
+       select BR2_PACKAGE_ZLIB
+       select BR2_PACKAGE_PCRE
+       select BR2_PACKAGE_LIBGCRYPT
        help
          CppCMS is a Free High Performance Web Development Framework
          (not a CMS) aimed for Rapid Web Application Development. It
index ad3ac241facc4754dc787702102e5c62778497f6..c2d591a9a0716dcc985de3eacc416602a03b138a 100644 (file)
@@ -1,15 +1,15 @@
 config BR2_PACKAGE_CURLFTPFS
        bool "curlftpfs (FUSE)"
+       depends on BR2_USE_WCHAR # glib2
+       depends on BR2_TOOLCHAIN_HAS_THREADS # libfuse, glib2
+       depends on BR2_USE_MMU # libfuse, glib2
+       depends on !BR2_STATIC_LIBS # libfuse
        select BR2_PACKAGE_LIBFUSE
        select BR2_PACKAGE_LIBGLIB2
        select BR2_PACKAGE_GETTEXT if BR2_NEEDS_GETTEXT_IF_LOCALE
        select BR2_PACKAGE_LIBICONV if !BR2_ENABLE_LOCALE
        select BR2_PACKAGE_OPENSSL
        select BR2_PACKAGE_LIBCURL
-       depends on BR2_USE_WCHAR # glib2
-       depends on BR2_TOOLCHAIN_HAS_THREADS # libfuse, glib2
-       depends on BR2_USE_MMU # libfuse, glib2
-       depends on !BR2_STATIC_LIBS # libfuse
        help
          CurlFtpFS is a filesystem for accessing FTP hosts based on FUSE
          and libcurl.
index cfa5152958ed0ab6abb3773cb291cbcae455b278..71389fce51471768cb95fb0345e08b18d48a3d34 100644 (file)
@@ -1,9 +1,9 @@
 config BR2_PACKAGE_CZMQ
        bool "czmq"
-       select BR2_PACKAGE_ZEROMQ
        depends on BR2_USE_MMU # fork()
        depends on BR2_INSTALL_LIBSTDCPP # zeromq
        depends on BR2_TOOLCHAIN_HAS_THREADS # zeromq
+       select BR2_PACKAGE_ZEROMQ
        help
          High-level C Binding for 0MQ