2012-06-05 13:19:53 +02:00
|
|
|
config BR2_PACKAGE_FREERDP
|
|
|
|
bool "freerdp"
|
2015-10-04 14:08:18 +02:00
|
|
|
# FreeRDP does not have a single C++ source file, however it
|
|
|
|
# insists on having a C++ compiler. Removing that requirement
|
|
|
|
# is a bit too much involving, so we just depend on it...
|
|
|
|
depends on BR2_INSTALL_LIBSTDCPP
|
2015-02-23 07:17:52 +01:00
|
|
|
depends on BR2_USE_WCHAR
|
2015-03-10 22:14:08 +01:00
|
|
|
depends on !BR2_STATIC_LIBS # uses dlfcn.h
|
2015-04-04 14:23:53 +02:00
|
|
|
depends on BR2_TOOLCHAIN_HAS_THREADS
|
package/freerdp: bump to master
Currently, we're packaging FreeRDP from the stable-1.1 branch, which has
not evolved since march 2015 and hasn't seen any release (not even a
tag) since July 2013. It is by all purpose and means, dead.
Other packages that may use FreeRDP (like weston) are now migrating to,
or have already migrated to using the API from master, which has changed
a bit from what was available on the stable-1.1 branch. So, those
packages now FTBFS.
However, FreeRDP still has not done a release from their master branch;
the last tag dates back to September 2014 and there are 1850+ changes on
top of that tag.
So, switch to using the currently-latest commit from master.
This version can also use gstreamer-1.x (in addition to gst-0.x), which
needs quite some rework on how we handle the dependency on gstreamer.
Drop gstreamer support entirely, support for gst-0.x and gst-1.x will be
re-added in a followup patch.
Similarly, a wayland client can now be built, support for which will
be added in a subsequent path; it is currently forcibly disabled.
The way the libraries are built has changed: the previous single library
has been split in multiple libraries, each implementing parts of the RDP
protocol.
Slight rewording of the prompts:
- drop the 'install' for client and server.
- drop 'freerdp' from the client and server comment
The location of the server keys has changed, so copy them from the new
location.
Finally, drop patches 1 and 3, applied upstrem; rename remaining
patches.
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2015-09-06 21:54:18 +02:00
|
|
|
depends on BR2_USE_MMU # libglib2
|
2016-02-02 16:31:35 +01:00
|
|
|
depends on BR2_TOOLCHAIN_HAS_SYNC_4
|
2012-06-05 13:19:53 +02:00
|
|
|
select BR2_PACKAGE_OPENSSL
|
2021-06-06 09:59:32 +02:00
|
|
|
select BR2_PACKAGE_LIBOPENSSL_ENABLE_RC4 if BR2_PACKAGE_LIBOPENSSL
|
2012-06-05 13:19:53 +02:00
|
|
|
select BR2_PACKAGE_ZLIB
|
package/freerdp: bump to master
Currently, we're packaging FreeRDP from the stable-1.1 branch, which has
not evolved since march 2015 and hasn't seen any release (not even a
tag) since July 2013. It is by all purpose and means, dead.
Other packages that may use FreeRDP (like weston) are now migrating to,
or have already migrated to using the API from master, which has changed
a bit from what was available on the stable-1.1 branch. So, those
packages now FTBFS.
However, FreeRDP still has not done a release from their master branch;
the last tag dates back to September 2014 and there are 1850+ changes on
top of that tag.
So, switch to using the currently-latest commit from master.
This version can also use gstreamer-1.x (in addition to gst-0.x), which
needs quite some rework on how we handle the dependency on gstreamer.
Drop gstreamer support entirely, support for gst-0.x and gst-1.x will be
re-added in a followup patch.
Similarly, a wayland client can now be built, support for which will
be added in a subsequent path; it is currently forcibly disabled.
The way the libraries are built has changed: the previous single library
has been split in multiple libraries, each implementing parts of the RDP
protocol.
Slight rewording of the prompts:
- drop the 'install' for client and server.
- drop 'freerdp' from the client and server comment
The location of the server keys has changed, so copy them from the new
location.
Finally, drop patches 1 and 3, applied upstrem; rename remaining
patches.
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2015-09-06 21:54:18 +02:00
|
|
|
select BR2_PACKAGE_LIBGLIB2
|
2012-06-05 13:19:53 +02:00
|
|
|
help
|
|
|
|
FreeRDP is a free implementation of the Remote Desktop
|
|
|
|
Protocol (RDP), released under the Apache license
|
|
|
|
|
package/freerdp: bump to master
Currently, we're packaging FreeRDP from the stable-1.1 branch, which has
not evolved since march 2015 and hasn't seen any release (not even a
tag) since July 2013. It is by all purpose and means, dead.
Other packages that may use FreeRDP (like weston) are now migrating to,
or have already migrated to using the API from master, which has changed
a bit from what was available on the stable-1.1 branch. So, those
packages now FTBFS.
However, FreeRDP still has not done a release from their master branch;
the last tag dates back to September 2014 and there are 1850+ changes on
top of that tag.
So, switch to using the currently-latest commit from master.
This version can also use gstreamer-1.x (in addition to gst-0.x), which
needs quite some rework on how we handle the dependency on gstreamer.
Drop gstreamer support entirely, support for gst-0.x and gst-1.x will be
re-added in a followup patch.
Similarly, a wayland client can now be built, support for which will
be added in a subsequent path; it is currently forcibly disabled.
The way the libraries are built has changed: the previous single library
has been split in multiple libraries, each implementing parts of the RDP
protocol.
Slight rewording of the prompts:
- drop the 'install' for client and server.
- drop 'freerdp' from the client and server comment
The location of the server keys has changed, so copy them from the new
location.
Finally, drop patches 1 and 3, applied upstrem; rename remaining
patches.
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2015-09-06 21:54:18 +02:00
|
|
|
This only installs the freerdp libraries.
|
2015-02-21 23:36:21 +01:00
|
|
|
|
2012-06-05 13:19:53 +02:00
|
|
|
http://www.freerdp.com/
|
2015-02-21 23:36:21 +01:00
|
|
|
|
2015-02-22 18:45:50 +01:00
|
|
|
Note: this also installs a key and certificate in
|
|
|
|
/etc/freerdp/keys/ . These are publicly-known, as they
|
|
|
|
are present in FreeRDP's source tree. It is strongly
|
|
|
|
suggested that you overwrite them with your own set,
|
|
|
|
either in an overlay rootfs or in a post-build script.
|
|
|
|
|
2015-02-21 23:36:21 +01:00
|
|
|
if BR2_PACKAGE_FREERDP
|
|
|
|
|
package/freerdp: re-add support for gstreamer
Previously, we expected the user to select gstreamer-0.x on his own,
to enable gstreamer support in FreeRDP. This could have been a bit
confusing to the user, as he may have enabled gst-1.x but FreeRDP did
only support gst-0.x.
Also, gstreamer support needs xlib-libxrandr, which was missing in
FreeRDP's dependencies, so it was never enabled (AFAICS).
(Re-)introduce support for gstreamer-0.x and gstreamer-1.x, since both
are supported.
We're doing it in a choice, and select whichever version the user chooses,
rather than automatically detect it as previosuly done. We can select the
gstreamer packages, as their dependencies are anyway already covered by the
ones of FreeRDP.
This also now requires xlib-libxrandr, so hide the choice if X.org is
not enabled, still offer the option of not using gstreamer if it is.
[Peter: Hide option if gstreamer{,1} aren't enabled,
Default to gstreamer{,1} support enabled
GStreamer 0.10 support needs host-pkgconf and libxml2]
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2015-09-06 21:54:20 +02:00
|
|
|
config BR2_PACKAGE_FREERDP_GSTREAMER1
|
2020-02-07 15:50:23 +01:00
|
|
|
bool "gstreamer support"
|
package/freerdp: re-add support for gstreamer
Previously, we expected the user to select gstreamer-0.x on his own,
to enable gstreamer support in FreeRDP. This could have been a bit
confusing to the user, as he may have enabled gst-1.x but FreeRDP did
only support gst-0.x.
Also, gstreamer support needs xlib-libxrandr, which was missing in
FreeRDP's dependencies, so it was never enabled (AFAICS).
(Re-)introduce support for gstreamer-0.x and gstreamer-1.x, since both
are supported.
We're doing it in a choice, and select whichever version the user chooses,
rather than automatically detect it as previosuly done. We can select the
gstreamer packages, as their dependencies are anyway already covered by the
ones of FreeRDP.
This also now requires xlib-libxrandr, so hide the choice if X.org is
not enabled, still offer the option of not using gstreamer if it is.
[Peter: Hide option if gstreamer{,1} aren't enabled,
Default to gstreamer{,1} support enabled
GStreamer 0.10 support needs host-pkgconf and libxml2]
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2015-09-06 21:54:20 +02:00
|
|
|
depends on BR2_PACKAGE_GSTREAMER1
|
2020-02-07 15:50:23 +01:00
|
|
|
depends on BR2_PACKAGE_XORG7 # xlib-libxrandr
|
package/freerdp: re-add support for gstreamer
Previously, we expected the user to select gstreamer-0.x on his own,
to enable gstreamer support in FreeRDP. This could have been a bit
confusing to the user, as he may have enabled gst-1.x but FreeRDP did
only support gst-0.x.
Also, gstreamer support needs xlib-libxrandr, which was missing in
FreeRDP's dependencies, so it was never enabled (AFAICS).
(Re-)introduce support for gstreamer-0.x and gstreamer-1.x, since both
are supported.
We're doing it in a choice, and select whichever version the user chooses,
rather than automatically detect it as previosuly done. We can select the
gstreamer packages, as their dependencies are anyway already covered by the
ones of FreeRDP.
This also now requires xlib-libxrandr, so hide the choice if X.org is
not enabled, still offer the option of not using gstreamer if it is.
[Peter: Hide option if gstreamer{,1} aren't enabled,
Default to gstreamer{,1} support enabled
GStreamer 0.10 support needs host-pkgconf and libxml2]
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2015-09-06 21:54:20 +02:00
|
|
|
# gstreamer-1.x dependencies already dependencies of FreeRDP
|
|
|
|
select BR2_PACKAGE_GST1_PLUGINS_BASE
|
|
|
|
select BR2_PACKAGE_GST1_PLUGINS_BASE_PLUGIN_APP
|
|
|
|
select BR2_PACKAGE_XLIB_LIBXRANDR
|
|
|
|
|
|
|
|
comment "gstreamer support needs X.Org"
|
|
|
|
depends on !BR2_PACKAGE_XORG7
|
2020-02-07 15:50:23 +01:00
|
|
|
depends on BR2_PACKAGE_GSTREAMER1
|
package/freerdp: re-add support for gstreamer
Previously, we expected the user to select gstreamer-0.x on his own,
to enable gstreamer support in FreeRDP. This could have been a bit
confusing to the user, as he may have enabled gst-1.x but FreeRDP did
only support gst-0.x.
Also, gstreamer support needs xlib-libxrandr, which was missing in
FreeRDP's dependencies, so it was never enabled (AFAICS).
(Re-)introduce support for gstreamer-0.x and gstreamer-1.x, since both
are supported.
We're doing it in a choice, and select whichever version the user chooses,
rather than automatically detect it as previosuly done. We can select the
gstreamer packages, as their dependencies are anyway already covered by the
ones of FreeRDP.
This also now requires xlib-libxrandr, so hide the choice if X.org is
not enabled, still offer the option of not using gstreamer if it is.
[Peter: Hide option if gstreamer{,1} aren't enabled,
Default to gstreamer{,1} support enabled
GStreamer 0.10 support needs host-pkgconf and libxml2]
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2015-09-06 21:54:20 +02:00
|
|
|
|
2015-02-21 23:36:21 +01:00
|
|
|
config BR2_PACKAGE_FREERDP_SERVER
|
package/freerdp: bump to master
Currently, we're packaging FreeRDP from the stable-1.1 branch, which has
not evolved since march 2015 and hasn't seen any release (not even a
tag) since July 2013. It is by all purpose and means, dead.
Other packages that may use FreeRDP (like weston) are now migrating to,
or have already migrated to using the API from master, which has changed
a bit from what was available on the stable-1.1 branch. So, those
packages now FTBFS.
However, FreeRDP still has not done a release from their master branch;
the last tag dates back to September 2014 and there are 1850+ changes on
top of that tag.
So, switch to using the currently-latest commit from master.
This version can also use gstreamer-1.x (in addition to gst-0.x), which
needs quite some rework on how we handle the dependency on gstreamer.
Drop gstreamer support entirely, support for gst-0.x and gst-1.x will be
re-added in a followup patch.
Similarly, a wayland client can now be built, support for which will
be added in a subsequent path; it is currently forcibly disabled.
The way the libraries are built has changed: the previous single library
has been split in multiple libraries, each implementing parts of the RDP
protocol.
Slight rewording of the prompts:
- drop the 'install' for client and server.
- drop 'freerdp' from the client and server comment
The location of the server keys has changed, so copy them from the new
location.
Finally, drop patches 1 and 3, applied upstrem; rename remaining
patches.
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2015-09-06 21:54:18 +02:00
|
|
|
bool "server"
|
2015-02-21 23:36:21 +01:00
|
|
|
depends on BR2_PACKAGE_XORG7
|
|
|
|
select BR2_PACKAGE_XLIB_LIBX11
|
|
|
|
select BR2_PACKAGE_XLIB_LIBXDAMAGE
|
|
|
|
select BR2_PACKAGE_XLIB_LIBXEXT
|
|
|
|
select BR2_PACKAGE_XLIB_LIBXFIXES
|
|
|
|
|
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>
2015-09-06 21:54:21 +02:00
|
|
|
config BR2_PACKAGE_FREERDP_CLIENT_X11
|
|
|
|
bool "X11 client"
|
2015-02-21 23:36:21 +01:00
|
|
|
default y
|
|
|
|
depends on BR2_PACKAGE_XORG7
|
|
|
|
select BR2_PACKAGE_XLIB_LIBX11
|
|
|
|
select BR2_PACKAGE_XLIB_LIBXEXT
|
|
|
|
|
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>
2015-09-06 21:54:21 +02:00
|
|
|
comment "server and X11 client need X.Org"
|
2015-02-21 23:36:21 +01:00
|
|
|
depends on !BR2_PACKAGE_XORG7
|
|
|
|
|
2015-09-06 21:54:22 +02:00
|
|
|
config BR2_PACKAGE_FREERDP_CLIENT_WL
|
|
|
|
bool "wayland client"
|
|
|
|
default y
|
|
|
|
depends on BR2_PACKAGE_WAYLAND
|
2017-11-12 09:13:26 +01:00
|
|
|
select BR2_PACKAGE_LIBXKBCOMMON
|
2015-09-06 21:54:22 +02:00
|
|
|
|
2015-02-21 23:36:21 +01:00
|
|
|
endif
|
2015-02-23 07:17:52 +01:00
|
|
|
|
2015-10-04 14:08:18 +02:00
|
|
|
comment "freerdp needs a toolchain w/ wchar, dynamic library, threads, C++"
|
2016-02-02 16:31:35 +01:00
|
|
|
depends on BR2_TOOLCHAIN_HAS_SYNC_4
|
2015-04-04 14:23:53 +02:00
|
|
|
depends on !BR2_USE_WCHAR || BR2_STATIC_LIBS \
|
2015-10-04 14:08:18 +02:00
|
|
|
|| !BR2_TOOLCHAIN_HAS_THREADS || !BR2_INSTALL_LIBSTDCPP
|