]> rtime.felk.cvut.cz Git - coffee/buildroot.git/commitdiff
packages/g*/Config.in: fix ordering of statements
authorAdam Duskett <Aduskett@gmail.com>
Sat, 22 Apr 2017 17:17:54 +0000 (13:17 -0400)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Mon, 1 May 2017 09:32:04 +0000 (11:32 +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 g 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>
16 files changed:
package/gdb/Config.in
package/gdb/Config.in.host
package/gesftpserver/Config.in
package/glibmm/Config.in
package/gnupg/Config.in
package/gnupg2/Config.in
package/gnutls/Config.in
package/gptfdisk/Config.in
package/gstreamer/gst-fsl-plugins/Config.in
package/gstreamer/gst-plugins-bad/Config.in
package/gstreamer/gst-plugins-good/Config.in
package/gstreamer1/gst1-plugins-bad/Config.in
package/gstreamer1/gst1-plugins-base/Config.in
package/gstreamer1/gst1-plugins-good/Config.in
package/gstreamer1/gst1-vaapi/Config.in
package/gupnp-tools/Config.in

index 809e02d0763606d1556ebcb4a6c622a84ec69373..026cdeaa800fc15c49c75239ae498f85a920667c 100644 (file)
@@ -4,13 +4,13 @@ comment "gdb/gdbserver needs a toolchain w/ threads, threads debug"
 
 config BR2_PACKAGE_GDB
        bool "gdb"
+       depends on BR2_TOOLCHAIN_HAS_THREADS && BR2_TOOLCHAIN_HAS_THREADS_DEBUG
+       depends on !BR2_nios2 && !BR2_bfin
        # When the external toolchain gdbserver is copied to the
        # target, we don't allow building a separate gdbserver. The
        # one from the external toolchain should be used.
        select BR2_PACKAGE_GDB_SERVER if \
                (!BR2_PACKAGE_GDB_DEBUGGER && !BR2_TOOLCHAIN_EXTERNAL_GDB_SERVER_COPY)
-       depends on BR2_TOOLCHAIN_HAS_THREADS && BR2_TOOLCHAIN_HAS_THREADS_DEBUG
-       depends on !BR2_nios2 && !BR2_bfin
        help
          GDB, the GNU Project debugger, allows you to see what is
          going on `inside' another program while it executes -- or
@@ -38,9 +38,9 @@ config BR2_PACKAGE_GDB_SERVER
 
 config BR2_PACKAGE_GDB_DEBUGGER
        bool "full debugger"
-       select BR2_PACKAGE_NCURSES
        depends on BR2_USE_WCHAR
        depends on !BR2_sh && !BR2_microblaze
+       select BR2_PACKAGE_NCURSES
 
 comment "full gdb on target needs a toolchain w/ wchar"
        depends on !BR2_sh && !BR2_microblaze
index a059fdc8b7781cfe5292fb1e3200c8bd229f69d3..62b5b1a58c252d484c10b64ea7d1c38a9c77595a 100644 (file)
@@ -33,9 +33,9 @@ config BR2_PACKAGE_HOST_GDB_SIM
 
 choice
        prompt "GDB debugger Version"
+       default BR2_GDB_VERSION_7_11
        depends on !BR2_arc
        depends on !BR2_microblaze
-       default BR2_GDB_VERSION_7_11
        help
          Select the version of gdb you wish to use.
 
@@ -55,9 +55,9 @@ endif
 # If cross-gdb is not enabled, the latest working version is chosen.
 config BR2_GDB_VERSION
        string
-       depends on BR2_PACKAGE_GDB || BR2_PACKAGE_HOST_GDB
        default "arc-2017.03-rc1-gdb" if BR2_arc
        default "6be65fb56ea6694a9260733a536a023a1e2d4d57" if BR2_microblaze
        default "7.10.1"   if BR2_GDB_VERSION_7_10
        default "7.11.1"   if BR2_GDB_VERSION_7_11 || !BR2_PACKAGE_HOST_GDB
        default "7.12.1"   if BR2_GDB_VERSION_7_12
+       depends on BR2_PACKAGE_GDB || BR2_PACKAGE_HOST_GDB
index 81cbce9f3360911e895136ac4cdb26b708ce671d..bce47700c064d4c8fb396e097b864bdd406c2204 100644 (file)
@@ -1,9 +1,9 @@
 config BR2_PACKAGE_GESFTPSERVER
        bool "gesftpserver"
-       select BR2_PACKAGE_LIBICONV if !BR2_ENABLE_LOCALE
        depends on BR2_USE_WCHAR
        depends on BR2_TOOLCHAIN_HAS_THREADS
        depends on BR2_USE_MMU # fork()
+       select BR2_PACKAGE_LIBICONV if !BR2_ENABLE_LOCALE
        help
          Green End SFTP Server
 
index fdbb43812c9c63b32496d878252dcde318e6c483..7218db24b3df94ad01b76b7ca7a62642f6c210cd 100644 (file)
@@ -1,12 +1,12 @@
 config BR2_PACKAGE_GLIBMM
        bool "glibmm"
-       select BR2_PACKAGE_LIBGLIB2
-       select BR2_PACKAGE_LIBSIGC
        depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_8 # C++11
        depends on BR2_INSTALL_LIBSTDCPP
        depends on BR2_USE_WCHAR # libglib2
        depends on BR2_TOOLCHAIN_HAS_THREADS # libglib2
        depends on BR2_USE_MMU # libglib2
+       select BR2_PACKAGE_LIBGLIB2
+       select BR2_PACKAGE_LIBSIGC
        help
          The GLibmm package is a set of C++ bindings for GLib.
 
index 30f215fed88da37538858103999d96b9c9c8537f..7c316122984ef31157bcdab6552f8f5e87ff7f97 100644 (file)
@@ -1,8 +1,8 @@
 config BR2_PACKAGE_GNUPG
        bool "gnupg"
+       depends on !BR2_PACKAGE_GNUPG2
        select BR2_PACKAGE_ZLIB
        select BR2_PACKAGE_NCURSES
-       depends on !BR2_PACKAGE_GNUPG2
        help
          GnuPG is the GNU project's complete and free implementation
          of the OpenPGP standard as defined by RFC4880. GnuPG allows
index 85a98053fc0a86685e8171325fb97a95fd20d442..c287089657802226cbaf7fe7e56103e24bbf0b79 100644 (file)
@@ -4,6 +4,10 @@ comment "gnupg2 needs a toolchain w/ threads and dynamic library support"
 
 config BR2_PACKAGE_GNUPG2
        bool "gnupg2"
+       depends on BR2_PACKAGE_LIBGPG_ERROR_ARCH_SUPPORTS # libgpg-error
+       depends on BR2_TOOLCHAIN_HAS_THREADS # libnpth
+       depends on BR2_USE_MMU # libassuan, libnpth
+       depends on !BR2_STATIC_LIBS
        select BR2_PACKAGE_ZLIB
        select BR2_PACKAGE_LIBGPG_ERROR
        select BR2_PACKAGE_LIBGCRYPT
@@ -11,10 +15,6 @@ config BR2_PACKAGE_GNUPG2
        select BR2_PACKAGE_LIBKSBA
        select BR2_PACKAGE_LIBNPTH
        select BR2_PACKAGE_LIBICONV if !BR2_ENABLE_LOCALE
-       depends on BR2_PACKAGE_LIBGPG_ERROR_ARCH_SUPPORTS # libgpg-error
-       depends on BR2_TOOLCHAIN_HAS_THREADS # libnpth
-       depends on BR2_USE_MMU # libassuan, libnpth
-       depends on !BR2_STATIC_LIBS
        help
          GnuPG is the GNU project's complete and free implementation
          of the OpenPGP standard as defined by RFC4880. GnuPG allows
index cfb7cb3f3b5a72280a0212156078e8d0dd542072..1af00cd71ac6f02e5dbd3f1757d1054ea7409036 100644 (file)
@@ -1,10 +1,10 @@
 config BR2_PACKAGE_GNUTLS
        bool "gnutls"
+       depends on BR2_USE_WCHAR
        select BR2_PACKAGE_LIBTASN1
        select BR2_PACKAGE_LIBUNISTRING
        select BR2_PACKAGE_NETTLE
        select BR2_PACKAGE_PCRE
-       depends on BR2_USE_WCHAR
        help
          GnuTLS is a secure communications library implementing the SSL
          and TLS protocols and technologies around them.
index 22dc4014ac4d5f591bc0bf95400eddc8e9bb68ca..d243b9083975a7913faaf4ee376a4b41d4ebd51e 100644 (file)
@@ -35,10 +35,10 @@ config BR2_PACKAGE_GPTFDISK_SGDISK
 
 config BR2_PACKAGE_GPTFDISK_CGDISK
        bool "ncurses cgdisk"
-       select BR2_PACKAGE_NCURSES
-       select BR2_PACKAGE_NCURSES_WCHAR # needed because of UTF-16
        depends on BR2_USE_WCHAR # ncurses wchar
        depends on !(BR2_bfin && BR2_BINFMT_FLAT) # ncurses wchar support
+       select BR2_PACKAGE_NCURSES
+       select BR2_PACKAGE_NCURSES_WCHAR # needed because of UTF-16
        help
          Install the ncurses-based GUID partition table (GPT)
          manipulator /usr/sbin/cgdisk.
index 8921aa33ba2151083254e4793c82c51cb2b0ac13..85476b1c3e0111df55a36ee5e045682df571e303 100644 (file)
@@ -45,12 +45,12 @@ config BR2_PACKAGE_GST_FSL_PLUGINS_PLATFORM_MX233
        bool "imx233"
 
 config BR2_PACKAGE_GST_FSL_PLUGINS_PLATFORM_MX25
-       select BR2_PACKAGE_IMX_LIB_PLATFORM_IMX25_3STACK
        bool "imx25"
+       select BR2_PACKAGE_IMX_LIB_PLATFORM_IMX25_3STACK
 
 config BR2_PACKAGE_GST_FSL_PLUGINS_PLATFORM_MX27
-       select BR2_PACKAGE_IMX_LIB_PLATFORM_IMX27ADS
        bool "imx27"
+       select BR2_PACKAGE_IMX_LIB_PLATFORM_IMX27ADS
 
 config BR2_PACKAGE_GST_FSL_PLUGINS_PLATFORM_MX28
        bool "imx28"
@@ -62,28 +62,28 @@ config BR2_PACKAGE_GST_FSL_PLUGINS_PLATFORM_MX35
        bool "imx35"
 
 config BR2_PACKAGE_GST_FSL_PLUGINS_PLATFORM_MX37
-       select BR2_PACKAGE_IMX_LIB_PLATFORM_IMX37_3STACK
        bool "imx37"
+       select BR2_PACKAGE_IMX_LIB_PLATFORM_IMX37_3STACK
 
 config BR2_PACKAGE_GST_FSL_PLUGINS_PLATFORM_MX50
-       select BR2_PACKAGE_IMX_LIB_PLATFORM_IMX50
        bool "imx50"
+       select BR2_PACKAGE_IMX_LIB_PLATFORM_IMX50
 
 config BR2_PACKAGE_GST_FSL_PLUGINS_PLATFORM_MX51
-       select BR2_PACKAGE_IMX_LIB_PLATFORM_IMX51
        bool "imx51"
+       select BR2_PACKAGE_IMX_LIB_PLATFORM_IMX51
 
 config BR2_PACKAGE_GST_FSL_PLUGINS_PLATFORM_MX53
-       select BR2_PACKAGE_IMX_LIB_PLATFORM_IMX53
        bool "imx53"
+       select BR2_PACKAGE_IMX_LIB_PLATFORM_IMX53
 
 config BR2_PACKAGE_GST_FSL_PLUGINS_PLATFORM_MX5X
-       select BR2_PACKAGE_IMX_LIB_PLATFORM_IMX5X
        bool "imx5X"
+       select BR2_PACKAGE_IMX_LIB_PLATFORM_IMX5X
 
 config BR2_PACKAGE_GST_FSL_PLUGINS_PLATFORM_MX6
-       select BR2_PACKAGE_IMX_LIB_PLATFORM_IMX6Q
        bool "imx6"
+       select BR2_PACKAGE_IMX_LIB_PLATFORM_IMX6Q
 
 endchoice
 
index d54415a1702e0796a209ca63f6694ac8cd1091f0..939fc7a7fabfb982a41f7338f5dec8779c536838 100644 (file)
@@ -57,8 +57,8 @@ config BR2_PACKAGE_GST_PLUGINS_BAD_PLUGIN_DEBUGUTILS
        bool "debugutils"
 
 config BR2_PACKAGE_GST_PLUGINS_BAD_PLUGIN_DECKLINK
-       depends on BR2_INSTALL_LIBSTDCPP
        bool "decklink"
+       depends on BR2_INSTALL_LIBSTDCPP
 
 comment "decklink needs a toolchain w/ C++"
        depends on !BR2_INSTALL_LIBSTDCPP
@@ -261,8 +261,8 @@ config BR2_PACKAGE_GST_PLUGINS_BAD_PLUGIN_CURL
 
 config BR2_PACKAGE_GST_PLUGINS_BAD_PLUGIN_DIRECTFB
        bool "directfb"
-       depends on BR2_PACKAGE_DIRECTFB
        default y
+       depends on BR2_PACKAGE_DIRECTFB
 
 config BR2_PACKAGE_GST_PLUGINS_BAD_PLUGIN_DVB
        bool "dvb"
index 65f74e819d716da28ad9688dabbbcd5dde2bf120..a36481a1cef0100f787f312f2922ba22cfe22e34 100644 (file)
@@ -201,12 +201,12 @@ config BR2_PACKAGE_GST_PLUGINS_GOOD_PLUGIN_OSS4
        bool "oss4 (Open Sound System 4)"
 
 config BR2_PACKAGE_GST_PLUGINS_GOOD_PLUGIN_PULSE
+       bool "pulseaudio"
        depends on BR2_TOOLCHAIN_HAS_THREADS # pulseaudio
        depends on BR2_USE_MMU # pulseaudio
        depends on !BR2_STATIC_LIBS # pulseaudio
        depends on BR2_TOOLCHAIN_HAS_SYNC_4 # pulseaudio -> json-c
        select BR2_PACKAGE_PULSEAUDIO
-       bool "pulseaudio"
 
 comment "pulseaudio support needs a toolchain w/ threads, dynamic library"
        depends on BR2_USE_MMU
index 1db51877d4102649d9a9c23308b6ccc32c37bb66..17cc22be21a2277322717b04a6ff2c393f6560fd 100644 (file)
@@ -489,8 +489,8 @@ config BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_DASH
          DASH demuxer plugin
 
 config BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_DECKLINK
-       depends on BR2_INSTALL_LIBSTDCPP
        bool "decklink"
+       depends on BR2_INSTALL_LIBSTDCPP
        help
          Blackmagic Decklink plugin
 
@@ -499,14 +499,14 @@ comment "decklink needs a toolchain w/ C++"
 
 config BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_DIRECTFB
        bool "directfb"
-       depends on BR2_PACKAGE_DIRECTFB
        default y
+       depends on BR2_PACKAGE_DIRECTFB
 
 config BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_DVB
        bool "dvb"
-       select BR2_PACKAGE_DTV_SCAN_TABLES
        # FEC_2_5 / QAM_4_NR definitions
        depends on BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_7
+       select BR2_PACKAGE_DTV_SCAN_TABLES
        help
          DVB elements
 
@@ -526,9 +526,9 @@ config BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_FBDEV
 
 config BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_FDK_AAC
        bool "fdk-aac"
-       select BR2_PACKAGE_FDK_AAC
        depends on BR2_PACKAGE_FDK_AAC_ARCH_SUPPORTS
        depends on BR2_INSTALL_LIBSTDCPP
+       select BR2_PACKAGE_FDK_AAC
        help
          MPEG AAC encoder/decoder
 
@@ -686,9 +686,9 @@ config BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_VOAACENC
 
 config BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_WAYLAND
        bool "wayland"
+       default y
        depends on BR2_PACKAGE_WAYLAND
        select BR2_PACKAGE_WAYLAND_PROTOCOLS
-       default y
        help
          Wayland Video Sink
 
index 897c1d13ca4f7726579fa2d92c37ee4c51735061..a17f2ad9539a83508406d7080836cf7ea7840770 100644 (file)
@@ -54,9 +54,9 @@ config BR2_PACKAGE_GST1_PLUGINS_BASE_PLUGIN_GIO
          GIO elements
 
 config BR2_PACKAGE_GST1_PLUGINS_BASE_PLUGIN_PLAYBACK
-       select BR2_PACKAGE_GST1_PLUGINS_BASE_PLUGIN_TYPEFIND
        bool "playback"
        default y
+       select BR2_PACKAGE_GST1_PLUGINS_BASE_PLUGIN_TYPEFIND
        help
          various playback elements
 
index 27f24f5e73c20fda304a520c17daa379c20f7297..9d23e9f874039334fca9d24ff7af0151e316a2cd 100644 (file)
@@ -306,9 +306,9 @@ comment "flac needs a toolchain w/ wchar"
 
 config BR2_PACKAGE_GST1_PLUGINS_GOOD_PLUGIN_GDKPIXBUF
        bool "gdkpixbuf"
-       select BR2_PACKAGE_GDK_PIXBUF
        depends on BR2_USE_WCHAR # gdk-pixbuf -> libglib2
        depends on BR2_TOOLCHAIN_HAS_THREADS # gdk-pixbuf -> libglib2
+       select BR2_PACKAGE_GDK_PIXBUF
        help
          GdkPixbuf-based image decoder, overlay and sink
 
@@ -316,12 +316,12 @@ comment "gdkpixbuf needs a toolchain w/ wchar, threads"
        depends on !BR2_USE_WCHAR || !BR2_TOOLCHAIN_HAS_THREADS
 
 config BR2_PACKAGE_GST1_PLUGINS_GOOD_PLUGIN_PULSE
+       bool "pulseaudio"
        depends on BR2_TOOLCHAIN_HAS_THREADS # pulseaudio
        depends on BR2_USE_MMU # pulseaudio
        depends on !BR2_STATIC_LIBS # pulseaudio
        depends on BR2_TOOLCHAIN_HAS_SYNC_4 # pulseaudio -> json-c
        select BR2_PACKAGE_PULSEAUDIO
-       bool "pulseaudio"
        help
          PulseAudio plugin library
 
@@ -360,9 +360,9 @@ comment "taglib needs a toolchain w/ C++, wchar"
 
 config BR2_PACKAGE_GST1_PLUGINS_GOOD_PLUGIN_VPX
        bool "vpx (webm)"
-       select BR2_PACKAGE_LIBVPX
        depends on !BR2_bfin # libvpx
        depends on BR2_TOOLCHAIN_HAS_THREADS # libvpx
+       select BR2_PACKAGE_LIBVPX
        help
          VP8 plugin
 
index 0b8ae39559578da41ee5b8ba1937e4bf23ac6d5f..91bd4f85ddbcc9bebab27702ed868ded2ea70b38 100644 (file)
@@ -1,12 +1,12 @@
 config BR2_PACKAGE_GST1_VAAPI
        bool "gst1-vaapi"
+       depends on !BR2_STATIC_LIBS # dlopen(), libva
+       depends on BR2_TOOLCHAIN_HAS_THREADS # libva, libdrm
+       depends on BR2_PACKAGE_HAS_UDEV
        select BR2_PACKAGE_LIBVA
        select BR2_PACKAGE_LIBDRM
        select BR2_PACKAGE_GST1_PLUGINS_BASE
        select BR2_PACKAGE_GST1_PLUGINS_BAD # gstreamer-codecparsers
-       depends on !BR2_STATIC_LIBS # dlopen(), libva
-       depends on BR2_TOOLCHAIN_HAS_THREADS # libva, libdrm
-       depends on BR2_PACKAGE_HAS_UDEV
        help
          gstreamer-vaapi consists in a collection of VA-API based
          plugins for GStreamer and helper libraries.
index f9e645a0935cf1738564ce539e1544460c19d037..af662417c220a45c6ce6029d8d7368f25f64dee2 100644 (file)
@@ -1,5 +1,6 @@
 config BR2_PACKAGE_GUPNP_TOOLS
        bool "gupnp-tools"
+       depends on BR2_PACKAGE_LIBGTK3
        # gssdp, gupnp, libsoup all select on libglib2, so they have
        # the same dependencies as libgtk3, which we depend on. So for
        # the same of simplicity, we don't replicate all those
@@ -8,7 +9,6 @@ config BR2_PACKAGE_GUPNP_TOOLS
        select BR2_PACKAGE_GUPNP
        select BR2_PACKAGE_LIBSOUP
        select BR2_PACKAGE_LIBXML2
-       depends on BR2_PACKAGE_LIBGTK3
        help
          GUPnP Tools are free replacements of Intel UPnP tools that
          use GUPnP. They provides client and server side tools which