aboutsummaryrefslogtreecommitdiff
path: root/Config.in.legacy
diff options
context:
space:
mode:
authorGravatar Yann E. MORIN <yann.morin.1998@free.fr>2015-09-06 21:54:21 +0200
committerGravatar Peter Korsgaard <peter@korsgaard.com>2015-10-03 13:43:46 +0200
commit4d131b4da9bb1cd6dc67bdc7946744e76640df00 (patch)
tree11607abebafc50e68ae7ceeb58d8d54a0e733e3d /Config.in.legacy
parent6c7f3b28e694da032a80cc5f55ef124f2c6e81ee (diff)
downloadbuildroot-4d131b4da9bb1cd6dc67bdc7946744e76640df00.tar.gz
buildroot-4d131b4da9bb1cd6dc67bdc7946744e76640df00.tar.bz2
package/freerdp: prepare for adding another client
Currently, the only client we can build is the X11 client. FreeRDP now has support for building a wayland client. However, that means we need to rethink the way we build FreeRDP, because of some "inconsistencies" in its build system. This is because FreeRDP's buildsystem does not have orthogonal options; some of the options can be used for different components. For example, the set of X11 libraries needed to build the server is a superset of the X11 libraries needed to build the X11 client. So, whenever the server is enabled, it means the X11 libraries required to build the X11 client are available. Now, if the user also wants to build the waland client (but not the X11 client), there is no way to tell FreeRDP not to build the X11 client, because there is a single option, WITH_CLIENT, to drive whether any of the clients is built. The decision is made on the availability of the required libraries. And since the server is enabled, the X11 libs required to build the X11 client are available. So, we end up with the X11 client, even though it is not wanted. And conversely with wayland... So, we redesign the way we build FreeRDP. WE do not care what is actually built; we just build whatever is buildable with the current set of enabled libraries. But at install time (both in staging/ and target/) we remove whatever the user does not want. We also take the opportunity to rename the X11 client option, so it is coherent with the soon-to-be-introduced wayland client. Note: since FreeRDP has gained new dependencies, we can not just introduce the legacy option as-is, otherwise we run the risk that it selects the new option even though the new FreeRDP dependencies are not enabled, spitting out the infamous 'unmet direct dependencies" kconfig error. Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Diffstat (limited to 'Config.in.legacy')
-rw-r--r--Config.in.legacy7
1 files changed, 7 insertions, 0 deletions
diff --git a/Config.in.legacy b/Config.in.legacy
index 530553801b..8975b95ed9 100644
--- a/Config.in.legacy
+++ b/Config.in.legacy
@@ -107,6 +107,13 @@ endif
###############################################################################
comment "Legacy options removed in 2015.11"
+# Since FreeRDP has new dependencies, protect this legacy to avoid the
+# infamous "unmet direct dependencies" kconfig error.
+config BR2_PACKAGE_FREERDP_CLIENT
+ bool "freerdp client option renamed"
+ depends on BR2_PACKAGE_FREERDP
+ select BR2_PACKAGE_FREERDP_CLIENT_X11
+
config BR2_PACKAGE_BLACKBOX
bool "blackbox package has been removed"
select BR2_LEGACY