Skip to contentSkip to conversation

Introduce the _AVAILABLE mechanism

PATCH New Yann E. MORIN 5 participants 42 messages Sep 9, 2012 – Nov 2, 2012 Arm/actions semi architecture Page 1 of 2

lore
Share & tools
lore
#0 lore raw

cover Introduce the _AVAILABLE mechanism

Hello All!

This patch series is an RFC for how to handle the _AVAILABLE symbol in packages.

See this thread for the original proposal:

    http://lists.busybox.net/pipermail/buildroot/2012-August/057144.html

In this series, all packages are converted to use the _AVAILABLE symbol. My reasoning behind this is that:

1. all packages use the same mechanism, so they are consistent with each others
2. modifying a package (ie. adding new dependencies) is easy, and does not require tracking down all dependant packages
3. the dependencies of the comments "foo requires bar" are automatically updated in this case (although that's minor, and the comment themselves need updating)
4. with the new script in patch 2, it's dirt-easy to add a new package using the _AVAILABLE mechanism

On the other hand, Arnout pointed out that only packages with depenencies on toolchain features should be converted, and in cascade, packages that depend on those, leaving alone packages that do not have any depednency at all (if I understood correctly):

    http://lists.busybox.net/pipermail/buildroot/2012-August/058040.html

Of course, no need to say I'm in favor of modifying all packages, if at least only for points 1&2 above. ;-) Of course, I understand Arnout's concerns about keeping simplicity and not adding cruft where it is not needed. This post is to request comments on this new deeply-impacting change.

So, back to the series as it is posted:

- patch 1 updates the documentation to account for the _AVAILABLE mechanism. Because it can be tedious to review the changes in the documentation, I've temporarily put up a pre-rendered version on-line:
http://ymorin.is-a-geek.org/download/tmp/br/pkg_avail/manual/manual.html

- patch 2 introduces a new support/script/pkg-new script that asks a few questions to the user, and accordingly creates skeleton files for Config.in and foo.pkg. The doc is updated to document that script, and the pre-rendered version linked above contains that.

- patch 3 adds a new support/scripts/pkg-avail script that does the dirty job of converting packages to the _AVAILABLE mechanism, and creates the next three patches:

- patch 4 introduces the _AVAILABLE symbol for all packages, moves each package's 'depend on' to that new symbol, and for each package, adds a 'depends on' on that new _AVAILABLE symbol. This is technically a no-op, dependencies are just moved to an intermediate symbol, but the _AVAILABLE symbol is not used by any other package;

- patch 5 transforms all 'depends on' on a package into a 'depends on' the corresponding _AVAILABLE symbol, and for each such 'depends on', adds a select to the package's main symbol on the corresponding packages main symbols;

- patch 6 checks that each 'select' on a package is guarded by a 'depends

    on' on the corresponding _AVAILABLE symbol;

- patch 7 finally removes the now-useless support/scripts/pkg-avail, introduced in patch 3.

To be noted, the changes in patch 4 to 6 are purely mechanical, and will need more review and manual tweaks before that series can be applied. Most notably, having the gettext rework series [0] applied first would eliminate a large class of corner-cases (eg. cases like: "select PKG_FOO if BLA"). Also, some packages have 'select' on other package's options, and that needs to be manually reviewed, as it's not easy to distinguish a package's option symbol from a package symbol (eg. BR2_PACKAGE_UTIL_LINUX_MOUNT: is it a package named 'util-linux-mount', or is it the option 'mount' of a package named 'util-linux'?)

Again, this series is an _RFC_ on the _AVAILABLE mechanism, so the first question we must answer is:

Do we even want this mechanism in buildroot at all?

Then, and only then, can we decide what to do, and how far to push it.

Enjoy! ;-)

Regards,
Yann E. MORIN.

#1 lore raw

PATCH 1/7 docs/manual: update 'adding packages' with the new _AVAILABLE symbol

---
 docs/manual/adding-packages-autotools.txt |   48 ++++++--
 docs/manual/adding-packages-directory.txt |  190 +++++++++++++++--------------
 docs/manual/adding-packages-generic.txt   |   85 ++++++++-----
 3 files changed, 191 insertions(+), 132 deletions(-)
docs/manual/adding-packages-autotools.txt +36 -12
index 9fb0918..0f14489 100644
@@ -20,10 +20,24 @@ package, with an example :
 08: LIBFOO_SITE = http://www.foosoftware.org/download
 09: LIBFOO_INSTALL_STAGING = YES
 10: LIBFOO_INSTALL_TARGET = YES
-11: LIBFOO_CONF_OPT = --enable-shared
-12: LIBFOO_DEPENDENCIES = libglib2 host-pkg-config
-13:
-14: $(eval $(autotools-package))
+11: LIBFOO_DEPENDENCIES = host-libaaa libbbb
+12:
+13: ifeq ($(BR2_PACKAGE_LIBFOO_FROBBLE),y)
+14: LIBFOO_CONF_OPT += --enable-frobble
+15: else
+16: LIBFOO_CONF_OPT += --disable-frobble
+17: endif
+18:
+19: LIBFOO_CONF_OPT += --with-gazzle-level=$(BR2_PACKAGE_LIBFOO_GAZZLE_LEVEL)
+20:
+21: ifeq ($(BR2_PACKAGE_LIBFOO_GOO),y)
+22: LIBFOO_DEPENDENCIES += goo
+23: LIBFOO_CONF_OPT += --enable-goo
+24: else
+25: LIBFOO_CONF_OPT += --disable-goo
+26: endif
+27:
+28: $(eval $(autotools-package))
 ------------------------
 
 On line 6, we declare the version of the package.
@@ -50,16 +64,26 @@ installation is enabled, so in fact, this line is not strictly
 necessary. Also by default, packages are installed in this location
 using the +make install+ command.
 
-On line 11, we tell Buildroot to pass a custom configure option, that
-will be passed to the +./configure+ script before configuring
-and building the package.
+On line 11, we declare our dependencies, so that they are built before the
+build process of our package starts.
 
-On line 12, we declare our dependencies, so that they are built
-before the build process of our package starts.
+On lines 13 to 17, if the user selected the option 'frobble'
++BR2_PACKAGE_LIBFOO_FROBBLE+, we add the corresponding configure option
+to enable 'frobble' (line 14), or disable it (line 16), that will be
+passed to the +./configure+ script before configuring and building the
+package.
 
-Finally, on line line 14, we invoke the +autotools-package+
-macro that generates all the Makefile rules that actually allows the
-package to be built.
+Similarly, on line 19, we add the configure option that defines the
+'bazzle level' +BR2_PACKAGE_LIBFOO_GAZZLE_LEVEL+.
+
+On lines 21 to 26, if user selected the option 'goo' +BR2_PACKAGE_LIBFOO_GOO+,
+we add a dependency on the package +goo+ (line 22), and add the corresponding
+configure option to enable 'goo' (line 23); or if 'goo' support is not
+selected, we pass the configure option to disable it (line 25).
+
+Finally, on line line 28, we invoke the +autotools-package+ macro that
+generates all the Makefile rules that actually allows the package to be
+built.
 
 [[autotools-package-reference]]
 
docs/manual/adding-packages-directory.txt +101 -89

234 lines not on this page · raw message

docs/manual/adding-packages-generic.txt +54 -31

107 lines not on this page · raw message

Signature · 1 line
1.7.2.5
#2 lore raw

PATCH 1/7 docs/manual: update 'adding packages' with the new _AVAILABLE symbol

Quoted 12 lines · Yann E. MORIN
---
  docs/manual/adding-packages-autotools.txt |   48 ++++++--
  docs/manual/adding-packages-directory.txt |  190 +++++++++++++++--------------
  docs/manual/adding-packages-generic.txt   |   85 ++++++++-----
  3 files changed, 191 insertions(+), 132 deletions(-)
docs/manual/adding-packages-autotools.txt +0 -0
index 9fb0918..0f14489 100644

docs/manual/adding-packages-autotools.txt package, with an example : · line 23

Quoted 8 lines
docs/manual/adding-packages-autotools.txt +1 -4
@@ -20,10 +20,24 @@ package, with an example :
  08: LIBFOO_SITE = http://www.foosoftware.org/download
  09: LIBFOO_INSTALL_STAGING = YES
  10: LIBFOO_INSTALL_TARGET = YES
-11: LIBFOO_CONF_OPT = --enable-shared
-12: LIBFOO_DEPENDENCIES = libglib2 host-pkg-config
-13:
-14: $(eval $(autotools-package))
+11: LIBFOO_DEPENDENCIES = host-libaaa libbbb

In the Config.in example, it's libbar, not libbb.

docs/manual/adding-packages-autotools.txt package, with an example : · line 31

Quoted 8 lines
docs/manual/adding-packages-autotools.txt +8 -0
+12:
+13: ifeq ($(BR2_PACKAGE_LIBFOO_FROBBLE),y)
+14: LIBFOO_CONF_OPT += --enable-frobble
+15: else
+16: LIBFOO_CONF_OPT += --disable-frobble
+17: endif
+18:
+19: LIBFOO_CONF_OPT += --with-gazzle-level=$(BR2_PACKAGE_LIBFOO_GAZZLE_LEVEL)

This one is going a bit too far... And if you keep it, it should
probably have a qstrip.

docs/manual/adding-packages-autotools.txt package, with an example : · line 38

Quoted 7 lines
docs/manual/adding-packages-autotools.txt +7 -0
+20:
+21: ifeq ($(BR2_PACKAGE_LIBFOO_GOO),y)
+22: LIBFOO_DEPENDENCIES += goo
+23: LIBFOO_CONF_OPT += --enable-goo
+24: else
+25: LIBFOO_CONF_OPT += --disable-goo
+26: endif

While you're at it, an automatic enable/disable example would
be nice too.

Quoted 12 lines
docs/manual/adding-packages-autotools.txt +2 -3
+27:
+28: $(eval $(autotools-package))
  ------------------------
 
  On line 6, we declare the version of the package.
@@ -50,16 +64,26 @@ installation is enabled, so in fact, this line is not strictly
  necessary. Also by default, packages are installed in this location
  using the +make install+ command.
 
-On line 11, we tell Buildroot to pass a custom configure option, that
-will be passed to the +./configure+ script before configuring
-and building the package.

docs/manual/adding-packages-autotools.txt installation is enabled, so in fact, this line is not strictly · line 74

Quoted 10 lines
docs/manual/adding-packages-autotools.txt +7 -2
+On line 11, we declare our dependencies, so that they are built before the
+build process of our package starts.
 
-On line 12, we declare our dependencies, so that they are built
-before the build process of our package starts.
+On lines 13 to 17, if the user selected the option 'frobble'
++BR2_PACKAGE_LIBFOO_FROBBLE+, we add the corresponding configure option
+to enable 'frobble' (line 14), or disable it (line 16), that will be
+passed to the +./configure+ script before configuring and building the
+package.

"before configuring and building the package" is redundant.

docs/manual/adding-packages-autotools.txt installation is enabled, so in fact, this line is not strictly · line 77

Quoted 6 lines
docs/manual/adding-packages-autotools.txt +2 -3
-Finally, on line line 14, we invoke the +autotools-package+
-macro that generates all the Makefile rules that actually allows the
-package to be built.
+Similarly, on line 19, we add the configure option that defines the
+'bazzle level' +BR2_PACKAGE_LIBFOO_GAZZLE_LEVEL+.

bazzle -> gazzle.

Quoted 42 lines
docs/manual/adding-packages-autotools.txt +9 -0
+
+On lines 21 to 26, if user selected the option 'goo' +BR2_PACKAGE_LIBFOO_GOO+,
+we add a dependency on the package +goo+ (line 22), and add the corresponding
+configure option to enable 'goo' (line 23); or if 'goo' support is not
+selected, we pass the configure option to disable it (line 25).
+
+Finally, on line line 28, we invoke the +autotools-package+ macro that
+generates all the Makefile rules that actually allows the package to be
+built.
 
  [[autotools-package-reference]]
 
docs/manual/adding-packages-directory.txt +7 -5
index 4a96415..4863332 100644
@@ -12,30 +12,37 @@ one of these categories, then create your package directory in these.
  +Config.in+ file
  ~~~~~~~~~~~~~~~~
 
-Then, create a file named +Config.in+. This file will contain the
-option descriptions related to our +libfoo+ software that will be used
-and displayed in the configuration tool. It should basically contain:
+Then, create a file named +Config.in+. This file will contain the option
+descriptions related to our +libfoo+ software that will be used and
+displayed in the configuration tool. It should basically contain:
 
  ---------------------------
+config BR2_PACKAGE_LIBFOO_AVAILABLE
+	def_bool y
+
  config BR2_PACKAGE_LIBFOO
  	bool "libfoo"
+	depends on BR2_PACKAGE_LIBFOO_AVAILABLE
  	help
  	  This is a comment that explains what libfoo is.
 
  	  http://foosoftware.org/libfoo/
  ---------------------------
 
-The +bool+ line, +help+ line and other meta-informations about the
-configuration option must be indented with one tab. The help text

docs/manual/adding-packages-directory.txt one of these categories, then create your package directory in these. · line 39

Quoted 10 lines
docs/manual/adding-packages-directory.txt +8 -2
-itself should be indented with one tab and two spaces, and it must
-mention the upstream URL of the project.
+*Notes*
+
+* This is a very simple example, not really complete, for a very simple
+  package with no dependency.
+
+* The syntax of the +Config.in+ file is the same as the one for the kernel
+  Kconfig file. The documentation for this syntax is available at:
+  https://git.kernel.org/?p=linux/kernel/git/torvalds/linux.git;a=blob;f=Documentation/kbuild/kconfig-language.txt[]

http://kernel.org/doc/Documentation/kbuild/kconfig-language.txt

Quoted 25 lines
docs/manual/adding-packages-directory.txt +7 -9
+
+* The +bool+ line, +help+ line and other meta-informations about the
+  configuration option must be indented with one tab. The help text
+  itself should be indented with one tab and two spaces, and it must
+  mention the upstream URL of the project.
 
-Of course, you can add other sub-options into a +if
-BR2_PACKAGE_LIBFOO...endif+ statement to configure particular things
-in your software. You can look at examples in other packages. The
-syntax of the +Config.in+ file is the same as the one for the kernel
-Kconfig file. The documentation for this syntax is available at
-http://lxr.free-electrons.com/source/Documentation/kbuild/kconfig-language.txt[]
 
  Finally you have to add your new +libfoo/Config.in+ to
  +package/Config.in+ (or in a category subdirectory if you decided to
@@ -47,103 +54,108 @@ supposed to contain anything but the 'bare' name of the package.
  source "package/libfoo/Config.in"
  --------------------------
 
-The +Config.in+ file of your package must also ensure that
-dependencies are enabled. Typically, Buildroot uses the following
-rules:
+The +Config.in+ file for your package must also ensure that its
+dependencies are available. This is done in four steps:
 

docs/manual/adding-packages-directory.txt supposed to contain anything but the 'bare' name of the package. · line 63

Quoted 10 lines
docs/manual/adding-packages-directory.txt +4 -6
-* Use a +select+ type of dependency for dependencies on
-  libraries. These dependencies are generally not obvious and it
-  therefore make sense to have the kconfig system ensure that the
-  dependencies are selected. For example, the _libgtk2_ package uses
-  +select BR2_PACKAGE_LIBGLIB2+ to make sure this library is also
-  enabled.
+1. The +BR2_PACKAGE_LIBFOO_AVAILABLE+ symbol shall +depends on+ any
+other package's +_AVAILABLE+ symbol. It may also depend on any other
+symbol, such as toolchain features, but should not directly depend on
+any package's main symbol.

... except for _XORG7, _PYTHON, etc.

Quoted 85 lines
docs/manual/adding-packages-directory.txt +48 -27
-* Use a +depends on+ type of dependency when the user really needs to
-  be aware of the dependency. Typically, Buildroot uses this type of
-  dependency for dependencies on toolchain options (large file
-  support, RPC support, IPV6 support), or for dependencies on "big"
-  things, such as the X.org system. In some cases, especially
-  dependency on toolchain options, it is recommended to add a
-  +comment+ displayed when the option is not enabled, so that the user
-  knows why the package is not available.
+1. The main +BR2_PACKAGE_LIBFOO+ symbol should directly +depends
+on+ it's own +_AVAILABLE+ symbol, +BR2_PACKAGE_LIBFOO_AVAILABLE+, and
+should not depend on any other symbol.
 
-An example illustrates both the usage of +select+ and +depends on+.
+1. For each +_AVAILABLE+ symbol your package's own +_AVAILABLE+
+symbol depends on, your package's main symbol should +select+ the
+corresponding package's main symbol.
+
+1. Add a +comment+ briefly explaining why your package is not
+available. That +comment+ shall have a single negative dependency on
+your package's +_AVAILABLE+ symbol.
+
+The example below illustrates this mechanism for our libfoo package:
 
  --------------------------
-config BR2_PACKAGE_ACL
-        bool "acl"
-        select BR2_PACKAGE_ATTR
-        depends on BR2_LARGEFILE
-        help
-          POSIX Access Control Lists, which are used to define more
-          fine-grained discretionary access rights for files and
-          directories.
-          This package also provides libacl.
-
-          http://savannah.nongnu.org/projects/acl
-
-comment "acl requires a toolchain with LARGEFILE support"
-        depends on !BR2_LARGEFILE
+config BR2_PACKAGE_LIBFOO_AVAILABLE
+	def_bool y
+	depends on BR2_LARGEFILE
+	depends on BR2_PACKAGE_LIBBAR
+
+comment "libfoo requires libbar, and a toolchain with support for LARGEFILEs"
+	depends on !BR2_PACKAGE_LIBFOO_AVAILABLE
+
+config BR2_PACKAGE_LIBFOO
+	bool "libfoo"
+	depends on BR2_PACKAGE_LIBFOO_AVAILABLE
+	select BR2_PACKAGE_LIBBAR
+	help
+	  This is a comment that explains what libfoo is.
+
+	  http://foosoftware.org/libfoo/
  --------------------------
 
+*Notes*
+
+* Even if your package does not have any dependency, you should anyway
+  add the corresponding +_AVAILABLE+ symbol. This way, other packages can
+  safely use the mechanism above to select your package, even if it is later
+  updated and dependencies are added (eg. a new version of the package is
+  released; or features, initially disabled, are now enabled...)
+
+* The symbols and the comment should be in this order, so that the
+  +menuconfig+ will be properly laid out.
+
+* The dependencies in +Config.in+ will make sure that your package's
+  dependencies options are also enabled, but they will not necessarily be
+  built before your package. To do so, these dependencies also need to be
+  expressed in the +.mk+ file of the package (see below).
 
-Note that these two dependency types are only transitive with the
-dependencies of the same kind.
+If your package can be fine-tuned, you can add sub-options, enclosed inside
+an +if BR2_PACKAGE_LIBFOO ... endif+ block. You can even have each option
+depend on other packages, using the +_AVAILABLE+ and main symbols for
+those pacakges.
 
-This means, in the following example:
+Finally, here's our now-complete example package:
 
  --------------------------
-config BR2_PACKAGE_A

docs/manual/adding-packages-directory.txt supposed to contain anything but the 'bare' name of the package. · line 127

Quoted 10 lines
docs/manual/adding-packages-directory.txt +5 -4
-        bool "Package A"
+config BR2_PACKAGE_LIBFOO_AVAILABLE
+	def_bool y
+	depends on BR2_LARGEFILE
+	depends on BR2_PACKAGE_LIBBAR
 
-config BR2_PACKAGE_B
-        bool "Package B"
-        depends on BR2_PACKAGE_A
+comment "libfoo requires libbar"

And largefile. Copy the comment from above.

Quoted 25 lines
docs/manual/adding-packages-directory.txt +9 -12
+	depends on !BR2_PACKAGE_LIBFOO_AVAILABLE
 
-config BR2_PACKAGE_C
-        bool "Package C"
-        depends on BR2_PACKAGE_B
+config BR2_PACKAGE_LIBFOO
+	bool "libfoo"
+	depends on BR2_PACKAGE_LIBFOO_AVAILABLE
+	select BR2_PACKAGE_LIBBAR
+	help
+	  This is a comment that explains what libfoo is.
 
-config BR2_PACKAGE_D
-        bool "Package D"
-        select BR2_PACKAGE_B
+	  http://foosoftware.org/libfoo/
 
-config BR2_PACKAGE_E
-        bool "Package E"
-        select BR2_PACKAGE_D
---------------------------
+if BR2_PACKAGE_LIBFOO
 
-* Selecting +Package C+ will be visible if +Package B+ has been
-  selected, which in turn is only visible if +Package A+ has been

docs/manual/adding-packages-directory.txt supposed to contain anything but the 'bare' name of the package. · line 146

Quoted 10 lines
docs/manual/adding-packages-directory.txt +5 -4
-  selected.
+config BR2_PACKAGE_LIBFOO_FROBBLE
+	bool "Frobble the foo"
 
-* Selecting +Package E+ will select +Package D+, which will select
-  +Package B+, it will not check for the dependencies of +Package B+,
-  so it will not select +Package A+.
+config BR2_PACKAGE_LIBFOO_GAZZLE_LEVEL
+	int "Gazzle level"
+	range 0 10

We currently don't have a single range config option, and only one int.
So the example is a bit contrived... If you add an extra example, a string option that is qstripped in the .mk file is more appropriate.

Quoted 40 lines
docs/manual/adding-packages-directory.txt +8 -20
-* Since +Package B+ is selected but +Package A+ is not, this violates
-  the dependency of +Package B+ on +Package A+.  Therefore, in such a
-  situation, the transitive dependency has to be added explicitly:
+comment "goo option requires package goo"
+	depends on !BR2_PACKAGE_GOO_AVAILABLE
 
---------------------------
-config BR2_PACKAGE_D
-	bool "Package D"
-	select BR2_PACKAGE_B
-	depends on BR2_PACKAGE_A
-
-config BR2_PACKAGE_E
-	bool "Package E"
-	select BR2_PACKAGE_D
-	depends on BR2_PACKAGE_A
---------------------------
+config BR2_PACKAGE_LIBFOO_GOO
+	bool "goo"
+	depends on BR2_PACKAGE_GOO_AVAILABLE
+	select BR2_PACKAGE_GOO
 
-Overall, for package library dependencies, +select+ should be
-preferred.
+endif
+--------------------------
 
-Note that such dependencies will make sure that the dependency option
-is also enabled, but not necessarily built before your package. To do
-so, the dependency also needs to be expressed in the +.mk+ file of the
-package.
 
  The +.mk+ file
  ~~~~~~~~~~~~~~
docs/manual/adding-packages-generic.txt +0 -0
index d3a4abb..3e4c864 100644

docs/manual/adding-packages-generic.txt system is based on hand-written Makefiles or shell scripts. · line 24

Quoted 2 lines
docs/manual/adding-packages-generic.txt +0 -0
@@ -23,30 +23,45 @@ system is based on hand-written Makefiles or shell scripts.
  09: LIBFOO_INSTALL_STAGING = YES
  10: LIBFOO_DEPENDENCIES = host-libaaa libbbb

libbar

Quoted 74 lines
docs/manual/adding-packages-generic.txt +36 -27
  11:
-12: define LIBFOO_BUILD_CMDS
-13: 	$(MAKE) CC="$(TARGET_CC)" LD="$(TARGET_LD)" -C $(@D) all
-14: endef
+12: ifeq ($(BR2_PACKAGE_LIBFOO_FROBBLE),y)
+13: LIBFOO_CFLAGS += -DFROBBLE
+14: endif
  15:
-16: define LIBFOO_INSTALL_STAGING_CMDS
-17: 	$(INSTALL) -D -m 0755 $(@D)/libfoo.a $(STAGING_DIR)/usr/lib/libfoo.a
-18: 	$(INSTALL) -D -m 0644 $(@D)/foo.h $(STAGING_DIR)/usr/include/foo.h
-19: 	$(INSTALL) -D -m 0755 $(@D)/libfoo.so* $(STAGING_DIR)/usr/lib
-20: endef
-21:
-22: define LIBFOO_INSTALL_TARGET_CMDS
-23: 	$(INSTALL) -D -m 0755 $(@D)/libfoo.so* $(TARGET_DIR)/usr/lib
-24: 	$(INSTALL) -d -m 0755 $(TARGET_DIR)/etc/foo.d
-25: endef
-26:
-27: define LIBFOO_DEVICES
-28: 	/dev/foo  c  666  0  0  42  0  -  -  -
+16: LIBFOO_CFLAGS += -DGAZZLE_LEVEL=$(BR2_PACKAGE_LIBFOO_GAZZLE_LEVEL)
+17:
+18: ifeq ($(BR2_PACKAGE_LIBFOO_GOO),y)
+19: LIBFOO_DEPENDENCIES += goo
+20: LIBFOO_CFLAGS       += -DGOO
+21: LIBFOO_LDFLAGS      += -lgoo
+22: endif
+23:
+24: define LIBFOO_BUILD_CMDS
+25: 	$(MAKE) -C $(@D)                                        \
+26: 	        CC="$(TARGET_CC)" CFLAGS="$(LIBFOO_CFLAGS)"     \
+27: 	        LD="$(TARGET_LD)" LDFLAGS="$(LIBFOO_LDFLAGS)"   \
+28: 	        all
  29: endef
  30:
-31: define LIBFOO_PERMISSIONS
-32: 	/bin/foo  f  4755  0  0  -  -  -  -  -
-33: endef
-34:
-35: $(eval $(generic-package))
+31: define LIBFOO_INSTALL_STAGING_CMDS
+32: 	$(INSTALL) -D -m 0755 $(@D)/libfoo.a $(STAGING_DIR)/usr/lib/libfoo.a
+33: 	$(INSTALL) -D -m 0644 $(@D)/foo.h $(STAGING_DIR)/usr/include/foo.h
+34: 	$(INSTALL) -D -m 0755 $(@D)/libfoo.so* $(STAGING_DIR)/usr/lib
+35: endef
+36:
+37: define LIBFOO_INSTALL_TARGET_CMDS
+38: 	$(INSTALL) -D -m 0755 $(@D)/libfoo.so* $(TARGET_DIR)/usr/lib
+39: 	$(INSTALL) -d -m 0755 $(TARGET_DIR)/etc/foo.d
+40: endef
+41:
+42: define LIBFOO_DEVICES
+43: 	/dev/foo  c  666  0  0  42  0  -  -  -
+44: endef
+45:
+46: define LIBFOO_PERMISSIONS
+47: 	/bin/foo  f  4755  0  0  -  -  -  -  -
+48: endef
+49:
+50: $(eval $(generic-package))
  --------------------------------
 
  The Makefile begins on line 6 to 8 with metadata information: the
@@ -64,12 +79,20 @@ install header files and other development files in the staging space.
  This will ensure that the commands listed in the
  +LIBFOO_INSTALL_STAGING_CMDS+ variable will be executed.
 
-On line 10, we specify the list of dependencies this package relies
-on. These dependencies are listed in terms of lower-case package names,
-which can be packages for the target (without the +host-+
-prefix) or packages for the host (with the +host-+) prefix).
-Buildroot will ensure that all these packages are built and installed
-'before' the current package starts its configuration.

docs/manual/adding-packages-generic.txt install header files and other development files in the staging space. · line 91

Quoted 10 lines
docs/manual/adding-packages-generic.txt +10 -0
+On line 10, we specify the list of dependencies this package relies on.
+These dependencies are listed in terms of lower-case package names, which
+can be packages for the target (without the +host-+ prefix) or packages
+for the host (with the +host-+ prefix). Buildroot will ensure that all
+these packages are built and installed 'before' the current package starts
+its configuration.
+
+On lines 12 to 14, if the user did select the option
++BR2_PACKAGE_LIBFOO_FROBBLE+ (see above, in the +Config.in+), we
+conditionnally add a value to the +CFLAGS+. On line 16, we add the 'gazzle

conditionally

docs/manual/adding-packages-generic.txt steps should be performed to install the package in the staging space. · line 103

Quoted 10 lines
docs/manual/adding-packages-generic.txt +4 -0
+level' +BR2_PACKAGE_LIBFOO_GAZZLE_LEVEL+ to the +CFLAGS+. And on lines 18
+to 22, if the user selected 'goo' support, +BR2_PACKAGE_LIBFOO_GOO+, we
+add a dependency on the package +goo+, and add appropriate +CFLAGS+ and
++LDFLAGS+.
 
  The rest of the Makefile defines what should be done at the different
  steps of the package configuration, compilation and installation.
@@ -79,11 +102,11 @@ steps should be performed to install the package in the staging space.
  +LIBFOO_INSTALL_TARGET_CMDS+ tells what steps should be
  performed to install the package in the target space.

Shouldn't _DEVICES and _PERMISSIONS be explained?

docs/manual/adding-packages-generic.txt steps should be performed to install the package in the staging space. · line 112

Quoted 13 lines
docs/manual/adding-packages-generic.txt +4 -4
-All these steps rely on the +$(@D)+ variable, which
-contains the directory where the source code of the package has been
-extracted.
+All these steps rely on the +$(@D)+ variable, which contains the directory
+where the source code of the package has been extracted, and where the
+package is being built.
 
-Finally, on line 35, we call the +generic-package+ which
+Finally, on line 50, we call the +generic-package+ which
  generates, according to the variables defined previously, all the
  Makefile code necessary to make your package working.
 

Overall, a very good addition to the doc, regardless of the _AVAILABLE stuff!

Regards,
Arnout

Signature · 6 lines
Arnout Vandecappelle                               arnout at mind be
Senior Embedded Software Architect                 +32-16-286540
Essensium/Mind                                     http://www.mind.be
G.Geenslaan 9, 3001 Leuven, Belgium                BE 872 984 063 RPR Leuven
LinkedIn profile: http://www.linkedin.com/in/arnoutvandecappelle
GPG fingerprint:  7CB5 E4CC 6C2E EFD4 6E3D A754 F963 ECAB 2450 2F1F
#3 lore raw

PATCH 1/7 docs/manual: update 'adding packages' with the new _AVAILABLE symbol

Arnout, All,

Quoted 14 lines · On Thursday 01 November 2012 Arnout Vandecappelle wrote:

docs/manual/adding-packages-autotools.txt package, with an example : · line 31

Quoted 10 lines · Yann E. MORIN
docs/manual/adding-packages-autotools.txt +8 -0
+12:
+13: ifeq ($(BR2_PACKAGE_LIBFOO_FROBBLE),y)
+14: LIBFOO_CONF_OPT += --enable-frobble
+15: else
+16: LIBFOO_CONF_OPT += --disable-frobble
+17: endif
+18:
+19: LIBFOO_CONF_OPT += --with-gazzle-level=$(BR2_PACKAGE_LIBFOO_GAZZLE_LEVEL)

This one is going a bit too far... And if you keep it, it should
probably have a qstrip.

It's an 'int', so is not quoted in the .config. (but I'll use a 'string' to address your other comment, so I'll qstrip it.)

Quoted 10 lines
Quoted 7 lines

+20:
+21: ifeq ($(BR2_PACKAGE_LIBFOO_GOO),y)
+22: LIBFOO_DEPENDENCIES += goo
+23: LIBFOO_CONF_OPT += --enable-goo
+24: else
+25: LIBFOO_CONF_OPT += --disable-goo
+26: endif

While you're at it, an automatic enable/disable example would
be nice too.

What do you mean by "automatic"?

Quoted 7 lines

docs/manual/adding-packages-directory.txt one of these categories, then create your package directory in these. · line 39

Quoted 5 lines
docs/manual/adding-packages-directory.txt +3 -0
+* The syntax of the +Config.in+ file is the same as the one for the kernel
+  Kconfig file. The documentation for this syntax is available at:
+  https://git.kernel.org/?p=linux/kernel/git/torvalds/linux.git;a=blob;f=Documentation/kbuild/kconfig-language.txt[]

http://kernel.org/doc/Documentation/kbuild/kconfig-language.txt

Does this URL always match the latest version in the git tree?

Quoted 6 lines

docs/manual/adding-packages-directory.txt supposed to contain anything but the 'bare' name of the package. · line 63

Quoted 4 lines

+1. The +BR2_PACKAGE_LIBFOO_AVAILABLE+ symbol shall +depends on+ any

docs/manual/adding-packages-directory.txt +3 -0
+other package's +_AVAILABLE+ symbol. It may also depend on any other
+symbol, such as toolchain features, but should not directly depend on
+any package's main symbol.

... except for _XORG7, _PYTHON, etc.

Well, my opinion (FWIW) is those packages should not be treated differently just because they are /big/.

(One of) the goal(s) of _AVAILABLE is to allow the user to say either:
- I want this package, enable whatever dependencies are required.
or:
- I need this package, but I have to provide a toolchain that has such and such feature

_AVAILABLE makes that easy.

Then, it's up to the user to understand what pulling-in a package implies.

Quoted 7 lines

docs/manual/adding-packages-directory.txt supposed to contain anything but the 'bare' name of the package. · line 146

Quoted 3 lines
docs/manual/adding-packages-directory.txt +3 -0
+config BR2_PACKAGE_LIBFOO_GAZZLE_LEVEL
+	int "Gazzle level"
+	range 0 10

We currently don't have a single range config option, and only one int.
So the example is a bit contrived... If you add an extra example, a string option that is qstripped in the .mk file is more appropriate.

OK.

Quoted 7 lines

docs/manual/adding-packages-generic.txt steps should be performed to install the package in the staging space. · line 103

Quoted 5 lines
docs/manual/adding-packages-generic.txt +0 -0
@@ -79,11 +102,11 @@ steps should be performed to install the package in the staging space.
  +LIBFOO_INSTALL_TARGET_CMDS+ tells what steps should be
  performed to install the package in the target space.

Shouldn't _DEVICES and _PERMISSIONS be explained?

Da, tovarich!

Thank you!

Regards,
Yann E. MORIN.

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.  |
'------------------------------^-------^------------------^--------------------'
#4 lore raw

PATCH 1/7 docs/manual: update 'adding packages' with the new _AVAILABLE symbol

Quoted 4 lines · Yann E. MORIN

Arnout, All,

Quoted 1 line · On Thursday 01 November 2012 Arnout Vandecappelle wrote:

On 09/10/12 01:40, Yann E. MORIN wrote:

[snip]

Quoted 11 lines
Quoted 9 lines
Quoted 6 lines

+21: ifeq ($(BR2_PACKAGE_LIBFOO_GOO),y)
+22: LIBFOO_DEPENDENCIES += goo
+23: LIBFOO_CONF_OPT += --enable-goo
+24: else
+25: LIBFOO_CONF_OPT += --disable-goo
+26: endif

While you're at it, an automatic enable/disable example would
be nice too.

What do you mean by "automatic"?

ifeq ($(BR2_PACKAGE_OPENSSL),y)
LIBFOO_DEPENDENCIES += openssl
LIBFOO_CONF_OPT += --enable-openssl
else
LIBFOO_CONF_OPT += --disable-openssl
endif

Quoted 10 lines
Quoted 8 lines

docs/manual/adding-packages-directory.txt one of these categories, then create your package directory in these. · line 39

Quoted 6 lines
docs/manual/adding-packages-directory.txt +3 -0
+* The syntax of the +Config.in+ file is the same as the one for the kernel
+  Kconfig file. The documentation for this syntax is available at:
+  https://git.kernel.org/?p=linux/kernel/git/torvalds/linux.git;a=blob;f=Documentation/kbuild/kconfig-language.txt[]

http://kernel.org/doc/Documentation/kbuild/kconfig-language.txt

Does this URL always match the latest version in the git tree?

I'm not sure, but anyway we don't sync with the upstream kconfig very
often either.

Quoted 17 lines
Quoted 7 lines

docs/manual/adding-packages-directory.txt supposed to contain anything but the 'bare' name of the package. · line 63

Quoted 5 lines

+1. The +BR2_PACKAGE_LIBFOO_AVAILABLE+ symbol shall +depends on+ any

docs/manual/adding-packages-directory.txt +3 -0
+other package's +_AVAILABLE+ symbol. It may also depend on any other
+symbol, such as toolchain features, but should not directly depend on
+any package's main symbol.

... except for _XORG7, _PYTHON, etc.

Well, my opinion (FWIW) is those packages should not be treated differently just because they are /big/.

(One of) the goal(s) of _AVAILABLE is to allow the user to say either:
- I want this package, enable whatever dependencies are required.
or:
- I need this package, but I have to provide a toolchain that has such and such feature

Quoted 3 lines

_AVAILABLE makes that easy.

Then, it's up to the user to understand what pulling-in a package implies.

I actually agree, but that's not the current reality.

OTOH, it makes sense to promote the wanted reality in the documentation.

Regards,
Arnout

[snip]

Signature · 6 lines
Arnout Vandecappelle                               arnout at mind be
Senior Embedded Software Architect                 +32-16-286540
Essensium/Mind                                     http://www.mind.be
G.Geenslaan 9, 3001 Leuven, Belgium                BE 872 984 063 RPR Leuven
LinkedIn profile: http://www.linkedin.com/in/arnoutvandecappelle
GPG fingerprint:  7CB5 E4CC 6C2E EFD4 6E3D A754 F963 ECAB 2450 2F1F
#5 lore raw

PATCH 1/7 docs/manual: update 'adding packages' with the new _AVAILABLE symbol

Quoted 19 lines · Arnout Vandecappelle
Quoted 19 lines
Quoted 6 lines
Quoted 4 lines

+1. The +BR2_PACKAGE_LIBFOO_AVAILABLE+ symbol shall +depends on+ any +other package's +_AVAILABLE+ symbol. It may also depend on any other +symbol, such as toolchain features, but should not directly depend on +any package's main symbol.

... except for _XORG7, _PYTHON, etc.

Well, my opinion (FWIW) is those packages should not be treated differently just because they are /big/.

(One of) the goal(s) of _AVAILABLE is to allow the user to say either:
- I want this package, enable whatever dependencies are required.
or:
- I need this package, but I have to provide a toolchain that has such and such feature

_AVAILABLE makes that easy.

Quoted 7 lines
Quoted 2 lines

Then, it's up to the user to understand what pulling-in a package implies.

I actually agree, but that's not the current reality.

OTOH, it makes sense to promote the wanted reality in the
documentation.

Except that even with the _AVAILABLE feature, I don't know if we want to change how we handle things like Python modules, X.org and so on. We will pretty likely still want to hide all of the Python modules behind a global Python option.

Best regards,

Thomas

Signature · 4 lines
Thomas Petazzoni, Free Electrons
Kernel, drivers, real-time and embedded Linux
development, consulting, training and support.
http://free-electrons.com
#6 lore raw

PATCH 2/7 support/scripts: add a script to add a new package

In reply to Yann E. MORIN

This script asks a few questions to the user, and creates the skeleton files (Config.in and package.mk).

---
 docs/manual/adding-packages-script.txt |   41 +++++++++
 docs/manual/adding-packages.txt        |    2 +
 support/scripts/pkg-new                |  151 ++++++++++++++++++++++++++++++++
 3 files changed, 194 insertions(+), 0 deletions(-)
 create mode 100644 docs/manual/adding-packages-script.txt
 create mode 100755 support/scripts/pkg-new
docs/manual/adding-packages-script.txt new file +41 -0
new file mode 100644
index 0000000..b19e6ee
@@ -0,0 +1,41 @@
+Scripted new package
+--------------------
+
+To help you add your new package, Buildroot offers a script that partially
+automates the creation of a new package: +support/scripts/pkg-new+.
+
+When run, this script asks you a few questions about your package, and
+creates skeleton files for you, so you only have to fill-in the the values
+for the different variables.
+
+----
+$ ./support/script/pkg-new
+Name of the package: libfoo
+
+1) none
+2) multimedia
+3) java
+4) x11r7
+5) games
+Category of your package: 1
+
+1) autotools
+2) cmake
+3) generic
+Build-system your package is using: 1
+
+Your package skeleton files have been created; you can now edit these files
+to complete the creation of the package:
+  package/libfoo/Config.in
+  package/libfoo/libfoo.mk
+
+Do not forget to also edit 'package/Config.in' to include
+package/libfoo/Config.in in the correct location.
+----
+
+Then, you just have to edit the two generated files with appropriate values.
+Refer to the following sections for each type of build-system:
+
+* xref:generic-package-tutorial[]
+* xref:autotools-package-tutorial[]
+* xref:cmake-package-tutorial[]
docs/manual/adding-packages.txt +2 -0
index cb75f2d..1aacaa8 100644
@@ -19,4 +19,6 @@ include::adding-packages-handwritten.txt[]
 
 include::adding-packages-gettext.txt[]
 
+include::adding-packages-script.txt[]
+
 include::adding-packages-conclusion.txt[]
support/scripts/pkg-new new file +151 -0

151 lines not on this page · raw message

Signature · 1 line
1.7.2.5
#7 lore raw

PATCH 1/1 pkg-avail: make it work without stgit

In order to make this script usable by more developers, make it work without stgit. It supports a --mode=stgit option or a --mode=git option. When using --mode=stgit, it will preserve its existing behavior, when using --mode=git, it will simply make git commits without fuzzing needlessly with stgit.

I still don't understand why people keep using stgit. I guess it's a remnant of quilt-style workflow or something like that, because the plain git, with its "git rebase -i" feature, allows to do exactly the same thing, without having to use a separate tool. So people using stgit should /really/ consider having a serious look at "git rebase -i", and when they will see the light, they will wonder why for so many years they have suffered in keeping their old-style quilt-looking workflows.

Note: the --mode=stgit hasn't been tested after the changes.

---
 support/scripts/pkg-avail |   44 +++++++++++++++++++++++++++++++-------------
 1 file changed, 31 insertions(+), 13 deletions(-)
support/scripts/pkg-avail +31 -13
index 1f616fd..4d47a44 100755
@@ -192,9 +192,23 @@ munge_files() {
     )
 }
 
+if [ $# -ne 1 ] ; then
+    echo "Usage: pkg-avail --mode=[stgit|git]"
+    exit 1
+fi
+
+if [ $1 = "--mode=stgit" ] ; then
+    mode=stgit
+elif [ $1 = "--mode=git" ] ; then
+    mode=git
+else
+    echo "Unknown argument"
+    exit 1
+fi
+
 # I have a local patch that updates the doc for the _AVAILABLE stuff,
 # and I want all munging patches to be pushed after that
-stg push -a >/dev/null 2>&1 || true
+[ $mode = "stgit" ] && stg push -a >/dev/null 2>&1 || true
 
 # Add the _AVAILABLE symbols...
 cat >/tmp/commit.msg <<-_EOF_
@@ -239,10 +253,11 @@ cat >/tmp/commit.msg <<-_EOF_
 	
 	With the construct above, using 'select' is now safe.
 _EOF_
-stg new --sign -f /tmp/commit.msg pkg-add-available
-rm /tmp/commit.msg
+[ $mode = "stgit" ] && stg new --sign -f /tmp/commit.msg pkg-add-available
 munge_files "${AWK_SCRIPT_ADD}"
-stg refresh
+[ $mode = "stgit" ] && stg refresh
+[ $mode = "git" ] && git commit -a -s -F /tmp/commit.msg
+rm /tmp/commit.msg
 
 # ... and use them, now! ;-)
 cat >/tmp/commit.msg <<-_EOF_
@@ -252,10 +267,11 @@ cat >/tmp/commit.msg <<-_EOF_
 	the corresponding _AVAILABLE symbol, and adds a 'select' against the
 	dependant package.
 _EOF_
-stg new --sign -f /tmp/commit.msg pkg-use-available
-rm /tmp/commit.msg
+[ $mode = "stgit" ] && stg new --sign -f /tmp/commit.msg pkg-use-available
 munge_files "${AWK_SCRIPT_USE}"
-stg refresh
+[ $mode = "stgit" ] && stg refresh
+[ $mode = "git" ] && git commit -a -s -F /tmp/commit.msg
+rm /tmp/commit.msg
 
 # Finally, check for missing 'depends on ..._AVAILABLE'
 cat >/tmp/commit.msg <<-_EOF_
@@ -264,10 +280,11 @@ cat >/tmp/commit.msg <<-_EOF_
 	This patch checks that all 'select' on a package have a 'depends on'
 	on the corresponding _AVAILABLE symbol.
 _EOF_
-stg new --sign -f /tmp/commit.msg pkg-check-available
-rm /tmp/commit.msg
+[ $mode = "stgit" ] && stg new --sign -f /tmp/commit.msg pkg-check-available
 munge_files "${AWK_SCRIPT_CHECK}"
-stg refresh
+[ $mode = "stgit" ] && stg refresh
+[ $mode = "git" ] && git commit -a -s -F /tmp/commit.msg
+rm /tmp/commit.msg
 
 # And eventually, get rid of ourselves (Seppuku!)
 cat >/tmp/commit.msg <<-_EOF_
@@ -276,11 +293,12 @@ cat >/tmp/commit.msg <<-_EOF_
 	This script has done its job, and is no-longer needed.
 	RIP, script!
 _EOF_
-stg new --sign -f /tmp/commit.msg pkg-delete-pkg_avail
-rm /tmp/commit.msg
+[ $mode = "stgit" ] && stg new --sign -f /tmp/commit.msg pkg-delete-pkg_avail
 rm -f support/scripts/pkg-avail
 git rm support/scripts/pkg-avail
-stg refresh
+[ $mode = "stgit" ] && stg refresh
+[ $mode = "git" ] && git commit -a -s -F /tmp/commit.msg
+rm /tmp/commit.msg
 
 # And eventually, get rid of ourselves (Seppuku!)
 
Signature · 1 line
1.7.9.5
#8 lore raw

PATCH 1/1 pkg-avail: make it work without stgit

Hi Thomas,

Quoted 15 lines · Thomas Petazzoni

In order to make this script usable by more developers, make it work without stgit. It supports a --mode=stgit option or a --mode=git option. When using --mode=stgit, it will preserve its existing behavior, when using --mode=git, it will simply make git commits without fuzzing needlessly with stgit.

I still don't understand why people keep using stgit. I guess it's a remnant of quilt-style workflow or something like that, because the plain git, with its "git rebase -i" feature, allows to do exactly the same thing, without having to use a separate tool. So people using stgit should /really/ consider having a serious look at "git rebase -i", and when they will see the light, they will wonder why for so many years they have suffered in keeping their old-style quilt-looking workflows.

Quoted 6 lines

Note: the --mode=stgit hasn't been tested after the changes.

---
 support/scripts/pkg-avail |   44 +++++++++++++++++++++++++++++++-------------
 1 file changed, 31 insertions(+), 13 deletions(-)

What branch is this patch based on? I can't find support/scripts/pkg-avail in current master.

baruch

Signature · 3 lines
     http://baruch.siach.name/blog/                  ~. .~   Tk Open Systems
=}------------------------------------------------ooO--U--Ooo------------{=
   - baruch at tkos.co.il - tel: +972.2.679.5364, http://www.tkos.co.il -
#9 lore raw

PATCH 1/1 pkg-avail: make it work without stgit

Baruch, All,

Quoted 6 lines · On Sunday 14 October 2012 Baruch Siach wrote:
Quoted 2 lines · Thomas Petazzoni
 support/scripts/pkg-avail |   44 +++++++++++++++++++++++++++++++-------------
 1 file changed, 31 insertions(+), 13 deletions(-)

What branch is this patch based on? I can't find support/scripts/pkg-avail in current master.

It's not based on a branch, it's to be applied on top of the patch that adds this script in the _AVAILABLE patch series.

Regards,
Yann E. MORIN.

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.  |
'------------------------------^-------^------------------^--------------------'
#10 lore raw

PATCH 1/1 pkg-avail: make it work without stgit

In reply to Thomas Petazzoni

Thomas, All,

Quoted 5 lines · On Sunday 14 October 2012 Thomas Petazzoni wrote:

In order to make this script usable by more developers, make it work without stgit. It supports a --mode=stgit option or a --mode=git option. When using --mode=stgit, it will preserve its existing behavior, when using --mode=git, it will simply make git commits without fuzzing needlessly with stgit.

You are right. This script should not depend on anything else than git.

That I use stgit behind the hood, when it is not a required tool imposed by upstream, is my problem, and should be no concern for upstream.

Quoted 8 lines

I still don't understand why people keep using stgit. I guess it's a remnant of quilt-style workflow or something like that, because the plain git, with its "git rebase -i" feature, allows to do exactly the same thing, without having to use a separate tool. So people using stgit should /really/ consider having a serious look at "git rebase -i", and when they will see the light, they will wonder why for so many years they have suffered in keeping their old-style quilt-looking workflows.

I use stgit because I like the patch-queue semantic better, and I find it much easier to work with, than the rebase semantic.

Also, what I am interested in, is getting changes upstream; that's my goal. I am not interested in learning how to use *git* per-se: it is just a tool to achieve that goal. If I can achieve the exact same goal by using the much simpler stgit, then I'll use that, even if git is more powerful.

And no, I never used quilt before. And no, I am not suffering of using stgit (quite the opposite, to be true). ;-)

Regards,
Yann E. MORIN.

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.  |
'------------------------------^-------^------------------^--------------------'
#11 lore raw

PATCH 1/1 pkg-avail: make it work without stgit

Quoted 9 lines · Yann E. MORIN

Thomas, All,

Quoted 5 lines · On Sunday 14 October 2012 Thomas Petazzoni wrote:

In order to make this script usable by more developers, make it work without stgit. It supports a --mode=stgit option or a --mode=git option. When using --mode=stgit, it will preserve its existing behavior, when using --mode=git, it will simply make git commits without fuzzing needlessly with stgit.

Quoted 4 lines

You are right. This script should not depend on anything else than git.

That I use stgit behind the hood, when it is not a required tool imposed by upstream, is my problem, and should be no concern for upstream.

Well, you're the one who primarily uses this script to generate the patches, and you'll be the one who will ultimately submit those patches, so it sounds kind of natural that the script is adapted to your workflow.

That said, I also wanted to be able to test your script, so I've just adapted it to my own workflow. Since the modifications are fairly trivial, I just thought I would share them.

Quoted 10 lines

I use stgit because I like the patch-queue semantic better, and I find it much easier to work with, than the rebase semantic.

Also, what I am interested in, is getting changes upstream; that's my goal. I am not interested in learning how to use *git* per-se: it is just a tool to achieve that goal. If I can achieve the exact same goal by using the much simpler stgit, then I'll use that, even if git is more powerful.

And no, I never used quilt before. And no, I am not suffering of using stgit (quite the opposite, to be true). ;-)

No problem :)

Thomas

Signature · 4 lines
Thomas Petazzoni, Free Electrons
Kernel, drivers, real-time and embedded Linux
development, consulting, training and support.
http://free-electrons.com
#12 lore raw

PATCH 2/7 support/scripts: add a script to add a new package

In reply to Yann E. MORIN
Quoted 28 lines · Yann E. MORIN

This script asks a few questions to the user, and creates the skeleton files (Config.in and package.mk).

---
  docs/manual/adding-packages-script.txt |   41 +++++++++
  docs/manual/adding-packages.txt        |    2 +
  support/scripts/pkg-new                |  151 ++++++++++++++++++++++++++++++++
  3 files changed, 194 insertions(+), 0 deletions(-)

create mode 100644 docs/manual/adding-packages-script.txt create mode 100755 support/scripts/pkg-new

docs/manual/adding-packages-script.txt new file +10 -0
new file mode 100644
index 0000000..b19e6ee
@@ -0,0 +1,41 @@
+Scripted new package
+--------------------
+
+To help you add your new package, Buildroot offers a script that partially
+automates the creation of a new package: +support/scripts/pkg-new+.
+
+When run, this script asks you a few questions about your package, and
+creates skeleton files for you, so you only have to fill-in the the values
+for the different variables.
+

docs/manual/adding-packages-script.txt line 20

Quoted 10 lines
docs/manual/adding-packages-script.txt new file +10 -0
+----
+$ ./support/script/pkg-new
+Name of the package: libfoo
+
+1) none
+2) multimedia
+3) java
+4) x11r7
+5) games
+Category of your package: 1

I would skip this question and always create it in packages/libfoo. The
subdirectories are rare, we want to get rid of them, and anyway you can easily move the generated directory to a different place after the fact.

Quoted 26 lines
docs/manual/adding-packages-script.txt new file +21 -0
+
+1) autotools
+2) cmake
+3) generic
+Build-system your package is using: 1
+
+Your package skeleton files have been created; you can now edit these files
+to complete the creation of the package:
+  package/libfoo/Config.in
+  package/libfoo/libfoo.mk
+
+Do not forget to also edit 'package/Config.in' to include
+package/libfoo/Config.in in the correct location.
+----
+
+Then, you just have to edit the two generated files with appropriate values.
+Refer to the following sections for each type of build-system:
+
+* xref:generic-package-tutorial[]
+* xref:autotools-package-tutorial[]
+* xref:cmake-package-tutorial[]
docs/manual/adding-packages.txt +0 -0
index cb75f2d..1aacaa8 100644

docs/manual/adding-packages.txt include::adding-packages-handwritten.txt[] · line 23

Quoted 5 lines
docs/manual/adding-packages.txt +2 -0
@@ -19,4 +19,6 @@ include::adding-packages-handwritten.txt[]
 
  include::adding-packages-gettext.txt[]
 
+include::adding-packages-script.txt[]
+

I would put this before the rest of adding-packages.

support/scripts/pkg-new line 1

Quoted 8 lines
docs/manual/adding-packages.txt +0 -0
  include::adding-packages-conclusion.txt[]
support/scripts/pkg-new new file +1 -0
new file mode 100755
index 0000000..4e1ddac
@@ -0,0 +1,151 @@
+#!/bin/bash

Does it have to be bash? Hm, yes, for the arrays... It would be better
if we can avoid relying on bash for new functionality.

Quoted 57 lines
support/scripts/pkg-new new file +57 -0
+
+my_name="${0##*/}"
+
+# -----------------------------------------------------------------------------
+# Ask some questions...
+#
+
+# List of known categories:
+CAT_LIST=( none multimedia java x11r7 games )
+# List of known build-systems:
+BS_LIST=( autotools cmake generic )
+
+# --------------------------------------
+# First, some trivial stuff: what's the package name?
+if [ -n "${1}" ]; then
+    pkg_name="${1}"
+    printf "Starting addition of new package '%s'\n" "${pkg_name}"
+else
+    read -p "Name of the package: " pkg_name
+fi
+
+# Check we do not already have this package
+pkgs="$( find package -type d -name "${pkg_name}" 2>/dev/null )"
+if [ -n "${pkgs}" ]; then
+    printf "%s: error: package '%s' already exists in:\n"   \
+           "${my_name}" "${pkg_name}"
+    for p in ${pkgs}; do
+        printf "    %s\n" "${p}"
+    done
+    exit 1
+fi
+PKG_NAME="$( tr '[:lower:]-' '[:upper:]_'<<<"${pkg_name}" )"
+
+# --------------------------------------
+# Will it be categorised?
+printf "\n"
+PS3="Category of your package: "
+select pkg_cat in "${CAT_LIST[@]}"; do
+    case "${pkg_cat}" in
+        none)   pkg_cat=""; break;;
+        ?*)     break;;
+    esac
+    printf "Please enter a number in [1..%d]\n" "${#CAT_LIST[@]}"
+done
+
+pkg_dir="package/${pkg_cat}/${pkg_name}"
+pkg_dir="${pkg_dir//\/\///}"
+
+# --------------------------------------
+# What kind of build system is it using?
+printf "\n"
+PS3="Build-system your package is using: "
+select pkg_bs in "${BS_LIST[@]}"; do
+    case "${pkg_bs}" in
+        *?)     break;;
+    esac
+    printf "Please enter a number in [1..%d]\n" "${#BS_LIST[@]}"

support/scripts/pkg-new

Quoted 10 lines
support/scripts/pkg-new new file +10 -0
+done
+
+# -----------------------------------------------------------------------------
+# Now we can create the package
+#
+
+mkdir -p "${pkg_dir}"
+
+# --------------------------------------
+# Can't use 'cat<<-_EOF_', as Config.in uses leading tabs.

I don't think the indented Config.in block is very readable; I'd use a
plain <<_EOF_ with no extra indentation. Then you can use cat after all.

Quoted 16 lines
support/scripts/pkg-new new file +16 -0
+sed -r -e 's/^    //;'>"${pkg_dir}/Config.in"<<_EOF_
+    config BR2_PACKAGE_${PKG_NAME}_AVAILABLE
+    	def_bool y
+    	# Here, add one 'depends on' line for each of your
+    	# package's dependencies, eg.:
+    	#depends on BR2_PACKAGE_LIBBAR_AVAILABLE
+    	#depends on BR2_LARGEFILE
+
+    # Update this comment to tell why the package is not available:
+    comment "${pkg_name} requires XXX and YYY"
+    	depends on !BR2_PACKAGE_${PKG_NAME}_AVAILABLE
+
+    config BR2_PACKAGE_${PKG_NAME}
+    	bool "${pkg_name}"
+    	depends on BR2_PACKAGE_${PKG_NAME}_AVAILABLE
+    	# Here, add one 'select' line for each package your

support/scripts/pkg-new line 94

Quoted 10 lines
support/scripts/pkg-new new file +10 -0
+    	# package depends on, eg.:
+    	#select BR2_PACKAGE_LIBBAR
+    	help
+    	  # Here, add a short description of your package
+    	  # For example, copy the first few description sentences
+    	  # from the package's website
+    	
+    	  # Also, add a pointer to the package's website
+
+    # Here, you may add optional features/options of your package:

# Remove it if it is empty

support/scripts/pkg-new

Quoted 7 lines
support/scripts/pkg-new new file +7 -0
+    if BR2_PACKAGE_${PKG_NAME}
+    endif # BR2_PACKAGE_${PKG_NAME}
+_EOF_
+
+# --------------------------------------
+# Create the package.mk file
+cat>"${pkg_dir}/${pkg_name}.mk"<<-_EOF_

Same here, indentation doesn't look natural to me.

Quoted 4 lines
support/scripts/pkg-new new file +4 -0
+	#############################################################
+	#
+	# ${pkg_name}
+	#

support/scripts/pkg-new line 115

Quoted 10 lines
support/scripts/pkg-new new file +10 -0
+	#############################################################
+	
+	${PKG_NAME}_VERSION       =
+	${PKG_NAME}_SOURCE        =
+	${PKG_NAME}_SITE          =
+	${PKG_NAME}_DEPENDENCIES  =
+	${PKG_NAME}_LICENSE       =
+	${PKG_NAME}_LICENSE_FILES =
+	
+_EOF_

For autotools-package and cmake-package, _CONF_OPT is also a very useful one.

Maybe also add _INSTALL_STAGING.

support/scripts/pkg-new line 128

Quoted 13 lines
support/scripts/pkg-new new file +13 -0
+
+if [ "${pkg_bs}" = "generic" ]; then
+    cat>>"${pkg_dir}/${pkg_name}.mk"<<-_EOF_
+		# See docs/manual/ for the complete list of actions that can
+		# be defined; only the most common ones are listed below:
+		
+		define ${PKG_NAME}_CONFIGURE_CMDS
+		endef
+		
+		define ${PKG_NAME}_BUILD_CMDS
+		endef
+		
+		define ${PKG_NAME}_INSTALL_TARGET_CMDS

Putting a sample

	install -D -m 0644 $(@D)/... $(TARGET_DIR)/...

isn't a bad idea.

Quoted 13 lines
support/scripts/pkg-new new file +13 -0
+		endef
+		
+		define ${PKG_NAME}_UNINSTALL_TARGET_CMDS
+		endef
+		
+	_EOF_
+fi
+
+printf '$(eval $(%s-package))\n' "${pkg_bs}">>"${pkg_dir}/${pkg_name}.mk"
+
+# -----------------------------------------------------------------------------
+# The End
+#

support/scripts/pkg-new line 151

Quoted 10 lines
support/scripts/pkg-new new file +10 -0
+cat<<-_EOF_
+	
+	Your package skeleton files have been created; you can now edit these files
+	to complete the creation of the package:
+	  ${pkg_dir}/Config.in
+	  ${pkg_dir}/${pkg_name}.mk
+	
+	Do not forget to also edit '${pkg_dir%/${pkg_name}}/Config.in' to include
+	${pkg_dir}/Config.in in the correct location.
+_EOF_

Regards,
Arnout

Signature · 6 lines
Arnout Vandecappelle                               arnout at mind be
Senior Embedded Software Architect                 +32-16-286540
Essensium/Mind                                     http://www.mind.be
G.Geenslaan 9, 3001 Leuven, Belgium                BE 872 984 063 RPR Leuven
LinkedIn profile: http://www.linkedin.com/in/arnoutvandecappelle
GPG fingerprint:  7CB5 E4CC 6C2E EFD4 6E3D A754 F963 ECAB 2450 2F1F
#13 lore raw

PATCH 2/7 support/scripts: add a script to add a new package

Quoted 6 lines · Arnout Vandecappelle
Quoted 6 lines

+$ ./support/script/pkg-new

docs/manual/adding-packages-script.txt new file +5 -0
+Name of the package: libfoo
+
+1) none
+2) multimedia
+3) java
Quoted 8 lines
Quoted 3 lines

+4) x11r7
+5) games
+Category of your package: 1

I would skip this question and always create it in
packages/libfoo. The subdirectories are rare, we want to get rid of them, and anyway you can easily move the generated directory to a different place after the fact.

Agreed. However, I also wonder if it is a good idea to make this script ask questions, as compared to a more conventional script that takes command line arguments. But it's true that a script asking questions is more like a wizard, probably easier to use.

Quoted 5 lines

support/scripts/pkg-new line 128

Quoted 1 line
support/scripts/pkg-new new file +1 -0
+		define ${PKG_NAME}_INSTALL_TARGET_CMDS

Putting a sample

	install -D -m 0644 $(@D)/... $(TARGET_DIR)/...

isn't a bad idea.

Not sure I agree here. People too often do manual installation in generic packages, while they should use 'make install', possibly after tunning/patching the Makefile.

Best regards,

Thomas

Signature · 4 lines
Thomas Petazzoni, Free Electrons
Kernel, drivers, real-time and embedded Linux
development, consulting, training and support.
http://free-electrons.com
#14 lore raw

PATCH 2/7 support/scripts: add a script to add a new package

Thomas, All,

Quoted 4 lines · On Thursday 01 November 2012 Thomas Petazzoni wrote:

However, I also wonder if it is a good idea to make this script ask questions, as compared to a more conventional script that takes command line arguments. But it's true that a script asking questions is more like a wizard, probably easier to use.

Indeed, the script is designed as a wizard for newbies, so they do not find it too complex to add a new package, especially since the _AVAILABLE stuff can be a bit misleading.

It's also meant for experts to quickly add a new package. For them, it might be better to get the values from the arguments, rather than asking questions, right. This script can be refined later for this use-case.

Quoted 9 lines
Quoted 5 lines

support/scripts/pkg-new line 128

Quoted 1 line
support/scripts/pkg-new new file +1 -0
+		define ${PKG_NAME}_INSTALL_TARGET_CMDS

Putting a sample

	install -D -m 0644 $(@D)/... $(TARGET_DIR)/...

isn't a bad idea.

Not sure I agree here. People too often do manual installation in generic packages, while they should use 'make install', possibly after tunning/patching the Makefile.

Agreed.

Regards,
Yann E. MORIN.

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.  |
'------------------------------^-------^------------------^--------------------'
#15 lore raw

PATCH 2/7 support/scripts: add a script to add a new package

In reply to Arnout Vandecappelle

Arnout, All,

Quoted 17 lines · On Thursday 01 November 2012 Arnout Vandecappelle wrote:

docs/manual/adding-packages-script.txt line 9

Quoted 12 lines · Yann E. MORIN
docs/manual/adding-packages-script.txt new file +9 -0
@@ -0,0 +1,41 @@
+$ ./support/script/pkg-new
+Name of the package: libfoo
+
+1) none
+2) multimedia
+3) java
+4) x11r7
+5) games
+Category of your package: 1

I would skip this question and always create it in packages/libfoo. The
subdirectories are rare, we want to get rid of them, and anyway you can easily move the generated directory to a different place after the fact.

OK

Quoted 10 lines

docs/manual/adding-packages.txt include::adding-packages-handwritten.txt[] · line 23

Quoted 8 lines
docs/manual/adding-packages.txt +2 -0
@@ -19,4 +19,6 @@ include::adding-packages-handwritten.txt[]
 
  include::adding-packages-gettext.txt[]
 
+include::adding-packages-script.txt[]
+

I would put this before the rest of adding-packages.

I've poundered this, too, but the script just an /implementation/ of the documentation, so I think it should go last.

Quoted 7 lines

support/scripts/pkg-new line 1

Quoted 4 lines
support/scripts/pkg-new new file +1 -0
@@ -0,0 +1,151 @@
+#!/bin/bash

Does it have to be bash? Hm, yes, for the arrays... It would be better
if we can avoid relying on bash for new functionality.

I'll check if I can make it a POSIX-compliant script.

Quoted 5 lines

support/scripts/pkg-new line 3

Quoted 2 lines
support/scripts/pkg-new new file +2 -0
+# --------------------------------------
+# Can't use 'cat<<-_EOF_', as Config.in uses leading tabs.

I don't think the indented Config.in block is very readable; I'd use a
plain <<_EOF_ with no extra indentation. Then you can use cat after all.

Indenting here-documents allows one to easily see the end of it. I personally have difficulties reading scripts where this is not the case.

Quoted 5 lines

support/scripts/pkg-new

Quoted 3 lines
support/scripts/pkg-new new file +3 -0
+# --------------------------------------
+# Create the package.mk file
+cat>"${pkg_dir}/${pkg_name}.mk"<<-_EOF_

Same here, indentation doesn't look natural to me.

Hmmm. Let's ask a neutral party, then! ;-)

Quoted 9 lines
Quoted 9 lines
support/scripts/pkg-new new file +9 -0
+	#############################################################
+	#
+	# ${pkg_name}
+	#
+	#############################################################
+	
+	${PKG_NAME}_VERSION       =
+	${PKG_NAME}_SOURCE        =
+	${PKG_NAME}_SITE          =
Quoted 8 lines

support/scripts/pkg-new line 115

Quoted 5 lines
support/scripts/pkg-new new file +5 -0
+	${PKG_NAME}_DEPENDENCIES  =
+	${PKG_NAME}_LICENSE       =
+	${PKG_NAME}_LICENSE_FILES =
+	
+_EOF_

For autotools-package and cmake-package, _CONF_OPT is also a very useful one. Maybe also add _INSTALL_STAGING.

I think we should fill-in only strictly-required variables.

Quoted 14 lines

support/scripts/pkg-new line 128

Quoted 12 lines
support/scripts/pkg-new new file +12 -0
+if [ "${pkg_bs}" = "generic" ]; then
+    cat>>"${pkg_dir}/${pkg_name}.mk"<<-_EOF_
+		# See docs/manual/ for the complete list of actions that can
+		# be defined; only the most common ones are listed below:
+		
+		define ${PKG_NAME}_CONFIGURE_CMDS
+		endef
+		
+		define ${PKG_NAME}_BUILD_CMDS
+		endef
+		
+		define ${PKG_NAME}_INSTALL_TARGET_CMDS

Putting a sample

Quoted 2 lines
	install -D -m 0644 $(@D)/... $(TARGET_DIR)/...

isn't a bad idea.

I don't like it. This is just a skeleton file. No default value has been provided for any variable.

Regards,
Yann E. MORIN.

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.  |
'------------------------------^-------^------------------^--------------------'
#16 lore raw

PATCH 2/7 support/scripts: add a script to add a new package

In reply to Arnout Vandecappelle

Arnout, All,

Quoted 3 lines · On Thursday 01 November 2012 Arnout Vandecappelle wrote:
Quoted 2 lines · Yann E. MORIN

This script asks a few questions to the user, and creates the skeleton files (Config.in and package.mk).

[--SNIP--]

Quoted 5 lines

Review

Quoted 2 lines
(quoted diff) +2 -0
+# --------------------------------------
+# Can't use 'cat<<-_EOF_', as Config.in uses leading tabs.

I don't think the indented Config.in block is very readable; I'd use a
plain <<_EOF_ with no extra indentation. Then you can use cat after all.

Hmm. Maybe that's because my default tabstop is 4, not 8. I just tried with 8, and it is indeed less readable.

Yet, I prefer that here-documents be indented rather than not. I'll see to make it readable for tabstop=8.

Regards,
Yann E. MORIN.

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.  |
'------------------------------^-------^------------------^--------------------'
#17 lore raw

PATCH 3/7 support/scripts: add a script to automate the migration to _AVAILABLE

In reply to Yann E. MORIN

This script runs three passes on the packages' Config.in files:

1) - introduces a BR2_PACKAGE_XXX_AVAILABLE symbol
- moves all the package dependencies to this symbol
- has the package depends only on this symbol

2) - transforms all 'depends on BR2_PACKAGE_XXX' into a dependency on the corresponding _AVAILABLE symbol
- adds a select on the corresponding package

3) - checks and fixes 'select BR2_PACKAGE_XXX' that does not have a corresponding 'depends on BR2_PACKAGE_XXX_AVAILABLE'

NOTE: the coverage of this script is NOT 100%. Some manual inspection and fixers are still required.

---
 support/scripts/pkg-avail |  286 +++++++++++++++++++++++++++++++++++++++++++++
 1 files changed, 286 insertions(+), 0 deletions(-)
 create mode 100755 support/scripts/pkg-avail
support/scripts/pkg-avail new file +286 -0
new file mode 100755
index 0000000..1f616fd
@@ -0,0 +1,286 @@
+#!/bin/bash
+set -e
+
+#-----------------------------------------------------------------------------
+# Find all packages and introduce the _AVAILABLE symbols for each of them
+# 10 packages per cset, it's easier to review
+
+AWK_SCRIPT_ADD='
+BEGIN {
+    nb_lines = 0;
+    delete lines;
+}
+
+{ lines[nb_lines++] = $0; }
+
+END {
+    PKG = toupper( pkg );
+    is_pkg = 0;
+    for( i = 0; i < nb_lines; i++ ) {
+        if( lines[i] ~ "^(menu)?config[[:space:]]+BR2_PACKAGE_" PKG "([[:space:]]+.*)?$" ) {
+            pkg_line = lines[i];
+            printf( "config BR2_PACKAGE_%s_AVAILABLE\n", PKG );
+            printf( "\tdef_bool y\n" );
+            is_pkg = 1;
+            break;
+        }
+        printf( "%s\n", lines[i] );
+    }
+
+    if( is_pkg ) {
+        deps_end = i+1;
+        nb_not_deps = 0;
+        while( deps_end < nb_lines ) {
+            if( lines[deps_end] ~ "^([[:space:]]+help)?$" ) {
+                break;
+            } else if ( lines[deps_end] ~ "^[[:space:]]+depends on " ) {
+                print lines[deps_end];
+                while( lines[deps_end] ~ "\\\\$" ) {
+                    deps_end++;
+                    print lines[deps_end];
+                }
+            } else {
+                not_deps[nb_not_deps++] = lines[deps_end];
+            }
+            deps_end++;
+        }
+        printf( "\n" );
+
+        printf( "%s\n", pkg_line );
+        for( i = 0; i < nb_not_deps; i++ ) {
+            printf( "%s\n", not_deps[i] );
+        }
+        printf( "\tdepends on BR2_PACKAGE_%s_AVAILABLE\n", PKG );
+
+        for( i = deps_end; i < nb_lines; i++ ) {
+            printf( "%s\n", lines[i] );
+        }
+    }
+}
+'
+
+#-----------------------------------------------------------------------------
+# Find all packages that depends on another package, and switch that to
+# the new _AVAILABLE dependency, plus a select on the main symbol
+
+AWK_SCRIPT_USE='
+BEGIN {
+    nb_lines = 0;
+    delete lines;
+}
+
+{ lines[nb_lines++] = $0; }
+
+END {
+    PKG = toupper( pkg );
+    nb_depends = 0;
+    delete depends;
+    for( i = 0; i < nb_lines; i++ ) {
+        if( lines[i] == "" ) {
+            break;
+        } else if( lines[i] ~ "^[[:space:]]+depends on BR2_PACKAGE_[^|&[:space:]]+$" ) {
+            pkg = gensub( "^[[:space:]]+depends on BR2_PACKAGE_([^[:space:]]+).*$",
+                          "\\1", "g", lines[i] );
+            depends[nb_depends++] = pkg;
+            printf( "\tdepends on BR2_PACKAGE_%s_AVAILABLE\n", pkg );
+        } else {
+            printf( "%s\n", lines[i] );
+        }
+    }
+
+    for( ; i < nb_lines; i++ ) {
+        printf( "%s\n", lines[i] );
+        if( lines[i] ~ "^(menu)?config BR2_PACKAGE_" PKG "$" ) {
+            while( lines[++i] !~ "^([[:space:]]+(select|help)|[[:space:]]*$)" ) {
+                printf( "%s\n", lines[i] );
+            }
+            break;
+        }
+    }
+
+    for( j=0; j < nb_depends; j++ ) {
+        printf( "\tselect BR2_PACKAGE_%s\n", depends[j] );
+    }
+
+    for( ; i < nb_lines; i++ ) {
+        printf( "%s\n", lines[i] );
+    }
+}
+'
+
+#-----------------------------------------------------------------------------
+# Check that all 'select' on packages have a corresponding 'depends on' the
+# corresponding _AVAILABLE symbol
+
+AWK_SCRIPT_CHECK='
+BEGIN {
+    nb_lines = 0;
+    delete lines;
+}
+
+{ lines[nb_lines++] = $0; }
+
+END {
+    PKG = toupper( pkg );
+    delete selects;
+
+    for( i = 0; i < nb_lines; i++ ) {
+        if( lines[i] ~ "^(menu)?config BR2_PACKAGE_" PKG "$" ) {
+            break;
+        }
+    }
+
+    for( ; i < nb_lines; i++ ) {
+        if( lines[i] ~ "^([[:space:]]+help|$)" ) {
+            break
+        } else if( lines[i] ~ "^[[:space:]]+select BR2_PACKAGE_[^|&[:space:]]+$" ) {
+            pkg = gensub( "^[[:space:]]+select BR2_PACKAGE_([^[:space:]]+)$",
+                          "\\1", "g", lines[i] );
+            selects[pkg] = 1;
+        }
+    }
+
+    for( i = 0; i < nb_lines; i++ ) {
+        printf( "%s\n", lines[i] );
+        if( lines[i] ~ "^config BR2_PACKAGE_" PKG "_AVAILABLE$" ) {
+            break;
+        }
+    }
+
+    for( i++; i < nb_lines; i++ ) {
+        if( lines[i] == "" ) {
+            break;
+        } else if( lines[i] ~ "^[[:space:]]+depends on BR2_PACKAGE_[^|&[:space:]]+_AVAILABLE$" ) {
+            pkg = gensub( "^[[:space:]]+depends on BR2_PACKAGE_([^[:space:]]+)_AVAILABLE$",
+                          "\\1", "g", lines[i] );
+            selects[pkg] = 0;
+        }
+        printf( "%s\n", lines[i] );
+    }
+
+    for( pkg in selects ) {
+        if( selects[pkg] == 1 ) {
+            printf( "\tdepends on BR2_PACKAGE_%s_AVAILABLE\n", toupper( pkg ) );
+        }
+    }
+
+    for( ; i < nb_lines; i++ ) {
+        printf( "%s\n", lines[i] );
+    }
+}
+'
+
+
+#-----------------------------------------------------------------------------
+
+munge_files() {
+    local awk_script="${1}"
+
+    find package -type f -name Config.in    \
+    |sort                                   \
+    |(while read in_file; do
+        pkg="${in_file%/*}"
+        pkg="${pkg##*/}"
+        i=${i:-0}
+        printf "\rMunging package %s (%d)...                                    \r"   \
+               "${pkg}" ${i}
+        gawk -v pkg="${pkg//-/_}" "${awk_script}" "${in_file}" >/tmp/Config.in
+        mv /tmp/Config.in "${in_file}"
+        i=$((i+1))
+      done
+      printf "\n"
+    )
+}
+
+# I have a local patch that updates the doc for the _AVAILABLE stuff,
+# and I want all munging patches to be pushed after that
+stg push -a >/dev/null 2>&1 || true
+
+# Add the _AVAILABLE symbols...
+cat >/tmp/commit.msg <<-_EOF_
+	packages: introduce the _AVAILABLE symbol to all packages
+	
+	Introducing this symbol to all packages will allow other packages
+	to both safely select a package, and inherit its dependency.
+	
+	Given two packages, the mechanism works as follow:
+	
+	    ---8<---
+	    config BR2_PKG_FOO_AVAILABLE
+	    	depends on BR2_LARGEFILE
+	
+	    config BR2_PKG_FOO
+	    	bool "foo"
+	    	depends on BR2_PKG_FOO_AVAILABLE
+	    ---8<---
+	
+	    ---8<---
+	    config BR2_PKG_BAR_AVAILABLE
+	    	def_bool y
+	    	depends on BR2_PKG_FOO_AVAILABLE
+	    	depends on BR2_HAS_THREADS
+	
+	    config BR2_PKG_BAR
+	        bool "bar"
+	    	depends on BR2_PKG_BAR_AVAILABLE
+	    	select BR2_PKG_FOO
+	    ---8<---
+	
+	In this case, the 'select' on package 'foo' from package 'bar' is possible,
+	because package 'bar' inherits, via the BR2_PKG_BAR_AVAILABLE symbol, the
+	same dependencies as package 'foo'. So, package 'bar' can not be visible
+	if package 'foo' is not (although 'bar' may be hidden because of other
+	dependencies of its own, missing threads in the example).
+	
+	This patch only introduces this new symbol for all packages, moves the
+	packages' dependencies to these new symbols, and makes each package depend
+	solely on this new symbol. Cross-package use of 'select' will be introduced
+	in a later patch.
+	
+	With the construct above, using 'select' is now safe.
+_EOF_
+stg new --sign -f /tmp/commit.msg pkg-add-available
+rm /tmp/commit.msg
+munge_files "${AWK_SCRIPT_ADD}"
+stg refresh
+
+# ... and use them, now! ;-)
+cat >/tmp/commit.msg <<-_EOF_
+	packages: use the newly-introduced _AVAILABLE symbol
+	
+	This patch transforms all 'depends on' on a package to a 'depends on'
+	the corresponding _AVAILABLE symbol, and adds a 'select' against the
+	dependant package.
+_EOF_
+stg new --sign -f /tmp/commit.msg pkg-use-available
+rm /tmp/commit.msg
+munge_files "${AWK_SCRIPT_USE}"
+stg refresh
+
+# Finally, check for missing 'depends on ..._AVAILABLE'
+cat >/tmp/commit.msg <<-_EOF_
+	packages: check proper use of 'select' against packages
+	
+	This patch checks that all 'select' on a package have a 'depends on'
+	on the corresponding _AVAILABLE symbol.
+_EOF_
+stg new --sign -f /tmp/commit.msg pkg-check-available
+rm /tmp/commit.msg
+munge_files "${AWK_SCRIPT_CHECK}"
+stg refresh
+
+# And eventually, get rid of ourselves (Seppuku!)
+cat >/tmp/commit.msg <<-_EOF_
+	script/support: get rid of now-useless pkg-avail script
+	
+	This script has done its job, and is no-longer needed.
+	RIP, script!
+_EOF_
+stg new --sign -f /tmp/commit.msg pkg-delete-pkg_avail
+rm /tmp/commit.msg
+rm -f support/scripts/pkg-avail
+git rm support/scripts/pkg-avail
+stg refresh
+
+# And eventually, get rid of ourselves (Seppuku!)
+
Signature · 1 line
1.7.2.5
#18 lore raw

PATCH 4/7 packages: introduce the _AVAILABLE symbol to all packages

In reply to Yann E. MORIN

Introducing this symbol to all packages will allow other packages to both safely select a package, and inherit its dependency.

Given two packages, the mechanism works as follow:

---8<---
config BR2_PKG_FOO_AVAILABLE
depends on BR2_LARGEFILE

config BR2_PKG_FOO
bool "foo"
depends on BR2_PKG_FOO_AVAILABLE
---8<---

---8<---
config BR2_PKG_BAR_AVAILABLE
def_bool y
depends on BR2_PKG_FOO_AVAILABLE
depends on BR2_HAS_THREADS

config BR2_PKG_BAR
bool "bar"
depends on BR2_PKG_BAR_AVAILABLE
select BR2_PKG_FOO
---8<---

In this case, the 'select' on package 'foo' from package 'bar' is possible, because package 'bar' inherits, via the BR2_PKG_BAR_AVAILABLE symbol, the same dependencies as package 'foo'. So, package 'bar' can not be visible if package 'foo' is not (although 'bar' may be hidden because of other dependencies of its own, missing threads in the example).

This patch only introduces this new symbol for all packages, moves the packages' dependencies to these new symbols, and makes each package depend solely on this new symbol. Cross-package use of 'select' will be introduced in a later patch.

With the construct above, using 'select' is now safe.

---
 package/acl/Config.in                              |    6 +++++-
 package/acpid/Config.in                            |    6 +++++-
 package/alsa-lib/Config.in                         |    4 ++++
 package/alsamixergui/Config.in                     |    6 +++++-
 package/apr-util/Config.in                         |    6 +++++-
 package/apr/Config.in                              |    6 +++++-
 package/argp-standalone/Config.in                  |    4 ++++
 package/argus/Config.in                            |    4 ++++
 package/at/Config.in                               |    6 +++++-
 package/atk/Config.in                              |    6 +++++-
 package/attr/Config.in                             |    6 +++++-
 package/audiofile/Config.in                        |    6 +++++-
 package/autoconf/Config.in                         |    4 ++++
 package/automake/Config.in                         |    4 ++++
 package/avahi/Config.in                            |    4 ++++
 package/axel/Config.in                             |    6 +++++-
 package/bash/Config.in                             |    6 +++++-
 package/beecrypt/Config.in                         |    6 +++++-
 package/berkeleydb/Config.in                       |    4 ++++
 package/bind/Config.in                             |   10 +++++++---
 package/binutils/Config.in                         |    4 ++++
 package/bison/Config.in                            |    8 ++++++--
 package/blackbox/Config.in                         |    8 ++++++--
 package/bluez_utils/Config.in                      |    8 ++++++--
 package/bmon/Config.in                             |    6 +++++-
 package/boa/Config.in                              |    4 ++++
 package/bonnie/Config.in                           |    8 ++++++--
 package/boost/Config.in                            |    6 +++++-
 package/bootutils/Config.in                        |    6 +++++-
 package/bridge-utils/Config.in                     |    4 ++++
 package/bsdiff/Config.in                           |    4 ++++
 package/busybox/Config.in                          |    4 ++++
 package/bwm-ng/Config.in                           |    4 ++++
 package/bzip2/Config.in                            |    4 ++++
 package/cairo/Config.in                            |    4 ++++
 package/can-utils/Config.in                        |    4 ++++
 package/ccache/Config.in                           |    4 ++++
 package/cdrkit/Config.in                           |    6 +++++-
 package/cgilua/Config.in                           |    4 ++++
 package/cifs-utils/Config.in                       |    6 +++++-
 package/cjson/Config.in                            |    4 ++++
 package/collectd/Config.in                         |    8 ++++++--
 package/connman/Config.in                          |   12 ++++++++----
 package/conntrack-tools/Config.in                  |    8 ++++++--
 package/copas/Config.in                            |    4 ++++
 package/coreutils/Config.in                        |    6 +++++-
 package/coxpcall/Config.in                         |    4 ++++
 package/cpuload/Config.in                          |    4 ++++
 package/cramfs/Config.in                           |    4 ++++
 package/ctorrent/Config.in                         |    6 +++++-
 package/cups/Config.in                             |    6 +++++-
 package/customize/Config.in                        |    6 +++++-
 package/cvs/Config.in                              |    6 +++++-
 package/dash/Config.in                             |    4 ++++
 package/dbus-glib/Config.in                        |    8 ++++++--
 package/dbus-python/Config.in                      |    8 ++++++--
 package/dbus/Config.in                             |    6 +++++-
 package/devmem2/Config.in                          |    4 ++++
 package/dhcp/Config.in                             |    6 +++++-
 package/dhcpdump/Config.in                         |    4 ++++
 package/dhrystone/Config.in                        |    4 ++++
 package/dialog/Config.in                           |    4 ++++
 package/diffutils/Config.in                        |    6 +++++-
 package/directfb-examples/Config.in                |    6 +++++-
 package/directfb/Config.in                         |    4 ++++
 package/distcc/Config.in                           |    6 +++++-
 package/divine/Config.in                           |    6 +++++-
 package/dmalloc/Config.in                          |    4 ++++
 package/dmidecode/Config.in                        |    6 +++++-
 package/dmraid/Config.in                           |    6 +++++-
 package/dnsmasq/Config.in                          |    4 ++++
 package/docker/Config.in                           |    8 ++++++--
 package/dosfstools/Config.in                       |    6 +++++-
 package/dropbear/Config.in                         |    4 ++++
 package/dsp-tools/Config.in                        |    6 +++++-
 package/dstat/Config.in                            |    6 +++++-
 package/e2fsprogs/Config.in                        |    8 ++++++--
 package/ebtables/Config.in                         |    6 +++++-
 package/ed/Config.in                               |    4 ++++
 package/eeprog/Config.in                           |    4 ++++
 package/efl/Config.in                              |    6 +++++-
 package/efl/expedite/Config.in                     |    6 +++++-
 package/efl/libecore/Config.in                     |    4 ++++
 package/efl/libedbus/Config.in                     |    6 +++++-
 package/efl/libedje/Config.in                      |    4 ++++
 package/efl/libeet/Config.in                       |    4 ++++
 package/efl/libefreet/Config.in                    |    4 ++++
 package/efl/libeina/Config.in                      |    4 ++++
 package/efl/libelementary/Config.in                |    4 ++++
 package/efl/libembryo/Config.in                    |    4 ++++
 package/efl/libethumb/Config.in                    |    4 ++++
 package/efl/libevas/Config.in                      |    4 ++++
 package/empty/Config.in                            |    4 ++++
 package/enchant/Config.in                          |    8 ++++++--
 package/erlang/Config.in                           |    4 ++++
 package/ethtool/Config.in                          |    4 ++++
 package/expat/Config.in                            |    4 ++++
 package/explorercanvas/Config.in                   |    4 ++++
 package/ezxml/Config.in                            |    4 ++++
 package/fbdump/Config.in                           |    4 ++++
 package/fbgrab/Config.in                           |    4 ++++
 package/fbset/Config.in                            |    4 ++++
 package/fbterm/Config.in                           |    6 +++++-
 package/fbv/Config.in                              |    4 ++++
 package/fconfig/Config.in                          |    4 ++++
 package/feh/Config.in                              |    6 +++++-
 package/fftw/Config.in                             |    4 ++++
 package/file/Config.in                             |    4 ++++
 package/findutils/Config.in                        |    6 +++++-
 package/fis/Config.in                              |    4 ++++
 package/flashrom/Config.in                         |    6 +++++-
 package/flex/Config.in                             |    4 ++++
 package/flot/Config.in                             |    4 ++++
 package/fltk/Config.in                             |    8 ++++++--
 package/fluxbox/Config.in                          |    8 ++++++--
 package/fmtools/Config.in                          |    4 ++++
 package/fontconfig/Config.in                       |    4 ++++
 package/freerdp/Config.in                          |    6 +++++-
 package/freetype/Config.in                         |    4 ++++
 package/gadgetfs-test/Config.in                    |    4 ++++
 package/games/doom-wad/Config.in                   |    6 +++++-
 package/games/gnuchess/Config.in                   |    6 +++++-
 package/games/prboom/Config.in                     |    4 ++++
 package/games/rubix/Config.in                      |    6 +++++-
 package/gamin/Config.in                            |    6 +++++-
 package/gawk/Config.in                             |    6 +++++-
 package/gdisk/Config.in                            |    8 ++++++--
 package/gdk-pixbuf/Config.in                       |    6 +++++-
 package/genext2fs/Config.in                        |    4 ++++
 package/genromfs/Config.in                         |    6 +++++-
 package/gettext/Config.in                          |    8 ++++++--
 package/giblib/Config.in                           |    6 +++++-
 package/glib-networking/Config.in                  |    6 +++++-
 package/gmp/Config.in                              |    4 ++++
 package/gmpc/Config.in                             |    8 ++++++--
 package/gnutls/Config.in                           |    6 +++++-
 package/gob2/Config.in                             |    8 ++++++--
 package/gperf/Config.in                            |    6 +++++-
 package/gpsd/Config.in                             |    6 +++++-
 package/gqview/Config.in                           |    6 +++++-
 package/grep/Config.in                             |    6 +++++-
 package/gsl/Config.in                              |    4 ++++
 package/gtk2-engines/Config.in                     |    6 +++++-
 package/gtk2-themes/gtk2-theme-hicolor/Config.in   |    4 ++++
 package/gtkperf/Config.in                          |    6 +++++-
 package/gvfs/Config.in                             |    8 ++++++--
 package/gzip/Config.in                             |    6 +++++-
 package/haserl/Config.in                           |    4 ++++
 package/hdparm/Config.in                           |    6 +++++-
 package/heirloom-mailx/Config.in                   |    4 ++++
 package/hiawatha/Config.in                         |    4 ++++
 package/hostapd/Config.in                          |    6 +++++-
 package/htop/Config.in                             |    4 ++++
 package/hwdata/Config.in                           |    4 ++++
 package/i2c-tools/Config.in                        |    4 ++++
 package/icu/Config.in                              |    8 ++++++--
 package/ifplugd/Config.in                          |    4 ++++
 package/igh-ethercat/Config.in                     |    6 +++++-
 package/imagemagick/Config.in                      |    4 ++++
 package/imlib2/Config.in                           |    4 ++++
 package/inadyn/Config.in                           |    4 ++++
 package/inotify-tools/Config.in                    |    6 +++++-
 package/input-event-daemon/Config.in               |    6 +++++-
 package/input-tools/Config.in                      |    4 ++++
 package/intltool/Config.in                         |    8 ++++++--
 package/iostat/Config.in                           |    4 ++++
 package/iperf/Config.in                            |    8 ++++++--
 package/ipkg/Config.in                             |    4 ++++
 package/iproute2/Config.in                         |    4 ++++
 package/ipsec-tools/Config.in                      |    4 ++++
 package/ipset/Config.in                            |    6 +++++-
 package/iptables/Config.in                         |    4 ++++
 package/irda-utils/Config.in                       |    4 ++++
 package/iw/Config.in                               |    6 +++++-
 package/jpeg/Config.in                             |    4 ++++
 package/jquery-sparkline/Config.in                 |    4 ++++
 package/jquery-validation/Config.in                |    4 ++++
 package/jquery/Config.in                           |    4 ++++
 package/jsmin/Config.in                            |    4 ++++
 package/json-c/Config.in                           |    4 ++++
 package/kbd/Config.in                              |    6 +++++-
 package/kexec/Config.in                            |    4 ++++
 package/kismet/Config.in                           |    6 +++++-
 package/kmod/Config.in                             |    4 ++++
 package/latencytop/Config.in                       |    6 +++++-
 package/lcdproc/Config.in                          |    4 ++++
 package/leafpad/Config.in                          |    6 +++++-
 package/less/Config.in                             |    4 ++++
 package/libaio/Config.in                           |    8 ++++++--
 package/libao/Config.in                            |    4 ++++
 package/libarchive/Config.in                       |    6 +++++-
 package/libargtable2/Config.in                     |    4 ++++
 package/libart/Config.in                           |    4 ++++
 package/libatomic_ops/Config.in                    |    6 +++++-
 package/libcap-ng/Config.in                        |    4 ++++
 package/libcap/Config.in                           |    4 ++++
 package/libcdaudio/Config.in                       |    4 ++++
 package/libcgi/Config.in                           |    4 ++++
 package/libcgicc/Config.in                         |    6 +++++-
 package/libconfig/Config.in                        |    4 ++++
 package/libconfuse/Config.in                       |    4 ++++
 package/libcue/Config.in                           |    4 ++++
 package/libcuefile/Config.in                       |    4 ++++
 package/libcurl/Config.in                          |    4 ++++
 package/libdaemon/Config.in                        |    4 ++++
 package/libdmtx/Config.in                          |    4 ++++
 package/libdnet/Config.in                          |    4 ++++
 package/libdrm/Config.in                           |    8 ++++++--
 package/libdvdnav/Config.in                        |    6 +++++-
 package/libdvdread/Config.in                       |    6 +++++-
 package/libeXosip2/Config.in                       |    4 ++++
 package/libelf/Config.in                           |    4 ++++
 package/liberation/Config.in                       |    4 ++++
 package/libesmtp/Config.in                         |    4 ++++
 package/libev/Config.in                            |    4 ++++
 package/libevent/Config.in                         |    4 ++++
 package/libexif/Config.in                          |    4 ++++
 package/libfcgi/Config.in                          |    4 ++++
 package/libffi/Config.in                           |    4 ++++
 package/libfreefare/Config.in                      |    6 +++++-
 package/libftdi/Config.in                          |    6 +++++-
 package/libfuse/Config.in                          |    6 +++++-
 package/libgail/Config.in                          |    6 +++++-
 package/libgcrypt/Config.in                        |    4 ++++
 package/libgeotiff/Config.in                       |    4 ++++
 package/libglade/Config.in                         |    8 ++++++--
 package/libglib2/Config.in                         |    6 +++++-
 package/libgpg-error/Config.in                     |    4 ++++
 package/libgtk2/Config.in                          |   10 +++++++---
 package/libhid/Config.in                           |    6 +++++-
 package/libical/Config.in                          |    6 +++++-
 package/libiconv/Config.in                         |    6 +++++-
 package/libid3tag/Config.in                        |    4 ++++
 package/libidn/Config.in                           |    4 ++++
 package/libiqrf/Config.in                          |    6 +++++-
 package/liblo/Config.in                            |    6 +++++-
 package/liblockfile/Config.in                      |    4 ++++
 package/libmad/Config.in                           |    4 ++++
 package/libmbus/Config.in                          |    4 ++++
 package/libmicrohttpd/Config.in                    |    4 ++++
 package/libmms/Config.in                           |    6 +++++-
 package/libmnl/Config.in                           |    6 +++++-
 package/libmodbus/Config.in                        |    4 ++++
 package/libmpd/Config.in                           |    6 +++++-
 package/libmpeg2/Config.in                         |    4 ++++
 package/libnetfilter_conntrack/Config.in           |    4 ++++
 package/libnetfilter_cttimeout/Config.in           |    6 +++++-
 package/libnfc-llcp/Config.in                      |    6 +++++-
 package/libnfc/Config.in                           |    6 +++++-
 package/libnfnetlink/Config.in                     |    4 ++++
 package/libnl/Config.in                            |    6 +++++-
 package/libnspr/Config.in                          |    6 +++++-
 package/libnss/Config.in                           |    6 +++++-
 package/liboauth/Config.in                         |    4 ++++
 package/libogg/Config.in                           |    4 ++++
 package/liboping/Config.in                         |    6 +++++-
 package/libosip2/Config.in                         |    4 ++++
 package/libpcap/Config.in                          |    4 ++++
 package/libplayer/Config.in                        |    6 +++++-
 package/libpng/Config.in                           |    4 ++++
 package/libraw/Config.in                           |    6 +++++-
 package/libraw1394/Config.in                       |    4 ++++
 package/libreplaygain/Config.in                    |    4 ++++
 package/libroxml/Config.in                         |    4 ++++
 package/librsvg/Config.in                          |    8 ++++++--
 package/librsync/Config.in                         |    4 ++++
 package/libsamplerate/Config.in                    |    4 ++++
 package/libsexy/Config.in                          |    6 +++++-
 package/libsigc/Config.in                          |    6 +++++-
 package/libsndfile/Config.in                       |    4 ++++
 package/libsoup/Config.in                          |    6 +++++-
 package/libsvgtiny/Config.in                       |    4 ++++
 package/libsysfs/Config.in                         |    4 ++++
 package/libtheora/Config.in                        |    4 ++++
 package/libtool/Config.in                          |    4 ++++
 package/libtorrent/Config.in                       |    6 +++++-
 package/libtpl/Config.in                           |    4 ++++
 package/libungif/Config.in                         |    4 ++++
 package/libupnp/Config.in                          |    6 +++++-
 package/liburcu/Config.in                          |    6 +++++-
 package/libusb-compat/Config.in                    |    6 +++++-
 package/libusb/Config.in                           |    6 +++++-
 package/libv4l/Config.in                           |    6 +++++-
 package/libvncserver/Config.in                     |    4 ++++
 package/libvorbis/Config.in                        |    4 ++++
 package/libxml-parser-perl/Config.in               |    6 +++++-
 package/libxml2/Config.in                          |    4 ++++
 package/libxslt/Config.in                          |    4 ++++
 package/libyaml/Config.in                          |    4 ++++
 package/lighttpd/Config.in                         |    4 ++++
 package/links/Config.in                            |    4 ++++
 package/linphone/Config.in                         |    6 +++++-
 package/linux-firmware/Config.in                   |    4 ++++
 package/linux-fusion/Config.in                     |    6 +++++-
 package/linux-pam/Config.in                        |    6 +++++-
 package/lite/Config.in                             |    6 +++++-
 package/live555/Config.in                          |    6 +++++-
 package/lm-sensors/Config.in                       |    4 ++++
 package/lmbench/Config.in                          |    6 +++++-
 package/lockfile-progs/Config.in                   |    4 ++++
 package/logrotate/Config.in                        |    6 +++++-
 package/logsurfer/Config.in                        |    4 ++++
 package/lrzsz/Config.in                            |    4 ++++
 package/lshw/Config.in                             |    8 ++++++--
 package/lsof/Config.in                             |    4 ++++
 package/lsuio/Config.in                            |    4 ++++
 package/ltp-testsuite/Config.in                    |    6 +++++-
 package/ltrace/Config.in                           |    6 +++++-
 package/lttng-babeltrace/Config.in                 |   10 +++++++---
 package/lttng-libust/Config.in                     |   10 +++++++---
 package/lttng-modules/Config.in                    |    6 +++++-
 package/lttng-tools/Config.in                      |    8 ++++++--
 package/lua/Config.in                              |    4 ++++
 package/luacjson/Config.in                         |    4 ++++
 package/luaexpat/Config.in                         |    4 ++++
 package/luafilesystem/Config.in                    |    4 ++++
 package/luajit/Config.in                           |    6 +++++-
 package/luasocket/Config.in                        |    4 ++++
 package/lvm2/Config.in                             |    6 +++++-
 package/lzma/Config.in                             |    8 ++++++--
 package/lzo/Config.in                              |    4 ++++
 package/lzop/Config.in                             |    4 ++++
 package/m4/Config.in                               |    8 ++++++--
 package/make/Config.in                             |    4 ++++
 package/makedevs/Config.in                         |    6 +++++-
 package/matchbox/Config.in                         |    6 +++++-
 package/mdadm/Config.in                            |    4 ++++
 package/mediastreamer/Config.in                    |    6 +++++-
 package/memstat/Config.in                          |    4 ++++
 package/memtester/Config.in                        |    6 +++++-
 package/metacity/Config.in                         |    8 ++++++--
 package/microperl/Config.in                        |    6 +++++-
 package/midori/Config.in                           |   10 +++++++---
 package/mii-diag/Config.in                         |    4 ++++
 package/minicom/Config.in                          |    6 +++++-
 package/mobile-broadband-provider-info/Config.in   |    4 ++++
 package/module-init-tools/Config.in                |    4 ++++
 package/monit/Config.in                            |    4 ++++
 package/mpc/Config.in                              |    4 ++++
 package/mpfr/Config.in                             |    4 ++++
 package/mrouted/Config.in                          |    4 ++++
 package/msmtp/Config.in                            |    4 ++++
 package/mtd/Config.in                              |    4 ++++
 package/mtdev/Config.in                            |    4 ++++
 package/mtdev2tuio/Config.in                       |    6 +++++-
 package/multimedia/alsa-utils/Config.in            |    6 +++++-
 package/multimedia/aumix/Config.in                 |    4 ++++
 package/multimedia/bellagio/Config.in              |    6 +++++-
 package/multimedia/faad2/Config.in                 |    4 ++++
 package/multimedia/ffmpeg/Config.in                |    8 ++++++--
 package/multimedia/flac/Config.in                  |    4 ++++
 package/multimedia/gst-dsp/Config.in               |    6 +++++-
 package/multimedia/gst-ffmpeg/Config.in            |   10 +++++++---
 package/multimedia/gst-omapfb/Config.in            |    6 +++++-
 package/multimedia/gst-plugins-bad/Config.in       |    6 +++++-
 package/multimedia/gst-plugins-base/Config.in      |    6 +++++-
 package/multimedia/gst-plugins-good/Config.in      |    6 +++++-
 package/multimedia/gst-plugins-ugly/Config.in      |    6 +++++-
 package/multimedia/gstreamer/Config.in             |    6 +++++-
 package/multimedia/lame/Config.in                  |    4 ++++
 package/multimedia/madplay/Config.in               |    4 ++++
 package/multimedia/mpd/Config.in                   |    8 ++++++--
 package/multimedia/mpg123/Config.in                |    4 ++++
 package/multimedia/mplayer/Config.in               |    4 ++++
 package/multimedia/musepack/Config.in              |    4 ++++
 package/multimedia/pulseaudio/Config.in            |    6 +++++-
 package/multimedia/tidsp-binaries/Config.in        |    6 +++++-
 package/multimedia/vorbis-tools/Config.in          |    4 ++++
 package/multimedia/wavpack/Config.in               |    4 ++++
 package/mutt/Config.in                             |    6 +++++-
 package/mxml/Config.in                             |    4 ++++
 package/mysql_client/Config.in                     |    6 +++++-
 package/nano/Config.in                             |    4 ++++
 package/nanocom/Config.in                          |    4 ++++
 package/nbd/Config.in                              |    6 +++++-
 package/ncftp/Config.in                            |    6 +++++-
 package/ncurses/Config.in                          |    4 ++++
 package/ndisc6/Config.in                           |    6 +++++-
 package/neon/Config.in                             |    4 ++++
 package/netatalk/Config.in                         |    4 ++++
 package/netcat/Config.in                           |    4 ++++
 package/netkitbase/Config.in                       |    6 +++++-
 package/netkittelnet/Config.in                     |    6 +++++-
 package/netperf/Config.in                          |    4 ++++
 package/netplug/Config.in                          |    4 ++++
 package/netsnmp/Config.in                          |    4 ++++
 package/netstat-nat/Config.in                      |    4 ++++
 package/network-manager/Config.in                  |   10 +++++++---
 package/newt/Config.in                             |    4 ++++
 package/nfs-utils/Config.in                        |    8 ++++++--
 package/ngircd/Config.in                           |    4 ++++
 package/ngrep/Config.in                            |    4 ++++
 package/noip/Config.in                             |    4 ++++
 package/nss-mdns/Config.in                         |    8 ++++++--
 package/ntfs-3g/Config.in                          |    8 ++++++--
 package/ntp/Config.in                              |    4 ++++
 package/nuttcp/Config.in                           |    4 ++++
 package/ocf-linux/Config.in                        |    4 ++++
 package/ofono/Config.in                            |    8 ++++++--
 package/olsr/Config.in                             |    6 +++++-
 package/open2300/Config.in                         |    4 ++++
 package/opencv/Config.in                           |    8 ++++++--
 package/openntpd/Config.in                         |    6 +++++-
 package/openocd/Config.in                          |    6 +++++-
 package/openssh/Config.in                          |    4 ++++
 package/openssl/Config.in                          |    4 ++++
 package/openswan/Config.in                         |    4 ++++
 package/openvpn/Config.in                          |    4 ++++
 package/opkg/Config.in                             |    4 ++++
 package/oprofile/Config.in                         |    6 +++++-
 package/orc/Config.in                              |    4 ++++
 package/ortp/Config.in                             |    4 ++++
 package/owl-linux/Config.in                        |    8 ++++++--
 package/pango/Config.in                            |    8 ++++++--
 package/parted/Config.in                           |    8 ++++++--
 package/patch/Config.in                            |    6 +++++-
 package/pciutils/Config.in                         |    4 ++++
 package/pcmanfm/Config.in                          |   10 +++++++---
 package/pcre/Config.in                             |    4 ++++
 package/php/Config.in                              |    4 ++++
 package/picocom/Config.in                          |    4 ++++
 package/pixman/Config.in                           |    4 ++++
 package/pkg-config/Config.in                       |    6 +++++-
 package/poco/Config.in                             |    8 ++++++--
 package/polarssl/Config.in                         |    4 ++++
 package/popt/Config.in                             |    4 ++++
 package/portaudio/Config.in                        |    4 ++++
 package/portmap/Config.in                          |    6 +++++-
 package/pppd/Config.in                             |    4 ++++
 package/pptp-linux/Config.in                       |    4 ++++
 package/procps/Config.in                           |    4 ++++
 package/proftpd/Config.in                          |    4 ++++
 package/protobuf/Config.in                         |    6 +++++-
 package/psmisc/Config.in                           |    4 ++++
 package/pv/Config.in                               |    4 ++++
 package/python-dpkt/Config.in                      |    6 +++++-
 package/python-id3/Config.in                       |    6 +++++-
 package/python-mad/Config.in                       |    6 +++++-
 package/python-meld3/Config.in                     |    6 +++++-
 package/python-netifaces/Config.in                 |    6 +++++-
 package/python-nfc/Config.in                       |    6 +++++-
 package/python-pygame/Config.in                    |    6 +++++-
 package/python-serial/Config.in                    |    6 +++++-
 package/python-setuptools/Config.in                |    6 +++++-
 package/python/Config.in                           |    6 +++++-
 package/qt/Config.in                               |    6 +++++-
 package/quagga/Config.in                           |    4 ++++
 package/quota/Config.in                            |    8 ++++++--
 package/radvd/Config.in                            |    6 +++++-
 package/ramspeed/Config.in                         |    4 ++++
 package/rdesktop/Config.in                         |    6 +++++-
 package/read-edid/Config.in                        |    6 +++++-
 package/readline/Config.in                         |    4 ++++
 package/rings/Config.in                            |    4 ++++
 package/rng-tools/Config.in                        |    4 ++++
 package/rp-pppoe/Config.in                         |    6 +++++-
 package/rpm/Config.in                              |   10 +++++++---
 package/rrdtool/Config.in                          |    6 +++++-
 package/rsh-redone/Config.in                       |    4 ++++
 package/rsync/Config.in                            |    6 +++++-
 package/rsyslog/Config.in                          |    4 ++++
 package/rt-tests/Config.in                         |    4 ++++
 package/rtai/Config.in                             |    6 +++++-
 package/rtorrent/Config.in                         |    8 ++++++--
 package/ruby/Config.in                             |    6 +++++-
 package/samba/Config.in                            |    4 ++++
 package/sane-backends/Config.in                    |    4 ++++
 package/sawman/Config.in                           |    6 +++++-
 package/screen/Config.in                           |    4 ++++
 package/sdl/Config.in                              |    4 ++++
 package/sdl_gfx/Config.in                          |    6 +++++-
 package/sdl_image/Config.in                        |    6 +++++-
 package/sdl_mixer/Config.in                        |    6 +++++-
 package/sdl_net/Config.in                          |    6 +++++-
 package/sdl_sound/Config.in                        |    6 +++++-
 package/sdl_ttf/Config.in                          |    6 +++++-
 package/sdparm/Config.in                           |    4 ++++
 package/sed/Config.in                              |    6 +++++-
 package/ser2net/Config.in                          |    4 ++++
 package/setserial/Config.in                        |    6 +++++-
 package/shared-mime-info/Config.in                 |    6 +++++-
 package/slang/Config.in                            |    4 ++++
 package/smartmontools/Config.in                    |    6 +++++-
 package/socat/Config.in                            |    4 ++++
 package/socketcand/Config.in                       |    4 ++++
 package/sound-theme-borealis/Config.in             |    4 ++++
 package/sound-theme-freedesktop/Config.in          |    4 ++++
 package/spawn-fcgi/Config.in                       |    4 ++++
 package/speex/Config.in                            |    4 ++++
 package/sqlcipher/Config.in                        |    6 +++++-
 package/sqlite/Config.in                           |    4 ++++
 package/squashfs/Config.in                         |    8 ++++++--
 package/squashfs3/Config.in                        |    8 ++++++--
 package/squid/Config.in                            |    8 ++++++--
 package/sredird/Config.in                          |    4 ++++
 package/sshfs/Config.in                            |    8 ++++++--
 package/sstrip/Config.in                           |    4 ++++
 package/startup-notification/Config.in             |    6 +++++-
 package/statserial/Config.in                       |    4 ++++
 package/strace/Config.in                           |    4 ++++
 package/stress/Config.in                           |    4 ++++
 package/stunnel/Config.in                          |    4 ++++
 package/sudo/Config.in                             |    6 +++++-
 package/supervisor/Config.in                       |    6 +++++-
 package/sylpheed/Config.in                         |    6 +++++-
 package/synergy/Config.in                          |    8 ++++++--
 package/sysklogd/Config.in                         |    6 +++++-
 package/sysprof/Config.in                          |    8 ++++++--
 package/sysstat/Config.in                          |    6 +++++-
 package/systemd/Config.in                          |    8 ++++++--
 package/sysvinit/Config.in                         |    4 ++++
 package/taglib/Config.in                           |    6 +++++-
 package/tar/Config.in                              |    6 +++++-
 package/tcl/Config.in                              |    4 ++++
 package/tcpdump/Config.in                          |    4 ++++
 package/tcpreplay/Config.in                        |    4 ++++
 package/tftpd/Config.in                            |    4 ++++
 package/thttpd/Config.in                           |    4 ++++
 package/ti-utils/Config.in                         |    6 +++++-
 package/tiff/Config.in                             |    4 ++++
 package/tinyhttpd/Config.in                        |    4 ++++
 package/tn5250/Config.in                           |    4 ++++
 package/torsmo/Config.in                           |    6 +++++-
 package/transmission/Config.in                     |    6 +++++-
 package/tremor/Config.in                           |    4 ++++
 package/tslib/Config.in                            |    4 ++++
 package/ttcp/Config.in                             |    6 +++++-
 package/uboot-tools/Config.in                      |    4 ++++
 package/udev/Config.in                             |    8 ++++++--
 package/udpcast/Config.in                          |    6 +++++-
 package/uemacs/Config.in                           |    4 ++++
 package/unionfs/Config.in                          |    6 +++++-
 package/usb_modeswitch/Config.in                   |    6 +++++-
 package/usb_modeswitch_data/Config.in              |    4 ++++
 package/usbmount/Config.in                         |    8 ++++++--
 package/usbutils/Config.in                         |    6 +++++-
 package/ushare/Config.in                           |    6 +++++-
 package/util-linux/Config.in                       |    8 ++++++--
 package/vala/Config.in                             |    6 +++++-
 package/valgrind/Config.in                         |    8 ++++++--
 package/vim/Config.in                              |    4 ++++
 package/vpnc/Config.in                             |    4 ++++
 package/vsftpd/Config.in                           |    4 ++++
 package/vtun/Config.in                             |    4 ++++
 package/webkit/Config.in                           |    8 ++++++--
 package/webrtc-audio-processing/Config.in          |    8 ++++++--
 package/wget/Config.in                             |    8 ++++++--
 package/whetstone/Config.in                        |    4 ++++
 package/which/Config.in                            |    4 ++++
 package/wipe/Config.in                             |    4 ++++
 package/wireless_tools/Config.in                   |    4 ++++
 package/wpa_supplicant/Config.in                   |    4 ++++
 package/wsapi/Config.in                            |    4 ++++
 package/x11r7/libxcb/Config.in                     |    4 ++++
 package/x11r7/mcookie/Config.in                    |    4 ++++
 package/x11r7/mesa3d/Config.in                     |    8 ++++++--
 package/x11r7/pthread-stubs/Config.in              |    4 ++++
 package/x11r7/xapp_appres/Config.in                |    4 ++++
 package/x11r7/xapp_bdftopcf/Config.in              |    4 ++++
 package/x11r7/xapp_beforelight/Config.in           |    4 ++++
 package/x11r7/xapp_bitmap/Config.in                |    4 ++++
 package/x11r7/xapp_editres/Config.in               |    4 ++++
 package/x11r7/xapp_fonttosfnt/Config.in            |    4 ++++
 package/x11r7/xapp_fslsfonts/Config.in             |    4 ++++
 package/x11r7/xapp_fstobdf/Config.in               |    4 ++++
 package/x11r7/xapp_iceauth/Config.in               |    4 ++++
 package/x11r7/xapp_ico/Config.in                   |    4 ++++
 package/x11r7/xapp_listres/Config.in               |    4 ++++
 package/x11r7/xapp_luit/Config.in                  |    4 ++++
 package/x11r7/xapp_mkfontdir/Config.in             |    4 ++++
 package/x11r7/xapp_mkfontscale/Config.in           |    4 ++++
 package/x11r7/xapp_oclock/Config.in                |    4 ++++
 package/x11r7/xapp_rgb/Config.in                   |    4 ++++
 package/x11r7/xapp_rstart/Config.in                |    4 ++++
 package/x11r7/xapp_scripts/Config.in               |    4 ++++
 package/x11r7/xapp_sessreg/Config.in               |    4 ++++
 package/x11r7/xapp_setxkbmap/Config.in             |    4 ++++
 package/x11r7/xapp_showfont/Config.in              |    4 ++++
 package/x11r7/xapp_smproxy/Config.in               |    4 ++++
 package/x11r7/xapp_twm/Config.in                   |    4 ++++
 package/x11r7/xapp_viewres/Config.in               |    4 ++++
 package/x11r7/xapp_x11perf/Config.in               |    4 ++++
 package/x11r7/xapp_xauth/Config.in                 |    4 ++++
 package/x11r7/xapp_xbacklight/Config.in            |    4 ++++
 package/x11r7/xapp_xbiff/Config.in                 |    4 ++++
 package/x11r7/xapp_xcalc/Config.in                 |    4 ++++
 package/x11r7/xapp_xclipboard/Config.in            |    4 ++++
 package/x11r7/xapp_xclock/Config.in                |    4 ++++
 package/x11r7/xapp_xcmsdb/Config.in                |    4 ++++
 package/x11r7/xapp_xcursorgen/Config.in            |    4 ++++
 package/x11r7/xapp_xdbedizzy/Config.in             |    4 ++++
 package/x11r7/xapp_xditview/Config.in              |    4 ++++
 package/x11r7/xapp_xdm/Config.in                   |    4 ++++
 package/x11r7/xapp_xdpyinfo/Config.in              |    4 ++++
 package/x11r7/xapp_xdriinfo/Config.in              |    6 +++++-
 package/x11r7/xapp_xedit/Config.in                 |    4 ++++
 package/x11r7/xapp_xev/Config.in                   |    4 ++++
 package/x11r7/xapp_xeyes/Config.in                 |    4 ++++
 package/x11r7/xapp_xf86dga/Config.in               |    4 ++++
 package/x11r7/xapp_xfd/Config.in                   |    4 ++++
 package/x11r7/xapp_xfontsel/Config.in              |    4 ++++
 package/x11r7/xapp_xfs/Config.in                   |    4 ++++
 package/x11r7/xapp_xfsinfo/Config.in               |    4 ++++
 package/x11r7/xapp_xgamma/Config.in                |    4 ++++
 package/x11r7/xapp_xgc/Config.in                   |    4 ++++
 package/x11r7/xapp_xhost/Config.in                 |    4 ++++
 package/x11r7/xapp_xinit/Config.in                 |    4 ++++
 package/x11r7/xapp_xinput/Config.in                |    4 ++++
 package/x11r7/xapp_xinput_calibrator/Config.in     |    6 +++++-
 package/x11r7/xapp_xkbcomp/Config.in               |    4 ++++
 package/x11r7/xapp_xkbevd/Config.in                |    4 ++++
 package/x11r7/xapp_xkbprint/Config.in              |    4 ++++
 package/x11r7/xapp_xkbutils/Config.in              |    4 ++++
 package/x11r7/xapp_xkill/Config.in                 |    4 ++++
 package/x11r7/xapp_xload/Config.in                 |    4 ++++
 package/x11r7/xapp_xlogo/Config.in                 |    4 ++++
 package/x11r7/xapp_xlsatoms/Config.in              |    4 ++++
 package/x11r7/xapp_xlsclients/Config.in            |    4 ++++
 package/x11r7/xapp_xlsfonts/Config.in              |    4 ++++
 package/x11r7/xapp_xmag/Config.in                  |    4 ++++
 package/x11r7/xapp_xman/Config.in                  |    4 ++++
 package/x11r7/xapp_xmessage/Config.in              |    4 ++++
 package/x11r7/xapp_xmh/Config.in                   |    4 ++++
 package/x11r7/xapp_xmodmap/Config.in               |    4 ++++
 package/x11r7/xapp_xmore/Config.in                 |    4 ++++
 package/x11r7/xapp_xplsprinters/Config.in          |    4 ++++
 package/x11r7/xapp_xpr/Config.in                   |    4 ++++
 package/x11r7/xapp_xprehashprinterlist/Config.in   |    4 ++++
 package/x11r7/xapp_xprop/Config.in                 |    4 ++++
 package/x11r7/xapp_xrandr/Config.in                |    4 ++++
 package/x11r7/xapp_xrdb/Config.in                  |    4 ++++
 package/x11r7/xapp_xrefresh/Config.in              |    4 ++++
 package/x11r7/xapp_xset/Config.in                  |    4 ++++
 package/x11r7/xapp_xsetmode/Config.in              |    4 ++++
 package/x11r7/xapp_xsetpointer/Config.in           |    4 ++++
 package/x11r7/xapp_xsetroot/Config.in              |    4 ++++
 package/x11r7/xapp_xsm/Config.in                   |    4 ++++
 package/x11r7/xapp_xstdcmap/Config.in              |    4 ++++
 package/x11r7/xapp_xvidtune/Config.in              |    4 ++++
 package/x11r7/xapp_xvinfo/Config.in                |    4 ++++
 package/x11r7/xapp_xwd/Config.in                   |    4 ++++
 package/x11r7/xapp_xwininfo/Config.in              |    4 ++++
 package/x11r7/xapp_xwud/Config.in                  |    4 ++++
 package/x11r7/xcb-proto/Config.in                  |    4 ++++
 package/x11r7/xcb-util/Config.in                   |    4 ++++
 package/x11r7/xdata_xbitmaps/Config.in             |    4 ++++
 package/x11r7/xdata_xcursor-themes/Config.in       |    4 ++++
 package/x11r7/xdriver_xf86-input-acecad/Config.in  |    4 ++++
 package/x11r7/xdriver_xf86-input-aiptek/Config.in  |    4 ++++
 package/x11r7/xdriver_xf86-input-evdev/Config.in   |    4 ++++
 .../x11r7/xdriver_xf86-input-joystick/Config.in    |    4 ++++
 .../x11r7/xdriver_xf86-input-keyboard/Config.in    |    4 ++++
 package/x11r7/xdriver_xf86-input-mouse/Config.in   |    4 ++++
 .../x11r7/xdriver_xf86-input-synaptics/Config.in   |    4 ++++
 package/x11r7/xdriver_xf86-input-tslib/Config.in   |    4 ++++
 package/x11r7/xdriver_xf86-input-vmmouse/Config.in |    6 +++++-
 package/x11r7/xdriver_xf86-input-void/Config.in    |    4 ++++
 package/x11r7/xdriver_xf86-video-apm/Config.in     |    4 ++++
 package/x11r7/xdriver_xf86-video-ark/Config.in     |    4 ++++
 package/x11r7/xdriver_xf86-video-ast/Config.in     |    4 ++++
 package/x11r7/xdriver_xf86-video-ati/Config.in     |    4 ++++
 package/x11r7/xdriver_xf86-video-chips/Config.in   |    4 ++++
 package/x11r7/xdriver_xf86-video-cirrus/Config.in  |    4 ++++
 package/x11r7/xdriver_xf86-video-dummy/Config.in   |    4 ++++
 package/x11r7/xdriver_xf86-video-fbdev/Config.in   |    4 ++++
 package/x11r7/xdriver_xf86-video-geode/Config.in   |    4 ++++
 package/x11r7/xdriver_xf86-video-glide/Config.in   |    6 +++++-
 package/x11r7/xdriver_xf86-video-glint/Config.in   |    4 ++++
 package/x11r7/xdriver_xf86-video-i128/Config.in    |    4 ++++
 package/x11r7/xdriver_xf86-video-i740/Config.in    |    4 ++++
 package/x11r7/xdriver_xf86-video-intel/Config.in   |    4 ++++
 package/x11r7/xdriver_xf86-video-mach64/Config.in  |    4 ++++
 package/x11r7/xdriver_xf86-video-mga/Config.in     |    4 ++++
 .../x11r7/xdriver_xf86-video-neomagic/Config.in    |    4 ++++
 package/x11r7/xdriver_xf86-video-newport/Config.in |    4 ++++
 package/x11r7/xdriver_xf86-video-nv/Config.in      |    4 ++++
 .../x11r7/xdriver_xf86-video-openchrome/Config.in  |    4 ++++
 package/x11r7/xdriver_xf86-video-r128/Config.in    |    4 ++++
 .../x11r7/xdriver_xf86-video-rendition/Config.in   |    4 ++++
 package/x11r7/xdriver_xf86-video-s3/Config.in      |    4 ++++
 package/x11r7/xdriver_xf86-video-s3virge/Config.in |    4 ++++
 package/x11r7/xdriver_xf86-video-savage/Config.in  |    4 ++++
 .../xdriver_xf86-video-siliconmotion/Config.in     |    4 ++++
 package/x11r7/xdriver_xf86-video-sis/Config.in     |    4 ++++
 package/x11r7/xdriver_xf86-video-sisusb/Config.in  |    4 ++++
 package/x11r7/xdriver_xf86-video-suncg14/Config.in |    4 ++++
 package/x11r7/xdriver_xf86-video-suncg3/Config.in  |    4 ++++
 package/x11r7/xdriver_xf86-video-suncg6/Config.in  |    4 ++++
 package/x11r7/xdriver_xf86-video-sunffb/Config.in  |    4 ++++
 package/x11r7/xdriver_xf86-video-sunleo/Config.in  |    4 ++++
 package/x11r7/xdriver_xf86-video-suntcx/Config.in  |    4 ++++
 package/x11r7/xdriver_xf86-video-tdfx/Config.in    |    4 ++++
 package/x11r7/xdriver_xf86-video-tga/Config.in     |    4 ++++
 package/x11r7/xdriver_xf86-video-trident/Config.in |    4 ++++
 package/x11r7/xdriver_xf86-video-tseng/Config.in   |    4 ++++
 package/x11r7/xdriver_xf86-video-v4l/Config.in     |    4 ++++
 package/x11r7/xdriver_xf86-video-vesa/Config.in    |    4 ++++
 package/x11r7/xdriver_xf86-video-vmware/Config.in  |    4 ++++
 package/x11r7/xdriver_xf86-video-voodoo/Config.in  |    4 ++++
 package/x11r7/xdriver_xf86-video-wsfb/Config.in    |    6 +++++-
 package/x11r7/xdriver_xf86-video-xgi/Config.in     |    4 ++++
 package/x11r7/xdriver_xf86-video-xgixp/Config.in   |    4 ++++
 package/x11r7/xfont_encodings/Config.in            |    4 ++++
 package/x11r7/xfont_font-adobe-100dpi/Config.in    |    4 ++++
 package/x11r7/xfont_font-adobe-75dpi/Config.in     |    4 ++++
 .../x11r7/xfont_font-adobe-utopia-100dpi/Config.in |    4 ++++
 .../x11r7/xfont_font-adobe-utopia-75dpi/Config.in  |    4 ++++
 .../x11r7/xfont_font-adobe-utopia-type1/Config.in  |    4 ++++
 package/x11r7/xfont_font-alias/Config.in           |    4 ++++
 package/x11r7/xfont_font-arabic-misc/Config.in     |    4 ++++
 package/x11r7/xfont_font-bh-100dpi/Config.in       |    4 ++++
 package/x11r7/xfont_font-bh-75dpi/Config.in        |    4 ++++
 .../Config.in                                      |    4 ++++
 .../xfont_font-bh-lucidatypewriter-75dpi/Config.in |    4 ++++
 package/x11r7/xfont_font-bh-ttf/Config.in          |    4 ++++
 package/x11r7/xfont_font-bh-type1/Config.in        |    4 ++++
 .../x11r7/xfont_font-bitstream-100dpi/Config.in    |    4 ++++
 package/x11r7/xfont_font-bitstream-75dpi/Config.in |    4 ++++
 .../x11r7/xfont_font-bitstream-speedo/Config.in    |    4 ++++
 package/x11r7/xfont_font-bitstream-type1/Config.in |    4 ++++
 package/x11r7/xfont_font-cronyx-cyrillic/Config.in |    4 ++++
 package/x11r7/xfont_font-cursor-misc/Config.in     |    4 ++++
 package/x11r7/xfont_font-daewoo-misc/Config.in     |    4 ++++
 package/x11r7/xfont_font-dec-misc/Config.in        |    4 ++++
 package/x11r7/xfont_font-ibm-type1/Config.in       |    4 ++++
 package/x11r7/xfont_font-isas-misc/Config.in       |    4 ++++
 package/x11r7/xfont_font-jis-misc/Config.in        |    4 ++++
 package/x11r7/xfont_font-micro-misc/Config.in      |    4 ++++
 package/x11r7/xfont_font-misc-cyrillic/Config.in   |    4 ++++
 package/x11r7/xfont_font-misc-ethiopic/Config.in   |    4 ++++
 package/x11r7/xfont_font-misc-meltho/Config.in     |    4 ++++
 package/x11r7/xfont_font-misc-misc/Config.in       |    4 ++++
 package/x11r7/xfont_font-mutt-misc/Config.in       |    4 ++++
 package/x11r7/xfont_font-schumacher-misc/Config.in |    4 ++++
 package/x11r7/xfont_font-screen-cyrillic/Config.in |    4 ++++
 package/x11r7/xfont_font-sony-misc/Config.in       |    4 ++++
 package/x11r7/xfont_font-sun-misc/Config.in        |    4 ++++
 package/x11r7/xfont_font-util/Config.in            |    4 ++++
 .../x11r7/xfont_font-winitzki-cyrillic/Config.in   |    4 ++++
 package/x11r7/xfont_font-xfree86-type1/Config.in   |    4 ++++
 package/x11r7/xkeyboard-config/Config.in           |    4 ++++
 package/x11r7/xlib_libFS/Config.in                 |    4 ++++
 package/x11r7/xlib_libICE/Config.in                |    4 ++++
 package/x11r7/xlib_libSM/Config.in                 |    4 ++++
 package/x11r7/xlib_libX11/Config.in                |    4 ++++
 package/x11r7/xlib_libXScrnSaver/Config.in         |    4 ++++
 package/x11r7/xlib_libXau/Config.in                |    4 ++++
 package/x11r7/xlib_libXaw/Config.in                |    4 ++++
 package/x11r7/xlib_libXcomposite/Config.in         |    4 ++++
 package/x11r7/xlib_libXcursor/Config.in            |    4 ++++
 package/x11r7/xlib_libXdamage/Config.in            |    4 ++++
 package/x11r7/xlib_libXdmcp/Config.in              |    4 ++++
 package/x11r7/xlib_libXext/Config.in               |    4 ++++
 package/x11r7/xlib_libXfixes/Config.in             |    4 ++++
 package/x11r7/xlib_libXfont/Config.in              |    4 ++++
 package/x11r7/xlib_libXfontcache/Config.in         |    4 ++++
 package/x11r7/xlib_libXft/Config.in                |    4 ++++
 package/x11r7/xlib_libXi/Config.in                 |    4 ++++
 package/x11r7/xlib_libXinerama/Config.in           |    4 ++++
 package/x11r7/xlib_libXmu/Config.in                |    4 ++++
 package/x11r7/xlib_libXp/Config.in                 |    4 ++++
 package/x11r7/xlib_libXpm/Config.in                |    4 ++++
 package/x11r7/xlib_libXprintAppUtil/Config.in      |    4 ++++
 package/x11r7/xlib_libXprintUtil/Config.in         |    4 ++++
 package/x11r7/xlib_libXrandr/Config.in             |    4 ++++
 package/x11r7/xlib_libXrender/Config.in            |    4 ++++
 package/x11r7/xlib_libXres/Config.in               |    4 ++++
 package/x11r7/xlib_libXt/Config.in                 |    4 ++++
 package/x11r7/xlib_libXtst/Config.in               |    4 ++++
 package/x11r7/xlib_libXv/Config.in                 |    4 ++++
 package/x11r7/xlib_libXvMC/Config.in               |    4 ++++
 package/x11r7/xlib_libXxf86dga/Config.in           |    4 ++++
 package/x11r7/xlib_libXxf86vm/Config.in            |    4 ++++
 package/x11r7/xlib_libdmx/Config.in                |    4 ++++
 package/x11r7/xlib_libfontenc/Config.in            |    4 ++++
 package/x11r7/xlib_liboldX/Config.in               |    4 ++++
 package/x11r7/xlib_libpciaccess/Config.in          |    6 +++++-
 package/x11r7/xlib_libxkbfile/Config.in            |    4 ++++
 package/x11r7/xlib_libxkbui/Config.in              |    4 ++++
 package/x11r7/xlib_xtrans/Config.in                |    4 ++++
 package/x11r7/xproto_applewmproto/Config.in        |    4 ++++
 package/x11r7/xproto_bigreqsproto/Config.in        |    4 ++++
 package/x11r7/xproto_compositeproto/Config.in      |    4 ++++
 package/x11r7/xproto_damageproto/Config.in         |    4 ++++
 package/x11r7/xproto_dmxproto/Config.in            |    4 ++++
 package/x11r7/xproto_dri2proto/Config.in           |    4 ++++
 package/x11r7/xproto_fixesproto/Config.in          |    4 ++++
 package/x11r7/xproto_fontcacheproto/Config.in      |    4 ++++
 package/x11r7/xproto_fontsproto/Config.in          |    4 ++++
 package/x11r7/xproto_glproto/Config.in             |    4 ++++
 package/x11r7/xproto_inputproto/Config.in          |    4 ++++
 package/x11r7/xproto_kbproto/Config.in             |    4 ++++
 package/x11r7/xproto_printproto/Config.in          |    4 ++++
 package/x11r7/xproto_randrproto/Config.in          |    4 ++++
 package/x11r7/xproto_recordproto/Config.in         |    4 ++++
 package/x11r7/xproto_renderproto/Config.in         |    4 ++++
 package/x11r7/xproto_resourceproto/Config.in       |    4 ++++
 package/x11r7/xproto_scrnsaverproto/Config.in      |    4 ++++
 package/x11r7/xproto_videoproto/Config.in          |    4 ++++
 package/x11r7/xproto_windowswmproto/Config.in      |    4 ++++
 package/x11r7/xproto_xcmiscproto/Config.in         |    4 ++++
 package/x11r7/xproto_xextproto/Config.in           |    4 ++++
 package/x11r7/xproto_xf86bigfontproto/Config.in    |    4 ++++
 package/x11r7/xproto_xf86dgaproto/Config.in        |    4 ++++
 package/x11r7/xproto_xf86driproto/Config.in        |    4 ++++
 package/x11r7/xproto_xf86rushproto/Config.in       |    4 ++++
 package/x11r7/xproto_xf86vidmodeproto/Config.in    |    4 ++++
 package/x11r7/xproto_xineramaproto/Config.in       |    4 ++++
 package/x11r7/xproto_xproto/Config.in              |    4 ++++
 package/x11r7/xserver_xorg-server/Config.in        |    6 +++++-
 package/x11r7/xutil_makedepend/Config.in           |    4 ++++
 package/x11r7/xutil_util-macros/Config.in          |    4 ++++
 package/x11vnc/Config.in                           |    6 +++++-
 package/xavante/Config.in                          |    4 ++++
 package/xenomai/Config.in                          |    8 ++++++--
 package/xerces/Config.in                           |    6 +++++-
 package/xfsprogs/Config.in                         |    8 ++++++--
 package/xinetd/Config.in                           |    4 ++++
 package/xl2tp/Config.in                            |    4 ++++
 package/xmlstarlet/Config.in                       |    4 ++++
 package/xstroke/Config.in                          |    6 +++++-
 package/xterm/Config.in                            |    6 +++++-
 package/xvkbd/Config.in                            |    6 +++++-
 package/xz/Config.in                               |    4 ++++
 package/yajl/Config.in                             |    4 ++++
 package/yasm/Config.in                             |    6 +++++-
 package/zeromq/Config.in                           |    8 ++++++--
 package/zlib/Config.in                             |    4 ++++
 package/zxing/Config.in                            |    6 +++++-
 829 files changed, 3684 insertions(+), 368 deletions(-)
package/acl/Config.in +5 -1
index f3d10d5..6fbca7a 100644
@@ -1,7 +1,11 @@
+config BR2_PACKAGE_ACL_AVAILABLE
+	def_bool y
+	depends on BR2_LARGEFILE
+
 config BR2_PACKAGE_ACL
 	bool "acl"
 	select BR2_PACKAGE_ATTR
-	depends on BR2_LARGEFILE
+	depends on BR2_PACKAGE_ACL_AVAILABLE
 	help
 	  POSIX Access Control Lists, which are used to define more
 	  fine-grained discretionary access rights for files and
package/acpid/Config.in +5 -1
index ea9a364..3003865 100644
@@ -1,6 +1,10 @@
+config BR2_PACKAGE_ACPID_AVAILABLE
+	def_bool y
+	depends on BR2_x86_64 || BR2_i386
+
 config BR2_PACKAGE_ACPID
 	bool "acpid"
-	depends on BR2_x86_64 || BR2_i386
+	depends on BR2_PACKAGE_ACPID_AVAILABLE
 	help
 	  Advanced Configuration and Power Interface event daemon.
 
package/alsa-lib/Config.in +4 -0
index 98b8313..ec8a558 100644
@@ -1,9 +1,13 @@
+config BR2_PACKAGE_ALSA_LIB_AVAILABLE
+	def_bool y
+
 config BR2_PACKAGE_ALSA_LIB
 	bool "alsa-lib"
 	# Temporary until
 	# https://bugtrack.alsa-project.org/alsa-bug/view.php?id=4913
 	# is fixed
 	select BR2_PACKAGE_ALSA_LIB_PCM
+	depends on BR2_PACKAGE_ALSA_LIB_AVAILABLE
 	help
 	  The Advanced Linux Sound Architecture (ALSA) provides audio and MIDI
 	  functionality to the Linux operating system.
package/alsamixergui/Config.in +5 -1
index 3afc314..ea24538 100644
@@ -1,11 +1,15 @@
-config BR2_PACKAGE_ALSAMIXERGUI
+config BR2_PACKAGE_ALSAMIXERGUI_AVAILABLE
+	def_bool y
 	depends on BR2_PACKAGE_XORG7
 	depends on BR2_PACKAGE_ALSA_LIB
 	depends on BR2_INSTALL_LIBSTDCPP
+
+config BR2_PACKAGE_ALSAMIXERGUI
 	select BR2_PACKAGE_FLTK
 	select BR2_PACKAGE_ALSA_LIB_PCM
 	select BR2_PACKAGE_ALSA_LIB_MIXER
 	bool "alsamixergui"
+	depends on BR2_PACKAGE_ALSAMIXERGUI_AVAILABLE
 	help
 	  A nice GUI mixer for Alsa using fltk
 
package/apr-util/Config.in +5 -1
index 895dbb8..62d267c 100644
@@ -1,3 +1,7 @@
+config BR2_PACKAGE_APR_UTIL_AVAILABLE
+	def_bool y
+	depends on !BR2_PREFER_STATIC_LIB
+
 config BR2_PACKAGE_APR_UTIL
 	bool "apr-util"
 	select BR2_PACKAGE_APR
@@ -6,7 +10,7 @@ config BR2_PACKAGE_APR_UTIL
 	select BR2_PACKAGE_NEON_ZLIB
 	select BR2_PACKAGE_ZLIB
 	# apr really needs shared library support
-	depends on !BR2_PREFER_STATIC_LIB
+	depends on BR2_PACKAGE_APR_UTIL_AVAILABLE
 	help
 	  The utility library for the apache runtime project
 
package/apr/Config.in +5 -1
index ed319ed..0a66c9d 100644
@@ -1,7 +1,11 @@
+config BR2_PACKAGE_APR_AVAILABLE
+	def_bool y
+	depends on !BR2_PREFER_STATIC_LIB
+
 config BR2_PACKAGE_APR
 	bool "apr"
 	# apr really needs shared library support
-	depends on !BR2_PREFER_STATIC_LIB
+	depends on BR2_PACKAGE_APR_AVAILABLE
 	help
 	  The mission of the Apache Portable Runtime (APR) project is to create
 	  and maintain software libraries that provide a predictable and
package/argp-standalone/Config.in +4 -0
index 5a0c051..3ea792c 100644
@@ -1,5 +1,9 @@
+config BR2_PACKAGE_ARGP_STANDALONE_AVAILABLE
+	def_bool y
+
 config BR2_PACKAGE_ARGP_STANDALONE
 	bool "argp-standalone"
+	depends on BR2_PACKAGE_ARGP_STANDALONE_AVAILABLE
 	help
 	  Glibc hierarchical argument parsing standalone library.
 
package/argus/Config.in +4 -0
index 6728ae7..a8853e0 100644
@@ -1,6 +1,10 @@
+config BR2_PACKAGE_ARGUS_AVAILABLE
+	def_bool y
+
 config BR2_PACKAGE_ARGUS
 	bool "argus"
 	select BR2_PACKAGE_LIBPCAP
+	depends on BR2_PACKAGE_ARGUS_AVAILABLE
 	help
 	  A Real Time Flow Monitor-based audit engine.
 
package/at/Config.in +5 -1
index d4ddcb2..8480378 100644
@@ -1,6 +1,10 @@
+config BR2_PACKAGE_AT_AVAILABLE
+	def_bool y
+	depends on BR2_USE_MMU
+
 config BR2_PACKAGE_AT
 	bool "at"
-	depends on BR2_USE_MMU
+	depends on BR2_PACKAGE_AT_AVAILABLE
 	help
 	 At and batch read shell commands from standard input and
 	 store them as jobs to be scheduled for execution in the
package/atk/Config.in +5 -1
index 928fae7..4534761 100644
@@ -1,7 +1,11 @@
+config BR2_PACKAGE_ATK_AVAILABLE
+	def_bool y
+	depends on BR2_USE_WCHAR # glib2
+
 config BR2_PACKAGE_ATK
 	bool "atk"
 	select BR2_PACKAGE_LIBGLIB2
-	depends on BR2_USE_WCHAR # glib2
+	depends on BR2_PACKAGE_ATK_AVAILABLE
 	help
 	  The ATK accessibility toolkit, needed to build GTK+-2.x.
 
package/attr/Config.in +5 -1
index 79f2336..7f1c97e 100644
@@ -1,6 +1,10 @@
+config BR2_PACKAGE_ATTR_AVAILABLE
+	def_bool y
+	depends on BR2_LARGEFILE
+
 config BR2_PACKAGE_ATTR
 	bool "attr"
-	depends on BR2_LARGEFILE
+	depends on BR2_PACKAGE_ATTR_AVAILABLE
 	help
 	  Commands for Manipulating Filesystem Extended Attributes.
 	  This package also provides libattr.
package/audiofile/Config.in +5 -1
index 4f9952c..bc2dff6 100644
@@ -1,6 +1,10 @@
+config BR2_PACKAGE_AUDIOFILE_AVAILABLE
+	def_bool y
+	depends on BR2_INSTALL_LIBSTDCPP
+
 config BR2_PACKAGE_AUDIOFILE
 	bool "audiofile"
-	depends on BR2_INSTALL_LIBSTDCPP
+	depends on BR2_PACKAGE_AUDIOFILE_AVAILABLE
 	help
 	  The Audio File Library handles reading and writing audio files
 	  in many common formats.
package/autoconf/Config.in +4 -0
index 00b3e2c..5f0a4b1 100644
@@ -1,6 +1,10 @@
+config BR2_PACKAGE_AUTOCONF_AVAILABLE
+	def_bool y
+
 config BR2_PACKAGE_AUTOCONF
 	bool "autoconf"
 	select BR2_PACKAGE_MICROPERL
+	depends on BR2_PACKAGE_AUTOCONF_AVAILABLE
 	help
 	  Extensible program for developing configure scripts.  These
 	  scripts handle all the mundane system/feature detection.
package/automake/Config.in +4 -0
index 935f1f1..e5f52a2 100644
@@ -1,7 +1,11 @@
+config BR2_PACKAGE_AUTOMAKE_AVAILABLE
+	def_bool y
+
 config BR2_PACKAGE_AUTOMAKE
 	bool "automake"
 	select BR2_PACKAGE_AUTOCONF
 	select BR2_PACKAGE_MICROPERL
+	depends on BR2_PACKAGE_AUTOMAKE_AVAILABLE
 	help
 	  Tool for automatically generating Makefile's for input to
 	  configure scripts (made by autoconf).
package/avahi/Config.in +4 -0
index eb3ccb6..4439062 100644
@@ -1,7 +1,11 @@
+config BR2_PACKAGE_AVAHI_AVAILABLE
+	def_bool y
+
 config BR2_PACKAGE_AVAHI
 	bool "avahi"
 	select BR2_PACKAGE_GETTEXT if BR2_NEEDS_GETTEXT_IF_LOCALE
 	select BR2_PACKAGE_LIBINTL if BR2_NEEDS_GETTEXT_IF_LOCALE
+	depends on BR2_PACKAGE_AVAHI_AVAILABLE
 	help
 	  Avahi is a system which facilitates service
 	  discovery on a local network.
package/axel/Config.in +5 -1
index 98f4941..5c5a42b 100644
@@ -1,8 +1,12 @@
+config BR2_PACKAGE_AXEL_AVAILABLE
+	def_bool y
+	depends on BR2_TOOLCHAIN_HAS_THREADS
+
 config BR2_PACKAGE_AXEL
 	bool "axel"
 	select BR2_PACKAGE_GETTEXT if BR2_NEEDS_GETTEXT_IF_LOCALE
 	select BR2_PACKAGE_LIBINTL if BR2_NEEDS_GETTEXT_IF_LOCALE
-	depends on BR2_TOOLCHAIN_HAS_THREADS
+	depends on BR2_PACKAGE_AXEL_AVAILABLE
 	help
 	  HTTP/FTP download accelerator.
 
package/bash/Config.in +5 -1
index 228d5a4..043fb4e 100644
@@ -1,8 +1,12 @@
+config BR2_PACKAGE_BASH_AVAILABLE
+	def_bool y
+	depends on BR2_USE_MMU
+
 config BR2_PACKAGE_BASH
 	bool "bash"
 	select BR2_PACKAGE_NCURSES
 	# uses fork()
-	depends on BR2_USE_MMU
+	depends on BR2_PACKAGE_BASH_AVAILABLE
 	help
 	  The standard GNU Bourne again shell.
 
package/beecrypt/Config.in +5 -1
index 19c7f2f..86f55dd 100644
@@ -1,7 +1,11 @@
+config BR2_PACKAGE_BEECRYPT_AVAILABLE
+	def_bool y
+	depends on BR2_TOOLCHAIN_HAS_THREADS
+
 config BR2_PACKAGE_BEECRYPT
 	bool "beecrypt"
-	depends on BR2_TOOLCHAIN_HAS_THREADS
 	select BR2_PACKAGE_ICU if BR2_INSTALL_LIBSTDCPP && BR2_USE_WCHAR
+	depends on BR2_PACKAGE_BEECRYPT_AVAILABLE
 	help
 	  Beecrypt is a general-purpose cryptography library.
 
package/berkeleydb/Config.in +4 -0
index a597abb..4b3dbad 100644
@@ -1,5 +1,9 @@
+config BR2_PACKAGE_BERKELEYDB_AVAILABLE
+	def_bool y
+
 config BR2_PACKAGE_BERKELEYDB
 	bool "berkeleydb"
+	depends on BR2_PACKAGE_BERKELEYDB_AVAILABLE
 	help
 	  The Berkeley database.  A very common library for database
 	  applications.
package/bind/Config.in +7 -3
index 2944f1f..8811b47 100644
@@ -1,9 +1,13 @@
-config BR2_PACKAGE_BIND
-	bool "bind"
+config BR2_PACKAGE_BIND_AVAILABLE
+	def_bool y
 	depends on BR2_INET_IPV6
 	depends on BR2_LARGEFILE
-	# fork()
 	depends on BR2_USE_MMU
+
+config BR2_PACKAGE_BIND
+	bool "bind"
+	# fork()
+	depends on BR2_PACKAGE_BIND_AVAILABLE
 	help
 	  BIND (Berkeley Internet Name Domain) is an implementation of
 	  the Domain Name System (DNS) protocols and provides an openly
package/binutils/Config.in +4 -0
index e068b20..22b108f 100644
@@ -1,7 +1,11 @@
+config BR2_PACKAGE_BINUTILS_AVAILABLE
+	def_bool y
+
 config BR2_PACKAGE_BINUTILS
 	bool "binutils"
 	select BR2_PACKAGE_GETTEXT if BR2_NEEDS_GETTEXT_IF_LOCALE
 	select BR2_PACKAGE_LIBINTL if BR2_NEEDS_GETTEXT_IF_LOCALE
+	depends on BR2_PACKAGE_BINUTILS_AVAILABLE
 	help
 	  Install binutils on the target
 
package/bison/Config.in +6 -2
index 1a485c4..a0a4a7f 100644
@@ -1,9 +1,13 @@
+config BR2_PACKAGE_BISON_AVAILABLE
+	def_bool y
+	depends on BR2_USE_WCHAR
+	depends on BR2_USE_MMU
+
 config BR2_PACKAGE_BISON
 	bool "bison"
-	depends on BR2_USE_WCHAR
 	select BR2_PACKAGE_M4
 	# m4 uses fork()
-	depends on BR2_USE_MMU
+	depends on BR2_PACKAGE_BISON_AVAILABLE
 	help
 	  General-purpose parser generator that converts a
 	  grammar description for an LALR context-free grammar into a C
package/blackbox/Config.in +6 -2
index 70f7eb4..e9b9cb1 100644
@@ -1,9 +1,13 @@
-config BR2_PACKAGE_BLACKBOX
-	bool "blackbox"
+config BR2_PACKAGE_BLACKBOX_AVAILABLE
+	def_bool y
 	depends on BR2_PACKAGE_XORG7
 	depends on BR2_INSTALL_LIBSTDCPP
+
+config BR2_PACKAGE_BLACKBOX
+	bool "blackbox"
 	select BR2_PACKAGE_LIBICONV if !BR2_ENABLE_LOCALE
 	select BR2_PACKAGE_XLIB_LIBX11
+	depends on BR2_PACKAGE_BLACKBOX_AVAILABLE
 	help
 	  Blackbox is a fast, lightweight window manager for the X
 	  Window System.
package/bluez_utils/Config.in +6 -2
index d63284d..4079501 100644
@@ -1,9 +1,13 @@
-config BR2_PACKAGE_BLUEZ_UTILS
-	bool "bluez-utils"
+config BR2_PACKAGE_BLUEZ_UTILS_AVAILABLE
+	def_bool y
 	depends on BR2_USE_WCHAR # libglib2
 	depends on BR2_TOOLCHAIN_HAS_THREADS # dbus
+
+config BR2_PACKAGE_BLUEZ_UTILS
+	bool "bluez-utils"
 	select BR2_PACKAGE_DBUS
 	select BR2_PACKAGE_LIBGLIB2
+	depends on BR2_PACKAGE_BLUEZ_UTILS_AVAILABLE
 	help
 	  bluez utils
 
package/bmon/Config.in +5 -1
index 9692118..05d1755 100644
@@ -1,6 +1,10 @@
+config BR2_PACKAGE_BMON_AVAILABLE
+	def_bool y
+	depends on BR2_INET_IPV6
+
 config BR2_PACKAGE_BMON
 	bool "bmon"
-	depends on BR2_INET_IPV6
+	depends on BR2_PACKAGE_BMON_AVAILABLE
 	help
 	  Linux bandwidth monitor
 
package/boa/Config.in +4 -0
index 48943ff..15b8877 100644
@@ -1,5 +1,9 @@
+config BR2_PACKAGE_BOA_AVAILABLE
+	def_bool y
+
 config BR2_PACKAGE_BOA
 	bool "boa"
+	depends on BR2_PACKAGE_BOA_AVAILABLE
 	help
 	  A very small and very fast http daemon.  Not intended as
 	  a feature-packed server.
package/bonnie/Config.in +6 -2
index 91b1e96..778c544 100644
@@ -1,7 +1,11 @@
-config BR2_PACKAGE_BONNIE
-	bool "bonnie++"
+config BR2_PACKAGE_BONNIE_AVAILABLE
+	def_bool y
 	depends on BR2_INSTALL_LIBSTDCPP
 	depends on BR2_USE_MMU # fork()
+
+config BR2_PACKAGE_BONNIE
+	bool "bonnie++"
+	depends on BR2_PACKAGE_BONNIE_AVAILABLE
 	help
 	  Filesystem tester
 
package/boost/Config.in +5 -1
index 8798367..7bfdcbb 100644
@@ -1,11 +1,15 @@
 comment "boost requires a toolchain with C++ support enabled"
 	depends on !BR2_INSTALL_LIBSTDCPP
 
+config BR2_PACKAGE_BOOST_AVAILABLE
+	def_bool y
+	depends on BR2_INSTALL_LIBSTDCPP
+
 config BR2_PACKAGE_BOOST
 	bool "boost"
-	depends on BR2_INSTALL_LIBSTDCPP
 	select BR2_PACKAGE_BZIP2
 	select BR2_PACKAGE_ZLIB
+	depends on BR2_PACKAGE_BOOST_AVAILABLE
 	help
 	  A general purpose C++ library
 
package/bootutils/Config.in +5 -1
index 06a8fd8..804bd81 100644
@@ -1,6 +1,10 @@
+config BR2_PACKAGE_BOOTUTILS_AVAILABLE
+	def_bool y
+	depends on BR2_LARGEFILE
+
 config BR2_PACKAGE_BOOTUTILS
 	bool "bootutils"
-	depends on BR2_LARGEFILE
+	depends on BR2_PACKAGE_BOOTUTILS_AVAILABLE
 	help
 	  BootUtils is a collection of utilities to facilitate booting of
 	  Linux 2.6-based systems. The process of finding the root volume
package/bridge-utils/Config.in +4 -0
index 537eb1f..68502f7 100644
@@ -1,5 +1,9 @@
+config BR2_PACKAGE_BRIDGE_UTILS_AVAILABLE
+	def_bool y
+
 config BR2_PACKAGE_BRIDGE_UTILS
 	bool "bridge-utils"
+	depends on BR2_PACKAGE_BRIDGE_UTILS_AVAILABLE
 	help
 	  Manage ethernet bridging; a way to connect networks together to
 	  form a larger network.
package/bsdiff/Config.in +4 -0
index 11fd8b9..e5d1424 100644
@@ -1,6 +1,10 @@
+config BR2_PACKAGE_BSDIFF_AVAILABLE
+	def_bool y
+
 config BR2_PACKAGE_BSDIFF
 	bool "bsdiff"
 	select BR2_PACKAGE_BZIP2
+	depends on BR2_PACKAGE_BSDIFF_AVAILABLE
 	help
 	  Binary patch/diff like xdelta but creates smaller diffs.
 	  Needs bzip2 support.
package/busybox/Config.in +4 -0
index dedcf18..23f769f 100644
@@ -1,6 +1,10 @@
+config BR2_PACKAGE_BUSYBOX_AVAILABLE
+	def_bool y
+
 config BR2_PACKAGE_BUSYBOX
 	bool "BusyBox"
 	default y
+	depends on BR2_PACKAGE_BUSYBOX_AVAILABLE
 	help
 	  The Swiss Army Knife of embedded Linux.  It slices, it dices, it
 	  makes Julian Fries.
package/bwm-ng/Config.in +4 -0
index 25e7cbe..d276449 100644
@@ -1,5 +1,9 @@
+config BR2_PACKAGE_BWM_NG_AVAILABLE
+	def_bool y
+
 config BR2_PACKAGE_BWM_NG
 	bool "bwm-ng"
+	depends on BR2_PACKAGE_BWM_NG_AVAILABLE
 	help
 	  Bandwidth Monitor NG is a small and console-based live
 	  network and disk-io bandwidth monitor for Linux, BSD,
package/bzip2/Config.in +4 -0
index e8e03cf..3f144a5 100644
@@ -1,5 +1,9 @@
+config BR2_PACKAGE_BZIP2_AVAILABLE
+	def_bool y
+
 config BR2_PACKAGE_BZIP2
 	bool "bzip2"
+	depends on BR2_PACKAGE_BZIP2_AVAILABLE
 	help
 	  Freely available, patent free, high-quality data compressor.
 	  It typically compresses files to within 10% to 15% of the best
package/cairo/Config.in +4 -0
index 398e47f..2c61751 100644
@@ -1,7 +1,11 @@
+config BR2_PACKAGE_CAIRO_AVAILABLE
+	def_bool y
+
 config BR2_PACKAGE_CAIRO
 	bool "cairo"
 	select BR2_PACKAGE_PIXMAN
 	select BR2_PACKAGE_FONTCONFIG
+	depends on BR2_PACKAGE_CAIRO_AVAILABLE
 	help
 	  Cairo is a 2D graphics library with support for multiple
 	  output devices. Currently supported output targets include
package/can-utils/Config.in +4 -0
index 79c1459..31dfeda 100644
@@ -1,5 +1,9 @@
+config BR2_PACKAGE_CAN_UTILS_AVAILABLE
+	def_bool y
+
 config BR2_PACKAGE_CAN_UTILS
 	bool "can-utils"
+	depends on BR2_PACKAGE_CAN_UTILS_AVAILABLE
 	help
 	  SocketCAN is a set of open source CAN drivers and a
 	  networking stack.
package/ccache/Config.in +4 -0
index f4f7f8f..b7fcfb9 100644
@@ -1,5 +1,9 @@
+config BR2_PACKAGE_CCACHE_AVAILABLE
+	def_bool y
+
 config BR2_PACKAGE_CCACHE
 	bool "ccache"
+	depends on BR2_PACKAGE_CCACHE_AVAILABLE
 	help
 	  ccache is a compiler cache. It speeds up recompilation by
 	  caching previous compilations and detecting when the same
package/cdrkit/Config.in +5 -1
index 7ff50f3..bcd85ef 100644
@@ -1,9 +1,13 @@
+config BR2_PACKAGE_CDRKIT_AVAILABLE
+	def_bool y
+	depends on BR2_LARGEFILE
+
 config BR2_PACKAGE_CDRKIT
 	# Needed for libbz
 	select BR2_PACKAGE_BZIP2
 	select BR2_PACKAGE_LIBCAP
-	depends on BR2_LARGEFILE
 	bool "cdrkit"
+	depends on BR2_PACKAGE_CDRKIT_AVAILABLE
 	help
 	  cdrkit is a suite of programs for recording CDs and DVDs,
 	  blanking CD-RW media, creating ISO-9660 filesystem images,
package/cgilua/Config.in +4 -0
index 01928f0..14514ba 100644
@@ -1,6 +1,10 @@
+config BR2_PACKAGE_CGILUA_AVAILABLE
+	def_bool y
+
 config BR2_PACKAGE_CGILUA
 	bool "cgilua"
 	select BR2_PACKAGE_LUAFILESYSTEM
+	depends on BR2_PACKAGE_CGILUA_AVAILABLE
 	help
 	  CGILua is a tool for creating dynamic HTML pages
 	  and manipulating input data from Web forms.
package/cifs-utils/Config.in +5 -1
index b433850..ab8772b 100644
@@ -1,7 +1,11 @@
+config BR2_PACKAGE_CIFS_UTILS_AVAILABLE
+	def_bool y
+	depends on BR2_USE_MMU
+
 config BR2_PACKAGE_CIFS_UTILS
 	bool "cifs-utils"
 	# uses fork()
-	depends on BR2_USE_MMU
+	depends on BR2_PACKAGE_CIFS_UTILS_AVAILABLE
 	help
 	  The in-kernel CIFS filesystem is generally the preferred
 	  method for mounting SMB/CIFS shares on Linux. The in-kernel
package/cjson/Config.in +4 -0
index ff90074..683e855 100644
@@ -1,5 +1,9 @@
+config BR2_PACKAGE_CJSON_AVAILABLE
+	def_bool y
+
 config BR2_PACKAGE_CJSON
 	bool "cJSON"
+	depends on BR2_PACKAGE_CJSON_AVAILABLE
 	help
 	  An ultra-lightweight, portable, single-file, simple-as-can-be ANSI-C
 	  compliant JSON parser, under MIT license.
package/collectd/Config.in +6 -2
index fe520f8..b52917d 100644
@@ -1,8 +1,12 @@
+config BR2_PACKAGE_COLLECTD_AVAILABLE
+	def_bool y
+	depends on BR2_USE_MMU
+	depends on BR2_TOOLCHAIN_HAS_THREADS
+
 config BR2_PACKAGE_COLLECTD
 	bool "collectd"
 	# Uses fork()
-	depends on BR2_USE_MMU
-	depends on BR2_TOOLCHAIN_HAS_THREADS
+	depends on BR2_PACKAGE_COLLECTD_AVAILABLE
 	help
 	  collectd is a daemon which collects system performance
 	  statistics periodically and provides mechanisms to store
package/connman/Config.in +8 -4
index 082b0ca..10d16e8 100644
@@ -1,13 +1,17 @@
+config BR2_PACKAGE_CONNMAN_AVAILABLE
+	def_bool y
+	depends on !(BR2_UCLIBC_VERSION_0_9_31 || BR2_UCLIBC_VERSION_0_9_32)
+	depends on BR2_USE_WCHAR # libglib2 and gnutls
+	depends on BR2_INET_IPV6
+	depends on BR2_TOOLCHAIN_HAS_THREADS # dbus
+
 config BR2_PACKAGE_CONNMAN
 	bool "connman"
 	select BR2_PACKAGE_DBUS
 	select BR2_PACKAGE_LIBGLIB2
 	select BR2_PACKAGE_IPTABLES
 	select BR2_PACKAGE_GNUTLS
-	depends on !(BR2_UCLIBC_VERSION_0_9_31 || BR2_UCLIBC_VERSION_0_9_32)
-	depends on BR2_USE_WCHAR # libglib2 and gnutls
-	depends on BR2_INET_IPV6
-	depends on BR2_TOOLCHAIN_HAS_THREADS # dbus
+	depends on BR2_PACKAGE_CONNMAN_AVAILABLE
 	help
 	  The Connection Manager (ConnMan) project provides a daemon for
 	  managing internet connections within embedded devices running
package/conntrack-tools/Config.in +6 -2
index be491e6..2c31226 100644
@@ -1,9 +1,13 @@
-config BR2_PACKAGE_CONNTRACK_TOOLS
-	bool "conntrack-tools"
+config BR2_PACKAGE_CONNTRACK_TOOLS_AVAILABLE
+	def_bool y
 	depends on BR2_INET_IPV6
 	depends on BR2_LARGEFILE
+
+config BR2_PACKAGE_CONNTRACK_TOOLS
+	bool "conntrack-tools"
 	select BR2_PACKAGE_LIBNETFILTER_CONNTRACK
 	select BR2_PACKAGE_LIBNETFILTER_CTTIMEOUT
+	depends on BR2_PACKAGE_CONNTRACK_TOOLS_AVAILABLE
 	help
 	  The conntrack-tools are a set of tools targeted at
 	  system administrators.
package/copas/Config.in +4 -0
index 9969c8f..c56d01b 100644
@@ -1,7 +1,11 @@
+config BR2_PACKAGE_COPAS_AVAILABLE
+	def_bool y
+
 config BR2_PACKAGE_COPAS
 	bool "copas"
 	select BR2_PACKAGE_COXPCALL
 	select BR2_PACKAGE_LUASOCKET
+	depends on BR2_PACKAGE_COPAS_AVAILABLE
 	help
 	  Copas is a dispatcher based on coroutines that
 	  can be used by TCP/IP servers.
package/coreutils/Config.in +5 -1
index bfd6f26..4960bb3 100644
@@ -1,6 +1,10 @@
+config BR2_PACKAGE_COREUTILS_AVAILABLE
+	def_bool y
+	depends on BR2_USE_WCHAR
+
 config BR2_PACKAGE_COREUTILS
 	bool "coreutils"
-	depends on BR2_USE_WCHAR
+	depends on BR2_PACKAGE_COREUTILS_AVAILABLE
 	help
 	  All of the basic file/text/shell utilities.  These are the
 	  core utilities which are expected to exist on every system.
package/coxpcall/Config.in +4 -0
index 1237482..f2ff937 100644
@@ -1,5 +1,9 @@
+config BR2_PACKAGE_COXPCALL_AVAILABLE
+	def_bool y
+
 config BR2_PACKAGE_COXPCALL
 	bool "coxpcall"
+	depends on BR2_PACKAGE_COXPCALL_AVAILABLE
 	help
 	  Coxpcall encapsulates the protected calls with a coroutine
 	  based loop, so errors can be dealed without the usual
package/cpuload/Config.in +4 -0
index 82bc450..9d50e7a 100644
@@ -1,5 +1,9 @@
+config BR2_PACKAGE_CPULOAD_AVAILABLE
+	def_bool y
+
 config BR2_PACKAGE_CPULOAD
 	bool "cpuload"
+	depends on BR2_PACKAGE_CPULOAD_AVAILABLE
 	help
 	  cpuload is a simple tool to obtain intuitive vision of CPU load
 	  (including total, user, system, irq and softirq) within a certain
package/cramfs/Config.in +4 -0
index a5c73a8..aa23e14 100644
@@ -1,5 +1,9 @@
+config BR2_PACKAGE_CRAMFS_AVAILABLE
+	def_bool y
+
 config BR2_PACKAGE_CRAMFS
        bool "cramfs"
+	depends on BR2_PACKAGE_CRAMFS_AVAILABLE
        help
          cramfs is a compressed read-only filesystem. This package
          contains the tools to generate and check a cramfs filesystem.
package/ctorrent/Config.in +5 -1
index 5e26c12..7dd8bff 100644
@@ -1,9 +1,13 @@
 comment "ctorrent requires a toolchain with C++ support enabled"
 	depends on !BR2_INSTALL_LIBSTDCPP
 
+config BR2_PACKAGE_CTORRENT_AVAILABLE
+	def_bool y
+	depends on BR2_INSTALL_LIBSTDCPP
+
 config BR2_PACKAGE_CTORRENT
 	bool "ctorrent"
-	depends on BR2_INSTALL_LIBSTDCPP
+	depends on BR2_PACKAGE_CTORRENT_AVAILABLE
 	help
 	  CTorrent is a BitTorrent client implemented in C++
 	  to be lightweight and quick.
package/cups/Config.in +5 -1
index dc1c2ed..f7a3190 100644
@@ -1,7 +1,11 @@
+config BR2_PACKAGE_CUPS_AVAILABLE
+	def_bool y
+	depends on BR2_USE_MMU
+
 config BR2_PACKAGE_CUPS
 	bool "cups"
 	# needs fork()
-	depends on BR2_USE_MMU
+	depends on BR2_PACKAGE_CUPS_AVAILABLE
 	help
 	  The Common Unix Printing System
 
package/customize/Config.in +5 -1
index 8f8aaa2..8bcddf3 100644
@@ -1,6 +1,10 @@
+config BR2_PACKAGE_CUSTOMIZE_AVAILABLE
+	def_bool y
+	depends on BR2_DEPRECATED
+
 config BR2_PACKAGE_CUSTOMIZE
 	bool "customize"
-	depends on BR2_DEPRECATED
+	depends on BR2_PACKAGE_CUSTOMIZE_AVAILABLE
 	help
 	  Add custom stuff to your buildroot.
 
package/cvs/Config.in +5 -1
index f9d5955..c815b56 100644
@@ -1,7 +1,11 @@
+config BR2_PACKAGE_CVS_AVAILABLE
+	def_bool y
+	depends on BR2_USE_WCHAR
+
 config BR2_PACKAGE_CVS
 	bool "cvs"
-	depends on BR2_USE_WCHAR
 	select BR2_PACKAGE_NCURSES
+	depends on BR2_PACKAGE_CVS_AVAILABLE
 	help
 	  Concurrent Versions System - source code revision control tools.
 
package/dash/Config.in +4 -0
index 20970aa..b5be02f 100644
@@ -1,5 +1,9 @@
+config BR2_PACKAGE_DASH_AVAILABLE
+	def_bool y
+
 config BR2_PACKAGE_DASH
 	bool "dash"
+	depends on BR2_PACKAGE_DASH_AVAILABLE
 	help
 	  The Debian/Linux port of the NetBSD version of
 	  ash (the Almquist SHell).
package/dbus-glib/Config.in +6 -2
index f1dab43..f73dafa 100644
@@ -1,8 +1,12 @@
-config BR2_PACKAGE_DBUS_GLIB
-	bool "dbus-glib"
+config BR2_PACKAGE_DBUS_GLIB_AVAILABLE
+	def_bool y
 	depends on BR2_PACKAGE_DBUS
 	depends on BR2_USE_WCHAR # glib2
+
+config BR2_PACKAGE_DBUS_GLIB
+	bool "dbus-glib"
 	select BR2_PACKAGE_LIBGLIB2
+	depends on BR2_PACKAGE_DBUS_GLIB_AVAILABLE
 	help
 	  GLib bindings for D-Bus.
 
package/dbus-python/Config.in +6 -2
index 91c127d..1d466ae 100644
@@ -1,9 +1,13 @@
-config BR2_PACKAGE_DBUS_PYTHON
-	bool "dbus-python"
+config BR2_PACKAGE_DBUS_PYTHON_AVAILABLE
+	def_bool y
 	depends on BR2_USE_WCHAR # glib2
 	depends on BR2_PACKAGE_DBUS
 	depends on BR2_PACKAGE_PYTHON
+
+config BR2_PACKAGE_DBUS_PYTHON
+	bool "dbus-python"
 	select BR2_PACKAGE_DBUS_GLIB
+	depends on BR2_PACKAGE_DBUS_PYTHON_AVAILABLE
 	help
 	  Python bindings for D-Bus
 
package/dbus/Config.in +5 -1
index 2b04e94..d7f5c66 100644
@@ -1,6 +1,10 @@
+config BR2_PACKAGE_DBUS_AVAILABLE
+	def_bool y
+	depends on BR2_TOOLCHAIN_HAS_THREADS
+
 config BR2_PACKAGE_DBUS
 	bool "dbus"
-	depends on BR2_TOOLCHAIN_HAS_THREADS
+	depends on BR2_PACKAGE_DBUS_AVAILABLE
 	help
 	  The D-Bus message bus system.
 
package/devmem2/Config.in +4 -0
index cb00a51..c1b0441 100644
@@ -1,5 +1,9 @@
+config BR2_PACKAGE_DEVMEM2_AVAILABLE
+	def_bool y
+
 config BR2_PACKAGE_DEVMEM2
 	bool "devmem2"
+	depends on BR2_PACKAGE_DEVMEM2_AVAILABLE
 	help
 	  Simple program to read/write from/to any location in memory.
 
package/dhcp/Config.in +5 -1
index 38cf007..71624fb 100644
@@ -1,7 +1,11 @@
+config BR2_PACKAGE_DHCP_AVAILABLE
+	def_bool y
+	depends on BR2_USE_MMU
+
 config BR2_PACKAGE_DHCP
 	bool "isc dhcp"
 	# fork()
-	depends on BR2_USE_MMU
+	depends on BR2_PACKAGE_DHCP_AVAILABLE
 	help
 	  DHCP relay agent from the ISC DHCP distribution.
 
package/dhcpdump/Config.in +4 -0
index 1840e34..19736ac 100644
@@ -1,5 +1,9 @@
+config BR2_PACKAGE_DHCPDUMP_AVAILABLE
+	def_bool y
+
 config BR2_PACKAGE_DHCPDUMP
 	bool "dhcpdump"
 	select BR2_PACKAGE_LIBPCAP
+	depends on BR2_PACKAGE_DHCPDUMP_AVAILABLE
 	help
 	  A tool for monitoring dhcp requests using tcpdump.
package/dhrystone/Config.in +4 -0
index d6fb7a7..644954a 100644
@@ -1,5 +1,9 @@
+config BR2_PACKAGE_DHRYSTONE_AVAILABLE
+	def_bool y
+
 config BR2_PACKAGE_DHRYSTONE
 	bool "dhrystone"
+	depends on BR2_PACKAGE_DHRYSTONE_AVAILABLE
 	help
 	  easy-to-use integer benchmark
 
package/dialog/Config.in +4 -0
index 9d3462e..f26001d 100644
@@ -1,7 +1,11 @@
+config BR2_PACKAGE_DIALOG_AVAILABLE
+	def_bool y
+
 config BR2_PACKAGE_DIALOG
 	bool "dialog"
 	select BR2_PACKAGE_NCURSES
 	select BR2_PACKAGE_LIBICONV if !BR2_ENABLE_LOCALE
+	depends on BR2_PACKAGE_DIALOG_AVAILABLE
 	help
 	  dialog - display dialog boxes from shell scripts
 
package/diffutils/Config.in +5 -1
index 86da5d3..d2edb5f 100644
@@ -1,6 +1,10 @@
+config BR2_PACKAGE_DIFFUTILS_AVAILABLE
+	def_bool y
+	depends on BR2_USE_WCHAR
+
 config BR2_PACKAGE_DIFFUTILS
 	bool"diffutils"
-	depends on BR2_USE_WCHAR
+	depends on BR2_PACKAGE_DIFFUTILS_AVAILABLE
 	help
 	  GNU diff. Compare files per line.
 
package/directfb-examples/Config.in +5 -1
index c463784..41fb1ee 100644
@@ -1,6 +1,10 @@
+config BR2_PACKAGE_DIRECTFB_EXAMPLES_AVAILABLE
+	def_bool y
+       depends on BR2_PACKAGE_DIRECTFB
+
 config BR2_PACKAGE_DIRECTFB_EXAMPLES
        bool "directfb examples"
-       depends on BR2_PACKAGE_DIRECTFB
+	depends on BR2_PACKAGE_DIRECTFB_EXAMPLES_AVAILABLE
 
 config BR2_PACKAGE_DIRECTFB_EXAMPLES_ANDI
        bool "usr/bin/df_andi"
package/directfb/Config.in +4 -0
index 47f9fea..a1e3a42 100644
@@ -1,7 +1,11 @@
+config BR2_PACKAGE_DIRECTFB_AVAILABLE
+	def_bool y
+
 config BR2_PACKAGE_DIRECTFB
 	bool "directfb"
 	select BR2_PACKAGE_FREETYPE
 	select BR2_PACKAGE_ZLIB
+	depends on BR2_PACKAGE_DIRECTFB_AVAILABLE
 	help
 	  http://www.directfb.org/
 
package/distcc/Config.in +5 -1
index 2c30a21..52aec27 100644
@@ -1,7 +1,11 @@
+config BR2_PACKAGE_DISTCC_AVAILABLE
+	def_bool y
+	depends on BR2_USE_MMU
+
 config BR2_PACKAGE_DISTCC
 	bool "distcc"
 	# needs fork()
-	depends on BR2_USE_MMU
+	depends on BR2_PACKAGE_DISTCC_AVAILABLE
 	help
 	  Distributed compiler client and server.  Allows you to
 	  distribute compilation of C code across several machines
package/divine/Config.in +5 -1
index 8202292..37f157c 100644
@@ -1,6 +1,10 @@
+config BR2_PACKAGE_DIVINE_AVAILABLE
+	def_bool y
+       depends on BR2_PACKAGE_DIRECTFB
+
 config BR2_PACKAGE_DIVINE
        bool "directfb virtual input extension"
-       depends on BR2_PACKAGE_DIRECTFB
+	depends on BR2_PACKAGE_DIVINE_AVAILABLE
        help
          DiVine provides a DirectFB input driver that reads input
          events from a pipe and dispatches them via a virtual input
package/dmalloc/Config.in +4 -0
index 315f6ca..25190d3 100644
@@ -1,5 +1,9 @@
+config BR2_PACKAGE_DMALLOC_AVAILABLE
+	def_bool y
+
 config BR2_PACKAGE_DMALLOC
 	bool "dmalloc"
+	depends on BR2_PACKAGE_DMALLOC_AVAILABLE
 	help
 	  A debug memory allocation library which is a drop in replacement for
 	  the system's malloc, realloc, calloc, free and other memory management
package/dmidecode/Config.in +5 -1
index 22272ed..76c1505 100644
@@ -1,6 +1,10 @@
+config BR2_PACKAGE_DMIDECODE_AVAILABLE
+	def_bool y
+	depends on BR2_i386 || BR2_x86_64
+
 config BR2_PACKAGE_DMIDECODE
 	bool "dmidecode"
-	depends on BR2_i386 || BR2_x86_64
+	depends on BR2_PACKAGE_DMIDECODE_AVAILABLE
 	help
 	  Dmidecode reports information about your system's hardware
 	  as described in your system BIOS according to the SMBIOS/DMI
package/dmraid/Config.in +5 -1
index 7b37244..0ab7367 100644
@@ -1,7 +1,11 @@
+config BR2_PACKAGE_DMRAID_AVAILABLE
+	def_bool y
+	depends on BR2_LARGEFILE
+
 config BR2_PACKAGE_DMRAID
 	bool "dmraid"
-	depends on BR2_LARGEFILE
 	select BR2_PACKAGE_LVM2
+	depends on BR2_PACKAGE_DMRAID_AVAILABLE
 	help
 	  dmraid discovers, activates, deactivates and displays properties
 	  of software RAID sets (eg, ATARAID) and contained DOS partitions.
package/dnsmasq/Config.in +4 -0
index e67aa46..14777e3 100644
@@ -1,5 +1,9 @@
+config BR2_PACKAGE_DNSMASQ_AVAILABLE
+	def_bool y
+
 config BR2_PACKAGE_DNSMASQ
 	bool "dnsmasq"
+	depends on BR2_PACKAGE_DNSMASQ_AVAILABLE
 	help
 	  A lightweight DNS and DHCP server.  It is intended to provide
 	  coupled DNS and DHCP service to a LAN.
package/docker/Config.in +6 -2
index 75bf5be..515be82 100644
@@ -1,8 +1,12 @@
-config BR2_PACKAGE_DOCKER
-	bool "docker"
+config BR2_PACKAGE_DOCKER_AVAILABLE
+	def_bool y
 	depends on BR2_PACKAGE_XORG7
 	depends on BR2_USE_WCHAR # glib2
+
+config BR2_PACKAGE_DOCKER
+	bool "docker"
 	select BR2_PACKAGE_LIBGLIB2
+	depends on BR2_PACKAGE_DOCKER_AVAILABLE
 	help
 	  a system tray dock for X
 
package/dosfstools/Config.in +5 -1
index 1b92026..65d1e73 100644
@@ -1,6 +1,10 @@
+config BR2_PACKAGE_DOSFSTOOLS_AVAILABLE
+	def_bool y
+	depends on BR2_LARGEFILE
+
 config BR2_PACKAGE_DOSFSTOOLS
 	bool "dosfstools"
-	depends on BR2_LARGEFILE
+	depends on BR2_PACKAGE_DOSFSTOOLS_AVAILABLE
 	help
 	  Tools for creating and checking DOS FAT filesystems.
 
package/dropbear/Config.in +4 -0
index 0903ad1..c38dee6 100644
@@ -1,6 +1,10 @@
+config BR2_PACKAGE_DROPBEAR_AVAILABLE
+	def_bool y
+
 config BR2_PACKAGE_DROPBEAR
 	bool "dropbear"
 	select BR2_PACKAGE_ZLIB if !BR2_PACKAGE_DROPBEAR_SMALL
+	depends on BR2_PACKAGE_DROPBEAR_AVAILABLE
 	help
 	  A small SSH 2 server designed for small memory environments.
 
package/dsp-tools/Config.in +5 -1
index 0267454..91b0fac 100644
@@ -1,7 +1,11 @@
+config BR2_PACKAGE_DSP_TOOLS_AVAILABLE
+	def_bool y
+	depends on BR2_cortex_a8
+
 config BR2_PACKAGE_DSP_TOOLS
 	bool "dsp-tools"
-	depends on BR2_cortex_a8
 	select BR2_PACKAGE_TIDSP_BINARIES
+	depends on BR2_PACKAGE_DSP_TOOLS_AVAILABLE
 	help
 	  Utilities for TI OMAP3 DSP.
 
package/dstat/Config.in +5 -1
index 1439c8b..74ee200 100644
@@ -1,7 +1,11 @@
+config BR2_PACKAGE_DSTAT_AVAILABLE
+	def_bool y
+	depends on BR2_USE_WCHAR # python
+
 config BR2_PACKAGE_DSTAT
 	bool "dstat"
-	depends on BR2_USE_WCHAR # python
 	select BR2_PACKAGE_PYTHON
+	depends on BR2_PACKAGE_DSTAT_AVAILABLE
 	help
 	  Dstat, written in Python, is a versatile replacement for vmstat,
 	  iostat, netstat and ifstat. Dstat overcomes some of their limitations
package/e2fsprogs/Config.in +6 -2
index d4f4405..bfe8559 100644
@@ -1,11 +1,15 @@
 
-config BR2_PACKAGE_E2FSPROGS
-	bool "e2fsprogs"
+config BR2_PACKAGE_E2FSPROGS_AVAILABLE
+	def_bool y
 	depends on BR2_LARGEFILE
 	depends on BR2_USE_WCHAR # util-linux
+
+config BR2_PACKAGE_E2FSPROGS
+	bool "e2fsprogs"
 	select BR2_PACKAGE_UTIL_LINUX
 	select BR2_PACKAGE_UTIL_LINUX_LIBBLKID
 	select BR2_PACKAGE_UTIL_LINUX_LIBUUID
+	depends on BR2_PACKAGE_E2FSPROGS_AVAILABLE
 	help
 	  The EXT2 file system utilities.
 
package/ebtables/Config.in +5 -1
index 40bc45c..311b147 100644
@@ -1,6 +1,10 @@
+config BR2_PACKAGE_EBTABLES_AVAILABLE
+	def_bool y
+	depends on BR2_INET_IPV6
+
 config BR2_PACKAGE_EBTABLES
 	bool "ebtables"
-	depends on BR2_INET_IPV6
+	depends on BR2_PACKAGE_EBTABLES_AVAILABLE
 	help
 	  Ethernet bridge frame table administration
 
package/ed/Config.in +4 -0
index 63dc21e..5d749dd 100644
@@ -1,5 +1,9 @@
+config BR2_PACKAGE_ED_AVAILABLE
+	def_bool y
+
 config BR2_PACKAGE_ED
 	bool "ed"
+	depends on BR2_PACKAGE_ED_AVAILABLE
 	help
 	  A line-oriented text editor.  Used to create, display, modify,
 	  and otherwise manipulate text files.  Often used in scripts
package/eeprog/Config.in +4 -0
index ff313bd..9b97e11 100644
@@ -1,5 +1,9 @@
+config BR2_PACKAGE_EEPROG_AVAILABLE
+	def_bool y
+
 config BR2_PACKAGE_EEPROG
 	bool "eeprog"
+	depends on BR2_PACKAGE_EEPROG_AVAILABLE
 	help
 	  Simple tool to read/write i2c eeprom chips.
 
package/efl/Config.in +5 -1
index c783d7f..0f755e3 100644
@@ -1,6 +1,10 @@
+config BR2_PACKAGE_EFL_AVAILABLE
+	def_bool y
+	depends on BR2_USE_WCHAR
+
 menuconfig BR2_PACKAGE_EFL
 	bool "Enlightenment Foundation Libraries"
-	depends on BR2_USE_WCHAR
+	depends on BR2_PACKAGE_EFL_AVAILABLE
 	help
 	  Enlightenment Foundation Libraries
 
package/efl/expedite/Config.in +5 -1
index 9e131f3..2f5fdd3 100644
@@ -1,9 +1,13 @@
+config BR2_PACKAGE_EXPEDITE_AVAILABLE
+	def_bool y
+	depends on BR2_INSTALL_LIBSTDCPP
+
 config BR2_PACKAGE_EXPEDITE
 	bool "expedite"
 	select BR2_PACKAGE_LIBEINA
 	select BR2_PACKAGE_LIBEVAS
 	select BR2_PACKAGE_LIBEET
-	depends on BR2_INSTALL_LIBSTDCPP
+	depends on BR2_PACKAGE_EXPEDITE_AVAILABLE
 	help
 	  Expedite is the official Evas benchmark tool. It can test different
 	  engines, such as X11, XRender, OpenGL (also ES variant), SDL,
package/efl/libecore/Config.in +4 -0
index 6c887f5..67ef94a 100644
@@ -1,6 +1,10 @@
+config BR2_PACKAGE_LIBECORE_AVAILABLE
+	def_bool y
+
 config BR2_PACKAGE_LIBECORE
 	bool "libecore"
 	select BR2_PACKAGE_LIBEINA
+	depends on BR2_PACKAGE_LIBECORE_AVAILABLE
 	help
 	  Ecore is the event/X abstraction layer that makes doing
 	  selections, Xdnd, general X stuff, event loops, timeouts and
package/efl/libedbus/Config.in +5 -1
index 985939e..6019dc1 100644
@@ -1,9 +1,13 @@
+config BR2_PACKAGE_LIBEDBUS_AVAILABLE
+	def_bool y
+	depends on BR2_TOOLCHAIN_HAS_THREADS # dbus
+
 config BR2_PACKAGE_LIBEDBUS
 	bool "libedbus"
 	select BR2_PACKAGE_LIBEINA
 	select BR2_PACKAGE_LIBECORE
 	select BR2_PACKAGE_DBUS
-	depends on BR2_TOOLCHAIN_HAS_THREADS # dbus
+	depends on BR2_PACKAGE_LIBEDBUS_AVAILABLE
 	help
 	  E_Dbus is a set of wrappers around D-Bus APIs so they can be
 	  easily used by EFL applications, automatically providing
package/efl/libedje/Config.in +4 -0
index f0985dd..7a377fe 100644
@@ -1,3 +1,6 @@
+config BR2_PACKAGE_LIBEDJE_AVAILABLE
+	def_bool y
+
 config BR2_PACKAGE_LIBEDJE
 	bool "libedje"
 	select BR2_PACKAGE_LIBEINA
@@ -7,6 +10,7 @@ config BR2_PACKAGE_LIBEDJE
 	select BR2_PACKAGE_LIBEMBRYO
 	select BR2_PACKAGE_LIBEVAS
 	select BR2_PACKAGE_LUA
+	depends on BR2_PACKAGE_LIBEDJE_AVAILABLE
 	help
 	  A graphical layout and animation library for animated
 	  resizable, compressed and scalable themes.
package/efl/libeet/Config.in +4 -0
index 48631a0..f9d5a56 100644
@@ -1,8 +1,12 @@
+config BR2_PACKAGE_LIBEET_AVAILABLE
+	def_bool y
+
 config BR2_PACKAGE_LIBEET
 	bool "libeet"
 	select BR2_PACKAGE_ZLIB
 	select BR2_PACKAGE_JPEG
 	select BR2_PACKAGE_LIBEINA
+	depends on BR2_PACKAGE_LIBEET_AVAILABLE
 	help
 	  Eet is a tiny library designed to write an arbitary set of
 	  chunks of data to a file and optionally compress each chunk
package/efl/libefreet/Config.in +4 -0
index 8687db4..ec7a033 100644
@@ -1,8 +1,12 @@
+config BR2_PACKAGE_LIBEFREET_AVAILABLE
+	def_bool y
+
 config BR2_PACKAGE_LIBEFREET
 	bool "libefreet"
 	select BR2_PACKAGE_LIBEINA
 	select BR2_PACKAGE_LIBEET
 	select BR2_PACKAGE_LIBECORE
+	depends on BR2_PACKAGE_LIBEFREET_AVAILABLE
 	help
 	  Efreet is a library designed to help apps work with several of the
 	  Freedesktop.org standards regarding Icons, Desktop files and Menus.
package/efl/libeina/Config.in +4 -0
index 80600ad..85cd7be 100644
@@ -1,5 +1,9 @@
+config BR2_PACKAGE_LIBEINA_AVAILABLE
+	def_bool y
+
 config BR2_PACKAGE_LIBEINA
 	bool "libeina"
+	depends on BR2_PACKAGE_LIBEINA_AVAILABLE
 	help
 	  Eina is a tiny library to handle data types (list, hash, etc.)
 
package/efl/libelementary/Config.in +4 -0
index 59af80e..0b4cb3d 100644
@@ -1,9 +1,13 @@
+config BR2_PACKAGE_LIBELEMENTARY_AVAILABLE
+	def_bool y
+
 config BR2_PACKAGE_LIBELEMENTARY
 	bool "libelementary"
 	select BR2_PACKAGE_LIBEINA
 	select BR2_PACKAGE_LIBEVAS
 	select BR2_PACKAGE_LIBECORE
 	select BR2_PACKAGE_LIBEDJE
+	depends on BR2_PACKAGE_LIBELEMENTARY_AVAILABLE
 	help
 	  Elementary is a widget toolkit and EFL wrapper and convenience
 	  library to make it easy to build applications and tools with UIs
package/efl/libembryo/Config.in +4 -0
index 63c7064..efd48c0 100644
@@ -1,6 +1,10 @@
+config BR2_PACKAGE_LIBEMBRYO_AVAILABLE
+	def_bool y
+
 config BR2_PACKAGE_LIBEMBRYO
 	bool "libembryo"
 	select BR2_PACKAGE_LIBEINA
+	depends on BR2_PACKAGE_LIBEMBRYO_AVAILABLE
 	help
 	  Embryo is primarily a shared library that gives you an API
 	  to load and control interpreted programs compiled into an
package/efl/libethumb/Config.in +4 -0
index fb0032a..61629b0 100644
@@ -1,3 +1,6 @@
+config BR2_PACKAGE_LIBETHUMB_AVAILABLE
+	def_bool y
+
 config BR2_PACKAGE_LIBETHUMB
 	bool "libethumb"
 	select BR2_PACKAGE_LIBEINA
@@ -5,6 +8,7 @@ config BR2_PACKAGE_LIBETHUMB
 	select BR2_PACKAGE_LIBECORE
 	select BR2_PACKAGE_LIBECORE_EVAS
 	select BR2_PACKAGE_LIBEDJE
+	depends on BR2_PACKAGE_LIBETHUMB_AVAILABLE
 	help
 	  Ethumb is a library for generating thumbnail images of documents.
 
package/efl/libevas/Config.in +4 -0
index ddac49e..d25a03e 100644
@@ -1,9 +1,13 @@
+config BR2_PACKAGE_LIBEVAS_AVAILABLE
+	def_bool y
+
 config BR2_PACKAGE_LIBEVAS
 	bool "libevas"
 	select BR2_PACKAGE_FREETYPE
 	select BR2_PACKAGE_LIBEINA
 	# required to build so far
 	select BR2_PACKAGE_LIBEVAS_SCALE_SMOOTH
+	depends on BR2_PACKAGE_LIBEVAS_AVAILABLE
 	help
 	  Evas is a clean display canvas API for several target
 	  display systems that can draw anti-aliased text, smooth
package/empty/Config.in +4 -0
index 67b09fc..c006b68 100644
@@ -1,5 +1,9 @@
+config BR2_PACKAGE_EMPTY_AVAILABLE
+	def_bool y
+
 config BR2_PACKAGE_EMPTY
 	bool "empty"
+	depends on BR2_PACKAGE_EMPTY_AVAILABLE
 	help
 	  Run processes and applications under pseudo-terminal (PTY) sessions.
 
package/enchant/Config.in +6 -2
index 33f36db..e7e86c5 100644
@@ -1,8 +1,12 @@
-config BR2_PACKAGE_ENCHANT
-	bool "enchant"
+config BR2_PACKAGE_ENCHANT_AVAILABLE
+	def_bool y
 	depends on BR2_INSTALL_LIBSTDCPP
 	depends on BR2_USE_WCHAR # glib2
+
+config BR2_PACKAGE_ENCHANT
+	bool "enchant"
 	select BR2_PACKAGE_LIBGLIB2
+	depends on BR2_PACKAGE_ENCHANT_AVAILABLE
 	help
 	  Enchant is a spell-checking library that provides a consistent
 	  API across a number of spell-checking system backends.
package/erlang/Config.in +4 -0
index 6dd5a39..5a1efe6 100644
@@ -1,5 +1,9 @@
+config BR2_PACKAGE_ERLANG_AVAILABLE
+	def_bool y
+
 config BR2_PACKAGE_ERLANG
 	bool "erlang"
+	depends on BR2_PACKAGE_ERLANG_AVAILABLE
 	help
 	  Erlang is a programming language used to build massively scalable
 	  soft real-time systems with requirements on high availability.
package/ethtool/Config.in +4 -0
index 48c6062..de4159b 100644
@@ -1,5 +1,9 @@
+config BR2_PACKAGE_ETHTOOL_AVAILABLE
+	def_bool y
+
 config BR2_PACKAGE_ETHTOOL
 	bool "ethtool"
+	depends on BR2_PACKAGE_ETHTOOL_AVAILABLE
 	help
 	  ethtool is a small utility for examining and tuning your
 	  ethernet-based network interface.
package/expat/Config.in +4 -0
index 3988c90..e68b6e0 100644
@@ -1,5 +1,9 @@
+config BR2_PACKAGE_EXPAT_AVAILABLE
+	def_bool y
+
 config BR2_PACKAGE_EXPAT
 	bool"expat"
+	depends on BR2_PACKAGE_EXPAT_AVAILABLE
 	help
 	  The Expat XML Parser.
 
package/explorercanvas/Config.in +4 -0
index 9714a58..b2708da 100644
@@ -1,5 +1,9 @@
+config BR2_PACKAGE_EXPLORERCANVAS_AVAILABLE
+	def_bool y
+
 config BR2_PACKAGE_EXPLORERCANVAS
 	bool "explorercanvas"
+	depends on BR2_PACKAGE_EXPLORERCANVAS_AVAILABLE
 	help
 	  Modern browsers like Firefox, Safari, Chrome and Opera
 	  support the HTML5 canvas tag to allow 2D command-based
package/ezxml/Config.in +4 -0
index 285c7a5..6cf5dfa 100644
@@ -1,5 +1,9 @@
+config BR2_PACKAGE_EZXML_AVAILABLE
+	def_bool y
+
 config BR2_PACKAGE_EZXML
 	bool "ezxml"
+	depends on BR2_PACKAGE_EZXML_AVAILABLE
 	help
 	  ezXML is a XML parser C library that is simple and easy to use.
 
package/fbdump/Config.in +4 -0
index fb4aee6..789dfb7 100644
@@ -1,5 +1,9 @@
+config BR2_PACKAGE_FBDUMP_AVAILABLE
+	def_bool y
+
 config BR2_PACKAGE_FBDUMP
 	bool "fbdump (Framebuffer Capture Tool)"
+	depends on BR2_PACKAGE_FBDUMP_AVAILABLE
 	help
 	  fbdump is a simple tool to capture snapshots from the Linux kernel
 	  framebuffer  device and write them out as a PPM file. Currently,
package/fbgrab/Config.in +4 -0
index ca6c6b7..5a64aa4 100644
@@ -1,6 +1,10 @@
+config BR2_PACKAGE_FBGRAB_AVAILABLE
+	def_bool y
+
 config BR2_PACKAGE_FBGRAB
 	bool "fbgrab"
 	select BR2_PACKAGE_LIBPNG
+	depends on BR2_PACKAGE_FBGRAB_AVAILABLE
 	help
 	  FBGrab is a framebuffer screenshot program, capturing the linux
 	  frambuffer and converting it to a png-picture.
package/fbset/Config.in +4 -0
index 96d090e..42171a0 100644
@@ -1,5 +1,9 @@
+config BR2_PACKAGE_FBSET_AVAILABLE
+	def_bool y
+
 config BR2_PACKAGE_FBSET
 	bool "fbset"
+	depends on BR2_PACKAGE_FBSET_AVAILABLE
 	help
 	  Fbset is a system utility to show or change the settings of the frame
 	  buffer device. The frame buffer device provides a simple and unique
package/fbterm/Config.in +5 -1
index 1e4ab4c..87926ef 100644
@@ -1,8 +1,12 @@
+config BR2_PACKAGE_FBTERM_AVAILABLE
+	def_bool y
+	depends on (BR2_INSTALL_LIBSTDCPP && BR2_ENABLE_LOCALE && BR2_USE_WCHAR)
+
 config BR2_PACKAGE_FBTERM
 	bool "fbterm"
-	depends on (BR2_INSTALL_LIBSTDCPP && BR2_ENABLE_LOCALE && BR2_USE_WCHAR)
 	select BR2_PACKAGE_FONTCONFIG
 	select BR2_PACKAGE_LIBERATION
+	depends on BR2_PACKAGE_FBTERM_AVAILABLE
 	help
 	  fbterm is a fast terminal emulator for Linux with frame buffer
 	  device or VESA video card.
package/fbv/Config.in +4 -0
index b8a9fe4..153d0f9 100644
@@ -1,5 +1,9 @@
+config BR2_PACKAGE_FBV_AVAILABLE
+	def_bool y
+
 config BR2_PACKAGE_FBV
 	bool "fbv"
+	depends on BR2_PACKAGE_FBV_AVAILABLE
 	help
 	  fbv is a very simple graphic file viewer for the framebuffer console,
 	  capable of displaying GIF, JPEG, PNG and BMP files using libungif,
package/fconfig/Config.in +4 -0
index e7dd58a..39deb00 100644
@@ -1,5 +1,9 @@
+config BR2_PACKAGE_FCONFIG_AVAILABLE
+	def_bool y
+
 config BR2_PACKAGE_FCONFIG
 	bool "fconfig"
+	depends on BR2_PACKAGE_FCONFIG_AVAILABLE
 	help
 	  fconfig - get/set RedBoot configuration parameters from Linux.
 
package/feh/Config.in +5 -1
index 31e7239..3760b6f 100644
@@ -1,6 +1,9 @@
+config BR2_PACKAGE_FEH_AVAILABLE
+	def_bool y
+	depends on BR2_PACKAGE_XORG7
+
 config BR2_PACKAGE_FEH
 	bool "feh"
-	depends on BR2_PACKAGE_XORG7
 	select BR2_PACKAGE_XLIB_LIBXINERAMA
 	select BR2_PACKAGE_XLIB_LIBXT
 	select BR2_PACKAGE_IMLIB2_PNG
@@ -8,6 +11,7 @@ config BR2_PACKAGE_FEH
 	select BR2_PACKAGE_IMLIB2_X
 	select BR2_PACKAGE_GIBLIB
 	select BR2_PACKAGE_LIBCURL
+	depends on BR2_PACKAGE_FEH_AVAILABLE
 	help
 	  feh is an X11 image viewer aimed mostly at console users.
 
package/fftw/Config.in +4 -0
index 36f849f..8ed892a 100644
@@ -1,5 +1,9 @@
+config BR2_PACKAGE_FFTW_AVAILABLE
+	def_bool y
+
 config BR2_PACKAGE_FFTW
 	bool "fftw"
+	depends on BR2_PACKAGE_FFTW_AVAILABLE
 	help
 	  Library for computing Fast Fourier Transforms.
 
package/file/Config.in +4 -0
index dede331..ed60857 100644
@@ -1,6 +1,10 @@
+config BR2_PACKAGE_FILE_AVAILABLE
+	def_bool y
+
 config BR2_PACKAGE_FILE
 	bool "file"
 	select BR2_PACKAGE_ZLIB
+	depends on BR2_PACKAGE_FILE_AVAILABLE
 	help
 	  Program to identify a file's format by scanning binary data
 	  for known patterns.
package/findutils/Config.in +5 -1
index bbe2cc1..8430972 100644
@@ -1,6 +1,10 @@
+config BR2_PACKAGE_FINDUTILS_AVAILABLE
+	def_bool y
+	depends on BR2_USE_WCHAR
+
 config BR2_PACKAGE_FINDUTILS
 	bool "findutils"
-	depends on BR2_USE_WCHAR
+	depends on BR2_PACKAGE_FINDUTILS_AVAILABLE
 	help
 	  Basic directory searching utilities.  Provides the
 	  common 'find', 'xargs', 'locate', and 'updatedb' binaries.
package/fis/Config.in +4 -0
index 83bbdd3..899760e 100644
@@ -1,5 +1,9 @@
+config BR2_PACKAGE_FIS_AVAILABLE
+	def_bool y
+
 config BR2_PACKAGE_FIS
 	bool "fis"
+	depends on BR2_PACKAGE_FIS_AVAILABLE
 	help
 	  fis - manipulate RedBoot partition table from Linux.
 
package/flashrom/Config.in +5 -1
index 956500f..4a64e55 100644
@@ -1,9 +1,13 @@
+config BR2_PACKAGE_FLASHROM_AVAILABLE
+	def_bool y
+	depends on BR2_i386 || BR2_x86_64
+
 config BR2_PACKAGE_FLASHROM
 	bool "flashrom"
 	select BR2_PACKAGE_PCIUTILS
 	# dmidecode is only a runtime dependency
 	select BR2_PACKAGE_DMIDECODE
-	depends on BR2_i386 || BR2_x86_64
+	depends on BR2_PACKAGE_FLASHROM_AVAILABLE
 	help
 	  BIOS-updating utility.
 	  Requires PCIUtils libraries.
package/flex/Config.in +4 -0
index b10eb00..d1d5cf0 100644
@@ -1,5 +1,9 @@
+config BR2_PACKAGE_FLEX_AVAILABLE
+	def_bool y
+
 config BR2_PACKAGE_FLEX
 	bool "flex"
+	depends on BR2_PACKAGE_FLEX_AVAILABLE
 	help
 	  A fast lexical analyser generator.  A tool for generating
 	  programs that perform pattern-matching on text.
package/flot/Config.in +4 -0
index 60534c1..d63bcb5 100644
@@ -1,6 +1,10 @@
+config BR2_PACKAGE_FLOT_AVAILABLE
+	def_bool y
+
 config BR2_PACKAGE_FLOT
 	bool "flot"
 	select BR2_PACKAGE_JQUERY
+	depends on BR2_PACKAGE_FLOT_AVAILABLE
 	help
 	  Flot is a pure Javascript plotting library for jQuery. It
 	  produces graphical plots of arbitrary datasets on-the-fly
package/fltk/Config.in +6 -2
index eff72b5..ca978c2 100644
@@ -1,8 +1,12 @@
-config BR2_PACKAGE_FLTK
-	bool "fltk"
+config BR2_PACKAGE_FLTK_AVAILABLE
+	def_bool y
 	depends on BR2_INSTALL_LIBSTDCPP
 	depends on BR2_PACKAGE_XORG7
+
+config BR2_PACKAGE_FLTK
+	bool "fltk"
 	select BR2_PACKAGE_XLIB_LIBXT
+	depends on BR2_PACKAGE_FLTK_AVAILABLE
 	help
 	  A cross-platform C++ GUI toolkit for UNIX/Linux (X11),
 	  Microsoft Windows, and MacOS X.
package/fluxbox/Config.in +6 -2
index e4d6c37..ec8a4f7 100644
@@ -1,8 +1,12 @@
-config BR2_PACKAGE_FLUXBOX
-	bool "fluxbox"
+config BR2_PACKAGE_FLUXBOX_AVAILABLE
+	def_bool y
 	depends on BR2_PACKAGE_XORG7
 	depends on BR2_INSTALL_LIBSTDCPP
+
+config BR2_PACKAGE_FLUXBOX
+	bool "fluxbox"
 	select BR2_PACKAGE_XLIB_LIBX11
+	depends on BR2_PACKAGE_FLUXBOX_AVAILABLE
 	help
 	  The Fluxbox lightweight window manager for X
 
package/fmtools/Config.in +4 -0
index 1591618..5de9972 100644
@@ -1,5 +1,9 @@
+config BR2_PACKAGE_FMTOOLS_AVAILABLE
+	def_bool y
+
 config BR2_PACKAGE_FMTOOLS
 	bool "fmtools"
+	depends on BR2_PACKAGE_FMTOOLS_AVAILABLE
 	help
 	  fmtools is a pair of simple command-line utilities for
 	  "video4linux" radio tuner cards under Linux. It includes
package/fontconfig/Config.in +4 -0
index 49878d2..670cfd4 100644
@@ -1,7 +1,11 @@
+config BR2_PACKAGE_FONTCONFIG_AVAILABLE
+	def_bool y
+
 config BR2_PACKAGE_FONTCONFIG
 	bool "fontconfig"
 	select BR2_PACKAGE_FREETYPE
 	select BR2_PACKAGE_EXPAT
+	depends on BR2_PACKAGE_FONTCONFIG_AVAILABLE
 	help
 	  a library for font customization and configuration.
 
package/freerdp/Config.in +5 -1
index c5ff769..21a12bd 100644
@@ -1,3 +1,7 @@
+config BR2_PACKAGE_FREERDP_AVAILABLE
+	def_bool y
+	depends on BR2_PACKAGE_XORG7
+
 config BR2_PACKAGE_FREERDP
 	bool "freerdp"
 	select BR2_PACKAGE_OPENSSL
@@ -6,7 +10,7 @@ config BR2_PACKAGE_FREERDP
 	select BR2_PACKAGE_XLIB_LIBXEXT
 	select BR2_PACKAGE_XLIB_LIBXCURSOR
 	select BR2_PACKAGE_ZLIB
-	depends on BR2_PACKAGE_XORG7
+	depends on BR2_PACKAGE_FREERDP_AVAILABLE
 	help
 	  FreeRDP is a free implementation of the Remote Desktop
 	  Protocol (RDP), released under the Apache license
package/freetype/Config.in +4 -0
index ded8738..912eb31 100644
@@ -1,5 +1,9 @@
+config BR2_PACKAGE_FREETYPE_AVAILABLE
+	def_bool y
+
 config BR2_PACKAGE_FREETYPE
 	bool "freetype"
+	depends on BR2_PACKAGE_FREETYPE_AVAILABLE
 	help
 	  a free, high-quality and portable font engine.
 
package/gadgetfs-test/Config.in +4 -0
index 276ec54..c9ed46d 100644
@@ -1,5 +1,9 @@
+config BR2_PACKAGE_GADGETFS_TEST_AVAILABLE
+	def_bool y
+
 config BR2_PACKAGE_GADGETFS_TEST
 	bool "gadgetfs-test"
+	depends on BR2_PACKAGE_GADGETFS_TEST_AVAILABLE
 	help
 	  Test program for gadgetfs from linux-usb.org
 
package/games/doom-wad/Config.in +5 -1
index aa1d029..5533c18 100644
@@ -1,6 +1,10 @@
+config BR2_PACKAGE_DOOM_WAD_AVAILABLE
+	def_bool y
+	depends on BR2_PACKAGE_PRBOOM
+
 config BR2_PACKAGE_DOOM_WAD
 	bool "shareware Doom WAD file"
-	depends on BR2_PACKAGE_PRBOOM
+	depends on BR2_PACKAGE_DOOM_WAD_AVAILABLE
 	help
 	  This will install the shareware wad data file for the doom game.
 
package/games/gnuchess/Config.in +5 -1
index c79c52d..6d65b66 100644
@@ -1,6 +1,10 @@
+config BR2_PACKAGE_GNUCHESS_AVAILABLE
+	def_bool y
+	depends on BR2_TOOLCHAIN_HAS_THREADS
+
 config BR2_PACKAGE_GNUCHESS
 	bool "gnuchess"
-	depends on BR2_TOOLCHAIN_HAS_THREADS
+	depends on BR2_PACKAGE_GNUCHESS_AVAILABLE
 	help
 	  GNU Chess lets most modern computers play a full game of chess.
 
package/games/prboom/Config.in +4 -0
index 2835929..aa51225 100644
@@ -1,8 +1,12 @@
+config BR2_PACKAGE_PRBOOM_AVAILABLE
+	def_bool y
+
 config BR2_PACKAGE_PRBOOM
 	bool "PrBoom"
 	select BR2_PACKAGE_SDL
 	select BR2_PACKAGE_SDL_MIXER
 	select BR2_PACKAGE_SDL_NET
+	depends on BR2_PACKAGE_PRBOOM_AVAILABLE
 	help
 	  PrBoom is a Doom client which allows you to play the good old game on
 	  newer hardware. It even supports higher resolution and better
package/games/rubix/Config.in +5 -1
index 6da8c71..249a33c 100644
@@ -1,6 +1,10 @@
+config BR2_PACKAGE_RUBIX_AVAILABLE
+	def_bool y
+	depends on BR2_PACKAGE_XORG7
+
 config BR2_PACKAGE_RUBIX
 	bool "rubix"
-	depends on BR2_PACKAGE_XORG7
+	depends on BR2_PACKAGE_RUBIX_AVAILABLE
 	help
 	  A 3D rubiks cube game for X
 
package/gamin/Config.in +5 -1
index 3ede2e4..d835789 100644
@@ -1,7 +1,11 @@
+config BR2_PACKAGE_GAMIN_AVAILABLE
+	def_bool y
+	depends on BR2_USE_WCHAR # glib2
+
 config BR2_PACKAGE_GAMIN
 	bool "gamin"
-	depends on BR2_USE_WCHAR # glib2
 	select BR2_PACKAGE_LIBGLIB2
+	depends on BR2_PACKAGE_GAMIN_AVAILABLE
 	help
 	  the File Alteration Monitor
 
package/gawk/Config.in +5 -1
index 82c970f..57e201d 100644
@@ -1,6 +1,10 @@
+config BR2_PACKAGE_GAWK_AVAILABLE
+	def_bool y
+	depends on BR2_USE_WCHAR
+
 config BR2_PACKAGE_GAWK
 	bool "gawk"
-	depends on BR2_USE_WCHAR
+	depends on BR2_PACKAGE_GAWK_AVAILABLE
 	help
 	  A special-purpose programming language which is data driven
 	  rather than procedural.  Allows for simple data-reformatting jobs
package/gdisk/Config.in +6 -2
index 24d305d..4abe39e 100644
@@ -1,8 +1,12 @@
-config BR2_PACKAGE_GDISK
-	bool "gdisk"
+config BR2_PACKAGE_GDISK_AVAILABLE
+	def_bool y
 	depends on BR2_LARGEFILE
 	depends on BR2_INSTALL_LIBSTDCPP
 	depends on BR2_USE_WCHAR # util-linux
+
+config BR2_PACKAGE_GDISK
+	bool "gdisk"
+	depends on BR2_PACKAGE_GDISK_AVAILABLE
 	help
 	  GPT fdisk (consisting of the gdisk and sgdisk programs) is a
 	  text-mode partitioning tool that works on Globally Unique Identifier
package/gdk-pixbuf/Config.in +5 -1
index 28a0f12..7bb6e13 100644
@@ -1,10 +1,14 @@
+config BR2_PACKAGE_GDK_PIXBUF_AVAILABLE
+	def_bool y
+	depends on BR2_USE_WCHAR # glib2
+
 config BR2_PACKAGE_GDK_PIXBUF
 	bool "gdk-pixbuf"
-	depends on BR2_USE_WCHAR # glib2
 	select BR2_PACKAGE_LIBGLIB2
 	select BR2_PACKAGE_GETTEXT if BR2_NEEDS_GETTEXT
 	select BR2_PACKAGE_LIBINTL if BR2_NEEDS_GETTEXT
 	select BR2_PACKAGE_LIBICONV if !BR2_ENABLE_LOCALE
+	depends on BR2_PACKAGE_GDK_PIXBUF_AVAILABLE
 	help
 	  Gdk-Pixbuf is an image loader and scaler. It uses GObject
 	  and the GLib, to integrate well with GNOME applications.
package/genext2fs/Config.in +4 -0
index 82992f8..14dc33c 100644
@@ -1,5 +1,9 @@
+config BR2_PACKAGE_GENEXT2FS_AVAILABLE
+	def_bool y
+
 config BR2_PACKAGE_GENEXT2FS
        bool "genext2fs"
+	depends on BR2_PACKAGE_GENEXT2FS_AVAILABLE
        help
          genext2fs generates an ext2 filesystem as a normal (non-root)
 	 user.  It does not require you to mount the image file to
package/genromfs/Config.in +5 -1
index 2caf2a4..08f827e 100644
@@ -1,6 +1,10 @@
+config BR2_PACKAGE_GENROMFS_AVAILABLE
+	def_bool y
+
 config BR2_PACKAGE_GENROMFS
        bool "genromfs"
+	depends on BR2_PACKAGE_GENROMFS_AVAILABLE
        help
          Tool to generate a ROMFS filesystem.
 
-	 http://romfs.sourceforge.net/
\ No newline at end of file
+	 http://romfs.sourceforge.net/
package/gettext/Config.in +6 -2
index fabfe1e..684b84b 100644
@@ -1,7 +1,11 @@
-config BR2_PACKAGE_GETTEXT
-	bool "gettext"
+config BR2_PACKAGE_GETTEXT_AVAILABLE
+	def_bool y
 	depends on BR2_NEEDS_GETTEXT
 	depends on BR2_USE_WCHAR
+
+config BR2_PACKAGE_GETTEXT
+	bool "gettext"
+	depends on BR2_PACKAGE_GETTEXT_AVAILABLE
 	help
 	  The GNU `gettext' utilities are a set of tools that provide a
 	  framework to help other GNU packages produce multi-lingual
package/giblib/Config.in +5 -1
index 7153bd5..2bc3aa6 100644
@@ -1,8 +1,12 @@
+config BR2_PACKAGE_GIBLIB_AVAILABLE
+	def_bool y
+	depends on BR2_PACKAGE_XORG7
+
 config BR2_PACKAGE_GIBLIB
 	bool "giblib"
-	depends on BR2_PACKAGE_XORG7
 	select BR2_PACKAGE_IMLIB2
 	select BR2_PACKAGE_IMLIB2_X
+	depends on BR2_PACKAGE_GIBLIB_AVAILABLE
 	help
 	  Giblib is a simple library which wraps imlib2.
 
package/glib-networking/Config.in +5 -1
index 16f0d4a..6dc6da2 100644
@@ -1,9 +1,13 @@
+config BR2_PACKAGE_GLIB_NETWORKING_AVAILABLE
+	def_bool y
+	depends on BR2_USE_WCHAR # glib2
+
 config BR2_PACKAGE_GLIB_NETWORKING
 	bool "glib-networking"
-	depends on BR2_USE_WCHAR # glib2
 	select BR2_PACKAGE_LIBGLIB2
 	select BR2_PACKAGE_GETTEXT if BR2_NEEDS_GETTEXT
 	select BR2_PACKAGE_LIBINTL if BR2_NEEDS_GETTEXT
+	depends on BR2_PACKAGE_GLIB_NETWORKING_AVAILABLE
 	help
 	  Network-related GIO modules for glib.
 
package/gmp/Config.in +4 -0
index 226e088..e18b6c6 100644
@@ -1,5 +1,9 @@
+config BR2_PACKAGE_GMP_AVAILABLE
+	def_bool y
+
 config BR2_PACKAGE_GMP
 	bool "gmp"
+	depends on BR2_PACKAGE_GMP_AVAILABLE
 	help
 	  GNU Multiple Precision Arithmetic Library.
 
package/gmpc/Config.in +6 -2
index f86945c..13a1dc2 100644
@@ -1,8 +1,11 @@
-config BR2_PACKAGE_GMPC
-	bool "gmpc"
+config BR2_PACKAGE_GMPC_AVAILABLE
+	def_bool y
 	depends on BR2_PACKAGE_LIBGTK2
 	depends on BR2_USE_WCHAR # glib2
 	depends on BR2_PACKAGE_XORG7
+
+config BR2_PACKAGE_GMPC
+	bool "gmpc"
 	select BR2_PACKAGE_LIBGLIB2
 	select BR2_PACKAGE_GETTEXT if BR2_NEEDS_GETTEXT_IF_LOCALE
 	select BR2_PACKAGE_LIBINTL if BR2_NEEDS_GETTEXT_IF_LOCALE
@@ -14,6 +17,7 @@ config BR2_PACKAGE_GMPC
 	select BR2_PACKAGE_XLIB_LIBICE
 	select BR2_PACKAGE_XLIB_LIBSM
 	select BR2_PACKAGE_XLIB_LIBX11
+	depends on BR2_PACKAGE_GMPC_AVAILABLE
 	help
 	  Gnome Music Player Client is a GNOME/GTK2.2 client for
 	  Music Player Daemon.
package/gnutls/Config.in +5 -1
index 556caea..a9271c4 100644
@@ -1,7 +1,11 @@
+config BR2_PACKAGE_GNUTLS_AVAILABLE
+	def_bool y
+	depends on BR2_USE_WCHAR
+
 config BR2_PACKAGE_GNUTLS
 	bool "gnutls"
 	select BR2_PACKAGE_LIBGCRYPT
-	depends on BR2_USE_WCHAR
+	depends on BR2_PACKAGE_GNUTLS_AVAILABLE
 	help
 	  GnuTLS is a secure communications library implementing the SSL
 	  and TLS protocols and technologies around them.
package/gob2/Config.in +6 -2
index cbe30d6..a39e04f 100644
@@ -1,12 +1,16 @@
+config BR2_PACKAGE_GOB2_AVAILABLE
+	def_bool y
+	depends on BR2_USE_WCHAR # glib2
+	depends on BR2_USE_MMU
+
 config BR2_PACKAGE_GOB2
 	bool "gob2"
-	depends on BR2_USE_WCHAR # glib2
 	# m4 uses fork(), so does bison then
-	depends on BR2_USE_MMU
 	select BR2_PACKAGE_LIBGLIB2
 	select BR2_PACKAGE_FLEX
 	select BR2_PACKAGE_FLEX_LIBFL
 	select BR2_PACKAGE_BISON
+	depends on BR2_PACKAGE_GOB2_AVAILABLE
 	help
 	  GOB (GTK+ Object Builder) is a preprocessor which simplifies
 	  the writing of GObjects in C.
package/gperf/Config.in +5 -1
index 67b286b..7f1d113 100644
@@ -1,6 +1,10 @@
+config BR2_PACKAGE_GPERF_AVAILABLE
+	def_bool y
+	depends on BR2_INSTALL_LIBSTDCPP
+
 config BR2_PACKAGE_GPERF
 	bool "gperf"
-	depends on BR2_INSTALL_LIBSTDCPP
+	depends on BR2_PACKAGE_GPERF_AVAILABLE
 	help
 	  A 'perfect hash function' generator
 
package/gpsd/Config.in +5 -1
index a11c553..fe8d827 100644
@@ -1,7 +1,11 @@
+config BR2_PACKAGE_GPSD_AVAILABLE
+	def_bool y
+	depends on BR2_USE_MMU
+
 config BR2_PACKAGE_GPSD
 	bool "gpsd"
 	# Uses fork()
-	depends on BR2_USE_MMU
+	depends on BR2_PACKAGE_GPSD_AVAILABLE
 	help
 	  gpsd is a service daemon that monitors one or more GPSes or AIS
 	  receivers attached to a host computer through serial or USB ports,
package/gqview/Config.in +5 -1
index c1df40c..88d6177 100644
@@ -1,6 +1,10 @@
+config BR2_PACKAGE_GQVIEW_AVAILABLE
+	def_bool y
+	depends on BR2_PACKAGE_LIBGTK2
+
 config BR2_PACKAGE_GQVIEW
 	bool "gqview"
-	depends on BR2_PACKAGE_LIBGTK2
+	depends on BR2_PACKAGE_GQVIEW_AVAILABLE
 	help
 	  GQview is an image viewer for Unix operating systems
 
package/grep/Config.in +5 -1
index 1b39922..3c4f8bd 100644
@@ -1,8 +1,12 @@
+config BR2_PACKAGE_GREP_AVAILABLE
+	def_bool y
+	depends on BR2_USE_WCHAR
+
 config BR2_PACKAGE_GREP
 	bool "grep"
-	depends on BR2_USE_WCHAR
 	select BR2_PACKAGE_GETTEXT if BR2_NEEDS_GETTEXT_IF_LOCALE
 	select BR2_PACKAGE_LIBINTL if BR2_NEEDS_GETTEXT_IF_LOCALE
+	depends on BR2_PACKAGE_GREP_AVAILABLE
 	help
 	  The GNU regular expression matcher.
 
package/gsl/Config.in +4 -0
index aa431d1..befa674 100644
@@ -1,5 +1,9 @@
+config BR2_PACKAGE_GSL_AVAILABLE
+	def_bool y
+
 config BR2_PACKAGE_GSL
 	bool "gsl"
+	depends on BR2_PACKAGE_GSL_AVAILABLE
 	help
 	  The GNU Scientific Library (GSL) is a numerical library for
 	  C and C++ programmers.  The library provides a wide range of
package/gtk2-engines/Config.in +5 -1
index 756a7d0..5c6b503 100644
@@ -1,5 +1,9 @@
+config BR2_PACKAGE_GTK2_ENGINES_AVAILABLE
+	def_bool y
+	depends on BR2_PACKAGE_LIBGTK2
+
 config BR2_PACKAGE_GTK2_ENGINES
 	bool "gtk engines"
-	depends on BR2_PACKAGE_LIBGTK2
+	depends on BR2_PACKAGE_GTK2_ENGINES_AVAILABLE
 	help
 	  A collection of basic theme engines for GTK+.
package/gtk2-themes/gtk2-theme-hicolor/Config.in +4 -0
index 144f1d8..fc05c24 100644
@@ -1,2 +1,6 @@
+config BR2_PACKAGE_GTK2_THEME_HICOLOR_AVAILABLE
+	def_bool y
+
 config BR2_PACKAGE_GTK2_THEME_HICOLOR
 	bool "hicolor (default theme)"
+	depends on BR2_PACKAGE_GTK2_THEME_HICOLOR_AVAILABLE
package/gtkperf/Config.in +5 -1
index 0122b52..f297f0f 100644
@@ -1,6 +1,10 @@
+config BR2_PACKAGE_GTKPERF_AVAILABLE
+	def_bool y
+	depends on BR2_PACKAGE_LIBGTK2
+
 config BR2_PACKAGE_GTKPERF
 	bool "gtkperf (performance test for GTK2)"
-	depends on BR2_PACKAGE_LIBGTK2
+	depends on BR2_PACKAGE_GTKPERF_AVAILABLE
 	help
 	  GtkPerf is an application designed to test GTK+ performance.
 	  The point is to create common testing platform to run
package/gvfs/Config.in +6 -2
index 87f9a03..e453df4 100644
@@ -1,10 +1,14 @@
-config BR2_PACKAGE_GVFS
-	bool "gvfs"
+config BR2_PACKAGE_GVFS_AVAILABLE
+	def_bool y
 	depends on BR2_LARGEFILE
 	depends on BR2_USE_WCHAR # glib2
+
+config BR2_PACKAGE_GVFS
+	bool "gvfs"
 	select BR2_PACKAGE_LIBGLIB2
 	select BR2_PACKAGE_DBUS
 	select BR2_PACKAGE_SHARED_MIME_INFO
+	depends on BR2_PACKAGE_GVFS_AVAILABLE
 	help
 	  gvfs is a userspace virtual filesystem where mount runs as a
 	  separate processes which you talk to via D-Bus. It also
package/gzip/Config.in +5 -1
index f501d5c..c447cbc 100644
@@ -1,6 +1,10 @@
+config BR2_PACKAGE_GZIP_AVAILABLE
+	def_bool y
+	depends on BR2_USE_WCHAR
+
 config BR2_PACKAGE_GZIP
 	bool "gzip"
-	depends on BR2_USE_WCHAR
+	depends on BR2_PACKAGE_GZIP_AVAILABLE
 	help
 	  Standard GNU compressor.  Provides things like gzip,
 	  gunzip, gzcat, etc...
package/haserl/Config.in +4 -0
index 7710fa1..08101cf 100644
@@ -1,5 +1,9 @@
+config BR2_PACKAGE_HASERL_AVAILABLE
+	def_bool y
+
 config BR2_PACKAGE_HASERL
 	bool "haserl"
+	depends on BR2_PACKAGE_HASERL_AVAILABLE
 	help
 	  Haserl is a small cgi wrapper that enables shell scripts to be
 	  embedded into html documents. It is intended for environments
package/hdparm/Config.in +5 -1
index 32bd247..9cd1199 100644
@@ -1,6 +1,10 @@
+config BR2_PACKAGE_HDPARM_AVAILABLE
+	def_bool y
+	depends on BR2_LARGEFILE
+
 config BR2_PACKAGE_HDPARM
 	bool "hdparm"
-	depends on BR2_LARGEFILE
+	depends on BR2_PACKAGE_HDPARM_AVAILABLE
 	help
 	  hdparm - get/set hard disk parameters for Linux IDE drives.
 
package/heirloom-mailx/Config.in +4 -0
index 9a871d4..0d72232 100644
@@ -1,5 +1,9 @@
+config BR2_PACKAGE_HEIRLOOM_MAILX_AVAILABLE
+	def_bool y
+
 config BR2_PACKAGE_HEIRLOOM_MAILX
 	bool "heirloom-mailx"
+	depends on BR2_PACKAGE_HEIRLOOM_MAILX_AVAILABLE
 	help
 	  Heirloom mailx (previously known as nail) is a mail user
 	  agent for Unix systems.
package/hiawatha/Config.in +4 -0
index 431a9fa..993cd99 100644
@@ -1,5 +1,9 @@
+config BR2_PACKAGE_HIAWATHA_AVAILABLE
+	def_bool y
+
 config BR2_PACKAGE_HIAWATHA
 	bool "hiawatha"
+	depends on BR2_PACKAGE_HIAWATHA_AVAILABLE
 	help
 	  Hiawatha is a webserver for Unix and has been built with
 	  security in mind. This resulted in a highly secure
package/hostapd/Config.in +5 -1
index 49e8400..7434548 100644
@@ -1,7 +1,11 @@
+config BR2_PACKAGE_HOSTAPD_AVAILABLE
+	def_bool y
+	depends on BR2_TOOLCHAIN_HAS_THREADS # libnl
+
 config BR2_PACKAGE_HOSTAPD
 	bool "hostapd"
-	depends on BR2_TOOLCHAIN_HAS_THREADS # libnl
 	select BR2_PACKAGE_LIBNL
+	depends on BR2_PACKAGE_HOSTAPD_AVAILABLE
 	help
 	  User space daemon for wireless access points.
 
package/htop/Config.in +4 -0
index 55b4b15..b644d14 100644
@@ -1,6 +1,10 @@
+config BR2_PACKAGE_HTOP_AVAILABLE
+	def_bool y
+
 config BR2_PACKAGE_HTOP
 	bool "htop"
 	select BR2_PACKAGE_NCURSES
+	depends on BR2_PACKAGE_HTOP_AVAILABLE
 	help
 	  htop is an interactive text-mode process viewer for Linux.
 	  It aims to be a better top.
package/hwdata/Config.in +4 -0
index 33e0738..0b62eec 100644
@@ -1,5 +1,9 @@
+config BR2_PACKAGE_HWDATA_AVAILABLE
+	def_bool y
+
 config BR2_PACKAGE_HWDATA
 	bool "hwdata"
+	depends on BR2_PACKAGE_HWDATA_AVAILABLE
 	help
 	  Various hardware identification and configuration data, such as
 	  the pci.ids database, or the XFree86/xorg Cards database.
package/i2c-tools/Config.in +4 -0
index 43f5e05..6958929 100644
@@ -1,5 +1,9 @@
+config BR2_PACKAGE_I2C_TOOLS_AVAILABLE
+	def_bool y
+
 config BR2_PACKAGE_I2C_TOOLS
 	bool "i2c-tools"
+	depends on BR2_PACKAGE_I2C_TOOLS_AVAILABLE
 	help
 	  Heterogeneous set of I2C tools for Linux
 
package/icu/Config.in +6 -2
index 21f5c2f..649c150 100644
@@ -1,7 +1,11 @@
-config BR2_PACKAGE_ICU
-	bool "icu"
+config BR2_PACKAGE_ICU_AVAILABLE
+	def_bool y
 	depends on BR2_INSTALL_LIBSTDCPP
 	depends on BR2_USE_WCHAR
+
+config BR2_PACKAGE_ICU
+	bool "icu"
+	depends on BR2_PACKAGE_ICU_AVAILABLE
 	help
 	  International Components for Unicode.
 
package/ifplugd/Config.in +4 -0
index 0311ad7..cff64de 100644
@@ -1,6 +1,10 @@
+config BR2_PACKAGE_IFPLUGD_AVAILABLE
+	def_bool y
+
 config BR2_PACKAGE_IFPLUGD
 	bool "ifplugd"
 	select BR2_PACKAGE_LIBDAEMON
+	depends on BR2_PACKAGE_IFPLUGD_AVAILABLE
 	help
 	  Ifplugd is a daemon which will automatically configure your
 	  ethernet device when a cable is plugged in and automatically
package/igh-ethercat/Config.in +5 -1
index 890bb12..99e3a93 100644
@@ -1,6 +1,10 @@
+config BR2_PACKAGE_IGH_ETHERCAT_AVAILABLE
+	def_bool y
+	depends on BR2_LINUX_KERNEL
+
 config BR2_PACKAGE_IGH_ETHERCAT
 	bool "igh-ethercat"
-	depends on BR2_LINUX_KERNEL
+	depends on BR2_PACKAGE_IGH_ETHERCAT_AVAILABLE
 	help
 	  IgH EtherCAT Master for Linux.
 
package/imagemagick/Config.in +4 -0
index e66ded0..d963a8b 100644
@@ -1,5 +1,9 @@
+config BR2_PACKAGE_IMAGEMAGICK_AVAILABLE
+	def_bool y
+
 config BR2_PACKAGE_IMAGEMAGICK
 	bool "imagemagick"
+	depends on BR2_PACKAGE_IMAGEMAGICK_AVAILABLE
 	help
 	  ImageMagick(R) is a software suite to create, edit, and compose
 	  bitmap images. It can read, convert and write images in a variety of
package/imlib2/Config.in +4 -0
index 16a94d6..069b8a6 100644
@@ -1,6 +1,10 @@
+config BR2_PACKAGE_IMLIB2_AVAILABLE
+	def_bool y
+
 config BR2_PACKAGE_IMLIB2
 	bool "imlib2"
 	select BR2_PACKAGE_FREETYPE
+	depends on BR2_PACKAGE_IMLIB2_AVAILABLE
 	help
 	  Imlib 2 is the successor to Imlib. This library provides
 	  routines to load, save and render images in various formats.
package/inadyn/Config.in +4 -0
index 623da41..faa7959 100644
@@ -1,5 +1,9 @@
+config BR2_PACKAGE_INADYN_AVAILABLE
+	def_bool y
+
 config BR2_PACKAGE_INADYN
 	bool "inadyn"
+	depends on BR2_PACKAGE_INADYN_AVAILABLE
 	help
 	  INADYN is a free DynDNS client. It gives the possibility
 	  to have your own fixed hostname registered on the internet,
package/inotify-tools/Config.in +5 -1
index ed94b3f..4386af1 100644
@@ -1,6 +1,10 @@
+config BR2_PACKAGE_INOTIFY_TOOLS_AVAILABLE
+	def_bool y
+	depends on BR2_LARGEFILE
+
 config BR2_PACKAGE_INOTIFY_TOOLS
 	bool "inotify-tools"
-	depends on BR2_LARGEFILE
+	depends on BR2_PACKAGE_INOTIFY_TOOLS_AVAILABLE
 	help
 	  inotify-tools is a C library and a set of command-line
 	  programs for Linux providing a simple interface to inotify.
package/input-event-daemon/Config.in +5 -1
index 84177fd..2a125cb 100644
@@ -1,7 +1,11 @@
+config BR2_PACKAGE_INPUT_EVENT_DAEMON_AVAILABLE
+	def_bool y
+	depends on BR2_USE_MMU
+
 config BR2_PACKAGE_INPUT_EVENT_DAEMON
 	bool "input-event-daemon"
 	# Uses fork()
-	depends on BR2_USE_MMU
+	depends on BR2_PACKAGE_INPUT_EVENT_DAEMON_AVAILABLE
 	help
 	  input-event-daemon is a daemon which executes
 	  a user-defined command on input events, such as
package/input-tools/Config.in +4 -0
index 489b130..b263079 100644
@@ -1,5 +1,9 @@
+config BR2_PACKAGE_INPUT_TOOLS_AVAILABLE
+	def_bool y
+
 config BR2_PACKAGE_INPUT_TOOLS
 	bool "input-tools"
+	depends on BR2_PACKAGE_INPUT_TOOLS_AVAILABLE
 	help
 	  Tools for the Linux kernel input layer.
 	  http://linuxconsole.sourceforge.net/
package/intltool/Config.in +6 -2
index 990a227..2cc2e3d 100644
@@ -1,9 +1,13 @@
+config BR2_PACKAGE_INTLTOOL_AVAILABLE
+	def_bool y
+       depends on BR2_HOST_ONLY
+
 config BR2_PACKAGE_INTLTOOL
        bool "intltool"
        # Hide from configuration as we only support the host package
        # for the moment
-       depends on BR2_HOST_ONLY
+	depends on BR2_PACKAGE_INTLTOOL_AVAILABLE
        help
          Utility scripts for internationalizing XML
 
-	 http://www.freedesktop.org/wiki/Software/intltool
\ No newline at end of file
+	 http://www.freedesktop.org/wiki/Software/intltool
package/iostat/Config.in +4 -0
index 1aa1464..86a094f 100644
@@ -1,5 +1,9 @@
+config BR2_PACKAGE_IOSTAT_AVAILABLE
+	def_bool y
+
 config BR2_PACKAGE_IOSTAT
 	bool "iostat"
+	depends on BR2_PACKAGE_IOSTAT_AVAILABLE
 	help
 	  An I/O performance monitoring utility.
 
package/iperf/Config.in +6 -2
index c284bfd..7bc4272 100644
@@ -1,8 +1,12 @@
+config BR2_PACKAGE_IPERF_AVAILABLE
+	def_bool y
+	depends on BR2_INSTALL_LIBSTDCPP
+	depends on BR2_USE_MMU
+
 config BR2_PACKAGE_IPERF
 	bool "iperf"
-	depends on BR2_INSTALL_LIBSTDCPP
 	# uses fork()
-	depends on BR2_USE_MMU
+	depends on BR2_PACKAGE_IPERF_AVAILABLE
 	help
 	  Internet Protocol bandwidth measuring tool for measuring
 	  TCP/UDP performance.
package/ipkg/Config.in +4 -0
index ef65ca0..731e0ab 100644
@@ -1,5 +1,9 @@
+config BR2_PACKAGE_IPKG_AVAILABLE
+	def_bool y
+
 config BR2_PACKAGE_IPKG
 	bool "ipkg"
+	depends on BR2_PACKAGE_IPKG_AVAILABLE
 	help
 	  The Itsy Package Installer from handhelds.org
 
package/iproute2/Config.in +4 -0
index b6ee86e..6c837b8 100644
@@ -1,5 +1,9 @@
+config BR2_PACKAGE_IPROUTE2_AVAILABLE
+	def_bool y
+
 config BR2_PACKAGE_IPROUTE2
 	bool "iproute2"
+	depends on BR2_PACKAGE_IPROUTE2_AVAILABLE
 	help
 	  Kernel routing and traffic control utilities.  Provides things
 	  like ip and tc.
package/ipsec-tools/Config.in +4 -0
index 6f6dc37..b90ec23 100644
@@ -1,8 +1,12 @@
+config BR2_PACKAGE_IPSEC_TOOLS_AVAILABLE
+	def_bool y
+
 config BR2_PACKAGE_IPSEC_TOOLS
 	bool "ipsec-tools"
 	select BR2_PACKAGE_OPENSSL
 	select BR2_PACKAGE_FLEX
 	select BR2_PACKAGE_FLEX_LIBFL
+	depends on BR2_PACKAGE_IPSEC_TOOLS_AVAILABLE
 	help
 	  This package is required to support IPSec for Linux 2.6+
 
package/ipset/Config.in +5 -1
index af16fa8..e96c8fe 100644
@@ -1,7 +1,11 @@
+config BR2_PACKAGE_IPSET_AVAILABLE
+	def_bool y
+	depends on BR2_LARGEFILE
+
 config BR2_PACKAGE_IPSET
 	bool "ipset"
-	depends on BR2_LARGEFILE
 	select BR2_PACKAGE_LIBMNL
+	depends on BR2_PACKAGE_IPSET_AVAILABLE
 	help
 	  Utility to manage IP sets in the linux kernel.
 	  Requires a patched kernel or version >=2.6.39.
package/iptables/Config.in +4 -0
index 8c4e989..8598478 100644
@@ -1,5 +1,9 @@
+config BR2_PACKAGE_IPTABLES_AVAILABLE
+	def_bool y
+
 config BR2_PACKAGE_IPTABLES
 	bool "iptables"
+	depends on BR2_PACKAGE_IPTABLES_AVAILABLE
 	help
 	  Linux kernel (2.4+) firewall, NAT, and packet mangling tools.
 
package/irda-utils/Config.in +4 -0
index 418ab61..7bbc78f 100644
@@ -1,5 +1,9 @@
+config BR2_PACKAGE_IRDA_UTILS_AVAILABLE
+	def_bool y
+
 config BR2_PACKAGE_IRDA_UTILS
 	bool "irda-utils"
+	depends on BR2_PACKAGE_IRDA_UTILS_AVAILABLE
 	help
 	  user space utilities which control the IrDA stack
 
package/iw/Config.in +5 -1
index 69ef675..4abca8d 100644
@@ -1,7 +1,11 @@
+config BR2_PACKAGE_IW_AVAILABLE
+	def_bool y
+	depends on BR2_TOOLCHAIN_HAS_THREADS # libnl
+
 config BR2_PACKAGE_IW
 	bool "iw"
-	depends on BR2_TOOLCHAIN_HAS_THREADS # libnl
 	select BR2_PACKAGE_LIBNL
+	depends on BR2_PACKAGE_IW_AVAILABLE
 	help
 	  Utility for wireless devices using the mac80211 kernel stack
 
package/jpeg/Config.in +4 -0
index 36d73c5..4f308b4 100644
@@ -1,5 +1,9 @@
+config BR2_PACKAGE_JPEG_AVAILABLE
+	def_bool y
+
 config BR2_PACKAGE_JPEG
 	bool "jpeg"
+	depends on BR2_PACKAGE_JPEG_AVAILABLE
 	help
 	  The ubiquitous C library for manipulating JPEG images.
 
package/jquery-sparkline/Config.in +4 -0
index ae66364..4c9d8c3 100644
@@ -1,6 +1,10 @@
+config BR2_PACKAGE_JQUERY_SPARKLINE_AVAILABLE
+	def_bool y
+
 config BR2_PACKAGE_JQUERY_SPARKLINE
 	bool "jQuery-Sparkline"
 	select BR2_PACKAGE_JQUERY
+	depends on BR2_PACKAGE_JQUERY_SPARKLINE_AVAILABLE
 	help
 	  This jQuery plugin generates sparklines (small inline
 	  charts) directly in the browser using data supplied either
package/jquery-validation/Config.in +4 -0
index 2a764c1..a8a1603 100644
@@ -1,6 +1,10 @@
+config BR2_PACKAGE_JQUERY_VALIDATION_AVAILABLE
+	def_bool y
+
 config BR2_PACKAGE_JQUERY_VALIDATION
 	bool "jQuery-Validation"
 	select BR2_PACKAGE_JQUERY
+	depends on BR2_PACKAGE_JQUERY_VALIDATION_AVAILABLE
 	help
 	  The jQuery Validation Plugin provides drop-in validation for
 	  your existing forms, while making all kinds of
package/jquery/Config.in +4 -0
index 92f5604..4465962 100644
@@ -1,5 +1,9 @@
+config BR2_PACKAGE_JQUERY_AVAILABLE
+	def_bool y
+
 config BR2_PACKAGE_JQUERY
 	bool "jQuery"
+	depends on BR2_PACKAGE_JQUERY_AVAILABLE
 	help
 	  jQuery is a fast and concise JavaScript Library that
 	  simplifies HTML document traversing, event handling,
package/jsmin/Config.in +4 -0
index d0948b8..ef693f6 100644
@@ -1,5 +1,9 @@
+config BR2_PACKAGE_JSMIN_AVAILABLE
+	def_bool y
+
 config BR2_PACKAGE_JSMIN
 	bool "jsmin"
+	depends on BR2_PACKAGE_JSMIN_AVAILABLE
 	help
 	  JSMin is a filter which removes comments and unnecessary
 	  whitespace from JavaScript files. It typically reduces
package/json-c/Config.in +4 -0
index dbdd75b..5e1bbd0 100644
@@ -1,5 +1,9 @@
+config BR2_PACKAGE_JSON_C_AVAILABLE
+	def_bool y
+
 config BR2_PACKAGE_JSON_C
 	bool "json-c"
+	depends on BR2_PACKAGE_JSON_C_AVAILABLE
 	help
 	  JSON-C - A JSON implementation in C
 
package/kbd/Config.in +5 -1
index a23b70a..f1dc8be 100644
@@ -1,9 +1,13 @@
+config BR2_PACKAGE_KBD_AVAILABLE
+	def_bool y
+	depends on BR2_USE_MMU
+
 config BR2_PACKAGE_KBD
 	bool "kbd"
 	select BR2_PACKAGE_GETTEXT if BR2_NEEDS_GETTEXT_IF_LOCALE
 	select BR2_PACKAGE_LIBINTL if BR2_NEEDS_GETTEXT_IF_LOCALE
 	# Uses fork()
-	depends on BR2_USE_MMU
+	depends on BR2_PACKAGE_KBD_AVAILABLE
 	help
 	  Keytable files and keyboard utilities.
 
package/kexec/Config.in +4 -0
index 6f10b89..4d098e0 100644
@@ -1,5 +1,9 @@
+config BR2_PACKAGE_KEXEC_AVAILABLE
+	def_bool y
+
 config BR2_PACKAGE_KEXEC
 	bool "kexec"
+	depends on BR2_PACKAGE_KEXEC_AVAILABLE
 	help
 	  Kexec is a user space utiltity for loading another kernel
 	  and asking the currently running kernel to do something with it.
package/kismet/Config.in +5 -1
index 6954665..e868fff 100644
@@ -1,12 +1,16 @@
 comment "Kismet requires a toolchain with C++ support enabled"
 	depends on !BR2_INSTALL_LIBSTDCPP
 
+config BR2_PACKAGE_KISMET_AVAILABLE
+	def_bool y
+	depends on BR2_INSTALL_LIBSTDCPP
+
 config BR2_PACKAGE_KISMET
 	bool "kismet"
-	depends on BR2_INSTALL_LIBSTDCPP
 	select BR2_PACKAGE_NCURSES
 	select BR2_PACKAGE_NCURSES_TARGET_PANEL
 	select BR2_PACKAGE_LIBPCAP
+	depends on BR2_PACKAGE_KISMET_AVAILABLE
 	help
 	  Kismet - 802.11 layer2 wireless network detector, sniffer,
 	  and intrusion detection system.
package/kmod/Config.in +4 -0
index 4965237..0183127 100644
@@ -1,5 +1,9 @@
+config BR2_PACKAGE_KMOD_AVAILABLE
+	def_bool y
+
 config BR2_PACKAGE_KMOD
 	bool "kmod"
+	depends on BR2_PACKAGE_KMOD_AVAILABLE
 	help
 	  handle kernel modules
 
package/latencytop/Config.in +5 -1
index 12176c0..d4c0b2a 100644
@@ -1,8 +1,12 @@
+config BR2_PACKAGE_LATENCYTOP_AVAILABLE
+	def_bool y
+	depends on BR2_USE_WCHAR
+
 config BR2_PACKAGE_LATENCYTOP
 	bool "latencytop"
-	depends on BR2_USE_WCHAR
 	select BR2_PACKAGE_NCURSES
 	select BR2_PACKAGE_LIBGLIB2
+	depends on BR2_PACKAGE_LATENCYTOP_AVAILABLE
 	help
 	  There are many types and causes of latency. LatencyTOP
 	  focuses on the type of latency that causes skips in audio,
package/lcdproc/Config.in +4 -0
index 7261105..9231203 100644
@@ -1,6 +1,10 @@
+config BR2_PACKAGE_LCDPROC_AVAILABLE
+	def_bool y
+
 config BR2_PACKAGE_LCDPROC
        bool "lcdproc"
        select BR2_PACKAGE_NCURSES
+	depends on BR2_PACKAGE_LCDPROC_AVAILABLE
        help
          LCD display driver daemon and clients
 
package/leafpad/Config.in +5 -1
index a440854..7c9ce45 100644
@@ -1,6 +1,10 @@
+config BR2_PACKAGE_LEAFPAD_AVAILABLE
+	def_bool y
+	depends on BR2_PACKAGE_LIBGTK2
+
 config BR2_PACKAGE_LEAFPAD
 	bool "leafpad"
-	depends on BR2_PACKAGE_LIBGTK2
+	depends on BR2_PACKAGE_LEAFPAD_AVAILABLE
 	help
 	  GTK+ based simple text editor
 
package/less/Config.in +4 -0
index b7aa152..d71f9f1 100644
@@ -1,6 +1,10 @@
+config BR2_PACKAGE_LESS_AVAILABLE
+	def_bool y
+
 config BR2_PACKAGE_LESS
 	bool "less"
 	select BR2_PACKAGE_NCURSES
+	depends on BR2_PACKAGE_LESS_AVAILABLE
 	help
 	  Excellent text file viewer.
 
package/libaio/Config.in +6 -2
index 833009a..219950a 100644
@@ -1,8 +1,12 @@
-config BR2_PACKAGE_LIBAIO
-	bool "libaio"
+config BR2_PACKAGE_LIBAIO_AVAILABLE
+	def_bool y
 	depends on \
 		BR2_arm   || BR2_armeb || BR2_avr32  || BR2_i386    || \
 		BR2_m68k  || BR2_mips  || BR2_mipsel || BR2_powerpc || \
 		BR2_sparc || BR2_x86_64
+
+config BR2_PACKAGE_LIBAIO
+	bool "libaio"
+	depends on BR2_PACKAGE_LIBAIO_AVAILABLE
 	help
 	  Library for doing asynchronous I/O
package/libao/Config.in +4 -0
index 3c99ab9..e41f568 100644
@@ -1,5 +1,9 @@
+config BR2_PACKAGE_LIBAO_AVAILABLE
+	def_bool y
+
 config BR2_PACKAGE_LIBAO
 	bool "libao"
+	depends on BR2_PACKAGE_LIBAO_AVAILABLE
 	help
 	  Libao is a cross-platform audio library that allows programs
 	  to output audio using a simple API on a wide variety of platforms.
package/libarchive/Config.in +5 -1
index 38928b0..084f056 100644
@@ -1,6 +1,10 @@
+config BR2_PACKAGE_LIBARCHIVE_AVAILABLE
+	def_bool y
+	depends on BR2_USE_WCHAR
+
 config BR2_PACKAGE_LIBARCHIVE
 	bool "libarchive"
-	depends on BR2_USE_WCHAR
+	depends on BR2_PACKAGE_LIBARCHIVE_AVAILABLE
 	help
 	  Libarchive is a reusable C library for reading and writing a
 	  variety of streaming archive formats.
package/libargtable2/Config.in +4 -0
index 42d067b..cde9646 100644
@@ -1,5 +1,9 @@
+config BR2_PACKAGE_LIBARGTABLE2_AVAILABLE
+	def_bool y
+
 config BR2_PACKAGE_LIBARGTABLE2
 	bool "libargtable2"
+	depends on BR2_PACKAGE_LIBARGTABLE2_AVAILABLE
 	help
 	  A greatly simplified and yet quite robust argument parsing
 	  set of library calls.
package/libart/Config.in +4 -0
index 9262335..402ef5d 100644
@@ -1,5 +1,9 @@
+config BR2_PACKAGE_LIBART_AVAILABLE
+	def_bool y
+
 config BR2_PACKAGE_LIBART
 	bool "libart"
+	depends on BR2_PACKAGE_LIBART_AVAILABLE
 	help
 	  Libart is a library for high-performance 2D graphics. It
 	  supports a very powerful imaging model, basically the same
package/libatomic_ops/Config.in +5 -1
index 3d5d0a8..ea67143 100644
@@ -1,5 +1,9 @@
+config BR2_PACKAGE_LIBATOMIC_OPS_AVAILABLE
+	def_bool y
+	depends on BR2_arm || BR2_armeb || BR2_i386 || BR2_sparc || BR2_powerpc || BR2_x86_64
+
 config BR2_PACKAGE_LIBATOMIC_OPS
 	bool "libatomic_ops"
-	depends on BR2_arm || BR2_armeb || BR2_i386 || BR2_sparc || BR2_powerpc || BR2_x86_64
+	depends on BR2_PACKAGE_LIBATOMIC_OPS_AVAILABLE
 	help
 	  Atomic operations library
package/libcap-ng/Config.in +4 -0
index d1663cd..0cdf989 100644
@@ -1,5 +1,9 @@
+config BR2_PACKAGE_LIBCAP_NG_AVAILABLE
+	def_bool y
+
 config BR2_PACKAGE_LIBCAP_NG
 	bool "libcap-ng"
+	depends on BR2_PACKAGE_LIBCAP_NG_AVAILABLE
 	help
 	  The libcap-ng library is intended to make programming with
 	  posix capabilities much easier than the traditional libcap
package/libcap/Config.in +4 -0
index f1fc8fa..edecdf2 100644
@@ -1,5 +1,9 @@
+config BR2_PACKAGE_LIBCAP_AVAILABLE
+	def_bool y
+
 config BR2_PACKAGE_LIBCAP
 	bool "libcap"
+	depends on BR2_PACKAGE_LIBCAP_AVAILABLE
 	help
 	 This library implements the user-space interfaces to the
 	 POSIX 1003.1e capabilities available in Linux kernels. These
package/libcdaudio/Config.in +4 -0
index 02df01e..acb2121 100644
@@ -1,5 +1,9 @@
+config BR2_PACKAGE_LIBCDAUDIO_AVAILABLE
+	def_bool y
+
 config BR2_PACKAGE_LIBCDAUDIO
 	bool "libcdaudio"
+	depends on BR2_PACKAGE_LIBCDAUDIO_AVAILABLE
 	help
 	  libcdaudio is a library designed to provide functions to
 	  control operation of a CD-ROM when playing audio CDs. It
package/libcgi/Config.in +4 -0
index 430039e..1353915 100644
@@ -1,5 +1,9 @@
+config BR2_PACKAGE_LIBCGI_AVAILABLE
+	def_bool y
+
 config BR2_PACKAGE_LIBCGI
 	bool "libcgi"
+	depends on BR2_PACKAGE_LIBCGI_AVAILABLE
 	help
 	  LibCGI is a library written from scratch to easily make
 	  CGI applications in C.
package/libcgicc/Config.in +5 -1
index 098f9a6..8d61cc4 100644
@@ -1,6 +1,10 @@
+config BR2_PACKAGE_LIBCGICC_AVAILABLE
+	def_bool y
+	depends on BR2_INSTALL_LIBSTDCPP
+
 config BR2_PACKAGE_LIBCGICC
 	bool "libcgicc"
-	depends on BR2_INSTALL_LIBSTDCPP
+	depends on BR2_PACKAGE_LIBCGICC_AVAILABLE
 	help
 	  GNU cgicc is a C++ class library that greatly simplifies
 	  the creation of CGI applications for the World Wide Web.
package/libconfig/Config.in +4 -0
index 75dacab..041871e 100644
@@ -1,5 +1,9 @@
+config BR2_PACKAGE_LIBCONFIG_AVAILABLE
+	def_bool y
+
 config BR2_PACKAGE_LIBCONFIG
 	bool "libconfig"
+	depends on BR2_PACKAGE_LIBCONFIG_AVAILABLE
 	help
 	  Libconfig is a simple library for manipulating structured
 	  configuration files. The file format is more compact and more
package/libconfuse/Config.in +4 -0
index be18cbb..7031f70 100644
@@ -1,5 +1,9 @@
+config BR2_PACKAGE_LIBCONFUSE_AVAILABLE
+	def_bool y
+
 config BR2_PACKAGE_LIBCONFUSE
 	bool "libconfuse"
+	depends on BR2_PACKAGE_LIBCONFUSE_AVAILABLE
 	help
 	  LibConfuse is a configuration file parser library written in
 	  C. It supports sections and (lists of) values (strings,
package/libcue/Config.in +4 -0
index e5e2e16..0645578 100644
@@ -1,7 +1,11 @@
+config BR2_PACKAGE_LIBCUE_AVAILABLE
+	def_bool y
+
 config BR2_PACKAGE_LIBCUE
 	bool "libcue"
 	select BR2_PACKAGE_FLEX
 	select BR2_PACKAGE_FLEX_LIBFL
+	depends on BR2_PACKAGE_LIBCUE_AVAILABLE
 	help
 	  CUE Sheet Parser Library
 
package/libcuefile/Config.in +4 -0
index 416b3e1..58d4420 100644
@@ -1,5 +1,9 @@
+config BR2_PACKAGE_LIBCUEFILE_AVAILABLE
+	def_bool y
+
 config BR2_PACKAGE_LIBCUEFILE
 	bool "libcuefile"
+	depends on BR2_PACKAGE_LIBCUEFILE_AVAILABLE
 	help
 	  Cue File library from Musepack
 
package/libcurl/Config.in +4 -0
index 1d6d08e..169a0bb 100644
@@ -1,5 +1,9 @@
+config BR2_PACKAGE_LIBCURL_AVAILABLE
+	def_bool y
+
 config BR2_PACKAGE_LIBCURL
 	bool "libcurl"
+	depends on BR2_PACKAGE_LIBCURL_AVAILABLE
 	help
 	  cURL is a tool for getting files from FTP, HTTP, Gopher, Telnet,
 	  and Dict servers, using any of the supported protocols.
package/libdaemon/Config.in +4 -0
index 6943263..f377f8d 100644
@@ -1,5 +1,9 @@
+config BR2_PACKAGE_LIBDAEMON_AVAILABLE
+	def_bool y
+
 config BR2_PACKAGE_LIBDAEMON
 	bool "libdaemon"
+	depends on BR2_PACKAGE_LIBDAEMON_AVAILABLE
 	help
 	  libdaemon is a lightweight C library that eases the
 	  writing of UNIX daemons.
package/libdmtx/Config.in +4 -0
index db4187f..2821ba6 100644
@@ -1,5 +1,9 @@
+config BR2_PACKAGE_LIBDMTX_AVAILABLE
+	def_bool y
+
 config BR2_PACKAGE_LIBDMTX
 	bool "libdmtx"
+	depends on BR2_PACKAGE_LIBDMTX_AVAILABLE
 	help
 	  libdmtx is a software library that enables programs to read and write
 	  Data Matrix barcodes of the modern ECC200 variety.
package/libdnet/Config.in +4 -0
index 589903f..a14c5d4 100644
@@ -1,5 +1,9 @@
+config BR2_PACKAGE_LIBDNET_AVAILABLE
+	def_bool y
+
 config BR2_PACKAGE_LIBDNET
 	bool "libdnet"
+	depends on BR2_PACKAGE_LIBDNET_AVAILABLE
 	help
 	  libdnet - simplified interface to low-level networking routines.
 
package/libdrm/Config.in +6 -2
index f3dab9a..636e72f 100644
@@ -1,7 +1,10 @@
-config BR2_PACKAGE_LIBDRM
-	bool "libdrm"
+config BR2_PACKAGE_LIBDRM_AVAILABLE
+	def_bool y
 	depends on BR2_PACKAGE_XORG7
 	depends on BR2_LARGEFILE
+
+config BR2_PACKAGE_LIBDRM
+	bool "libdrm"
 	select BR2_PACKAGE_XPROTO_GLPROTO
 	select BR2_PACKAGE_XPROTO_XF86VIDMODEPROTO
 	select BR2_PACKAGE_XLIB_LIBXXF86VM
@@ -12,6 +15,7 @@ config BR2_PACKAGE_LIBDRM
 	# architectures, and we make the assumption that the intel
 	# driver can only be used on x86 and x86_64 machines.
 	select BR2_PACKAGE_LIBATOMIC_OPS if (BR2_PACKAGE_XDRIVER_XF86_VIDEO_INTEL && (BR2_i386 || BR2_x86_64))
+	depends on BR2_PACKAGE_LIBDRM_AVAILABLE
 	help
 	  Direct Rendering Manager
 
package/libdvdnav/Config.in +5 -1
index 5ba31e8..0425976 100644
@@ -1,7 +1,11 @@
+config BR2_PACKAGE_LIBDVDNAV_AVAILABLE
+	def_bool y
+	depends on BR2_LARGEFILE # libdvdread
+
 config BR2_PACKAGE_LIBDVDNAV
 	bool "libdvdnav"
-	depends on BR2_LARGEFILE # libdvdread
         select BR2_PACKAGE_LIBDVDREAD
+	depends on BR2_PACKAGE_LIBDVDNAV_AVAILABLE
 	help
 	  libdvdnav is a library that allows easy use of sophisticated
 	  DVD navigation features such as DVD menus, multiangle
package/libdvdread/Config.in +5 -1
index b63f082..2a09efb 100644
@@ -1,6 +1,10 @@
+config BR2_PACKAGE_LIBDVDREAD_AVAILABLE
+	def_bool y
+	depends on BR2_LARGEFILE
+
 config BR2_PACKAGE_LIBDVDREAD
 	bool "libdvdread"
-	depends on BR2_LARGEFILE
+	depends on BR2_PACKAGE_LIBDVDREAD_AVAILABLE
 	help
 	  libdvdread provides a simple foundation for reading
 	  DVD-Video images.
package/libeXosip2/Config.in +4 -0
index 755d284..3a71fa7 100644
@@ -1,6 +1,10 @@
+config BR2_PACKAGE_LIBEXOSIP2_AVAILABLE
+	def_bool y
+
 config BR2_PACKAGE_LIBEXOSIP2
 	bool "libeXosip2"
 	select BR2_PACKAGE_LIBOSIP2
+	depends on BR2_PACKAGE_LIBEXOSIP2_AVAILABLE
 	help
 	  eXosip is a library that hides the complexity of using the
 	  SIP protocol for mutlimedia session establishement.
package/libelf/Config.in +4 -0
index 600ef68..a5f0c4d 100644
@@ -1,5 +1,9 @@
+config BR2_PACKAGE_LIBELF_AVAILABLE
+	def_bool y
+
 config BR2_PACKAGE_LIBELF
 	bool "libelf"
+	depends on BR2_PACKAGE_LIBELF_AVAILABLE
 	help
 	  The elf library provides routines to access, and manipulate,
 	  Elf object files.
package/liberation/Config.in +4 -0
index 48d4195..4b7a881 100644
@@ -1,5 +1,9 @@
+config BR2_PACKAGE_LIBERATION_AVAILABLE
+	def_bool y
+
 config BR2_PACKAGE_LIBERATION
 	bool "Liberation (Free fonts)"
+	depends on BR2_PACKAGE_LIBERATION_AVAILABLE
 	help
 	  The Liberation Fonts are intended to be replacements for the
 	  three most commonly used fonts on Microsoft systems:
package/libesmtp/Config.in +4 -0
index 4e9e455..5fb4e45 100644
@@ -1,5 +1,9 @@
+config BR2_PACKAGE_LIBESMTP_AVAILABLE
+	def_bool y
+
 config BR2_PACKAGE_LIBESMTP
 	bool "libesmtp"
+	depends on BR2_PACKAGE_LIBESMTP_AVAILABLE
 	help
 	  Library for sending emails through SMTP.
 
package/libev/Config.in +4 -0
index 71abe77..2395c17 100644
@@ -1,5 +1,9 @@
+config BR2_PACKAGE_LIBEV_AVAILABLE
+	def_bool y
+
 config BR2_PACKAGE_LIBEV
 	bool "libev"
+	depends on BR2_PACKAGE_LIBEV_AVAILABLE
 	help
 	  Userspace library for handling asynchronous notifications
 
package/libevent/Config.in +4 -0
index 680fa48..b7c63bb 100644
@@ -1,5 +1,9 @@
+config BR2_PACKAGE_LIBEVENT_AVAILABLE
+	def_bool y
+
 config BR2_PACKAGE_LIBEVENT
 	bool "libevent"
+	depends on BR2_PACKAGE_LIBEVENT_AVAILABLE
 	help
 	  Userspace library for handling asynchronous notifications
 
package/libexif/Config.in +4 -0
index 9c89df4..99b9573 100644
@@ -1,5 +1,9 @@
+config BR2_PACKAGE_LIBEXIF_AVAILABLE
+	def_bool y
+
 config BR2_PACKAGE_LIBEXIF
 	bool "libexif"
+	depends on BR2_PACKAGE_LIBEXIF_AVAILABLE
 	help
 	  Most digital cameras produce EXIF files, which are JPEG
 	  files with extra tags that contain information about the
package/libfcgi/Config.in +4 -0
index a622ec3..6fc36f0 100644
@@ -1,5 +1,9 @@
+config BR2_PACKAGE_LIBFCGI_AVAILABLE
+	def_bool y
+
 config BR2_PACKAGE_LIBFCGI
 	bool "libfcgi"
+	depends on BR2_PACKAGE_LIBFCGI_AVAILABLE
 	help
 	  FCGI, a fastcgi developer library for C/C++
 
package/libffi/Config.in +4 -0
index 7211f8f..326a905 100644
@@ -1,5 +1,9 @@
+config BR2_PACKAGE_LIBFFI_AVAILABLE
+	def_bool y
+
 config BR2_PACKAGE_LIBFFI
 	bool "libffi"
+	depends on BR2_PACKAGE_LIBFFI_AVAILABLE
 	help
 	  The libffi library provides a portable, high level
 	  programming interface to various calling conventions. This
package/libfreefare/Config.in +5 -1
index 6877000..1dfea84 100644
@@ -1,8 +1,12 @@
+config BR2_PACKAGE_LIBFREEFARE_AVAILABLE
+	def_bool y
+	depends on BR2_TOOLCHAIN_HAS_THREADS # libusb
+
 config BR2_PACKAGE_LIBFREEFARE
 	bool "libfreefare"
-	depends on BR2_TOOLCHAIN_HAS_THREADS # libusb
 	select BR2_PACKAGE_OPENSSL
 	select BR2_PACKAGE_LIBNFC
+	depends on BR2_PACKAGE_LIBFREEFARE_AVAILABLE
 	help
 	  Library for high level manipulation of MIFARE cards.
 
package/libftdi/Config.in +5 -1
index 48e9ceb..f37ccc7 100644
@@ -1,8 +1,12 @@
+config BR2_PACKAGE_LIBFTDI_AVAILABLE
+	def_bool y
+	depends on BR2_TOOLCHAIN_HAS_THREADS # libusb
+
 config BR2_PACKAGE_LIBFTDI
 	bool "libftdi"
-	depends on BR2_TOOLCHAIN_HAS_THREADS # libusb
 	select BR2_PACKAGE_LIBUSB
 	select BR2_PACKAGE_LIBUSB_COMPAT
+	depends on BR2_PACKAGE_LIBFTDI_AVAILABLE
 	help
 	  Userspace access to FTDI USB interface chips
 
package/libfuse/Config.in +5 -1
index dffadf8..832c7b1 100644
@@ -1,6 +1,10 @@
+config BR2_PACKAGE_LIBFUSE_AVAILABLE
+	def_bool y
+	depends on BR2_LARGEFILE
+
 config BR2_PACKAGE_LIBFUSE
 	bool "libfuse"
-	depends on BR2_LARGEFILE
+	depends on BR2_PACKAGE_LIBFUSE_AVAILABLE
 	help
 	  FUSE (Filesystem in UserSpacE)
 
package/libgail/Config.in +5 -1
index ba74795..f96726e 100644
@@ -1,7 +1,11 @@
+config BR2_PACKAGE_LIBGAIL_AVAILABLE
+	def_bool y
+	depends on BR2_PACKAGE_LIBGTK2
+
 config BR2_PACKAGE_LIBGAIL
 	bool "libgail"
-	depends on BR2_PACKAGE_LIBGTK2
 	select BR2_PACKAGE_PANGO
+	depends on BR2_PACKAGE_LIBGAIL_AVAILABLE
 	help
 	  GAIL provides accessibility support for gtk+ and
 	  libgnomecanvas by implementing AtkObjects for widgets in
package/libgcrypt/Config.in +4 -0
index 55d2f17..ee4749a 100644
@@ -1,6 +1,10 @@
+config BR2_PACKAGE_LIBGCRYPT_AVAILABLE
+	def_bool y
+
 config BR2_PACKAGE_LIBGCRYPT
 	bool "libgcrypt"
 	select BR2_PACKAGE_LIBGPG_ERROR
+	depends on BR2_PACKAGE_LIBGCRYPT_AVAILABLE
 	help
 	  LibGCrypt is GNU's basic cryptographic library.
 
package/libgeotiff/Config.in +4 -0
index 7489a47..4fd59ce 100644
@@ -1,6 +1,10 @@
+config BR2_PACKAGE_LIBGEOTIFF_AVAILABLE
+	def_bool y
+
 config BR2_PACKAGE_LIBGEOTIFF
        bool "libgeotiff"
        select BR2_PACKAGE_TIFF
+	depends on BR2_PACKAGE_LIBGEOTIFF_AVAILABLE
        help
          Libgeotiff is an open source library normally hosted on top of
          libtiff for reading, and writing GeoTIFF information tags.
package/libglade/Config.in +6 -2
index f7a9a1c..f129bdd 100644
@@ -1,10 +1,14 @@
-config BR2_PACKAGE_LIBGLADE
-	bool "libglade"
+config BR2_PACKAGE_LIBGLADE_AVAILABLE
+	def_bool y
 	depends on BR2_PACKAGE_LIBGTK2
 	depends on BR2_USE_WCHAR # glib2
+
+config BR2_PACKAGE_LIBGLADE
+	bool "libglade"
 	select BR2_PACKAGE_LIBGLIB2
 	select BR2_PACKAGE_ATK
 	select BR2_PACKAGE_LIBXML2
+	depends on BR2_PACKAGE_LIBGLADE_AVAILABLE
 	help
 	  Libglade allows you to load glade interface files in a program
 	  at runtime. It doesn't require GLADE to be used, but GLADE is
package/libglib2/Config.in +5 -1
index d1d7231..3a47038 100644
@@ -1,3 +1,7 @@
+config BR2_PACKAGE_LIBGLIB2_AVAILABLE
+	def_bool y
+	depends on BR2_USE_WCHAR # gettext
+
 config BR2_PACKAGE_LIBGLIB2
 	bool "libglib2"
 	select BR2_PACKAGE_GETTEXT if BR2_NEEDS_GETTEXT
@@ -5,7 +9,7 @@ config BR2_PACKAGE_LIBGLIB2
 	select BR2_PACKAGE_LIBICONV if !BR2_ENABLE_LOCALE
 	select BR2_PACKAGE_LIBFFI
 	select BR2_PACKAGE_ZLIB
-	depends on BR2_USE_WCHAR # gettext
+	depends on BR2_PACKAGE_LIBGLIB2_AVAILABLE
 	help
 	  Low-level core library that forms the basis of GTK+ and GNOME.
 
package/libgpg-error/Config.in +4 -0
index 8287f98..c6071db 100644
@@ -1,5 +1,9 @@
+config BR2_PACKAGE_LIBGPG_ERROR_AVAILABLE
+	def_bool y
+
 config BR2_PACKAGE_LIBGPG_ERROR
 	bool "libgpg-error"
+	depends on BR2_PACKAGE_LIBGPG_ERROR_AVAILABLE
 	help
 	  Libgpg-error is a small library with error codes and
 	  descriptions shared by most GnuPG related software.
package/libgtk2/Config.in +7 -3
index efaf12f..c0ecf49 100644
@@ -1,3 +1,9 @@
+config BR2_PACKAGE_LIBGTK2_AVAILABLE
+	def_bool y
+	depends on BR2_PACKAGE_XORG7||BR2_PACKAGE_DIRECTFB
+	depends on BR2_USE_WCHAR # glib2
+	depends on BR2_INSTALL_LIBSTDCPP # pango
+
 config BR2_PACKAGE_LIBGTK2
 	bool "libgtk2"
 	select BR2_PACKAGE_ATK
@@ -8,9 +14,7 @@ config BR2_PACKAGE_LIBGTK2
 	select BR2_PACKAGE_LIBGLIB2
 	select BR2_PACKAGE_PANGO
 	select BR2_PACKAGE_GDK_PIXBUF
-	depends on BR2_PACKAGE_XORG7||BR2_PACKAGE_DIRECTFB
-	depends on BR2_USE_WCHAR # glib2
-	depends on BR2_INSTALL_LIBSTDCPP # pango
+	depends on BR2_PACKAGE_LIBGTK2_AVAILABLE
 	help
 	  The GTK+ version 2 graphical user interface library
 
package/libhid/Config.in +5 -1
index 093b98f..ec3abb8 100644
@@ -1,8 +1,12 @@
+config BR2_PACKAGE_LIBHID_AVAILABLE
+	def_bool y
+	depends on BR2_TOOLCHAIN_HAS_THREADS # libusb
+
 config BR2_PACKAGE_LIBHID
 	bool "libhid"
-	depends on BR2_TOOLCHAIN_HAS_THREADS # libusb
 	select BR2_PACKAGE_LIBUSB
 	select BR2_PACKAGE_LIBUSB_COMPAT
+	depends on BR2_PACKAGE_LIBHID_AVAILABLE
 	help
 	  Userspace library for accessing USB HID devices
 
package/libical/Config.in +5 -1
index 5907548..095e504 100644
@@ -1,6 +1,10 @@
+config BR2_PACKAGE_LIBICAL_AVAILABLE
+	def_bool y
+	depends on BR2_USE_WCHAR
+
 config BR2_PACKAGE_LIBICAL
 	bool "libical"
-	depends on BR2_USE_WCHAR
+	depends on BR2_PACKAGE_LIBICAL_AVAILABLE
 	help
 	  libical is an Open Source (MPL/LGPL) implementation of the IETF's
 	  iCalendar Calendaring and Scheduling protocols.
package/libiconv/Config.in +5 -1
index ee4fd62..b0a4659 100644
@@ -1,6 +1,10 @@
+config BR2_PACKAGE_LIBICONV_AVAILABLE
+	def_bool y
+	depends on !BR2_ENABLE_LOCALE
+
 config BR2_PACKAGE_LIBICONV
 	bool "libiconv"
-	depends on !BR2_ENABLE_LOCALE
+	depends on BR2_PACKAGE_LIBICONV_AVAILABLE
 	help
 	  unicode conversion library
 
package/libid3tag/Config.in +4 -0
index 869b9f7..8e13b54 100644
@@ -1,6 +1,10 @@
+config BR2_PACKAGE_LIBID3TAG_AVAILABLE
+	def_bool y
+
 config BR2_PACKAGE_LIBID3TAG
 	bool "libid3tag"
 	select BR2_PACKAGE_ZLIB
+	depends on BR2_PACKAGE_LIBID3TAG_AVAILABLE
 	help
 	  ID3 tag reading library from the MAD project.
 
package/libidn/Config.in +4 -0
index dcf9724..ab5bcbe 100644
@@ -1,6 +1,10 @@
+config BR2_PACKAGE_LIBIDN_AVAILABLE
+	def_bool y
+
 config BR2_PACKAGE_LIBIDN
 	bool "libidn"
 	select BR2_PACKAGE_GETTEXT if BR2_NEEDS_GETTEXT_IF_LOCALE
+	depends on BR2_PACKAGE_LIBIDN_AVAILABLE
 	help
 	  Libidn's purpose is to encode and decode internationalized
 	  domain names.
package/libiqrf/Config.in +5 -1
index 7222536..9007752 100644
@@ -1,7 +1,11 @@
+config BR2_PACKAGE_LIBIQRF_AVAILABLE
+	def_bool y
+	depends on BR2_TOOLCHAIN_HAS_THREADS # libusb
+
 config BR2_PACKAGE_LIBIQRF
 	bool "libiqrf"
-	depends on BR2_TOOLCHAIN_HAS_THREADS # libusb
 	select BR2_PACKAGE_LIBUSB
+	depends on BR2_PACKAGE_LIBIQRF_AVAILABLE
 	help
 	  This library implement specific protocol
 	  which is used for communicating with iqrf devices
package/liblo/Config.in +5 -1
index 4c2d719..9eb66a3 100644
@@ -1,6 +1,10 @@
+config BR2_PACKAGE_LIBLO_AVAILABLE
+	def_bool y
+	depends on BR2_TOOLCHAIN_HAS_THREADS
+
 config BR2_PACKAGE_LIBLO
 	bool "liblo"
-	depends on BR2_TOOLCHAIN_HAS_THREADS
+	depends on BR2_PACKAGE_LIBLO_AVAILABLE
 	help
 	  liblo is an implementation of the Open Sound Control
 	  protocol for POSIX systems
package/liblockfile/Config.in +4 -0
index 88a9c33..ba5c1ec 100644
@@ -1,4 +1,8 @@
+config BR2_PACKAGE_LIBLOCKFILE_AVAILABLE
+	def_bool y
+
 config BR2_PACKAGE_LIBLOCKFILE
 	bool "liblockfile"
+	depends on BR2_PACKAGE_LIBLOCKFILE_AVAILABLE
 	help
 	  NFS-safe locking library.
package/libmad/Config.in +4 -0
index d0edc49..90bb5b7 100644
@@ -1,5 +1,9 @@
+config BR2_PACKAGE_LIBMAD_AVAILABLE
+	def_bool y
+
 config BR2_PACKAGE_LIBMAD
 	bool "libmad"
+	depends on BR2_PACKAGE_LIBMAD_AVAILABLE
 	help
 	  High-quality MPEG audio decoder.  All computations are performed
 	  with fixed-point integer arithmetic, making it ideal for systems
package/libmbus/Config.in +4 -0
index 1e2a8de..4e7e445 100644
@@ -1,5 +1,9 @@
+config BR2_PACKAGE_LIBMBUS_AVAILABLE
+	def_bool y
+
 config BR2_PACKAGE_LIBMBUS
 	bool "libmbus"
+	depends on BR2_PACKAGE_LIBMBUS_AVAILABLE
 	help
 	  libmbus is a library for communicating with energy metering devices.
 	  It supports TCP and RS232 M-bus gateways.
package/libmicrohttpd/Config.in +4 -0
index cfedc8f..4af98b0 100644
@@ -1,5 +1,9 @@
+config BR2_PACKAGE_LIBMICROHTTPD_AVAILABLE
+	def_bool y
+
 config BR2_PACKAGE_LIBMICROHTTPD
 	bool "libmicrohttpd"
+	depends on BR2_PACKAGE_LIBMICROHTTPD_AVAILABLE
 	help
 	  GNU libmicrohttpd is a small C library that makes it easy to
 	  run an HTTP server as part of another application.
package/libmms/Config.in +5 -1
index 17cb406..80fe2e4 100644
@@ -1,7 +1,11 @@
+config BR2_PACKAGE_LIBMMS_AVAILABLE
+	def_bool y
+	depends on BR2_USE_WCHAR # glib2
+
 config BR2_PACKAGE_LIBMMS
 	bool "libmms"
-	depends on BR2_USE_WCHAR # glib2
 	select BR2_PACKAGE_LIBGLIB2
+	depends on BR2_PACKAGE_LIBMMS_AVAILABLE
 	help
           LibMMS is a common library for parsing mms:// and mmsh://
           type network streams. These are commonly used to stream
package/libmnl/Config.in +5 -1
index 87475df..5df3fcf 100644
@@ -1,6 +1,10 @@
+config BR2_PACKAGE_LIBMNL_AVAILABLE
+	def_bool y
+	depends on BR2_LARGEFILE
+
 config BR2_PACKAGE_LIBMNL
 	bool "libmnl"
-	depends on BR2_LARGEFILE
+	depends on BR2_PACKAGE_LIBMNL_AVAILABLE
 	help
 	  libmnl is a minimalistic user-space library oriented
 	  to Netlink developers.
package/libmodbus/Config.in +4 -0
index ccf1190..3b52eec 100644
@@ -1,5 +1,9 @@
+config BR2_PACKAGE_LIBMODBUS_AVAILABLE
+	def_bool y
+
 config BR2_PACKAGE_LIBMODBUS
 	bool "libmodbus"
+	depends on BR2_PACKAGE_LIBMODBUS_AVAILABLE
 	help
 	  libmodbus is a free software library to send/receive data according
 	  to the Modbus protocol. This library is written in C and supports
package/libmpd/Config.in +5 -1
index 9259c19..65eb21b 100644
@@ -1,8 +1,12 @@
+config BR2_PACKAGE_LIBMPD_AVAILABLE
+	def_bool y
+	depends on BR2_USE_WCHAR # glib2
+
 config BR2_PACKAGE_LIBMPD
 	bool "libmpd"
-	depends on BR2_USE_WCHAR # glib2
 	select BR2_PACKAGE_LIBGLIB2
 	select BR2_PACKAGE_LIBICONV if !BR2_ENABLE_LOCALE
+	depends on BR2_PACKAGE_LIBMPD_AVAILABLE
 	help
 	  High-level client library for accessing Music Player Daemon.
 	  LibMpd is a library that provides high-level, callback-based
package/libmpeg2/Config.in +4 -0
index 3694689..3a38e31 100644
@@ -1,5 +1,9 @@
+config BR2_PACKAGE_LIBMPEG2_AVAILABLE
+	def_bool y
+
 config BR2_PACKAGE_LIBMPEG2
 	bool "libmpeg2"
+	depends on BR2_PACKAGE_LIBMPEG2_AVAILABLE
 	help
 	  MPEG1/MPEG2 video decoder library
 
package/libnetfilter_conntrack/Config.in +4 -0
index caf8a8a..cb13940 100644
@@ -1,6 +1,10 @@
+config BR2_PACKAGE_LIBNETFILTER_CONNTRACK_AVAILABLE
+	def_bool y
+
 config BR2_PACKAGE_LIBNETFILTER_CONNTRACK
 	bool "libnetfilter_conntrack"
 	select BR2_PACKAGE_LIBNFNETLINK
+	depends on BR2_PACKAGE_LIBNETFILTER_CONNTRACK_AVAILABLE
 	help
 	  libnetfilter_conntrack is a userspace library providing
 	  a programming interface (API) to the in-kernel
package/libnetfilter_cttimeout/Config.in +5 -1
index 8e2f438..9781203 100644
@@ -1,7 +1,11 @@
+config BR2_PACKAGE_LIBNETFILTER_CTTIMEOUT_AVAILABLE
+	def_bool y
+	depends on BR2_LARGEFILE
+
 config BR2_PACKAGE_LIBNETFILTER_CTTIMEOUT
 	bool "libnetfilter_cttimeout"
-	depends on BR2_LARGEFILE
 	select BR2_PACKAGE_LIBMNL
+	depends on BR2_PACKAGE_LIBNETFILTER_CTTIMEOUT_AVAILABLE
 	help
 	  libnetfilter_cttimeout is the userspace library that provides
 	  the programming interface to the fine-grain
package/libnfc-llcp/Config.in +5 -1
index f557926..67e88ce 100644
@@ -1,7 +1,11 @@
+config BR2_PACKAGE_LIBNFC_LLCP_AVAILABLE
+	def_bool y
+	depends on BR2_TOOLCHAIN_HAS_THREADS # libusb
+
 config BR2_PACKAGE_LIBNFC_LLCP
 	bool "libnfc-llcp"
-	depends on BR2_TOOLCHAIN_HAS_THREADS # libusb
 	select BR2_PACKAGE_LIBNFC
+	depends on BR2_PACKAGE_LIBNFC_LLCP_AVAILABLE
 	help
 	  Library extending libnfc with support for Logical Link Control
 	  Protocol.
package/libnfc/Config.in +5 -1
index 159578f..065dabc 100644
@@ -1,8 +1,12 @@
+config BR2_PACKAGE_LIBNFC_AVAILABLE
+	def_bool y
+	depends on BR2_TOOLCHAIN_HAS_THREADS # libusb
+
 config BR2_PACKAGE_LIBNFC
 	bool "libnfc"
-	depends on BR2_TOOLCHAIN_HAS_THREADS # libusb
 	select BR2_PACKAGE_LIBUSB
 	select BR2_PACKAGE_LIBUSB_COMPAT
+	depends on BR2_PACKAGE_LIBNFC_AVAILABLE
 	help
 	  Public platform independent Near Field Communication (NFC) library.
 
package/libnfnetlink/Config.in +4 -0
index fa247c5..4929f58 100644
@@ -1,5 +1,9 @@
+config BR2_PACKAGE_LIBNFNETLINK_AVAILABLE
+	def_bool y
+
 config BR2_PACKAGE_LIBNFNETLINK
 	bool "libnfnetlink"
+	depends on BR2_PACKAGE_LIBNFNETLINK_AVAILABLE
 	help
 	  libnfnetlink is the low-level library for netfilter related
 	  kernel/userspace communication.
package/libnl/Config.in +5 -1
index f4a1dc2..be00d47 100644
@@ -1,6 +1,10 @@
+config BR2_PACKAGE_LIBNL_AVAILABLE
+	def_bool y
+	depends on BR2_TOOLCHAIN_HAS_THREADS
+
 config BR2_PACKAGE_LIBNL
 	bool "libnl"
-	depends on BR2_TOOLCHAIN_HAS_THREADS
+	depends on BR2_PACKAGE_LIBNL_AVAILABLE
 	help
 	  A library for applications dealing with netlink socket.
 
package/libnspr/Config.in +5 -1
index 53086f0..e63c2ea 100644
@@ -1,6 +1,10 @@
+config BR2_PACKAGE_LIBNSPR_AVAILABLE
+	def_bool y
+	depends on BR2_LARGEFILE
+
 config BR2_PACKAGE_LIBNSPR
 	bool "libnspr"
-	depends on BR2_LARGEFILE
+	depends on BR2_PACKAGE_LIBNSPR_AVAILABLE
 	help
 	  NSPR is the Netscape Portable Runtime library which provides
 	  a platform-neutral API for system level and libc like
package/libnss/Config.in +5 -1
index 55928a4..f0ece99 100644
@@ -1,9 +1,13 @@
+config BR2_PACKAGE_LIBNSS_AVAILABLE
+	def_bool y
+	depends on BR2_LARGEFILE
+
 config BR2_PACKAGE_LIBNSS
 	bool "libnss"
 	select BR2_PACKAGE_LIBNSPR
 	select BR2_PACKAGE_SQLITE
 	select BR2_PACKAGE_ZLIB
-	depends on BR2_LARGEFILE
+	depends on BR2_PACKAGE_LIBNSS_AVAILABLE
 	help
 	  Network Security Services (NSS) is a set of libraries designed
 	  to support development of security-enabled client and server
package/liboauth/Config.in +4 -0
index 77a78f1..74e0b4d 100644
@@ -1,6 +1,10 @@
+config BR2_PACKAGE_LIBOAUTH_AVAILABLE
+	def_bool y
+
 config BR2_PACKAGE_LIBOAUTH
 	bool "liboauth"
 	select BR2_PACKAGE_OPENSSL
+	depends on BR2_PACKAGE_LIBOAUTH_AVAILABLE
 	help
 	  liboauth is a collection of c functions implementing the oAuth
 	  Core 1.0 Rev A standard API. liboauth provides basic functions to
package/libogg/Config.in +4 -0
index bf719ff..3117425 100644
@@ -1,5 +1,9 @@
+config BR2_PACKAGE_LIBOGG_AVAILABLE
+	def_bool y
+
 config BR2_PACKAGE_LIBOGG
 	bool "libogg"
+	depends on BR2_PACKAGE_LIBOGG_AVAILABLE
 	help
 	  Ogg is a multimedia container format, and the native file
 	  and stream format for the Xiph.org multimedia codecs. As
package/liboping/Config.in +5 -1
index 04e0e0d..2e60b35 100644
@@ -1,6 +1,10 @@
+config BR2_PACKAGE_LIBOPING_AVAILABLE
+	def_bool y
+	depends on BR2_INET_IPV6
+
 config BR2_PACKAGE_LIBOPING
 	bool "liboping"
-	depends on BR2_INET_IPV6
+	depends on BR2_PACKAGE_LIBOPING_AVAILABLE
 	help
 	  liboping is a C library to generate ICMP echo requests,
 	  better known as "ping packets".
package/libosip2/Config.in +4 -0
index be5de2d..6c0e253 100644
@@ -1,5 +1,9 @@
+config BR2_PACKAGE_LIBOSIP2_AVAILABLE
+	def_bool y
+
 config BR2_PACKAGE_LIBOSIP2
 	bool "libosip2"
+	depends on BR2_PACKAGE_LIBOSIP2_AVAILABLE
 	help
 	  GNU SIP (Session Initiation Protocol)
 	  This library aims to provide multimedia and telecom software
package/libpcap/Config.in +4 -0
index 7f9517a..2e8e0ae 100644
@@ -1,6 +1,10 @@
+config BR2_PACKAGE_LIBPCAP_AVAILABLE
+	def_bool y
+
 config BR2_PACKAGE_LIBPCAP
 	bool "libpcap"
 	select BR2_PACKAGE_ZLIB
+	depends on BR2_PACKAGE_LIBPCAP_AVAILABLE
 	help
 	  A system-independent library for user-level network packet capture.
 
package/libplayer/Config.in +5 -1
index fe851ac..308839c 100644
@@ -1,6 +1,10 @@
-config BR2_PACKAGE_LIBPLAYER
+config BR2_PACKAGE_LIBPLAYER_AVAILABLE
+	def_bool y
 	depends on BR2_LARGEFILE
+
+config BR2_PACKAGE_LIBPLAYER
 	bool "libplayer"
+	depends on BR2_PACKAGE_LIBPLAYER_AVAILABLE
 	help
 	  libplayer provides a generic A/V API that relies on various multimedia
 	  player for Linux systems. It currently supports MPlayer, xine VLC and
package/libpng/Config.in +4 -0
index b0a3646..b0796bb 100644
@@ -1,6 +1,10 @@
+config BR2_PACKAGE_LIBPNG_AVAILABLE
+	def_bool y
+
 config BR2_PACKAGE_LIBPNG
 	bool "libpng"
 	select BR2_PACKAGE_ZLIB
+	depends on BR2_PACKAGE_LIBPNG_AVAILABLE
 	help
 	  Library for handling PNG (Portable Network Graphics)
 	  images.
package/libraw/Config.in +5 -1
index 4378ccd..bc5947a 100644
@@ -1,6 +1,10 @@
+config BR2_PACKAGE_LIBRAW_AVAILABLE
+	def_bool y
+	depends on BR2_INSTALL_LIBSTDCPP
+
 config BR2_PACKAGE_LIBRAW
 	bool "libraw"
-	depends on BR2_INSTALL_LIBSTDCPP
+	depends on BR2_PACKAGE_LIBRAW_AVAILABLE
 	help
 	  libraw is a raw image manipulation library
 
package/libraw1394/Config.in +4 -0
index 7a64959..58cade4 100644
@@ -1,5 +1,9 @@
+config BR2_PACKAGE_LIBRAW1394_AVAILABLE
+	def_bool y
+
 config BR2_PACKAGE_LIBRAW1394
 	bool "libraw1394"
+	depends on BR2_PACKAGE_LIBRAW1394_AVAILABLE
 	help
 	  libraw1394 provides direct access to the IEEE 1394 bus through
 	  the Linux 1394 subsystem's raw1394 user space interface.
package/libreplaygain/Config.in +4 -0
index d0045b2..363b14f 100644
@@ -1,5 +1,9 @@
+config BR2_PACKAGE_LIBREPLAYGAIN_AVAILABLE
+	def_bool y
+
 config BR2_PACKAGE_LIBREPLAYGAIN
 	bool "libreplaygain"
+	depends on BR2_PACKAGE_LIBREPLAYGAIN_AVAILABLE
 	help
 	  Replay Gain library from Musepack
 
package/libroxml/Config.in +4 -0
index b6b253f..e2ec7ba 100644
@@ -1,5 +1,9 @@
+config BR2_PACKAGE_LIBROXML_AVAILABLE
+	def_bool y
+
 config BR2_PACKAGE_LIBROXML
 	bool "roxml"
+	depends on BR2_PACKAGE_LIBROXML_AVAILABLE
 	help
 	  libroxml is a light and powerful xml parsing library with
 	  xpath handling. Roxml is a binary using libroxml to explore
package/librsvg/Config.in +6 -2
index fdb7d31..5d99f4e 100644
@@ -1,3 +1,8 @@
+config BR2_PACKAGE_LIBRSVG_AVAILABLE
+	def_bool y
+	depends on BR2_PACKAGE_LIBGTK2
+	depends on BR2_USE_WCHAR # glib2
+
 config BR2_PACKAGE_LIBRSVG
 	bool "librsvg"
 	select BR2_PACKAGE_LIBXML2
@@ -5,8 +10,7 @@ config BR2_PACKAGE_LIBRSVG
 	select BR2_PACKAGE_CAIRO_PNG
 	select BR2_PACKAGE_PANGO
 	select BR2_PACKAGE_LIBGLIB2
-	depends on BR2_PACKAGE_LIBGTK2
-	depends on BR2_USE_WCHAR # glib2
+	depends on BR2_PACKAGE_LIBRSVG_AVAILABLE
 	help
 	  The rsvg library is an efficient renderer for Scalable
 	  Vector Graphics (SVG) pictures.
package/librsync/Config.in +4 -0
index 5dcdfc8..9ed2b24 100644
@@ -1,8 +1,12 @@
+config BR2_PACKAGE_LIBRSYNC_AVAILABLE
+	def_bool y
+
 config BR2_PACKAGE_LIBRSYNC
 	bool "librsync"
 	select BR2_PACKAGE_ZLIB
 	select BR2_PACKAGE_BZIP2
 	select BR2_PACKAGE_POPT
+	depends on BR2_PACKAGE_LIBRSYNC_AVAILABLE
 	help
 	  librsync implements the rolling-checksum algorithm of
 	  remote file synchronization that was popularized by the
package/libsamplerate/Config.in +4 -0
index b394fdb..b6145e5 100644
@@ -1,5 +1,9 @@
+config BR2_PACKAGE_LIBSAMPLERATE_AVAILABLE
+	def_bool y
+
 config BR2_PACKAGE_LIBSAMPLERATE
 	bool "libsamplerate"
+	depends on BR2_PACKAGE_LIBSAMPLERATE_AVAILABLE
 	help
 	  Secret Rabbit Code (aka libsamplerate) is a Sample Rate
 	  Converter for audio. One example of where such a thing would
package/libsexy/Config.in +5 -1
index 5d1e710..3607401 100644
@@ -1,7 +1,11 @@
+config BR2_PACKAGE_LIBSEXY_AVAILABLE
+	def_bool y
+	depends on BR2_PACKAGE_LIBGTK2
+
 config BR2_PACKAGE_LIBSEXY
 	bool "libsexy"
-	depends on BR2_PACKAGE_LIBGTK2
 	select BR2_PACKAGE_LIBXML2
+	depends on BR2_PACKAGE_LIBSEXY_AVAILABLE
 	help
 	  libsexy is a collection of GTK+ widgets that extend the
 	  functionality of such standard widgets as GtkEntry and
package/libsigc/Config.in +5 -1
index 93fa3f4..4601e13 100644
@@ -1,6 +1,10 @@
+config BR2_PACKAGE_LIBSIGC_AVAILABLE
+	def_bool y
+	depends on BR2_INSTALL_LIBSTDCPP
+
 config BR2_PACKAGE_LIBSIGC
 	bool "libsigc++"
-	depends on BR2_INSTALL_LIBSTDCPP
+	depends on BR2_PACKAGE_LIBSIGC_AVAILABLE
 	help
 	  libsigc++ implements a typesafe callback system for standard C++.
 	  It allows you to define signals and to connect those signals to
package/libsndfile/Config.in +4 -0
index 9afe496..a07f8cc 100644
@@ -1,5 +1,9 @@
+config BR2_PACKAGE_LIBSNDFILE_AVAILABLE
+	def_bool y
+
 config BR2_PACKAGE_LIBSNDFILE
 	bool "libsndfile"
+	depends on BR2_PACKAGE_LIBSNDFILE_AVAILABLE
 	help
 	  Libsndfile is a C library for reading and writing files containing
 	  sampled sound (such as MS Windows WAV and the Apple/SGI AIFF format)
package/libsoup/Config.in +5 -1
index f40625d..190f160 100644
@@ -1,10 +1,14 @@
+config BR2_PACKAGE_LIBSOUP_AVAILABLE
+	def_bool y
+	depends on BR2_USE_WCHAR # glib2 and gnutls
+
[… more lines in the raw message]

Lines of this file are not shown. View the raw message.

package/libsvgtiny/Config.in +4 -0
index 836dec2..aa28766 100644

Lines of this file are not shown. View the raw message.

package/libsysfs/Config.in +4 -0
index e4e6f28..4a367b8 100644

Lines of this file are not shown. View the raw message.

package/libtheora/Config.in +4 -0
index bf20a50..c17c96c 100644

Lines of this file are not shown. View the raw message.

package/libtool/Config.in +4 -0
index d3cf2d7..6f6dbeb 100644

Lines of this file are not shown. View the raw message.

package/libtorrent/Config.in +5 -1
index f0315a4..f26d6cf 100644

Lines of this file are not shown. View the raw message.

package/libtpl/Config.in +4 -0
index a2c2c2d..901c951 100644

Lines of this file are not shown. View the raw message.

package/libungif/Config.in +4 -0
index e8c301c..17fc665 100644

Lines of this file are not shown. View the raw message.

package/libupnp/Config.in +5 -1
index 2e6edcd..7919530 100644

Lines of this file are not shown. View the raw message.

package/liburcu/Config.in +5 -1
index 69878b1..013af3a 100644

Lines of this file are not shown. View the raw message.

package/libusb-compat/Config.in +5 -1
index f6f49ca..70d8878 100644

Lines of this file are not shown. View the raw message.

package/libusb/Config.in +5 -1
index 2eed3fa..0842e4d 100644

Lines of this file are not shown. View the raw message.

package/libv4l/Config.in +5 -1
index 1e5eec6..85fb809 100644

Lines of this file are not shown. View the raw message.

package/libvncserver/Config.in +4 -0
index ff83e34..416f698 100644

Lines of this file are not shown. View the raw message.

package/libvorbis/Config.in +4 -0
index e322dd2..dca00da 100644

Lines of this file are not shown. View the raw message.

package/libxml-parser-perl/Config.in +5 -1
index e90e50e..a3028b3 100644

Lines of this file are not shown. View the raw message.

package/libxml2/Config.in +4 -0
index ebd63fe..46cdb53 100644

Lines of this file are not shown. View the raw message.

package/libxslt/Config.in +4 -0
index 1dca1f0..0e3d4b2 100644

Lines of this file are not shown. View the raw message.

package/libyaml/Config.in +4 -0
index 00a48b2..a2265d9 100644

Lines of this file are not shown. View the raw message.

package/lighttpd/Config.in +4 -0
index cb759ff..1819989 100644

Lines of this file are not shown. View the raw message.

package/links/Config.in +4 -0
index fddf3d2..f67a7f2 100644

Lines of this file are not shown. View the raw message.

package/linphone/Config.in +5 -1
index 1a6cfdb..f641009 100644

Lines of this file are not shown. View the raw message.

package/linux-firmware/Config.in +4 -0
index 0c24d98..500d951 100644

Lines of this file are not shown. View the raw message.

package/linux-fusion/Config.in +5 -1
index 197e81b..f89116d 100644

Lines of this file are not shown. View the raw message.

package/linux-pam/Config.in +5 -1
index 722b875..e75da43 100644

Lines of this file are not shown. View the raw message.

package/lite/Config.in +5 -1
index 8840fe4..679ca93 100644

Lines of this file are not shown. View the raw message.

package/live555/Config.in +5 -1
index 610fafc..d1731bf 100644

Lines of this file are not shown. View the raw message.

package/lm-sensors/Config.in +4 -0
index 33c59fd..b32c99a 100644

Lines of this file are not shown. View the raw message.

package/lmbench/Config.in +5 -1
index c8423d1..cde05d6 100644

Lines of this file are not shown. View the raw message.

package/lockfile-progs/Config.in +4 -0
index de101a9..ce10a94 100644

Lines of this file are not shown. View the raw message.

package/logrotate/Config.in +5 -1
index 0d0ec61..0130b0c 100644

Lines of this file are not shown. View the raw message.

package/logsurfer/Config.in +4 -0
index 27d1881..cdfe970 100644

Lines of this file are not shown. View the raw message.

package/lrzsz/Config.in +4 -0
index 70f10cd..c3ce9ac 100644

Lines of this file are not shown. View the raw message.

package/lshw/Config.in +6 -2
index 4960ac9..20d97a9 100644

Lines of this file are not shown. View the raw message.

package/lsof/Config.in +4 -0
index cc7512c..6be0d89 100644

Lines of this file are not shown. View the raw message.

package/lsuio/Config.in +4 -0
index 675a318..33457aa 100644

Lines of this file are not shown. View the raw message.

package/ltp-testsuite/Config.in +5 -1
index 86aa4fb..b56e707 100644

Lines of this file are not shown. View the raw message.

package/ltrace/Config.in +5 -1
index 9e71d82..c3f9714 100644

Lines of this file are not shown. View the raw message.

package/lttng-babeltrace/Config.in +7 -3
index 6f47304..a2a5dcd 100644

Lines of this file are not shown. View the raw message.

package/lttng-libust/Config.in +7 -3
index ab12963..f22c75e 100644

Lines of this file are not shown. View the raw message.

package/lttng-modules/Config.in +5 -1
index 2a0f938..973aec0 100644

Lines of this file are not shown. View the raw message.

package/lttng-tools/Config.in +6 -2
index b854757..03d38b7 100644

Lines of this file are not shown. View the raw message.

package/lua/Config.in +4 -0
index 76359c0..a38ba57 100644

Lines of this file are not shown. View the raw message.

package/luacjson/Config.in +4 -0
index 8a5624f..f2fd2c2 100644

Lines of this file are not shown. View the raw message.

package/luaexpat/Config.in +4 -0
index 186c5c9..4e893d3 100644

Lines of this file are not shown. View the raw message.

package/luafilesystem/Config.in +4 -0
index 7c130f8..a40ff70 100644

Lines of this file are not shown. View the raw message.

package/luajit/Config.in +5 -1
index 23b2650..82adcb2 100644

Lines of this file are not shown. View the raw message.

package/luasocket/Config.in +4 -0
index 4526303..ffa1efc 100644

Lines of this file are not shown. View the raw message.

package/lvm2/Config.in +5 -1
index 30af14e..3012e2f 100644

Lines of this file are not shown. View the raw message.

package/lzma/Config.in +6 -2
index 2b94dde..aa4aff3 100644

Lines of this file are not shown. View the raw message.

package/lzo/Config.in +4 -0
index 1b6f80b..47e2d68 100644

Lines of this file are not shown. View the raw message.

package/lzop/Config.in +4 -0
index c911823..43136d5 100644

Lines of this file are not shown. View the raw message.

package/m4/Config.in +6 -2
index dee2d83..6de461c 100644

Lines of this file are not shown. View the raw message.

package/make/Config.in +4 -0
index 364bb1e..3583ae1 100644

Lines of this file are not shown. View the raw message.

package/makedevs/Config.in +5 -1
index 4f8c38d..c415893 100644

Lines of this file are not shown. View the raw message.

package/matchbox/Config.in +5 -1
index e4b6149..006211e 100644

Lines of this file are not shown. View the raw message.

package/mdadm/Config.in +4 -0
index 6426453..a0869d6 100644

Lines of this file are not shown. View the raw message.

package/mediastreamer/Config.in +5 -1
index 2e1af93..c20e056 100644

Lines of this file are not shown. View the raw message.

package/memstat/Config.in +4 -0
index ca34ea3..085a373 100644

Lines of this file are not shown. View the raw message.

package/memtester/Config.in +5 -1
index 82769f5..86c06ea 100644

Lines of this file are not shown. View the raw message.

package/metacity/Config.in +6 -2
index c483c44..75ed570 100644

Lines of this file are not shown. View the raw message.

package/microperl/Config.in +5 -1
index 66bbedd..21b3d83 100644

Lines of this file are not shown. View the raw message.

package/midori/Config.in +7 -3
index 49867e4..c2d1b59 100644

Lines of this file are not shown. View the raw message.

package/mii-diag/Config.in +4 -0
index ca48ba2..3b3d264 100644

Lines of this file are not shown. View the raw message.

package/minicom/Config.in +5 -1
index a8a2635..76c1391 100644

Lines of this file are not shown. View the raw message.

package/mobile-broadband-provider-info/Config.in +4 -0
index dda7105..f4e1900 100644

Lines of this file are not shown. View the raw message.

package/module-init-tools/Config.in +4 -0
index 77e3bce..1a67917 100644

Lines of this file are not shown. View the raw message.

package/monit/Config.in +4 -0
index 6933aaf..8d1e3f2 100644

Lines of this file are not shown. View the raw message.

package/mpc/Config.in +4 -0
index 8377013..8ec89e6 100644

Lines of this file are not shown. View the raw message.

package/mpfr/Config.in +4 -0
index 9acb0b4..1df1ffc 100644

Lines of this file are not shown. View the raw message.

package/mrouted/Config.in +4 -0
index 1503cc6..3404179 100644

Lines of this file are not shown. View the raw message.

package/msmtp/Config.in +4 -0
index 385ad90..10e5aaf 100644

Lines of this file are not shown. View the raw message.

package/mtd/Config.in +4 -0
index 7330dd5..599108d 100644

Lines of this file are not shown. View the raw message.

package/mtdev/Config.in +4 -0
index 3419903..cc99187 100644

Lines of this file are not shown. View the raw message.

package/mtdev2tuio/Config.in +5 -1
index 74453c4..b8ccf08 100644

Lines of this file are not shown. View the raw message.

package/multimedia/alsa-utils/Config.in +5 -1
index c65e33f..fd21957 100644

Lines of this file are not shown. View the raw message.

package/multimedia/aumix/Config.in +4 -0
index 3d32082..7987915 100644

Lines of this file are not shown. View the raw message.

package/multimedia/bellagio/Config.in +5 -1
index 1458f63..30dd085 100644

Lines of this file are not shown. View the raw message.

package/multimedia/faad2/Config.in +4 -0
index 5b7fc1c..c178467 100644

Lines of this file are not shown. View the raw message.

package/multimedia/ffmpeg/Config.in +6 -2
index d11233e..55d6762 100644

Lines of this file are not shown. View the raw message.

package/multimedia/flac/Config.in +4 -0
index 357e24f..e53af59 100644

Lines of this file are not shown. View the raw message.

package/multimedia/gst-dsp/Config.in +5 -1
index 590931a..66c542d 100644

Lines of this file are not shown. View the raw message.

package/multimedia/gst-ffmpeg/Config.in +7 -3
index 537101e..d5c8537 100644

Lines of this file are not shown. View the raw message.

package/multimedia/gst-omapfb/Config.in +5 -1
index e603cb1..6d27c2e 100644

Lines of this file are not shown. View the raw message.

package/multimedia/gst-plugins-bad/Config.in +5 -1
index cb50fbd..d88a432 100644

Lines of this file are not shown. View the raw message.

package/multimedia/gst-plugins-base/Config.in +5 -1
index 5d82533..4987e1a 100644

Lines of this file are not shown. View the raw message.

package/multimedia/gst-plugins-good/Config.in +5 -1
index 33ecb5c..5feca88 100644

Lines of this file are not shown. View the raw message.

package/multimedia/gst-plugins-ugly/Config.in +5 -1
index c0046e4..1bbd0e5 100644

Lines of this file are not shown. View the raw message.

package/multimedia/gstreamer/Config.in +5 -1
index 4d279b8..bc5507f 100644

Lines of this file are not shown. View the raw message.

package/multimedia/lame/Config.in +4 -0
index 2b144a0..c0806a4 100644

Lines of this file are not shown. View the raw message.

package/multimedia/madplay/Config.in +4 -0
index a77cc36..92ce1e4 100644

Lines of this file are not shown. View the raw message.

package/multimedia/mpd/Config.in +6 -2
index c7c0cd7..84de844 100644

Lines of this file are not shown. View the raw message.

package/multimedia/mpg123/Config.in +4 -0
index 18ac41c..463482e 100644

Lines of this file are not shown. View the raw message.

package/multimedia/mplayer/Config.in +4 -0
index a9a4bb6..73defc1 100644

Lines of this file are not shown. View the raw message.

package/multimedia/musepack/Config.in +4 -0
index 2a966a4..15ab2da 100644

Lines of this file are not shown. View the raw message.

package/multimedia/pulseaudio/Config.in +5 -1
index 6e6d64c..21ee4ea 100644

Lines of this file are not shown. View the raw message.

package/multimedia/tidsp-binaries/Config.in +5 -1
index 48f85a5..f341193 100644

Lines of this file are not shown. View the raw message.

package/multimedia/vorbis-tools/Config.in +4 -0
index 6092e01..4ad76ab 100644

Lines of this file are not shown. View the raw message.

package/multimedia/wavpack/Config.in +4 -0
index 1ef3e42..7fe67c5 100644

Lines of this file are not shown. View the raw message.

package/mutt/Config.in +5 -1
index 754979a..03062f6 100644

Lines of this file are not shown. View the raw message.

package/mxml/Config.in +4 -0
index d3202b4..f190f42 100644

Lines of this file are not shown. View the raw message.

package/mysql_client/Config.in +5 -1
index f07fdb4..23b416b 100644

Lines of this file are not shown. View the raw message.

package/nano/Config.in +4 -0
index ef7f69d..9db120a 100644

Lines of this file are not shown. View the raw message.

package/nanocom/Config.in +4 -0
index 51d628a..d533cf5 100644

Lines of this file are not shown. View the raw message.

package/nbd/Config.in +5 -1
index 6e92f93..3be526c 100644

Lines of this file are not shown. View the raw message.

package/ncftp/Config.in +5 -1
index 4aaa62d..2baf0f3 100644

Lines of this file are not shown. View the raw message.

package/ncurses/Config.in +4 -0
index d80f573..be06d2b 100644

Lines of this file are not shown. View the raw message.

package/ndisc6/Config.in +5 -1
index 126bfa2..e19dd9d 100644

Lines of this file are not shown. View the raw message.

package/neon/Config.in +4 -0
index f972dbb..709112f 100644

Lines of this file are not shown. View the raw message.

package/netatalk/Config.in +4 -0
index 26f14c3..b72e0ef 100644

Lines of this file are not shown. View the raw message.

package/netcat/Config.in +4 -0
index 54aac76..f95432e 100644

Lines of this file are not shown. View the raw message.

package/netkitbase/Config.in +5 -1
index 725e500..09e5494 100644

Lines of this file are not shown. View the raw message.

package/netkittelnet/Config.in +5 -1
index 058d210..e5b98d4 100644

Lines of this file are not shown. View the raw message.

package/netperf/Config.in +4 -0
index 2f36b1b..928d3cf 100644

Lines of this file are not shown. View the raw message.

package/netplug/Config.in +4 -0
index 5c9bca6..8247e4e 100644

Lines of this file are not shown. View the raw message.

package/netsnmp/Config.in +4 -0
index 108ab83..987dd73 100644

Lines of this file are not shown. View the raw message.

package/netstat-nat/Config.in +4 -0
index 6afcf89..f84cfee 100644

Lines of this file are not shown. View the raw message.

package/network-manager/Config.in +7 -3
index 3f01fef..254458e 100644

Lines of this file are not shown. View the raw message.

package/newt/Config.in +4 -0
index ae6b69c..547911a 100644

Lines of this file are not shown. View the raw message.

package/nfs-utils/Config.in +6 -2
index 67d25a7..ecb7d05 100644

Lines of this file are not shown. View the raw message.

package/ngircd/Config.in +4 -0
index e8fc3d0..720d372 100644

Lines of this file are not shown. View the raw message.

package/ngrep/Config.in +4 -0
index cd91225..258f7c0 100644

Lines of this file are not shown. View the raw message.

package/noip/Config.in +4 -0
index 02039dd..831c5de 100644

Lines of this file are not shown. View the raw message.

package/nss-mdns/Config.in +6 -2
index 485cfcd..8654bb1 100644

Lines of this file are not shown. View the raw message.

package/ntfs-3g/Config.in +6 -2
index 5301038..20883b8 100644

Lines of this file are not shown. View the raw message.

package/ntp/Config.in +4 -0
index 5996596..5fe10a4 100644

Lines of this file are not shown. View the raw message.

package/nuttcp/Config.in +4 -0
index fb6d3b1..41f3fb6 100644

Lines of this file are not shown. View the raw message.

package/ocf-linux/Config.in +4 -0
index 9dc5766..f59360e 100644

Lines of this file are not shown. View the raw message.

package/ofono/Config.in +6 -2
index 74c8b53..55e0607 100644

Lines of this file are not shown. View the raw message.

package/olsr/Config.in +5 -1
index ada82b4..672053c 100644

Lines of this file are not shown. View the raw message.

package/open2300/Config.in +4 -0
index df0a969..1735dea 100644

Lines of this file are not shown. View the raw message.

package/opencv/Config.in +6 -2
index 3e9ead6..d0f953f 100644

Lines of this file are not shown. View the raw message.

package/openntpd/Config.in +5 -1
index 4dd9a29..d4bf9fc 100644

Lines of this file are not shown. View the raw message.

package/openocd/Config.in +5 -1
index 4ea66a5..b53535d 100644

Lines of this file are not shown. View the raw message.

package/openssh/Config.in +4 -0
index 0c3d993..de3b1e1 100644

Lines of this file are not shown. View the raw message.

package/openssl/Config.in +4 -0
index 6ba644a..0382826 100644

Lines of this file are not shown. View the raw message.

package/openswan/Config.in +4 -0
index 3336156..7d09454 100644

Lines of this file are not shown. View the raw message.

package/openvpn/Config.in +4 -0
index 9f9057d..e9f2bc5 100644

Lines of this file are not shown. View the raw message.

package/opkg/Config.in +4 -0
index eb997a7..e0db91a 100644

Lines of this file are not shown. View the raw message.

package/oprofile/Config.in +5 -1
index 562c910..9525eec 100644

Lines of this file are not shown. View the raw message.

package/orc/Config.in +4 -0
index 1de0f23..2a3b25f 100644

Lines of this file are not shown. View the raw message.

package/ortp/Config.in +4 -0
index 39d9c9a..916615c 100644

Lines of this file are not shown. View the raw message.

package/owl-linux/Config.in +6 -2
index f6e18d5..835d3c6 100644

Lines of this file are not shown. View the raw message.

package/pango/Config.in +6 -2
index 923c3d4..c064f91 100644

Lines of this file are not shown. View the raw message.

package/parted/Config.in +6 -2
index 7349763..a5f8422 100644

Lines of this file are not shown. View the raw message.

package/patch/Config.in +5 -1
index dd6d51c..060fcfd 100644

Lines of this file are not shown. View the raw message.

package/pciutils/Config.in +4 -0
index a082f23..4e2e9fc 100644

Lines of this file are not shown. View the raw message.

package/pcmanfm/Config.in +7 -3
index c8b4deb..f9d203b 100644

Lines of this file are not shown. View the raw message.

package/pcre/Config.in +4 -0
index a4e2547..8130d31 100644

Lines of this file are not shown. View the raw message.

package/php/Config.in +4 -0
index c8c100c..af12c5c 100644

Lines of this file are not shown. View the raw message.

package/picocom/Config.in +4 -0
index bd584e2..b0009b4 100644

Lines of this file are not shown. View the raw message.

package/pixman/Config.in +4 -0
index aa2a68f..6b3b57d 100644

Lines of this file are not shown. View the raw message.

package/pkg-config/Config.in +5 -1
index eae0a21..a7edcfc 100644

Lines of this file are not shown. View the raw message.

package/poco/Config.in +6 -2
index 36d8de9..449fa93 100644

Lines of this file are not shown. View the raw message.

package/polarssl/Config.in +4 -0
index 3414a7f..5226f46 100644

Lines of this file are not shown. View the raw message.

package/popt/Config.in +4 -0
index cbcdc15..ca33ca5 100644

Lines of this file are not shown. View the raw message.

package/portaudio/Config.in +4 -0
index f91acc0..4b73301 100644

Lines of this file are not shown. View the raw message.

package/portmap/Config.in +5 -1
index 5914357..d1f3c25 100644

Lines of this file are not shown. View the raw message.

package/pppd/Config.in +4 -0
index 879b263..7686eb0 100644

Lines of this file are not shown. View the raw message.

package/pptp-linux/Config.in +4 -0
index 165f79b..13ae2a5 100644

Lines of this file are not shown. View the raw message.

package/procps/Config.in +4 -0
index 48baf7b..0af3bdf 100644

Lines of this file are not shown. View the raw message.

package/proftpd/Config.in +4 -0
index abdedc9..e423518 100644

Lines of this file are not shown. View the raw message.

package/protobuf/Config.in +5 -1
index b044ef0..a5459d3 100644

Lines of this file are not shown. View the raw message.

package/psmisc/Config.in +4 -0
index a138204..05fe88d 100644

Lines of this file are not shown. View the raw message.

package/pv/Config.in +4 -0
index 671f78e..2dd9df1 100644

Lines of this file are not shown. View the raw message.

package/python-dpkt/Config.in +5 -1
index aac9f09..4ab9a26 100644

Lines of this file are not shown. View the raw message.

package/python-id3/Config.in +5 -1
index 829a657..807be1b 100644

Lines of this file are not shown. View the raw message.

package/python-mad/Config.in +5 -1
index 2535421..f6d884b 100644

Lines of this file are not shown. View the raw message.

package/python-meld3/Config.in +5 -1
index 8dee723..f4b04fc 100644

Lines of this file are not shown. View the raw message.

package/python-netifaces/Config.in +5 -1
index b9d66d8..d13d5ec 100644

Lines of this file are not shown. View the raw message.

package/python-nfc/Config.in +5 -1
index c928ba1..3202bc4 100644

Lines of this file are not shown. View the raw message.

package/python-pygame/Config.in +5 -1
index 1b0a8b9..ab51c1c 100644

Lines of this file are not shown. View the raw message.

package/python-serial/Config.in +5 -1
index ea090bd..7475367 100644

Lines of this file are not shown. View the raw message.

package/python-setuptools/Config.in +5 -1
index 63c2b01..f03eb53 100644

Lines of this file are not shown. View the raw message.

package/python/Config.in +5 -1
index 11aa267..ebcbef2 100644

Lines of this file are not shown. View the raw message.

package/qt/Config.in +5 -1
index b75f224..737702c 100644

Lines of this file are not shown. View the raw message.

package/quagga/Config.in +4 -0
index 0834201..8933fe7 100644

Lines of this file are not shown. View the raw message.

package/quota/Config.in +6 -2
index 6c2beff..8a41b4d 100644

Lines of this file are not shown. View the raw message.

package/radvd/Config.in +5 -1
index 90c1fd4..bfcb1f5 100644

Lines of this file are not shown. View the raw message.

package/ramspeed/Config.in +4 -0
index b236329..61d84a2 100644

Lines of this file are not shown. View the raw message.

package/rdesktop/Config.in +5 -1
index c0abe27..e82e4cc 100644

Lines of this file are not shown. View the raw message.

package/read-edid/Config.in +5 -1
index bdcb7a7..985a18b 100644

Lines of this file are not shown. View the raw message.

package/readline/Config.in +4 -0
index 305955a..b46bb2c 100644

Lines of this file are not shown. View the raw message.

package/rings/Config.in +4 -0
index d1f1efe..857f2eb 100644

Lines of this file are not shown. View the raw message.

package/rng-tools/Config.in +4 -0
index e6dcf9d..e6a0112 100644

Lines of this file are not shown. View the raw message.

package/rp-pppoe/Config.in +5 -1
index 668a443..0f8a412 100644

Lines of this file are not shown. View the raw message.

package/rpm/Config.in +7 -3
index 14072c9..f807cec 100644

Lines of this file are not shown. View the raw message.

package/rrdtool/Config.in +5 -1
index d315b57..d52f8e4 100644

Lines of this file are not shown. View the raw message.

package/rsh-redone/Config.in +4 -0
index 454bf30..c16830b 100644

Lines of this file are not shown. View the raw message.

package/rsync/Config.in +5 -1
index be95a7c..a228dd6 100644

Lines of this file are not shown. View the raw message.

package/rsyslog/Config.in +4 -0
index 2503f71..eacb52f 100644

Lines of this file are not shown. View the raw message.

package/rt-tests/Config.in +4 -0
index e645266..c4a840a 100644

Lines of this file are not shown. View the raw message.

package/rtai/Config.in +5 -1
index ecbff38..9617b12 100644

Lines of this file are not shown. View the raw message.

package/rtorrent/Config.in +6 -2
index 142ff8b..4f1a445 100644

Lines of this file are not shown. View the raw message.

package/ruby/Config.in +5 -1
index c18d8ad..780c5f7 100644

Lines of this file are not shown. View the raw message.

package/samba/Config.in +4 -0
index 928b40b..036505b 100644

Lines of this file are not shown. View the raw message.

package/sane-backends/Config.in +4 -0
index 04222fc..37fe800 100644

Lines of this file are not shown. View the raw message.

package/sawman/Config.in +5 -1
index 8dd3ace..23567dd 100644

Lines of this file are not shown. View the raw message.

package/screen/Config.in +4 -0
index c232392..cc0cc46 100644

Lines of this file are not shown. View the raw message.

package/sdl/Config.in +4 -0
index 65ac8a2..0ba920f 100644

Lines of this file are not shown. View the raw message.

package/sdl_gfx/Config.in +5 -1
index 4910b2d..f75bd09 100644

Lines of this file are not shown. View the raw message.

package/sdl_image/Config.in +5 -1
index 36aa4a8..21f67b4 100644

Lines of this file are not shown. View the raw message.

package/sdl_mixer/Config.in +5 -1
index 42dfe63..6e43935 100644

Lines of this file are not shown. View the raw message.

package/sdl_net/Config.in +5 -1
index 2001d23..7f213dd 100644

Lines of this file are not shown. View the raw message.

package/sdl_sound/Config.in +5 -1
index 542c996..693af1a 100644

Lines of this file are not shown. View the raw message.

package/sdl_ttf/Config.in +5 -1
index 9f78b90..606428b 100644

Lines of this file are not shown. View the raw message.

package/sdparm/Config.in +4 -0
index cec0f84..6fd96ac 100644

Lines of this file are not shown. View the raw message.

package/sed/Config.in +5 -1
index 1430915..1813d6f 100644

Lines of this file are not shown. View the raw message.

package/ser2net/Config.in +4 -0
index 7eb3a6a..3a6ee46 100644

Lines of this file are not shown. View the raw message.

package/setserial/Config.in +5 -1
index cffe50e..d84d3d6 100644

Lines of this file are not shown. View the raw message.

package/shared-mime-info/Config.in +5 -1
index b08c1fd..d3ffe6d 100644

Lines of this file are not shown. View the raw message.

package/slang/Config.in +4 -0
index 60facbb..32581a6 100644

Lines of this file are not shown. View the raw message.

package/smartmontools/Config.in +5 -1
index 18320f0..884a5eb 100644

Lines of this file are not shown. View the raw message.

package/socat/Config.in +4 -0
index ae88be9..ca53c08 100644

Lines of this file are not shown. View the raw message.

package/socketcand/Config.in +4 -0
index 0d1d983..059f6f5 100644

Lines of this file are not shown. View the raw message.

package/sound-theme-borealis/Config.in +4 -0
index fcc109f..b453405 100644

Lines of this file are not shown. View the raw message.

package/sound-theme-freedesktop/Config.in +4 -0
index 8b48015..f81da7a 100644

Lines of this file are not shown. View the raw message.

package/spawn-fcgi/Config.in +4 -0
index 34cbbb1..1745793 100644

Lines of this file are not shown. View the raw message.

package/speex/Config.in +4 -0
index 424a830..223eee9 100644

Lines of this file are not shown. View the raw message.

package/sqlcipher/Config.in +5 -1
index 8970115..8afbddb 100644

Lines of this file are not shown. View the raw message.

package/sqlite/Config.in +4 -0
index 25aaa3f..88d570b 100644

Lines of this file are not shown. View the raw message.

package/squashfs/Config.in +6 -2
index 93d3594..aaca83e 100644

Lines of this file are not shown. View the raw message.

package/squashfs3/Config.in +6 -2
index 3291272..4993a41 100644

Lines of this file are not shown. View the raw message.

package/squid/Config.in +6 -2
index 4ec7fa4..d09267e 100644

Lines of this file are not shown. View the raw message.

package/sredird/Config.in +4 -0
index 463269a..cd0b28c 100644

Lines of this file are not shown. View the raw message.

package/sshfs/Config.in +6 -2
index 73d552f..d5e544e 100644

Lines of this file are not shown. View the raw message.

package/sstrip/Config.in +4 -0
index 12a5941..9f09864 100644

Lines of this file are not shown. View the raw message.

package/startup-notification/Config.in +5 -1
index 277d300..0b626d2 100644

Lines of this file are not shown. View the raw message.

package/statserial/Config.in +4 -0
index 4db5eb1..ef48c02 100644

Lines of this file are not shown. View the raw message.

package/strace/Config.in +4 -0
index bbb582a..b3a1270 100644

Lines of this file are not shown. View the raw message.

package/stress/Config.in +4 -0
index b092b03..9550e58 100644

Lines of this file are not shown. View the raw message.

package/stunnel/Config.in +4 -0
index b1977ed..e3ee61a 100644

Lines of this file are not shown. View the raw message.

package/sudo/Config.in +5 -1
index cd7ab81..6764778 100644

Lines of this file are not shown. View the raw message.

package/supervisor/Config.in +5 -1
index 5340181..6bdb274 100644

Lines of this file are not shown. View the raw message.

package/sylpheed/Config.in +5 -1
index 16f03be..37b3cfc 100644

Lines of this file are not shown. View the raw message.

package/synergy/Config.in +6 -2
index 04351b7..e21c170 100644

Lines of this file are not shown. View the raw message.

package/sysklogd/Config.in +5 -1
index e3cf2ba..cb14de1 100644

Lines of this file are not shown. View the raw message.

package/sysprof/Config.in +6 -2
index 513a32c..79e387a 100644

Lines of this file are not shown. View the raw message.

package/sysstat/Config.in +5 -1
index 6e62ff1..0b8e917 100644

Lines of this file are not shown. View the raw message.

package/systemd/Config.in +6 -2
index 0e7fc39..b73212f 100644

Lines of this file are not shown. View the raw message.

package/sysvinit/Config.in +4 -0
index 34ec391..d37ce4a 100644

Lines of this file are not shown. View the raw message.

package/taglib/Config.in +5 -1
index d172c34..1bb0ee6 100644

Lines of this file are not shown. View the raw message.

package/tar/Config.in +5 -1
index 427cae4..1fa844a 100644

Lines of this file are not shown. View the raw message.

package/tcl/Config.in +4 -0
index 7a4d887..0d4cad0 100644

Lines of this file are not shown. View the raw message.

package/tcpdump/Config.in +4 -0
index c284398..42af213 100644

Lines of this file are not shown. View the raw message.

package/tcpreplay/Config.in +4 -0
index 6d3a3bf..c907b2a 100644

Lines of this file are not shown. View the raw message.

package/tftpd/Config.in +4 -0
index 52e23a3..c8a4a39 100644

Lines of this file are not shown. View the raw message.

package/thttpd/Config.in +4 -0
index 172a2d6..4d73802 100644

Lines of this file are not shown. View the raw message.

package/ti-utils/Config.in +5 -1
index 94d6204..2bd1ab5c 100644

Lines of this file are not shown. View the raw message.

package/tiff/Config.in +4 -0
index 7850965..eb82eb4 100644

Lines of this file are not shown. View the raw message.

package/tinyhttpd/Config.in +4 -0
index 5a6ee88..4b5f9ff 100644

Lines of this file are not shown. View the raw message.

package/tn5250/Config.in +4 -0
index 807def0..39a9841 100644

Lines of this file are not shown. View the raw message.

package/torsmo/Config.in +5 -1
index ec9cb22..0a67e72 100644

Lines of this file are not shown. View the raw message.

package/transmission/Config.in +5 -1
index e7e9f66..3c888bc 100644

Lines of this file are not shown. View the raw message.

package/tremor/Config.in +4 -0
index 2e58e09..325c6ad 100644

Lines of this file are not shown. View the raw message.

package/tslib/Config.in +4 -0
index 76f1349..7eb7cf5 100644

Lines of this file are not shown. View the raw message.

package/ttcp/Config.in +5 -1
index 0262fc9..de26650 100644

Lines of this file are not shown. View the raw message.

package/uboot-tools/Config.in +4 -0
index 9cc837c..4cbb490 100644

Lines of this file are not shown. View the raw message.

package/udev/Config.in +6 -2
index d3244d1..651087a 100644

Lines of this file are not shown. View the raw message.

package/udpcast/Config.in +5 -1
index d7ccfb4..0a2276d 100644

Lines of this file are not shown. View the raw message.

package/uemacs/Config.in +4 -0
index f093218..412ea9d 100644

Lines of this file are not shown. View the raw message.

package/unionfs/Config.in +5 -1
index a974c8c..ba437e7 100644

Lines of this file are not shown. View the raw message.

package/usb_modeswitch/Config.in +5 -1
index a27b3ee..0292985 100644

Lines of this file are not shown. View the raw message.

package/usb_modeswitch_data/Config.in +4 -0
index 8698bb6..ae05890 100644

Lines of this file are not shown. View the raw message.

package/usbmount/Config.in +6 -2
index 30c7b5a..3d4588f 100644

Lines of this file are not shown. View the raw message.

package/usbutils/Config.in +5 -1
index fd9926c..72c5279 100644

Lines of this file are not shown. View the raw message.

package/ushare/Config.in +5 -1
index acf025f..dcb2ef7 100644

Lines of this file are not shown. View the raw message.

package/util-linux/Config.in +6 -2
index 43a8444..7e667e8 100644

Lines of this file are not shown. View the raw message.

package/vala/Config.in +5 -1
index 89b4459..a022acc 100644

Lines of this file are not shown. View the raw message.

package/valgrind/Config.in +6 -2
index dacdd86..fde0b53 100644

Lines of this file are not shown. View the raw message.

package/vim/Config.in +4 -0
index 0da158f..99fa37c 100644

Lines of this file are not shown. View the raw message.

package/vpnc/Config.in +4 -0
index 9abc0c5..b1d7588 100644

Lines of this file are not shown. View the raw message.

package/vsftpd/Config.in +4 -0
index 8414c88..52aa307 100644

Lines of this file are not shown. View the raw message.

package/vtun/Config.in +4 -0
index b40de25..37b0ffc 100644

Lines of this file are not shown. View the raw message.

package/webkit/Config.in +6 -2
index 34071e4..a365361 100644

Lines of this file are not shown. View the raw message.

package/webrtc-audio-processing/Config.in +6 -2
index 90341d6..7eef5f8 100644

Lines of this file are not shown. View the raw message.

package/wget/Config.in +6 -2
index 354b48f..271218b 100644

Lines of this file are not shown. View the raw message.

package/whetstone/Config.in +4 -0
index 7a68160..deca27a 100644

Lines of this file are not shown. View the raw message.

package/which/Config.in +4 -0
index 5811083..eb75a58 100644

Lines of this file are not shown. View the raw message.

package/wipe/Config.in +4 -0
index 0241c13..2365f0d 100644

Lines of this file are not shown. View the raw message.

package/wireless_tools/Config.in +4 -0
index c51ee9b..0f41a92 100644

Lines of this file are not shown. View the raw message.

package/wpa_supplicant/Config.in +4 -0
index d7cefe3..3dbd8a0 100644

Lines of this file are not shown. View the raw message.

package/wsapi/Config.in +4 -0
index 3621648..43efcf4 100644

Lines of this file are not shown. View the raw message.

package/x11r7/libxcb/Config.in +4 -0
index 9554529..bdb2c90 100644

Lines of this file are not shown. View the raw message.

package/x11r7/mcookie/Config.in +4 -0
index 2e9cfc7..3e5eccb 100644

Lines of this file are not shown. View the raw message.

package/x11r7/mesa3d/Config.in +6 -2
index 47ded29..4fe949d 100644

Lines of this file are not shown. View the raw message.

package/x11r7/pthread-stubs/Config.in +4 -0
index c17f7da..0299806 100644

Lines of this file are not shown. View the raw message.

package/x11r7/xapp_appres/Config.in +4 -0
index 7574659..b0c19dd 100644

Lines of this file are not shown. View the raw message.

package/x11r7/xapp_bdftopcf/Config.in +4 -0
index a9caffa..f738419 100644

Lines of this file are not shown. View the raw message.

package/x11r7/xapp_beforelight/Config.in +4 -0
index 3a11189..f06738d 100644

Lines of this file are not shown. View the raw message.

package/x11r7/xapp_bitmap/Config.in +4 -0
index e5bb5e8..efc8007 100644

Lines of this file are not shown. View the raw message.

package/x11r7/xapp_editres/Config.in +4 -0
index 390ec48..1586de7 100644

Lines of this file are not shown. View the raw message.

package/x11r7/xapp_fonttosfnt/Config.in +4 -0
index eb35710..684123d 100644

Lines of this file are not shown. View the raw message.

package/x11r7/xapp_fslsfonts/Config.in +4 -0
index 1917d61..b31bce2 100644

Lines of this file are not shown. View the raw message.

package/x11r7/xapp_fstobdf/Config.in +4 -0
index 0a1f62b..a82fc17 100644

Lines of this file are not shown. View the raw message.

package/x11r7/xapp_iceauth/Config.in +4 -0
index ce2db98..1802936 100644

Lines of this file are not shown. View the raw message.

package/x11r7/xapp_ico/Config.in +4 -0
index 892f2be..d797212 100644

Lines of this file are not shown. View the raw message.

package/x11r7/xapp_listres/Config.in +4 -0
index a3be6b3..e718445 100644

Lines of this file are not shown. View the raw message.

package/x11r7/xapp_luit/Config.in +4 -0
index aec83a0..c29b005 100644

Lines of this file are not shown. View the raw message.

package/x11r7/xapp_mkfontdir/Config.in +4 -0
index 155772d..ae0643a 100644

Lines of this file are not shown. View the raw message.

package/x11r7/xapp_mkfontscale/Config.in +4 -0
index 540dd45..67afb3b 100644

Lines of this file are not shown. View the raw message.

package/x11r7/xapp_oclock/Config.in +4 -0
index 00cd413..caa4530 100644

Lines of this file are not shown. View the raw message.

package/x11r7/xapp_rgb/Config.in +4 -0
index 038b849..8ada3c2 100644

Lines of this file are not shown. View the raw message.

package/x11r7/xapp_rstart/Config.in +4 -0
index 1bf61b3..a0ed6c1 100644

Lines of this file are not shown. View the raw message.

package/x11r7/xapp_scripts/Config.in +4 -0
index 691f0e2..32a9080 100644

Lines of this file are not shown. View the raw message.

package/x11r7/xapp_sessreg/Config.in +4 -0
index 0796bc1..1d859fc 100644

Lines of this file are not shown. View the raw message.

package/x11r7/xapp_setxkbmap/Config.in +4 -0
index 2b1389c..d269756 100644

Lines of this file are not shown. View the raw message.

package/x11r7/xapp_showfont/Config.in +4 -0
index edfab3f..627a56c 100644

Lines of this file are not shown. View the raw message.

package/x11r7/xapp_smproxy/Config.in +4 -0
index 80ab984..4d33c9c 100644

Lines of this file are not shown. View the raw message.

package/x11r7/xapp_twm/Config.in +4 -0
index 25bf800..e4d4d1f 100644

Lines of this file are not shown. View the raw message.

package/x11r7/xapp_viewres/Config.in +4 -0
index 32827c8..f5ffc98 100644

Lines of this file are not shown. View the raw message.

package/x11r7/xapp_x11perf/Config.in +4 -0
index 0f1eca8..21c019b 100644

Lines of this file are not shown. View the raw message.

package/x11r7/xapp_xauth/Config.in +4 -0
index 919fd50..a84d908 100644

Lines of this file are not shown. View the raw message.

package/x11r7/xapp_xbacklight/Config.in +4 -0
index 9756235..4468add 100644

Lines of this file are not shown. View the raw message.

package/x11r7/xapp_xbiff/Config.in +4 -0
index ea4b58a..6e3701a 100644

Lines of this file are not shown. View the raw message.

package/x11r7/xapp_xcalc/Config.in +4 -0
index 2552be0..9c80b7e 100644

Lines of this file are not shown. View the raw message.

package/x11r7/xapp_xclipboard/Config.in +4 -0
index 941c219..b032770 100644

Lines of this file are not shown. View the raw message.

package/x11r7/xapp_xclock/Config.in +4 -0
index 083a6d1..f2234ba 100644

Lines of this file are not shown. View the raw message.

package/x11r7/xapp_xcmsdb/Config.in +4 -0
index 99c9cbb..1795970 100644

Lines of this file are not shown. View the raw message.

package/x11r7/xapp_xcursorgen/Config.in +4 -0
index c47ec28..705c113 100644

Lines of this file are not shown. View the raw message.

package/x11r7/xapp_xdbedizzy/Config.in +4 -0
index 5cba398..c2d3020 100644

Lines of this file are not shown. View the raw message.

package/x11r7/xapp_xditview/Config.in +4 -0
index 22944f7..1c18c3f 100644

Lines of this file are not shown. View the raw message.

package/x11r7/xapp_xdm/Config.in +4 -0
index b1c50d5..4de04ec 100644

Lines of this file are not shown. View the raw message.

package/x11r7/xapp_xdpyinfo/Config.in +4 -0
index e6ff686..803f0e2 100644

Lines of this file are not shown. View the raw message.

package/x11r7/xapp_xdriinfo/Config.in +5 -1
index 970bff5..670cf21 100644

Lines of this file are not shown. View the raw message.

package/x11r7/xapp_xedit/Config.in +4 -0
index 98e230d..828600c 100644

Lines of this file are not shown. View the raw message.

package/x11r7/xapp_xev/Config.in +4 -0
index e2e05b3..e495b6a 100644

Lines of this file are not shown. View the raw message.

package/x11r7/xapp_xeyes/Config.in +4 -0
index a7b7737..0c72907 100644

Lines of this file are not shown. View the raw message.

package/x11r7/xapp_xf86dga/Config.in +4 -0
index 769ebf6..9f30122 100644

Lines of this file are not shown. View the raw message.

package/x11r7/xapp_xfd/Config.in +4 -0
index f006b1e..1f2d787 100644

Lines of this file are not shown. View the raw message.

package/x11r7/xapp_xfontsel/Config.in +4 -0
index 0c6aa37..03ca2ef 100644

Lines of this file are not shown. View the raw message.

package/x11r7/xapp_xfs/Config.in +4 -0
index e71d89f..f72ab68 100644

Lines of this file are not shown. View the raw message.

package/x11r7/xapp_xfsinfo/Config.in +4 -0
index 84c8ac1..c67ab1f 100644

Lines of this file are not shown. View the raw message.

package/x11r7/xapp_xgamma/Config.in +4 -0
index b20a784..442506e 100644

Lines of this file are not shown. View the raw message.

package/x11r7/xapp_xgc/Config.in +4 -0
index 98faba8..375c838 100644

Lines of this file are not shown. View the raw message.

package/x11r7/xapp_xhost/Config.in +4 -0
index 659b34d..910e35a 100644

Lines of this file are not shown. View the raw message.

package/x11r7/xapp_xinit/Config.in +4 -0
index 9ac2817..1ea946c 100644

Lines of this file are not shown. View the raw message.

package/x11r7/xapp_xinput/Config.in +4 -0
index 2505dd3..11a441f 100644

Lines of this file are not shown. View the raw message.

package/x11r7/xapp_xinput_calibrator/Config.in +5 -1
index ac98b8d..fbe9c32 100644

Lines of this file are not shown. View the raw message.

package/x11r7/xapp_xkbcomp/Config.in +4 -0
index 2b575b2..78f08c9 100644

Lines of this file are not shown. View the raw message.

package/x11r7/xapp_xkbevd/Config.in +4 -0
index cf31565..40f6d80 100644

Lines of this file are not shown. View the raw message.

package/x11r7/xapp_xkbprint/Config.in +4 -0
index e7a4242..3ea8e20 100644

Lines of this file are not shown. View the raw message.

package/x11r7/xapp_xkbutils/Config.in +4 -0
index 22a819b..92354db 100644

Lines of this file are not shown. View the raw message.

package/x11r7/xapp_xkill/Config.in +4 -0
index fcab92a..0981405 100644

Lines of this file are not shown. View the raw message.

package/x11r7/xapp_xload/Config.in +4 -0
index 25c79d2..536909d 100644

Lines of this file are not shown. View the raw message.

package/x11r7/xapp_xlogo/Config.in +4 -0
index 04f779d..6f5f9d7 100644

Lines of this file are not shown. View the raw message.

package/x11r7/xapp_xlsatoms/Config.in +4 -0
index 2ad8484..70f3a9e 100644

Lines of this file are not shown. View the raw message.

package/x11r7/xapp_xlsclients/Config.in +4 -0
index f8f6132..14f5bb8 100644

Lines of this file are not shown. View the raw message.

package/x11r7/xapp_xlsfonts/Config.in +4 -0
index dab61eb..f0ec061 100644

Lines of this file are not shown. View the raw message.

package/x11r7/xapp_xmag/Config.in +4 -0
index 44d2c8e..3dbe45e 100644

Lines of this file are not shown. View the raw message.

package/x11r7/xapp_xman/Config.in +4 -0
index 4f4f067..59de3e3 100644

Lines of this file are not shown. View the raw message.

package/x11r7/xapp_xmessage/Config.in +4 -0
index e80562f..ead9e85 100644

Lines of this file are not shown. View the raw message.

package/x11r7/xapp_xmh/Config.in +4 -0
index 3da965a..3c29311 100644

Lines of this file are not shown. View the raw message.

package/x11r7/xapp_xmodmap/Config.in +4 -0
index 9be79ab..252e45e 100644

Lines of this file are not shown. View the raw message.

package/x11r7/xapp_xmore/Config.in +4 -0
index 23fd147..9b52ea0 100644

Lines of this file are not shown. View the raw message.

package/x11r7/xapp_xplsprinters/Config.in +4 -0
index 16a139b..484be69 100644

Lines of this file are not shown. View the raw message.

package/x11r7/xapp_xpr/Config.in +4 -0
index 0710d62..0b3971c 100644

Lines of this file are not shown. View the raw message.

package/x11r7/xapp_xprehashprinterlist/Config.in +4 -0
index 056fdb6..1514a1a 100644

Lines of this file are not shown. View the raw message.

package/x11r7/xapp_xprop/Config.in +4 -0
index 314e79f..67877e3 100644

Lines of this file are not shown. View the raw message.

package/x11r7/xapp_xrandr/Config.in +4 -0
index fe9bd4e..d1d507b 100644

Lines of this file are not shown. View the raw message.

package/x11r7/xapp_xrdb/Config.in +4 -0
index 8c07857..6310e49 100644

Lines of this file are not shown. View the raw message.

package/x11r7/xapp_xrefresh/Config.in +4 -0
index 16b1e50..b897056 100644

Lines of this file are not shown. View the raw message.

package/x11r7/xapp_xset/Config.in +4 -0
index ff697e5..c692fa0 100644

Lines of this file are not shown. View the raw message.

package/x11r7/xapp_xsetmode/Config.in +4 -0
index a08e02d..2d64a25 100644

Lines of this file are not shown. View the raw message.

package/x11r7/xapp_xsetpointer/Config.in +4 -0
index 2b0b462..768fcf6 100644

Lines of this file are not shown. View the raw message.

package/x11r7/xapp_xsetroot/Config.in +4 -0
index 82c0dba..2e9e29d 100644

Lines of this file are not shown. View the raw message.

package/x11r7/xapp_xsm/Config.in +4 -0
index d06dc6c..943ea7a 100644

Lines of this file are not shown. View the raw message.

package/x11r7/xapp_xstdcmap/Config.in +4 -0
index f15c36b..117edd9 100644

Lines of this file are not shown. View the raw message.

package/x11r7/xapp_xvidtune/Config.in +4 -0
index b1902cd..230090b 100644

Lines of this file are not shown. View the raw message.

package/x11r7/xapp_xvinfo/Config.in +4 -0
index 2612c04..a0a99af 100644

Lines of this file are not shown. View the raw message.

package/x11r7/xapp_xwd/Config.in +4 -0
index b7b3172..542b41c 100644

Lines of this file are not shown. View the raw message.

package/x11r7/xapp_xwininfo/Config.in +4 -0
index 4e09570..738f78c 100644

Lines of this file are not shown. View the raw message.

package/x11r7/xapp_xwud/Config.in +4 -0
index cb8337e..afa1f92 100644

Lines of this file are not shown. View the raw message.

package/x11r7/xcb-proto/Config.in +4 -0
index 4a6dfe4..ce79b41 100644

Lines of this file are not shown. View the raw message.

package/x11r7/xcb-util/Config.in +4 -0
index cf79327..e7e6555 100644

Lines of this file are not shown. View the raw message.

package/x11r7/xdata_xbitmaps/Config.in +4 -0
index 2308cae..be90d7a 100644

Lines of this file are not shown. View the raw message.

package/x11r7/xdata_xcursor-themes/Config.in +4 -0
index 78d1020..c138ab9 100644

Lines of this file are not shown. View the raw message.

package/x11r7/xdriver_xf86-input-acecad/Config.in +4 -0
index 7e1838e..b720d6c 100644

Lines of this file are not shown. View the raw message.

package/x11r7/xdriver_xf86-input-aiptek/Config.in +4 -0
index 87fe5b3..6fc9539 100644

Lines of this file are not shown. View the raw message.

package/x11r7/xdriver_xf86-input-evdev/Config.in +4 -0
index 248be7e..ee4a124 100644

Lines of this file are not shown. View the raw message.

package/x11r7/xdriver_xf86-input-joystick/Config.in +4 -0
index 4a7439a..b823866 100644

Lines of this file are not shown. View the raw message.

package/x11r7/xdriver_xf86-input-keyboard/Config.in +4 -0
index 481c763..0b3bcf2 100644

Lines of this file are not shown. View the raw message.

package/x11r7/xdriver_xf86-input-mouse/Config.in +4 -0
index c8e39b0..80a2d9b 100644

Lines of this file are not shown. View the raw message.

package/x11r7/xdriver_xf86-input-synaptics/Config.in +4 -0
index 258dee2..f10dbe4 100644

Lines of this file are not shown. View the raw message.

package/x11r7/xdriver_xf86-input-tslib/Config.in +4 -0
index 5185273..fc1868f 100644

Lines of this file are not shown. View the raw message.

package/x11r7/xdriver_xf86-input-vmmouse/Config.in +5 -1
index b2284cd..26aa758 100644

Lines of this file are not shown. View the raw message.

package/x11r7/xdriver_xf86-input-void/Config.in +4 -0
index ab4230b..776f805 100644

Lines of this file are not shown. View the raw message.

package/x11r7/xdriver_xf86-video-apm/Config.in +4 -0
index dea5258..6f369eb 100644

Lines of this file are not shown. View the raw message.

package/x11r7/xdriver_xf86-video-ark/Config.in +4 -0
index d9703de..064955b 100644

Lines of this file are not shown. View the raw message.

package/x11r7/xdriver_xf86-video-ast/Config.in +4 -0
index b2a0bc8..2d1819c 100644

Lines of this file are not shown. View the raw message.

package/x11r7/xdriver_xf86-video-ati/Config.in +4 -0
index 107a57b..793193a 100644

Lines of this file are not shown. View the raw message.

package/x11r7/xdriver_xf86-video-chips/Config.in +4 -0
index 29a99ec..55dd600 100644

Lines of this file are not shown. View the raw message.

package/x11r7/xdriver_xf86-video-cirrus/Config.in +4 -0
index 31ed634..8aaa664 100644

Lines of this file are not shown. View the raw message.

package/x11r7/xdriver_xf86-video-dummy/Config.in +4 -0
index 2a172cc..cc8e988 100644

Lines of this file are not shown. View the raw message.

package/x11r7/xdriver_xf86-video-fbdev/Config.in +4 -0
index 8907fe1..46c567d 100644

Lines of this file are not shown. View the raw message.

package/x11r7/xdriver_xf86-video-geode/Config.in +4 -0
index c60b62c..c589823 100644

Lines of this file are not shown. View the raw message.

package/x11r7/xdriver_xf86-video-glide/Config.in +5 -1
index ea9abd7..cc9559d 100644

Lines of this file are not shown. View the raw message.

package/x11r7/xdriver_xf86-video-glint/Config.in +4 -0
index 782b6da..9f5edca 100644

Lines of this file are not shown. View the raw message.

package/x11r7/xdriver_xf86-video-i128/Config.in +4 -0
index a66fda6..6e49475 100644

Lines of this file are not shown. View the raw message.

package/x11r7/xdriver_xf86-video-i740/Config.in +4 -0
index 9d1a040..363ceb7 100644

Lines of this file are not shown. View the raw message.

package/x11r7/xdriver_xf86-video-intel/Config.in +4 -0
index 9a1d6cf..ca938f8 100644

Lines of this file are not shown. View the raw message.

package/x11r7/xdriver_xf86-video-mach64/Config.in +4 -0
index f2464e7..d6d10f7 100644

Lines of this file are not shown. View the raw message.

package/x11r7/xdriver_xf86-video-mga/Config.in +4 -0
index 40c6f3a..ef06083 100644

Lines of this file are not shown. View the raw message.

package/x11r7/xdriver_xf86-video-neomagic/Config.in +4 -0
index 2e028a7..7faf833 100644

Lines of this file are not shown. View the raw message.

package/x11r7/xdriver_xf86-video-newport/Config.in +4 -0
index e2effe8..aee66de 100644

Lines of this file are not shown. View the raw message.

package/x11r7/xdriver_xf86-video-nv/Config.in +4 -0
index 943bc14..ab3cd8f 100644

Lines of this file are not shown. View the raw message.

package/x11r7/xdriver_xf86-video-openchrome/Config.in +4 -0
index 4a69246..5aa5917 100644

Lines of this file are not shown. View the raw message.

package/x11r7/xdriver_xf86-video-r128/Config.in +4 -0
index 96bd8d7..3fbea5c 100644

Lines of this file are not shown. View the raw message.

package/x11r7/xdriver_xf86-video-rendition/Config.in +4 -0
index 9238aec..aa4d69e 100644

Lines of this file are not shown. View the raw message.

package/x11r7/xdriver_xf86-video-s3/Config.in +4 -0
index 1091028..e82ebfd 100644

Lines of this file are not shown. View the raw message.

package/x11r7/xdriver_xf86-video-s3virge/Config.in +4 -0
index 6f31864..ff51138 100644

Lines of this file are not shown. View the raw message.

package/x11r7/xdriver_xf86-video-savage/Config.in +4 -0
index a9c8f6c..03bfe8b 100644

Lines of this file are not shown. View the raw message.

package/x11r7/xdriver_xf86-video-siliconmotion/Config.in +4 -0
index db15116..5ad4c6b 100644

Lines of this file are not shown. View the raw message.

package/x11r7/xdriver_xf86-video-sis/Config.in +4 -0
index ac2b632..9d676be 100644

Lines of this file are not shown. View the raw message.

package/x11r7/xdriver_xf86-video-sisusb/Config.in +4 -0
index b00a8a7..56b8e52 100644

Lines of this file are not shown. View the raw message.

package/x11r7/xdriver_xf86-video-suncg14/Config.in +4 -0
index 661c179..e963973 100644

Lines of this file are not shown. View the raw message.

package/x11r7/xdriver_xf86-video-suncg3/Config.in +4 -0
index 539a95a..f689c01 100644

Lines of this file are not shown. View the raw message.

package/x11r7/xdriver_xf86-video-suncg6/Config.in +4 -0
index 9496f8d..c5dcbf4 100644

Lines of this file are not shown. View the raw message.

package/x11r7/xdriver_xf86-video-sunffb/Config.in +4 -0
index 76f5b9a..4e91610 100644

Lines of this file are not shown. View the raw message.

package/x11r7/xdriver_xf86-video-sunleo/Config.in +4 -0
index 29d24a2..712110b 100644

Lines of this file are not shown. View the raw message.

package/x11r7/xdriver_xf86-video-suntcx/Config.in +4 -0
index 3c82739..eab688f 100644

Lines of this file are not shown. View the raw message.

package/x11r7/xdriver_xf86-video-tdfx/Config.in +4 -0
index 57bb411..4c1a3f6 100644

Lines of this file are not shown. View the raw message.

package/x11r7/xdriver_xf86-video-tga/Config.in +4 -0
index 800a8f6..346ee47 100644

Lines of this file are not shown. View the raw message.

package/x11r7/xdriver_xf86-video-trident/Config.in +4 -0
index 4a7a477..e6ee3e4 100644

Lines of this file are not shown. View the raw message.

package/x11r7/xdriver_xf86-video-tseng/Config.in +4 -0
index f72b87b..6b9cf43 100644

Lines of this file are not shown. View the raw message.

package/x11r7/xdriver_xf86-video-v4l/Config.in +4 -0
index 3bb41fc..a6a154f 100644

Lines of this file are not shown. View the raw message.

package/x11r7/xdriver_xf86-video-vesa/Config.in +4 -0
index 865f52c..426fd43 100644

Lines of this file are not shown. View the raw message.

package/x11r7/xdriver_xf86-video-vmware/Config.in +4 -0
index 9093b38..ab5de69 100644

Lines of this file are not shown. View the raw message.

package/x11r7/xdriver_xf86-video-voodoo/Config.in +4 -0
index 9b770be..7b8d9a9 100644

Lines of this file are not shown. View the raw message.

package/x11r7/xdriver_xf86-video-wsfb/Config.in +5 -1
index 3b3d406..c8e8b99 100644

Lines of this file are not shown. View the raw message.

package/x11r7/xdriver_xf86-video-xgi/Config.in +4 -0
index d0fe665..b758324 100644

Lines of this file are not shown. View the raw message.

package/x11r7/xdriver_xf86-video-xgixp/Config.in +4 -0
index 8d466f4..52a80ec 100644

Lines of this file are not shown. View the raw message.

package/x11r7/xfont_encodings/Config.in +4 -0
index af40da1..e29bd2b 100644

Lines of this file are not shown. View the raw message.

package/x11r7/xfont_font-adobe-100dpi/Config.in +4 -0
index aaac639..8134869 100644

Lines of this file are not shown. View the raw message.

package/x11r7/xfont_font-adobe-75dpi/Config.in +4 -0
index f1c0a41..d48a5ee 100644

Lines of this file are not shown. View the raw message.

package/x11r7/xfont_font-adobe-utopia-100dpi/Config.in +4 -0
index 02f2aeb..7141b16 100644

Lines of this file are not shown. View the raw message.

package/x11r7/xfont_font-adobe-utopia-75dpi/Config.in +4 -0
index 4a6e29c..7002afc 100644

Lines of this file are not shown. View the raw message.

package/x11r7/xfont_font-adobe-utopia-type1/Config.in +4 -0
index d1efb70..36c41ff 100644

Lines of this file are not shown. View the raw message.

package/x11r7/xfont_font-alias/Config.in +4 -0
index b655160..63c2913 100644

Lines of this file are not shown. View the raw message.

package/x11r7/xfont_font-arabic-misc/Config.in +4 -0
index acbdf7c..5850c3f 100644

Lines of this file are not shown. View the raw message.

package/x11r7/xfont_font-bh-100dpi/Config.in +4 -0
index dc405a2..09d468b 100644

Lines of this file are not shown. View the raw message.

package/x11r7/xfont_font-bh-75dpi/Config.in +4 -0
index 6cd334e..33d5135 100644

Lines of this file are not shown. View the raw message.

package/x11r7/xfont_font-bh-lucidatypewriter-100dpi/Config.in +4 -0
index 0e082d5..5a3122c 100644

Lines of this file are not shown. View the raw message.

package/x11r7/xfont_font-bh-lucidatypewriter-75dpi/Config.in +4 -0
index 126fb85..07e9c86 100644

Lines of this file are not shown. View the raw message.

package/x11r7/xfont_font-bh-ttf/Config.in +4 -0
index 2590798..9f56478 100644

Lines of this file are not shown. View the raw message.

package/x11r7/xfont_font-bh-type1/Config.in +4 -0
index 047268c..9e598b7 100644

Lines of this file are not shown. View the raw message.

package/x11r7/xfont_font-bitstream-100dpi/Config.in +4 -0
index 81393c5..e5ed91e 100644

Lines of this file are not shown. View the raw message.

package/x11r7/xfont_font-bitstream-75dpi/Config.in +4 -0
index bada475..40c5b82 100644

Lines of this file are not shown. View the raw message.

package/x11r7/xfont_font-bitstream-speedo/Config.in +4 -0
index 70750f6..b2d94ee 100644

Lines of this file are not shown. View the raw message.

package/x11r7/xfont_font-bitstream-type1/Config.in +4 -0
index d482a6d..eac0566 100644

Lines of this file are not shown. View the raw message.

package/x11r7/xfont_font-cronyx-cyrillic/Config.in +4 -0
index a0085f5..80439f7 100644

Lines of this file are not shown. View the raw message.

package/x11r7/xfont_font-cursor-misc/Config.in +4 -0
index 03ed530..11d60dc 100644

Lines of this file are not shown. View the raw message.

package/x11r7/xfont_font-daewoo-misc/Config.in +4 -0
index 9e45341..62562ee 100644

Lines of this file are not shown. View the raw message.

package/x11r7/xfont_font-dec-misc/Config.in +4 -0
index 326ea9b..3cc39b5 100644

Lines of this file are not shown. View the raw message.

package/x11r7/xfont_font-ibm-type1/Config.in +4 -0
index 92783af..a42c105 100644

Lines of this file are not shown. View the raw message.

package/x11r7/xfont_font-isas-misc/Config.in +4 -0
index 2e77f66..d10d432 100644

Lines of this file are not shown. View the raw message.

package/x11r7/xfont_font-jis-misc/Config.in +4 -0
index 6a59cce..b13f018 100644

Lines of this file are not shown. View the raw message.

package/x11r7/xfont_font-micro-misc/Config.in +4 -0
index 1420cbd..c2a7e01 100644

Lines of this file are not shown. View the raw message.

package/x11r7/xfont_font-misc-cyrillic/Config.in +4 -0
index e793d70..b771179 100644

Lines of this file are not shown. View the raw message.

package/x11r7/xfont_font-misc-ethiopic/Config.in +4 -0
index aa3b834..5145243 100644

Lines of this file are not shown. View the raw message.

package/x11r7/xfont_font-misc-meltho/Config.in +4 -0
index dcc6c84..8a9c2a3 100644

Lines of this file are not shown. View the raw message.

package/x11r7/xfont_font-misc-misc/Config.in +4 -0
index b3e4fc1..066309a 100644

Lines of this file are not shown. View the raw message.

package/x11r7/xfont_font-mutt-misc/Config.in +4 -0
index e27ea74..cdec328 100644

Lines of this file are not shown. View the raw message.

package/x11r7/xfont_font-schumacher-misc/Config.in +4 -0
index d37babc..2826b80 100644

Lines of this file are not shown. View the raw message.

package/x11r7/xfont_font-screen-cyrillic/Config.in +4 -0
index a1f02d0..c4da2a8 100644

Lines of this file are not shown. View the raw message.

package/x11r7/xfont_font-sony-misc/Config.in +4 -0
index a4ce4ab..bdcbeeb 100644

Lines of this file are not shown. View the raw message.

package/x11r7/xfont_font-sun-misc/Config.in +4 -0
index 07603a1..37c4332 100644

Lines of this file are not shown. View the raw message.

package/x11r7/xfont_font-util/Config.in +4 -0
index 4edeffd..6578f77 100644

Lines of this file are not shown. View the raw message.

package/x11r7/xfont_font-winitzki-cyrillic/Config.in +4 -0
index c804441..a16c0ab 100644

Lines of this file are not shown. View the raw message.

package/x11r7/xfont_font-xfree86-type1/Config.in +4 -0
index b7d0587..48e50ea 100644

Lines of this file are not shown. View the raw message.

package/x11r7/xkeyboard-config/Config.in +4 -0
index 8e27dac..a4c49da 100644

Lines of this file are not shown. View the raw message.

package/x11r7/xlib_libFS/Config.in +4 -0
index 0c8a729..bfe8ec1 100644

Lines of this file are not shown. View the raw message.

package/x11r7/xlib_libICE/Config.in +4 -0
index d63f935..7286d81 100644

Lines of this file are not shown. View the raw message.

package/x11r7/xlib_libSM/Config.in +4 -0
index ef83b53..0646e58 100644

Lines of this file are not shown. View the raw message.

package/x11r7/xlib_libX11/Config.in +4 -0
index e1189ff..9915d36 100644

Lines of this file are not shown. View the raw message.

package/x11r7/xlib_libXScrnSaver/Config.in +4 -0
index 5df9a00..098c8dc 100644

Lines of this file are not shown. View the raw message.

package/x11r7/xlib_libXau/Config.in +4 -0
index a220f01..e6e2815 100644

Lines of this file are not shown. View the raw message.

package/x11r7/xlib_libXaw/Config.in +4 -0
index 1c10bc0..5bcbbd0 100644

Lines of this file are not shown. View the raw message.

package/x11r7/xlib_libXcomposite/Config.in +4 -0
index 14da977..17d2dae 100644

Lines of this file are not shown. View the raw message.

package/x11r7/xlib_libXcursor/Config.in +4 -0
index 6519cc7..46ac040 100644

Lines of this file are not shown. View the raw message.

package/x11r7/xlib_libXdamage/Config.in +4 -0
index 2427486..6e4facc 100644

Lines of this file are not shown. View the raw message.

package/x11r7/xlib_libXdmcp/Config.in +4 -0
index 218ff15..7e4266c 100644

Lines of this file are not shown. View the raw message.

package/x11r7/xlib_libXext/Config.in +4 -0
index 823a165..8d7b2c3 100644

Lines of this file are not shown. View the raw message.

package/x11r7/xlib_libXfixes/Config.in +4 -0
index 9bbabb2..fdc134f 100644

Lines of this file are not shown. View the raw message.

package/x11r7/xlib_libXfont/Config.in +4 -0
index 407a099..ec4d48e 100644

Lines of this file are not shown. View the raw message.

package/x11r7/xlib_libXfontcache/Config.in +4 -0
index 3a20451..e40c9cd 100644

Lines of this file are not shown. View the raw message.

package/x11r7/xlib_libXft/Config.in +4 -0
index 6eef170..6e1dab0 100644

Lines of this file are not shown. View the raw message.

package/x11r7/xlib_libXi/Config.in +4 -0
index ca5ab59..cdb2622 100644

Lines of this file are not shown. View the raw message.

package/x11r7/xlib_libXinerama/Config.in +4 -0
index 5a79b4e..5c07517 100644

Lines of this file are not shown. View the raw message.

package/x11r7/xlib_libXmu/Config.in +4 -0
index ed239dc..4bc3333 100644

Lines of this file are not shown. View the raw message.

package/x11r7/xlib_libXp/Config.in +4 -0
index 532d8ac..eb0298c 100644

Lines of this file are not shown. View the raw message.

package/x11r7/xlib_libXpm/Config.in +4 -0
index 528498c..f83b881 100644

Lines of this file are not shown. View the raw message.

package/x11r7/xlib_libXprintAppUtil/Config.in +4 -0
index 351675a..3ebf84f 100644

Lines of this file are not shown. View the raw message.

package/x11r7/xlib_libXprintUtil/Config.in +4 -0
index 1f397f4..c437dca 100644

Lines of this file are not shown. View the raw message.

package/x11r7/xlib_libXrandr/Config.in +4 -0
index 3b3ebd5..2243a7a 100644

Lines of this file are not shown. View the raw message.

package/x11r7/xlib_libXrender/Config.in +4 -0
index c723e4d..b5f8d76 100644

Lines of this file are not shown. View the raw message.

package/x11r7/xlib_libXres/Config.in +4 -0
index 39abbbf..a511ff6 100644

Lines of this file are not shown. View the raw message.

package/x11r7/xlib_libXt/Config.in +4 -0
index 6557e20..8c7c74a 100644

Lines of this file are not shown. View the raw message.

package/x11r7/xlib_libXtst/Config.in +4 -0
index 8853bde..0e5067c 100644

Lines of this file are not shown. View the raw message.

package/x11r7/xlib_libXv/Config.in +4 -0
index 90f07f3..d9da0ef 100644

Lines of this file are not shown. View the raw message.

package/x11r7/xlib_libXvMC/Config.in +4 -0
index 90c0e74..50784ed 100644

Lines of this file are not shown. View the raw message.

package/x11r7/xlib_libXxf86dga/Config.in +4 -0
index 5e21502..4bcdd74 100644

Lines of this file are not shown. View the raw message.

package/x11r7/xlib_libXxf86vm/Config.in +4 -0
index 9e32188..41a36bd 100644

Lines of this file are not shown. View the raw message.

package/x11r7/xlib_libdmx/Config.in +4 -0
index 879f689..d1d3b8b 100644

Lines of this file are not shown. View the raw message.

package/x11r7/xlib_libfontenc/Config.in +4 -0
index d2a3023..ccf26b8 100644

Lines of this file are not shown. View the raw message.

package/x11r7/xlib_liboldX/Config.in +4 -0
index e312921..5ad792e 100644

Lines of this file are not shown. View the raw message.

package/x11r7/xlib_libpciaccess/Config.in +5 -1
index b53aa31..62f062f 100644

Lines of this file are not shown. View the raw message.

package/x11r7/xlib_libxkbfile/Config.in +4 -0
index ccd35fa..cb61e21 100644

Lines of this file are not shown. View the raw message.

package/x11r7/xlib_libxkbui/Config.in +4 -0
index ceab305..d852ee2 100644

Lines of this file are not shown. View the raw message.

package/x11r7/xlib_xtrans/Config.in +4 -0
index 7c8bae7..c73780b 100644

Lines of this file are not shown. View the raw message.

package/x11r7/xproto_applewmproto/Config.in +4 -0
index 51a5fd5..c328fae 100644

Lines of this file are not shown. View the raw message.

package/x11r7/xproto_bigreqsproto/Config.in +4 -0
index c431ef2..3f73cae 100644

Lines of this file are not shown. View the raw message.

package/x11r7/xproto_compositeproto/Config.in +4 -0
index 136900a..fe6173c 100644

Lines of this file are not shown. View the raw message.

package/x11r7/xproto_damageproto/Config.in +4 -0
index 068ed2b..317ac10 100644

Lines of this file are not shown. View the raw message.

package/x11r7/xproto_dmxproto/Config.in +4 -0
index dc048b1..174bae3 100644

Lines of this file are not shown. View the raw message.

package/x11r7/xproto_dri2proto/Config.in +4 -0
index 3fe5aa1..6bac3d1 100644

Lines of this file are not shown. View the raw message.

package/x11r7/xproto_fixesproto/Config.in +4 -0
index d419fa1..c5fee23 100644

Lines of this file are not shown. View the raw message.

package/x11r7/xproto_fontcacheproto/Config.in +4 -0
index daa6c7f..d1fef1c 100644

Lines of this file are not shown. View the raw message.

package/x11r7/xproto_fontsproto/Config.in +4 -0
index b00220c..dfdebd9 100644

Lines of this file are not shown. View the raw message.

package/x11r7/xproto_glproto/Config.in +4 -0
index 28ceb9c..4a7941d 100644

Lines of this file are not shown. View the raw message.

package/x11r7/xproto_inputproto/Config.in +4 -0
index fcccb26..fc32030 100644

Lines of this file are not shown. View the raw message.

package/x11r7/xproto_kbproto/Config.in +4 -0
index ce568d7..41ff4e7 100644

Lines of this file are not shown. View the raw message.

package/x11r7/xproto_printproto/Config.in +4 -0
index 69e214f..3067089 100644

Lines of this file are not shown. View the raw message.

package/x11r7/xproto_randrproto/Config.in +4 -0
index 097ec8f..b6938ff 100644

Lines of this file are not shown. View the raw message.

package/x11r7/xproto_recordproto/Config.in +4 -0
index 9fd5b88..3265c79 100644

Lines of this file are not shown. View the raw message.

package/x11r7/xproto_renderproto/Config.in +4 -0
index 5b5806f..00d7dde 100644

Lines of this file are not shown. View the raw message.

package/x11r7/xproto_resourceproto/Config.in +4 -0
index 4aec708..9f73608 100644

Lines of this file are not shown. View the raw message.

package/x11r7/xproto_scrnsaverproto/Config.in +4 -0
index 83176a0..45830e2 100644

Lines of this file are not shown. View the raw message.

package/x11r7/xproto_videoproto/Config.in +4 -0
index 271c78f..d80ecb5 100644

Lines of this file are not shown. View the raw message.

package/x11r7/xproto_windowswmproto/Config.in +4 -0
index d1a36ac..a5b1391 100644

Lines of this file are not shown. View the raw message.

package/x11r7/xproto_xcmiscproto/Config.in +4 -0
index f7ba153..54c54d5 100644

Lines of this file are not shown. View the raw message.

package/x11r7/xproto_xextproto/Config.in +4 -0
index d80d76c..816fbd4 100644

Lines of this file are not shown. View the raw message.

package/x11r7/xproto_xf86bigfontproto/Config.in +4 -0
index 7af30d0..9719b08 100644

Lines of this file are not shown. View the raw message.

package/x11r7/xproto_xf86dgaproto/Config.in +4 -0
index 7561b8a..751d872 100644

Lines of this file are not shown. View the raw message.

package/x11r7/xproto_xf86driproto/Config.in +4 -0
index 8aeac87..48a92f7 100644

Lines of this file are not shown. View the raw message.

package/x11r7/xproto_xf86rushproto/Config.in +4 -0
index 961c31f..bf2017b 100644

Lines of this file are not shown. View the raw message.

package/x11r7/xproto_xf86vidmodeproto/Config.in +4 -0
index 395c175..0f97b9f 100644

Lines of this file are not shown. View the raw message.

package/x11r7/xproto_xineramaproto/Config.in +4 -0
index 12c8e05..0f570c2 100644

Lines of this file are not shown. View the raw message.

package/x11r7/xproto_xproto/Config.in +4 -0
index a5f88ef..7669d35 100644

Lines of this file are not shown. View the raw message.

package/x11r7/xserver_xorg-server/Config.in +5 -1
index ddc03c6..8de8fd1 100644

Lines of this file are not shown. View the raw message.

package/x11r7/xutil_makedepend/Config.in +4 -0
index 0b091b0..b141316 100644

Lines of this file are not shown. View the raw message.

package/x11r7/xutil_util-macros/Config.in +4 -0
index 10b1a59..787c52f 100644

Lines of this file are not shown. View the raw message.

package/x11vnc/Config.in +5 -1
index fdb3bad..61f2327 100644

Lines of this file are not shown. View the raw message.

package/xavante/Config.in +4 -0
index db34d66..c534520 100644

Lines of this file are not shown. View the raw message.

package/xenomai/Config.in +6 -2
index ecab23e..bef3f41 100644

Lines of this file are not shown. View the raw message.

package/xerces/Config.in +5 -1
index 374729a..78cabd1 100644

Lines of this file are not shown. View the raw message.

package/xfsprogs/Config.in +6 -2
index fda068f..2c03807 100644

Lines of this file are not shown. View the raw message.

package/xinetd/Config.in +4 -0
index 76fe603..e53504e 100644

Lines of this file are not shown. View the raw message.

package/xl2tp/Config.in +4 -0
index 8f9d9b1..18f47f1 100644

Lines of this file are not shown. View the raw message.

package/xmlstarlet/Config.in +4 -0
index 99762b8..0fcfe72 100644

Lines of this file are not shown. View the raw message.

package/xstroke/Config.in +5 -1
index 5589fe6..4325263 100644

Lines of this file are not shown. View the raw message.

package/xterm/Config.in +5 -1
index 33adf25..7950145 100644

Lines of this file are not shown. View the raw message.

package/xvkbd/Config.in +5 -1
index a75687d..155b32a 100644

Lines of this file are not shown. View the raw message.

package/xz/Config.in +4 -0
index 50116f2..f196f33 100644

Lines of this file are not shown. View the raw message.

package/yajl/Config.in +4 -0
index be2c133..cfbf721 100644

Lines of this file are not shown. View the raw message.

package/yasm/Config.in +5 -1
index 2dc25aa..66d75c7 100644

Lines of this file are not shown. View the raw message.

package/zeromq/Config.in +6 -2
index e1d3d52..dd1adb6 100644

Lines of this file are not shown. View the raw message.

package/zlib/Config.in +4 -0
index 8954214..f17495e 100644

Lines of this file are not shown. View the raw message.

package/zxing/Config.in +5 -1
index c1d342c..fd91424 100644

Lines of this file are not shown. View the raw message.

The rest of this diff is not shown. View the raw message.

Signature · 1 line
1.7.2.5

Part of the diff is not shown here. View the raw message.

#19 lore raw

PATCH 5/7 packages: use the newly-introduced _AVAILABLE symbol

In reply to Yann E. MORIN

This patch transforms all 'depends on' on a package to a 'depends on' the corresponding _AVAILABLE symbol, and adds a 'select' against the dependant package.

---
 package/alsamixergui/Config.in                |    6 ++++--
 package/blackbox/Config.in                    |    3 ++-
 package/dbus-glib/Config.in                   |    3 ++-
 package/dbus-python/Config.in                 |    6 ++++--
 package/directfb-examples/Config.in           |    3 ++-
 package/divine/Config.in                      |    3 ++-
 package/docker/Config.in                      |    3 ++-
 package/feh/Config.in                         |    3 ++-
 package/fltk/Config.in                        |    3 ++-
 package/fluxbox/Config.in                     |    3 ++-
 package/freerdp/Config.in                     |    3 ++-
 package/games/doom-wad/Config.in              |    3 ++-
 package/games/rubix/Config.in                 |    3 ++-
 package/giblib/Config.in                      |    3 ++-
 package/gmpc/Config.in                        |    6 ++++--
 package/gqview/Config.in                      |    3 ++-
 package/gtk2-engines/Config.in                |    3 ++-
 package/gtkperf/Config.in                     |    3 ++-
 package/leafpad/Config.in                     |    3 ++-
 package/libdrm/Config.in                      |    3 ++-
 package/libgail/Config.in                     |    3 ++-
 package/libglade/Config.in                    |    3 ++-
 package/librsvg/Config.in                     |    3 ++-
 package/libsexy/Config.in                     |    3 ++-
 package/libusb-compat/Config.in               |    3 ++-
 package/lite/Config.in                        |    3 ++-
 package/lttng-babeltrace/Config.in            |    3 ++-
 package/lttng-tools/Config.in                 |    3 ++-
 package/matchbox/Config.in                    |    3 ++-
 package/metacity/Config.in                    |    6 ++++--
 package/midori/Config.in                      |    3 ++-
 package/multimedia/gst-ffmpeg/Config.in       |    3 ++-
 package/multimedia/gst-plugins-bad/Config.in  |    3 ++-
 package/multimedia/gst-plugins-base/Config.in |    3 ++-
 package/multimedia/gst-plugins-good/Config.in |    3 ++-
 package/multimedia/gst-plugins-ugly/Config.in |    3 ++-
 package/nss-mdns/Config.in                    |    3 ++-
 package/pcmanfm/Config.in                     |    6 ++++--
 package/python-dpkt/Config.in                 |    3 ++-
 package/python-id3/Config.in                  |    3 ++-
 package/python-mad/Config.in                  |    3 ++-
 package/python-meld3/Config.in                |    3 ++-
 package/python-netifaces/Config.in            |    3 ++-
 package/python-nfc/Config.in                  |    3 ++-
 package/python-pygame/Config.in               |    3 ++-
 package/python-serial/Config.in               |    3 ++-
 package/python-setuptools/Config.in           |    3 ++-
 package/rdesktop/Config.in                    |    3 ++-
 package/rp-pppoe/Config.in                    |    3 ++-
 package/sawman/Config.in                      |    3 ++-
 package/sdl_gfx/Config.in                     |    3 ++-
 package/sdl_image/Config.in                   |    3 ++-
 package/sdl_mixer/Config.in                   |    3 ++-
 package/sdl_net/Config.in                     |    3 ++-
 package/sdl_sound/Config.in                   |    3 ++-
 package/sdl_ttf/Config.in                     |    3 ++-
 package/startup-notification/Config.in        |    3 ++-
 package/supervisor/Config.in                  |    3 ++-
 package/sylpheed/Config.in                    |    3 ++-
 package/synergy/Config.in                     |    3 ++-
 package/torsmo/Config.in                      |    3 ++-
 package/usbmount/Config.in                    |    3 ++-
 package/webkit/Config.in                      |    3 ++-
 package/x11r7/mesa3d/Config.in                |    3 ++-
 package/x11r7/xapp_xdriinfo/Config.in         |    3 ++-
 package/x11vnc/Config.in                      |    3 ++-
 package/xstroke/Config.in                     |    3 ++-
 package/xterm/Config.in                       |    3 ++-
 package/xvkbd/Config.in                       |    3 ++-
 69 files changed, 148 insertions(+), 74 deletions(-)
package/alsamixergui/Config.in +4 -2
index ea24538..6095653 100644
@@ -1,10 +1,12 @@
 config BR2_PACKAGE_ALSAMIXERGUI_AVAILABLE
 	def_bool y
-	depends on BR2_PACKAGE_XORG7
-	depends on BR2_PACKAGE_ALSA_LIB
+	depends on BR2_PACKAGE_XORG7_AVAILABLE
+	depends on BR2_PACKAGE_ALSA_LIB_AVAILABLE
 	depends on BR2_INSTALL_LIBSTDCPP
 
 config BR2_PACKAGE_ALSAMIXERGUI
+	select BR2_PACKAGE_XORG7
+	select BR2_PACKAGE_ALSA_LIB
 	select BR2_PACKAGE_FLTK
 	select BR2_PACKAGE_ALSA_LIB_PCM
 	select BR2_PACKAGE_ALSA_LIB_MIXER
package/blackbox/Config.in +2 -1
index e9b9cb1..1e14aa4 100644
@@ -1,10 +1,11 @@
 config BR2_PACKAGE_BLACKBOX_AVAILABLE
 	def_bool y
-	depends on BR2_PACKAGE_XORG7
+	depends on BR2_PACKAGE_XORG7_AVAILABLE
 	depends on BR2_INSTALL_LIBSTDCPP
 
 config BR2_PACKAGE_BLACKBOX
 	bool "blackbox"
+	select BR2_PACKAGE_XORG7
 	select BR2_PACKAGE_LIBICONV if !BR2_ENABLE_LOCALE
 	select BR2_PACKAGE_XLIB_LIBX11
 	depends on BR2_PACKAGE_BLACKBOX_AVAILABLE
package/dbus-glib/Config.in +2 -1
index f73dafa..a77015e 100644
@@ -1,10 +1,11 @@
 config BR2_PACKAGE_DBUS_GLIB_AVAILABLE
 	def_bool y
-	depends on BR2_PACKAGE_DBUS
+	depends on BR2_PACKAGE_DBUS_AVAILABLE
 	depends on BR2_USE_WCHAR # glib2
 
 config BR2_PACKAGE_DBUS_GLIB
 	bool "dbus-glib"
+	select BR2_PACKAGE_DBUS
 	select BR2_PACKAGE_LIBGLIB2
 	depends on BR2_PACKAGE_DBUS_GLIB_AVAILABLE
 	help
package/dbus-python/Config.in +4 -2
index 1d466ae..f540f63 100644
@@ -1,11 +1,13 @@
 config BR2_PACKAGE_DBUS_PYTHON_AVAILABLE
 	def_bool y
 	depends on BR2_USE_WCHAR # glib2
-	depends on BR2_PACKAGE_DBUS
-	depends on BR2_PACKAGE_PYTHON
+	depends on BR2_PACKAGE_DBUS_AVAILABLE
+	depends on BR2_PACKAGE_PYTHON_AVAILABLE
 
 config BR2_PACKAGE_DBUS_PYTHON
 	bool "dbus-python"
+	select BR2_PACKAGE_DBUS
+	select BR2_PACKAGE_PYTHON
 	select BR2_PACKAGE_DBUS_GLIB
 	depends on BR2_PACKAGE_DBUS_PYTHON_AVAILABLE
 	help
package/directfb-examples/Config.in +2 -1
index 41fb1ee..ecbf5fd 100644
@@ -1,10 +1,11 @@
 config BR2_PACKAGE_DIRECTFB_EXAMPLES_AVAILABLE
 	def_bool y
-       depends on BR2_PACKAGE_DIRECTFB
+	depends on BR2_PACKAGE_DIRECTFB_AVAILABLE
 
 config BR2_PACKAGE_DIRECTFB_EXAMPLES
        bool "directfb examples"
 	depends on BR2_PACKAGE_DIRECTFB_EXAMPLES_AVAILABLE
+	select BR2_PACKAGE_DIRECTFB
 
 config BR2_PACKAGE_DIRECTFB_EXAMPLES_ANDI
        bool "usr/bin/df_andi"
package/divine/Config.in +2 -1
index 37f157c..0921713 100644
@@ -1,10 +1,11 @@
 config BR2_PACKAGE_DIVINE_AVAILABLE
 	def_bool y
-       depends on BR2_PACKAGE_DIRECTFB
+	depends on BR2_PACKAGE_DIRECTFB_AVAILABLE
 
 config BR2_PACKAGE_DIVINE
        bool "directfb virtual input extension"
 	depends on BR2_PACKAGE_DIVINE_AVAILABLE
+	select BR2_PACKAGE_DIRECTFB
        help
          DiVine provides a DirectFB input driver that reads input
          events from a pipe and dispatches them via a virtual input
package/docker/Config.in +2 -1
index 515be82..40846df 100644
@@ -1,10 +1,11 @@
 config BR2_PACKAGE_DOCKER_AVAILABLE
 	def_bool y
-	depends on BR2_PACKAGE_XORG7
+	depends on BR2_PACKAGE_XORG7_AVAILABLE
 	depends on BR2_USE_WCHAR # glib2
 
 config BR2_PACKAGE_DOCKER
 	bool "docker"
+	select BR2_PACKAGE_XORG7
 	select BR2_PACKAGE_LIBGLIB2
 	depends on BR2_PACKAGE_DOCKER_AVAILABLE
 	help
package/feh/Config.in +2 -1
index 3760b6f..a54b6e9 100644
@@ -1,9 +1,10 @@
 config BR2_PACKAGE_FEH_AVAILABLE
 	def_bool y
-	depends on BR2_PACKAGE_XORG7
+	depends on BR2_PACKAGE_XORG7_AVAILABLE
 
 config BR2_PACKAGE_FEH
 	bool "feh"
+	select BR2_PACKAGE_XORG7
 	select BR2_PACKAGE_XLIB_LIBXINERAMA
 	select BR2_PACKAGE_XLIB_LIBXT
 	select BR2_PACKAGE_IMLIB2_PNG
package/fltk/Config.in +2 -1
index ca978c2..3738446 100644
@@ -1,10 +1,11 @@
 config BR2_PACKAGE_FLTK_AVAILABLE
 	def_bool y
 	depends on BR2_INSTALL_LIBSTDCPP
-	depends on BR2_PACKAGE_XORG7
+	depends on BR2_PACKAGE_XORG7_AVAILABLE
 
 config BR2_PACKAGE_FLTK
 	bool "fltk"
+	select BR2_PACKAGE_XORG7
 	select BR2_PACKAGE_XLIB_LIBXT
 	depends on BR2_PACKAGE_FLTK_AVAILABLE
 	help
package/fluxbox/Config.in +2 -1
index ec8a4f7..c95d3d4 100644
@@ -1,10 +1,11 @@
 config BR2_PACKAGE_FLUXBOX_AVAILABLE
 	def_bool y
-	depends on BR2_PACKAGE_XORG7
+	depends on BR2_PACKAGE_XORG7_AVAILABLE
 	depends on BR2_INSTALL_LIBSTDCPP
 
 config BR2_PACKAGE_FLUXBOX
 	bool "fluxbox"
+	select BR2_PACKAGE_XORG7
 	select BR2_PACKAGE_XLIB_LIBX11
 	depends on BR2_PACKAGE_FLUXBOX_AVAILABLE
 	help
package/freerdp/Config.in +2 -1
index 21a12bd..112c5b0 100644
@@ -1,9 +1,10 @@
 config BR2_PACKAGE_FREERDP_AVAILABLE
 	def_bool y
-	depends on BR2_PACKAGE_XORG7
+	depends on BR2_PACKAGE_XORG7_AVAILABLE
 
 config BR2_PACKAGE_FREERDP
 	bool "freerdp"
+	select BR2_PACKAGE_XORG7
 	select BR2_PACKAGE_OPENSSL
 	select BR2_PACKAGE_XLIB_LIBX11
 	select BR2_PACKAGE_XLIB_LIBXT
package/games/doom-wad/Config.in +2 -1
index 5533c18..765c788 100644
@@ -1,10 +1,11 @@
 config BR2_PACKAGE_DOOM_WAD_AVAILABLE
 	def_bool y
-	depends on BR2_PACKAGE_PRBOOM
+	depends on BR2_PACKAGE_PRBOOM_AVAILABLE
 
 config BR2_PACKAGE_DOOM_WAD
 	bool "shareware Doom WAD file"
 	depends on BR2_PACKAGE_DOOM_WAD_AVAILABLE
+	select BR2_PACKAGE_PRBOOM
 	help
 	  This will install the shareware wad data file for the doom game.
 
package/games/rubix/Config.in +2 -1
index 249a33c..26b38fe 100644
@@ -1,10 +1,11 @@
 config BR2_PACKAGE_RUBIX_AVAILABLE
 	def_bool y
-	depends on BR2_PACKAGE_XORG7
+	depends on BR2_PACKAGE_XORG7_AVAILABLE
 
 config BR2_PACKAGE_RUBIX
 	bool "rubix"
 	depends on BR2_PACKAGE_RUBIX_AVAILABLE
+	select BR2_PACKAGE_XORG7
 	help
 	  A 3D rubiks cube game for X
 
package/giblib/Config.in +2 -1
index 2bc3aa6..cbbd777 100644
@@ -1,9 +1,10 @@
 config BR2_PACKAGE_GIBLIB_AVAILABLE
 	def_bool y
-	depends on BR2_PACKAGE_XORG7
+	depends on BR2_PACKAGE_XORG7_AVAILABLE
 
 config BR2_PACKAGE_GIBLIB
 	bool "giblib"
+	select BR2_PACKAGE_XORG7
 	select BR2_PACKAGE_IMLIB2
 	select BR2_PACKAGE_IMLIB2_X
 	depends on BR2_PACKAGE_GIBLIB_AVAILABLE
package/gmpc/Config.in +4 -2
index 13a1dc2..6449ff9 100644
@@ -1,11 +1,13 @@
 config BR2_PACKAGE_GMPC_AVAILABLE
 	def_bool y
-	depends on BR2_PACKAGE_LIBGTK2
+	depends on BR2_PACKAGE_LIBGTK2_AVAILABLE
 	depends on BR2_USE_WCHAR # glib2
-	depends on BR2_PACKAGE_XORG7
+	depends on BR2_PACKAGE_XORG7_AVAILABLE
 
 config BR2_PACKAGE_GMPC
 	bool "gmpc"
+	select BR2_PACKAGE_LIBGTK2
+	select BR2_PACKAGE_XORG7
 	select BR2_PACKAGE_LIBGLIB2
 	select BR2_PACKAGE_GETTEXT if BR2_NEEDS_GETTEXT_IF_LOCALE
 	select BR2_PACKAGE_LIBINTL if BR2_NEEDS_GETTEXT_IF_LOCALE
package/gqview/Config.in +2 -1
index 88d6177..09b30e3 100644
@@ -1,10 +1,11 @@
 config BR2_PACKAGE_GQVIEW_AVAILABLE
 	def_bool y
-	depends on BR2_PACKAGE_LIBGTK2
+	depends on BR2_PACKAGE_LIBGTK2_AVAILABLE
 
 config BR2_PACKAGE_GQVIEW
 	bool "gqview"
 	depends on BR2_PACKAGE_GQVIEW_AVAILABLE
+	select BR2_PACKAGE_LIBGTK2
 	help
 	  GQview is an image viewer for Unix operating systems
 
package/gtk2-engines/Config.in +2 -1
index 5c6b503..ca0b304 100644
@@ -1,9 +1,10 @@
 config BR2_PACKAGE_GTK2_ENGINES_AVAILABLE
 	def_bool y
-	depends on BR2_PACKAGE_LIBGTK2
+	depends on BR2_PACKAGE_LIBGTK2_AVAILABLE
 
 config BR2_PACKAGE_GTK2_ENGINES
 	bool "gtk engines"
 	depends on BR2_PACKAGE_GTK2_ENGINES_AVAILABLE
+	select BR2_PACKAGE_LIBGTK2
 	help
 	  A collection of basic theme engines for GTK+.
package/gtkperf/Config.in +2 -1
index f297f0f..29b4c3a 100644
@@ -1,10 +1,11 @@
 config BR2_PACKAGE_GTKPERF_AVAILABLE
 	def_bool y
-	depends on BR2_PACKAGE_LIBGTK2
+	depends on BR2_PACKAGE_LIBGTK2_AVAILABLE
 
 config BR2_PACKAGE_GTKPERF
 	bool "gtkperf (performance test for GTK2)"
 	depends on BR2_PACKAGE_GTKPERF_AVAILABLE
+	select BR2_PACKAGE_LIBGTK2
 	help
 	  GtkPerf is an application designed to test GTK+ performance.
 	  The point is to create common testing platform to run
package/leafpad/Config.in +2 -1
index 7c9ce45..01c6c16 100644
@@ -1,10 +1,11 @@
 config BR2_PACKAGE_LEAFPAD_AVAILABLE
 	def_bool y
-	depends on BR2_PACKAGE_LIBGTK2
+	depends on BR2_PACKAGE_LIBGTK2_AVAILABLE
 
 config BR2_PACKAGE_LEAFPAD
 	bool "leafpad"
 	depends on BR2_PACKAGE_LEAFPAD_AVAILABLE
+	select BR2_PACKAGE_LIBGTK2
 	help
 	  GTK+ based simple text editor
 
package/libdrm/Config.in +2 -1
index 636e72f..da7d729 100644
@@ -1,10 +1,11 @@
 config BR2_PACKAGE_LIBDRM_AVAILABLE
 	def_bool y
-	depends on BR2_PACKAGE_XORG7
+	depends on BR2_PACKAGE_XORG7_AVAILABLE
 	depends on BR2_LARGEFILE
 
 config BR2_PACKAGE_LIBDRM
 	bool "libdrm"
+	select BR2_PACKAGE_XORG7
 	select BR2_PACKAGE_XPROTO_GLPROTO
 	select BR2_PACKAGE_XPROTO_XF86VIDMODEPROTO
 	select BR2_PACKAGE_XLIB_LIBXXF86VM
package/libgail/Config.in +2 -1
index f96726e..ad0664d 100644
@@ -1,9 +1,10 @@
 config BR2_PACKAGE_LIBGAIL_AVAILABLE
 	def_bool y
-	depends on BR2_PACKAGE_LIBGTK2
+	depends on BR2_PACKAGE_LIBGTK2_AVAILABLE
 
 config BR2_PACKAGE_LIBGAIL
 	bool "libgail"
+	select BR2_PACKAGE_LIBGTK2
 	select BR2_PACKAGE_PANGO
 	depends on BR2_PACKAGE_LIBGAIL_AVAILABLE
 	help
package/libglade/Config.in +2 -1
index f129bdd..80b242a 100644
@@ -1,10 +1,11 @@
 config BR2_PACKAGE_LIBGLADE_AVAILABLE
 	def_bool y
-	depends on BR2_PACKAGE_LIBGTK2
+	depends on BR2_PACKAGE_LIBGTK2_AVAILABLE
 	depends on BR2_USE_WCHAR # glib2
 
 config BR2_PACKAGE_LIBGLADE
 	bool "libglade"
+	select BR2_PACKAGE_LIBGTK2
 	select BR2_PACKAGE_LIBGLIB2
 	select BR2_PACKAGE_ATK
 	select BR2_PACKAGE_LIBXML2
package/librsvg/Config.in +2 -1
index 5d99f4e..331b474 100644
@@ -1,10 +1,11 @@
 config BR2_PACKAGE_LIBRSVG_AVAILABLE
 	def_bool y
-	depends on BR2_PACKAGE_LIBGTK2
+	depends on BR2_PACKAGE_LIBGTK2_AVAILABLE
 	depends on BR2_USE_WCHAR # glib2
 
 config BR2_PACKAGE_LIBRSVG
 	bool "librsvg"
+	select BR2_PACKAGE_LIBGTK2
 	select BR2_PACKAGE_LIBXML2
 	select BR2_PACKAGE_CAIRO
 	select BR2_PACKAGE_CAIRO_PNG
package/libsexy/Config.in +2 -1
index 3607401..a4d202e 100644
@@ -1,9 +1,10 @@
 config BR2_PACKAGE_LIBSEXY_AVAILABLE
 	def_bool y
-	depends on BR2_PACKAGE_LIBGTK2
+	depends on BR2_PACKAGE_LIBGTK2_AVAILABLE
 
 config BR2_PACKAGE_LIBSEXY
 	bool "libsexy"
+	select BR2_PACKAGE_LIBGTK2
 	select BR2_PACKAGE_LIBXML2
 	depends on BR2_PACKAGE_LIBSEXY_AVAILABLE
 	help
package/libusb-compat/Config.in +2 -1
index 70d8878..8c6de82 100644
@@ -1,10 +1,11 @@
 config BR2_PACKAGE_LIBUSB_COMPAT_AVAILABLE
 	def_bool y
-	depends on BR2_PACKAGE_LIBUSB
+	depends on BR2_PACKAGE_LIBUSB_AVAILABLE
 
 config BR2_PACKAGE_LIBUSB_COMPAT
 	bool "libusb-compat"
 	depends on BR2_PACKAGE_LIBUSB_COMPAT_AVAILABLE
+	select BR2_PACKAGE_LIBUSB
 	help
 	  libusb-0.1 compatibility layer for libusb-1.0.
 
package/lite/Config.in +2 -1
index 679ca93..65e4eb9 100644
@@ -1,10 +1,11 @@
 config BR2_PACKAGE_LITE_AVAILABLE
 	def_bool y
-	depends on BR2_PACKAGE_DIRECTFB
+	depends on BR2_PACKAGE_DIRECTFB_AVAILABLE
 
 config BR2_PACKAGE_LITE
 	bool "LiTE (toolbox engine)"
 	depends on BR2_PACKAGE_LITE_AVAILABLE
+	select BR2_PACKAGE_DIRECTFB
 	help
 	   LiTE stands for LiTE is a Toolbox Engine. 
 	   Its role is to facilitate the functions of DirectFB so that a
package/lttng-babeltrace/Config.in +2 -1
index a2a5dcd..23ef11f 100644
@@ -1,11 +1,12 @@
 config BR2_PACKAGE_LTTNG_BABELTRACE_AVAILABLE
 	def_bool y
-	depends on BR2_PACKAGE_LTTNG_TOOLS
+	depends on BR2_PACKAGE_LTTNG_TOOLS_AVAILABLE
 	depends on BR2_USE_WCHAR
 	depends on BR2_LARGEFILE
 
 config BR2_PACKAGE_LTTNG_BABELTRACE
 	bool "lttng-babeltrace"
+	select BR2_PACKAGE_LTTNG_TOOLS
 	select BR2_PACKAGE_UTIL_LINUX
 	select BR2_PACKAGE_UTIL_LINUX_LIBUUID
 	select BR2_PACKAGE_LIBGLIB2
package/lttng-tools/Config.in +2 -1
index 03d38b7..3bd95fc 100644
@@ -1,10 +1,11 @@
 config BR2_PACKAGE_LTTNG_TOOLS_AVAILABLE
 	def_bool y
-	depends on BR2_PACKAGE_LTTNG_MODULES
+	depends on BR2_PACKAGE_LTTNG_MODULES_AVAILABLE
 	depends on BR2_arm || BR2_armeb || BR2_i386 || BR2_powerpc || BR2_x86_64
 
 config BR2_PACKAGE_LTTNG_TOOLS
 	bool "lttng-tools"
+	select BR2_PACKAGE_LTTNG_MODULES
 	select BR2_PACKAGE_LIBURCU
 	select BR2_PACKAGE_POPT
 	# liburcu only works on some architectures
package/matchbox/Config.in +2 -1
index 006211e..d393e52 100644
@@ -1,9 +1,10 @@
 config BR2_PACKAGE_MATCHBOX_AVAILABLE
 	def_bool y
-	depends on BR2_PACKAGE_XORG7
+	depends on BR2_PACKAGE_XORG7_AVAILABLE
 
 config BR2_PACKAGE_MATCHBOX
 	bool "MatchBox Window Manager"
+	select BR2_PACKAGE_XORG7
 	select BR2_PACKAGE_FONTCONFIG
 	select BR2_PACKAGE_EXPAT
 	select BR2_PACKAGE_XLIB_LIBXEXT
package/metacity/Config.in +4 -2
index 75ed570..dc5ba9e 100644
@@ -1,10 +1,12 @@
 config BR2_PACKAGE_METACITY_AVAILABLE
 	def_bool y
-	depends on BR2_PACKAGE_LIBGTK2
-	depends on BR2_PACKAGE_XORG7
+	depends on BR2_PACKAGE_LIBGTK2_AVAILABLE
+	depends on BR2_PACKAGE_XORG7_AVAILABLE
 
 config BR2_PACKAGE_METACITY
 	bool "metacity"
 	depends on BR2_PACKAGE_METACITY_AVAILABLE
+	select BR2_PACKAGE_LIBGTK2
+	select BR2_PACKAGE_XORG7
 	help
 	  Metacity is a window manager for the X Window System.
package/midori/Config.in +2 -1
index c2d1b59..f350314 100644
@@ -1,11 +1,12 @@
 config BR2_PACKAGE_MIDORI_AVAILABLE
 	def_bool y
-	depends on BR2_PACKAGE_LIBGTK2
+	depends on BR2_PACKAGE_LIBGTK2_AVAILABLE
 	depends on BR2_INSTALL_LIBSTDCPP # webkit
 	depends on BR2_USE_WCHAR	 # webkit
 
 config BR2_PACKAGE_MIDORI
 	bool "midori"
+	select BR2_PACKAGE_LIBGTK2
 	select BR2_PACKAGE_WEBKIT
 	select BR2_PACKAGE_LIBSEXY
 	select BR2_PACKAGE_GETTEXT if BR2_NEEDS_GETTEXT_IF_LOCALE
package/multimedia/gst-ffmpeg/Config.in +2 -1
index d5c8537..2ed797e 100644
@@ -1,11 +1,12 @@
 config BR2_PACKAGE_GST_FFMPEG_AVAILABLE
 	def_bool y
-	depends on BR2_PACKAGE_GSTREAMER
+	depends on BR2_PACKAGE_GSTREAMER_AVAILABLE
 	depends on BR2_LARGEFILE
 	depends on BR2_INET_IPV6
 
 config BR2_PACKAGE_GST_FFMPEG
 	bool "gst-ffmpeg"
+	select BR2_PACKAGE_GSTREAMER
 	select BR2_PACKAGE_GST_PLUGINS_BASE
 	select BR2_PACKAGE_FFMPEG
 	select BR2_PACKAGE_FFMPEG_GPL
package/multimedia/gst-plugins-bad/Config.in +2 -1
index d88a432..d5e9f1a 100644
@@ -1,9 +1,10 @@
 config BR2_PACKAGE_GST_PLUGINS_BAD_AVAILABLE
 	def_bool y
-	depends on BR2_PACKAGE_GSTREAMER
+	depends on BR2_PACKAGE_GSTREAMER_AVAILABLE
 
 menuconfig BR2_PACKAGE_GST_PLUGINS_BAD
 	bool "gst-plugins-bad"
+	select BR2_PACKAGE_GSTREAMER
 	select BR2_PACKAGE_GST_PLUGINS_BASE
 	depends on BR2_PACKAGE_GST_PLUGINS_BAD_AVAILABLE
 	help
package/multimedia/gst-plugins-base/Config.in +2 -1
index 4987e1a..08f6dd6 100644
@@ -1,9 +1,10 @@
 config BR2_PACKAGE_GST_PLUGINS_BASE_AVAILABLE
 	def_bool y
-	depends on BR2_PACKAGE_GSTREAMER
+	depends on BR2_PACKAGE_GSTREAMER_AVAILABLE
 
 menuconfig BR2_PACKAGE_GST_PLUGINS_BASE
 	bool "gst-plugins-base"
+	select BR2_PACKAGE_GSTREAMER
 	select BR2_PACKAGE_XLIB_LIBX11 if BR2_PACKAGE_XORG7
 	select BR2_PACKAGE_XLIB_LIBXEXT if BR2_PACKAGE_XORG7
 	select BR2_PACKAGE_XLIB_LIBXV if BR2_PACKAGE_XORG7
package/multimedia/gst-plugins-good/Config.in +2 -1
index 5feca88..ba79da5 100644
@@ -1,9 +1,10 @@
 config BR2_PACKAGE_GST_PLUGINS_GOOD_AVAILABLE
 	def_bool y
-	depends on BR2_PACKAGE_GSTREAMER
+	depends on BR2_PACKAGE_GSTREAMER_AVAILABLE
 
 menuconfig BR2_PACKAGE_GST_PLUGINS_GOOD
 	bool "gst-plugins-good"
+	select BR2_PACKAGE_GSTREAMER
 	select BR2_PACKAGE_GST_PLUGINS_BASE
 	depends on BR2_PACKAGE_GST_PLUGINS_GOOD_AVAILABLE
 	help
package/multimedia/gst-plugins-ugly/Config.in +2 -1
index 1bbd0e5..f2784c9 100644
@@ -1,9 +1,10 @@
 config BR2_PACKAGE_GST_PLUGINS_UGLY_AVAILABLE
 	def_bool y
-	depends on BR2_PACKAGE_GSTREAMER
+	depends on BR2_PACKAGE_GSTREAMER_AVAILABLE
 
 menuconfig BR2_PACKAGE_GST_PLUGINS_UGLY
 	bool "gst-plugins-ugly"
+	select BR2_PACKAGE_GSTREAMER
 	select BR2_PACKAGE_GST_PLUGINS_BASE
 	depends on BR2_PACKAGE_GST_PLUGINS_UGLY_AVAILABLE
 	help
package/nss-mdns/Config.in +2 -1
index 8654bb1..048af01 100644
@@ -1,11 +1,12 @@
 config BR2_PACKAGE_NSS_MDNS_AVAILABLE
 	def_bool y
 	depends on BR2_TOOLCHAIN_EXTERNAL_GLIBC || BR2_TOOLCHAIN_CTNG_eglibc || BR2_TOOLCHAIN_CTNG_glibc
-	depends on BR2_PACKAGE_AVAHI_DAEMON
+	depends on BR2_PACKAGE_AVAHI_DAEMON_AVAILABLE
 
 config BR2_PACKAGE_NSS_MDNS
 	bool "nss-mdns"
 	depends on BR2_PACKAGE_NSS_MDNS_AVAILABLE
+	select BR2_PACKAGE_AVAHI_DAEMON
 	help
 	  nss-mdns is a plugin for the GNU Name Service Switch (NSS)
 	  functionality of the GNU C Library (glibc) providing host
package/pcmanfm/Config.in +4 -2
index f9d203b..5ebdeb5 100644
@@ -1,11 +1,13 @@
 config BR2_PACKAGE_PCMANFM_AVAILABLE
 	def_bool y
-	depends on BR2_PACKAGE_XORG7
+	depends on BR2_PACKAGE_XORG7_AVAILABLE
 	depends on BR2_USE_WCHAR # glib2
-	depends on BR2_PACKAGE_LIBGTK2
+	depends on BR2_PACKAGE_LIBGTK2_AVAILABLE
 
 config BR2_PACKAGE_PCMANFM
 	bool "pcmanfm"
+	select BR2_PACKAGE_XORG7
+	select BR2_PACKAGE_LIBGTK2
 	select BR2_PACKAGE_GAMIN
 	select BR2_PACKAGE_STARTUP_NOTIFICATION
 	depends on BR2_PACKAGE_PCMANFM_AVAILABLE
package/python-dpkt/Config.in +2 -1
index 4ab9a26..61383d9 100644
@@ -1,9 +1,10 @@
 config BR2_PACKAGE_PYTHON_DPKT_AVAILABLE
 	def_bool y
-	depends on BR2_PACKAGE_PYTHON
+	depends on BR2_PACKAGE_PYTHON_AVAILABLE
 
 config BR2_PACKAGE_PYTHON_DPKT
 	bool "python-dpkt"
+	select BR2_PACKAGE_PYTHON
 	select BR2_PACKAGE_PYTHON_ZLIB
 	depends on BR2_PACKAGE_PYTHON_DPKT_AVAILABLE
 	help
package/python-id3/Config.in +2 -1
index 807be1b..e57e228 100644
@@ -1,10 +1,11 @@
 config BR2_PACKAGE_PYTHON_ID3_AVAILABLE
 	def_bool y
-    depends on BR2_PACKAGE_PYTHON
+	depends on BR2_PACKAGE_PYTHON_AVAILABLE
 
 config BR2_PACKAGE_PYTHON_ID3
     bool "python-id3"
 	depends on BR2_PACKAGE_PYTHON_ID3_AVAILABLE
+	select BR2_PACKAGE_PYTHON
     help
       This module allows one to read and manipulate so-called ID3
       informational tags on MP3 files through an object-oriented
package/python-mad/Config.in +2 -1
index f6d884b..ea42057 100644
@@ -1,9 +1,10 @@
 config BR2_PACKAGE_PYTHON_MAD_AVAILABLE
 	def_bool y
-	depends on BR2_PACKAGE_PYTHON
+	depends on BR2_PACKAGE_PYTHON_AVAILABLE
 
 config BR2_PACKAGE_PYTHON_MAD
 	bool "python-mad"
+	select BR2_PACKAGE_PYTHON
 	select BR2_PACKAGE_LIBMAD
 	depends on BR2_PACKAGE_PYTHON_MAD_AVAILABLE
 	help
package/python-meld3/Config.in +2 -1
index f4b04fc..66379e5 100644
@@ -1,9 +1,10 @@
 config BR2_PACKAGE_PYTHON_MELD3_AVAILABLE
 	def_bool y
-	depends on BR2_PACKAGE_PYTHON
+	depends on BR2_PACKAGE_PYTHON_AVAILABLE
 
 config BR2_PACKAGE_PYTHON_MELD3
 	bool "python-meld3"
+	select BR2_PACKAGE_PYTHON
 	select BR2_PACKAGE_PYTHON_PYEXPAT
 	depends on BR2_PACKAGE_PYTHON_MELD3_AVAILABLE
 	help
package/python-netifaces/Config.in +2 -1
index d13d5ec..4d092ed 100644
@@ -1,9 +1,10 @@
 config BR2_PACKAGE_PYTHON_NETIFACES_AVAILABLE
 	def_bool y
-	depends on BR2_PACKAGE_PYTHON
+	depends on BR2_PACKAGE_PYTHON_AVAILABLE
 
 config BR2_PACKAGE_PYTHON_NETIFACES
 	bool "python-netifaces"
+	select BR2_PACKAGE_PYTHON
 	select BR2_PACKAGE_PYTHON_SETUPTOOLS
 	depends on BR2_PACKAGE_PYTHON_NETIFACES_AVAILABLE
 	help
package/python-nfc/Config.in +2 -1
index 3202bc4..4855cf2 100644
@@ -1,9 +1,10 @@
 config BR2_PACKAGE_PYTHON_NFC_AVAILABLE
 	def_bool y
-	depends on BR2_PACKAGE_PYTHON
+	depends on BR2_PACKAGE_PYTHON_AVAILABLE
 
 config BR2_PACKAGE_PYTHON_NFC
 	bool "python-nfc"
+	select BR2_PACKAGE_PYTHON
 	select BR2_PACKAGE_LIBUSB
 	select BR2_PACKAGE_LIBUSB_COMPAT
 	depends on BR2_PACKAGE_PYTHON_NFC_AVAILABLE
package/python-pygame/Config.in +2 -1
index ab51c1c..728351f 100644
@@ -1,9 +1,10 @@
 config BR2_PACKAGE_PYTHON_PYGAME_AVAILABLE
 	def_bool y
-	depends on BR2_PACKAGE_PYTHON
+	depends on BR2_PACKAGE_PYTHON_AVAILABLE
 
 config BR2_PACKAGE_PYTHON_PYGAME
 	bool "pygame"
+	select BR2_PACKAGE_PYTHON
 	select BR2_PACKAGE_SDL
 	depends on BR2_PACKAGE_PYTHON_PYGAME_AVAILABLE
 	help
package/python-serial/Config.in +2 -1
index 7475367..259de69 100644
@@ -1,10 +1,11 @@
 config BR2_PACKAGE_PYTHON_SERIAL_AVAILABLE
 	def_bool y
-	depends on BR2_PACKAGE_PYTHON
+	depends on BR2_PACKAGE_PYTHON_AVAILABLE
 
 config BR2_PACKAGE_PYTHON_SERIAL
 	bool "python-serial"
 	depends on BR2_PACKAGE_PYTHON_SERIAL_AVAILABLE
+	select BR2_PACKAGE_PYTHON
 	help
 	  python-serial is a Python library to access serial ports.
 
package/python-setuptools/Config.in +2 -1
index f03eb53..74b511d 100644
@@ -1,9 +1,10 @@
 config BR2_PACKAGE_PYTHON_SETUPTOOLS_AVAILABLE
 	def_bool y
-	depends on BR2_PACKAGE_PYTHON
+	depends on BR2_PACKAGE_PYTHON_AVAILABLE
 
 config BR2_PACKAGE_PYTHON_SETUPTOOLS
 	bool "python-setuptools"
+	select BR2_PACKAGE_PYTHON
 	select BR2_PACKAGE_PYTHON_ZLIB
 	depends on BR2_PACKAGE_PYTHON_SETUPTOOLS_AVAILABLE
 	help
package/rdesktop/Config.in +2 -1
index e82e4cc..0168a09 100644
@@ -1,9 +1,10 @@
 config BR2_PACKAGE_RDESKTOP_AVAILABLE
 	def_bool y
-	depends on BR2_PACKAGE_XORG7
+	depends on BR2_PACKAGE_XORG7_AVAILABLE
 
 config BR2_PACKAGE_RDESKTOP
 	bool "rdesktop"
+	select BR2_PACKAGE_XORG7
 	select BR2_PACKAGE_OPENSSL
 	select BR2_PACKAGE_XLIB_LIBX11
 	select BR2_PACKAGE_XLIB_LIBXT
package/rp-pppoe/Config.in +2 -1
index 0f8a412..754f7e4 100644
@@ -1,10 +1,11 @@
 config BR2_PACKAGE_RP_PPPOE_AVAILABLE
 	def_bool y
-	depends on BR2_PACKAGE_PPPD
+	depends on BR2_PACKAGE_PPPD_AVAILABLE
 
 config BR2_PACKAGE_RP_PPPOE
 	bool "rp-pppoe"
 	depends on BR2_PACKAGE_RP_PPPOE_AVAILABLE
+	select BR2_PACKAGE_PPPD
 	help
 	  An implementation of the Point-to-point protocol over Ethernet.
 	  Has userspace client and server deamons.  You likely only need
package/sawman/Config.in +2 -1
index 23567dd..a9b1be2 100644
@@ -1,10 +1,11 @@
 config BR2_PACKAGE_SAWMAN_AVAILABLE
 	def_bool y
-	depends on BR2_PACKAGE_DIRECTFB
+	depends on BR2_PACKAGE_DIRECTFB_AVAILABLE
 
 config BR2_PACKAGE_SAWMAN
 	bool "SawMan (Window Manager)"
 	depends on BR2_PACKAGE_SAWMAN_AVAILABLE
+	select BR2_PACKAGE_DIRECTFB
 	help
 	  SaWMan is a new window manager module for use with DirectFB. 
           Its main difference to the default module is that it allows 
package/sdl_gfx/Config.in +2 -1
index f75bd09..c08988e 100644
@@ -1,10 +1,11 @@
 config BR2_PACKAGE_SDL_GFX_AVAILABLE
 	def_bool y
-	depends on BR2_PACKAGE_SDL
+	depends on BR2_PACKAGE_SDL_AVAILABLE
 
 config BR2_PACKAGE_SDL_GFX
 	bool "SDL_gfx"
 	depends on BR2_PACKAGE_SDL_GFX_AVAILABLE
+	select BR2_PACKAGE_SDL
 	help
 	  The SDL_gfx library is an extension to the SDL library which
 	  provides basic antialiased drawing routines such as lines,
package/sdl_image/Config.in +2 -1
index 21f67b4..39b2163 100644
@@ -1,10 +1,11 @@
 config BR2_PACKAGE_SDL_IMAGE_AVAILABLE
 	def_bool y
-	depends on BR2_PACKAGE_SDL
+	depends on BR2_PACKAGE_SDL_AVAILABLE
 
 config BR2_PACKAGE_SDL_IMAGE
 	bool "SDL_image"
 	depends on BR2_PACKAGE_SDL_IMAGE_AVAILABLE
+	select BR2_PACKAGE_SDL
 	help
 	  SDL_image is an image file loading library. It loads images
 	  as SDL surfaces, and supports the following formats:
package/sdl_mixer/Config.in +2 -1
index 6e43935..2955622 100644
@@ -1,10 +1,11 @@
 config BR2_PACKAGE_SDL_MIXER_AVAILABLE
 	def_bool y
-	depends on BR2_PACKAGE_SDL
+	depends on BR2_PACKAGE_SDL_AVAILABLE
 
 config BR2_PACKAGE_SDL_MIXER
 	bool "SDL_mixer"
 	depends on BR2_PACKAGE_SDL_MIXER_AVAILABLE
+	select BR2_PACKAGE_SDL
 	help
 	  SDL_mixer is a sample multi-channel audio mixer library.
 	  It supports any number of simultaneously playing channels of
package/sdl_net/Config.in +2 -1
index 7f213dd..8d8c464 100644
@@ -1,10 +1,11 @@
 config BR2_PACKAGE_SDL_NET_AVAILABLE
 	def_bool y
-	depends on BR2_PACKAGE_SDL
+	depends on BR2_PACKAGE_SDL_AVAILABLE
 
 config BR2_PACKAGE_SDL_NET
 	bool "SDL_net"
 	depends on BR2_PACKAGE_SDL_NET_AVAILABLE
+	select BR2_PACKAGE_SDL
 	help
 	  SDL_net is a small, low-level, cross-platform network library, that
 	  can be used with the Simple DirectMedia Layer library (SDL).
package/sdl_sound/Config.in +2 -1
index 693af1a..1c56c34 100644
@@ -1,9 +1,10 @@
 config BR2_PACKAGE_SDL_SOUND_AVAILABLE
 	def_bool y
-	depends on BR2_PACKAGE_SDL
+	depends on BR2_PACKAGE_SDL_AVAILABLE
 
 config BR2_PACKAGE_SDL_SOUND
 	bool "SDL_sound"
+	select BR2_PACKAGE_SDL
 	select BR2_PACKAGE_LIBICONV if !BR2_ENABLE_LOCALE
 	depends on BR2_PACKAGE_SDL_SOUND_AVAILABLE
 	help
package/sdl_ttf/Config.in +2 -1
index 606428b..06c7301 100644
@@ -1,9 +1,10 @@
 config BR2_PACKAGE_SDL_TTF_AVAILABLE
 	def_bool y
-	depends on BR2_PACKAGE_SDL
+	depends on BR2_PACKAGE_SDL_AVAILABLE
 
 config BR2_PACKAGE_SDL_TTF
 	bool "SDL_TTF"
+	select BR2_PACKAGE_SDL
 	select BR2_PACKAGE_FREETYPE
 	depends on BR2_PACKAGE_SDL_TTF_AVAILABLE
 	help
package/startup-notification/Config.in +2 -1
index 0b626d2..305fcd9 100644
@@ -1,9 +1,10 @@
 config BR2_PACKAGE_STARTUP_NOTIFICATION_AVAILABLE
 	def_bool y
-	depends on BR2_PACKAGE_XORG7
+	depends on BR2_PACKAGE_XORG7_AVAILABLE
 
 config BR2_PACKAGE_STARTUP_NOTIFICATION
 	bool "startup-notification"
+	select BR2_PACKAGE_XORG7
 	select BR2_PACKAGE_XLIB_LIBX11
 	depends on BR2_PACKAGE_STARTUP_NOTIFICATION_AVAILABLE
 	help
package/supervisor/Config.in +2 -1
index 6bdb274..bed8a61 100644
@@ -1,9 +1,10 @@
 config BR2_PACKAGE_SUPERVISOR_AVAILABLE
 	def_bool y
-	depends on BR2_PACKAGE_PYTHON
+	depends on BR2_PACKAGE_PYTHON_AVAILABLE
 
 config BR2_PACKAGE_SUPERVISOR
 	bool "supervisor"
+	select BR2_PACKAGE_PYTHON
 	select BR2_PACKAGE_PYTHON_SETUPTOOLS
 	select BR2_PACKAGE_PYTHON_MELD3
 	depends on BR2_PACKAGE_SUPERVISOR_AVAILABLE
package/sylpheed/Config.in +2 -1
index 37b3cfc..2993631 100644
@@ -1,10 +1,11 @@
 config BR2_PACKAGE_SYLPHEED_AVAILABLE
 	def_bool y
-	depends on BR2_PACKAGE_LIBGTK2
+	depends on BR2_PACKAGE_LIBGTK2_AVAILABLE
 
 config BR2_PACKAGE_SYLPHEED
 	bool "sylpheed"
 	depends on BR2_PACKAGE_SYLPHEED_AVAILABLE
+	select BR2_PACKAGE_LIBGTK2
 	help
 	  lightweight and user-friendly e-mail client.
 
package/synergy/Config.in +2 -1
index e21c170..3e76269 100644
@@ -1,11 +1,12 @@
 config BR2_PACKAGE_SYNERGY_AVAILABLE
 	def_bool y
-	depends on BR2_PACKAGE_XORG7
+	depends on BR2_PACKAGE_XORG7_AVAILABLE
 	depends on BR2_INSTALL_LIBSTDCPP
 	depends on BR2_USE_WCHAR
 
 config BR2_PACKAGE_SYNERGY
 	bool "synergy"
+	select BR2_PACKAGE_XORG7
 	select BR2_PACKAGE_XLIB_LIBXTST
 	depends on BR2_PACKAGE_SYNERGY_AVAILABLE
 	help
package/torsmo/Config.in +2 -1
index 0a67e72..2d6fe52 100644
@@ -1,10 +1,11 @@
 config BR2_PACKAGE_TORSMO_AVAILABLE
 	def_bool y
-	depends on BR2_PACKAGE_XORG7
+	depends on BR2_PACKAGE_XORG7_AVAILABLE
 
 config BR2_PACKAGE_TORSMO
 	bool "torsmo"
 	depends on BR2_PACKAGE_TORSMO_AVAILABLE
+	select BR2_PACKAGE_XORG7
 	help
 	  Torsmo is a system monitor that sits in the corner of your desktop.
 
package/usbmount/Config.in +2 -1
index 3d4588f..66a9fcb 100644
@@ -2,10 +2,11 @@ config BR2_PACKAGE_USBMOUNT_AVAILABLE
 	def_bool y
 	depends on BR2_LARGEFILE # util-linux
 	depends on BR2_USE_WCHAR # util-linux
-	depends on BR2_PACKAGE_UDEV
+	depends on BR2_PACKAGE_UDEV_AVAILABLE
 
 config BR2_PACKAGE_USBMOUNT
 	bool "usbmount"
+	select BR2_PACKAGE_UDEV
 	select BR2_PACKAGE_LOCKFILE_PROGS
 	select BR2_PACKAGE_UTIL_LINUX
 	select BR2_PACKAGE_UTIL_LINUX_LIBBLKID
package/webkit/Config.in +2 -1
index a365361..bd26ebc 100644
@@ -2,10 +2,11 @@ config BR2_PACKAGE_WEBKIT_AVAILABLE
 	def_bool y
 	depends on BR2_INSTALL_LIBSTDCPP
 	depends on BR2_USE_WCHAR
-	depends on BR2_PACKAGE_LIBGTK2
+	depends on BR2_PACKAGE_LIBGTK2_AVAILABLE
 
 config BR2_PACKAGE_WEBKIT
 	bool "webkit"
+	select BR2_PACKAGE_LIBGTK2
 	select BR2_PACKAGE_ICU
 	select BR2_PACKAGE_LIBCURL
 	select BR2_PACKAGE_LIBXML2
package/x11r7/mesa3d/Config.in +2 -1
index 4fe949d..1237eeb 100644
@@ -1,10 +1,11 @@
 config BR2_PACKAGE_MESA3D_AVAILABLE
 	def_bool y
-	depends on BR2_PACKAGE_XSERVER_xorg
+	depends on BR2_PACKAGE_XSERVER_xorg_AVAILABLE
 	depends on BR2_INSTALL_LIBSTDCPP
 
 config BR2_PACKAGE_MESA3D
 	bool "Mesa 3D Graphics Library"
+	select BR2_PACKAGE_XSERVER_xorg
 	select BR2_PACKAGE_XPROTO_GLPROTO
 	select BR2_PACKAGE_XLIB_LIBXXF86VM
 	select BR2_PACKAGE_XLIB_LIBXDAMAGE
package/x11r7/xapp_xdriinfo/Config.in +2 -1
index 670cf21..c7882a3 100644
@@ -1,9 +1,10 @@
 config BR2_PACKAGE_XAPP_XDRIINFO_AVAILABLE
 	def_bool y
-	depends on BR2_PACKAGE_MESA3D
+	depends on BR2_PACKAGE_MESA3D_AVAILABLE
 
 config BR2_PACKAGE_XAPP_XDRIINFO
 	bool "xdriinfo"
+	select BR2_PACKAGE_MESA3D
 	select BR2_PACKAGE_XLIB_LIBX11
 	select BR2_PACKAGE_XPROTO_GLPROTO
 	depends on BR2_PACKAGE_XAPP_XDRIINFO_AVAILABLE
package/x11vnc/Config.in +2 -1
index 61f2327..2a2692b 100644
@@ -1,9 +1,10 @@
 config BR2_PACKAGE_X11VNC_AVAILABLE
 	def_bool y
-	depends on BR2_PACKAGE_XORG7
+	depends on BR2_PACKAGE_XORG7_AVAILABLE
 
 config BR2_PACKAGE_X11VNC
 	bool "x11vnc"
+	select BR2_PACKAGE_XORG7
 	select BR2_PACKAGE_XLIB_LIBXT
 	depends on BR2_PACKAGE_X11VNC_AVAILABLE
 	help
package/xstroke/Config.in +2 -1
index 4325263..797f68f 100644
@@ -1,9 +1,10 @@
 config BR2_PACKAGE_XSTROKE_AVAILABLE
 	def_bool y
-	depends on BR2_PACKAGE_XORG7
+	depends on BR2_PACKAGE_XORG7_AVAILABLE
 
 config BR2_PACKAGE_XSTROKE
 	bool "xstroke"
+	select BR2_PACKAGE_XORG7
 	select BR2_PACKAGE_XLIB_LIBXFT
 	select BR2_PACKAGE_XLIB_LIBXTST
 	select BR2_PACKAGE_XLIB_LIBXPM
package/xterm/Config.in +2 -1
index 7950145..9a12a5e 100644
@@ -1,9 +1,10 @@
 config BR2_PACKAGE_XTERM_AVAILABLE
 	def_bool y
-	depends on BR2_PACKAGE_XORG7
+	depends on BR2_PACKAGE_XORG7_AVAILABLE
 
 config BR2_PACKAGE_XTERM
 	bool "xterm"
+	select BR2_PACKAGE_XORG7
 	select BR2_PACKAGE_NCURSES
 	select BR2_PACKAGE_XLIB_LIBXAW
 	depends on BR2_PACKAGE_XTERM_AVAILABLE
package/xvkbd/Config.in +2 -1
index 155b32a..9d9da81 100644
@@ -1,9 +1,10 @@
 config BR2_PACKAGE_XVKBD_AVAILABLE
 	def_bool y
-	depends on BR2_PACKAGE_XORG7
+	depends on BR2_PACKAGE_XORG7_AVAILABLE
 
 config BR2_PACKAGE_XVKBD
 	bool "xvkbd"
+	select BR2_PACKAGE_XORG7
 	select BR2_PACKAGE_XLIB_LIBXAW
 	select BR2_PACKAGE_XLIB_LIBXTST
 	depends on BR2_PACKAGE_XVKBD_AVAILABLE
Signature · 1 line
1.7.2.5